/* ============================================================
   Dr. Ashish Dubey — Anamay Chest Hospital
   Premium medical theme · Mobile-first · Bootstrap 5 layer
   ============================================================ */

:root {
  --c-navy: #0a2e4d;
  --c-navy-2: #0d3a60;
  --c-teal: #008080;
  --c-teal-dark: #006a6a;
  --c-teal-soft: #dcefef;
  --c-amber: #d4a12a;
  --c-amber-dark: #b5851c;
  --c-ink: #23384a;
  --c-muted: #5b6f80;
  --c-bg: #ffffff;
  --c-bg-soft: #f1faf9;
  --c-line: #dcebe9;
  --ff-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, sans-serif;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow-sm: 0 2px 10px rgba(10, 46, 77, .06);
  --shadow: 0 10px 30px rgba(10, 46, 77, .10);
  --shadow-lg: 0 24px 60px rgba(10, 46, 77, .16);
  /* consistent rhythm */
  --sec-pad: 5.5rem;
  --sec-head-gap: 3rem;
  --card-gap: 1.5rem;
}

* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--ff-body);
  color: var(--c-ink);
  background: var(--c-bg);
  overflow-x: hidden;
  font-size: 1rem;
  line-height: 1.7;
  padding-bottom: 64px; /* room for mobile CTA bar */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-head);
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.25;
}

