:root {
  --ink: #102b27;
  --ink-2: #16443e;
  --teal: #14c99b;
  --teal-dark: #08a981;
  --teal-soft: #d9f8ef;
  --cream: #f6f7f3;
  --line: #dfe7e3;
  --muted: #637570;
  --white: #fff;
  --danger: #c93e4a;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--cream); }
body { margin: 0; min-width: 320px; background: var(--cream); }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.page-width { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; padding: 14px 0; background: rgba(246, 247, 243, .92); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(16, 43, 39, .06); }
.header-inner { width: min(1240px, calc(100% - 48px)); min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { display: grid; width: 46px; height: 46px; place-items: center; overflow: hidden; border-radius: 14px; background: var(--ink); }
.brand-mark img { width: 31px; height: 31px; object-fit: contain; }
.brand strong, .brand small { display: block; line-height: .9; letter-spacing: -.05em; }
.brand strong { font-family: "Manrope", sans-serif; font-size: 16px; font-weight: 800; }
.brand small { margin-top: 5px; color: var(--teal-dark); font-size: 13px; font-weight: 800; }
.pill-nav { display: flex; align-items: center; justify-content: center; gap: 1px; padding: 5px; border: 1px solid rgba(16, 43, 39, .08); border-radius: 999px; background: var(--white); }
.pill-nav a { padding: 9px 11px; border-radius: 999px; color: #45615b; font-size: 12px; font-weight: 700; white-space: nowrap; transition: .2s ease; }
.pill-nav a:hover, .pill-nav a.active { color: var(--white); background: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.location-link { color: #48635d; font-size: 12px; font-weight: 700; }
.location-link:hover { color: var(--teal-dark); }
.account-link { width: 30px; color: var(--ink); text-align: center; font-size: 23px; font-weight: 800; }
.header-book { min-height: 42px; padding: 9px 15px; font-size: 12px; }
.header-book svg { width: 15px; height: 15px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; border-radius: 12px; color: var(--white); background: var(--ink); font-size: 19px; }
.mobile-menu { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 12px 19px; border: 0; border-radius: 999px; font-size: 14px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button svg { width: 18px; height: 18px; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--teal); box-shadow: 0 10px 24px rgba(20, 201, 155, .22); }
.button-primary:hover { background: #35d9b2; box-shadow: 0 14px 28px rgba(20, 201, 155, .3); }
.button-quiet { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px rgba(16, 43, 39, .34); }
.button-quiet:hover { color: var(--white); background: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.button:disabled { opacity: .62; cursor: wait; transform: none; }

.hero { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 64px; padding-top: clamp(46px, 7vw, 92px); padding-bottom: 76px; }
.hero-copy h1, h1, h2, h3 { font-family: "Manrope", sans-serif; }
.hero-copy h1 { max-width: 670px; margin: 16px 0 20px; font-size: clamp(34px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -.065em; }
.hero-copy > p { max-width: 610px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #55716b; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(20, 201, 155, .17); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.trusted-line { display: flex; align-items: center; gap: 10px; margin-top: 30px; }
.trusted-line span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; color: var(--teal-dark); background: var(--teal-soft); }
.trusted-line svg { width: 19px; }
.trusted-line p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.38; }
.trusted-line b { color: var(--ink); }
.hero-image-wrap { position: relative; min-height: 510px; padding: 12px 0 12px 16px; }
.hero-image-wrap::before { position: absolute; inset: 0 34px 0 0; border-radius: 34px; background: #ccefe6; content: ""; transform: rotate(-2deg); }
.hero-image { position: relative; z-index: 1; width: 100%; height: 510px; object-fit: cover; border-radius: 30px; box-shadow: 0 22px 48px rgba(12, 52, 45, .16); }
.hero-tags { position: absolute; z-index: 2; top: 33px; left: 35px; display: flex; flex-wrap: wrap; gap: 7px; max-width: 230px; }
.hero-tags span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.45); border-radius: 99px; color: var(--white); background: rgba(13, 59, 53, .78); backdrop-filter: blur(10px); font-size: 10px; font-weight: 800; }
.hero-image-caption { position: absolute; z-index: 2; right: 18px; bottom: 30px; max-width: 250px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.35); border-radius: 17px; color: var(--white); background: rgba(13, 59, 53, .8); backdrop-filter: blur(10px); }
.hero-image-caption b { font-size: 12px; }
.hero-image-caption p { margin: 5px 0 0; color: rgba(255,255,255,.77); font-size: 11px; line-height: 1.4; }

.metrics-wrap { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 0; margin-bottom: 100px; overflow: hidden; border-radius: 24px; color: var(--white); background: var(--ink); box-shadow: 0 16px 35px rgba(12, 52, 45, .12); }
.feature-metric { min-height: 186px; padding: 30px 27px; border-left: 1px solid rgba(255,255,255,.12); }
.feature-metric:first-child { border-left: 0; }
.feature-metric.accent { margin: 12px; min-height: auto; border: 0; border-radius: 17px; color: var(--ink); background: var(--teal); }
.feature-metric b { display: block; font-family: "Manrope", sans-serif; font-size: 37px; line-height: 1; letter-spacing: -.06em; }
.feature-metric strong { display: block; margin-top: 8px; font-size: 14px; }
.feature-metric p { margin: 12px 0 0; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.48; }
.feature-metric.accent p { color: rgba(16,43,39,.75); }

.services-section { padding: 84px 0 102px; color: var(--white); background: var(--ink); }
.section-heading { margin-bottom: 34px; }
.centered-heading { max-width: 725px; text-align: center; }
.centered-heading .eyebrow { justify-content: center; }
.section-heading h2 { margin: 12px 0; font-size: clamp(28px, 4vw, 46px); line-height: 1.11; letter-spacing: -.055em; }
.section-heading h2 em { color: var(--teal); font-style: normal; }
.section-heading p { max-width: 630px; margin: 0; color: #78918b; line-height: 1.55; }
.centered-heading p { margin-inline: auto; }
.services-section .section-heading p, .services-section .eyebrow { color: rgba(255,255,255,.67); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.service-card { position: relative; display: flex; min-height: 360px; align-items: end; overflow: hidden; border: 1px solid rgba(255,255,255,.24); border-radius: 20px; background: #1d5149; transition: transform .25s ease, border-color .25s ease; }
.service-card:hover { border-color: var(--teal); transform: translateY(-7px); }
.service-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.service-card:hover > img { transform: scale(1.05); }
.service-card-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 23, 20, .04) 25%, rgba(2, 23, 20, .91) 100%); }
.service-card-number, .service-card-plus { position: absolute; top: 16px; z-index: 1; }
.service-card-number { right: 16px; font-size: 11px; font-weight: 800; }
.service-card-plus { left: 16px; display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--white); font-size: 19px; }
.service-card-content { position: relative; z-index: 1; display: block; width: 100%; padding: 22px 19px; }
.service-card-content strong { display: block; font-family: "Manrope", sans-serif; font-size: 18px; line-height: 1.16; letter-spacing: -.04em; }
.service-card-content small { display: flex; align-items: center; gap: 4px; margin-top: 9px; color: var(--teal); font-size: 11px; font-weight: 800; }
.service-card-content svg { width: 14px; }

.split-section { display: grid; grid-template-columns: .84fr 1.16fr; align-items: center; gap: clamp(34px, 7vw, 100px); padding: 100px 0; }
.split-image { overflow: hidden; border-radius: 24px; box-shadow: 0 20px 44px rgba(13,59,53,.12); }
.split-image img { width: 100%; height: 450px; object-fit: cover; object-position: center top; }
.split-copy h2 { margin: 14px 0 19px; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -.06em; }
.split-copy p { max-width: 540px; margin-bottom: 28px; color: var(--muted); font-size: 16px; line-height: 1.64; }
.cta-band { padding: 0 0 94px; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(30px, 6vw, 62px); overflow: hidden; border-radius: 27px; color: var(--white); background: linear-gradient(115deg, var(--ink), #21594f); }
.cta-band h2 { max-width: 650px; margin: 11px 0 0; font-size: clamp(28px, 4vw, 45px); line-height: 1.09; letter-spacing: -.06em; }
.cta-band .eyebrow { color: rgba(255,255,255,.67); }

.inner-hero { display: grid; grid-template-columns: 1fr .95fr; align-items: stretch; min-height: 430px; margin-top: 45px; overflow: hidden; border-radius: 28px; color: var(--white); background: var(--ink); }
.inner-hero-copy { display: flex; align-items: center; min-width: 0; padding: clamp(34px, 6vw, 72px); }
.inner-hero h1 { max-width: 600px; margin: 14px 0; font-size: clamp(36px, 5vw, 61px); line-height: 1.04; letter-spacing: -.065em; }
.inner-hero p { max-width: 560px; margin-bottom: 27px; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.55; }
.inner-hero .eyebrow { color: var(--teal); }
.inner-hero-media { min-width: 0; overflow: hidden; background: #d8ebe5; }
.inner-hero-media img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.prose-section { display: grid; gap: 70px; padding: 100px 0 55px; }
.prose-section.two-column { grid-template-columns: .8fr 1.2fr; }
.prose-section h2 { margin: 0; font-size: clamp(29px, 4vw, 46px); line-height: 1.12; letter-spacing: -.06em; }
.prose-section p { margin: 0 0 18px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; padding-bottom: 96px; }
.quote-card { padding: 28px; border-radius: 20px; background: var(--white); box-shadow: 0 12px 28px rgba(16,43,39,.05); }
.quote-card span { color: var(--teal-dark); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.quote-card p { margin: 17px 0 0; font-family: "Manrope", sans-serif; font-size: 19px; font-weight: 700; line-height: 1.35; letter-spacing: -.04em; }
.about-accordion-section { padding: 0 0 108px; }
.about-accordion-stack { display: grid; gap: 12px; counter-reset: accordion; }
.about-accordion { --accordion-accent: var(--teal); position: relative; counter-increment: accordion; overflow: hidden; border: 1px solid rgba(16,43,39,.11); border-radius: 22px; background: var(--white); box-shadow: 0 12px 30px rgba(16,43,39,.055); transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease; }
.about-accordion::before { position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--accordion-accent); content: ""; }
.about-accordion.soft { --accordion-accent: #4fbfc4; }
.about-accordion.deep { --accordion-accent: #0b817e; }
.about-accordion:hover { border-color: rgba(8,169,129,.42); box-shadow: 0 16px 34px rgba(16,43,39,.09); transform: translateY(-1px); }
.about-accordion > summary { display: grid; grid-template-columns: 42px minmax(0, 1fr) 40px; align-items: center; gap: 15px; min-height: 94px; padding: 20px 22px 20px 24px; list-style: none; color: var(--ink); background: linear-gradient(105deg, #fff, #f6fbf9); font-family: "Manrope", sans-serif; font-size: clamp(17px, 2vw, 24px); font-weight: 800; line-height: 1.18; letter-spacing: -.045em; cursor: pointer; transition: background .22s ease; }
.about-accordion > summary::-webkit-details-marker { display: none; }
.about-accordion > summary::marker { content: ""; }
.accordion-index { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; color: var(--ink); background: color-mix(in srgb, var(--accordion-accent) 20%, white); }
.accordion-index::before { font-size: 10px; font-weight: 900; letter-spacing: .08em; content: counter(accordion, decimal-leading-zero); }
.accordion-title { min-width: 0; }
.about-accordion > summary small { display: inline-block; margin-top: 4px; font: inherit; }
.about-accordion > summary:focus-visible { outline: 3px solid var(--teal); outline-offset: -5px; }
.accordion-chevron { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(16,43,39,.12); border-radius: 50%; color: var(--ink); background: var(--white); font-size: 23px; line-height: 1; transition: transform .22s ease, color .22s ease, background .22s ease; }
.about-accordion[open] { border-color: color-mix(in srgb, var(--accordion-accent) 65%, #90a8a1); box-shadow: 0 18px 38px rgba(16,43,39,.09); }
.about-accordion[open] .accordion-chevron { color: var(--ink); background: var(--accordion-accent); transform: rotate(180deg); }
.about-accordion[open] > summary { border-bottom: 1px solid rgba(16,43,39,.08); background: linear-gradient(105deg, #fff, color-mix(in srgb, var(--accordion-accent) 12%, white)); }
.accordion-content { padding: 0 28px 28px 80px; color: #345852; background: var(--white); }
.accordion-content p { max-width: 960px; margin: 0; font-size: 16px; line-height: 1.75; }
.accordion-content ul { display: grid; gap: 8px; max-width: 960px; padding: 0; margin: 0; list-style: none; }
.accordion-content li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.58; }
.accordion-content li::before { position: absolute; left: 0; top: .67em; width: 7px; height: 7px; border-radius: 50%; background: var(--accordion-accent); content: ""; }
.accordion-list-group + .accordion-list-group { margin-top: 22px; }
.accordion-list-group b { display: block; margin-bottom: 10px; color: var(--ink); font-size: 15px; }
.accordion-list-group ul { margin-bottom: 20px; }
.soft-section { padding: 88px 0; background: #edf3ef; }
.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.detail-card { position: relative; min-height: 223px; padding: 29px; border: 1px solid var(--line); border-radius: 21px; background: var(--white); }
.detail-card-mark { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--teal); font-size: 19px; }
.detail-card h3 { margin: 28px 0 9px; font-size: 21px; letter-spacing: -.04em; }
.detail-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.56; }
.specialty-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 96px; }
.list-block { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.list-block h3 { margin: 0 0 18px; font-size: 21px; letter-spacing: -.04em; }
.list-block ul, .treatment-card ul, .professional-card ul { padding: 0; margin: 0; list-style: none; }
.list-block li, .treatment-card li, .professional-card li { position: relative; padding: 7px 0 7px 18px; color: var(--muted); font-size: 14px; line-height: 1.42; }
.list-block li::before, .treatment-card li::before, .professional-card li::before { position: absolute; left: 0; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); content: ""; }

.professional-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 7vw, 88px); align-items: center; padding: 96px 0; }
.professional-card.reverse { grid-template-columns: 1.1fr .9fr; }
.professional-card.reverse img { order: 2; }
.professional-card > img { width: 100%; height: 430px; object-fit: cover; object-position: center top; border-radius: 22px; box-shadow: 0 18px 35px rgba(13,59,53,.1); }
.professional-card h2 { margin: 12px 0; font-size: clamp(30px, 4vw, 45px); letter-spacing: -.055em; }
.professional-card p { color: var(--muted); font-size: 16px; line-height: 1.64; }
.professional-card ul { margin: 20px 0 26px; }
.treatment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ortho-program-grid { align-items: start; padding: 25px 0 32px; }
.treatment-card { min-height: 292px; padding: 27px; border: 1px solid var(--line); border-radius: 21px; background: var(--white); }
.treatment-card > span, .benefit-card > span { color: var(--teal-dark); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.treatment-card h3 { margin: 25px 0 9px; font-size: 21px; line-height: 1.12; letter-spacing: -.05em; }
.treatment-card p { color: var(--muted); font-size: 14px; line-height: 1.52; }
.treatment-card ul { margin-top: 14px; }
.treatment-grid + .soft-section { margin-top: 94px; }
.info-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 94px 0 28px; }
.clinical-note { display: flex; gap: 15px; margin: 45px auto 94px; padding: 20px 24px; border-left: 4px solid var(--teal-dark); border-radius: 0 15px 15px 0; color: #4b615c; background: #e7f6f1; font-size: 13px; line-height: 1.55; }
.clinical-note strong { flex: 0 0 auto; color: var(--ink); }
.clinical-note p { margin: 0; }
.psychology-grid { margin-top: 94px; }
.wide { grid-column: span 2; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.benefit-card { min-height: 220px; padding: 27px; border-radius: 18px; background: var(--white); }
.benefit-card h3 { margin: 27px 0 9px; font-size: 19px; letter-spacing: -.04em; }
.benefit-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.54; }
.centered-copy { display: flex; flex-direction: column; align-items: center; max-width: 660px; text-align: center; }

.booking-hero { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; min-height: 337px; margin-top: 46px; padding: clamp(34px, 5vw, 63px); overflow: hidden; border-radius: 27px; color: var(--white); background: var(--ink); }
.booking-hero h1 { max-width: 680px; margin: 13px 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.02; letter-spacing: -.065em; }
.booking-hero p { max-width: 570px; margin: 0; color: rgba(255,255,255,.72); line-height: 1.55; }
.booking-hero .eyebrow { color: var(--teal); }
.booking-steps { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 26px; color: rgba(255,255,255,.7); font-size: 12px; font-weight: 700; }
.booking-steps span { display: inline-flex; align-items: center; gap: 6px; }
.booking-steps b { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--teal); font-size: 10px; }
.booking-illustration { display: grid; width: min(190px, 100%); aspect-ratio: 1; place-items: center; justify-self: end; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: var(--teal); background: radial-gradient(circle, rgba(20,201,155,.18), transparent 68%); }
.booking-illustration svg { width: 83px; }
.booking-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(30px, 8vw, 120px); align-items: start; padding: 84px 0 100px; }
.booking-info { position: sticky; top: 100px; }
.booking-info h2 { margin: 0 0 12px; font-size: 37px; line-height: 1.11; letter-spacing: -.06em; }
.booking-info > p { color: var(--muted); line-height: 1.61; }
.notice { display: flex; align-items: flex-start; gap: 11px; margin: 27px 0; padding: 15px; border-radius: 14px; background: var(--teal-soft); }
.notice span { display: grid; flex: 0 0 auto; width: 31px; height: 31px; place-items: center; border-radius: 50%; color: var(--teal-dark); background: rgba(255,255,255,.5); }
.notice svg { width: 16px; }
.notice p { margin: 0; color: #406159; font-size: 12px; line-height: 1.49; }
.booking-form, .auth-form { padding: clamp(25px, 4vw, 40px); border: 1px solid var(--line); border-radius: 23px; background: var(--white); box-shadow: 0 18px 40px rgba(13,59,53,.06); }
.form-heading { margin-bottom: 25px; }
.form-heading span { font-family: "Manrope", sans-serif; font-size: 25px; font-weight: 800; letter-spacing: -.05em; }
.form-heading p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.booking-form label, .auth-form label { display: grid; gap: 8px; margin-top: 16px; color: #3c5851; font-size: 12px; font-weight: 800; }
.booking-form input, .booking-form select, .booking-form textarea, .auth-form input { width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid #d8e2dd; border-radius: 12px; outline: 0; color: var(--ink); background: #fbfcfa; font-size: 14px; font-weight: 500; transition: border .2s ease, box-shadow .2s ease; }
.booking-form textarea { min-height: 94px; resize: vertical; }
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus, .auth-form input:focus { border-color: var(--teal-dark); box-shadow: 0 0 0 4px rgba(20,201,155,.13); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit { width: 100%; margin-top: 25px; }
.form-disclaimer { display: block; margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 1.45; text-align: center; }

.account-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(32px, 8vw, 120px); align-items: start; min-height: calc(100vh - 310px); padding: 88px 0 100px; }
.account-intro { position: sticky; top: 100px; }
.account-intro h1 { margin: 13px 0; font-size: clamp(35px, 4.7vw, 57px); line-height: 1.04; letter-spacing: -.065em; }
.account-intro p { max-width: 400px; color: var(--muted); line-height: 1.63; }
.account-card { min-height: 320px; padding: clamp(24px, 4vw, 43px); border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: 0 18px 40px rgba(13,59,53,.06); }
.loading-state { color: var(--muted); font-size: 14px; }
.empty-state { display: grid; justify-items: start; max-width: 520px; }
.empty-state > span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; color: var(--teal-dark); background: var(--teal-soft); }
.empty-state svg { width: 23px; }
.empty-state h2 { margin: 18px 0 8px; font-size: 25px; letter-spacing: -.05em; }
.empty-state p { margin: 0; color: var(--muted); line-height: 1.56; }
.center-action { margin-top: 25px; }
.auth-tabs { display: flex; gap: 5px; margin-bottom: 28px; padding: 4px; overflow: auto; border-radius: 14px; background: #edf3ef; }
.auth-tabs button { flex: 1 0 auto; padding: 9px 10px; border: 0; border-radius: 10px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 800; }
.auth-tabs button.active { color: var(--ink); background: var(--white); box-shadow: 0 2px 8px rgba(12,52,45,.09); }
.auth-form { padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.auth-form.hidden { display: none; }
.auth-form h2, .auth-form h3 { margin: 0; font-size: 25px; letter-spacing: -.05em; }
.auth-form > p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.auth-form .button { width: 100%; margin-top: 25px; }
.auth-form.compact { padding: 0; }
.auth-form.compact h3 { font-size: 19px; }
.auth-form.compact .button { width: auto; }
.signed-in { display: flex; align-items: center; gap: 13px; }
.profile-chip { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--teal); font-family: "Manrope", sans-serif; font-weight: 800; }
.signed-in h2 { margin: 0; font-size: 22px; letter-spacing: -.05em; }
.signed-in p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.link-button { margin-left: auto; border: 0; color: var(--teal-dark); background: transparent; font-size: 12px; font-weight: 800; }
.account-divider { height: 1px; margin: 26px 0; background: var(--line); }
.account-card > h3 { margin: 0 0 15px; font-size: 19px; letter-spacing: -.04em; }
.appointment-list { display: grid; gap: 9px; }
.appointment-list article { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 14px; border-radius: 13px; background: #f4f8f6; }
.appointment-list strong, .appointment-list span { display: block; }
.appointment-list strong { font-size: 13px; }
.appointment-list span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.status { display: inline-block; padding: 6px 9px; border-radius: 99px; font-size: 10px; text-transform: capitalize; }
.status.pendiente { color: #7c5c11; background: #fff0b9; }
.status.confirmada { color: #176a56; background: #d3f5ea; }
.status.cancelada { color: #8c2734; background: #ffe0e2; }
.status.completada { color: #47615a; background: #e5ece9; }
.muted { color: var(--muted); font-size: 14px; }
.form-error { color: var(--danger); font-size: 13px; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 24px; }
.admin-top h2 { margin: 0; font-size: 25px; letter-spacing: -.05em; }
.admin-top p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.admin-list { display: grid; gap: 10px; }
.admin-appointment { display: grid; grid-template-columns: 100px 1fr 130px; gap: 15px; align-items: start; padding: 17px; border: 1px solid var(--line); border-radius: 15px; }
.admin-date { padding: 10px; border-radius: 10px; text-align: center; background: var(--teal-soft); }
.admin-date b, .admin-date span { display: block; font-size: 11px; }
.admin-date b { color: var(--ink); }
.admin-date span { margin-top: 4px; color: #3c6259; }
.admin-person strong, .admin-person span, .admin-person small { display: block; }
.admin-person strong { font-size: 14px; }
.admin-person span { margin: 4px 0; color: var(--teal-dark); font-size: 12px; font-weight: 800; }
.admin-person small, .admin-person p { color: var(--muted); font-size: 11px; line-height: 1.42; }
.admin-person p { margin: 8px 0 0; }
.status-select { display: grid; gap: 5px; color: var(--muted); font-size: 10px; font-weight: 800; }
.status-select select { width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--white); font-size: 11px; }

.not-found { min-height: 60vh; padding-top: 150px; text-align: center; }
.not-found h1 { margin: 0; font-size: 45px; letter-spacing: -.06em; }
.not-found p { color: var(--muted); }
.site-footer { padding-top: 68px; color: rgba(255,255,255,.72); background: #0c302b; }
.footer-top { display: grid; grid-template-columns: 1.4fr .75fr .75fr; gap: 58px; padding-bottom: 56px; }
.footer-brand { color: var(--white); }
.footer-brand small { color: var(--teal); }
.footer-top p { max-width: 440px; margin: 18px 0 0; font-size: 13px; line-height: 1.6; }
.footer-nav, .footer-contact { display: grid; align-content: start; gap: 11px; }
.footer-nav > span, .footer-contact > span { margin-bottom: 5px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.footer-nav a, .footer-contact > a { font-size: 13px; }
.footer-nav a:hover, .footer-contact > a:hover { color: var(--teal); }
.social-links { display: flex; gap: 7px; margin-top: 8px; }
.social-links a { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; color: var(--white); font-size: 14px; }
.social-links a:hover { color: var(--ink); background: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.45); font-size: 11px; }
.footer-bottom a:hover { color: var(--teal); }
.toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; max-width: min(430px, calc(100% - 48px)); padding: 15px 18px; border-radius: 14px; color: var(--white); background: var(--ink); box-shadow: 0 14px 32px rgba(0,0,0,.2); font-size: 13px; font-weight: 700; opacity: 0; pointer-events: none; transform: translateY(14px); transition: .25s ease; }
.toast.visible { opacity: 1; transform: translateY(0); }
.toast.error { background: var(--danger); }

@media (max-width: 1180px) {
  .header-inner { gap: 12px; }
  .pill-nav a { padding-inline: 8px; font-size: 11px; }
  .location-link { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 290px; }
}

@media (max-width: 900px) {
  .pill-nav, .account-link, .header-book { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu { display: none; width: min(1180px, calc(100% - 48px)); gap: 8px; margin: 13px auto 0; padding: 13px; border-radius: 16px; background: var(--white); box-shadow: 0 12px 28px rgba(13,59,53,.1); }
  .mobile-menu.open { display: grid; }
  .mobile-menu a:not(.button) { padding: 10px; border-radius: 9px; font-size: 13px; font-weight: 800; }
  .mobile-menu a:not(.button):hover { background: #edf3ef; }
  .mobile-menu .button { margin-top: 4px; }
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero-image-wrap { max-width: 650px; width: 100%; min-height: 425px; margin-inline: auto; }
  .hero-image { height: 425px; }
  .metrics-wrap { grid-template-columns: repeat(2, 1fr); }
  .feature-metric:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .feature-metric:nth-child(4) { border-top: 1px solid rgba(255,255,255,.12); }
  .split-section, .inner-hero, .professional-card, .professional-card.reverse, .booking-hero, .booking-layout, .account-section { grid-template-columns: 1fr; }
  .inner-hero { min-height: 0; }
  .professional-card.reverse img { order: initial; }
  .inner-hero-media { min-height: 300px; max-height: 370px; }
  .inner-hero-media img { min-height: 300px; max-height: 370px; }
  .prose-section.two-column { grid-template-columns: 1fr; gap: 24px; }
  .quote-grid, .details-grid, .info-card-grid { grid-template-columns: repeat(2, 1fr); }
  .specialty-columns { grid-template-columns: 1fr 1fr; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-info, .account-intro { position: static; }
  .booking-illustration { justify-self: start; width: 115px; margin-top: 25px; }
  .booking-illustration svg { width: 50px; }
  .footer-top { grid-template-columns: 1.2fr 1fr; }
  .footer-contact { grid-column: span 2; }
}

@media (max-width: 600px) {
  .page-width, .header-inner, .mobile-menu { width: min(100% - 30px, 1180px); }
  .site-header { padding: 9px 0; }
  .brand-mark { width: 41px; height: 41px; border-radius: 12px; }
  .brand-mark img { width: 28px; height: 28px; }
  .hero { padding-top: 36px; padding-bottom: 50px; }
  .hero-copy h1 { font-size: clamp(34px, 11vw, 48px); }
  .hero-copy > p { font-size: 15px; }
  .hero-image-wrap { min-height: 330px; padding-left: 8px; }
  .hero-image-wrap::before { right: 16px; border-radius: 24px; }
  .hero-image { height: 330px; border-radius: 23px; }
  .hero-image-caption { right: 10px; bottom: 18px; max-width: 215px; padding: 12px; }
  .hero-tags { top: 20px; left: 19px; }
  .metrics-wrap { grid-template-columns: 1fr; margin-bottom: 70px; }
  .feature-metric, .feature-metric:nth-child(3), .feature-metric:nth-child(4) { min-height: auto; border-top: 1px solid rgba(255,255,255,.12); border-left: 0; }
  .feature-metric.accent { min-height: 155px; margin: 10px; border: 0; }
  .services-section { padding: 65px 0 72px; }
  .service-grid, .quote-grid, .details-grid, .specialty-columns, .treatment-grid, .info-card-grid, .benefit-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 270px; }
  .split-section { padding: 68px 0; }
  .split-image img { height: 370px; }
  .cta-band { padding-bottom: 68px; }
  .cta-band-inner { align-items: flex-start; flex-direction: column; }
  .inner-hero { margin-top: 30px; }
  .inner-hero-copy { padding: 35px 25px; }
  .inner-hero h1 { font-size: clamp(35px, 11vw, 47px); }
  .inner-hero-media, .inner-hero-media img { min-height: 260px; }
  .prose-section { padding: 68px 0 35px; }
  .quote-grid { padding-bottom: 65px; }
  .about-accordion-section { padding-bottom: 66px; }
  .about-accordion > summary { grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 11px; min-height: 76px; padding: 18px 18px 18px 21px; font-size: 18px; }
  .accordion-index { width: 34px; height: 34px; border-radius: 11px; }
  .accordion-index::before { font-size: 9px; }
  .accordion-chevron { width: 34px; height: 34px; font-size: 20px; }
  .accordion-content { padding: 0 21px 22px; }
  .accordion-content p { font-size: 14px; }
  .accordion-content li { font-size: 14px; }
  .soft-section { padding: 66px 0; }
  .specialty-columns { padding-bottom: 66px; }
  .professional-card, .info-card-grid, .psychology-grid { padding: 66px 0; margin-top: 0; }
  .ortho-program-grid { padding: 66px 0 24px; }
  .professional-card > img { height: 360px; }
  .treatment-grid + .soft-section { margin-top: 66px; }
  .wide { grid-column: auto; }
  .clinical-note { display: block; margin: 25px auto 65px; }
  .clinical-note p { margin-top: 8px; }
  .booking-hero { min-height: auto; margin-top: 31px; padding: 36px 25px; }
  .booking-hero h1 { font-size: clamp(35px, 11vw, 48px); }
  .booking-steps { display: grid; }
  .booking-layout, .account-section { padding: 62px 0 70px; }
  .booking-info h2 { font-size: 32px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .booking-form, .account-card { padding: 23px 18px; border-radius: 18px; }
  .account-intro h1 { font-size: clamp(35px, 11vw, 48px); }
  .auth-tabs { gap: 2px; }
  .auth-tabs button { font-size: 10px; }
  .signed-in { align-items: flex-start; flex-wrap: wrap; }
  .link-button { margin: 8px 0 0 55px; }
  .admin-top { align-items: flex-start; flex-direction: column; }
  .admin-appointment { grid-template-columns: 1fr; }
  .admin-date { justify-self: start; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-contact { grid-column: auto; }
  .footer-bottom { gap: 12px; }
}
