/* ============================================
   Design 1 — Premium Doctor / Eye Care UI
   Modern, trending: glass, gradients, bento, micro-interactions
   ============================================ */

:root {
  /*
   * Brand colors — taken from your logo (eye: aqua-blue, teal-blue, dark blue-grey).
   */
  --brand-primary: #0d9488;
  --brand-primary-light: #2dd4bf;
  --brand-primary-dark: #0f766e;

  /* Bootstrap: use logo teal everywhere */
  --bs-primary: #0d9488;
  --bs-primary-rgb: 13, 148, 136;

  /* Palette */
  --bg: #fafbfc;
  --bg-card: #ffffff;
  --bg-dark: #1e293b;
  --bg-dark-soft: #334155;
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: var(--brand-primary);
  --accent-light: var(--brand-primary-light);
  --accent-dark: var(--brand-primary-dark);
  --accent-muted: rgba(13, 148, 136, 0.12);
  --accent-rgb: 13, 148, 136;
  --accent-light-rgb: 45, 212, 191;
  --border: #e2e8f0;
  --border-focus: rgba(13, 148, 136, 0.4);

  /* Typography */
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing & radius */
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 60px -12px rgba(13, 148, 136, 0.25);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.25s;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  padding-top: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ----- Navbar: glass on scroll, visible text & hover ----- */
.navbar {
  transition: background-color var(--duration) var(--ease), backdrop-filter var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  background: transparent;
}

/* Over hero: light text so it’s visible on dark background */
.navbar:not(.navbar--scrolled) .nav-link:not(.nav-cta) {
  color: rgba(255, 255, 255, 0.95) !important;
}
.navbar:not(.navbar--scrolled) .nav-link:not(.nav-cta):hover {
  color: #fff !important;
}
.navbar:not(.navbar--scrolled) .navbar-brand,
.navbar:not(.navbar--scrolled) .navbar-brand-text {
  color: #fff !important;
}
.navbar:not(.navbar--scrolled) .nav-link::after {
  background: #fff;
}

.navbar--scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.navbar--scrolled .nav-link:not(.nav-cta) {
  color: var(--text) !important;
}
.navbar--scrolled .nav-link:not(.nav-cta):hover {
  color: var(--accent) !important;
}
.navbar--scrolled .nav-link::after {
  background: var(--accent);
}
.navbar--scrolled .navbar-logo {
  filter: none;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--text) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar--scrolled .navbar-brand-mark {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--border);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.12);
}

.navbar-logo {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.navbar-brand-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.35rem;
}

.nav-modern .nav-link {
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--duration) var(--ease);
  position: relative;
  padding: 0.4rem 0.6rem !important;
  border-radius: 6px;
}
.nav-modern .nav-link:hover {
  background: rgba(13, 148, 136, 0.08);
}
.navbar--scrolled .nav-modern .nav-link:hover {
  background: var(--accent-muted);
}
.navbar:not(.navbar--scrolled) .nav-modern .nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-modern .nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  transition: width var(--duration) var(--ease), left var(--duration) var(--ease);
}
.nav-modern .nav-link:hover::after {
  width: calc(100% - 0.75rem);
  left: 0.375rem;
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 9999px !important;
  margin-left: 0.5rem;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4);
}

.navbar-toggler {
  border-color: var(--border);
}

/* ----- Hero ----- */
.hero {
  padding-top: 5rem;
  background: var(--bg-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(13, 148, 136, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(30, 41, 59, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(13, 148, 136, 0.08) 0%, transparent 50%);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: blob-float 20s ease-in-out infinite;
}

.hero-blob-1 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero-blob-2 {
  width: 300px;
  height: 300px;
  background: var(--accent-light);
  bottom: 10%;
  left: -50px;
  animation-delay: -7s;
}

.hero-blob-3 {
  width: 200px;
  height: 200px;
  background: rgba(30, 41, 59, 0.8);
  top: 50%;
  right: 20%;
  animation-delay: -14s;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero .section-label {
  color: var(--accent-light);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-light) 0%, #5eead4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  max-width: 480px;
}

.btn-primary-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border: none;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

.btn-primary-modern:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.4);
  opacity: 0.98;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 9999px;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Hero image */
.hero-image-wrap {
  position: relative;
  display: inline-block;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08);
  min-height: 380px;
  background: var(--bg-dark-soft);
}

.hero-image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.4) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: var(--bg-dark-soft);
}

