/* A calm, consistent palette across every page. */
:root{color-scheme:light;--b:#667963;--a:#d8c9a8;--c:#b98772;--p:#f3f1e9;--i:#39423b;--w:#fffdf8}
html{color-scheme:light;background:#f3f1e9}
body{background-color:#f3f1e9;color:#39423b}
/* Keep each page's images and video visible while softening its colored panels. */
.dark,.ideas,.survey-page,.campaign,.manifesto,.made-to-measure,.lab-banner,.article-hero,.article-hero-blue,.article-hero-coral,.article-list,.contact-request,.shop-grid,.cta,.clinic-location{background-color:#e7ebe2!important;color:#39423b!important}
.dark :is(h1,h2,h3,p,li,a,small,b,strong,em,span),.ideas :is(h1,h2,h3,p,li,a,small,b,strong,em,span),.survey-page :is(h1,h2,h3,p,li,a,small,b,strong,em,span),.campaign :is(h1,h2,h3,p,li,a,small,b,strong,em,span),.manifesto :is(h1,h2,h3,p,li,a,small,b,strong,em,span),.made-to-measure :is(h1,h2,h3,p,li,a,small,b,strong,em,span),.lab-banner :is(h1,h2,h3,p,li,a,small,b,strong,em,span),.article-hero :is(h1,h2,h3,p,li,a,small,b,strong,em,span),.article-hero-blue :is(h1,h2,h3,p,li,a,small,b,strong,em,span),.article-hero-coral :is(h1,h2,h3,p,li,a,small,b,strong,em,span),.article-list :is(h1,h2,h3,p,li,a,small,b,strong,em,span),.contact-request :is(h1,h2,h3,p,li,a,small,b,strong,em,span),.shop-grid :is(h1,h2,h3,p,li,a,small,b,strong,em,span),.cta :is(h1,h2,h3,p,li,a,small,b,strong,em,span),.clinic-location :is(h1,h2,h3,p,li,a,small,b,strong,em,span){color:#39423b!important}
:is(.dark,.ideas,.survey-page,.campaign,.manifesto,.made-to-measure,.lab-banner,.article-hero,.article-hero-blue,.article-hero-coral,.article-list,.contact-request,.shop-grid,.cta,.clinic-location) :is(.button,.button-solid,.pill){border-color:#788875!important}
.nav{background:rgba(249,247,240,.96)!important;color:#39423b!important;mix-blend-mode:normal!important;border-bottom:1px solid rgba(70,78,67,.12);box-shadow:0 6px 24px rgba(60,67,56,.06)}
.nav>a,.nav .menu a,.nav .mobile-menu{color:#39423b!important;text-shadow:none!important}
.nav .mobile-menu{background:rgba(230,234,224,.9)!important;border:1px solid rgba(90,108,85,.24)!important}
.menu.mobile-open{background:#fbf9f3!important;color:#39423b!important}
.menu.mobile-open a{color:#52664f!important}
footer,.contact-page footer{background-color:#e7e8df!important;color:#5a6258!important;border-color:#d4d7ce!important}
@media(max-width:700px){.hero{padding-top:94px!important}.hero .film-actions{top:12px!important}.hero-copy{background:#f8f6ef!important}.hero h1{line-height:.98!important}}
.page-hero.coral,.page-hero.acid,.acid{background-color:#e7ebe2!important;color:#39423b!important}
.page-hero.coral :is(h1,h2,h3,p,li,a,small,b,strong,em,span),.page-hero.acid :is(h1,h2,h3,p,li,a,small,b,strong,em,span),.acid :is(h1,h2,h3,p,li,a,small,b,strong,em,span){color:#39423b!important}
.eyebrow,.page-hero .eyebrow,.article-hero .eyebrow,.contact-page .eyebrow{color:#71816c!important}

/* Fondos orgánicos: piedra clara como base y barro lavado en algunos umbrales. */
:root{--b:#667963;--a:#d7c4a3;--c:#b98772;--p:#f7f4ec;--i:#39423b;--w:#fffdf8}
html,body{background-color:#f7f4ec!important;background-image:url('/assets/stone-cream.webp')!important;background-repeat:repeat!important;background-size:720px 720px!important;color:#39423b}
.hero{background-color:#f7f4ec!important}
:is(.dark,.ideas,.ideas-hero,.survey-page,.survey-hero,.survey-end,.privacy-hero,.campaign,.made-to-measure,.lab-banner,.article-hero,.article-hero-blue,.article-hero-coral,.article-list,.contact-request,.shop-grid,.cta,.clinic-location,.note,.page-hero.acid,.page-hero.coral,.family-survey .survey-hero,.family-survey .survey-end){background-color:#f7f4ec!important;background-image:url('/assets/stone-cream.webp')!important;background-repeat:repeat!important;background-size:720px 720px!important;color:#39423b!important}
:is(.manifesto,.campaign,.article-hero-coral,.contact-request,.made-to-measure,.page-hero.coral){background-color:#f2e5db!important;background-image:linear-gradient(rgba(250,246,240,.64),rgba(250,246,240,.64)),url('/assets/clay-terracotta.webp')!important;background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important;color:#39423b!important}
:is(.dark,.ideas,.ideas-hero,.survey-page,.survey-hero,.survey-end,.privacy-hero,.campaign,.made-to-measure,.lab-banner,.article-hero,.article-hero-blue,.article-hero-coral,.article-list,.contact-request,.shop-grid,.cta,.clinic-location,.note,.page-hero.acid,.page-hero.coral,.family-survey .survey-hero,.family-survey .survey-end) :is(h1,h2,h3,p,li,a,small,b,strong,em,span,div){color:#39423b!important}
:is(.dark,.ideas,.ideas-hero,.survey-page,.survey-hero,.survey-end,.privacy-hero,.campaign,.made-to-measure,.lab-banner,.article-hero,.article-hero-blue,.article-hero-coral,.article-list,.contact-request,.shop-grid,.cta,.clinic-location,.note,.page-hero.acid,.page-hero.coral) :is(.button,.button-solid,.pill){border-color:#758773!important;color:#39423b!important}
:is(.dark,.ideas,.ideas-hero,.survey-page,.survey-hero,.survey-end,.privacy-hero,.campaign,.made-to-measure,.lab-banner,.article-hero,.article-hero-blue,.article-hero-coral,.article-list,.contact-request,.shop-grid,.cta,.clinic-location,.note,.page-hero.acid,.page-hero.coral) .button-solid{background:#667963!important;color:#fff!important}
.card:hover{background-color:#f2eee5!important;background-image:url('/assets/stone-cream.webp')!important;color:#39423b!important}
footer,.contact-page footer{background-color:#f7f4ec!important;background-image:url('/assets/stone-cream.webp')!important;background-repeat:repeat!important;background-size:720px 720px!important;color:#555f55!important;border-color:#d8d3c8!important}
.page-hero .eyebrow,.article-hero .eyebrow,.eyebrow{color:#71816c!important}

/* Clear the remaining dark-green panels used in family and contact pages. */
.family-survey,.contact-page .contact,.contact-page .clinic-location{background-color:#f7f4ec!important;background-image:url('/assets/stone-cream.webp')!important;background-repeat:repeat!important;background-size:720px 720px!important;color:#39423b!important}
.contact-page .contact :is(h1,h2,h3,p,li,a,small,b,strong,em,span),.contact-page .clinic-location :is(h1,h2,h3,p,li,a,small,b,strong,em,span),.family-survey :is(h1,h2,h3,p,li,a,small,b,strong,em,span){color:#39423b!important}
.contact-page .contact .eyebrow,.contact-page .clinic-location .eyebrow,.family-survey .eyebrow{color:#9b7250!important;background:transparent!important}
.contact-page .contact .button-solid,.contact-page .clinic-location .button-solid{background:#667963!important;color:#fff!important}
/* Editorial title colors: terracotta, soft blue and warm mustard. */
h1{color:#9e6654!important}
h1 em,h1 span{color:#75879a!important}
h2{color:#647c91!important}
h2 em,h2 span{color:#a36e56!important}
h3{color:#a5803f!important}
:is(.dark,.ideas,.ideas-hero,.survey-page,.survey-hero,.survey-end,.privacy-hero,.campaign,.made-to-measure,.lab-banner,.article-hero,.article-hero-blue,.article-hero-coral,.article-list,.contact-request,.shop-grid,.cta,.clinic-location,.note,.page-hero.acid,.page-hero.coral,.family-survey,.contact) h1{color:#9e6654!important}
:is(.dark,.ideas,.ideas-hero,.survey-page,.survey-hero,.survey-end,.privacy-hero,.campaign,.made-to-measure,.lab-banner,.article-hero,.article-hero-blue,.article-hero-coral,.article-list,.contact-request,.shop-grid,.cta,.clinic-location,.note,.page-hero.acid,.page-hero.coral,.family-survey,.contact) h1 em,:is(.dark,.ideas,.ideas-hero,.survey-page,.survey-hero,.survey-end,.privacy-hero,.campaign,.made-to-measure,.lab-banner,.article-hero,.article-hero-blue,.article-hero-coral,.article-list,.contact-request,.shop-grid,.cta,.clinic-location,.note,.page-hero.acid,.page-hero.coral,.family-survey,.contact) h1 span{color:#75879a!important}
:is(.dark,.ideas,.ideas-hero,.survey-page,.survey-hero,.survey-end,.privacy-hero,.campaign,.made-to-measure,.lab-banner,.article-hero,.article-hero-blue,.article-hero-coral,.article-list,.contact-request,.shop-grid,.cta,.clinic-location,.note,.page-hero.acid,.page-hero.coral,.family-survey,.contact) h2{color:#647c91!important}
:is(.dark,.ideas,.ideas-hero,.survey-page,.survey-hero,.survey-end,.privacy-hero,.campaign,.made-to-measure,.lab-banner,.article-hero,.article-hero-blue,.article-hero-coral,.article-list,.contact-request,.shop-grid,.cta,.clinic-location,.note,.page-hero.acid,.page-hero.coral,.family-survey,.contact) h2 em,:is(.dark,.ideas,.ideas-hero,.survey-page,.survey-hero,.survey-end,.privacy-hero,.campaign,.made-to-measure,.lab-banner,.article-hero,.article-hero-blue,.article-hero-coral,.article-list,.contact-request,.shop-grid,.cta,.clinic-location,.note,.page-hero.acid,.page-hero.coral,.family-survey,.contact) h2 span{color:#a36e56!important}
:is(.dark,.ideas,.ideas-hero,.survey-page,.survey-hero,.survey-end,.privacy-hero,.campaign,.made-to-measure,.lab-banner,.article-hero,.article-hero-blue,.article-hero-coral,.article-list,.contact-request,.shop-grid,.cta,.clinic-location,.note,.page-hero.acid,.page-hero.coral,.family-survey,.contact) h3{color:#a5803f!important}
/* Evita que Chrome Android convierta las superficies claras en paneles oscuros. */
:root,html,body{color-scheme:only light!important}

/* Clearer page rhythm: linen, warm stone, pale blue and washed clay. */
:root{color-scheme:only light!important;--action-klein:#002fa7;--linen:#fffdf8;--stone:#f7f4ec;--soft-stone:#eeece4;--pale-blue:#e8eef3;--soft-clay:#f2e5db;--terracotta:#a8583d;--sun:#d5aa4e}
html,body{background-color:var(--stone)!important;color:#343c38!important}
.intro{background-color:var(--stone)!important;background-image:url('/assets/stone-cream.webp')!important;background-size:720px 720px!important}
.campaign,.manifesto,.made-to-measure,.contact-request,.page-hero.coral,.article-hero-coral{background-color:var(--soft-clay)!important;background-image:linear-gradient(rgba(255,249,244,.52),rgba(255,249,244,.52)),url('/assets/clay-terracotta.webp')!important;background-size:cover!important}
.clinical-work,.privacy-copy,.article-content,.survey-form,.contact-page .contact{background-color:var(--linen)!important;background-image:none!important}
.home-film,.home-film-copy,.cards,.article-list,.ideas-hero,.survey-end{background-color:var(--soft-stone)!important;background-image:none!important}
.authorship-section,.family-survey .survey-hero,.family-survey .survey-end{background-color:#edf0e8!important;background-image:none!important}
.trust-section,.clinic-location,.page-hero.acid,.article-hero-blue{background-color:var(--pale-blue)!important;background-image:none!important}
.gate-lab-offers,.method-layers,.work-grid,.shop-grid{background-color:var(--linen)!important;background-image:none!important}
.dark,.ideas,.survey-page,.article-hero,.cta,.note,.privacy-hero,.page-hero:not(.coral):not(.acid){background-color:var(--stone)!important;background-image:url('/assets/stone-cream.webp')!important;background-repeat:repeat!important;background-size:720px 720px!important}
.home-film-copy,.clinical-work,.authorship-section,.trust-section,.cards,.campaign,.manifesto,.made-to-measure,.article-content,.survey-form,.contact-page .contact,.clinic-location,.gate-lab-offers{border-bottom:1px solid rgba(83,75,62,.16)}

/* The moving strips should read as deliberate, high-contrast transitions. */
.ticker{background:#b85f3d!important;color:#fffaf3!important;border-block:2px solid #8e452d!important;transform:rotate(-1.2deg) scale(1.02)}
.ticker .track{color:#fffaf3!important}
.clinical-ticker{background:#d5aa4e!important;color:#26374b!important;border-block:2px solid #b98b30!important}
.clinical-track{color:#26374b!important}
.clinical-track span:after{color:#002fa7!important}

/* Primary actions use Klein blue consistently; media controls remain translucent over the films. */
:is(a.button,a.button-solid,a.button-outline,.button,.button-solid,.button-outline,.cookie-button,.contact-form button,.contact .button,.clinic-location .button,.home-film-copy>a,.clinical-close .button,.trust-actions .button,.article-end .button,.survey-embed button){background:#002fa7!important;border-color:#002fa7!important;color:#fff!important;text-decoration:none!important}
:is(a.button,a.button-solid,a.button-outline,.button,.button-solid,.button-outline,.cookie-button,.contact-form button,.contact .button,.clinic-location .button,.home-film-copy>a,.clinical-close .button,.trust-actions .button,.article-end .button,.survey-embed button):hover{background:#2148bb!important;border-color:#2148bb!important;color:#fff!important}
.labels .tag{background:rgba(255,255,255,.72)!important;border:1px solid #002fa7!important;color:#002fa7!important}
.labels .tag:hover,.labels .tag.cut{background:#002fa7!important;border-color:#002fa7!important;color:#fff!important}
.film-toggle{background:rgba(31,31,35,.48)!important;border-color:rgba(255,255,255,.35)!important;color:#fff!important}
:is(.dark,.ideas,.campaign,.manifesto,.made-to-measure,.lab-banner,.article-hero,.article-list,.contact-request,.shop-grid,.cta,.clinic-location,.page-hero) :is(a.button,a.button-solid,a.button-outline,.button,.button-solid,.button-outline,.cookie-button,.contact-form button,.home-film-copy>a,.clinical-close .button,.trust-actions .button,.article-end .button,.survey-embed button),
:is(.dark,.ideas,.campaign,.manifesto,.made-to-measure,.lab-banner,.article-hero,.article-list,.contact-request,.shop-grid,.cta,.clinic-location,.page-hero) :is(a.button,a.button-solid,a.button-outline,.button,.button-solid,.button-outline,.cookie-button,.contact-form button,.home-film-copy>a,.clinical-close .button,.trust-actions .button,.article-end .button,.survey-embed button) *{color:#fff!important}
/* Lighter Greek blue for the cool-toned display titles; keep the earth terracotta accents. */
:is(.dark,.ideas,.ideas-hero,.survey-page,.survey-hero,.survey-end,.privacy-hero,.campaign,.manifesto,.made-to-measure,.lab-banner,.article-hero,.article-hero-blue,.article-hero-coral,.article-list,.contact-request,.shop-grid,.cta,.clinic-location,.note,.page-hero,.family-survey,.contact,.intro,.clinical-work,.authorship-section,.trust-section,.cards) h1 em,
:is(.dark,.ideas,.ideas-hero,.survey-page,.survey-hero,.survey-end,.privacy-hero,.campaign,.manifesto,.made-to-measure,.lab-banner,.article-hero,.article-hero-blue,.article-hero-coral,.article-list,.contact-request,.shop-grid,.cta,.clinic-location,.note,.page-hero,.family-survey,.contact,.intro,.clinical-work,.authorship-section,.trust-section,.cards) h1 span,
:is(.dark,.ideas,.ideas-hero,.survey-page,.survey-hero,.survey-end,.privacy-hero,.campaign,.manifesto,.made-to-measure,.lab-banner,.article-hero,.article-hero-blue,.article-hero-coral,.article-list,.contact-request,.shop-grid,.cta,.clinic-location,.note,.page-hero,.family-survey,.contact,.intro,.clinical-work,.authorship-section,.trust-section,.cards) h2{color:#668ba5!important}
:is(.dark,.ideas,.ideas-hero,.survey-page,.survey-hero,.survey-end,.privacy-hero,.campaign,.manifesto,.made-to-measure,.lab-banner,.article-hero,.article-hero-blue,.article-hero-coral,.article-list,.contact-request,.shop-grid,.cta,.clinic-location,.note,.page-hero,.family-survey,.contact,.intro,.clinical-work,.authorship-section,.trust-section,.cards):is(.dark,.ideas,.ideas-hero,.survey-page,.survey-hero,.survey-end,.privacy-hero,.campaign,.manifesto,.made-to-measure,.lab-banner,.article-hero,.article-hero-blue,.article-hero-coral,.article-list,.contact-request,.shop-grid,.cta,.clinic-location,.note,.page-hero,.family-survey,.contact,.intro,.clinical-work,.authorship-section,.trust-section,.cards) h1 em,
:is(.dark,.ideas,.ideas-hero,.survey-page,.survey-hero,.survey-end,.privacy-hero,.campaign,.manifesto,.made-to-measure,.lab-banner,.article-hero,.article-hero-blue,.article-hero-coral,.article-list,.contact-request,.shop-grid,.cta,.clinic-location,.note,.page-hero,.family-survey,.contact,.intro,.clinical-work,.authorship-section,.trust-section,.cards):is(.dark,.ideas,.ideas-hero,.survey-page,.survey-hero,.survey-end,.privacy-hero,.campaign,.manifesto,.made-to-measure,.lab-banner,.article-hero,.article-hero-blue,.article-hero-coral,.article-list,.contact-request,.shop-grid,.cta,.clinic-location,.note,.page-hero,.family-survey,.contact,.intro,.clinical-work,.authorship-section,.trust-section,.cards) h1 span,
:is(.dark,.ideas,.ideas-hero,.survey-page,.survey-hero,.survey-end,.privacy-hero,.campaign,.manifesto,.made-to-measure,.lab-banner,.article-hero,.article-hero-blue,.article-hero-coral,.article-list,.contact-request,.shop-grid,.cta,.clinic-location,.note,.page-hero,.family-survey,.contact,.intro,.clinical-work,.authorship-section,.trust-section,.cards):is(.dark,.ideas,.ideas-hero,.survey-page,.survey-hero,.survey-end,.privacy-hero,.campaign,.manifesto,.made-to-measure,.lab-banner,.article-hero,.article-hero-blue,.article-hero-coral,.article-list,.contact-request,.shop-grid,.cta,.clinic-location,.note,.page-hero,.family-survey,.contact,.intro,.clinical-work,.authorship-section,.trust-section,.cards) h2{color:#668ba5!important}

.article-hero-blue,.page-hero.acid{background-color:#e8eef3!important;background-image:none!important}

/* En móvil mantenemos la misma portada editorial y la misma textura clara del escritorio. */
@media(max-width:700px){
  .hero{min-height:100svh!important;padding-top:74px!important;display:grid!important;align-items:end!important;position:relative!important;overflow:hidden!important;background-color:var(--stone)!important;background-image:url('/assets/stone-cream.webp')!important;background-repeat:repeat!important;background-size:720px 720px!important;color:#343c38!important}
  .hero:after{content:none!important}
  .hero-img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;z-index:0!important;background:transparent!important;opacity:1!important}
  .hero-img:after{background:linear-gradient(90deg,rgba(255,253,248,.90) 0%,rgba(255,253,248,.76) 42%,rgba(255,253,248,.24) 78%,rgba(255,253,248,.08) 100%)!important;z-index:1!important}
  .home-hero-video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
  .hero-copy{position:relative!important;z-index:2!important;width:100%!important;padding:0 22px 30px!important;background:transparent!important;background-image:none!important;color:#343c38!important}
  .hero .eyebrow{color:#9e6654!important}
  .hero h1{max-width:12ch!important;font-size:clamp(3.15rem,12vw,5rem)!important;line-height:.94!important;letter-spacing:-.065em!important;color:#9e6654!important}
  .hero h1 span{margin-left:0!important;color:#668ba5!important;line-height:.96!important}
  .hero-foot{grid-template-columns:1fr!important;gap:16px!important;margin-top:25px!important}
  .hero-foot p,.hero-foot small{color:#343c38!important}
  .hero-foot b{color:#668ba5!important}
  .hero .film-line{left:20px!important;right:20px!important;top:150px!important;bottom:auto!important;max-width:500px!important;font-size:clamp(1.2rem,5vw,1.65rem)!important;line-height:1.2!important}
  .hero .film-actions{top:86px!important;right:12px!important;left:auto!important;bottom:auto!important;z-index:3!important;gap:6px!important}
}


/* Contact actions: keep legible white labels on the Klein-blue buttons. */
.contact-page .contact .button,.contact-page .clinic-location .button,.contact-page .contact-form button{color:#fff!important}
.contact-page .contact .button *,.contact-page .clinic-location .button *,.contact-page .contact-form button *{color:#fff!important}
