/* CURIA's editorial presentation: own identity, media and copy on a light canvas. */
:root{--paper:#fafaf8;--paper-soft:#f1f2ef;--ink:#17191c;--hairline:#d9dadd}
body{background:var(--paper);color:var(--ink)}
.site-header,.site-header.scrolled{background:rgba(250,250,248,.96);border-bottom:1px solid var(--hairline);backdrop-filter:blur(18px)}
.header-inner{height:82px}
.brand img{filter:invert(1);width:205px}
.nav{font-size:12px;gap:38px}
.nav a:hover,.nav summary:hover{color:var(--azul)}
.nav-contact{border-color:#17191c55}
.solutions-dropdown{background:var(--paper);border-color:var(--hairline);box-shadow:0 18px 45px #17191c20}
.solutions-dropdown a{border-color:var(--hairline)}
.solutions-dropdown a[aria-current=page]{color:var(--azul)}
.section{padding-block:clamp(96px,10vw,156px)}
.section-label{border-color:var(--hairline)}
.small-note,.light .small-note{color:#666a70}
.light{background:var(--paper);color:var(--ink)}
.button-blue{background:var(--azul);color:#fff}
.button-blue:hover{background:#222cc7}

/* Home: a typographic masthead and one wide video from Curia's own work. */
.editorial-home-hero{display:block;height:auto;max-height:none;min-height:0;padding-top:116px;background:var(--paper)}
.editorial-home-hero .hero-content{padding-top:0;padding-bottom:32px}
.editorial-home-hero .hero-content>.eyebrow{color:#565a61;font-size:11px;letter-spacing:.12em;margin-bottom:34px}
.editorial-home-hero .signal{background:var(--azul)}
.editorial-wordmark{font-family:'Archivo Narrow',sans-serif;font-weight:700;font-size:clamp(104px,23.5vw,350px);line-height:.76;letter-spacing:-.045em;white-space:nowrap;color:var(--ink);margin-left:-.035em}
.editorial-wordmark span{color:var(--azul)}
.editorial-home-intro{display:grid;grid-template-columns:1.3fr .7fr;gap:clamp(24px,5vw,80px);align-items:end;margin-top:clamp(36px,4vw,62px)}
.editorial-home-hero h1{font-size:clamp(48px,4.8vw,76px);line-height:1.02;color:var(--ink)}
.editorial-home-hero h1 span{color:var(--azul);text-decoration:none}
.editorial-home-hero .hero-bottom{display:block;margin:0;max-width:420px}
.editorial-home-hero .hero-bottom p{color:#555a60;font-size:15px;line-height:1.75}
.editorial-home-hero .hero-bottom .button{margin-top:28px}
.editorial-home-media{position:relative;width:100%;aspect-ratio:16/9;max-height:720px;overflow:hidden;border-radius:24px;background:#d9dedb}
.editorial-home-media .hero-poster,.editorial-home-media .hero-video{position:absolute;inset:0;width:100%;height:100%}
.editorial-home-media .hero-poster{z-index:0}
.editorial-home-media .hero-video{z-index:1;object-fit:cover}
.editorial-home-media .hero-poster img{display:block;width:100%;height:100%;object-fit:cover}
.editorial-home-hero .hero-foot{color:#565a61;border-color:var(--hairline);margin-top:30px}
.editorial-home-hero .video-toggle{color:var(--ink)}
.home-manifesto{background:var(--paper);text-align:center}
.home-manifesto .eyebrow{color:var(--azul);margin-bottom:34px}
.home-manifesto p:last-child{font-size:clamp(32px,4.5vw,66px);line-height:1.16;letter-spacing:-.045em;max-width:1100px;margin:auto;color:#6d7278}
.home-manifesto strong{font-weight:400;color:var(--ink)}

/* Open, ruled solution rows take priority without hiding any service. */
#soluciones{background:var(--paper-soft)}
#soluciones .intro{align-items:start}
#soluciones .intro h2{font-size:clamp(64px,8.5vw,136px);line-height:.9}
.solution-row{grid-template-columns:74px 1fr 36px;gap:24px;padding:38px 0;border-color:#cdd0d2;transition:padding .2s,color .2s}
.solution-row:last-child{border-color:#cdd0d2}
.solution-row .service-index{font-size:12px;padding-top:16px}
.solution-row h3{font-size:clamp(42px,5.5vw,82px);line-height:.98}
.solution-row p{font-size:13px;margin-top:10px;color:#62666c}
.solution-row>span:last-child{font-size:30px;color:var(--azul)}
.solution-row:hover{padding-left:12px}
.solution-row:hover h3{color:var(--azul)}
.services{background:var(--paper)}
.services .intro h2,.projects h2{font-size:clamp(58px,7vw,108px)}
.service-row{border-color:var(--hairline);padding-block:38px}
.service-row:last-child{border-color:var(--hairline)}
.service-row h3{font-size:clamp(28px,3vw,46px)}
.services-hint{margin:-10px 0 28px;color:#666a70;font-size:12px}
.service-disclosure{border-top:1px solid var(--hairline)}
.service-disclosure:last-child{border-bottom:1px solid var(--hairline)}
.service-disclosure>.service-row{border:0;list-style:none;cursor:pointer;transition:color .2s ease}
.service-disclosure>.service-row::-webkit-details-marker{display:none}
.service-disclosure>.service-row:hover h3,.service-disclosure[open]>.service-row h3{color:var(--azul)}
.service-disclosure>.service-row:focus-visible{outline:2px solid var(--azul);outline-offset:-2px}
.service-teaser{display:block;color:#62666c;font-size:13px;line-height:1.65}
.service-tags{display:block;margin-top:13px;color:var(--ink);font-size:11px;line-height:1.8}
.service-disclosure .row-mark{display:block;color:var(--azul);font-size:26px;line-height:1}
.service-disclosure .row-mark::before{content:'+'}
.service-disclosure[open] .row-mark::before{content:'−'}
.service-detail{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(28px,4vw,64px);align-items:center;background:var(--paper-soft);border-radius:18px;padding:clamp(20px,3vw,38px);margin-bottom:30px}
.service-detail-visual{position:relative;margin:0;min-width:0;overflow:hidden;border-radius:12px;background:#d9dedb}
.service-detail-visual img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.service-detail-visual figcaption{position:absolute;left:16px;bottom:16px;padding:8px 11px;background:var(--paper);color:var(--ink);font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.service-detail-copy .eyebrow{color:var(--azul);margin-bottom:22px}
.service-detail-copy h4{font-family:'Archivo Narrow',sans-serif;font-size:clamp(36px,4vw,64px);line-height:1;letter-spacing:-.025em;margin-bottom:20px}
.service-detail-copy>p:not(.eyebrow){max-width:490px;color:#555a60;font-size:14px;line-height:1.75}
.service-detail-links{display:flex;gap:10px 24px;flex-wrap:wrap}
.service-detail-link{display:inline-flex;align-items:center;gap:12px;margin-top:28px;padding-bottom:7px;border-bottom:1px solid var(--azul);color:var(--azul);font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.service-detail-link span{font-size:17px}
.service-detail-link:hover{color:var(--ink);border-color:var(--ink)}

/* Case study, work and contact keep their original media and behavior. */
.process{background:var(--paper-soft);color:var(--ink)}
.process-intro p,.process-credit{color:#676b70}
.process-kicker,.process-steps li{border-color:#cfd2d4;color:#676b70}
.process-step-copy strong{color:var(--ink)}
.process-step-copy small{color:#666b71}
.process-step:hover,.process-step.is-active{background:#fff9}
.process-step.is-active .process-step-copy strong{color:var(--ink)}
.process-step-num{color:var(--azul)}
.process-frame-label,.process-frame-counter{color:#fff}
.projects{background:var(--paper);color:var(--ink)}
.projects-heading p,.project figcaption .eyebrow,.project-grid figcaption p{color:#686c72}
.project-media{border-radius:18px}
.project figcaption p{color:#555a60}
.sectors{background:var(--paper-soft)}
.sectors h2{font-size:clamp(48px,6vw,90px)}
.contact{background:var(--azul);color:#fff}
.contact .section-label{border-color:#ffffff66}
.contact .section-label .eyebrow::before{background:#fff}
.contact h2{font-size:clamp(58px,7.5vw,116px)}
.contact h2 span{text-decoration-color:#fff}
.contact-layout>div>p,.contact-note,.contact-details>a>span{color:#e3e5ff}
.contact-details>a{border-color:#ffffff88}
.contact-details>a:hover{color:#fff;text-decoration:underline}
.site-footer{background:var(--ink);color:#fff;border-color:var(--ink)}

/* Service landings use the same editorial language while keeping their CTAs and forms. */
.service-page .service-hero{display:flex;flex-direction:column;justify-content:flex-start;min-height:0;height:auto;max-height:none;padding-top:clamp(116px,11vw,180px);background:var(--paper-soft);color:var(--ink);overflow:hidden}
.service-page .service-hero-media{position:relative;order:2;width:calc(100% - 2*var(--gutter));aspect-ratio:16/9;max-height:680px;margin:0 auto 28px;overflow:hidden;border-radius:24px;background:#d9dedb}
.service-page .service-hero-media .hero-poster,.service-page .service-hero-media .service-hero-video{position:absolute;inset:0;width:100%;height:100%}
.service-page .service-hero-media .hero-poster{z-index:0;margin:0;border-radius:0;overflow:hidden}
.service-page .service-hero-media .hero-poster img,.service-page .service-hero-media .service-hero-video{display:block;width:100%;height:100%;object-fit:cover}
.service-page .service-hero-media .service-hero-video{z-index:1;opacity:0;transition:opacity .35s ease}
.service-page .service-hero-media .service-hero-video.is-ready{opacity:1}
.service-video-toggle{position:absolute;z-index:2;right:18px;bottom:16px;display:inline-flex;gap:8px;align-items:center;padding:8px 10px;border:1px solid #ffffff88;background:#17191cbf;color:#fff;font:inherit;font-size:10px;letter-spacing:.05em;cursor:pointer}
.service-video-toggle:hover{background:#17191c}
.service-video-toggle:focus-visible{outline:2px solid var(--azul);outline-offset:3px}
.service-page .service-hero .hero-shade{display:none}
.service-page .service-hero .hero-content{position:relative;z-index:1;padding-top:0;padding-bottom:clamp(48px,6vw,94px)}
.service-page .service-back{color:#555b62;border-bottom:1px solid #aeb2b5;padding-bottom:5px}
.service-page .service-hero .hero-content>.eyebrow{color:var(--azul)}
.service-page .service-hero h1{max-width:1240px;font-size:clamp(64px,8.6vw,150px);line-height:.88;letter-spacing:-.04em}
.service-page .service-hero .hero-bottom{display:block;margin-top:34px;max-width:850px}
.service-page .service-hero .hero-bottom>p{color:#50565c;font-size:15px;max-width:570px}
.service-page .hero-actions{flex-direction:row;align-items:center;flex-wrap:wrap;gap:24px;margin-top:30px}
.service-page .hero-actions .button{max-width:340px}
.service-page .hero-actions .text-link{color:var(--ink);border-color:#73777c}
.service-page .service-hero .hero-foot{position:relative;z-index:1;color:#555b62;border-color:#cfd2d4}
.service-page .service-hero .hero-content{order:1}
.service-page .service-hero .hero-foot{order:3}
.service-page .service-solution,.service-page .service-audience{background:var(--paper-soft);color:var(--ink)}
.service-page .service-solution .intro>p,.service-page .service-audience p{color:#555b62}
.service-page .service-proof{background:var(--paper);color:var(--ink)}
.service-page .service-proof p:not(.eyebrow){color:#555b62}
.service-page #como-funciona,.service-page #entregables,.service-page .service-contact{background:var(--paper)}
.service-page .service-close{background:var(--azul);color:#fff}
.service-page .service-close p:not(.eyebrow){color:#e1e4ff}
.service-page .service-close .button{background:#fff;color:var(--azul)}
.service-page .service-close .button:hover{background:#e7e9ff}
.service-page .heritage-proof-media .project-media{border-radius:18px}
.service-editorial-media{max-width:960px;margin:42px 0 28px}
.service-editorial-media>img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:18px}
.service-editorial-media .project-media{border-radius:18px}
.service-editorial-media figcaption{display:block;margin-top:12px;padding-top:0;color:#73777c;font-size:11px;letter-spacing:.08em;text-transform:uppercase}

/* Legal content remains intact, with the same visual frame as the site. */
.legal-header{position:relative;background:var(--paper);border-color:var(--hairline)}
.legal-header .header-inner{min-height:72px}
.legal-main{background:var(--paper);color:var(--ink)}
.legal-main h1{font-size:clamp(52px,7vw,94px)}
.legal-main p,.legal-main li,.legal-table th,.legal-table td{color:#555b62}
.legal-main strong,.legal-table th{color:var(--ink)}
.legal-main a,.legal-back{color:var(--azul)}
.legal-table th,.legal-table td{border-color:var(--hairline)}

@media(max-width:1050px){
  .editorial-home-intro{grid-template-columns:1fr 1fr}
  .service-disclosure>.service-row{grid-template-columns:25px minmax(0,1fr) 26px;gap:10px 16px}
  .service-disclosure .service-index{grid-column:1;grid-row:1}
  .service-disclosure h3{grid-column:2;grid-row:1}
  .service-teaser{grid-column:2;grid-row:2}
  .service-disclosure .row-mark{grid-column:3;grid-row:1}
  .service-page .service-hero-media{max-height:600px}
  .service-page .service-hero .hero-content{order:1;padding-top:0;padding-bottom:45px}
  .service-page .service-hero .hero-foot{order:3}
  .service-page .service-hero h1{max-width:1000px}
  .service-page .service-hero .hero-bottom{max-width:850px}
}
@media(max-width:700px){
  .header-inner{height:72px}
  .brand img{width:155px}
  .nav{gap:16px;font-size:10px}
  .nav-contact{gap:7px}
  .editorial-home-hero{padding-top:120px}
  .editorial-home-hero .hero-content{padding-bottom:28px}
  .editorial-home-hero .hero-content>.eyebrow{font-size:8px;margin-bottom:30px}
  .editorial-wordmark{font-size:clamp(88px,26vw,180px)}
  .editorial-home-intro{display:block;margin-top:42px}
  .editorial-home-hero h1{font-size:clamp(42px,10.7vw,72px)}
  .editorial-home-hero .hero-bottom{margin-top:22px}
  .editorial-home-hero .hero-bottom p{font-size:13px}
  .editorial-home-hero .hero-bottom .button{margin-top:22px}
  .editorial-home-media{aspect-ratio:4/5;max-height:none;border-radius:18px}
  .editorial-home-hero .hero-foot{margin-top:18px}
  .home-manifesto p:last-child{font-size:clamp(31px,8vw,48px)}
  #soluciones .intro h2{font-size:clamp(58px,15vw,86px)}
  .solution-row{grid-template-columns:27px minmax(0,1fr) 22px;gap:10px;padding:27px 0}
  .solution-row .service-index{font-size:10px;padding-top:5px}
  .solution-row h3{font-size:clamp(30px,9vw,58px);overflow-wrap:anywhere}
  .solution-row p{font-size:11px}
  .services .intro h2,.projects h2,.contact h2{font-size:clamp(40px,12vw,72px);overflow-wrap:anywhere}
  .services-hint{margin:0 0 18px}
  .service-disclosure>.service-row{grid-template-columns:23px minmax(0,1fr) 22px;padding-block:27px}
  .service-disclosure h3{font-size:28px}
  .service-teaser{font-size:12px}
  .service-tags{font-size:10px}
  .service-detail{grid-template-columns:1fr;gap:24px;padding:16px;margin-bottom:20px}
  .service-detail-visual img{aspect-ratio:16/11}
  .service-detail-visual figcaption{left:10px;bottom:10px;font-size:8px}
  .service-detail-copy{padding:2px 4px 12px}
  .service-detail-copy h4{font-size:40px}
  .service-detail-copy>p:not(.eyebrow){font-size:13px}
  .service-detail-link{margin-top:22px}
  .service-page .service-hero{padding-top:104px;min-height:0}
  .service-page .service-hero .hero-content{padding-top:30px;padding-bottom:35px}
  .service-page .service-hero h1{font-size:clamp(52px,13vw,80px);line-height:.91}
  .service-page .service-hero .hero-bottom{margin-top:25px}
  .service-page .service-hero .hero-bottom>p{font-size:14px}
  .service-page .hero-actions{display:block;margin-top:20px}
  .service-page .hero-actions .text-link{margin-top:16px}
  .service-page .service-hero-media{width:calc(100% - 2*var(--gutter));aspect-ratio:4/5;max-height:none;border-radius:18px}
  .service-video-toggle{right:12px;bottom:12px}
}
@media(max-width:380px){.brand img{width:120px}.nav{gap:10px}.editorial-wordmark{font-size:25vw}.solution-row h3{font-size:30px}}
@media(prefers-reduced-motion:reduce){.solution-row{transition:none}.service-page .service-hero-media .service-hero-video,.service-page .service-video-toggle{display:none}}
