/* v0.7 — presentation overlay. Original texts, photographs and URLs are unchanged.
   Neutrals are from the published CC theme. Amber/orange are derived logo samples. */
html.cc-improved{--cc-logo-a:#f8d858;--cc-logo-b:#f89048;--cc-paper:#fff;--cc-ink:#292929;--cc-grey:#e9e8e6;--cc-line:#dcdad6;--cc-grid:rgba(41,41,41,.045);scroll-behavior:smooth}
html.cc-improved body{font-family:Inter,Arial,sans-serif!important;color:var(--cc-ink)!important;background:#fff!important;line-height:1.7!important}
html.cc-improved .wp-site-blocks{overflow:clip}
html.cc-improved header.wp-block-template-part{border-top:3px solid transparent!important;border-image:linear-gradient(100deg,var(--cc-logo-a),var(--cc-logo-b)) 1!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(18px);box-shadow:0 4px 30px #00000008!important}
html.cc-improved header.wp-block-template-part>div{padding:9px clamp(18px,4vw,70px)!important}
html.cc-improved header .wp-block-site-logo img{width:82px!important;height:82px!important}
html.cc-improved header .wp-block-site-title{font-size:13px!important;max-width:230px;letter-spacing:.06em!important;font-weight:650!important;line-height:1.4!important}
html.cc-improved header .wp-block-navigation-item__content{font-size:12px!important;letter-spacing:.035em!important;font-weight:600!important;position:relative;border-bottom:2px solid transparent!important;transition:border-color .2s!important}
html.cc-improved header .wp-block-navigation-item__content:hover,html.cc-improved header .wp-block-navigation-item__content[aria-current=page]{border-bottom-color:var(--cc-logo-b)!important;text-decoration:none!important}
html.cc-improved header .wp-block-navigation__submenu-container{border:1px solid var(--cc-line)!important;box-shadow:0 15px 40px #00000014!important;border-radius:10px!important;padding:8px!important}
html.cc-improved [data-lab-access]{background:#292929!important;border:0!important;box-shadow:none!important;color:white!important;padding:12px clamp(18px,4vw,70px)!important}
html.cc-improved [data-lab-access] span{color:#e9e8e6!important;font-size:10px!important;letter-spacing:.09em!important;text-transform:uppercase!important}
html.cc-improved [data-lab-access] button{background:#3b3b3b!important;color:white!important;border:1px solid #666!important;border-radius:6px!important;min-height:36px!important;font-size:11px!important;font-weight:500!important}
html.cc-improved [data-lab-access] button:hover{border-color:var(--cc-logo-a)!important;color:var(--cc-logo-a)!important}
html.cc-improved .cc-page-intro{margin:22px clamp(18px,4vw,70px) 0!important;padding:0!important;border:1px solid var(--cc-line)!important;border-radius:20px!important;overflow:hidden!important;background-color:#fff!important;background-image:linear-gradient(var(--cc-grid) 1px,transparent 1px),linear-gradient(90deg,var(--cc-grid) 1px,transparent 1px)!important;background-size:44px 44px!important}
html.cc-improved .cc-page-intro>.wp-block-columns{display:grid!important;grid-template-columns:1fr 1.08fr!important;gap:0!important;max-width:none!important;margin:0!important;align-items:stretch!important}
html.cc-improved .cc-page-intro>.wp-block-columns>.wp-block-column{min-width:0!important;margin:0!important;display:flex!important;align-items:center!important}
html.cc-improved .cc-page-intro>.wp-block-columns>.wp-block-column:first-child{padding:clamp(30px,4vw,60px)!important;position:relative}
html.cc-improved .cc-page-intro>.wp-block-columns>.wp-block-column:first-child:before{content:'';position:absolute;left:clamp(30px,4vw,60px);top:32px;width:65px;height:3px;background:linear-gradient(90deg,var(--cc-logo-a),var(--cc-logo-b))}
html.cc-improved .cc-page-intro .wp-block-post-title{font-size:clamp(40px,6vw,84px)!important;letter-spacing:-.06em!important;font-weight:650!important;line-height:1!important;color:#292929!important;margin:25px 0!important}
html.cc-improved .cc-page-intro .wp-block-cover{width:100%!important;min-height:340px!important;border-radius:0!important;aspect-ratio:unset!important;margin:0!important}
html.cc-improved .cc-page-intro .wp-block-cover img{object-fit:cover!important;filter:none!important}
html.cc-improved .cc-page-intro .wp-block-spacer{height:340px!important}
html.cc-improved main .ext-hero-section>.wp-block-cover{border-radius:20px!important;box-shadow:0 14px 45px #29292909!important;grid-template-columns:1fr 1.08fr!important;background-image:linear-gradient(90deg,#fff,#fff)!important}
html.cc-improved main .ext-hero-section .wp-block-cover__inner-container{background-image:linear-gradient(var(--cc-grid) 1px,transparent 1px),linear-gradient(90deg,var(--cc-grid) 1px,transparent 1px)!important;background-size:44px 44px!important}
html.cc-improved main .ext-hero-section h1{font-size:clamp(38px,4.7vw,72px)!important;font-weight:600!important;letter-spacing:-.06em!important;line-height:1.025!important}
html.cc-improved main .ext-hero-section .wp-block-cover__inner-container>.wp-block-group,html.cc-improved main .ext-hero-section .wp-block-cover__inner-container>.wp-block-group>.wp-block-group{background:transparent!important}
html.cc-improved main .ext-hero-section .wp-block-cover__inner-container:before{content:'';position:absolute;top:26px;left:clamp(24px,4vw,58px);height:3px;width:75px;background:linear-gradient(90deg,var(--cc-logo-a),var(--cc-logo-b))}
html.cc-improved main .entry-content>.cc-content-section{padding:70px clamp(18px,4vw,70px)!important;border-bottom:1px solid #e9e8e6!important;position:relative}
html.cc-improved main .entry-content>.cc-content-section:nth-of-type(2n){background:#f7f7f5!important}
html.cc-improved main .entry-content>.cc-content-section h2{font-size:clamp(30px,3.6vw,48px)!important;font-weight:600!important;line-height:1.14!important;letter-spacing:-.045em!important;max-width:940px!important}
html.cc-improved main .cc-content-section>.wp-block-group.alignwide>p{max-width:760px!important;color:#444!important;font-size:15px!important}
html.cc-improved main .cc-content-section h3{font-weight:600!important;letter-spacing:-.025em!important}
html.cc-improved main .wp-block-columns{gap:24px!important}
html.cc-improved .cc-section-index{font-family:ui-monospace,monospace;font-size:10px;letter-spacing:.14em;color:#68645e;margin:0 0 17px!important;display:flex;align-items:center;gap:9px}
html.cc-improved .cc-section-index:before{content:'';height:1px;width:25px;background:linear-gradient(90deg,var(--cc-logo-a),var(--cc-logo-b))}
html.cc-improved main .cc-content-section .wp-block-column>[class*="item-card"]{border:1px solid #dedbd6!important;border-radius:14px!important;background:white!important;box-shadow:0 6px 18px #29292905!important;transition:box-shadow .2s,border-color .2s,transform .2s!important;position:relative}
html.cc-improved main .cc-content-section .wp-block-column>[class*="item-card"]:hover{box-shadow:0 15px 35px #2929290f!important;border-color:#b9b1a4!important;transform:translateY(-3px)}
html.cc-improved .wp-block-button__link{border-radius:6px!important;background:linear-gradient(120deg,var(--cc-logo-a),var(--cc-logo-b))!important;color:#292929!important;border:1px solid #d5b474!important;box-shadow:0 3px 12px #29292909!important;letter-spacing:.02em!important;min-height:48px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:14px 24px!important;font-weight:650!important}
html.cc-improved .wp-block-button__link:hover{background:#292929!important;color:white!important;border-color:#292929!important;box-shadow:0 8px 20px #2929291a!important}
html.cc-improved main figure{overflow:hidden}
html.cc-improved main figure img{transition:filter .2s!important}
html.cc-improved main img[data-cc-zoom]{cursor:zoom-in}
html.cc-improved main img[data-cc-zoom]:focus-visible{outline:3px solid #292929!important;outline-offset:-4px!important}
html.cc-improved main .wp-block-media-text{border:1px solid #dedbd6!important;border-radius:18px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 10px 35px #29292908!important}
html.cc-improved main .wp-block-media-text__content{padding:0!important}
html.cc-improved main .wp-block-media-text__content>div{padding:clamp(25px,4vw,55px)!important}
html.cc-improved main .wpforms-form{padding:0!important}
html.cc-improved main .wpforms-field-label{font-size:12px!important;font-weight:600!important;letter-spacing:.015em!important;color:#292929!important}
html.cc-improved main .wpforms-field input,html.cc-improved main .wpforms-field textarea,html.cc-improved main .wpforms-field select{background:#f8f8f6!important;border:1px solid #d4d1cb!important;border-radius:7px!important;box-shadow:none!important;color:#292929!important}
html.cc-improved main .wpforms-submit{background:#292929!important;color:white!important;border-radius:6px!important;min-height:47px!important;padding:12px 25px!important;font-size:13px!important}
html.cc-improved [data-cc-page="precios"] main #precios>.wp-block-columns>.wp-block-column:first-child>[class*="item-card"]{border-top:4px solid #f8d858!important}
html.cc-improved [data-cc-page="precios"] main #precios .has-x-large-font-size{font-size:54px!important;line-height:1!important;letter-spacing:-.06em!important;margin-bottom:15px!important}
html.cc-improved [data-cc-page="precios"] main #precios .wp-block-column>[class*="item-card"]{height:100%;display:flex;flex-direction:column;min-height:330px;background:linear-gradient(155deg,#fff,#f4f3ef)!important}
html.cc-improved [data-cc-page="faq"] main #preguntas-frecuentes>.wp-block-columns{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
html.cc-improved [data-cc-page="faq"] main #preguntas-frecuentes .wp-block-column{margin:0!important}
html.cc-improved [data-cc-page="faq"] main #preguntas-frecuentes h3{font-size:18px!important;line-height:1.5!important}
html.cc-improved [data-cc-page="faq"] main #preguntas-frecuentes .wp-block-column>[class*="item-card"]{border-left:3px solid #f8d858!important;background:#fff!important}
html.cc-improved [data-cc-page="galeria"] main #galeria>.wp-block-columns,html.cc-improved [data-cc-page="portafolio"] main .cc-content-section>.wp-block-columns{display:grid!important;grid-template-columns:repeat(var(--cc-columns,3),minmax(0,1fr))!important;gap:18px!important}
html.cc-improved [data-cc-page="galeria"] main #galeria .wp-block-column,html.cc-improved [data-cc-page="portafolio"] main .cc-content-section>.wp-block-columns>.wp-block-column{margin:0!important;min-width:0!important}
html.cc-improved [data-cc-page="galeria"] main #galeria figure.wp-block-image,html.cc-improved [data-cc-page="portafolio"] main figure.wp-block-image{border:1px solid #dedbd6;border-radius:12px!important;background:#fff;padding:0!important;box-shadow:0 5px 20px #29292907!important}
html.cc-improved [data-cc-page="galeria"] main #galeria figure.wp-block-image img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important}
html.cc-improved main .wp-block-video{background:#292929;border:1px solid #292929;border-radius:16px;max-width:1050px!important;margin:30px auto!important;padding:12px!important;box-shadow:0 15px 40px #29292918}
html.cc-improved main .wp-block-video video{width:100%!important;height:auto!important;max-height:650px!important;display:block!important}
html.cc-improved footer{background:#292929!important;color:white!important;padding:20px clamp(18px,4vw,70px)!important}
html.cc-improved footer a,html.cc-improved footer h1,html.cc-improved footer h2{color:white!important}
html.cc-improved footer .wp-block-site-logo{background:white;padding:5px;border-radius:6px}
html.cc-improved .cc-image-dialog{border:1px solid #9b9489;border-radius:14px;max-width:94vw;width:min(1200px,94vw);max-height:92vh;padding:0;background:#fff;box-shadow:0 25px 100px #0006}
html.cc-improved .cc-image-dialog::backdrop{background:#000b;backdrop-filter:blur(6px)}
html.cc-improved .cc-image-dialog-bar{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:14px 18px;border-bottom:1px solid #ddd;font:12px Inter,Arial,sans-serif}
html.cc-improved .cc-image-dialog-bar button{background:#292929;color:white;border:0;padding:10px 15px;border-radius:5px;cursor:pointer}
html.cc-improved .cc-image-dialog img{display:block;max-width:100%;max-height:78vh;object-fit:contain;margin:auto;background:#f4f3ef}
html.cc-improved .cc-reveal-in{animation:cc-section-arrival .45s cubic-bezier(.2,.65,.25,1) both}
@keyframes cc-section-arrival{from{transform:translateY(8px)}to{transform:translateY(0)}}
@media(max-width:1000px){html.cc-improved header .wp-block-navigation__container{gap:14px!important}html.cc-improved main .ext-hero-section h1{font-size:clamp(36px,4.7vw,56px)!important}html.cc-improved [data-cc-page="galeria"] main #galeria>.wp-block-columns,html.cc-improved [data-cc-page="portafolio"] main .cc-content-section>.wp-block-columns{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:800px){html.cc-improved .cc-page-intro{margin:15px 16px 0!important;border-radius:14px!important}html.cc-improved .cc-page-intro>.wp-block-columns{grid-template-columns:1fr!important}html.cc-improved .cc-page-intro>.wp-block-columns>.wp-block-column:first-child{padding:38px 25px 25px!important}html.cc-improved .cc-page-intro>.wp-block-columns>.wp-block-column:first-child:before{left:25px;top:25px}html.cc-improved .cc-page-intro .wp-block-post-title{font-size:48px!important;margin:14px 0 0!important}html.cc-improved .cc-page-intro .wp-block-cover{min-height:220px!important}html.cc-improved .cc-page-intro .wp-block-spacer{height:220px!important}html.cc-improved main .ext-hero-section>.wp-block-cover{grid-template-columns:1fr!important}html.cc-improved main .cc-content-section>.wp-block-columns{display:flex!important;flex-direction:column!important}html.cc-improved main .entry-content>.cc-content-section{padding:40px 20px!important}html.cc-improved main .wp-block-media-text{grid-template-columns:1fr!important}html.cc-improved main .wp-block-media-text__media{grid-column:1!important;grid-row:auto!important}html.cc-improved main .wp-block-media-text__content{grid-column:1!important;grid-row:auto!important}html.cc-improved [data-cc-page="faq"] main #preguntas-frecuentes>.wp-block-columns{grid-template-columns:1fr!important}html.cc-improved [data-cc-page="galeria"] main #galeria>.wp-block-columns,html.cc-improved [data-cc-page="portafolio"] main .cc-content-section>.wp-block-columns{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}html.cc-improved [data-lab-access]{gap:7px!important}html.cc-improved [data-lab-access] button{min-width:0!important;font-size:10px!important;padding:8px!important}html.cc-improved main .cc-content-section h2{font-size:32px!important}}
@media(max-width:480px){html.cc-improved [data-cc-page="galeria"] main #galeria>.wp-block-columns,html.cc-improved [data-cc-page="portafolio"] main .cc-content-section>.wp-block-columns{grid-template-columns:1fr!important}html.cc-improved header .wp-block-site-title{font-size:10px!important;max-width:170px!important}html.cc-improved .cc-page-intro .wp-block-post-title{font-size:42px!important}}
@media(prefers-reduced-motion:reduce){html.cc-improved,html.cc-improved *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* v0.8 — contextual navigation, original-content search and keyboard gallery. */
html.cc-improved .cc-breadcrumb{display:flex;gap:5px;align-items:center;margin:18px clamp(18px,4vw,70px);font:11px ui-monospace,monospace;letter-spacing:.06em;color:#68645e}
html.cc-improved .cc-breadcrumb a{color:#292929;text-decoration:none;border-bottom:1px solid #d5b474;padding-bottom:3px}
html.cc-improved .cc-faq-tools{display:flex;align-items:flex-end;flex-wrap:wrap;gap:14px;background:linear-gradient(120deg,#fff,#f7f6f2);border:1px solid #dedbd6;border-top:2px solid #f8d858;border-radius:12px;padding:22px;margin:25px 0}
html.cc-improved .cc-faq-tools label{display:flex;flex-direction:column;gap:9px;flex:1;min-width:200px;font:600 13px Inter,Arial,sans-serif}
html.cc-improved .cc-faq-tools input{font:14px Inter,Arial,sans-serif;background:#fff;border:1px solid #c8c4bb;border-radius:6px;min-height:46px;padding:10px 14px;width:100%;box-sizing:border-box;color:#292929}
html.cc-improved .cc-faq-tools button{font:600 12px Inter,Arial,sans-serif;background:#292929;color:#fff;border:1px solid #292929;border-radius:6px;padding:12px 16px;min-height:46px;cursor:pointer}
html.cc-improved .cc-faq-tools p{width:100%;margin:0!important;font-size:12px!important;color:#68645e!important}
html.cc-improved #preguntas-frecuentes [hidden]{display:none!important}
html.cc-improved .cc-image-dialog-bar>span{min-width:0;overflow-wrap:anywhere}
html.cc-improved .cc-image-dialog-bar>div{display:flex;gap:7px;flex-shrink:0}
html.cc-improved .cc-image-dialog-bar button{min-height:42px;min-width:42px}
html.cc-improved .cc-image-dialog-bar button:disabled{opacity:.4;cursor:default}
html.cc-improved .cc-image-dialog-bar button:focus-visible{outline:3px solid #f8d858!important;outline-offset:2px!important}
html.cc-improved main a,html.cc-improved main button,html.cc-improved main input{scroll-margin-top:150px}
@media(max-width:600px){html.cc-improved .cc-image-dialog-bar{align-items:flex-start;flex-direction:column;gap:9px;padding:12px}html.cc-improved .cc-image-dialog-bar>div{align-self:flex-end}html.cc-improved .cc-faq-tools{padding:16px}html.cc-improved .cc-faq-tools label{min-width:100%}}
