/* ==========================================================================
   ANNANDRIS — EDITORIAL LUXURY CLINIC (v5)
   A warm, printed-luxury healthcare identity. Bone and cream surfaces,
   deep medical teal, antique-gold hairline accents, Fraunces serif display
   type paired with clean Roboto body. Calm, premium, trustworthy.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens — light is the default (LIGHT)
   -------------------------------------------------------------------------- */
:root {
  --bg: #f6f3ec;
  --canvas: #fbf9f4;
  --panel: #fffdf9;
  --panel-2: #efe9dd;
  --panel-3: #e4dcc9;
  --line: #e0d8c6;
  --line-2: #c7bda4;
  --ink: #20302e;
  --ink-soft: rgba(32, 48, 46, .92);
  --muted: #6d7166;
  --brand: #b82020;
  --brand-deep: #941a1a;
  --brand-rgb: 184, 32, 32;
  --brand-tint: rgba(184, 32, 32, .08);
  --gold: #b99452;
  --gold-soft: #d6b877;
  --green: #b82020;
  --bg-deep: #e9e2d2;
  --chips-bg: #fffdf9;
  --chips-tint: rgba(255, 253, 249, .9);
  --nav-bg: rgba(251, 249, 244, .88);
  --nav-bg-scrolled: rgba(255, 253, 249, .97);
  --overlay-dim: rgba(40, 26, 27, .55);
  --slide-vignette: linear-gradient(102deg, rgba(246, 243, 236, .98) 0%, rgba(246, 243, 236, .86) 46%, rgba(246, 243, 236, .02) 100%);
  --hero-bg: radial-gradient(1100px 480px at 84% -8%, rgba(184, 32, 32, .09), transparent 62%),
    radial-gradient(820px 400px at -8% 30%, rgba(185, 148, 82, .08), transparent 60%);
  --shadow: 0 22px 48px rgba(96, 82, 52, .14);
  --shadow-sm: 0 12px 28px rgba(96, 82, 52, .11);
  --shadow-xs: 0 6px 18px rgba(96, 82, 52, .08);
  --r: 18px;
  --r-sm: 10px;
  --r-lg: 26px;
  --font-head: 'Fraunces', 'Georgia', serif;
  --font-body: 'Roboto', sans-serif;
  --font-mono: 'Roboto', sans-serif;
  --btn-invert: #ffffff;
}
[data-theme="dark"] {
  --bg: #0d1717;
  --canvas: #111d1c;
  --panel: #162422;
  --panel-2: #1b2c2a;
  --panel-3: #233834;
  --line: #27403c;
  --line-2: #3a5c55;
  --ink: #f0f3eb;
  --ink-soft: rgba(240, 243, 235, .93);
  --muted: #a9b3a9;
  --brand: #e05555;
  --brand-deep: #ef6e6e;
  --brand-rgb: 224, 85, 85;
  --brand-tint: rgba(224, 85, 85, .14);
  --gold: #d3a75c;
  --gold-soft: #e4c684;
  --green: #e05555;
  --bg-deep: #0a1212;
  --chips-bg: #162422;
  --chips-tint: rgba(10, 18, 18, .88);
  --nav-bg: rgba(13, 23, 23, .9);
  --nav-bg-scrolled: rgba(10, 18, 18, .97);
  --overlay-dim: rgba(5, 11, 10, .7);
  --slide-vignette: linear-gradient(102deg, rgba(13, 23, 23, .98) 0%, rgba(13, 23, 23, .85) 46%, rgba(13, 23, 23, .02) 100%);
  --hero-bg: radial-gradient(1100px 480px at 84% -8%, rgba(224, 85, 85, .14), transparent 62%),
    radial-gradient(820px 400px at -8% 30%, rgba(211, 167, 92, .06), transparent 60%);
  --shadow: 0 22px 46px rgba(0, 0, 0, .45);
  --shadow-sm: 0 12px 26px rgba(0, 0, 0, .34);
  --shadow-xs: 0 6px 16px rgba(0, 0, 0, .26);
}

/* --------------------------------------------------------------------------
   2. Base — warm paper + editorial type
   -------------------------------------------------------------------------- */
* { -webkit-box-sizing: border-box; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
  background-color: var(--bg);
  background-image: var(--hero-bg);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}
/* subtle paper grain (light mode only) */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
[data-theme="dark"] body::before { display: none; }
body > * { position: relative; z-index: 1; }