a { color: var(--c-teal-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-teal); }
img { max-width: 100%; height: auto; }
::selection { background: var(--c-teal); color: #fff; }

/* ---------- Section rhythm (identical on every section) ---------- */
.section { padding: var(--sec-pad) 0; position: relative; overflow: hidden; }
.section > .container { position: relative; z-index: 2; }
.sec-head { margin-bottom: var(--sec-head-gap); }

/* ---------- Section background effects ---------- */
/* soft tinted section with corner glows */
.bg-soft {
  background:
    radial-gradient(560px 300px at 94% 2%, rgba(0, 128, 128, .12), transparent 62%),
    radial-gradient(480px 280px at 2% 98%, rgba(226, 177, 60, .10), transparent 60%),
    linear-gradient(180deg, #eef8f7 0%, #e3f2f0 100%);
}
/* white section with subtle glows + dot grid */
.bg-deco {
  background:
    radial-gradient(520px 280px at 0% 0%, rgba(0, 128, 128, .08), transparent 60%),
    radial-gradient(520px 280px at 100% 100%, rgba(10, 46, 77, .07), transparent 60%),
    #ffffff;
}
.bg-deco::before, .bg-soft::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(10, 46, 77, .05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(600px 400px at 50% 0%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(600px 400px at 50% 0%, #000, transparent 75%);
  pointer-events: none;
}
/* dark band section */
.section-dark {
  background:
    radial-gradient(800px 420px at 88% -10%, rgba(0, 128, 128, .35), transparent 60%),
    radial-gradient(600px 380px at 0% 110%, rgba(226, 177, 60, .14), transparent 55%),
    linear-gradient(155deg, var(--c-navy) 0%, var(--c-navy-2) 60%, #0f4b74 100%);
}
.section-dark::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.section-dark .section-title, .section-dark h2 { color: #fff; }
.section-dark .section-lead { color: #b9cfdf; }

/* giant watermark icon in a section corner */
.wm {
  position: absolute;
  font-size: clamp(9rem, 22vw, 17rem);
  line-height: 1;
  color: var(--c-navy);
  opacity: .05;
  pointer-events: none;
  z-index: 1;
}
.wm-tr { top: -2rem; right: -2rem; transform: rotate(12deg); }
.wm-bl { bottom: -3rem; left: -2rem; transform: rotate(-10deg); }
.section-dark .wm { color: #fff; opacity: .05; }

/* floating blur blobs */
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .5; pointer-events: none; z-index: 0;
}
.blob-teal { background: rgba(0, 128, 128, .35); }
.blob-amber { background: rgba(226, 177, 60, .28); }
.blob-navy { background: rgba(10, 46, 77, .25); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-head);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-teal-dark);
  background: var(--c-teal-soft);
  border: 1px solid rgba(0, 128, 128, .25);
  padding: .4rem 1rem; border-radius: 100px;
  margin-bottom: 1rem;
}
.section-dark .eyebrow {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  color: #ecc763;
}
.section-title { font-size: clamp(1.55rem, 4.5vw, 2.35rem); margin-bottom: .75rem; font-weight: 800; letter-spacing: -.01em; }
.section-lead { color: var(--c-muted); max-width: 660px; }
.title-accent {
  background: linear-gradient(120deg, var(--c-teal), var(--c-teal-dark));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn { font-family: var(--ff-head); font-weight: 700; border-radius: 100px; padding: .7rem 1.5rem; white-space: nowrap; }
.btn-lg { padding: .9rem 1.9rem; }
.btn-cta {
  background: linear-gradient(135deg, var(--c-amber), var(--c-amber-dark));
  color: #fff; border: 0;
  box-shadow: 0 8px 22px rgba(226, 177, 60, .35);
}
.btn-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(226, 177, 60, .45); }
.btn-teal { background: var(--c-teal); color: #fff; border: 0; box-shadow: 0 8px 22px rgba(0,128,128,.3); }
.btn-teal:hover { background: var(--c-teal-dark); color: #fff; transform: translateY(-2px); }
.btn-outline-light-2 { border: 2px solid rgba(255,255,255,.55); color: #fff; }
.btn-outline-light-2:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn-outline-navy { border: 2px solid var(--c-navy); color: var(--c-navy); }
.btn-outline-navy:hover { background: var(--c-navy); color: #fff; }

/* paired buttons — ALWAYS one line, even on the smallest phones */
.btn-pair { display: flex; flex-direction: row; gap: .75rem; flex-wrap: nowrap; }
.btn-pair .btn { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Top bar ---------- */
.topbar { background: var(--c-navy); color: #cfe3ef; font-size: .82rem; padding: .45rem 0; }
.topbar .container { gap: .5rem; flex-wrap: nowrap; }
.topbar a { color: #fff; font-weight: 600; white-space: nowrap; }
.topbar .sep { opacity: .35; margin: 0 .75rem; }
.topbar .badge-24 {
  background: rgba(0, 128, 128, .25);
  border: 1px solid rgba(0, 128, 128, .5);
  color: #ecc763; font-weight: 700;
  border-radius: 100px; padding: .15rem .7rem;
  font-size: .72rem; white-space: nowrap;
}

/* ---------- Navbar ---------- */
.navbar-main {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .25s;
  padding: .65rem 0;
}
.navbar-main.scrolled { box-shadow: var(--shadow-sm); }
.brand-logo { display: flex; align-items: center; gap: .65rem; }
.brand-mark {
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c-teal), var(--c-navy));
  display: grid; place-items: center;
  color: #fff; font-size: 1.35rem;
  box-shadow: 0 6px 16px rgba(0, 128, 128, .35);
}
.brand-text { line-height: 1.15; }
.brand-text .t1 { font-family: var(--ff-head); font-weight: 800; color: var(--c-navy); font-size: 1.02rem; }
.brand-text .t2 { font-size: .68rem; color: var(--c-teal-dark); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.navbar-main .nav-link {
  font-family: var(--ff-head); font-weight: 600;
  color: var(--c-navy); font-size: .95rem;
  padding: .5rem .9rem !important; border-radius: 100px;
}
.navbar-main .nav-link:hover, .navbar-main .nav-link.active { color: var(--c-teal-dark); background: var(--c-teal-soft); }
.navbar-toggler { border: 0; padding: .35rem .5rem; font-size: 1.5rem; color: var(--c-navy); }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Header dropdown (submenu) ---------- */
.navbar-main .anamay-caret {
  font-size: .62rem;
  margin-left: .3rem;
  transition: transform .25s;
  vertical-align: middle;
  opacity: .8;
}
.navbar-main .anamay-dropdown {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(10, 46, 77, .16);
  padding: .5rem;
  margin-top: .5rem;
  min-width: 400px;
  max-width: min(480px, calc(100vw - 3rem));
  background: #fff;
  border-top: 3px solid var(--c-teal);
}
.navbar-main .anamay-dropdown .dropdown-item {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--c-navy);
  padding: .6rem .85rem;
  border-radius: .6rem;
  white-space: normal;          /* long treatment names wrap instead of stretching */
  line-height: 1.35;
  transition: background .2s, color .2s, padding-left .2s;
}
.navbar-main .anamay-dropdown .dropdown-item:hover,
.navbar-main .anamay-dropdown .dropdown-item:focus,
.navbar-main .anamay-dropdown .dropdown-item.active {
  background: var(--c-teal-soft);
  color: var(--c-teal-dark);
  padding-left: 1.1rem;
}
.navbar-main .anamay-dropdown .dropdown-item.active { font-weight: 700; }

/* Desktop: open on hover, no click needed */
@media (min-width: 992px) {
  .navbar-main .anamay-has-sub { position: relative; }
  .navbar-main .anamay-has-sub > .anamay-dropdown {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    pointer-events: none;
  }
  .navbar-main .anamay-has-sub:hover > .anamay-dropdown,
  .navbar-main .anamay-has-sub:focus-within > .anamay-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .navbar-main .anamay-has-sub:hover > .nav-link .anamay-caret { transform: rotate(180deg); }
  /* keeps the hover bridge so the menu doesn't close in the gap */
  .navbar-main .anamay-has-sub > .anamay-dropdown::before {
    content: ""; position: absolute; top: -.6rem; left: 0; right: 0; height: .6rem;
  }
  /* flip to the right edge when the item is near the end of the bar */
  .navbar-main .nav-item:nth-last-child(-n+2) > .anamay-dropdown { left: auto; right: 0; }
}

/* ---------- Offcanvas submenu (mobile) ---------- */
.anamay-oc-group { border-radius: .75rem; }
.anamay-oc-head { display: flex; align-items: center; gap: .25rem; }
.anamay-oc-head .nav-link { flex: 1 1 auto; }
.anamay-oc-toggle {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--c-line);
  background: #fff;
  color: var(--c-teal-dark);
  border-radius: .6rem;
  font-size: .8rem;
  transition: background .2s, transform .25s, color .2s;
}
.anamay-oc-toggle:hover { background: var(--c-teal-soft); }
.anamay-oc-toggle i { transition: transform .25s; }
.anamay-oc-toggle:not(.collapsed) { background: var(--c-teal); border-color: var(--c-teal); color: #fff; }
.anamay-oc-toggle:not(.collapsed) i { transform: rotate(180deg); }
.anamay-subnav {
  margin: .15rem 0 .35rem;
  padding-left: .75rem;
  border-left: 2px solid var(--c-teal-soft);
}
.offcanvas-menu .anamay-sublink {
  font-size: .92rem !important;
  font-weight: 600 !important;
  padding: .55rem .85rem !important;
  color: var(--c-muted) !important;
}
.offcanvas-menu .anamay-sublink:hover,
.offcanvas-menu .anamay-sublink.active {
  background: var(--c-teal-soft) !important;
  color: var(--c-teal-dark) !important;
}

/* Offcanvas (mobile menu) */
.offcanvas-menu { max-width: 320px; }
.offcanvas-menu .nav-link {
  font-family: var(--ff-head); font-weight: 700; font-size: 1.05rem;
  color: var(--c-navy); padding: .85rem 1rem; border-radius: .75rem;
  display: flex; align-items: center; justify-content: space-between;
}
.offcanvas-menu .nav-link.active, .offcanvas-menu .nav-link:hover { background: var(--c-teal-soft); color: var(--c-teal-dark); }
.offcanvas-menu .oc-contact { background: var(--c-bg-soft); border-radius: var(--radius); padding: 1rem; font-size: .9rem; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(0, 128, 128, .38), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(0, 128, 128, .22), transparent 55%),
    radial-gradient(500px 300px at 50% 120%, rgba(226, 177, 60, .12), transparent 60%),
    linear-gradient(160deg, var(--c-navy) 0%, var(--c-navy-2) 55%, #0f4b74 100%);
  color: #e6f1f8;
  overflow: hidden;
  padding: 4rem 0 6rem;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  color: #f0d488; border-radius: 100px;
  padding: .45rem 1.1rem;
  font-size: .8rem; font-weight: 600;
  backdrop-filter: blur(6px);
}
.hero h1 { color: #fff; font-size: clamp(1.8rem, 5.5vw, 3.25rem); font-weight: 800; letter-spacing: -.02em; }
.hero h1 .hl { color: #ecc763; }
.hero p.lead-text { color: #b9cfdf; font-size: clamp(.96rem, 2.5vw, 1.12rem); max-width: 560px; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem .6rem; }
.hero-points span {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .8rem; font-weight: 600;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  padding: .4rem .85rem; border-radius: 100px; color: #d7e7f2;
}
.hero-points i { color: #ecc763; }

/* hero bottom wave */
.wave-divider { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 1; }
.wave-divider svg { width: 100%; height: 60px; display: block; }

/* Hero visual card */
.hero-visual { position: relative; }
.hero-photo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(160deg, #10486e, #006a6a);
}
.hero-photo-card img { width: 100%; display: block; }
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, .97);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: .8rem 1rem;
  display: flex; align-items: center; gap: .7rem;
  animation: floaty 5s ease-in-out infinite;
  z-index: 3;
}
.float-card .ic {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 40px;
  display: grid; place-items: center; font-size: 1.15rem; color: #fff;
}
.float-card .t1 { font-family: var(--ff-head); font-weight: 800; color: var(--c-navy); font-size: .95rem; line-height: 1.2; }
.float-card .t2 { font-size: .72rem; color: var(--c-muted); }
.fc-exp { top: 6%; left: -8px; animation-delay: .6s; }
.fc-247 { bottom: 8%; right: -8px; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Services ticker ---------- */
.ticker {
  background: linear-gradient(90deg, var(--c-teal-dark), var(--c-navy) 55%, var(--c-teal-dark));
  color: #d9f3f3;
  overflow: hidden;
  padding: .7rem 0;
  position: relative; z-index: 3;
}
.ticker-track {
  display: flex; align-items: center; gap: 2.75rem;
  white-space: nowrap; width: max-content;
  animation: ticker 36s linear infinite;
  font-family: var(--ff-head); font-weight: 600; font-size: .86rem;
}
.ticker-track span { display: inline-flex; align-items: center; gap: .6rem; }
.ticker-track i { color: var(--c-amber); font-size: .7rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Inner page hero */
.page-hero {
  background:
    radial-gradient(700px 380px at 90% -20%, rgba(0,128,128,.38), transparent 60%),
    radial-gradient(420px 260px at 5% 120%, rgba(245,158,11,.14), transparent 60%),
    linear-gradient(150deg, var(--c-navy), var(--c-navy-2) 70%, #0f4b74);
  color: #cfe3ef;
  padding: 3.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(1.65rem, 4.8vw, 2.65rem); font-weight: 800; letter-spacing: -.02em; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.4); margin-bottom: 1rem; }
.page-hero .breadcrumb-item a { color: #e5bf58; }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,.75); }
.page-hero .lead-text { color: #b9cfdf; max-width: 720px; }

/* ---------- Stats strip ---------- */
.stats-strip {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.5rem 1rem;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--c-teal), var(--c-amber), var(--c-teal));
}
.stat-item { text-align: center; padding: .75rem .5rem; position: relative; }
.stat-item .num { font-family: var(--ff-head); font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; color: var(--c-navy); }
.stat-item .num .suf { color: var(--c-teal); }
.stat-item .lbl { font-size: .8rem; color: var(--c-muted); font-weight: 600; }

/* ---------- Cards ---------- */
.card-service {
  background: linear-gradient(165deg, #ffffff 0%, #faf5e6 100%);
  border: 1px solid #eadfbe;
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  height: 100%;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.card-service::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--c-teal), var(--c-navy));
  opacity: 0; transition: opacity .25s;
}
.card-service::after {
  content: "";
  position: absolute; right: -30px; bottom: -30px;
  width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,128,128,.10), transparent 70%);
  transition: transform .3s;
}
.card-service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-service:hover::before { opacity: 1; }
.card-service:hover::after { transform: scale(1.5); }
.card-service .ic {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--c-teal-soft); color: var(--c-teal-dark);
  display: grid; place-items: center; font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: background .25s, color .25s;
}
.card-service:hover .ic { background: var(--c-teal); color: #fff; }
.card-service h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.card-service p { font-size: .87rem; color: var(--c-muted); margin-bottom: 0; }

/* Feature / why rows */
.feature-row {
  display: flex; gap: 1rem;
  background: linear-gradient(155deg, #fdf9ee 0%, #f7efd8 100%);
  border: 1px solid #eadfbe;
  border-radius: var(--radius);
  padding: 1.25rem;
  height: 100%;
  transition: transform .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.feature-row:nth-of-type(even) { background: linear-gradient(155deg, #f3f6fb 0%, #e8eef7 100%); border-color: #d9e2ef; }
.feature-row::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--c-teal), var(--c-navy));
  opacity: 0; transition: opacity .25s;
}
.feature-row:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.feature-row:hover::before { opacity: 1; }
.feature-row .ic {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px;
  background: linear-gradient(135deg, var(--c-teal), var(--c-teal-dark));
  color: #fff; display: grid; place-items: center; font-size: 1.25rem;
  box-shadow: 0 6px 14px rgba(0,128,128,.3);
}
.feature-row h3 { font-size: .98rem; margin-bottom: .3rem; }
.feature-row p { font-size: .86rem; color: var(--c-muted); margin: 0; }

/* Checklist */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: .7rem; margin-bottom: .8rem; font-size: .95rem; }
.check-list li i { color: var(--c-teal); font-size: 1.1rem; margin-top: .1rem; }

/* Content panel (boxed text blocks) */
.content-panel {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.content-panel::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--c-teal), var(--c-navy));
}
.content-panel h2, .content-panel h3 { font-size: 1.35rem; }

/* ---------- Split image panels ---------- */
.split-row { align-items: center; }
.img-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  height: 100%;
}
.img-panel img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.img-panel .tag {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-radius: .9rem;
  padding: .8rem 1rem;
  display: flex; align-items: center; gap: .7rem;
  box-shadow: var(--shadow-sm);
}
.img-panel .tag .ic {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px;
  background: var(--c-teal); color: #fff; display: grid; place-items: center; font-size: 1.1rem;
}
.img-panel .tag .t1 { font-family: var(--ff-head); font-weight: 800; font-size: .92rem; color: var(--c-navy); line-height: 1.25; }
.img-panel .tag .t2 { font-size: .75rem; color: var(--c-muted); }
/* frame accent behind image */
.img-frame { position: relative; height: 100%; }
.img-frame::before {
  content: "";
  position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0,128,128,.18), rgba(245,158,11,.14));
  z-index: 0;
}
.img-frame .img-panel { position: relative; z-index: 1; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 1.75rem; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(var(--c-teal), var(--c-navy));
  border-radius: 2px;
}
.tl-item { position: relative; padding-bottom: 1.75rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -1.75rem; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 4px solid var(--c-teal);
  box-shadow: 0 0 0 4px rgba(0,128,128,.15);
}
.tl-item .tl-tag {
  display: inline-block; font-family: var(--ff-head); font-weight: 700;
  font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-teal-dark); background: var(--c-teal-soft);
  border-radius: 100px; padding: .2rem .7rem; margin-bottom: .4rem;
}
.tl-item h3 { font-size: 1.05rem; }
.tl-item p { font-size: .9rem; color: var(--c-muted); margin: 0; }

/* ---------- Testimonials ---------- */
.testi-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testi-card .qmark {
  position: absolute; top: 1rem; right: 1.25rem;
  font-size: 3rem; line-height: 1;
  font-family: Georgia, serif;
  color: var(--c-teal); opacity: .18;
}
.testi-card .stars { color: var(--c-amber); font-size: .95rem; letter-spacing: .1em; }
.testi-card p.quote { font-size: .93rem; color: var(--c-ink); }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-teal), var(--c-navy));
  color: #fff; display: grid; place-items: center;
  font-family: var(--ff-head); font-weight: 800; font-size: .95rem;
}
.testi-card .who .name { font-family: var(--ff-head); font-weight: 700; font-size: .92rem; color: var(--c-navy); }
/* icon-style avatar used in feature testi-cards */
.testi-avatar.wc-ic { width: 52px; height: 52px; flex: 0 0 52px; font-size: 1.35rem; border-radius: 14px; }
.testi-card .who .src { font-size: .76rem; color: var(--c-muted); }

.review-badges { display: flex; flex-wrap: wrap; gap: .75rem; }
.review-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.95); border: 1px solid var(--c-line); border-radius: 100px;
  padding: .5rem 1.1rem; font-size: .84rem; font-weight: 600; color: var(--c-navy);
  box-shadow: var(--shadow-sm);
}
.review-badge .stars { color: var(--c-amber); letter-spacing: .05em; }