.hero-image-badge {
  position: absolute;
  bottom: 1.5rem;
  left: -1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--accent);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.hero-image-badge .tracking {
  letter-spacing: 0.08em;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

.hero-scroll:hover {
  color: var(--accent-light);
}

.hero-scroll-dot {
  width: 24px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 50%;
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ----- Section curve ----- */
.section-curve {
  height: 80px;
  background: var(--bg-dark);
  margin-bottom: -1px;
}

.section-curve--down {
  border-radius: 0 0 50% 50% / 0 0 30px 30px;
  background: #f1f5f9;
}

/* ----- Section labels & titles ----- */
.section {
  scroll-margin-top: 88px;
}

.section--light {
  background: #f1f5f9;
}

/* Services: white block so it’s clearly separate from About */
.section--white {
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.04);
}

/* About: subtle pattern so it’s clearly different from Services */
.section--about {
  position: relative;
  overflow: hidden;
}

.section--about::before {
  content: '';
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(700px 260px at 20% 0%, rgba(45, 212, 191, 0.20) 0%, transparent 60%),
    radial-gradient(560px 240px at 85% 35%, rgba(13, 148, 136, 0.12) 0%, transparent 60%),
    radial-gradient(500px 240px at 10% 95%, rgba(30, 41, 59, 0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.section--about .container {
  position: relative;
  z-index: 1;
}

/* Services: top glow line */
.section--services {
  position: relative;
}
.section--services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(13, 148, 136, 0.7) 50%, transparent 100%);
  opacity: 0.8;
}

.section--dark {
  background: var(--bg-dark);
}

.section-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-label--light {
  color: var(--accent-light);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0;
}

/* ----- Cards (modern) ----- */
.card-modern {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: 0 4px 4px 0;
  transition: height var(--duration) var(--ease);
}

.card-modern:hover {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-lg);
}

.card-modern:hover::before {
  height: 100%;
}

/* Quote card with image */
.card-quote {
  padding: 0;
  border-radius: var(--radius-lg);
}

.card-quote img {
  width: 100%;
  height: 260px;
  min-height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--border);
}

.card-quote-body {
  padding: 1.5rem 1.75rem;
  font-style: italic;
  color: var(--text-muted);
}

/* Checklist */
.checklist {
  font-size: 0.9375rem;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--accent-muted);
  color: var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.check::before {
  content: '✓';
}

/* ----- Bento grid (services) ----- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .bento-item--large {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 991px) {
  .bento {
    grid-template-columns: 1fr;
  }

  .bento-item--large {
    grid-column: span 1;
    grid-row: span 1;
  }
}

.card-service {
  text-decoration: none !important;
  color: inherit;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
}

.card-service:hover {
  color: inherit;
}

.card-service-icon {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.card-service-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.card-service-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: auto;
  flex-grow: 1;
}

.card-service-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 1rem;
  display: inline-block;
  transition: transform var(--duration) var(--ease);
}

.card-service:hover .card-service-link {
  transform: translateX(4px);
}

/* Specialty cards (dark section) */
.card-specialty {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  padding: 1.75rem;
}

.card-specialty::before {
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--accent) 100%);
}

.card-specialty:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.card-specialty-icon {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-light);
  display: block;
  margin-bottom: 0.75rem;
}

