/* 1.2.0 refresh: slimmer sticky header, a hero that fills one screen with no dead space,
   story-style progress for the carousel and a few quiet motion touches. Loaded last. */
:root{--hh:72px;--champagne:#e4c5a2;--navy:#243650;--ease-out:cubic-bezier(.23,1,.32,1);--ease-in-out:cubic-bezier(.77,0,.175,1)}
::selection{background:#e4c5a2;color:#243650}

/* Header */
.site-header{position:sticky;top:0;height:var(--hh);transition:box-shadow .3s ease,border-color .3s ease}
.site-header.is-scrolled{box-shadow:0 6px 18px -10px #24365040;border-bottom-color:transparent}
.site-header .brand-logo{width:42px;height:42px}
.site-header .wordmark{gap:10px}
.site-header .wordmark-main{font-size:24px}
.header-actions .button-small{min-height:40px;padding:10px 18px}
.navigation{top:var(--hh)}
.button:active,.christmas-button.button:active{transform:scale(.97);transition-duration:.12s}

/* Hero stage: both slides share one screen-tall frame */
.hero-carousel{position:relative;--slide-duration:9000ms}
.hero-stage{min-height:clamp(600px,calc(100svh - var(--hh)),840px)}
.hero-slide{transition:opacity .6s var(--ease-out),visibility .6s}
.carousel-controls{display:none}

/* Progress: one bar per slide, the active one fills while it plays */
.hero-progress{position:absolute;inset:0 0 auto;z-index:5;pointer-events:none}
.hero-progress-inner{display:flex;align-items:center;gap:16px;padding-top:14px}
.carousel-tabs{flex:1;display:flex;gap:10px;pointer-events:auto}
.hero-progress .carousel-tabs button[aria-current]{color:inherit}
.carousel-tabs button{flex:1;display:flex;flex-direction:column;align-items:stretch;gap:8px;min-height:44px;padding:10px 0 6px;border:0;background:none;color:inherit;cursor:pointer;text-align:left;font:inherit}
.progress-track{display:block;height:3px;border-radius:3px;background:#faf8f238;overflow:hidden}
.progress-track i{display:block;height:100%;width:100%;background:currentColor;transform:scaleX(0);transform-origin:left;border-radius:inherit}
.carousel-tabs button.is-done .progress-track i{transform:none}
.carousel-tabs button[aria-current=true] .progress-track i{animation:progress-fill var(--slide-duration) linear forwards;animation-play-state:paused}
.hero-carousel.is-running .carousel-tabs button[aria-current=true] .progress-track i{animation-play-state:running}
.hero-carousel.is-paused .carousel-tabs button[aria-current=true] .progress-track i{animation:none;transform:none}
.progress-label{font-size:12px;letter-spacing:.02em;line-height:1.2;opacity:.62;transition:opacity .25s ease}
.carousel-tabs button[aria-current=true] .progress-label{opacity:1}
.progress-toggle{pointer-events:auto;width:40px;height:40px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;border:1px solid currentColor;border-color:color-mix(in srgb,currentColor 35%,transparent);background:none;color:inherit;cursor:pointer;transition:transform .16s var(--ease-out),background-color .2s ease}
.progress-toggle:active{transform:scale(.94)}
.progress-toggle svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.progress-toggle .icon-play{display:none;fill:currentColor;stroke:none}
.hero-carousel.is-paused .progress-toggle .icon-pause{display:none}
.hero-carousel.is-paused .progress-toggle .icon-play{display:block}
.hero-carousel[data-active="0"] .hero-progress{color:var(--champagne)}
.hero-carousel[data-active="0"] .progress-toggle{background:#243650a6}
.hero-carousel[data-active="1"] .hero-progress{color:var(--brand)}
.hero-carousel[data-active="1"] .progress-track{background:#30446526}
@keyframes progress-fill{to{transform:scaleX(1)}}

/* Christmas slide */
.christmas-slide{min-height:0;align-items:center}
.christmas-badge{display:none}
.christmas-hero-content{padding-block:92px 56px}
.christmas-background{transform-origin:70% 30%}
.christmas-slide.is-active .christmas-background{animation:photo-settle 12s var(--ease-out) both}
.christmas-price{margin-block:28px}
.christmas-price>span{max-width:96px}
.christmas-button.button{box-shadow:0 10px 26px -12px #e4c5a2a6;transition:background-color .2s ease,transform .16s var(--ease-out),box-shadow .25s ease}
.christmas-more{transition:border-color .2s ease,color .2s ease}
@media(hover:hover) and (pointer:fine){.christmas-button.button:hover{transform:translateY(-1px)}.christmas-more:hover{border-color:var(--champagne);color:#fff}}

/* Clinic slide fills the frame instead of leaving a band under it */
#clinic-slide{display:flex;flex-direction:column}
#clinic-slide .hero-inner{flex:1;min-height:0;align-items:center;padding-top:56px}
#clinic-slide .hero-copy{padding-block:24px}
#clinic-slide .eyebrow,#clinic-slide .hero-bottom{display:none}

/* Entrance each time a slide becomes active */
.hero-slide.is-active .christmas-hero-content>*,.hero-slide.is-active .hero-copy>*{animation:slide-rise .7s var(--ease-out) both}
.hero-slide.is-active .christmas-hero-content>:nth-child(3),.hero-slide.is-active .hero-copy>:nth-child(3){animation-delay:.06s}
.hero-slide.is-active .christmas-hero-content>:nth-child(4),.hero-slide.is-active .hero-copy>:nth-child(4){animation-delay:.12s}
.hero-slide.is-active .christmas-hero-content>:nth-child(5),.hero-slide.is-active .hero-copy>:nth-child(5){animation-delay:.18s}
.hero-slide.is-active .christmas-hero-content>:nth-child(6){animation-delay:.24s}
.hero-slide.is-active .hero-art{animation:photo-in .9s .05s var(--ease-out) both}
@keyframes slide-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes photo-in{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}
@keyframes photo-settle{from{transform:scale(1.07)}to{transform:none}}

/* Care strip: one quiet line that drifts on small screens */
.strip-inner{min-height:64px}

@media(max-width:1120px){.site-header .wordmark-main{font-size:22px}}
@media(max-width:900px){
 :root{--hh:64px}
 .site-header{height:var(--hh)}
 .navigation{top:var(--hh)}
 .site-header .brand-logo{width:38px;height:38px}
}
@media(max-width:680px){
 :root{--hh:60px}
 .site-header .brand-logo{width:34px;height:34px}
 .site-header .wordmark{gap:8px}
 .site-header .wordmark-main{font-size:21px}
 .header-inner{gap:6px}
 #language{padding:8px 2px}
 .menu-toggle{width:40px;padding:10px 8px}
 .hero-stage{min-height:max(580px,calc(100svh - var(--hh)))}
 .hero-progress-inner{gap:10px;padding-top:8px}
 .carousel-tabs{gap:8px}
 .carousel-tabs button{gap:6px;padding-top:8px}
 .progress-label{font-size:11px}
 .progress-toggle{width:36px;height:36px}

 /* Christmas slide: the photograph leads at the top, the offer sits on navy below */
 .christmas-slide{display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch}
 .christmas-background{width:100%;height:68%;top:0;opacity:1;object-position:72% 12%}
 .christmas-shade{background:linear-gradient(180deg,#24365099 0,#24365000 18%,#24365000 34%,#243650e6 56%,#243650 68%)}
 .christmas-hero-content{padding-block:0 26px}
 .christmas-slide h1{font-size:clamp(32px,8.8vw,44px);line-height:1.08}
 .christmas-offer{font-size:1rem;margin-top:14px;max-width:340px;line-height:1.5}
 .christmas-price{margin-block:16px 18px;gap:14px;align-items:flex-end}
 .christmas-price>span{font-size:.82rem;padding-bottom:10px}
 .christmas-price strong{font-size:68px}
 .christmas-price small{font-size:22px}
 .christmas-actions{gap:20px}
 .christmas-button.button{min-height:50px;font-size:.92rem;padding-inline:22px}
 .christmas-terms{font-size:.72rem;line-height:1.55;margin-top:16px;color:#c9d2df}

 /* Clinic slide: title, a picture that takes the free height, then the buttons */
 #clinic-slide .hero-inner{display:grid;grid-template-rows:auto auto minmax(220px,1fr) auto;align-items:stretch;gap:12px;padding-top:62px;padding-bottom:28px}
 #clinic-slide .hero-copy{padding:0}
 #clinic-slide .hero-copy h1{grid-row:1}
 #clinic-slide .hero-description{grid-row:2}
 #clinic-slide .hero-art{grid-row:3;align-self:stretch;height:auto;min-height:220px;max-height:none;margin:6px auto 4px;width:min(100%,380px)}
 #clinic-slide .hero-buttons{grid-row:4}

 /* Care strip becomes a slow marquee */
 .care-strip{overflow:hidden}
 .care-strip .strip-inner{display:flex;width:max-content;max-width:none;margin:0;min-height:52px;padding:0 22px;flex-wrap:nowrap;gap:22px;white-space:nowrap;animation:strip-drift 26s linear infinite}
 .care-strip .strip-divider{display:block;flex-shrink:0}
}
@media(max-width:680px) and (max-height:700px){
 .christmas-slide h1{font-size:clamp(30px,8.4vw,38px)}
 .christmas-offer{font-size:.92rem;margin-top:10px}
 .christmas-price{margin-block:10px 14px}
 .christmas-price strong{font-size:56px}
 .christmas-terms{margin-top:12px}
}
@keyframes strip-drift{to{transform:translateX(-50%)}}

@media(prefers-reduced-motion:reduce){
 .carousel-tabs button[aria-current=true] .progress-track i{transform:none}
 .care-strip .strip-inner{display:grid;width:auto;margin-inline:auto;white-space:normal;padding-block:18px}
 .care-strip .strip-divider{display:none}
}
.strip-clone{display:none}
@media(max-width:680px){.strip-clone{display:revert}.care-strip .strip-divider.strip-clone{display:block}}
@media(max-width:680px) and (prefers-reduced-motion:reduce){.strip-clone,.care-strip .strip-divider.strip-clone{display:none}}
html{scroll-padding-top:calc(var(--hh) + 12px)}

/* 1.3.0 — offer first on the Christmas slide: the price lives in the headline */
.christmas-slide h1 span{white-space:nowrap}
.christmas-slide .christmas-price{display:none}
.christmas-slide .christmas-offer{margin-top:20px}
.christmas-slide .christmas-actions{margin-top:30px}
@media(max-width:680px){
 .christmas-slide .christmas-offer{margin-top:14px}
 .christmas-slide .christmas-actions{margin-top:22px}
}

/* Service cards: drawn arrow instead of a glyph; two columns on phones */
.service-explore{display:inline-flex;align-items:center;gap:6px}
.service-explore svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s var(--ease-out)}
@media(hover:hover) and (pointer:fine){.services-grid .service-card:hover .service-explore svg{transform:translateX(3px)}}
.service-photo{transition:transform .6s var(--ease-out)}
@media(hover:hover) and (pointer:fine){.services-grid .service-card:hover .service-photo{transform:scale(1.03)}}
.services-grid .service-card{overflow:hidden}
@media(max-width:680px){
 .services-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:0}
 .services-grid .service-card{border:1px solid var(--line);border-radius:14px;min-height:0}
 .services-grid .service-card:active{transform:scale(.98)}
 .service-photo{aspect-ratio:4/3}
 .service-copy{padding:12px 12px 14px}
 .services-grid .service-card h3{font-size:17px;line-height:1.2;letter-spacing:-.02em;margin-bottom:6px}
 .services-grid .service-card p{font-size:12.5px;line-height:1.45;margin-bottom:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
 .service-explore{display:none}
}

/* "Como funciona" as a journey: a rail that draws with the scroll */
.process-grid{position:relative;--tp:0}
.process-grid article{border-top:0;padding-top:0;position:relative}
.process-rail{position:absolute;top:22px;left:22px;right:calc((100% - 90px) / 3 - 22px);height:2px;background:#dde3ea;border-radius:2px;overflow:hidden}
.process-rail i{display:block;width:100%;height:100%;background:var(--brand);transform:scaleX(var(--tp));transform-origin:left;transition:transform .12s linear}
.process-grid .step-number{position:relative;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--ivory);border:1.5px solid #b6c2d1;font-family:var(--sans);font-size:15px;font-weight:600;color:#62789a;margin-bottom:24px;font-variant-numeric:tabular-nums;transition:background-color .35s ease,border-color .35s ease,color .35s ease,transform .35s var(--ease-out)}
.process-grid article.is-on .step-number{background:var(--brand);border-color:var(--brand);color:var(--ivory);transform:scale(1.06)}
@media(max-width:1120px){.process-rail{right:calc((100% - 50px) / 3 - 22px)}}
@media(max-width:600px){
 .process-grid article{display:grid;grid-template-columns:44px 1fr;column-gap:20px;padding-top:0}
 .process-grid .step-number{grid-row:1/3;margin:0}
 .process-rail{top:22px;bottom:22px;left:21px;right:auto;width:2px;height:auto}
 .process-rail i{transform:scaleY(var(--tp));transform-origin:top}
}
@media(prefers-reduced-motion:reduce){.process-rail i{transform:none}}