/* ---------- FAQ ---------- */
.faq-accordion .accordion-item {
  border: 1px solid var(--c-line);
  border-radius: var(--radius) !important;
  margin-bottom: .9rem;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.faq-accordion .accordion-button {
  font-family: var(--ff-head); font-weight: 700;
  color: var(--c-navy); font-size: .96rem;
  padding: 1.05rem 1.25rem;
  background: #fff; box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) { background: var(--c-teal-soft); color: var(--c-teal-dark); }
.faq-accordion .accordion-button:focus { box-shadow: none; }
.faq-accordion .accordion-body { color: var(--c-muted); font-size: .92rem; padding-top: .9rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(255,255,255,.14), transparent 60%),
    radial-gradient(400px 240px at 0% 100%, rgba(245,158,11,.25), transparent 60%),
    linear-gradient(135deg, var(--c-teal-dark), var(--c-navy));
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 2.5rem 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.35rem, 3.5vw, 2.05rem); }
.cta-band p { color: rgba(255,255,255,.85); }
.hours-strip { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.hours-strip span {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 100px; padding: .45rem .9rem;
  font-size: .82rem; font-weight: 600; color: #fff;
}
.hours-strip i { color: var(--c-amber); }

/* ---------- NAP / contact cards ---------- */
.nap-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
  transition: transform .25s, box-shadow .25s;
  position: relative; overflow: hidden;
}
.nap-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--c-teal), var(--c-navy));
  opacity: 0; transition: opacity .25s;
}
.nap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.nap-card:hover::before { opacity: 1; }
.nap-card .ic {
  width: 50px; height: 50px; border-radius: 15px;
  background: var(--c-teal-soft); color: var(--c-teal-dark);
  display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 1rem;
}
.nap-card h3 { font-size: 1rem; }
.nap-card p, .nap-card a { font-size: .89rem; }