a { color: var(--brand); text-decoration: none; -webkit-transition: color .18s ease; transition: color .18s ease; }
a:hover { color: var(--brand-deep); }
::selection { background: var(--gold-soft); color: var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.18;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.55rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
p { color: var(--ink-soft); }

.text-primary { color: var(--brand) !important; }
.text-muted { color: var(--muted) !important; }
.text-light { color: #f3f6f2 !important; }

/* Editorial marker before block headings */
h3::before, h4::before {
  content: "";
  display: inline-block;
  width: 20px; height: 2px;
  margin-right: .6rem;
  border-radius: 2px;
  background: var(--gold);
  vertical-align: middle;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   3. Eyebrow kicker — letterspaced gold label
   -------------------------------------------------------------------------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--gold);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .74rem;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: .8;
}
.kicker::after { content: ""; }

/* --------------------------------------------------------------------------
   4. Buttons — pill keys, serif luxury pairing
   -------------------------------------------------------------------------- */
.btn {
  border-radius: 50rem;
  letter-spacing: .06em;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .85rem;
  border: 1px solid transparent;
  -webkit-transition: all .22s ease;
  transition: all .22s ease;
}
.btn-primary, .btn-danger {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(var(--brand-rgb), .3);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.btn-danger:hover, .btn-danger:focus, .btn-danger:active {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(var(--brand-rgb), .34);
}
.btn-outline-primary {
  color: var(--brand);
  border: 1px solid var(--gold);
  background: transparent;
}
.btn-outline-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(185, 148, 82, .3);
}
.btn-light { background: var(--panel-2); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-xs); }
.btn-light:hover { background: var(--gold); color: #fff; border-color: var(--gold); transform: translateY(-1px); }
.btn-outline-light { border: 1px solid rgba(255, 255, 255, .6); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--brand); }
.btn-ghost-red { color: var(--brand); font-family: var(--font-mono); font-weight: 500; font-size: .85rem; }
.btn-ghost-red:hover { color: var(--brand-deep); }

/* --------------------------------------------------------------------------
   5. Loader
   -------------------------------------------------------------------------- */
#spinner { z-index: 99999; background: var(--bg) !important; transition: opacity .3s ease, visibility .3s ease; }
#spinner.show { opacity: 1; visibility: visible; }
#spinner:not(.show) { opacity: 0; visibility: hidden; pointer-events: none; }
#spinner .spinner-grow { width: 2.4rem; height: 2.4rem; color: var(--gold); border-width: .35em; }

/* --------------------------------------------------------------------------
   6. Sections — soft tonal alternation, hairline rules
   -------------------------------------------------------------------------- */
.sec { padding: 96px 0; position: relative; }
.sec-ivory { background: var(--canvas); }
.sec-white { background: var(--panel); }
.sec-charcoal { background: var(--bg-deep); }
.sec::before, .sec::after { content: none; }
.sec h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }

/* Flush editorial section header */
.sec > .container > .text-center.mx-auto.mb-5 {
  max-width: none !important;
  text-align: left;
  position: relative;
  margin-bottom: 2.9rem !important;
  padding: .35rem 0 1.45rem 0;
  border-bottom: 1px solid var(--line);
}
.sec > .container > .text-center.mx-auto.mb-5::before {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 90px; height: 3px;
  background: var(--gold);
}
.sec > .container > .text-center.mx-auto.mb-5 > .kicker { margin-bottom: .55rem; }
.sec > .container > .text-center.mx-auto.mb-5 > h1 {
  margin-top: 0 !important;
  margin-bottom: .65rem !important;
  font-weight: 500;
}
.sec > .container > .text-center.mx-auto.mb-5 > p {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
  font-size: 1.02rem;
}

/* --------------------------------------------------------------------------
   7. Topbar — deep teal ribbon with gold icons
   -------------------------------------------------------------------------- */
.topbar {
  background: #46201f;
  border-bottom: 1px solid rgba(214, 184, 119, .25);
  color: rgba(240, 243, 235, .85);
  font-size: .8rem;
  letter-spacing: .04em;
  position: relative;
  z-index: 1040;
}
.topbar small { color: rgba(240, 243, 235, .82); }
.topbar .btn-link { color: rgba(240, 243, 235, .8); }
.topbar .btn-link:hover { color: var(--gold-soft); }

/* --------------------------------------------------------------------------
   8. Navbar — translucent paper, gold active ink
   -------------------------------------------------------------------------- */
