/* ==========================================================================
   Dr. Sunil Shah Eye Hospital — Stylesheet
   Palette:  navy #0F2C4C · blue #1D6FA8 · sky #4FB6E8 · mist #EEF4F8
             ink #1B2733 · coral #E8734F (sparing CTA accent)
   Type:     Fraunces (display) / Inter (body) / IBM Plex Mono (data, chart)
   ========================================================================== */

:root {
  --navy: #0F2C4C;
  --navy-dark: #0A1F38;
  --blue: #1D6FA8;
  --blue-light: #2C86C7;
  --sky: #4FB6E8;
  --mist: #EEF4F8;
  --paper: #FBFDFE;
  --ink: #1B2733;
  --ink-soft: #5A6B78;
  --line: #D9E4EC;
  --coral: #E8734F;
  --coral-dark: #D25A37;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(15, 44, 76, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 44, 76, 0.10);
  --container: 1140px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-block;
  margin-bottom: 14px;
}
:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--coral-dark); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-outline { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ---------- Site header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 253, 254, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.2;
}
.brand-name small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--blue);
  text-transform: uppercase;
}
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { background: var(--mist); color: var(--blue); }
.main-nav a.active { background: var(--navy); color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--navy);
  display: none;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
}

@media (min-width: 860px) {
  .nav-phone { display: inline; }
}
@media (max-width: 859px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 24px 20px; gap: 2px; }
  .nav-toggle { display: block; }
  .btn.nav-book { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 90px;
  background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 span { color: var(--blue); }
.hero-lede { font-size: 1.12rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-actions .btn-outline { border-color: var(--navy); color: var(--navy); }
.hero-actions .btn-outline:hover { background: var(--navy); color: #fff; }

.chart-line {
  font-family: var(--font-mono);
  letter-spacing: 0.3em;
  color: var(--ink-soft);
  margin-top: 34px;
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}
.chart-line b {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
}
.chart-line .l1 { font-size: 2.1rem; }
.chart-line .l2 { font-size: 1.5rem; }
.chart-line .l3 { font-size: 1.05rem; }
.chart-line .l4 { font-size: 0.8rem; }

.iris-figure {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 380px;
  margin: 0 auto;
}
.iris-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.iris-ring.r2 { inset: 40px; border-color: rgba(29,111,168,0.25); }
.iris-ring.r3 { inset: 80px; border-color: rgba(29,111,168,0.4); animation: spin 40s linear infinite; }
.iris-core {
  position: absolute;
  inset: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--sky), var(--blue) 60%, var(--navy) 100%);
  box-shadow: 0 0 0 10px rgba(255,255,255,0.7), var(--shadow-md);
}
.iris-core::after {
  content: "";
  position: absolute;
  inset: 32%;
  background: var(--navy-dark);
  border-radius: 50%;
}
.iris-core::before {
  content: "";
  position: absolute;
  width: 22%;
  height: 22%;
  top: 18%;
  left: 24%;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  filter: blur(1px);
  z-index: 2;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Stats strip ---------- */
.stats {
  background: var(--navy);
  color: #fff;
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-mono);
  font-size: 2rem;
  color: var(--sky);
}
.stat span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Section spacing ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 60px 0; }
.section-alt { background: var(--mist); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* ---------- Cards / services ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 1.1rem;
}
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }
.card-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
}

/* ---------- Why-us list (eye-chart markers) ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.why-list li {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.why-list li:first-child { padding-top: 0; }
.why-mark {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--sky);
  background: var(--navy);
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.why-copy h4 { font-family: var(--font-body); color: var(--navy); margin: 0 0 4px; font-size: 1.02rem; }
.why-copy p { margin: 0; font-size: 0.92rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--blue);
  background: linear-gradient(120deg, var(--blue) 0%, var(--navy) 100%);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 52ch; margin: 0 auto 28px; }

/* ---------- Timeline (About) ---------- */
.timeline { border-left: 2px solid var(--line); margin-left: 6px; }
.timeline li { position: relative; padding: 4px 0 32px 28px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sky);
  border: 2px solid var(--navy);
}
.timeline b { font-family: var(--font-mono); color: var(--blue); display: block; font-size: 0.9rem; }

