@font-face {
  font-family: Manrope;
  src: url("assets/manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #102842;
  --navy: #0a2442;
  --navy-mid: #13385b;
  --primary: #1164c2;
  --primary-hover: #104a97;
  --sky: #bce2ff;
  --gold: #f2cc86;
  --ice: #f0f6fc;
  --paper: #fff;
  --muted: #475c72;
  --line: #c9dae9;
  --focus: #1d73e0;
  --radius: 18px;
  --button-radius: 12px;
  --header-height: 76px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-space: clamp(64px, 7.6vw, 96px);
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-padding-top: var(--header-height);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-size: clamp(1rem, 1.28vw, 1.0625rem); line-height: 1.65; font-weight: 450; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
figure, dl, dd { margin: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { overflow-wrap: anywhere; text-wrap: balance; }
h1 { font-size: clamp(2.4375rem, 5.55vw, 4.8125rem); line-height: 1.02; font-weight: 800; letter-spacing: -.065em; }
h2 { font-size: clamp(1.9375rem, 4.2vw, 3.5625rem); line-height: 1.05; font-weight: 800; letter-spacing: -.05em; }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.625rem); line-height: 1.18; font-weight: 750; letter-spacing: -.033em; }
p { color: var(--muted); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.dark { background: var(--navy); color: var(--paper); }
.dark p { color: #d1e3f5; }
.dark :focus-visible { outline-color: var(--sky); }
.container { width: min(1200px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.skip { position: fixed; top: 8px; left: 8px; z-index: 90; transform: translateY(-140%); padding: 12px 16px; border-radius: 8px; background: var(--paper); color: var(--ink); }
.skip:focus { transform: none; }

.site-header, .policy-header { background: var(--navy); color: var(--paper); border-bottom: 1px solid #315270; }
.site-header { position: relative; z-index: 30; }
.has-js .site-header { position: fixed; inset: 0 0 auto; }
.has-js .site-header + main { padding-top: var(--header-height); }
.header-row { min-height: 75px; display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; gap: clamp(12px, 2.4vw, 28px); }
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; min-height: 48px; font-size: 1rem; font-weight: 800; line-height: 1.15; text-decoration: none; }
.brand img { flex: none; width: 64px; height: 64px; mix-blend-mode: screen; filter: grayscale(1) contrast(5); }
.brand-image { position: relative; display: block; width: 108px; height: 42px; overflow: hidden; flex: none; }
.brand .brand-image img { position: absolute; width: 142px; height: 142px; max-width: none; left: -17px; top: -50px; filter: grayscale(1) contrast(3); }
.brand small { display: block; margin-top: 4px; color: #d1e3f5; font-size: .75rem; font-weight: 650; }
.dark .brand small { color: #d1e3f5; }
.nav-panel { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.nav-panel a { display: inline-flex; align-items: center; min-height: 46px; color: var(--paper); font-weight: 700; font-size: .875rem; text-decoration: none; white-space: nowrap; }
.nav-panel a:hover { color: var(--sky); }
.header-contact { justify-self: end; }
.menu-toggle { justify-self: end; min-height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--button-radius); background: var(--paper); color: var(--ink); font-weight: 750; cursor: pointer; }
.menu-toggle:hover, .menu-toggle[aria-expanded="true"] { background: var(--ice); border-color: var(--primary); }

.button-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; max-width: 100%; border: 1px solid transparent; border-radius: var(--button-radius); padding: 12px 19px; text-decoration: none; text-align: center; font-size: .9375rem; line-height: 1.25; font-weight: 750; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.button:active { transform: translateY(1px); }
.primary { background: var(--primary); color: var(--paper); }
.primary:hover { background: var(--primary-hover); }
.secondary { color: var(--ink); background: var(--paper); border-color: var(--line); }
.secondary:hover { color: var(--primary-hover); border-color: var(--primary); background: var(--ice); }
.light { background: var(--paper); color: var(--navy); }
.light:hover { background: var(--sky); }
.dark-outline { border-color: #7397b9; color: var(--paper); }
.dark-outline:hover { background: var(--navy-mid); border-color: var(--sky); }

.hero { background: linear-gradient(90deg, rgba(5,26,48,.96) 0%, rgba(5,26,48,.91) 32%, rgba(5,26,48,.25) 72%, rgba(5,26,48,.08) 100%), url("assets/hero-robson.png") center center / cover no-repeat; }
.hero-grid { display: flex; align-items: center; min-height: 610px; padding-block: clamp(70px, 8vw, 115px); }
.hero-copy { min-width: 0; width: min(52%, 610px); }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 10px; font-size: .8125rem; line-height: 1.35; font-weight: 700; letter-spacing: .045em; margin-bottom: 18px; color: var(--sky); }
.hero-copy .eyebrow::before { content: ""; width: 28px; height: 2px; flex: none; background: var(--gold); }
.hero h1 { max-width: 12ch; text-wrap: pretty; }
.hero h1 span { color: var(--sky); }
.hero-description { max-width: 48ch; margin-top: 22px; font-size: clamp(1rem, 1.4vw, 1.125rem); font-weight: 500; }
.hero .button-row { margin-top: 30px; }
.hero-media { position: relative; border: 1px solid #7397b9; border-radius: 24px; overflow: hidden; background: var(--navy); }
.hero-media img { width: 100%; aspect-ratio: 1.21; object-fit: cover; object-position: 52% center; }
.hero-media figcaption { color: #d1e3f5; font-size: .8125rem; line-height: 1.35; font-weight: 650; padding: 13px 17px; background: var(--navy); }

.section-heading { max-width: 67ch; margin-bottom: 36px; }
.section-heading p, .contact-grid > div > p, .visit-grid > div > p { margin-top: 16px; max-width: 59ch; }
.treatments-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.treatment { min-width: 0; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.treatment-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 17px; border-radius: 16px; background: #e3f0fc; }
.treatment-icon img { width: 40px; height: 40px; object-fit: contain; }
.treatment:nth-child(-n+2) { background: var(--ice); border-color: #a9c7e1; }
.treatment p { max-width: 53ch; margin-top: 9px; }

.about { background: var(--ice); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.about-media { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.about-media img { width: 100%; height: 100%; min-height: 260px; aspect-ratio: 3 / 2; object-fit: cover; }
.about-media figcaption { padding: 13px 17px; font-size: .8125rem; font-weight: 650; color: var(--muted); }
.about-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4.6vw, 56px); border-radius: var(--radius); overflow: clip; }
.about-copy h2 { font-size: clamp(1.9375rem, 3.4vw, 3rem); }
.about-copy p { margin-top: 16px; }
.professional { margin-block: 24px; padding-top: 19px; border-top: 1px solid #7397b9; }
.professional dt { font-weight: 800; font-size: 1.16rem; }
.professional dd { color: #d1e3f5; font-size: .875rem; }
.about-copy .button { align-self: flex-start; }

.visit-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr); gap: clamp(24px, 7vw, 110px); align-items: start; }
.visit .button { margin-top: 22px; }
.visit-list { list-style: none; padding: 0; margin: 0; counter-reset: visit; }
.visit-list li { position: relative; padding: 20px 0 21px 63px; border-top: 1px solid var(--line); counter-increment: visit; }
.visit-list li::before { content: counter(visit); display: grid; place-items: center; position: absolute; top: 20px; left: 0; width: 42px; height: 42px; border-radius: 50%; color: var(--primary-hover); background: var(--ice); font-weight: 800; }
.visit-list li:last-child { border-bottom: 1px solid var(--line); }
.visit-list p { margin-top: 7px; }

.faq-section { background: var(--ice); }
.faq-container { max-width: 860px; }
.centered { text-align: center; margin-inline: auto; }
.centered p { margin-inline: auto; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.faq-list details[open] { border-color: #a9c7e1; }
.faq-list summary { list-style: none; display: flex; min-height: 57px; align-items: center; justify-content: space-between; gap: 18px; border-radius: 16px; padding: 16px 20px; font-weight: 750; line-height: 1.35; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); width: 9px; height: 9px; flex: none; margin: -4px 4px 0 0; transform: rotate(45deg); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: translateY(4px) rotate(225deg); }
.faq-list summary:hover { color: var(--primary-hover); }
.faq-answer { padding: 0 20px 20px; }
.faq-list details[open] .faq-answer { animation: faq-appear .2s ease both; }
@keyframes faq-appear { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(24px, 6vw, 88px); align-items: center; }
.contact-grid .button-row { margin-top: 25px; }
.contact-card { font-style: normal; background: var(--ice); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3.8vw, 40px); }
.contact-card dl { display: grid; gap: 16px; }
.contact-card dl > div + div { border-top: 1px solid var(--line); padding-top: 14px; }
.contact-card dt { font-size: .8125rem; font-weight: 800; color: var(--muted); }
.contact-card dd { margin-top: 4px; overflow-wrap: anywhere; font-weight: 700; }
.contact-card a { display: inline-flex; align-items: center; min-height: 44px; color: var(--primary-hover); }

.site-footer { padding-block: 45px 22px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 26px; padding-bottom: 26px; }
.footer-grid p { margin-top: 14px; }
.footer-grid nav { display: grid; align-content: start; }
.site-footer nav a, .footer-legal a { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; color: var(--paper); text-decoration: none; font-size: .9375rem; }
.site-footer a:hover { color: var(--sky); }
.social-links { display: flex; gap: 4px; align-items: center; }
.site-footer .social-links a { display: grid; place-items: center; width: 48px; min-height: 48px; border-radius: 50%; transition: background-color .2s ease, transform .2s ease; }
.social-links a:hover { background: var(--navy-mid); transform: translateY(-2px); }
.social-links img { width: 27px; height: 27px; object-fit: contain; filter: invert(1); }
.footer-legal { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 15px; border-top: 1px solid #7397b9; font-size: .8125rem; }
.footer-legal p a { display: inline; min-height: 0; font-size: inherit; }
.whatsapp-float { display: grid; place-items: center; position: fixed; z-index: 25; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); width: 64px; height: 64px; border-radius: 50%; filter: drop-shadow(0 5px 10px #10284245); transition: transform .2s ease; }
.whatsapp-float img { width: 100%; }
.whatsapp-float:hover { transform: translateY(-3px); }

.policy-header .header-row { display: flex; justify-content: space-between; }
.policy { max-width: 780px; min-height: 70vh; }
.policy > p { margin-block: 16px 36px; }
.policy section + section { margin-top: 30px; }
.policy h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
.policy section p { margin-top: 13px; }
.policy section a { color: var(--primary-hover); }
.policy > .button { margin-top: 30px; }
.policy-footer { padding-top: 20px; }

@media (max-width: 900px) {
  :root { --header-height: 68px; }
  .header-row { min-height: 67px; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 12px; }
  .header-contact { display: none; }
  .nav-panel { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 17px; }
  .has-js .nav-panel { position: absolute; inset: 100% 0 auto; padding: 8px var(--gutter) 16px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px #10284222; background: var(--navy); display: grid; gap: 0; }
  .has-js .nav-panel a { border-bottom: 1px solid var(--line); }
  .has-js .nav-panel a:last-child { border: 0; }
  .hero-grid { min-height: 590px; }
  .hero h1 { max-width: 14ch; }
  .hero-media { max-width: 720px; }
  .hero-media img { aspect-ratio: 1.55; }
  .whatsapp-float { width: 56px; height: 56px; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
}

@media (max-width: 650px) {
  .hero { background-position: center bottom; background-image: linear-gradient(180deg, rgba(5,26,48,.94) 0%, rgba(5,26,48,.88) 34%, rgba(5,26,48,.1) 70%), url("assets/hero-robson-mobile.png"); }
  .hero-grid { display: block; min-height: 790px; padding-block: 44px 340px; }
  .hero-copy { width: 100%; }
  .hero-copy .eyebrow { margin-bottom: 13px; }
  .hero-description { margin-top: 17px; }
  .hero .button-row { margin-top: 22px; }
  .treatments-grid, .about-grid, .visit-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .about-media img { min-height: 0; height: auto; }
  .section-heading { margin-bottom: 27px; }
  .footer-grid { gap: 16px; }
  .footer-legal { display: grid; }
}

@media (max-width: 360px) {
  .brand { font-size: .9375rem; gap: 8px; }
  .brand img { width: 55px; height: 55px; }
  .brand-image { width: 100px; height: 39px; }
  .brand .brand-image img { width: 132px; height: 132px; left: -16px; top: -46px; }
  .policy-header .button { padding-inline: 12px; font-size: .8125rem; }
}
