/* Centro Médico Orchard · direction A, Horizonte (chosen by Franco on 18 Nov 2026).
   The logo's landscape (sand sky, amber dunes, Pacific blues) on warm paper. Deep blue carries headings and actions,
   amber only decorates, sky blue lives in the illustrations. Tokens and rules: DESIGN.md. */

@font-face{font-family:"Fraunces";font-style:normal;font-weight:300 600;font-display:swap;src:url(/assets/fonts/fraunces-soft72-latin.woff2) format("woff2")}
@font-face{font-family:"Figtree";font-style:normal;font-weight:300 800;font-display:swap;src:url(/assets/fonts/figtree-latin.woff2) format("woff2")}
@font-face{font-family:"Orchard Wordmark";font-style:normal;font-weight:400 700;font-display:block;src:url(/assets/fonts/outfit-wordmark.woff2) format("woff2")}

:root{
  --deep:#264e93;
  --deep-strong:#1c3b72;
  --night:#142c57;
  --night-2:#1b3769;
  --ink:#182641;
  --ink-2:#4a5670;
  --sky:#4690cc;
  --sand:#edc68f;
  --sand-tint:#f6e6cc;
  --amber:#dfa240;
  --amber-strong:#8a5a12;
  --paper:#fbf7f0;
  --paper-2:#f4ecdd;
  --rule:#e4d8c4;
  --white:#ffffff;
  --on-night:#f6efe3;
  --on-night-2:#c9d3e6;
  --rule-night:#2a4677;
  --font-display:"Fraunces",Georgia,"Times New Roman",serif;
  --font-sans:"Figtree",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-brand:"Orchard Wordmark","Figtree",ui-sans-serif,system-ui,sans-serif;
  --ease:cubic-bezier(.2,.8,.2,1);
  --gutter:max(20px,env(safe-area-inset-left));
  --header-h:76px;
}
@media (min-width:720px){:root{--gutter:32px}}
@media (min-width:1100px){:root{--gutter:48px}}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 12px)}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--paper);color:var(--ink);font:400 1.0625rem/1.65 var(--font-sans);text-rendering:optimizeLegibility}
img,svg{display:block;max-width:100%}
a{color:var(--deep);text-underline-offset:.18em;text-decoration-thickness:1px}
a:hover{color:var(--deep-strong)}
:focus-visible{outline:3px solid var(--deep);outline-offset:3px;border-radius:4px}
h1,h2,h3{font-family:var(--font-display);font-weight:440;color:var(--deep);margin:0;text-wrap:balance}
p{margin:0}
/* Paragraphs are justified (Franco, 18 Nov). Spanish hyphenation (lang="es-CL") keeps phone-width lines from opening
   wide gaps between words; only words of 8+ letters are split, never leaving fewer than 4 + 3 letters on each side.
   Labels, the tagline, the footer and the short texts of the cards stay left-aligned (Franco, 20 Nov). */
p,.prose li,.answer li{text-align:justify;-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-chars:8 4 3}
.eyebrow,.tagline,.site-footer p,.service-card p,.step p,.person p{text-align:left;-webkit-hyphens:manual;hyphens:manual}
.wrap{max-width:1180px;margin:0 auto;padding:0 max(var(--gutter),env(safe-area-inset-right)) 0 max(var(--gutter),env(safe-area-inset-left))}
.skip{position:absolute;left:-999px;top:8px;background:var(--white);padding:8px 12px;z-index:50}
.skip:focus{left:8px}
.icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:none}
.nowrap{white-space:nowrap}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Brand lockup */
.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:var(--deep)}
.brand img{width:44px;height:44px;flex:none}
.brand-text{display:flex;flex-direction:column;font-family:var(--font-brand);line-height:1;text-transform:uppercase}
.brand-top{font-size:.70rem;font-weight:400;letter-spacing:.24em}
.brand-name{font-size:1.45rem;font-weight:700;letter-spacing:.07em;margin-top:4px}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 26px;border-radius:999px;font:600 1rem/1 var(--font-sans);text-decoration:none;white-space:nowrap;border:1px solid transparent;transition:background-color .16s,color .16s,border-color .16s}
.btn-primary{background:var(--deep);color:var(--white)}
.btn-primary:hover{background:var(--deep-strong);color:var(--white)}
.btn-quiet{color:var(--deep);border-color:color-mix(in srgb,var(--deep) 35%,transparent)}
.btn-quiet:hover{border-color:var(--deep);color:var(--deep-strong)}
.btn-light{background:var(--paper);color:var(--deep)}
.btn-light:hover{background:var(--white);color:var(--deep-strong)}
.btn .icon{width:20px;height:20px}
.btn .arrow{transition:transform .16s var(--ease)}
.btn:hover .arrow{transform:translateX(3px)}

