:root {
  --horizon: #A9D5DE;
  --cocoa: #563B32;
  --mineral: #BD8580;
  --champagne: #D0A55B;
  --ivory: #F7F0E7;
  --white: #fffdf9;
  --muted: #765f57;
  --line: #dfcec2;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--cocoa); background: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ivory); padding: 10px; z-index: 99; }
.skip:focus { left: 8px; }

.topbar { height: 88px; display: flex; align-items: center; gap: 34px; padding: 0 clamp(22px,5vw,76px); border-bottom: 1px solid rgba(86,59,50,.18); background: rgba(247,240,231,.95); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 43px; height: 25px; border: 2px solid var(--champagne); border-radius: 50%; position: relative; background: var(--ivory); }
.brand-mark:before { content: "EC"; position: absolute; inset: 0; display: grid; place-items: center; font: 600 12px/1 var(--serif); color: var(--cocoa); }
.brand-mark:after { content: ""; position: absolute; width: 5px; height: 5px; background: var(--mineral); border-radius: 50%; top: -6px; right: -5px; }
.brand strong { font-family: var(--serif); font-size: 1.22rem; display: block; line-height: 1.15; font-weight: 600; }
.brand small { font-size: .69rem; color: var(--muted); letter-spacing: .04em; }
nav { display: flex; gap: 26px; }
nav a { text-decoration: none; font-size: .92rem; font-weight: 600; }
.language-picker select { border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--cocoa); padding: 9px 28px 9px 12px; font: 600 .82rem var(--sans); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

.button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: var(--cocoa); color: var(--ivory); text-decoration: none; font-weight: 700; padding: 14px 22px; cursor: pointer; transition: .2s ease; }
.button:hover, .button:focus-visible { background: #402b24; transform: translateY(-1px); }
.button-small { padding: 11px 18px; font-size: .9rem; }

.hero { min-height: 670px; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(340px,.75fr); background: var(--horizon); overflow: hidden; position: relative; }
.hero:before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(247,240,231,.38); top: -210px; left: -120px; pointer-events: none; }
.hero-copy { align-self: center; padding: 80px clamp(28px,7vw,110px); position: relative; z-index: 1; }
.eyebrow { text-transform: uppercase; letter-spacing: .19em; font-size: .73rem; font-weight: 700; color: var(--mineral); margin: 0 0 18px; }
.hero .eyebrow { color: var(--cocoa); }
.hero h1 { font-family: var(--serif); font-size: clamp(2.9rem,5.4vw,5.5rem); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; max-width: 900px; margin: 0; }
.lead { font-size: 1.18rem; color: #624b44; max-width: 650px; margin: 28px 0; }
.actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.text-link { text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--cocoa); }
.trust-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.trust-row span { border: 1px solid rgba(86,59,50,.3); background: rgba(247,240,231,.48); padding: 7px 11px; font-size: .78rem; font-weight: 600; }
.portrait-wrap { margin: 0; position: relative; min-height: 620px; background: var(--ivory); }
.portrait-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.portrait-wrap figcaption { position: absolute; bottom: 26px; left: 26px; right: 26px; background: rgba(247,240,231,.94); color: var(--cocoa); padding: 17px 20px; border-left: 4px solid var(--champagne); box-shadow: 0 10px 35px rgba(86,59,50,.12); }
.portrait-wrap strong, .portrait-wrap span { display: block; }
.portrait-wrap strong { font-family: var(--serif); font-size: 1.25rem; }
.portrait-wrap span { font-size: .82rem; color: var(--muted); }