/* ---------- Doctor profile ---------- */
.profile {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.profile-portrait {
  aspect-ratio: 4/5;
  border-radius: var(--radius-sm);
  background: linear-gradient(150deg, var(--mist), var(--sky) 130%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
}
.profile-cred {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 999px;
  padding: 4px 12px;
  margin: 4px 8px 4px 0;
}

/* ---------- Services detail page ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 26px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-row:last-child { border-bottom: none; }
.service-num {
  font-family: var(--font-mono);
  color: var(--sky);
  background: var(--navy);
  border-radius: var(--radius-sm);
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.info-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:last-child { border-bottom: none; }
.info-list .ic {
  font-family: var(--font-mono);
  color: var(--blue);
  font-weight: 700;
  min-width: 26px;
}
.map-frame {
  width: 100%;
  height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 20px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: #fff;
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(29,111,168,0.15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-error {
  color: var(--coral-dark);
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: var(--coral); }
.field.invalid .field-error { display: block; }
.form-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 10px;
}
#form-success {
  display: none;
  background: #EAF6EE;
  border: 1px solid #B7E0C4;
  color: #1E6B3A;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.92rem;
}
#form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.82); padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 42px; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; max-width: 32ch; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.footer-col a:hover { color: var(--sky); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background: var(--navy);
  color: #fff;
  padding: 56px 0 44px;
  text-align: center;
}
.page-banner .eyebrow { color: var(--sky); }
.page-banner h1 { color: #fff; margin-bottom: 8px; }
.page-banner p { color: rgba(255,255,255,0.75); max-width: 50ch; margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .iris-figure { order: -1; max-width: 240px; }
  .why-grid { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; }
  .profile-portrait { max-width: 220px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 60px 1fr; }
  .service-num { width: 60px; height: 60px; font-size: 1.1rem; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .chart-line .l3, .chart-line .l4 { display: none; }
}

/* ==========================================================================
   Services page addendum
   ========================================================================== */

/* ---------- Diagnostic workup cards ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.detail-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.detail-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.detail-card h4 {
  font-family: var(--font-body);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.detail-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-card li {
  position: relative;
  padding-left: 20px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.detail-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sky);
  border: 2px solid var(--navy);
}

/* ---------- Equipment tech-pills ---------- */
.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-pills li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 18px;
  background: var(--paper);
  border: 1px solid var(--blue);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--navy);
}

.tech-pills li small {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

@media (max-width: 560px) {
  .detail-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   Homepage additions: Meet the Doctor, Technology, Testimonials,
   Gallery/Facility, FAQ.
   ========================================================================== */

/* ---------- Meet the Doctor (fills existing .profile component) ---------- */
.profile-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.profile-creds {
  margin: 18px 0 4px;
}

.profile-actions {
  margin-top: 22px;
}

/* ---------- Technology (center modifier for existing .tech-pills) ---------- */
.tech-pills.center {
  justify-content: center;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.testimonial-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 26px;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 14px;
  left: 22px;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--sky);
  opacity: 0.55;
}

.testimonial-quote {
  position: relative;
  font-style: italic;
  color: var(--ink);
  font-size: 0.98rem;
  margin: 10px 0 20px;
  padding-top: 6px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.testimonial-name {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

.testimonial-role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--blue);
}

/* ---------- Gallery / Facility ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-item {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.gallery-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption {
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 30px 16px 0;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.98rem;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--blue);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin: 0 0 18px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .testimonial-card::before { font-size: 2.4rem; }
}

/* ==========================================================================
   VISUAL UPGRADE LAYER
   Deeper hero atmosphere, richer motion, refined hover states.
   Appended after the base sheet — same tokens, higher-specificity /
   later-cascade rules only, so nothing above needs to change.
   ========================================================================== */

::selection { background: var(--sky); color: var(--navy-dark); }

/* ---------- Buttons: shine sweep + arrow nudge ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  box-shadow: 0 4px 14px rgba(232, 115, 79, 0.28);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--coral-dark) 0%, #b8492e 100%);
  box-shadow: 0 10px 26px rgba(232, 115, 79, 0.38);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.35) 40%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-outline:hover, .btn-primary:hover { transform: translateY(-3px); }

/* ---------- Hero: ambient light + scanning beam ---------- */
.hero {
  background:
    radial-gradient(560px 360px at 82% -6%, rgba(79,182,232,0.20), transparent 70%),
    radial-gradient(420px 320px at 6% 108%, rgba(29,111,168,0.12), transparent 70%),
    linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sky), transparent);
  opacity: 0.5;
}
.hero-copy h1 { letter-spacing: -0.01em; }
.hero-lede { color: var(--ink); }

.chart-line { position: relative; padding-top: 18px; }
.chart-line::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 46px;
  height: 1px;
  background: var(--sky);
}