.main-nav {
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  z-index: 1030;
  -webkit-transition: background .25s ease, box-shadow .25s ease;
  transition: background .25s ease, box-shadow .25s ease;
}
.main-nav.scrolled { background: var(--nav-bg-scrolled); box-shadow: var(--shadow-xs); }
.navbar-light .navbar-nav .nav-link {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-left: .3rem;
  padding-left: .4rem;
  padding-right: .4rem;
  position: relative;
}
.navbar-light .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: .4rem; right: .4rem; bottom: 4px;
  height: 1px;
  background: var(--gold);
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: left;
  transform-origin: left;
  -webkit-transition: -webkit-transform .22s ease;
  transition: transform .22s ease;
}
.navbar-light .navbar-nav .nav-link:hover { color: var(--brand); }
.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after { -webkit-transform: scaleX(1); transform: scaleX(1); }
.navbar-light .navbar-nav .nav-link.active { color: var(--brand); font-weight: 600; }
.navbar-light .navbar-toggler { border-color: var(--line-2); border-radius: var(--r-sm); }
.dropdown-menu {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 1px solid var(--gold);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow);
  padding: .35rem;
}
.dropdown-item {
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: .83rem;
  letter-spacing: .03em;
  border-radius: var(--r-sm);
  padding: .5rem .9rem;
}
.dropdown-item:hover, .dropdown-item:focus, .dropdown-item.active { background: var(--brand-tint); color: var(--ink); }
.dropdown-toggle::after { margin-left: .4rem; vertical-align: .12em; }

/* --------------------------------------------------------------------------
   9. Home hero — editorial split, warm and airy
   -------------------------------------------------------------------------- */
