/* ---- page-specific: ophthalmology ---- */
.oph-crumb {
  padding-top: 22px;
  color: var(--sv-muted);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
}
.oph-crumb a:hover { color: var(--sv-purple); }
.oph-crumb span { color: var(--sv-purple); font-weight: 700; }

.oph-hero { padding: 34px 0 76px; background: var(--sv-cream); }
.oph-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .95fr);
  gap: clamp(34px, 5vw, 68px);
  align-items: center;
}
.oph-hero__grid > *,
.oph-split > *,
.oph-provider > *,
.oph-cta > * {
  min-width: 0;
}
.oph-hero__copy p {
  max-width: 610px;
  overflow-wrap: anywhere;
  color: var(--sv-ink-soft);
  font-size: 18px;
  line-height: 1.72;
}
.oph-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.oph-hero__media {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--sv-line);
  border-radius: 24px;
  background: var(--sv-white);
  box-shadow: 0 24px 60px -42px rgba(7, 24, 42, .55);
}
.oph-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}
.oph-badge {
  position: absolute;
  display: grid;
  gap: 1px;
  border: 1px solid rgba(21, 59, 99, .16);
  border-radius: 14px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 32px -22px rgba(7, 24, 42, .45);
}
.oph-badge strong {
  color: var(--sv-purple);
  font-family: "Playfair Display", serif;
  font-size: 23px;
  line-height: 1;
}
.oph-badge span {
  color: var(--sv-ink-soft);
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.oph-badge--top { top: 24px; left: 22px; }
.oph-badge--bottom { right: 22px; bottom: 22px; }

.oph-section { padding: 74px 0; background: var(--sv-white); }
.oph-section--lav { background: var(--sv-surface); }
.oph-section--cream { background: var(--sv-cream); }
.oph-section--white { background: var(--sv-white); }
.oph-head { max-width: 720px; margin-bottom: 34px; }
.oph-head--center { margin-right: auto; margin-left: auto; text-align: center; }
.oph-head p { color: var(--sv-ink-soft); }

.oph-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.oph-card {
  min-height: 230px;
  border: 1px solid var(--sv-line);
  border-radius: 8px;
  padding: 24px;
  background: var(--sv-white);
  box-shadow: 0 18px 40px -32px rgba(7, 24, 42, .45);
}
.oph-card i {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--sv-surface);
  color: var(--sv-purple);
  font-size: 20px;
}
.oph-card h3 { margin-bottom: 10px; font-size: 22px; }
.oph-card p { margin: 0; color: var(--sv-ink-soft); font-size: 15px; line-height: 1.65; }

.oph-split {
  display: grid;
  grid-template-columns: minmax(340px, .95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 5vw, 66px);
  align-items: center;
}
.oph-product {
  overflow: hidden;
  border: 1px solid var(--sv-line);
  border-radius: 20px;
  background: var(--sv-white);
  box-shadow: 0 22px 54px -42px rgba(7, 24, 42, .5);
}
.oph-product img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.oph-split p { color: var(--sv-ink-soft); }
.oph-split p,
.oph-card p,
.oph-step p,
.oph-provider p,
.oph-faq p,
.oph-cta p {
  overflow-wrap: anywhere;
}
.oph-list { display: grid; gap: 12px; margin-top: 22px; }
.oph-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--sv-ink);
}
.oph-list i { margin-top: 5px; color: var(--sv-orange); }

.oph-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.oph-step {
  position: relative;
  min-height: 210px;
  border: 1px solid var(--sv-line);
  border-radius: 8px;
  padding: 24px;
  background: var(--sv-white);
}
.oph-step strong {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--sv-purple);
  color: var(--sv-white);
  font-family: "Space Grotesk", sans-serif;
}
.oph-step h3 { margin-bottom: 9px; font-size: 20px; }
.oph-step p { margin: 0; color: var(--sv-ink-soft); font-size: 14px; line-height: 1.6; }

.oph-provider {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, 1.05fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  border: 1px solid var(--sv-line);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(135deg, var(--sv-white) 0%, var(--sv-surface) 100%);
}
.oph-provider p { color: var(--sv-ink-soft); }
.oph-provider__panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--sv-line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--sv-white);
}
.oph-provider__panel span {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 82px;
  padding: 18px;
  border-right: 1px solid var(--sv-line);
  border-bottom: 1px solid var(--sv-line);
  color: var(--sv-ink);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 14px;
}
.oph-provider__panel span:nth-child(2n) { border-right: 0; }
.oph-provider__panel span:nth-last-child(-n+2) { border-bottom: 0; }
.oph-provider__panel i { color: var(--sv-orange); }

.oph-faq {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}
.oph-faq details {
  border: 1px solid var(--sv-line);
  border-radius: 8px;
  background: var(--sv-white);
  overflow: hidden;
}
.oph-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  color: var(--sv-ink);
  font-weight: 700;
  list-style: none;
}
.oph-faq summary::-webkit-details-marker { display: none; }
.oph-faq summary::after {
  content: "+";
  color: var(--sv-orange);
  font-size: 23px;
  line-height: 1;
  transition: transform .2s ease;
}
.oph-faq details[open] summary::after { transform: rotate(45deg); }
.oph-faq p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--sv-ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.oph-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-radius: 24px;
  padding: clamp(32px, 4vw, 50px);
  background: var(--sv-grad-brand);
  box-shadow: 0 24px 70px rgba(7, 24, 42, .16);
  color: var(--sv-white);
}
.oph-cta h2,
.oph-cta p { color: var(--sv-white); }
.oph-cta p { max-width: 650px; margin-bottom: 0; }
.oph-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 980px) {
  .oph-hero__grid,
  .oph-split,
  .oph-provider,
  .oph-cta {
    grid-template-columns: 1fr;
  }
  .oph-card-grid,
  .oph-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .oph-cta__actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .oph-hero { padding-bottom: 56px; }
  .oph-hero__media,
  .oph-hero__media img { min-height: 300px; }
  .oph-section { padding: 56px 0; }
  .oph-card-grid,
  .oph-process,
  .oph-provider__panel {
    grid-template-columns: 1fr;
  }
  .oph-provider__panel span,
  .oph-provider__panel span:nth-child(2n),
  .oph-provider__panel span:nth-last-child(-n+2) {
    border-right: 0;
    border-bottom: 1px solid var(--sv-line);
  }
  .oph-provider__panel span:last-child { border-bottom: 0; }
  .oph-cta__actions { display: grid; }
}