/* ---------- Forms ---------- */
.form-premium .form-control, .form-premium .form-select {
  border: 1.5px solid var(--c-line);
  border-radius: .8rem;
  padding: .8rem 1rem;
  font-size: .95rem;
  background: var(--c-bg-soft);
}
.form-premium .form-control:focus, .form-premium .form-select:focus {
  border-color: var(--c-teal);
  box-shadow: 0 0 0 .2rem rgba(0,128,128,.12);
  background: #fff;
}
.form-premium label { font-family: var(--ff-head); font-weight: 600; font-size: .85rem; color: var(--c-navy); margin-bottom: .35rem; }
.form-shell {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.form-shell::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--c-teal), var(--c-amber));
}

/* ---------- Blog ---------- */
.blog-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.blog-thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3rem; color: rgba(255,255,255,.9); }
.blog-thumb .cat {
  position: absolute; top: .85rem; left: .85rem;
  background: rgba(255,255,255,.95);
  color: var(--c-teal-dark);
  font-family: var(--ff-head); font-weight: 700; font-size: .7rem;
  letter-spacing: .05em; text-transform: uppercase;
  padding: .3rem .8rem; border-radius: 100px;
}
.blog-card .body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.blog-card .meta { font-size: .76rem; color: var(--c-muted); display: flex; gap: 1rem; margin-bottom: .6rem; flex-wrap: wrap; }
.blog-card h3 { font-size: 1.06rem; line-height: 1.4; }
.blog-card h3 a { color: var(--c-navy); }
.blog-card h3 a:hover { color: var(--c-teal-dark); }
.blog-card p.excerpt { font-size: .87rem; color: var(--c-muted); }
.blog-card .read-more { margin-top: auto; font-family: var(--ff-head); font-weight: 700; font-size: .87rem; display: inline-flex; align-items: center; gap: .4rem; }
.blog-card .read-more i { transition: transform .2s; }
.blog-card .read-more:hover i { transform: translateX(4px); }