.hero-sec {
  position: relative; overflow: hidden;
  background-color: var(--bg);
  background-image: var(--hero-bg);
  background-repeat: no-repeat;
  padding: 0 !important;
}
.hero-sec::before { content: none; }
.hero-sec #heroCarousel .carousel-inner, .hero-sec #heroCarousel .carousel-item { min-height: 80vh; }
.hero-sec #heroCarousel .carousel-item { min-height: 80vh; position: relative; }
.hero-sec #heroCarousel .carousel-item .slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: 74% center;
  background-repeat: no-repeat;
  opacity: .5;
  -webkit-mask-image: linear-gradient(115deg, transparent 8%, #000 62%);
  mask-image: linear-gradient(115deg, transparent 8%, #000 62%);
}
.hero-sec #heroCarousel .carousel-item:nth-child(1) .slide-bg { background-image: url("../img/banner1.png"); }
.hero-sec #heroCarousel .carousel-item:nth-child(2) .slide-bg { background-image: url("../img/banner2.png"); }
.hero-sec #heroCarousel .carousel-item:nth-child(3) .slide-bg { background-image: url("../img/banner3.png"); }
.hero-sec #heroCarousel .carousel-item .slide-bg::after {
  content: ""; position: absolute; inset: 0;
  background: var(--slide-vignette);
}
.hero-sec .slide-content { position: relative; z-index: 2; min-height: 80vh; display: flex; align-items: center; }
.hero-sec .slide-copy { position: relative; padding: 2.2rem 0 2.6rem .4rem; }
.hero-sec .slide-copy::before {
  content: "";
  position: absolute; left: .4rem; top: 0;
  width: 1px; height: 96px;
  background: var(--gold);
  opacity: .7;
}
.hero-sec .slide-copy h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: .9rem;
  position: relative;
}
.hero-sec .slide-copy h1::after {
  content: "";
  position: absolute;
  left: 0; bottom: -.65rem;
  width: 130px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.hero-sec .slide-copy h1 em { font-style: italic; color: var(--brand); }
.hero-sec .slide-copy .lead-ink {
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 32rem;
  margin-top: 1.1rem;
}
.hero-sec .slide-copy .d-flex .btn { box-shadow: var(--shadow-xs); }
/* Round seal: hairline + slowly rotating gold dashed ring */
.hero-sec .slide-rail {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  min-height: 460px;
}
.hero-sec .slide-rail::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 452px; height: 452px;
  border: 1px solid var(--line-2);
}
.hero-sec .slide-rail::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 516px; height: 516px;
  border: 1px dashed var(--gold);
  opacity: .55;
  -webkit-animation: ringSpin 46s linear infinite;
  animation: ringSpin 46s linear infinite;
}
.hero-sec .slide-rail .seal {
  width: 316px; height: 316px;
  border-radius: 50%;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative; z-index: 2;
}
.hero-sec .slide-rail .seal img { width: 100%; height: 100%; object-fit: cover; opacity: .96; }
/* carousel chrome */
.hero-sec .carousel-indicators { margin-bottom: 1.4rem; align-items: center; }
.hero-sec .carousel-indicators [data-bs-target] { width: 26px; height: 2px; border: 0; border-radius: 2px; background: var(--line-2); }
.hero-sec .carousel-indicators .active { background: var(--gold); width: 42px; }
.hero-sec .carousel-control-prev, .hero-sec .carousel-control-next {
  width: 46px; height: 46px; top: auto; bottom: 1.3rem; transform: none;
  background: var(--panel);
  border-radius: 50%;
  border: 1px solid var(--line-2);
  opacity: 1;
  box-shadow: var(--shadow-xs);
}
.hero-sec .carousel-control-prev { right: 5.6rem; left: auto; }
.hero-sec .carousel-control-next { right: 1.2rem; }
.hero-sec .carousel-control-prev-icon { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23b82020' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3E%3C/svg%3E"); }
.hero-sec .carousel-control-next-icon { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23b82020' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3E%3C/svg%3E"); }
.hero-sec .carousel-control-prev:hover, .hero-sec .carousel-control-next:hover { background: var(--gold); border-color: var(--gold); }
.hero-sec .carousel-control-prev:hover .carousel-control-prev-icon { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3E%3C/svg%3E"); }
.hero-sec .carousel-control-next:hover .carousel-control-next-icon { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3E%3C/svg%3E"); }
.hero-sec .carousel-control-prev-icon, .hero-sec .carousel-control-next-icon { width: 1rem; height: 1rem; }

/* Care ribbon under hero — serif values, hairline dividers */
.hero-ticker {
  position: relative; z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--canvas);
  border-top: 1px solid var(--line);
}
.hero-ticker span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .05rem;
  min-height: 88px;
  padding: .7rem 1.4rem;
  border-right: 1px solid var(--line);
}
.hero-ticker span:last-child { border-right: 0; }
.hero-ticker span::before {
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-ticker span::after {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--ink);
}
.hero-ticker span:nth-child(1)::before { content: "\2713 CARE"; color: var(--green); }
.hero-ticker span:nth-child(1)::after { content: "PATIENT FIRST"; color: var(--brand); font-style: italic; }
.hero-ticker span:nth-child(2)::before { content: "EXPERIENCE"; }
.hero-ticker span:nth-child(2)::after { content: "25+ YEARS"; }
.hero-ticker span:nth-child(3)::before { content: "OUR TEAM"; }
.hero-ticker span:nth-child(3)::after { content: "SPECIALISTS"; }
.hero-ticker span:nth-child(4)::before { content: "SERVICE"; }
.hero-ticker span:nth-child(4)::after { content: "24 / 07"; color: var(--brand); font-style: italic; }
.hero-ticker span:nth-child(5)::before { content: "FOOTPRINT"; }
.hero-ticker span:nth-child(5)::after { content: "UK & NIGERIA"; }

/* --------------------------------------------------------------------------
   10. Stat card (25+ Years Experience)
   -------------------------------------------------------------------------- */
.stat-strip { position: relative; margin-top: -2.1rem; z-index: 5; }
.stat-card {
  display: flex; align-items: center; gap: 1.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.8rem;
}
.stat-card .stat-num {
  font-family: var(--font-head);
  font-size: 2.9rem;
  font-weight: 500;
  line-height: 1;
  color: var(--brand);
  font-variant-numeric: lining-nums;
}
.stat-card .stat-kicker h6 {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .15rem;
}
.stat-card .stat-kicker p { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); margin: 0; letter-spacing: .06em; }

/* --------------------------------------------------------------------------
   11. About split — layered editorial photos
   -------------------------------------------------------------------------- */
.about-media { position: relative; }
.about-media .media-main {
  width: 82%;
  border-radius: 180px 180px var(--r-lg) var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 4 / 4.7;
}
.about-media .media-main img { width: 100%; height: 100%; object-fit: cover; }
.about-media .media-floater {
  position: absolute;
  right: 0; bottom: -2.2rem;
  width: 44%;
  border-radius: var(--r);
  border: 5px solid var(--bg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.about-media .media-floater img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-media .media-badge {
  position: absolute;
  left: -1rem; top: 2.4rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--r);
  padding: .95rem 1.15rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  min-width: 124px;
}
.about-media .media-badge .media-badge-num {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--brand);
  font-variant-numeric: lining-nums;
}
.about-media .media-badge div:not(.media-badge-num) {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: .15rem;
}
.about-media .media-sq {
  position: absolute;
  right: 10%; top: -1.1rem;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
}
.about-media .media-sq i { color: #fff; font-size: 1.2rem; }

.fact-chip {
  display: inline-flex;
  align-items: center; gap: .85rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: .9rem 1.1rem;
  box-shadow: var(--shadow-xs);
}
.fact-chip i {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1rem;
}
.fact-chip h5 { font-family: var(--font-mono); font-size: .82rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin: 0; }
.fact-chip h5::before { display: none; }

/* --------------------------------------------------------------------------
   12. Image tiles — arched editorial tiles
   -------------------------------------------------------------------------- */
.tile { position: relative; border-radius: 180px 180px var(--r-lg) var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.06); }
.tile .tile-cap {
  position: absolute;
  inset: auto 0 0 0;
  display: flex; align-items: center; gap: .7rem;
  padding: 1.15rem 1.3rem;
  background: linear-gradient(180deg, transparent, rgba(52, 16, 16, .9));
  color: #fff;
}
.tile .tile-cap i { width: 34px; height: 34px; border-radius: 50%; background: var(--gold-soft); color: #46201f; display: inline-flex; align-items: center; justify-content: center; font-size: .88rem; }
.tile .tile-cap h5 { font-family: var(--font-mono); font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin: 0; color: #fff; }
.tile.tile-lg { height: 350px; }
.tile.tile-md { height: 260px; }

/* --------------------------------------------------------------------------
   13. Feature rows — hairline editorial lists
   -------------------------------------------------------------------------- */
.feature-list { display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: feat; }
.feature-list > [class*="col-"] { width: 100% !important; max-width: 100% !important; flex: 0 0 100%; }
.feature-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: start;
  gap: 1.2rem;
  padding: 1.35rem .5rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  -webkit-transition: background .22s ease, padding .22s ease;
  transition: background .22s ease, padding .22s ease;
}
.feature-row:hover { background: var(--brand-tint); padding-left: 1.1rem; }
.feature-row .feat-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line-2);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .92rem;
  font-style: italic;
  line-height: 44px;
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.feature-row .feat-num::after { counter-increment: feat; content: counter(feat, decimal-leading-zero); }
.feature-row h5 { font-family: var(--font-head); font-size: 1.18rem; font-weight: 500; letter-spacing: 0; margin-bottom: .4rem; color: var(--ink); }
.feature-row h5::before { display: none; }
.feature-row p { margin: 0; color: var(--muted); font-size: .97rem; max-width: 720px; }

/* --------------------------------------------------------------------------
   14. Service cards — bone cards with gold numerals
   -------------------------------------------------------------------------- */
.svc-list { counter-reset: svc; }
.svc-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.8rem 1.7rem 1.9rem;
  height: 100%;
  box-shadow: var(--shadow-xs);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.svc-card::before {
  content: "";
  position: absolute; top: 0; left: 1.7rem; right: 1.7rem;
  height: 2px;
  background: var(--gold);
  -webkit-transform: scaleX(.35);
  transform: scaleX(.35);
  -webkit-transform-origin: left;
  transform-origin: left;
  transition: transform .3s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.svc-card:hover::before { -webkit-transform: scaleX(1); transform: scaleX(1); }
.svc-card .svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.05rem; }
.svc-icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand);
  border: 1px solid rgba(var(--brand-rgb), .18);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.svc-card .svc-num { font-family: var(--font-head); font-weight: 500; font-style: italic; font-size: 1.5rem; line-height: 1; color: var(--gold); }
