/* Spectrum Eye Institute — temporary site */
:root {
  --blue: #3853a4;
  --blue-dark: #263c82;
  --navy: #17224a;
  --ink: #1c2233;
  --muted: #4a5168;
  --ground: #f7f8fc;
  --panel: #eef1f9;
  --line: #dfe4f1;
  --serif: "Crimson Pro", "Minion Pro", Times, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --gutter: 120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
a:focus-visible { outline: 3px solid #8193c9; outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); margin: 0; }

.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 12px 16px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 6px; font-size: 17px; font-weight: 600; text-decoration: none; border: 2px solid var(--blue); white-space: nowrap; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); }
.btn-outline:hover { background: var(--panel); }
.btn-lg { min-height: 60px; padding: 0 32px; font-size: 19px; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--panel); color: var(--navy); }

/* Header */
.site-header { background: #fff; }
.site-header .wrap { height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 68px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 32px; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; color: var(--ink); text-decoration: none; }
.header-phone .short { display: none; }
.band { height: 8px; display: grid; grid-template-columns: repeat(5, 1fr); }
.band span:nth-child(1) { background: #3853a4; }
.band span:nth-child(2) { background: #5a71b5; }
.band span:nth-child(3) { background: #8193c9; }
.band span:nth-child(4) { background: #aab6dc; }
.band span:nth-child(5) { background: #d4dbee; }

/* Hero */
.hero { background: #fff; border-bottom: 1px solid var(--line); }
.hero .wrap { padding-top: 104px; padding-bottom: 112px; display: flex; gap: 96px; align-items: center; }
.hero-copy { flex: 1 1 auto; max-width: 700px; display: flex; flex-direction: column; gap: 28px; }
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.hero h1 { font-weight: 500; font-size: 76px; line-height: 1.02; letter-spacing: -.01em; }
.lede { margin: 0; font-size: 22px; line-height: 1.55; color: var(--muted); max-width: 600px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }
.hero-panel { flex: 0 0 404px; padding: 40px; border-radius: 10px; background: var(--panel); display: flex; flex-direction: column; gap: 28px; }
.panel-label { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.panel-value { font-family: var(--serif); font-size: 30px; line-height: 1.2; color: var(--navy); }
.panel-phone { font-family: var(--serif); font-size: 34px; text-decoration: none; }
.rule { height: 1px; background: #d5dbec; }
.panel-link { font-size: 18px; font-weight: 600; text-decoration: none; }

/* Sections */
.section { padding-top: 112px; padding-bottom: 112px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.section h2 { font-weight: 500; font-size: 56px; line-height: 1.05; }
.section-note { margin: 0; font-size: 18px; color: var(--muted); max-width: 460px; text-align: right; }

/* Locations */
.locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.location { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.location-body { padding: 36px 40px; display: flex; flex-direction: column; gap: 14px; flex: 1 1 auto; }
.location h3 { font-weight: 600; font-size: 36px; line-height: 1.1; }
.location address { font-style: normal; font-size: 19px; }
.location .tel { font-size: 19px; font-weight: 600; text-decoration: none; }
.hours { font-size: 17px; color: var(--muted); }
.hours strong { color: var(--ink); }
.directions { margin-top: auto; padding-top: 8px; font-size: 18px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.map { border-top: 1px solid var(--line); background: #e9edf7; }
.map iframe { display: block; width: 100%; height: 320px; border: 0; }

/* Services */
.services { background: #fff; border-top: 1px solid var(--line); }
.services .wrap { display: flex; gap: 96px; }
.services-intro { flex: 0 0 420px; display: flex; flex-direction: column; gap: 20px; }
.services-intro p { margin: 0; font-size: 19px; color: var(--muted); }
.service-list { flex: 1 1 auto; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.service-list { align-content: start; border-top: 1px solid var(--line); }
.service-list li { padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 21px; font-weight: 600; }

/* Footer */
.site-footer { background: var(--navy); color: #d6dcef; }
.site-footer .wrap { padding-top: 72px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 48px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-brand img { height: auto; width: 175px; }
.footer-brand p { margin: 0; font-size: 16px; color: #b9c2e0; }
.footer-actions { display: flex; gap: 16px; align-items: center; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 6px; border: 1px solid #4a5a8f; }
.social:hover { background: #22306a; }
.footer-rule { height: 1px; background: #33406e; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 32px; font-size: 15px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.legal-nav a { color: #d6dcef; }
.legal-nav a:hover { color: #fff; }
.copyright { color: #b9c2e0; }

/* Legal / text pages */
.page { padding-top: 88px; padding-bottom: 112px; }
.prose { max-width: 820px; }
.prose .back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; margin-bottom: 16px; }
.prose h1 { font-weight: 500; font-size: 56px; line-height: 1.05; margin-bottom: 32px; }
.prose h2 { font-weight: 500; font-size: 32px; line-height: 1.15; margin: 48px 0 16px; }
.prose h3 { font-weight: 600; font-size: 22px; line-height: 1.25; margin: 32px 0 12px; }
.prose h2 + h3 { margin-top: 24px; }
.prose .notice { font-weight: 600; color: var(--navy); margin: 0 0 12px; }
.prose .meta { font-size: 15px; color: var(--muted); margin: 0 0 32px; }
.prose p, .prose li { font-size: 18px; line-height: 1.65; }
.prose p { margin: 0 0 20px; }
.prose ul { margin: 0 0 24px; padding-left: 24px; }
.prose li { margin-bottom: 10px; }
.prose li ul { margin: 10px 0 0; }
.prose address { font-style: normal; margin: 0 0 24px; padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: 8px; line-height: 1.6; }
.prose a { overflow-wrap: anywhere; }
.tagline { margin: 0 0 16px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.tagline h2 { font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.tagline p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  :root { --gutter: 56px; }
  .hero .wrap { gap: 56px; }
  .hero h1 { font-size: 64px; }
  .hero-panel { flex-basis: 360px; padding: 32px; }
  .services .wrap { gap: 56px; }
  .services-intro { flex-basis: 340px; }
}

@media (max-width: 960px) {
  :root { --gutter: 32px; }
  .hero .wrap { flex-direction: column; align-items: stretch; padding-top: 72px; padding-bottom: 72px; }
  .hero-panel { flex-basis: auto; }
  .locations { grid-template-columns: 1fr; }
  .services .wrap { flex-direction: column; gap: 32px; }
  .services-intro { flex-basis: auto; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 17px; }
  .site-header .wrap { height: 76px; }
  .logo img { height: 50px; }
  .header-actions .btn-primary { display: none; }
  .header-phone { min-height: 44px; padding: 0 16px; border: 2px solid var(--blue); border-radius: 6px; color: var(--blue); font-size: 16px; }
  .header-phone .full { display: none; }
  .header-phone .short { display: inline; }
  .band { height: 6px; }
  .hero .wrap { padding-top: 48px; padding-bottom: 52px; }
  .hero-copy { gap: 20px; }
  .eyebrow { font-size: 13px; letter-spacing: .12em; }
  .hero h1 { font-size: 46px; line-height: 1.04; }
  .lede { font-size: 18px; }
  .cta-row { flex-direction: column; gap: 12px; }
  .cta-row .btn { width: 100%; min-height: 56px; font-size: 18px; }
  .hero-panel { display: none; }
  .section { padding-top: 52px; padding-bottom: 52px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
  .section h2 { font-size: 38px; }
  .section-note { text-align: left; font-size: 17px; }
  .locations { gap: 20px; }
  .location-body { padding: 24px; gap: 10px; }
  .location h3 { font-size: 30px; }
  .location address, .location .tel { font-size: 17px; }
  .hours { font-size: 16px; }
  .map iframe { height: 240px; }
  .services-intro p { font-size: 17px; }
  .service-list { grid-template-columns: 1fr; }
  .service-list li { padding: 16px 0; font-size: 18px; }
  .site-footer .wrap { padding-top: 48px; padding-bottom: 40px; gap: 28px; }
  .footer-brand img { height: 60px; }
  .footer-actions { width: 100%; }
  .footer-actions .btn { flex: 1 1 auto; }
  .legal-nav { flex-direction: column; gap: 0; }
  .legal-nav a { min-height: 44px; display: flex; align-items: center; font-size: 16px; }
  .page { padding-top: 40px; padding-bottom: 64px; }
  .prose h1 { font-size: 38px; margin-bottom: 24px; }
  .prose p, .prose li { font-size: 17px; }
  .prose h2 { font-size: 27px; margin-top: 36px; }
  .prose h3 { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