.intro { background: var(--ivory); color: var(--cocoa); padding: 52px clamp(28px,12vw,190px); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.intro:after { content: ""; position: absolute; width: 260px; height: 260px; background: rgba(169,213,222,.38); border: 1px solid rgba(208,165,91,.42); border-radius: 50%; right: -70px; top: -130px; }
.intro p { font-family: var(--serif); font-size: clamp(1.45rem,2.8vw,2.35rem); line-height: 1.45; margin: 0; max-width: 1100px; position: relative; z-index: 1; }
.section { padding: 100px clamp(28px,7vw,110px); }
.section-head { display: grid; grid-template-columns: .65fr 1.2fr .8fr; gap: 30px; align-items: end; margin-bottom: 52px; }
.section-head h2, .about h2, .location h2, .medical-note h2 { font-family: var(--serif); font-size: clamp(2.2rem,4vw,4rem); font-weight: 500; line-height: 1.1; margin: 0; }
.section-head p:last-child { color: var(--muted); margin: 0; }

.service-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid article, .service-card { padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 250px; transition: background .2s ease; }
.service-card { display:block; text-decoration:none; }
.service-card:nth-child(2), .service-card:nth-child(6) { background: rgba(169,213,222,.22); }
.service-card:nth-child(4) { background: rgba(189,133,128,.12); }
.service-card:hover { background: var(--ivory); }
.service-card > strong { display:inline-block; margin-top:18px; font-size:.82rem; border-bottom:1px solid var(--cocoa); }
.service-grid .num { font-size: .75rem; color: var(--mineral); font-weight: 700; }
.service-grid h3, .step-grid h3 { font-family: var(--serif); font-size: 1.65rem; margin: 28px 0 10px; }
.service-grid p, .step-grid p { color: var(--muted); margin: 0; }
.service-priority { position: relative; background: rgba(169,213,222,.32) !important; border-top: 4px solid var(--champagne); }
.service-priority:hover { background: rgba(247,240,231,.9) !important; }
.service-badge { display: inline-block; margin: 0 0 18px; padding: 5px 9px; border-radius: 999px; background: var(--cocoa); color: var(--ivory); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.service-priority .num { float: right; margin-top: 5px; }
.service-priority h3 { clear: both; margin-top: 8px; }

.about { display: grid; grid-template-columns: 1.6fr .65fr; gap: 70px; background: var(--ivory); padding: 100px clamp(28px,8vw,130px); }
.about-card > p { max-width: 780px; }
.about-card ul { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid var(--line); }
.about-card li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.about-card li:before { content: "✓"; color: var(--mineral); margin-right: 12px; font-weight: 700; }
.credentials { background: var(--horizon); color: var(--cocoa); padding: 38px; align-self: start; border-bottom: 5px solid var(--champagne); box-shadow: 0 18px 50px rgba(86,59,50,.08); }
.credentials span { font-size: .75rem; text-transform: uppercase; letter-spacing: .13em; color: var(--cocoa); }
.credentials strong { font-family: var(--serif); display: block; font-size: 2rem; line-height: 1.2; margin-top: 8px; }
.credentials hr { border: 0; border-top: 1px solid rgba(86,59,50,.2); margin: 28px 0; }

.step-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.step-grid article { padding: 30px; background: var(--ivory); border-top: 3px solid var(--champagne); }
.step-grid article:nth-child(2) { border-top-color: var(--horizon); }
.step-grid article:nth-child(3) { border-top-color: var(--mineral); }
.step-grid b { font-size: .8rem; }
.step-grid h3 { margin-top: 20px; }

.location { padding: 80px clamp(28px,8vw,130px); background: var(--horizon); color: var(--cocoa); display: flex; align-items: end; justify-content: space-between; gap: 40px; border-top: 8px solid var(--ivory); }
.eyebrow.light { color: var(--mineral); }
.location p { color: #654e46; }
.location-actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.button-light { background: var(--cocoa); color: var(--ivory); }
.button-light:hover { background: #422c25; }
.location-actions > a:last-child { color: var(--cocoa); font-weight: 700; }
.medical-note { padding: 60px clamp(28px,8vw,130px); max-width: 1100px; }
.medical-note h2 { font-size: 1.8rem; }
.medical-note p { color: var(--muted); }

footer { padding: 38px clamp(28px,7vw,110px); background: var(--ivory); color: var(--cocoa); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--line); }
footer strong { font-family: var(--serif); font-size: 1.3rem; }
footer p { font-size: .8rem; color: var(--muted); }
footer > div:nth-child(2) { display: flex; gap: 20px; justify-content: flex-end; flex-wrap: wrap; }
footer a, .footer-link { font: inherit; font-size: .82rem; color: var(--cocoa); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.source-note { grid-column: 1/-1; border-top: 1px solid var(--line); padding-top: 16px; margin: 0; }

.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cocoa); filter: drop-shadow(0 10px 20px rgba(86,59,50,.23)); }
.wa-float svg { width: 58px; height: 58px; padding: 14px; border-radius: 50%; background: var(--horizon); fill: var(--cocoa); border: 2px solid var(--ivory); transition: transform .2s ease, background .2s ease; }
.wa-label { background: var(--ivory); border: 1px solid var(--line); border-radius: 999px; padding: 10px 15px; font-size: .82rem; font-weight: 700; }
.wa-float:hover svg, .wa-float:focus-visible svg { transform: translateY(-2px) scale(1.04); background: #c1e4ea; }

dialog { max-width: 620px; border: 0; border-radius: 12px; padding: 30px; color: var(--cocoa); background: var(--ivory); box-shadow: 0 30px 80px rgba(86,59,50,.25); }
dialog::backdrop { background: rgba(66,44,37,.72); }
.dialog-head { display: flex; justify-content: space-between; gap: 20px; }
.dialog-head h2 { font-family: var(--serif); font-size: 2rem; margin: 0; }
.dialog-head button { font-size: 2rem; border: 0; background: none; cursor: pointer; color: var(--cocoa); }
dialog p { color: var(--muted); }

.legal-hero { padding: 72px clamp(24px,9vw,140px) 58px; background: var(--horizon); }
.legal-hero .eyebrow { color: var(--cocoa); }
.legal-hero h1 { max-width: 900px; margin: 0; font: 500 clamp(2.6rem,5vw,5rem)/1.05 var(--serif); letter-spacing: -.03em; }
.legal-hero p { max-width: 760px; color: #654e46; font-size: 1.08rem; }
.legal-layout { display: grid; grid-template-columns: minmax(190px,.35fr) minmax(0,1fr); gap: clamp(34px,7vw,100px); padding: 72px clamp(24px,9vw,140px) 100px; }
.legal-nav { align-self: start; position: sticky; top: 112px; display: grid; gap: 9px; padding: 22px; background: var(--ivory); border: 1px solid var(--line); }
.legal-nav strong { font-family: var(--serif); font-size: 1.2rem; }
.legal-nav a { font-size: .9rem; }
.legal-content { max-width: 850px; }
.legal-content h2 { margin: 48px 0 14px; font: 500 2rem/1.2 var(--serif); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 28px 0 8px; font-size: 1.06rem; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content li { margin-bottom: 8px; }
.legal-note { padding: 20px 22px; background: rgba(169,213,222,.22); border-left: 4px solid var(--champagne); }
.legal-contact { margin-top: 42px; padding: 28px; background: var(--ivory); border: 1px solid var(--line); }
.service-hero { padding: 78px clamp(24px,9vw,140px) 66px; background: linear-gradient(135deg,var(--horizon),var(--ivory)); }
.breadcrumbs { font-size:.82rem; margin-bottom:30px; }
.service-hero h1 { max-width:900px; margin:0; font:500 clamp(2.7rem,5vw,5rem)/1.06 var(--serif); }
.service-hero .lead { max-width:780px; }
.service-layout { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:70px; padding:76px clamp(24px,9vw,140px); }
.service-content h2 { margin:48px 0 14px; font:500 2.15rem/1.2 var(--serif); }
.service-content h2:first-child { margin-top:0; }
.service-content h3 { margin-top:26px; }
.service-content p,.service-content li { color:var(--muted); }
.service-content li { margin-bottom:9px; }
.service-aside { align-self:start; position:sticky; top:110px; padding:30px; background:var(--ivory); border-top:4px solid var(--champagne); }
.service-aside h2 { font:500 1.65rem/1.2 var(--serif); }
.service-aside .button { width:100%; text-align:center; }
.service-links { padding:60px clamp(24px,9vw,140px); background:rgba(169,213,222,.22); }
.service-links h2 { font:500 2rem/1.2 var(--serif); }
.service-links div { display:flex; flex-wrap:wrap; gap:12px; }
.service-links a { padding:10px 14px; border:1px solid var(--line); background:var(--white); text-decoration:none; font-weight:600; }

.cookie-banner { position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 80; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 20px 22px; background: var(--ivory); color: var(--cocoa); border: 1px solid var(--line); box-shadow: 0 18px 55px rgba(86,59,50,.22); }
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { font-family: var(--serif); font-size: 1.25rem; }
.cookie-banner p { margin: 3px 0; max-width: 720px; color: var(--muted); font-size: .9rem; }
.cookie-banner a { font-size: .82rem; }
.cookie-actions, .cookie-dialog-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.cookie-primary, .cookie-secondary { border-radius: 999px; padding: 11px 16px; font: 700 .82rem var(--sans); cursor: pointer; }
.cookie-primary { border: 1px solid var(--cocoa); background: var(--cocoa); color: var(--ivory); }
.cookie-secondary { border: 1px solid var(--line); background: var(--white); color: var(--cocoa); }
.cookie-dialog { width: min(640px,calc(100% - 28px)); }
.cookie-dialog .eyebrow { margin-bottom: 4px; }
.cookie-option { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 17px 0; border-top: 1px solid var(--line); cursor: pointer; }
.cookie-option span, .cookie-option small { display: block; }
.cookie-option small { margin-top: 3px; color: var(--muted); }
.cookie-option input { width: 21px; height: 21px; accent-color: var(--cocoa); }
.cookie-dialog-actions { justify-content: flex-end; margin-top: 22px; }

@media (max-width: 900px) {
  .topbar { height: 74px; }
  .topbar nav, .topbar > .button { display: none; }
  .language-picker { margin-left:auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 60px 28px; }
  .portrait-wrap { min-height: 560px; }
  .section-head { grid-template-columns: 1fr; gap: 10px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; gap: 35px; }
  .credentials { max-width: 400px; }
  .location { align-items: flex-start; flex-direction: column; }
  .wa-float { right: 16px; bottom: 16px; }
  .legal-layout { grid-template-columns: 1fr; }
  .service-layout { grid-template-columns:1fr; gap:40px; }
  .service-aside { position:static; }
  .legal-nav { position: static; }
  .cookie-banner { align-items: flex-start; flex-direction: column; gap: 14px; }
}

@media (max-width: 580px) {
  .brand small { display: none; }
  .hero h1 { font-size: 2.75rem; }
  .portrait-wrap { min-height: 500px; }
  .service-grid, .step-grid { grid-template-columns: 1fr; }
  .section, .about { padding: 70px 22px; }
  .service-grid article { min-height: auto; }
  .location { padding: 70px 22px; }
  footer { grid-template-columns: 1fr; padding-bottom: 98px; }
  footer > div:nth-child(2) { justify-content: flex-start; }
  .trust-row span { font-size: .7rem; }
  .wa-label { display: none; }
  .wa-float svg { width: 60px; height: 60px; }
  .legal-hero { padding-top: 54px; }
  .legal-layout { padding-top: 48px; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
  .cookie-actions { width: 100%; }
  .cookie-actions button { flex: 1 1 130px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .service-grid article, .wa-float svg { transition: none; }
}