.svc-card .svc-num::after { counter-increment: svc; content: counter(svc, decimal-leading-zero); }
.svc-card h5 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 500; margin-bottom: .6rem; }
.svc-card h5::before { display: none; }
.svc-card p { color: var(--muted); font-size: .94rem; }
.svc-card .svc-link { font-family: var(--font-mono); font-weight: 500; font-size: .84rem; letter-spacing: .08em; text-transform: uppercase; }
.svc-card .svc-link::after { content: "\2192"; margin-left: .4rem; color: var(--gold); transition: margin .2s ease; }
.svc-card:hover .svc-link::after { margin-left: .7rem; }

/* --------------------------------------------------------------------------
   15. Contact card / notes / email
   -------------------------------------------------------------------------- */
.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 2.1rem;
  position: relative;
}
.contact-card h1 { font-size: 2rem; font-weight: 500; }
.contact-card .lead-ink { color: var(--ink-soft); }
.contact-notes {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--r);
  padding: 1.1rem 1.3rem;
  color: var(--ink-soft);
  font-size: .92rem;
}
.contact-notes strong { display: block; color: var(--gold); letter-spacing: .12em; text-transform: uppercase; font-size: .74rem; margin-bottom: .45rem; font-family: var(--font-mono); font-weight: 500; }
.contact-notes ul { list-style: none; padding-left: 0; margin: 0; }
.contact-notes li { padding: .2rem 0; display: flex; align-items: baseline; gap: .5rem; }
.contact-notes li::before { content: "\2713"; color: var(--gold); font-weight: 500; font-size: .78rem; }
.contact-notes a { color: var(--ink); font-weight: 600; }
.contact-notes a:hover { color: var(--brand); }
.email-row { display: flex; align-items: baseline; gap: .5rem; padding: .55rem 0; }
.email-row i { width: 20px; color: var(--gold); }
.email-row a { color: var(--ink); }
.email-row a:hover { color: var(--brand); }