.card-specialty-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ----- Publications: Research block (distinct) ----- */
.section--publications {
  /* Differentiate publications with purple accent ONLY in this section */
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --accent-dark: #5b21b6;
  --accent-rgb: 124, 58, 237;
  --accent-light-rgb: 167, 139, 250;

  position: relative;
  background: linear-gradient(135deg, #0b1220 0%, var(--bg-dark) 60%, #0b1220 100%);
  color: #fff;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.section--publications::before {
  content: '';
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(700px 320px at 10% 20%, rgba(var(--accent-light-rgb), 0.24) 0%, transparent 60%),
    radial-gradient(640px 320px at 85% 20%, rgba(var(--accent-rgb), 0.18) 0%, transparent 60%),
    radial-gradient(520px 280px at 55% 110%, rgba(var(--accent-light-rgb), 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.section--publications .container {
  position: relative;
  z-index: 1;
}
.section--publications .section-label {
  color: rgba(255, 255, 255, 0.75);
}
.section--publications .section-title,
.section--publications h3,
.section--publications h2 {
  color: #fff;
}
.section--publications .text-muted {
  color: rgba(255, 255, 255, 0.72) !important;
}
.section--publications .card-publication {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card-publication {
  padding: 1.75rem 2rem;
}

/* ----- Insurance partners: compact strip (distinct) ----- */
.section--insurance {
  position: relative;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.10) 0%, rgba(var(--accent-rgb), 0.03) 40%, rgba(30, 41, 59, 0.03) 100%);
  border-top: 1px solid rgba(var(--accent-rgb), 0.25);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.25);
  overflow: hidden;
}
.section--insurance::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  transform: translateX(-120%);
  animation: shimmer 5.5s linear infinite;
  pointer-events: none;
}
@keyframes shimmer {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
.section--insurance .insurance-partner {
  background: #fff;
  border: 2px solid var(--border-focus);
  padding: 0.5rem 1.25rem;
  color: var(--accent-dark);
  box-shadow: var(--shadow);
}

/* ----- Testimonials: quote-focused (distinct) ----- */
.section--testimonials {
  position: relative;
  background: radial-gradient(900px 420px at 15% 10%, rgba(var(--accent-light-rgb), 0.16) 0%, transparent 60%),
              radial-gradient(760px 420px at 85% 35%, rgba(var(--accent-rgb), 0.12) 0%, transparent 60%),
              linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  overflow: hidden;
}
.section--testimonials::before {
  content: '“';
  position: absolute;
  top: -40px;
  right: 6%;
  font-family: var(--font-heading);
  font-size: 220px;
  line-height: 1;
  color: rgba(var(--accent-rgb), 0.10);
  pointer-events: none;
}
.section--testimonials .section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
.section--testimonials .card-testimonial {
  background: #fff;
  border: 2px solid var(--border);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}
.section--testimonials .card-testimonial--featured {
  border-color: var(--accent);
  box-shadow: 0 18px 46px rgba(var(--accent-rgb), 0.16);
}
.section--testimonials .card-testimonial blockquote {
  font-size: 1.125rem;
  color: var(--text);
}

/* ----- Scroll reveal: section transition effects ----- */
.section-reveal .reveal-content {
  opacity: 0;
  transform: translateY(44px) scale(0.985);
  filter: blur(10px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
}
.section-reveal.in-view .reveal-content {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.section-reveal .reveal-content .reveal-content {
  transition-delay: inherit;
}

/* ----- Stats strip ----- */
.stats-strip {
  background: var(--bg-dark);
  color: #fff;
}

.stats-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #fff;
}

.stats-strip .gradient-text {
  background: linear-gradient(135deg, var(--accent-light) 0%, #5eead4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

/* ----- Testimonials ----- */
.card-testimonial {
  padding: 1.75rem 2rem;
}

.card-testimonial--featured {
  border-color: var(--accent-muted);
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(248,250,252,1) 100%);
}

.card-testimonial blockquote {
  font-size: 1.0625rem;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  border: none;
}

.card-testimonial .stars {
  color: #f59e0b;
  letter-spacing: 0.15em;
  font-size: 1rem;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-muted);
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ----- Contact cards ----- */
.card-contact {
  padding: 1.5rem 1.75rem;
}

.card-contact-icon {
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 0.5rem;
}

.link-accent {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

.link-accent:hover {
  color: var(--accent-dark);
}

/* Credentials line */
.credentials {
  font-size: 0.9375rem;
}

.credentials-inline {
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

/* Qualification chips (about section) */
.qual-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.qual-chip {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.28rem 0.85rem;
  background: var(--accent-muted);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 999px;
  transition: background 0.18s, color 0.18s;
}
.qual-chip:hover {
  background: var(--accent);
  color: #fff;
}

.insurance-partner {
  font-size: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius);
  background: var(--accent-muted);
  color: var(--accent);
}

/* ----- Footer ----- */
.footer {
  background: #020617;
  color: #fff;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0;
}

.footer-heading {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

.footer-links a:hover {
  color: var(--accent-light);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.08);
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ----- Buttons (global overrides for section--dark) ----- */
.section--dark .btn-ghost {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.3);
}

.section--dark .btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ----- Responsive ----- */
@media (max-width: 991.98px) {
  .hero-image-wrap {
    max-width: 380px;
    margin: 0 auto;
  }

  .hero-image-badge {
    left: 1rem;
    bottom: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }

  .btn-primary-modern,
  .btn-ghost {
    padding: 0.65rem 1.35rem;
    font-size: 0.9375rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}