/* Header. A solid bar at the top of the page. Once the page scrolls, site.js adds .is-floating and the bar becomes
   "liquid glass" with a progressive fade (Franco, 20 Nov): solid paper at the very top, so it merges with the phone's
   status bar (theme-color is the same paper), then more and more transparent towards the bottom, where the blurred page
   shows through and the glass dissolves 28px below the bar with no edge. ::before is the solid bar and ::after the glass;
   they cross-fade. Both are pseudo-elements because backdrop-filter on the header itself would trap the fixed
   full-screen menu inside the bar. While the menu is open the bar is solid again. */
.site-header{position:sticky;top:0;z-index:30;background:transparent}
.site-header::before,.site-header::after{content:"";position:absolute;left:0;right:0;top:0;z-index:-1;pointer-events:none;transition:opacity .35s var(--ease)}
.site-header::before{bottom:0;background-color:var(--paper)}
.site-header::after{bottom:-28px;opacity:0;background:linear-gradient(to bottom,var(--paper) 0%,rgb(251 247 240 / .86) 30%,rgb(251 247 240 / .5) 62%,rgb(251 247 240 / .12) 86%,rgb(251 247 240 / 0) 100%);-webkit-backdrop-filter:blur(16px) saturate(1.7);backdrop-filter:blur(16px) saturate(1.7);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 58%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,#000 58%,transparent 100%)}
.site-header.is-floating::before{opacity:0}
.site-header.is-floating::after{opacity:1}
.site-header:has(.menu[open])::before{opacity:1}
.site-header:has(.menu[open])::after{opacity:0}
.header-inner{display:flex;align-items:center;gap:20px;min-height:var(--header-h)}
.site-nav{margin-left:auto}
.site-nav ul{display:flex;gap:26px;list-style:none;margin:0;padding:0}
.site-nav a{color:var(--ink);text-decoration:none;font-weight:500;font-size:.98rem;white-space:nowrap}
.site-nav a:hover{color:var(--deep);text-decoration:underline}
.social{display:flex;gap:2px;list-style:none;margin:0;padding:0}
.social a{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;color:var(--deep);transition:background-color .16s}
.social a:hover{background:var(--paper-2)}
.social .icon{width:20px;height:20px}
.header-cta{min-height:44px;padding:0 20px;font-size:.95rem}

/* Menu: a full-screen panel under the header (Franco, 20 Nov). It is a <details>, so it opens and closes without
   JavaScript; site.js closes it after a link is chosen, with Escape or a tap outside, and folds «Servicios» again. */
.menu{display:none}
.menu > summary{list-style:none;width:40px;height:40px;display:grid;place-items:center;border-radius:50%;color:var(--deep);cursor:pointer}
.menu > summary::-webkit-details-marker{display:none}
.menu > summary:hover,.menu[open] > summary{background:var(--paper-2)}
.menu .i-close,.menu[open] .i-open{display:none}
.menu[open] .i-close{display:block}
.menu-panel{position:fixed;left:0;right:0;top:var(--header-h);bottom:0;overflow-y:auto;overscroll-behavior:contain;background:var(--paper)}
.menu-inner{display:flex;flex-direction:column;min-height:100%;padding-top:16px;padding-bottom:max(28px,env(safe-area-inset-bottom))}
.menu-list,.menu-list ul,.menu-social{list-style:none;margin:0;padding:0}
.menu-list > li > a,.menu-group > summary{display:flex;align-items:center;gap:10px;padding:12px 0;font-family:var(--font-display);font-size:1.6rem;font-weight:440;line-height:1.2;color:var(--deep);text-decoration:none;cursor:pointer;list-style:none}
.menu-group > summary::-webkit-details-marker{display:none}
.menu-group > summary .icon{width:22px;height:22px;transition:transform .2s var(--ease)}
.menu-group[open] > summary .icon{transform:rotate(180deg)}
.menu-group ul{padding:0 0 10px 2px}
.menu-group ul a{display:block;padding:9px 0;font-size:1.0625rem;font-weight:500;color:var(--ink-2);text-decoration:none}
.menu-list a:hover,.menu-group > summary:hover{color:var(--deep-strong)}
.menu-list a[aria-current="page"]{text-decoration:underline;text-underline-offset:.22em;text-decoration-thickness:1px}
.menu-social{display:flex;justify-content:center;gap:12px;margin-top:auto;padding-top:32px}
.menu-social a{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;color:var(--deep)}
.menu-social a:hover{background:var(--paper-2)}
.menu-social .icon{width:24px;height:24px}
html:has(.menu[open]){overflow:hidden}
@media (prefers-reduced-motion:no-preference){.menu[open] .menu-panel{animation:menu-in .2s var(--ease)}}
@keyframes menu-in{from{opacity:0}to{opacity:1}}

@media (max-width:1079px){.site-nav{display:none}.social{margin-left:auto}.menu{display:block}}
@media (max-width:719px){.social{display:none}.header-cta{margin-left:auto}}
@media (max-width:480px){.site-header .brand img{width:38px;height:38px}.site-header .brand-name{font-size:1.25rem}.header-cta{padding:0 16px}.header-inner{gap:8px}}
/* Very narrow phones: a smaller lockup so the logo, «Reservar» and the menu fit on one line. */
@media (max-width:370px){
  .header-inner{gap:6px}
  .site-header .brand{gap:8px}
  .site-header .brand img{width:34px;height:34px}
  .site-header .brand-top{font-size:.62rem;letter-spacing:.2em}
  .site-header .brand-name{font-size:1.12rem;letter-spacing:.06em}
  .header-cta{padding:0 14px;font-size:.9rem}
}

/* Floating WhatsApp button on every page (Franco, 20 Nov), in WhatsApp's own colours; hidden while the menu is open. */
.wa-float{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:calc(16px + env(safe-area-inset-bottom));z-index:40;width:56px;height:56px;display:grid;place-items:center;border-radius:50%;background:#25d366;color:#fff;box-shadow:0 12px 26px -10px rgb(20 44 87 / .6);transition:transform .16s var(--ease),opacity .2s,visibility .2s}
.wa-float:hover{color:#fff;transform:translateY(-2px)}
.wa-float .icon{width:30px;height:30px}
body:has(.menu[open]) .wa-float{opacity:0;visibility:hidden}
@media (min-width:960px){.wa-float{right:28px;bottom:28px;width:60px;height:60px}}

/* Cookie consent, shown only when measurement is configured in site.js. Rejecting is as easy as accepting. */
.consent{position:fixed;left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:45;max-width:760px;margin:0 auto;padding:18px 20px;border-radius:20px;background:var(--white);color:var(--ink);box-shadow:0 18px 40px -16px rgb(20 44 87 / .45),0 0 0 1px var(--rule);display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.consent[hidden]{display:none}
.consent p{flex:1 1 320px;margin:0;font-size:.95rem;color:var(--ink-2);text-align:left;-webkit-hyphens:manual;hyphens:manual}
.consent-actions{display:flex;gap:10px;flex:none}
body:has(.consent:not([hidden])) .wa-float{opacity:0;visibility:hidden}
.consent-reopen button{background:none;border:0;padding:0;font:inherit;color:var(--on-night);cursor:pointer}
.consent-reopen button:hover{text-decoration:underline}

/* Hero */
.hero{padding:clamp(28px,5vw,72px) 0 clamp(64px,9vw,120px)}
.hero-grid{display:grid;gap:48px;align-items:center}
@media (min-width:960px){.hero-grid{grid-template-columns:1.1fr .9fr;gap:72px}}
.eyebrow{font:600 .8125rem/1.3 var(--font-sans);letter-spacing:.14em;text-transform:uppercase;color:var(--amber-strong);margin-bottom:18px}
.hero h1{font-size:clamp(3rem,1.9rem + 4.8vw,5.6rem);line-height:1;letter-spacing:-.025em;font-weight:430}
.tagline{position:relative;display:inline-block;margin-top:18px;padding-bottom:10px;font-family:var(--font-display);font-weight:400;font-size:clamp(1.4rem,1.1rem + 1.1vw,2rem);line-height:1.2;color:var(--deep)}
.tagline-swash{position:absolute;left:0;right:-4%;bottom:-4px;width:104%;height:16px;overflow:visible}
.tagline-swash path{fill:none;stroke:var(--amber);stroke-width:4;stroke-linecap:round;stroke-dasharray:330;stroke-dashoffset:0}
.tagline-cursor{position:absolute;right:-34px;bottom:-18px;width:30px;height:30px;color:var(--ink)}
.tagline-cursor .icon{width:30px;height:30px;stroke-width:1.5;fill:var(--white)}
.tagline-cursor .ring{position:absolute;left:-6px;top:-6px;width:18px;height:18px;border-radius:50%;border:2px solid var(--amber);opacity:0}
.lead{font-size:clamp(1.0625rem,1rem + .35vw,1.25rem);line-height:1.6;color:var(--ink-2);max-width:44ch;margin-top:24px}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.hero-art{position:relative;justify-self:center;width:min(100%,440px)}
/* The hero window is a capsule (round at the top and bottom, Franco 18 Nov); the label follows its round bottom. */
.arch{position:relative;aspect-ratio:76/100;border-radius:999px;overflow:hidden;background:var(--sand);box-shadow:0 1px 0 rgb(20 44 87 / .05),0 40px 70px -40px rgb(20 44 87 / .45)}
.arch > svg:first-child{position:absolute;inset:0;width:100%;height:100%}
.hero-doctor{position:absolute;left:50%;bottom:0;width:104%;max-width:none;height:auto;transform:translateX(-50%)}
.arch-front{position:absolute;left:0;right:0;bottom:0;width:100%;height:25%}
.arch-front path{fill:var(--deep)}
.arch-label{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.arch-label text{fill:var(--white);font-family:var(--font-sans);font-size:22px;font-weight:600;letter-spacing:.16em;text-transform:uppercase}
@media (max-width:959px){
  .arch-label text{font-size:25px}
  /* On phones and tablets the doctor comes right after the tagline; «Reservar» stays in the sticky header. */
  .hero-grid{gap:0}
  .hero-copy{display:contents}
  .hero-copy > .eyebrow{order:1}
  .hero-copy > h1{order:2}
  .hero-copy > .tagline{order:3;justify-self:start}
  .hero-art{order:4;width:min(100%,340px);margin:32px 0 8px}
  .hero-copy > .lead{order:5}
  .hero-copy > .actions{order:6}
}

/* Sections */
.section{padding:clamp(72px,10vw,136px) 0}
.section-head{max-width:640px;margin-bottom:clamp(36px,5vw,56px)}
.section-head h2,.booking h2{font-size:clamp(2.05rem,1.5rem + 2.2vw,3.2rem);line-height:1.08;letter-spacing:-.018em}
.section-lead{margin-top:16px;color:var(--ink-2);font-size:1.125rem;max-width:52ch}

/* Services: cards led by Franco's clay icons, as on the current site */
.services{background:var(--paper-2)}
.service-cards{display:grid;gap:20px}
@media (min-width:960px){.service-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}}
.service-card{position:relative;display:flex;flex-direction:column;background:var(--white);border:1px solid var(--rule);border-radius:28px;padding:22px 28px 26px;box-shadow:0 1px 0 rgb(20 44 87 / .04),0 30px 50px -40px rgb(20 44 87 / .35)}
.clay{object-fit:contain;filter:drop-shadow(0 14px 12px rgb(20 44 87 / .14))}
/* Icon and title side by side, so the space beside the icon is used (Franco, 18 Nov). */
.card-head{display:flex;align-items:center;gap:14px;margin-left:-10px}
.card-head .clay{flex:none;width:88px;height:88px}
.service-card h3{font-size:clamp(1.4rem,1.25rem + .3vw,1.5rem);line-height:1.15;text-wrap:balance}
.service-card p{margin-top:10px;color:var(--ink-2)}
.tags{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0;padding:0;list-style:none}
.tags li{font-size:.85rem;padding:4px 11px;border-radius:999px;background:var(--paper-2);color:var(--ink)}
.card-foot{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:auto;padding-top:22px}
.btn-small{min-height:44px;padding:0 20px;font-size:.95rem}
.services-note{display:flex;align-items:center;gap:12px;margin-top:28px;color:var(--ink-2);font-size:.98rem}
.services-note .icon{color:var(--deep)}

/* Steps */
.steps-list{list-style:none;margin:0;padding:0;display:grid;gap:40px}
@media (min-width:860px){.steps-list{grid-template-columns:repeat(3,1fr);gap:56px}}
.step{position:relative}
.step-n{font-family:var(--font-display);font-size:3.4rem;line-height:1;color:var(--amber);font-weight:400}
.step h3{font-size:1.5rem;line-height:1.2;margin-top:14px}
.step p{margin-top:10px;color:var(--ink-2)}

/* Team: names and services; no photo space until Franco has the doctors' photos */
.team{background:var(--paper-2)}
/* Static waves where the background colour changes (Franco, 20 Nov). Each section draws a wave in its own colour over
   the bottom of the section before it, overlapping its own top by 1px so no line shows between the two. */
.services,.steps,.team,.team + .section,.booking + .faq{position:relative}
.steps,.team + .section,.faq{background:var(--paper)}
.services::before,.steps::before,.team::before,.team + .section::before,.booking + .faq::before{content:"";position:absolute;left:0;right:0;bottom:calc(100% - 1px);height:clamp(22px,3.2vw,44px);background:inherit;-webkit-mask:url(/assets/wave.svg) 0 0/100% 100% no-repeat;mask:url(/assets/wave.svg) 0 0/100% 100% no-repeat;pointer-events:none}
.steps::before,.team + .section::before{transform:scaleX(-1)}
.team-grid{display:grid;gap:20px}
@media (min-width:720px){.team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}}
.person{position:relative;overflow:hidden;display:flex;flex-direction:column;background:var(--white);border:1px solid var(--rule);border-radius:24px;padding:42px 28px 26px}
.person-wave{position:absolute;left:0;right:0;top:0;width:100%;height:20px}
.person h3{font-size:clamp(1.5rem,1.3rem + .6vw,1.8rem);line-height:1.15}
.person .role{margin-top:8px;color:var(--ink-2)}
.person .tags{margin-top:16px}
.person .link-arrow{margin-top:auto;padding-top:20px}
.link-arrow{display:inline-flex;align-items:center;gap:8px;font-weight:600;text-decoration:none}
.link-arrow::after{content:"→";transition:transform .16s var(--ease)}
.link-arrow:hover::after{transform:translateX(3px)}

/* Animated sea edge between a light section and a navy one. When its bottom falls between two screen pixels, anything
   light that reaches that edge shows as a thin line (Franco saw one, 18 Nov). So the bottom 2px of the background are
   navy, and the light back wave stops at y=60 of 64, hidden behind the front wave. */
.sea-edge{position:relative;height:clamp(36px,5vw,64px);overflow:hidden;background:linear-gradient(to top,var(--night) 2px,var(--from,var(--paper)) 2px);margin-bottom:-1px}
/* The waves are drawn twice as wide as the screen and slide by one screen width, so max-width must not cap them
   (the general img/svg rule did, and the right half emptied as they moved: Franco saw the waves cut on his phone). */
.sea-edge svg{position:absolute;left:0;bottom:0;width:200%;max-width:none;height:100%}
.sea-edge .w-back{fill:var(--sky);opacity:.55}
.sea-edge .w-front{fill:var(--night)}

/* Booking */
.booking{background:var(--night);color:var(--on-night)}
.booking h2{color:var(--on-night)}
.booking-grid{display:grid;gap:36px;align-items:start}
@media (min-width:960px){.booking-grid{grid-template-columns:.8fr 1.2fr;gap:64px}}
.booking-copy p{color:var(--on-night-2);margin-top:16px;max-width:42ch;font-size:1.125rem}
.booking-copy a{color:var(--on-night)}
.booking-copy .booking-help{display:flex;gap:12px;align-items:flex-start;margin-top:24px;font-size:1rem}
.booking-help .icon{flex:none;color:var(--sand);margin-top:2px}
.booking-slot{background:var(--paper);color:var(--ink);border-radius:24px;overflow:hidden}
.booking-card{padding:28px}
.booking-card .btn{width:100%}
.booking-slot iframe{display:block;width:100%;height:640px;border:0;background:var(--white)}
@media (max-width:640px){.booking-slot iframe{height:760px}}

/* FAQ */
.faq-grid{display:grid;gap:32px}
@media (min-width:960px){.faq-grid{grid-template-columns:.8fr 1.2fr;gap:80px}}
.faq-list summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:24px;align-items:center;padding:24px 0;font-family:var(--font-display);font-size:1.3rem;line-height:1.3;color:var(--deep);font-weight:440}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"";flex:none;width:12px;height:12px;border-right:2px solid var(--deep);border-bottom:2px solid var(--deep);transform:rotate(45deg) translate(-3px,-3px);transition:transform .25s var(--ease)}
.faq-list details[open] summary::after{transform:rotate(225deg) translate(-3px,-3px)}
.faq-list summary:hover{color:var(--deep-strong)}
.faq-list .answer{padding:0 0 26px;color:var(--ink-2);max-width:62ch}
.faq-list .answer p+p,.faq-list .answer ul{margin-top:10px}
.faq-list .answer ul{padding-left:1.2em}
@supports (interpolate-size:allow-keywords){
  .faq-list{interpolate-size:allow-keywords}
  .faq-list details::details-content{height:0;overflow:clip;transition:height .35s var(--ease),content-visibility .35s allow-discrete}
  .faq-list details[open]::details-content{height:auto}
}

/* Footer */
.site-footer{background:var(--night);color:var(--on-night-2);padding:56px 0 calc(32px + env(safe-area-inset-bottom))}
.footer-grid{display:grid;gap:40px}
@media (min-width:860px){.footer-grid{grid-template-columns:1.6fr 1fr}}
.site-footer .brand{color:var(--on-night)}
.footer-about{margin-top:18px;max-width:30ch}
.footer-title{font-family:var(--font-sans);font-size:.8125rem;letter-spacing:.14em;text-transform:uppercase;color:var(--sand);font-weight:600;margin:0 0 14px}
.site-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.site-footer a{color:var(--on-night);text-decoration:none}
.site-footer a:hover{text-decoration:underline}
.footer-base{margin-top:40px;font-size:.9rem;display:flex;flex-wrap:wrap;gap:8px 24px}

/* Plain pages (privacy policy, 404) */
.page{padding:clamp(40px,6vw,88px) 0 clamp(72px,9vw,120px)}
.page-inner{max-width:760px}
.page h1{font-size:clamp(2.3rem,1.7rem + 2.6vw,3.6rem);line-height:1.05;letter-spacing:-.02em}
.prose{color:var(--ink)}
.prose h2{font-size:1.6rem;line-height:1.25;margin:2.2em 0 .6em;scroll-margin-top:calc(var(--header-h) + 16px)}
.prose p,.prose li{overflow-wrap:anywhere}
.prose p+p{margin-top:1em}
.prose ul{padding-left:1.3em;margin:1em 0}
.prose li{margin:.3em 0}
.prose .entidad{margin-top:16px}
.prose .version{color:var(--ink-2);margin-top:6px;font-size:.98rem}
.prose .aviso{margin:20px 0 8px;padding:14px 18px;border-radius:12px;background:var(--sand-tint);border-left:4px solid var(--amber);color:var(--ink);font-weight:500}
.prose .indice{background:var(--paper-2);border-radius:14px;padding:16px 20px;margin:28px 0}
.prose .indice h2{margin:0 0 8px;font-family:var(--font-sans);font-size:.8125rem;letter-spacing:.14em;text-transform:uppercase;color:var(--amber-strong);font-weight:600}
.prose .indice ul{margin:0;padding:0;list-style:none;columns:2;column-gap:28px}
.prose .indice li{break-inside:avoid}
.prose .tabla{overflow-x:auto;margin:16px 0}
.prose table{border-collapse:collapse;width:100%;font-size:.98rem;background:var(--white)}
.prose th,.prose td{border:1px solid var(--rule);padding:10px 12px;text-align:left;vertical-align:top}
.prose thead th{background:var(--paper-2)}
.prose .ficha th{width:34%;background:var(--paper-2);font-weight:600}
@media (max-width:600px){
  .prose .indice ul{columns:1}
  .prose table:not(.ficha) thead{display:none}
  .prose table:not(.ficha) tr{display:block;border:1px solid var(--rule);border-radius:10px;margin:0 0 10px;padding:6px 0;background:var(--white)}
  .prose table:not(.ficha) td{display:block;border:0;padding:4px 12px}
  .prose table:not(.ficha) td::before{content:attr(data-label);display:block;font-size:.8rem;font-weight:600;color:var(--ink-2)}
}

/* Inner pages: breadcrumbs, service hero, facts, check lists, call-to-action card */
.crumbs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:.9rem;color:var(--ink-2);margin-bottom:22px}
.crumbs a{color:var(--ink-2)}
.crumbs a:hover{color:var(--deep)}
.crumbs [aria-current]{color:var(--ink)}
.page-hero{padding:clamp(32px,5vw,72px) 0 clamp(40px,5vw,64px)}
.page-hero h1,.svc-hero h1{font-size:clamp(2.5rem,1.7rem + 3.6vw,4.4rem);line-height:1.02;letter-spacing:-.022em;font-weight:430}
.page-hero .lead{max-width:56ch}
.svc-hero{padding:clamp(28px,4.5vw,64px) 0 clamp(56px,7vw,96px)}
.svc-hero-grid{display:grid;gap:40px;align-items:center}
@media (min-width:960px){.svc-hero-grid{grid-template-columns:1.25fr .75fr;gap:64px}}
.svc-facts{list-style:none;margin:28px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:12px}
.svc-facts li{display:flex;flex-direction:column;gap:2px;min-width:120px;padding:14px 18px;border-radius:16px;background:var(--white);border:1px solid var(--rule)}
.svc-facts strong{font-family:var(--font-display);font-weight:460;font-size:1.6rem;line-height:1.05;color:var(--deep)}
.svc-facts span{font-size:.9rem;color:var(--ink-2)}
.svc-art{position:relative;justify-self:center;width:min(78vw,340px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 50% 42%,var(--sand-tint) 0 58%,var(--paper-2) 59% 100%);display:grid;place-items:center}
.svc-art .clay{width:64%;height:auto;margin:0;object-position:center}
.svc-icon-inline{display:none}
@media (max-width:959px){.svc-art{display:none}.svc-icon-inline{display:block;width:96px;height:96px;margin:0 0 12px -6px}}
.split{display:grid;gap:32px}
@media (min-width:960px){.split{grid-template-columns:.85fr 1.15fr;gap:72px;align-items:start}}
.check-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.check-list li{display:flex;gap:14px;align-items:flex-start;padding:16px 18px;border-radius:14px;background:var(--white);border:1px solid var(--rule);color:var(--ink)}
.check-list .icon{color:var(--white);background:var(--deep);border-radius:50%;padding:4px;width:26px;height:26px;stroke-width:2.4;margin-top:1px}
@media (min-width:720px){.check-list--two{grid-template-columns:repeat(2,minmax(0,1fr))}}
.prose-lead{color:var(--ink-2);font-size:1.0625rem;max-width:58ch}
.prose-lead + .prose-lead{margin-top:14px}
.section-more{margin-top:28px}
.card-more{margin-top:16px;font-size:.95rem}
.note-box{margin-top:28px;padding:18px 22px;border-radius:14px;background:var(--sand-tint);border-left:4px solid var(--amber);color:var(--ink);max-width:860px}
.cta-card{display:grid;gap:20px;align-items:center;padding:clamp(24px,4vw,40px);border-radius:28px;background:var(--paper-2);border:1px solid var(--rule)}
@media (min-width:860px){.cta-card{grid-template-columns:1fr auto;gap:40px}}
.cta-card h2{font-size:clamp(1.7rem,1.3rem + 1.4vw,2.4rem);line-height:1.1}
.cta-card p{margin-top:10px;color:var(--ink-2)}
.cta-card .actions{margin-top:0}
.faq-group + .faq-group{margin-top:clamp(40px,5vw,64px)}
.faq-group-title{font-family:var(--font-sans);font-size:.8125rem;letter-spacing:.14em;text-transform:uppercase;color:var(--amber-strong);font-weight:600;margin:0 0 6px}
.person .person-services{margin-top:14px;padding:0;list-style:none;display:grid;gap:6px}
.person .person-services a{font-weight:600;text-decoration:none}
.person .person-services a:hover{text-decoration:underline}
.service-card h3 a{color:inherit;text-decoration:none}
.service-card h3 a:hover{text-decoration:underline;text-decoration-thickness:1px}
@media (prefers-reduced-motion:no-preference){
  .svc-art .clay,.svc-icon-inline{animation:float 6s ease-in-out infinite}
  .svc-copy > *{animation:rise .9s var(--ease) both}
  .svc-copy > :nth-child(2){animation-delay:.05s}
  .svc-copy > :nth-child(3){animation-delay:.1s}
  .svc-copy > :nth-child(4){animation-delay:.15s}
  .svc-copy > :nth-child(5){animation-delay:.2s}
  .svc-copy > :nth-child(6){animation-delay:.25s}
  .svc-copy > :nth-child(7){animation-delay:.3s}
}

