:root {
  --navy: #121f4b;
  --navy-2: #1b2d63;
  --teal: #118b8c;
  --teal-dark: #0b6d6e;
  --ink: #17213a;
  --muted: #5b6475;
  --line: #dce3e8;
  --surface: #f3f7f8;
  --surface-teal: #e7f3f2;
  --white: #fff;
  --heading: "Manrope", sans-serif;
  --body: "Source Sans 3", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--body); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { color: var(--navy); font-family: var(--heading); font-weight: 700; letter-spacing: -.035em; line-height: 1.13; }
h1 { font-size: clamp(2.35rem, 5vw, 4.65rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 3rem); }
h3 { font-size: 1.3rem; }
p { max-width: 72ch; }
a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
img { max-width: 100%; }
button, .btn, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #e0a82e !important; outline-offset: 3px; }
::selection { color: var(--white); background: var(--teal-dark); }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; flex: 0 0 auto; vertical-align: -.2em; }
.skip-link { position: fixed; z-index: 1100; top: 8px; left: 8px; padding: 10px 16px; color: var(--white); background: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.container { max-width: 1220px; }
.container.narrow, .narrow { max-width: 820px; }
.section { padding: 80px 0; }
.section-sm { padding: 52px 0; }
.section-surface { background: var(--surface); }
.section-navy { color: #e9edf7; background: var(--navy); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: #e9edf7; }
.eyebrow { margin-bottom: 14px; color: var(--teal-dark); font-family: var(--heading); font-size: .77rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-navy .eyebrow, .hero-copy .eyebrow { color: #8bd4cf; }
.lead { color: var(--muted); font-size: 1.2rem; line-height: 1.55; }
.section-navy .lead { color: #e9edf7; }
.text-muted { color: var(--muted) !important; }
.small { font-size: .89rem; }

.utility-bar { padding: 5px 0; color: #eaf0ff; background: var(--navy); font-family: var(--heading); font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.site-header { position: relative; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); }
.navbar { min-height: 82px; padding: 8px 0; }
.navbar-brand { display: flex; align-items: center; margin-right: 24px; }
.navbar-brand img { display: block; width: 128px; height: 62px; object-fit: contain; }
.navbar-toggler { width: 48px; height: 46px; padding: 10px; border: 1px solid var(--line); border-radius: 3px; }
.navbar-toggler span { display: block; width: 23px; height: 2px; margin: 5px auto; background: var(--navy); }
.navbar-nav { gap: 2px; }
.nav-link { padding: 10px 11px !important; color: var(--ink); font-family: var(--heading); font-size: .82rem; font-weight: 600; }
.nav-link:hover, .nav-link.active { color: var(--teal-dark); }
.nav-link.active { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.btn { min-height: 46px; padding: 11px 20px; border-radius: 3px; font-family: var(--heading); font-size: .86rem; font-weight: 700; transition: color .2s ease-out, background-color .2s ease-out, border-color .2s ease-out, transform .2s ease-out; }
.btn .icon { margin-right: 6px; }
.btn-brand { color: var(--white); background: var(--navy); border: 1px solid var(--navy); }
.btn-brand:hover, .btn-brand:active { color: var(--white); background: var(--navy-2); border-color: var(--navy-2); transform: translateY(-1px); }
.btn-teal { color: var(--white); background: var(--teal-dark); border: 1px solid var(--teal-dark); }
.btn-teal:hover { color: var(--white); background: #075b5c; border-color: #075b5c; }
.btn-light { color: var(--navy); background: var(--white); border: 1px solid var(--white); }
.btn-light:hover { color: var(--navy); background: #e8f4f3; border-color: #e8f4f3; }
.btn-outline-brand { color: var(--navy); background: transparent; border: 1px solid #b8c2d5; }
.btn-outline-brand:hover { color: var(--white); background: var(--navy); border-color: var(--navy); }
.btn-outline-teal { color: var(--teal-dark); border: 1px solid var(--teal-dark); }
.btn-outline-teal:hover { color: var(--white); background: var(--teal-dark); }
.btn-link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--navy); font-family: var(--heading); font-weight: 700; text-decoration: none; }
.btn-link-arrow .icon { transition: transform .2s ease-out; }
.btn-link-arrow:hover .icon, .btn .icon-arrow:last-child { transform: translateX(3px); }
.btn-account { display: inline-flex; align-items: center; white-space: nowrap; }

.hero { display: grid; min-height: 640px; background: var(--surface); }
.hero-copy { display: flex; align-items: center; padding: 70px max(24px, calc((100vw - 1220px) / 2 + 12px)); color: var(--white); background: var(--navy); }
.hero-copy h1 { max-width: 650px; color: var(--white); }
.hero-copy p:not(.eyebrow) { max-width: 570px; color: #e8edf8; font-size: 1.23rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 25px; font-size: .92rem !important; }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 390px; padding: 44px; overflow: hidden; }
.hero-visual::before { position: absolute; width: 420px; height: 420px; border: 1px solid #c8dddc; border-radius: 50%; content: ""; }
.hero-visual img { position: relative; width: min(100%, 650px); border-radius: 3px; mix-blend-mode: multiply; }
.hero-stamp { position: absolute; right: 7%; bottom: 8%; width: 148px; padding: 17px; color: var(--white); background: var(--teal-dark); }
.hero-stamp strong { display: block; font-family: var(--heading); font-size: 1.7rem; line-height: 1; }
.hero-stamp span { font-size: .8rem; }

.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.intro-grid h2 { margin: 0; }
.intro-grid .lead { margin-top: 0; }
.value-lines { margin-top: 34px; border-top: 1px solid var(--line); }
.value-line { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.value-line .icon { color: var(--teal-dark); }
.value-line h3 { margin-bottom: 5px; }
.value-line p { margin: 0; color: var(--muted); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-heading h2 { margin-bottom: 0; }
.specialty-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.specialty-tile { position: relative; min-height: 210px; padding: 28px; color: var(--ink); background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color .2s ease-out; }
.specialty-tile:hover { color: var(--ink); background: var(--surface-teal); }
.specialty-tile > .icon { margin-bottom: 28px; color: var(--teal-dark); }
.specialty-tile h3 { margin-bottom: 9px; }
.specialty-tile p { margin: 0; color: var(--muted); font-size: .94rem; }
.specialty-tile .tile-arrow { position: absolute; top: 28px; right: 28px; color: var(--navy); transition: transform .2s ease-out; }
.specialty-tile:hover .tile-arrow { transform: translateX(4px); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { position: relative; padding: 0 28px 0 0; }
.step-number { display: block; margin-bottom: 32px; color: var(--teal-dark); font-family: var(--heading); font-size: .83rem; font-weight: 800; letter-spacing: .1em; }
.step h3 { font-size: 1.12rem; }
.step p { color: var(--muted); font-size: .95rem; }
.step::after { position: absolute; top: 8px; right: 20px; width: 30%; height: 1px; background: var(--line); content: ""; }
.step:last-child::after { display: none; }
.image-split { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 480px; }
.image-split > img { width: 100%; height: 100%; object-fit: cover; }
.image-split-content { display: flex; flex-direction: column; justify-content: center; padding: 64px; background: var(--surface); }
.image-split-content h2 { margin-bottom: 22px; }
.check-list { padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; margin: 12px 0; }
.check-list .icon { margin-top: 5px; color: var(--teal-dark); }
.cta-band { padding: 54px 0; color: var(--white); background: var(--teal-dark); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { margin: 0; color: var(--white); font-size: clamp(1.6rem, 3vw, 2.4rem); }

.page-hero { padding: 64px 0 56px; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; margin-bottom: 18px; font-size: clamp(2.2rem, 4.5vw, 3.9rem); }
.page-hero .lead { max-width: 730px; margin: 0; }
.breadcrumb { margin-bottom: 24px; font-size: .85rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb-item.active { color: var(--navy); }
.filter-bar { display: flex; align-items: end; gap: 14px; margin-bottom: 32px; padding: 20px; background: var(--surface); }
.filter-bar .field { flex: 1; }
.form-label { color: var(--navy); font-family: var(--heading); font-size: .84rem; font-weight: 700; }
.form-control, .form-select { min-height: 48px; padding: 10px 13px; border: 1px solid #bfc9d2; border-radius: 3px; font-family: var(--body); font-size: 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--teal-dark); box-shadow: 0 0 0 .2rem rgba(17, 139, 140, .13); }
.form-check-input:checked { background-color: var(--teal-dark); border-color: var(--teal-dark); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(17, 139, 140, .13); }
.required { color: #a02c3b; }

.treatment-list { border-top: 1px solid var(--line); }
.treatment-row { display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; padding: 25px 0; border-bottom: 1px solid var(--line); }
.treatment-row h2, .treatment-row h3 { margin-bottom: 6px; font-size: 1.18rem; }
.treatment-row p { margin: 0; color: var(--muted); font-size: .94rem; }
.treatment-price { color: var(--navy); font-family: var(--heading); font-size: 1.35rem; font-weight: 800; white-space: nowrap; }
.treatment-price small { display: block; color: var(--muted); font-family: var(--body); font-size: .72rem; font-weight: 400; text-align: right; }
.empty-state { padding: 44px; text-align: center; background: var(--surface); border: 1px dashed #b8c5ce; }
.empty-state .icon { margin-bottom: 12px; color: var(--teal-dark); }

.professional-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.professional-card { padding: 28px; border: 1px solid var(--line); border-radius: 3px; transition: border-color .2s ease-out, transform .2s ease-out; }
.professional-card:hover { border-color: #96b4b5; transform: translateY(-2px); }
.professional-head { display: flex; gap: 18px; align-items: center; margin-bottom: 20px; }
.professional-avatar { display: flex; flex: 0 0 58px; align-items: center; justify-content: center; width: 58px; height: 58px; color: var(--navy); background: var(--surface-teal); border-radius: 50%; font-family: var(--heading); font-weight: 800; }
.professional-head h2, .professional-head h3 { margin: 0 0 3px; font-size: 1.15rem; }
.professional-specialty { color: var(--teal-dark); font-size: .89rem; }
.professional-meta { padding-top: 16px; border-top: 1px solid var(--line); }
.professional-meta p { display: flex; gap: 10px; margin: 8px 0; color: var(--muted); font-size: .92rem; }
.professional-meta .icon { margin-top: 4px; color: var(--teal-dark); }
.professional-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.professional-actions .btn { min-height: 42px; padding: 8px 13px; font-size: .78rem; }
.profile-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; }
.profile-aside { padding: 30px; background: var(--surface); }
.profile-aside .professional-avatar { width: 80px; height: 80px; margin-bottom: 20px; font-size: 1.5rem; }

.auth-section { padding: 64px 0 80px; background: var(--surface); }
.auth-layout { display: grid; grid-template-columns: .9fr 1.1fr; max-width: 1050px; margin: auto; background: var(--white); border: 1px solid var(--line); }
.auth-intro { padding: 50px; color: #e9edf7; background: var(--navy); }
.auth-intro h1 { color: var(--white); font-size: 2.5rem; }
.auth-intro p { color: #e9edf7; }
.auth-intro .check-list { margin-top: 32px; }
.auth-intro .check-list .icon { color: #8bd4cf; }
.auth-form { padding: 50px; }
.auth-form h2 { font-size: 1.7rem; }
.auth-form .btn { width: 100%; }
.auth-switch { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; }
.demo-credentials { margin-top: 22px; padding: 14px; color: var(--navy); background: var(--surface-teal); font-size: .86rem; }

.purchase-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: start; }
.purchase-summary { padding: 30px; background: var(--surface); border-top: 3px solid var(--teal-dark); }
.purchase-summary h2 { font-size: 1.4rem; }
.purchase-summary .price-large { margin: 22px 0; color: var(--navy); font-family: var(--heading); font-size: 2.5rem; font-weight: 800; }
.summary-list { margin: 24px 0 0; }
.summary-list div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px solid var(--line); }
.summary-list dt { color: var(--muted); font-weight: 400; }
.summary-list dd { margin: 0; font-weight: 600; text-align: right; }
.payment-box { padding: 34px; border: 1px solid var(--line); }
.test-banner { display: flex; gap: 12px; padding: 16px; color: var(--navy); background: #fff6d9; border: 1px solid #ead595; font-size: .94rem; }
.secure-note { display: flex; gap: 8px; align-items: center; margin-top: 18px; color: var(--muted); font-size: .86rem; }

.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 44px; }
.account-nav { border-top: 1px solid var(--line); }
.account-nav a { display: flex; gap: 10px; align-items: center; min-height: 49px; padding: 11px 5px; color: var(--ink); border-bottom: 1px solid var(--line); font-family: var(--heading); font-size: .87rem; font-weight: 600; text-decoration: none; }
.account-nav a:hover, .account-nav a.active { color: var(--teal-dark); }
.account-nav a.active { padding-left: 12px; background: var(--surface-teal); }
.account-welcome { margin-bottom: 30px; }
.account-welcome h1 { margin-bottom: 8px; font-size: 2.3rem; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 36px; }
.stat { padding: 22px; background: var(--surface); }
.stat strong { display: block; color: var(--navy); font-family: var(--heading); font-size: 2rem; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .86rem; }
.voucher-list { display: grid; gap: 16px; }
.voucher-item { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 24px; border: 1px solid var(--line); }
.voucher-item h2, .voucher-item h3 { margin-bottom: 5px; font-size: 1.15rem; }
.voucher-code { color: var(--navy); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .94rem; font-weight: 700; letter-spacing: .04em; }
.badge { padding: 6px 10px; border-radius: 2px; font-family: var(--heading); font-size: .7rem; font-weight: 700; }
.voucher-detail { display: grid; grid-template-columns: 1fr 280px; gap: 35px; padding: 34px; border: 1px solid #b8c5ce; border-radius: 3px; }
.voucher-detail h1 { font-size: 2rem; }
.voucher-main > .voucher-code { display: inline-block; margin: 18px 0; padding: 12px 16px; background: var(--surface); font-size: 1.12rem; }
.qr-box { align-self: center; padding: 18px; text-align: center; background: var(--white); border: 1px solid var(--line); }
.qr-box img, .qr-box canvas { display: block; margin: 0 auto 10px; max-width: 100%; }
.qr-box p { margin: 8px 0 0; color: var(--muted); font-size: .8rem; }
.voucher-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }

.logout-form { margin: 0; }
.account-logout { display: flex; gap: 10px; align-items: center; width: 100%; min-height: 49px; padding: 11px 5px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); font-family: var(--heading); font-size: .87rem; font-weight: 600; text-align: left; }
.account-logout:hover { color: #9b2938; }
.section-navy .step p { color: #e9edf7; }
.section-navy .step-number { color: #8bd4cf; }
.site-footer { padding: 65px 0 20px; color: #d8e0ef; background: var(--navy); }
.footer-top { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; padding-bottom: 50px; }
.footer-wordmark { color: var(--white); font-family: var(--heading); font-size: 2.1rem; font-weight: 800; letter-spacing: -.06em; text-decoration: none; }
.footer-wordmark:hover { color: var(--white); }
.footer-wordmark span { color: #8bd4cf; }
.footer-brand p { max-width: 330px; margin-top: 20px; color: #d8e0ef; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.footer-links h2 { margin-bottom: 18px; color: var(--white); font-size: .8rem; letter-spacing: .04em; }
.footer-links a { display: block; margin: 8px 0; color: #d8e0ef; font-size: .9rem; text-decoration: none; }
.footer-links a:hover { color: #8bd4cf; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid #344165; font-size: .76rem; }
.flash-container { position: relative; z-index: 5; margin-top: 18px; }
.alert { border-radius: 3px; font-size: .95rem; }
.legal-content h2 { margin-top: 38px; font-size: 1.45rem; }
.legal-content h3 { margin-top: 25px; font-size: 1.1rem; }
.legal-content li { margin-bottom: 8px; }

@media (min-width: 992px) {
  .hero { grid-template-columns: 54% 46%; }
}
@media (max-width: 1199px) {
  .nav-link { padding: 10px 8px !important; font-size: .77rem; }
  .btn-account { padding: 9px 12px; font-size: .76rem; }
}
@media (max-width: 991px) {
  .navbar-collapse { padding: 15px 0 22px; }
  .nav-link { min-height: 45px; font-size: .9rem; }
  .btn-account { width: 100%; justify-content: center; }
  .hero-copy { padding: 64px 32px; }
  .hero-visual { min-height: 420px; }
  .intro-grid, .profile-layout { grid-template-columns: 1fr; gap: 30px; }
  .specialty-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .step::after { display: none; }
  .image-split-content { padding: 45px; }
  .auth-layout { margin: 0 20px; }
  .auth-intro, .auth-form { padding: 38px; }
  .purchase-layout { grid-template-columns: 1fr; gap: 25px; }
  .account-layout { grid-template-columns: 1fr; gap: 30px; }
  .account-nav { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
  .account-nav a { padding: 10px 13px; border: 1px solid var(--line); }
  .account-nav a.active { padding-left: 13px; }
}
@media (max-width: 767px) {
  body { font-size: 17px; }
  .section { padding: 58px 0; }
  .section-sm { padding: 40px 0; }
  .page-hero { padding: 44px 0; }
  .hero-copy { padding: 52px 24px; }
  .hero-copy h1 { font-size: 2.55rem; }
  .hero-visual { min-height: 320px; padding: 24px; }
  .hero-visual::before { width: 280px; height: 280px; }
  .hero-stamp { right: 5%; bottom: 5%; width: 125px; padding: 12px; }
  .section-heading { display: block; }
  .section-heading .btn-link-arrow { margin-top: 15px; }
  .image-split { grid-template-columns: 1fr; }
  .image-split > img { max-height: 360px; }
  .image-split-content { padding: 36px 24px; }
  .cta-band .container { display: block; }
  .cta-band .btn { margin-top: 22px; }
  .filter-bar { display: block; }
  .filter-bar .btn { width: 100%; margin-top: 12px; }
  .treatment-row { grid-template-columns: 1fr auto; gap: 16px; }
  .treatment-row > :first-child { grid-column: 1 / -1; }
  .professional-grid { grid-template-columns: 1fr; }
  .auth-layout { grid-template-columns: 1fr; margin: 0; }
  .auth-intro { padding: 34px 26px; }
  .auth-form { padding: 34px 26px; }
  .voucher-detail { grid-template-columns: 1fr; padding: 24px; }
  .qr-box { width: 260px; max-width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { gap: 15px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 6px; }
}
@media (max-width: 575px) {
  .specialty-grid { grid-template-columns: 1fr; }
  .specialty-tile { min-height: 175px; }
  .steps { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .treatment-row { grid-template-columns: 1fr; }
  .treatment-price small { text-align: left; }
  .treatment-row .btn { width: 100%; }
  .professional-card { padding: 21px; }
  .stat-row { grid-template-columns: 1fr; }
  .voucher-item { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-links > div:last-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media print {
  .site-header, .site-footer, .account-nav, .voucher-actions, .flash-container, .page-hero, .no-print { display: none !important; }
  body { color: #000; background: #fff; font-size: 12pt; }
  .section { padding: 0; }
  .account-layout { display: block; }
  .voucher-detail { display: grid; grid-template-columns: 1fr 240px; border: 2px solid #121f4b; }
  .voucher-detail h1 { color: #121f4b; }
}