/* email in the contact info card — wrap fully */
.email-addr {
  font-size: .95rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.6;
}
.email-addr a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(var(--brand-rgb), .45); text-underline-offset: 3px; }
.email-addr a:hover { color: var(--brand); text-decoration-color: var(--brand); }
.footer-mail { color: rgba(240, 243, 235, .92); text-decoration: underline; text-decoration-color: rgba(214, 184, 119, .4); text-underline-offset: 3px; }
.footer-mail:hover { color: #fff; text-decoration-color: var(--gold-soft); }

/* contact page — editorial split look */
.contact-luxe-info {
  position: relative;
  height: 100%;
  padding: 2.6rem 2.4rem;
  background: linear-gradient(165deg, #4a2320 0%, #3a1c19 55%, #2d1412 100%);
  border: 1px solid rgba(214, 184, 119, .3);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.contact-luxe-info::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(214, 184, 119, .15) 70%, transparent);
}
.contact-luxe-info::after {
  content: "";
  position: absolute; right: -70px; bottom: -70px;
  width: 180px; height: 180px;
  border: 1px solid rgba(214, 184, 119, .14);
  border-radius: 50%;
  pointer-events: none;
}
.contact-luxe-row {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 1rem 0;
  border-bottom: 1px dashed rgba(214, 184, 119, .16);
  position: relative;
}
.contact-luxe-row:last-child { border-bottom: 0; padding-bottom: .25rem; }
.contact-luxe-icon {
  flex: 0 0 44px; width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(214, 184, 119, .1);
  border: 1px solid rgba(214, 184, 119, .4);
  color: #e4c684;
  font-size: .95rem;
}
.contact-luxe-label {
  display: block;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #e4c684;
  margin-bottom: .3rem;
}
.contact-luxe-value { font-size: 1rem; line-height: 1.75; color: rgba(245, 242, 233, .95); display: block; }
.contact-luxe-value a { color: #fdf7ef; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(214, 184, 119, .45); text-underline-offset: 3px; }
.contact-luxe-value a:hover { color: #fff; text-decoration-color: var(--gold-soft); }
.contact-luxe-address { font-size: .93rem; }
.contact-luxe-address span { display: block; padding: .35rem 0 0 1rem; position: relative; }
.contact-luxe-address span::before {
  content: "";
  position: absolute; left: 0; top: 1.15rem;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
}
.contact-form-head h1 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
@media (max-width: 575.98px) {
  .contact-luxe-info { padding: 1.9rem 1.4rem; }
}

/* --------------------------------------------------------------------------
   16. Forms — underlined editorial inputs
   -------------------------------------------------------------------------- */
.form-shell {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  position: relative;
}
.form-shell::before { content: none; }
.form-label { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.form-control, .form-select {
  background: var(--chips-bg);
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  color: var(--ink);
  padding: .78rem 1.05rem;
  font-size: .96rem;
  font-family: var(--font-body);
}
.form-control:focus, .form-select:focus {
  background: var(--chips-bg);
  color: var(--ink);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 148, 82, .14);
}
.form-control::placeholder, .form-select::placeholder { color: rgba(32, 48, 46, .45); }
[data-theme="dark"] .form-control::placeholder, [data-theme="dark"] .form-select::placeholder { color: rgba(240, 243, 235, .42); }
.form-control[type="file"] { padding: .4rem .6rem; }
::-webkit-file-upload-button, .form-control::file-selector-button {
  background: var(--panel-3) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line-2) !important;
  border-radius: var(--r-sm) !important;
  margin-right: .75rem;
}

/* --------------------------------------------------------------------------
   17. Page hero — inner page headers
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 126px 0 92px;
  background-color: var(--bg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 30%;
  overflow: hidden;
}
/* full-bleed hero images, chosen per page */
.page-about .page-hero { background-image: url("../img/about1.png"); }
.page-service .page-hero { background-image: url("../img/banner1.png"); }
.page-healthcare .page-hero { background-image: url("../img/banner2.png"); }
.page-ambulance-services .page-hero { background-image: url("../img/banner3.png"); }
.page-mental-health .page-hero { background-image: url("../img/testimonial-1.jpg"); }
.page-certificate .page-hero { background-image: url("../img/about1.png"); }
.page-consultancy .page-hero { background-image: url("../img/banner2.png"); }
.page-management .page-hero { background-image: url("../img/banner1.png"); }
.page-supply .page-hero { background-image: url("../img/banner3.png"); }
.page-trainings .page-hero { background-image: url("../img/banner2.png"); }
.page-volunteering .page-hero { background-image: url("../img/banner1.png"); }
.page-workwithus .page-hero { background-image: url("../img/banner3.png"); }
.page-contact .page-hero { background-image: url("../img/banner3.png"); background-position: center; }
/* readability scrim + left-direct vignette */
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    98deg,
    rgba(46, 22, 22, .82) 0%,
    rgba(46, 22, 22, .62) 40%,
    rgba(30, 15, 15, .28) 70%,
    rgba(20, 10, 10, .55) 100%
  );
}
.page-hero::after {
  content: "";
  position: absolute; left: 0; bottom: 0; z-index: 3;
  width: 120px; height: 3px;
  background: var(--gold);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  min-height: 240px;
}
.page-hero-copy { flex: 1 1 auto; }
.page-hero-copy .kicker { display: inline-flex; margin-bottom: 1rem; font-size: .74rem; }
.page-hero-copy h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -.015em;
  max-width: 26ch;
  color: #fdf7ef;
  text-shadow: 0 2px 18px rgba(20, 8, 8, .45);
}
/* the arch panel is no longer used on inner heroes */
.page-hero-side { display: none; }