/* Iris gets more optical depth + a slow ambient pulse + scan sweep */
.iris-figure { filter: drop-shadow(0 24px 40px rgba(15,44,76,0.14)); }
.iris-ring.r3 {
  animation: spin 40s linear infinite, pulse-ring 4.5s ease-in-out infinite;
}
.iris-core {
  box-shadow: 0 0 0 10px rgba(255,255,255,0.7), 0 0 46px rgba(79,182,232,0.35), var(--shadow-md);
  animation: iris-breathe 6s ease-in-out infinite;
}
.iris-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(79,182,232,0.28) 12deg, transparent 30deg);
  animation: sweep 5s linear infinite;
  mix-blend-mode: screen;
}
@keyframes pulse-ring { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes iris-breathe {
  0%, 100% { box-shadow: 0 0 0 10px rgba(255,255,255,0.7), 0 0 46px rgba(79,182,232,0.35), var(--shadow-md); }
  50% { box-shadow: 0 0 0 10px rgba(255,255,255,0.7), 0 0 64px rgba(79,182,232,0.5), var(--shadow-md); }
}
@keyframes sweep { to { transform: rotate(360deg); } }

/* ---------- Stats: quiet dividers + lift ---------- */
.stats { position: relative; }
.stats::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px 200px at 50% 0%, rgba(79,182,232,0.10), transparent 70%);
  pointer-events: none;
}
.stat { position: relative; padding: 0 12px; transition: transform 0.25s ease; }
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px; top: 8px; bottom: 8px;
  width: 1px;
  background: rgba(255,255,255,0.14);
}
.stat:hover { transform: translateY(-2px); }
.stat b { text-shadow: 0 0 24px rgba(79,182,232,0.45); }

/* ---------- Section head: signature tick under eyebrow ---------- */
.section-head { position: relative; }
.section-head .eyebrow { position: relative; padding-bottom: 14px; }
.section-head .eyebrow::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 34px; height: 2px;
  background: var(--sky);
}

/* ---------- Cards: top accent reveal + ring icon ---------- */
.card {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover::before { transform: scaleX(1); }
.card:hover { border-color: rgba(79,182,232,0.4); }
.card-icon {
  border: 1.5px solid var(--line);
  background: var(--paper);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.card:hover .card-icon {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--sky);
  transform: scale(1.06);
}
.card-link { position: relative; transition: gap 0.2s ease; }
.card:hover .card-link { color: var(--blue-light); }

/* ---------- Why list: accent bar on hover ---------- */
.why-list li { position: relative; transition: padding-left 0.2s ease; }
.why-list li:hover { padding-left: 8px; }
.why-mark { transition: background 0.25s ease, transform 0.25s ease; }
.why-list li:hover .why-mark { background: var(--blue); transform: rotate(-4deg); }

/* ---------- Profile: subtle frame glow ---------- */
.profile { box-shadow: var(--shadow-sm); }
.profile-portrait { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); position: relative; overflow: hidden; }

/* ---------- Testimonials: colored lift on hover ---------- */
.testimonial-card { transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease; }
.testimonial-card:hover {
  box-shadow: 0 14px 34px rgba(15,44,76,0.12);
  transform: translateY(-4px);
  border-color: rgba(79,182,232,0.35);
}

/* ---------- Gallery: zoom + caption glow ---------- */
.gallery-item img { transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption { transition: color 0.2s ease; }
.gallery-item:hover figcaption { color: var(--blue); }

/* ---------- FAQ: hover + open-state accent ---------- */
.faq-item { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.faq-item:hover { border-color: rgba(79,182,232,0.45); }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: rgba(29,111,168,0.35); }
.faq-item summary { transition: color 0.2s ease; }
.faq-item:hover summary { color: var(--blue); }

/* ---------- CTA banner: dot-grid texture + glow ---------- */
.cta-banner { position: relative; overflow: hidden; }
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
}
.cta-banner::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,182,232,0.35), transparent 70%);
  top: -180px; right: -100px;
  filter: blur(10px);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner .btn-primary { box-shadow: 0 10px 28px rgba(0,0,0,0.25); }

/* ---------- Tech pills: gentle hover ---------- */
.tech-pills li { transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.tech-pills li:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }
.tech-pills li:hover small { color: rgba(255,255,255,0.7); }

@media (prefers-reduced-motion: reduce) {
  .iris-ring.r3, .iris-core, .iris-figure::after, .btn-primary::after { animation: none !important; }
}