@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --navy: #082f49;
  --navy-2: #0b2538;
  --teal: #0f9f9a;
  --teal-light: #5eead4;
  --sky: #e9f7fb;
  --ink: #102a3b;
  --muted: #5d7280;
  --line: #d9e6eb;
  --white: #fff;
  --surface: #f6fafb;
  --shadow: 0 22px 60px rgba(8, 47, 73, .12);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 400 1rem/1.7 "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", system-ui, sans-serif; line-height: 1.12; }
h1 { font-size: clamp(3rem, 6.2vw, 5.8rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.25rem, 4vw, 3.75rem); letter-spacing: -.045em; }
h3 { font-size: 1.2rem; letter-spacing: -.02em; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 110px 0; }
.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; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; background: #fff; padding: 10px 16px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.utility-bar { background: var(--navy-2); color: #cde8ef; font-size: .78rem; letter-spacing: .04em; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; }
.utility-inner a { color: var(--white); font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(217,230,235,.8); }
.nav { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; background: var(--navy); border-radius: 14px; }
.brand-mark svg { width: 30px; fill: none; stroke: var(--teal-light); stroke-width: 2.6; }
.brand-mark circle { fill: var(--white); stroke: none; }
.brand strong, .brand small { display: block; }
.brand strong { font: 800 1.05rem/1.2 "Manrope", sans-serif; color: var(--navy); letter-spacing: -.02em; }
.brand small { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .92rem; font-weight: 600; }
.nav-links > a:not(.button):hover { color: var(--teal); }
.menu-toggle { display: none; width: 45px; height: 45px; border: 0; border-radius: 12px; background: var(--surface); padding: 11px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 999px; background: var(--teal); color: var(--white); font-weight: 700; box-shadow: 0 10px 24px rgba(15,159,154,.22); transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: #0b8885; }
.button-sm { min-height: 44px; padding-inline: 20px; }
.button-light { background: var(--white); color: var(--navy); box-shadow: none; }
.button-light:hover { background: var(--teal-light); }
.button-outline { background: transparent; color: var(--navy); border: 1px solid #aac2ca; box-shadow: none; }
.button-outline:hover { background: var(--white); }

.hero { min-height: 670px; position: relative; overflow: hidden; background: #eaf7fb; }
.hero-image { position: absolute; inset: 0; background: url("assets/lasik-hero.png") center/cover no-repeat; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(235,249,252,.98) 0%, rgba(235,249,252,.92) 38%, rgba(235,249,252,.2) 64%, transparent 78%); }
.hero-inner { position: relative; min-height: 670px; display: flex; align-items: center; }
.hero-copy { width: min(650px, 58%); padding: 64px 0 84px; }
.eyebrow { display: inline-block; margin-bottom: 20px; color: var(--teal); font: 800 .78rem/1.2 "Manrope", sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.hero h1 { max-width: 660px; margin-bottom: 26px; color: var(--navy); }
.hero-copy > p:not(.hero-note) { max-width: 600px; font-size: 1.2rem; color: #3f5e6e; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin: 34px 0 30px; }
.text-link { font-weight: 700; color: var(--navy); }
.text-link span { color: var(--teal); }
.hero-note { color: #5e7884; font-size: .86rem; }
.hero-note span { color: var(--teal); font-size: .75rem; }

.quick-path { position: relative; margin-top: -44px; z-index: 3; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.quick-card { min-height: 132px; padding: 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; border-right: 1px solid var(--line); transition: background .2s; }
.quick-card:last-child { border: 0; }
.quick-card:hover { background: var(--sky); }
.quick-card .number { color: var(--teal); font: 700 .8rem "Manrope", sans-serif; }
.quick-card strong, .quick-card small { display: block; }
.quick-card strong { color: var(--navy); font-size: 1rem; }
.quick-card small { color: var(--muted); font-size: .82rem; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.section-heading h2 { max-width: 720px; color: var(--navy); margin-bottom: 24px; }
.section-heading > p { max-width: 680px; color: var(--muted); font-size: 1.08rem; }
.lead-prose { padding-top: 45px; color: #486372; font-size: 1.08rem; }
.lead-prose p:first-child { font-size: 1.26rem; color: var(--ink); }
.info-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; margin-top: 70px; }
.info-card { padding: 36px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.info-card.featured { background: var(--navy); color: var(--white); border-color: var(--navy); }
.info-card h3 { margin: 24px 0 14px; }
.info-card p { color: var(--muted); margin: 0; }
.info-card.featured p { color: #c5d8e0; }
.icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--sky); color: var(--teal); border-radius: 50%; font-size: 1.6rem; }
.featured .icon { background: rgba(94,234,212,.12); color: var(--teal-light); }

.process-section { background: var(--surface); }
.centered { text-align: center; display: flex; flex-direction: column; align-items: center; }
.timeline { list-style: none; padding: 0; margin: 70px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.timeline li { position: relative; padding: 0 26px; border-left: 1px solid #bfd3da; }
.timeline li:last-child { border-right: 1px solid #bfd3da; }
.step { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 56px; border-radius: 50%; background: var(--navy); color: var(--white); font: 700 .88rem "Manrope", sans-serif; }
.timeline h3 { color: var(--navy); }
.timeline p { color: var(--muted); margin: 0; }

.surgeon-section { background: var(--navy); color: var(--white); overflow: hidden; position: relative; }
.surgeon-section::before { content: ""; position: absolute; width: 440px; height: 440px; border: 1px solid rgba(94,234,212,.18); border-radius: 50%; left: -180px; bottom: -260px; box-shadow: 0 0 0 90px rgba(94,234,212,.04), 0 0 0 180px rgba(94,234,212,.025); }
.surgeon-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.surgeon-grid h2 { margin-bottom: 24px; }
.surgeon-grid > div:first-child > p { color: #bfd3dc; font-size: 1.08rem; margin-bottom: 34px; }
.eyebrow.light { color: var(--teal-light); }
.checklist-card { background: var(--white); color: var(--ink); padding: 42px; border-radius: var(--radius); box-shadow: 0 28px 70px rgba(0,0,0,.2); }
.checklist-card h3 { font-size: 1.45rem; color: var(--navy); }
.checklist-card ul { list-style: none; padding: 0; margin: 26px 0 0; }
.checklist-card li { position: relative; padding: 15px 0 15px 38px; border-top: 1px solid var(--line); }
.checklist-card li::before { content: "✓"; position: absolute; left: 0; top: 13px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #dcf9f4; color: #087a76; font-weight: 800; font-size: .78rem; }

.row-heading { display: flex; justify-content: space-between; align-items: end; gap: 80px; }
.row-heading h2 { margin-bottom: 0; }
.row-heading > p { max-width: 400px; margin-bottom: 8px; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.article-card { padding: 34px; min-height: 310px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; transition: transform .2s, box-shadow .2s; }
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.article-label { color: var(--teal); font: 700 .76rem "Manrope", sans-serif; text-transform: uppercase; letter-spacing: .12em; }
.article-card h3 { color: var(--navy); font-size: 1.5rem; margin: 50px 0 16px; }
.article-card p { color: var(--muted); }
.article-card a { margin-top: auto; color: var(--teal); font-weight: 700; }

.faq-section { background: var(--sky); }
.faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; }
.accordion details { background: var(--white); border: 1px solid #d3e8ee; border-radius: 16px; margin-bottom: 12px; overflow: hidden; }
.accordion summary { list-style: none; cursor: pointer; padding: 23px 26px; display: flex; justify-content: space-between; gap: 18px; color: var(--navy); font: 700 1rem/1.4 "Manrope", sans-serif; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { color: var(--teal); font-size: 1.4rem; transition: transform .2s; }
.accordion details[open] summary span { transform: rotate(45deg); }
.accordion details p { padding: 0 26px 24px; margin: 0; color: var(--muted); }

.contact-section { padding: 80px 0; background: var(--white); }
.contact-card { padding: 54px 60px; border-radius: 28px; background: linear-gradient(125deg, #e8f8fb, #f7fcfd); display: flex; align-items: center; justify-content: space-between; gap: 60px; border: 1px solid #d5eaf0; }
.contact-card h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 18px; }
.contact-card p { color: var(--muted); margin: 0; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; min-width: 255px; }

.site-footer { background: var(--navy-2); color: #c4d5dc; padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 80px; }
.footer-brand strong { color: var(--white); }
.footer-brand small { color: #9cb5bf; }
.footer-grid > div:first-child p { max-width: 430px; margin-top: 24px; }
.footer-grid h3 { color: var(--white); font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a:hover { color: var(--teal-light); }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 30px; font-size: .78rem; }
.footer-bottom p { margin: 0; }

/* Interior pages */
.narrow { max-width: 850px; }
.interior-hero { padding: 96px 0 88px; background: linear-gradient(135deg, #e7f7fb, #f8fcfd); border-bottom: 1px solid var(--line); }
.interior-hero.compact { padding-bottom: 70px; }
.interior-hero h1 { max-width: 900px; margin: 0 0 24px; color: var(--navy); }
.interior-hero > .container > p { max-width: 720px; color: var(--muted); font-size: 1.14rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; color: var(--muted); font-size: .86rem; }
.breadcrumbs a:hover { color: var(--teal); }
.article-meta { display: flex; gap: 24px; color: var(--muted); font-size: .88rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 320px; justify-content: space-between; gap: 80px; padding-top: 90px; padding-bottom: 100px; }
.article-body { font-size: 1.08rem; color: #3b5868; }
.article-body > * { max-width: 720px; }
.article-body h2 { margin: 52px 0 18px; color: var(--navy); font-size: 1.8rem; letter-spacing: -.03em; }
.article-body ul { padding-left: 1.25rem; }
.article-body li { margin-bottom: 10px; }
.article-lead { color: var(--ink); font-size: 1.28rem; line-height: 1.65; }
.callout { margin: 42px 0; padding: 30px; border-left: 4px solid var(--teal); border-radius: 0 18px 18px 0; background: var(--sky); color: var(--ink); }
.callout ul { margin-bottom: 0; }
.medical-note { margin-top: 40px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--muted); font-size: .9rem; }
.sources { margin-top: 54px; padding-top: 32px; border-top: 1px solid var(--line); }
.sources h2 { margin-top: 0; font-size: 1.25rem; }
.sources a { display: block; margin: 8px 0; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.article-side { padding-top: 8px; }
.side-card { position: sticky; top: 150px; padding: 32px; border-radius: 22px; background: var(--navy); color: var(--white); }
.side-card h2 { font-size: 1.55rem; }
.side-card p { color: #bfd3dc; }
.side-card .button { width: 100%; margin-top: 12px; }
.more-guides { padding: 90px 0; background: var(--surface); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide-card { min-height: 350px; padding: 34px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: 0 12px 40px rgba(8,47,73,.05); }
.guide-card h2 { margin: 36px 0 16px; color: var(--navy); font-size: 1.45rem; }
.guide-card p { color: var(--muted); }
.card-meta { display: flex; gap: 12px; margin-top: auto; padding-top: 20px; color: #778e99; font-size: .78rem; }
.card-link { margin-top: 18px; color: var(--teal); font-weight: 700; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.contact-details h2 { color: var(--navy); font-size: 2.5rem; }
.contact-line { display: flex; flex-direction: column; padding: 20px 0; border-top: 1px solid var(--line); }
.contact-line span { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-line strong { color: var(--navy); font-size: 1.15rem; }
.contact-form { padding: 40px; border-radius: 24px; background: var(--surface); }
.contact-form h2 { color: var(--navy); }
.contact-form label { display: block; margin: 18px 0; color: var(--navy); font-weight: 700; }
.contact-form input, .contact-form textarea, .search-form input { width: 100%; margin-top: 7px; padding: 14px 16px; border: 1px solid #b9cdd5; border-radius: 10px; background: var(--white); color: var(--ink); font: inherit; }
.contact-form input:focus, .contact-form textarea:focus, .search-form input:focus { outline: 3px solid rgba(15,159,154,.18); border-color: var(--teal); }
.form-status { margin-top: 14px; color: var(--muted); font-size: .9rem; }
.search-form { max-width: 760px; display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 34px; }
.search-form input { margin: 0; min-height: 54px; }
.results-count { margin-bottom: 28px; color: var(--muted); }
.empty-state { grid-column: 1 / -1; padding: 70px; text-align: center; border: 1px dashed #adc7d0; border-radius: 20px; }
.empty-state h2 { color: var(--navy); }

@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .menu-toggle { display: block; }
  .nav-links { position: fixed; inset: 116px 0 auto; padding: 30px 20px 40px; background: var(--white); flex-direction: column; align-items: stretch; gap: 8px; border-bottom: 1px solid var(--line); transform: translateY(-130%); opacity: 0; transition: .25s ease; }
  .nav-links a { padding: 12px 20px; }
  .nav-links.open { transform: none; opacity: 1; }
  .hero { min-height: auto; padding-top: 420px; }
  .hero-image { height: 440px; background-position: 67% center; }
  .hero-image::after { background: linear-gradient(0deg, #eaf7fb 0%, rgba(234,247,251,.15) 55%, transparent 100%); }
  .hero-inner { min-height: auto; }
  .hero-copy { width: 100%; padding: 52px 0 86px; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-card { min-height: 110px; border-right: 0; border-bottom: 1px solid var(--line); }
  .split, .surgeon-grid, .faq-grid { grid-template-columns: 1fr; gap: 50px; }
  .lead-prose { padding-top: 0; }
  .info-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 45px 0; }
  .timeline li:nth-child(2) { border-right: 1px solid #bfd3da; }
  .step { margin-bottom: 30px; }
  .row-heading { display: block; }
  .row-heading > p { margin-top: 24px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 240px; }
  .contact-card { display: block; padding: 44px; }
  .contact-actions { margin-top: 34px; }
  .article-layout { grid-template-columns: 1fr; gap: 50px; }
  .side-card { position: static; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .utility-inner span { display: none; }
  .utility-inner { justify-content: center; }
  .nav { height: 72px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand small { display: none; }
  .nav-links { inset-block-start: 106px; }
  .hero { padding-top: 330px; }
  .hero-image { height: 350px; background-position: 68% center; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .quick-path { margin-top: -34px; }
  .quick-card { padding: 23px 20px; }
  .info-card, .checklist-card, .article-card { padding: 28px; }
  .timeline { grid-template-columns: 1fr; gap: 36px; }
  .timeline li, .timeline li:nth-child(2), .timeline li:last-child { border-right: 0; }
  .contact-card { padding: 34px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-bottom { display: block; }
  .footer-bottom p + p { margin-top: 8px; }
  .interior-hero { padding: 70px 0 60px; }
  .article-layout { padding-top: 60px; padding-bottom: 70px; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 300px; }
  .contact-form { padding: 28px 22px; }
  .search-form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