/* Motion. Content is visible without JavaScript; site.js only hides what is still below the fold. */
@media (prefers-reduced-motion:no-preference){
  .arch .l-amber{animation:drift 19s var(--ease) infinite alternate}
  .arch .l-sky{animation:drift 15s var(--ease) infinite alternate-reverse}
  .arch .l-deep{animation:drift 23s var(--ease) infinite alternate}
  .arch-front path{animation:drift-wide 13s var(--ease) infinite alternate}
  .clay{animation:float 6s ease-in-out infinite}
  .service-card:nth-child(2) .clay{animation-delay:-2s}
  .service-card:nth-child(3) .clay{animation-delay:-4s}
  .service-card:hover .clay{animation-play-state:paused}
  .hero-copy > *{animation:rise .9s var(--ease) both}
  .hero-copy > :nth-child(2){animation-delay:.08s}
  .hero-copy > :nth-child(3){animation-delay:.16s}
  .hero-copy > :nth-child(4){animation-delay:.24s}
  .hero-copy > :nth-child(5){animation-delay:.32s}
  .hero-copy > :nth-child(6){animation-delay:.40s}
  .tagline-swash path{stroke-dashoffset:330;animation:draw 1.1s var(--ease) .75s forwards}
  .tagline-cursor{animation:cursor-in 1.6s var(--ease) 1.5s both}
  .tagline-cursor .ring{animation:click 1.2s ease-out 2.6s 2}
  .sea-edge .w-back{animation:sea 28s linear infinite}
  .sea-edge .w-front{animation:sea 19s linear infinite}
  .js-reveal .reveal{opacity:0;transform:translateY(22px);transition:opacity .8s var(--ease),transform .8s var(--ease);transition-delay:calc(var(--d,0) * 90ms)}
  .js-reveal .reveal.is-in{opacity:1;transform:none}
}
@keyframes drift{from{transform:translateX(-2.2px)}to{transform:translateX(2.2px)}}
@keyframes drift-wide{from{transform:translateX(-9px)}to{transform:translateX(9px)}}
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes draw{to{stroke-dashoffset:0}}
@keyframes cursor-in{from{opacity:0;transform:translate(22px,18px)}to{opacity:1;transform:none}}
@keyframes click{0%{opacity:.9;transform:scale(.4)}100%{opacity:0;transform:scale(1.8)}}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes sea{from{transform:translateX(0)}to{transform:translateX(-1440px)}}