/* --------------------------------------------------------------------------
   18. Panels / checklists / mini cards
   -------------------------------------------------------------------------- */
.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 2rem 2.2rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.panel::before { content: ""; position: absolute; top: 0; left: 2rem; right: 2rem; height: 2px; background: var(--gold); -webkit-transform: scaleX(.32); transform: scaleX(.32); -webkit-transform-origin: left; transform-origin: left; }
.panel h3, .panel h4 { color: var(--ink); }
.panel h3 { font-size: 1.5rem; letter-spacing: 0; }
.panel h4 { font-size: 1.15rem; }
.panel p { color: var(--muted); }
.panel-accent { border-top: 1px solid var(--line); }
.panel-dark {
  background: var(--panel-2);
  border-color: var(--line);
  border-left: 3px solid var(--gold);
}
.panel-dark::before { content: none; }
.panel-dark h4 { color: var(--ink); }
.panel-dark p { color: var(--muted); }

.tick-list { list-style: none; padding-left: 0; margin: 0; }
.tick-list li {
  position: relative;
  padding: .62rem 0 .62rem 2rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .97rem;
}
.tick-list li:last-child { border-bottom: 0; }
.tick-list li::before {
  content: "\2713";
  position: absolute; left: 0; top: .68rem;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: .72rem;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
}

.mini-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--r);
  padding: 1.2rem 1.25rem;
  height: 100%;
  box-shadow: var(--shadow-xs);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.mini-card h5 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 500; margin-bottom: .5rem; }
.mini-card h5::before { display: none; }
.mini-card p { color: var(--muted); font-size: .93rem; }

/* --------------------------------------------------------------------------
   19. Gallery
   -------------------------------------------------------------------------- */
.gallery-card {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); color: inherit; }
.gallery-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gallery-card .gallery-img { height: 210px; overflow: hidden; }
.gallery-card .gallery-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-card:hover .gallery-img img { transform: scale(1.06); }
.gallery-card .gallery-body { padding: 1.15rem 1.25rem 1.3rem; border-top: 1px solid var(--line); }
.gallery-card .gallery-body h5 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 500; }
.gallery-card .gallery-body h5::before { display: none; }
.gallery-card .gallery-body p { color: var(--muted); font-size: .9rem; }

/* --------------------------------------------------------------------------
   20. Footer — deep teal, gold serif headings
   -------------------------------------------------------------------------- */