.thumb-g1 { background: linear-gradient(135deg, #008080, #0a2e4d); }
.thumb-g2 { background: linear-gradient(135deg, #d4a12a, #8a6410); }
.thumb-g3 { background: linear-gradient(135deg, #6366f1, #0a2e4d); }
.thumb-g4 { background: linear-gradient(135deg, #10b981, #065f46); }
.thumb-g5 { background: linear-gradient(135deg, #0ea5e9, #0c4a6e); }
.thumb-g6 { background: linear-gradient(135deg, #e11d48, #7f1d1d); }

/* Blog article */
.article-body { font-size: 1.02rem; }
.article-body h2 { font-size: 1.45rem; margin: 2.25rem 0 .9rem; }
.article-body h3 { font-size: 1.15rem; margin: 1.75rem 0 .7rem; }
.article-body p { margin-bottom: 1.1rem; color: #33475b; }
.article-body ul li { margin-bottom: .5rem; color: #33475b; }
.article-body blockquote {
  border-left: 4px solid var(--c-teal);
  background: var(--c-teal-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.35rem;
  font-style: italic;
  color: var(--c-navy);
  margin: 1.5rem 0;
}
.article-hero-thumb {
  border-radius: var(--radius-lg);
  aspect-ratio: 21/9;
  display: grid; place-items: center;
  color: rgba(255,255,255,.9); font-size: 4rem;
  box-shadow: var(--shadow);
}
/* ---------- Simple text pages (Full Width template / default pages) ---------- */
.page-body { font-size: 1.04rem; }
.page-body > :first-child { margin-top: 0; }
.page-body > :last-child { margin-bottom: 0; }
.page-body h1 { font-size: 1.75rem; margin: 2.25rem 0 .9rem; }
.page-body h2 { font-size: 1.5rem; }
.page-body h3 { font-size: 1.2rem; }
.page-body h4 { font-size: 1.05rem; margin: 1.5rem 0 .6rem; color: var(--c-navy); }
.page-body ul, .page-body ol { padding-left: 1.35rem; margin-bottom: 1.1rem; }
.page-body img { border-radius: var(--radius); height: auto; }
.page-body figure { margin: 1.5rem 0; }
.page-body figcaption { font-size: .85rem; color: var(--c-muted); margin-top: .5rem; }
.page-body a { text-decoration: underline; text-underline-offset: 2px; }
.page-body table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0;
  border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden;
}
.page-body table th, .page-body table td { padding: .75rem 1rem; border-bottom: 1px solid var(--c-line); text-align: left; }
.page-body table th { background: var(--c-teal-soft); color: var(--c-navy); font-family: var(--ff-head); font-weight: 700; }
.page-body table tr:last-child td { border-bottom: 0; }
.page-body .page-links { font-family: var(--ff-head); font-weight: 700; }
.page-body .page-links a { margin: 0 .35rem; }
@media (max-width: 767px) {
  .page-body { font-size: 1rem; }
  .page-body h1 { font-size: 1.45rem; }
  .page-body h2 { font-size: 1.3rem; }
  .page-body table { display: block; overflow-x: auto; }
}

.sidebar-card {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 1.4rem; margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-card h4 { font-size: 1rem; margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 2px solid var(--c-teal-soft); }
.recent-post { display: flex; gap: .85rem; margin-bottom: 1rem; }
.recent-post:last-child { margin-bottom: 0; }
.recent-post .th { width: 62px; height: 62px; flex: 0 0 62px; border-radius: .8rem; display: grid; place-items: center; color: #fff; font-size: 1.4rem; }
.recent-post .t { font-family: var(--ff-head); font-weight: 700; font-size: .86rem; line-height: 1.35; }
.recent-post .t a { color: var(--c-navy); }
.recent-post .t a:hover { color: var(--c-teal-dark); }
.recent-post .d { font-size: .74rem; color: var(--c-muted); }
.tag-cloud a {
  display: inline-block; font-size: .78rem; font-weight: 600;
  background: var(--c-bg-soft); border: 1px solid var(--c-line);
  color: var(--c-muted); border-radius: 100px; padding: .35rem .85rem; margin: 0 .3rem .5rem 0;
}
.tag-cloud a:hover { background: var(--c-teal); border-color: var(--c-teal); color: #fff; }

/* ---------- Video cards ---------- */
.video-card {
  background: linear-gradient(160deg, var(--c-navy), var(--c-navy-2));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 177, 60, .35);
  height: 100%;
  max-width: 330px;
  margin-inline: auto;
  display: flex; flex-direction: column;
}
.video-card video {
  width: 100%;
  display: block;
  background: #000;
  aspect-ratio: 9/16;
  object-fit: cover;
  max-height: 520px;
}
.video-card.video-wide video { aspect-ratio: 16/9; max-height: none; }
/* YouTube (Shorts) embed inside a video card */
.video-card .yt-embed { position: relative; width: 100%; aspect-ratio: 9/16; background: #000; }
.video-card .yt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video-card:has(.yt-embed) { max-width: none; }
.media-stack .yt-embed { border-radius: var(--radius); overflow: hidden; }
.video-card .cap {
  padding: 1rem 1.2rem;
  color: #f2e6c5;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: .92rem;
  display: flex; align-items: center; gap: .6rem;
  margin-top: auto;
}
.video-card .cap i { color: var(--c-amber); font-size: 1.1rem; }

/* CTA band with photo background */
.cta-photo {
  background-size: cover;
  background-position: top center;
}
.cta-photo::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(10, 31, 60, .96) 35%, rgba(10, 31, 60, .78) 65%, rgba(10, 31, 60, .45));
}
.cta-photo > * { position: relative; z-index: 2; }

/* ---------- Map ---------- */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--c-line);
  line-height: 0;
}
.map-wrap iframe { width: 100%; height: 380px; border: 0; }

/* ---------- Footer ---------- */
.footer {
  background:
    radial-gradient(700px 380px at 90% 0%, rgba(0,128,128,.18), transparent 60%),
    var(--c-navy);
  color: #a8bfd0;
  padding: 4.5rem 0 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--c-teal), var(--c-amber), var(--c-teal));
}
.footer h4 { color: #fff; margin-bottom: 1.2rem; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.footer a { color: #a8bfd0; font-size: .9rem; }
.footer a:hover { color: #ecc763; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: .6rem; }
.footer ul li i { color: var(--c-teal); margin-right: .5rem; font-size: .75rem; }
.footer .f-about { font-size: .9rem; }
.footer .f-contact li { display: flex; gap: .75rem; margin-bottom: .9rem; font-size: .88rem; }
.footer .f-contact li i { color: #ecc763; font-size: 1rem; margin-top: .15rem; }
.footer .footer-social .fs-label {
  display: block;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: .6rem;
}
.footer .social-links { display: flex; flex-wrap: wrap; gap: .55rem; }
.footer .social-links a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #cfe3ef; font-size: 1.05rem;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.footer .social-links a:hover {
  background: var(--c-teal);
  border-color: var(--c-teal);
  color: #fff;
  transform: translateY(-2px);
}

.footer-map {
  position: relative; z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.14);
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
  line-height: 0;
}
.footer-map iframe { width: 100%; height: 300px; border: 0; display: block; filter: saturate(1.05); }
@media (max-width: 767px) { .footer-map iframe { height: 240px; } }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding: 1.25rem 0; font-size: .8rem; position: relative; z-index: 1; }
.footer .emergency-pill {
  background: rgba(226, 177, 60, .15);
  border: 1px solid rgba(226, 177, 60, .4);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  display: flex; align-items: center; gap: .9rem;
}
.footer .emergency-pill i { font-size: 1.5rem; color: var(--c-amber); }
.footer .emergency-pill .t1 { color: #fff; font-family: var(--ff-head); font-weight: 700; font-size: .92rem; }
.footer .emergency-pill .t2 { font-size: .78rem; }

/* ---------- Floating action buttons ---------- */
.fab-stack { position: fixed; right: 1rem; bottom: 5.2rem; z-index: 1040; display: flex; flex-direction: column; gap: .7rem; }
.fab {
  width: 66px; height: 66px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 2rem; color: #fff;
  box-shadow: 0 12px 28px rgba(10,46,77,.35);
  transition: transform .2s;
}
.fab:hover { transform: scale(1.08); color: #fff; }
.fab-wa { background: #25d366; }

/* Mobile sticky bottom bar */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1039;
  background: #fff;
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -6px 24px rgba(10,46,77,.12);
  display: grid; grid-template-columns: 1fr 1fr;
  padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom));
  gap: .5rem;
}
.mobile-cta-bar a {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--ff-head); font-weight: 700; font-size: .9rem;
  border-radius: 100px; padding: .65rem .5rem;
}
.mobile-cta-bar .m-call { background: var(--c-teal); color: #fff; }
.mobile-cta-bar .m-book { background: linear-gradient(135deg, var(--c-amber), var(--c-amber-dark)); color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   LOGO (global image logo)
   ============================================================ */
.logo-img { height: 54px; width: auto; display: block; }
.footer .logo-img {
  height: 132px;
  width: 100%;
  max-width: 360px;
  object-fit: contain;
  background: #fff;
  padding: 16px 22px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  margin-bottom: .75rem;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .footer .logo-img { height: auto; max-width: 100%; padding: 18px; }
}
.offcanvas-menu .logo-img { height: 44px; }

/* ============================================================
   HERO — animated cutout visual + glass floating cards
   ============================================================ */
.hero-cutout {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  padding: 20px;
}
.hero-cutout .bg-blob {
  position: absolute; inset: -2%; z-index: 0;
  background: radial-gradient(circle at 50% 45%, rgba(0,128,128,.85), rgba(10,46,77,.25) 60%, transparent 74%);
  border-radius: 42%;
  animation: heroPulse 6s ease-in-out infinite;
}
.hero-cutout .ring {
  position: absolute; left: 50%; top: 50%;
  width: 96%; aspect-ratio: 1; border-radius: 50%;
  border: 2px dashed rgba(212,161,42,.5); z-index: 1;
  transform: translate(-50%, -50%);
  animation: heroSpin 26s linear infinite;
}
.hero-cutout .ring.r2 {
  width: 108%; border-style: solid; border-color: rgba(255,255,255,.14);
  animation-duration: 20s; animation-direction: reverse;
}
.hero-cutout .spark {
  position: absolute; z-index: 4; width: 11px; height: 11px; border-radius: 50%;
  background: var(--c-amber); box-shadow: 0 0 16px 3px rgba(212,161,42,.8);
  animation: heroFloat 4.5s ease-in-out infinite;
}
.hero-cutout .spark.s1 { top: 6%; right: 4%; }
.hero-cutout .spark.s2 { bottom: 12%; left: 2%; width: 9px; height: 9px; background: #fff; box-shadow: 0 0 14px 3px rgba(255,255,255,.7); animation-delay: 1.5s; }
.hero-cutout .spark.s3 { top: 46%; left: -2%; width: 7px; height: 7px; animation-delay: .8s; }
.hero-cutout .photo {
  position: relative; z-index: 3;
  border-radius: 1.5rem; overflow: hidden;
  border: 5px solid rgba(255,255,255,.16);
  box-shadow: 0 26px 48px rgba(0,0,0,.42);
}
.hero-cutout .photo img { width: 100%; display: block; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 12%; }
@keyframes heroSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes heroPulse { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* glass floating cards — compact, anchored to the outer edges */
.float-card {
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
  padding: .5rem .7rem;
  width: max-content;
  max-width: none;
}
.float-card .ic { width: 34px; height: 34px; flex: 0 0 34px; font-size: 1rem; border-radius: 10px; }
.float-card .t1 { color: #fff; font-size: .9rem; white-space: nowrap; }
.float-card .t2 { color: rgba(255,255,255,.78); font-size: .68rem; white-space: nowrap; }
.fc-exp { top: 2%; left: -12px; }
.fc-247 { bottom: 4%; right: -12px; }

/* ============================================================
   MEDIA LAYER — video with translucent doctor image behind
   ============================================================ */
.media-stack { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-stack .bg-doc {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center top;
  opacity: .16;
}
.media-stack::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(150deg, rgba(0,128,128,.55), rgba(10,46,77,.75));
}
.media-stack .inner { position: relative; z-index: 2; padding: 1rem; }
.media-stack video { width: 100%; display: block; border-radius: var(--radius); background: #000; height: auto; object-fit: contain; }
.media-stack .cap { color: #f2e6c5; font-family: var(--ff-head); font-weight: 700; font-size: .92rem; padding: .9rem .4rem .3rem; display: flex; gap: .55rem; align-items: center; }
.media-stack .cap i { color: var(--c-amber); font-size: 1.1rem; }

/* equal-height "matched" cards for good-to-know vs never-closes */
.match-tall { height: 100%; }

/* ---------- Video play overlay (shows a play badge before playback) ---------- */
.vwrap { position: relative; line-height: 0; }
.v-overlay {
  position: absolute; inset: 0; z-index: 4;
  border: 0; padding: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
  background: linear-gradient(160deg, rgba(0,128,128,.5), rgba(10,46,77,.68));
  transition: opacity .35s ease;
}
.v-overlay.hidden { opacity: 0; pointer-events: none; }
.media-stack .v-overlay { border-radius: var(--radius); }
.v-overlay .play-btn {
  width: 66px; height: 66px; border-radius: 50%;
  background: rgba(255,255,255,.95); color: var(--c-teal);
  display: grid; place-items: center; font-size: 2rem;
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
  animation: playPulse 2s ease-in-out infinite;
}
.v-overlay .play-btn i { margin-left: 3px; }
.v-overlay .v-badge {
  font-family: var(--ff-head); font-weight: 700; font-size: .82rem;
  color: #fff; letter-spacing: .04em;
  background: rgba(212,161,42,.9);
  padding: .3rem .9rem; border-radius: 100px;
  display: inline-flex; align-items: center; gap: .4rem;
}
@keyframes playPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); }
  50% { box-shadow: 0 0 0 16px rgba(255,255,255,0); }
}
@media (prefers-reduced-motion: reduce) { .v-overlay .play-btn { animation: none; } }

/* ============================================================
   RESPONSIVE — client breakpoint guide
   ============================================================ */

/* Desktop */
@media (min-width: 1024px) {
  :root { --sec-pad: 5.5rem; --sec-head-gap: 3rem; }
  .mobile-cta-bar { display: none; }
  body { padding-bottom: 0; }
  .fab-stack { bottom: 1.5rem; }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  :root { --sec-pad: 4.25rem; --sec-head-gap: 2.5rem; }
  .hero { padding: 3.5rem 0 5rem; }
}

/* Large Mobile */
@media (max-width: 767px) {
  :root { --sec-pad: 3.5rem; --sec-head-gap: 2rem; }
  .hero { padding: 3rem 0 4.5rem; }
  .wave-divider svg { height: 36px; }
  /* 2-up feature rows: stack icon above text so they fit */
  .feature-row { flex-direction: column; gap: .75rem; padding: 1.1rem 1rem; }
  .feature-row h3 { font-size: .92rem; }
  .feature-row p { font-size: .8rem; }
  .cta-band { padding: 2rem 1.25rem; }
  .content-panel { padding: 1.5rem 1.15rem; }
  .img-panel img { min-height: 240px; }
  .img-frame::before { inset: .85rem -.85rem -.85rem .85rem; }
  .map-wrap iframe { height: 300px; }
  .topbar { font-size: .76rem; }
  /* hero tag pills: fixed 2-per-row grid, no leftover side gaps */
  .hero-points { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .hero-points span { justify-content: center; text-align: center; padding: .45rem .25rem; font-size: .72rem; white-space: nowrap; gap: .35rem; }
  .hero-points i { font-size: .8rem; }
  .logo-img { height: 44px; }
  .hero-cutout { max-width: 380px; padding: 14px; }
}

/* Mobile */
@media (max-width: 480px) {
  :root { --sec-pad: 3rem; --sec-head-gap: 1.75rem; }
  /* paired buttons share one line */
  .btn-pair .btn { padding: .7rem .6rem; font-size: .84rem; }
  .btn-pair .btn i { font-size: .95rem; }
  /* 2-up cards sized for small screens */
  .card-service { padding: 1rem .85rem; }
  .card-service .ic { width: 42px; height: 42px; font-size: 1.15rem; border-radius: 12px; margin-bottom: .7rem; }
  .card-service h3 { font-size: .88rem; }
  .card-service p { font-size: .76rem; }
  .feature-row .ic { width: 40px; height: 40px; flex: 0 0 40px; font-size: 1.05rem; }
  .nap-card { padding: 1.1rem .95rem; }
  .nap-card .ic { width: 42px; height: 42px; font-size: 1.1rem; }
  .nap-card h3 { font-size: .9rem; }
  .nap-card p, .nap-card a { font-size: .8rem; }
  .stat-item .lbl { font-size: .72rem; }
  .testi-card { padding: 1.25rem; }
  .hero-points span { font-size: .67rem; padding: .4rem .2rem; }
  .topbar { font-size: .72rem; }
  .topbar .badge-24 { font-size: .64rem; padding: .15rem .55rem; }
  .float-card { padding: .4rem .55rem; gap: .45rem; }
  .float-card .ic { width: 28px; height: 28px; flex: 0 0 28px; font-size: .85rem; }
  .float-card .t1 { font-size: .76rem; }
  .float-card .t2 { font-size: .6rem; }
  .fc-exp { top: 0; left: -8px; }
  .fc-247 { bottom: 2%; right: -8px; }
  .section-title { letter-spacing: 0; }
  .form-shell { padding: 1.5rem 1.1rem; }
  .ticker-track { font-size: .78rem; }
}

/* Mobile Small */
@media (max-width: 375px) {
  .btn-pair { gap: .5rem; }
  .btn-pair .btn { padding: .65rem .45rem; font-size: .78rem; }
  .card-service h3 { font-size: .84rem; }
  .card-service p { font-size: .73rem; }
  .brand-text .t1 { font-size: .95rem; }
  .brand-text .t2 { font-size: .62rem; }
  .topbar { font-size: .68rem; }
  .topbar .badge-24 { font-size: .6rem; padding: .12rem .45rem; }
  .logo-img { height: 38px; }
  .hero-cutout { max-width: 340px; padding: 12px; }
  .hero-points span { font-size: .6rem; }
  .stat-item .num { font-size: 1.5rem; }
}

/* ---------- Real post images inside the card design ---------- */
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-hero-thumb { overflow: hidden; }
.article-hero-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.recent-post .th { overflow: hidden; }
.recent-post .th img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* WordPress editor output inside articles */
.article-body img,
.article-body .wp-block-image img { max-width: 100%; height: auto; border-radius: var(--radius); }
.article-body .wp-block-image { margin: 1.5rem 0; }
.article-body figcaption { font-size: .85rem; color: var(--c-muted); text-align: center; margin-top: .5rem; }
.article-body a { text-decoration: underline; }
.article-body ol li { margin-bottom: .5rem; color: #33475b; }

/* ---------- Pagination ---------- */
.anamay-pagination ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.anamay-pagination a,
.anamay-pagination span {
  display: grid; place-items: center;
  min-width: 42px; height: 42px; padding: 0 .75rem;
  border-radius: 100px;
  font-family: var(--ff-head); font-weight: 700; font-size: .9rem;
  background: #fff; border: 1px solid var(--c-line); color: var(--c-navy);
  transition: background .2s, color .2s, border-color .2s;
}
.anamay-pagination a:hover { background: var(--c-teal-soft); border-color: var(--c-teal); color: var(--c-teal-dark); }
.anamay-pagination .current { background: var(--c-teal); border-color: var(--c-teal); color: #fff; }
.anamay-pagination .dots { background: transparent; border-color: transparent; }

/* ---------- Rich-text (wp_editor) output helpers ---------- */
.rich-muted p { color: var(--c-muted); }
.rich-muted > :last-child { margin-bottom: 0; }