.footer { background: #46201f; }
.footer h1 img { filter: none; }
.footer h4 { font-family: var(--font-mono); font-size: .8rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft) !important; }
.footer h4::before { background: var(--gold-soft); }
.footer p { color: rgba(240, 243, 235, .82); font-size: .94rem; }
.footer .fa-solid, .footer .fab { width: 26px; color: var(--gold-soft); }
.footer p a { color: rgba(240, 243, 235, .92); font-family: var(--font-mono); font-size: .88rem; }
.footer p a:hover { color: var(--gold-soft); }
.copyright {
  background: rgba(0, 0, 0, .28);
  color: rgba(240, 243, 235, .75);
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .04em;
  border-top: 1px solid rgba(214, 184, 119, .18);
}
.copyright a { color: #fff; }
.copyright a:hover { color: var(--gold-soft); }

/* --------------------------------------------------------------------------
   21. Back to top / reveal
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 26px; z-index: 999;
  width: 46px; height: 46px;
  display: none; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--brand); color: #fff;
  box-shadow: 0 8px 18px rgba(var(--brand-rgb), .35);
}
.back-to-top:hover { background: var(--brand-deep); color: #fff; transform: translateY(-2px); }

html.js .wow { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
html.js .wow.animated { opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------------------
   22. Mobile menu — slide-out panel
   -------------------------------------------------------------------------- */
body.menu-open { overflow: hidden; }
.mobile-menu-overlay { position: fixed; inset: 0; z-index: 1040; background: var(--overlay-dim); display: none; }
.mobile-menu-container {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1045;
  width: 320px; background: var(--bg);
  border-left: 1px solid var(--line);
  box-shadow: -18px 0 50px rgba(0, 0, 0, .3);
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
}
.mobile-menu-container.open { transform: translateX(0); }
.mobile-menu-close {
  position: absolute; top: 14px; right: 16px;
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--panel-2); color: var(--ink);
  border: 1px solid var(--line);
  font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.mobile-menu-close:hover { background: var(--gold); color: #fff; }
.mobile-menu-container .mobile-menu-content { padding: .9rem 1.4rem 2rem; }
.mobile-menu-nav .nav-item { display: block; }
.mobile-menu-nav .nav-link {
  display: block; padding: .78rem .4rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .88rem;
  letter-spacing: .06em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu-nav .nav-link:hover { color: var(--brand); padding-left: .75rem; }
.mobile-menu-nav .dropdown-menu { position: static; display: none; background: var(--panel); border: 0; box-shadow: none; padding: .25rem .4rem .6rem; margin: 0; border-radius: 0; }
.mobile-menu-nav .dropdown-menu.show { display: block; }
.mobile-menu-nav .dropdown-item { font-size: .84rem; border-radius: 2px; padding: .5rem .6rem; color: var(--muted); }
.mobile-menu-nav .dropdown-toggle::after { float: right; margin-top: .5em; color: var(--gold); }

/* --------------------------------------------------------------------------
   23. Theme switch — gold-trimmed pill
   -------------------------------------------------------------------------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  height: 42px;
  padding: 0 1rem;
  border: 1px solid var(--gold);
  border-radius: 50rem;
  background: var(--chips-bg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .1em;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(185, 148, 82, .14), var(--shadow-xs);
  -webkit-transition: all .18s ease;
  transition: all .18s ease;
}
.theme-toggle:hover { background: var(--gold); color: #fff; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(185, 148, 82, .18), var(--shadow-sm); }
.theme-toggle::before { content: "\25D0"; color: var(--gold); font-size: 1rem; line-height: 1; }
.theme-toggle:hover::before { color: #fff; }
.theme-toggle::after { content: "LIGHT \25B8 DARK"; }
[data-theme="dark"] .theme-toggle::after { content: "DARK \25B8 LIGHT"; }
.navbar-controls { flex-shrink: 0; }

/* On mobile the switch lives inside the slide-out menu */
@media (max-width: 991.98px) {
  .navbar-controls .theme-toggle { display: none; }
}
.mobile-menu-footer { margin-top: .9rem; padding: 1.2rem 1.4rem 1.9rem; border-top: 1px solid var(--line); }
.mobile-theme-toggle { width: 100%; justify-content: center; }

/* --------------------------------------------------------------------------
   24. Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-sec .slide-rail {
    flex: 0 0 100%;
    max-width: 100%;
    min-height: 380px;
    margin-top: .5rem;
  }
}
@media (max-width: 991.98px) {
  .sec { padding: 64px 0; }
  .hero-sec #heroCarousel .carousel-inner, .hero-sec #heroCarousel .carousel-item { min-height: 0; }
  .hero-sec #heroCarousel .carousel-item { min-height: 600px; }
  .hero-sec .slide-content { min-height: 600px; }
  .hero-sec .slide-copy { padding: 2rem 0 2.4rem .4rem; }
  .hero-sec .slide-rail { display: none; }
  .hero-sec .carousel-control-prev { right: 4.6rem; }
  .hero-sec .slide-copy h1 { font-size: clamp(2.2rem, 7vw, 3rem); }
  .stat-strip { margin-top: -1.6rem; }
  .about-media .media-main { width: 100%; }
  .about-media .media-floater { bottom: -1rem; width: 48%; }
  .page-hero { padding: 96px 0 70px; }
  .feature-row { grid-template-columns: 58px 1fr; gap: 1rem; }
  .hero-sec .slide-rail::before { width: 280px; height: 280px; }
  .hero-sec .slide-rail::after { width: 320px; height: 320px; }
}
@media (max-width: 767.98px) {
  .hero-ticker { grid-template-columns: repeat(5, 1fr); }
  .hero-ticker span { min-height: 66px; padding: .5rem .55rem; }
  .hero-ticker span::before { font-size: .52rem; letter-spacing: .08em; }
  .hero-ticker span::after { font-size: .82rem; }
}
@media (max-width: 575.98px) {
  .hero-sec #heroCarousel .carousel-item, .hero-sec .slide-content { min-height: 540px; }
  .navbar.main-nav .navbar-brand img { max-height: 40px; }
  .stat-card { flex-direction: column; text-align: center; }
  .contact-card, .form-shell { padding: 1.45rem 1.2rem; }
  .hero-sec .slide-copy h1::after { width: 90px; }
  .page-hero-row { flex-direction: column; align-items: flex-start; gap: 1.4rem; min-height: 0; }
}