/* =========================================================
   Top Health Consult — Main Stylesheet
   Palette: fresh medical teal + clean white
   ========================================================= */

:root {
  --ink: #0a2e2b;
  --ink-soft: #24413f;
  --brand: #0f9b8e;
  --brand-strong: #0b7a70;
  --brand-dark: #084f49;
  --brand-soft: #e6f7f4;
  --brand-mist: #f2fbf9;
  --accent: #ff7a59;
  --accent-soft: #fff1ec;
  --line: #dfeeeb;
  --muted: #5c706e;
  --white: #ffffff;
  --shadow-sm: 0 6px 18px rgba(8, 79, 73, .07);
  --shadow-md: 0 16px 40px rgba(8, 79, 73, .10);
  --shadow-lg: 0 30px 70px rgba(8, 79, 73, .14);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { -webkit-font-smoothing: antialiased; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink-soft);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-title {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
}

p { color: var(--muted); }
a { text-decoration: none; transition: color .2s ease; }

.container, .container-fluid, .container-lg { --bs-gutter-x: 1.5rem; }

/* ---------- Utility ---------- */
.text-brand { color: var(--brand) !important; }
.text-accent { color: var(--accent) !important; }
.bg-brand-soft { background: var(--brand-soft) !important; }
.bg-mist { background: var(--brand-mist) !important; }
.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }
.section-tight { padding: 56px 0; }
.lead-muted { font-size: 1.06rem; color: var(--muted); }
.max-620 { max-width: 620px; }
.max-760 { max-width: 760px; }
.mx-auto-620 { max-width: 620px; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border: 1px solid #cdeee8;
  padding: .45rem .9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.eyebrow.on-dark {
  color: #d9fbf4;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .25);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand); display: inline-block;
}
.eyebrow.on-dark .dot { background: #6ee7d5; }

.section-title { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.section-sub { color: var(--muted); max-width: 640px; }
.section-head { margin-bottom: 3rem; }

/* ---------- Buttons ---------- */
.btn {
  font-weight: 600;
  border-radius: 999px;
  padding: .8rem 1.6rem;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
  border-width: 2px;
}
.btn:focus-visible { box-shadow: 0 0 0 4px rgba(15, 155, 142, .25); outline: none; }
.btn-brand {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(11, 122, 112, .26);
}
.btn-brand:hover, .btn-brand:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(11, 122, 112, .34);
}
.btn-outline-brand {
  color: var(--brand-strong);
  border-color: #bfe7e1;
  background: #fff;
}
.btn-outline-brand:hover {
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-color: var(--brand);
  transform: translateY(-2px);
}
.btn-ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
}
.btn-ghost-light:hover { color: var(--brand-dark); background: #fff; border-color: #fff; transform: translateY(-2px); }
.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(255, 122, 89, .28);
}
.btn-accent:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(255, 122, 89, .34); }
.btn-lg { padding: .95rem 2rem; font-size: 1.02rem; }
.btn-sm { padding: .55rem 1.15rem; font-size: .88rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand-strong));
  color: #d8f5f0;
  font-size: .87rem;
  padding: .5rem 0;
}
.topbar a { color: #eafcf8; font-weight: 600; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar .tb-item svg { opacity: .85; flex: none; }
.topbar .divider { width: 1px; height: 14px; background: rgba(255, 255, 255, .28); }

/* ---------- Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, padding .3s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(8, 79, 73, .10); }
.navbar { padding: .85rem 0; transition: padding .3s ease; }
.site-header.is-stuck .navbar { padding: .55rem 0; }

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  white-space: nowrap;
  text-decoration: none;
}
.brand-lockup .brand-mark { flex: none; display: block; }
.brand-lockup .brand-name {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink);
  white-space: nowrap;
  line-height: 1;
}
.brand-lockup .brand-name span { color: var(--brand); font-weight: 700; }
.brand-lockup:hover .brand-name { color: var(--brand-dark); }

.navbar-nav .nav-link {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .96rem;
  padding: .6rem .95rem !important;
  border-radius: 999px;
  position: relative;
}
.navbar-nav .nav-link:hover { color: var(--brand-strong); background: var(--brand-mist); }
.navbar-nav .nav-link.active { color: var(--brand-strong); }
.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: .18rem;
  transform: translateX(-50%);
  width: 16px; height: 3px;
  border-radius: 3px;
  background: var(--brand);
}
.navbar-toggler { border: 1px solid var(--line); padding: .45rem .6rem; border-radius: 10px; }
.navbar-toggler:focus { box-shadow: 0 0 0 4px rgba(15, 155, 142, .18); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230b7a70' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 76px 0 92px;
  background:
    radial-gradient(900px 520px at 88% -10%, #d9f5f0 0%, rgba(217, 245, 240, 0) 62%),
    radial-gradient(700px 480px at 0% 100%, #f0fbf8 0%, rgba(240, 251, 248, 0) 60%),
    #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: -140px; top: 40px;
  border-radius: 50%;
  border: 40px solid rgba(15, 155, 142, .06);
  pointer-events: none;
}
.hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.55rem);
  letter-spacing: -.03em;
  margin-bottom: 1.15rem;
}
.hero-title .hl {
  color: var(--brand-strong);
  position: relative;
  white-space: nowrap;
}
.hero-title .hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .06em;
  height: .26em;
  background: rgba(255, 122, 89, .22);
  border-radius: 4px;
  z-index: -1;
}
.hero p.hero-copy { font-size: 1.1rem; max-width: 560px; }
.hero-points { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.hero-points li {
  display: flex; align-items: flex-start; gap: .65rem;
  font-weight: 600; color: var(--ink-soft); font-size: .97rem;
  margin-bottom: .7rem;
}
.hero-points .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-strong);
  display: grid; place-items: center; margin-top: .12rem;
}

.hero-media { position: relative; }
.hero-photo {
  border-radius: 30px 30px 30px 90px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  position: relative;
  z-index: 1;
}
.hero-photo img { width: 100%; height: 100%; display: block; object-fit: cover; aspect-ratio: 4 / 3; }
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: .85rem 1rem;
  display: flex; align-items: center; gap: .7rem;
  z-index: 2;
}
.float-card .fc-icon {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand-strong);
  display: grid; place-items: center; flex: none;
}
.float-card .fc-title { font-size: .84rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.float-card .fc-sub { font-size: .74rem; color: var(--muted); line-height: 1.3; }
.float-card.top-left { top: 26px; left: -26px; animation: floaty 6s ease-in-out infinite; }
.float-card.bottom-right { bottom: 26px; right: -20px; animation: floaty 7s ease-in-out infinite .8s; }
.float-card.mid-left { bottom: 34%; left: -34px; animation: floaty 8s ease-in-out infinite .3s; }
@media (max-width: 991.98px) {
  .float-card.top-left { left: 10px; }
  .float-card.bottom-right { right: 10px; }
  .float-card.mid-left { display: none; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-avatars { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 2rem; }
.avatar-stack { display: flex; }
.avatar-stack .av {
  width: 38px; height: 38px; border-radius: 50%;
  border: 3px solid #fff;
  margin-left: -10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff; font-size: .72rem; font-weight: 700;
  display: grid; place-items: center;
  box-shadow: 0 4px 10px rgba(8, 79, 73, .18);
}
.avatar-stack .av:first-child { margin-left: 0; }
.hero-avatars .ha-copy { font-size: .86rem; color: var(--muted); line-height: 1.35; margin: 0; }
.hero-avatars .ha-copy strong { color: var(--ink); display: block; font-size: .9rem; }

/* ---------- Trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--brand-mist);
  padding: 1.35rem 0;
}
.trust-item {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 600; color: var(--ink-soft); font-size: .93rem;
  justify-content: center;
}
.trust-item svg { color: var(--brand); flex: none; }

/* ---------- Cards / generic ---------- */
.card-soft {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  height: 100%;
}
.card-soft:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #c8e9e3; }

/* ---------- About split ---------- */
.about-media { position: relative; }
.about-media .am-main {
  border-radius: 26px 90px 26px 26px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid #fff;
}
.about-media .am-main img { width: 100%; display: block; aspect-ratio: 4/3.2; object-fit: cover; }
.about-media .am-small {
  position: absolute;
  right: -18px; bottom: -34px;
  width: 46%;
  border-radius: 20px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: var(--shadow-md);
}
.about-media .am-small img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 767.98px) {
  .about-media .am-small { right: 8px; bottom: -24px; width: 44%; }
}
.value-chip {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: var(--brand-mist);
  border: 1px solid var(--line);
  height: 100%;
}
.value-chip .vc-ic {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  background: #fff; color: var(--brand-strong);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.value-chip h6 { margin: 0 0 .15rem; font-size: .95rem; }
.value-chip p { margin: 0; font-size: .84rem; line-height: 1.5; }

/* ---------- Why choose us ---------- */
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.why-card::before {
  content: "";
  position: absolute;
  inset: auto auto -60px -60px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--brand-mist);
  transition: transform .4s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #c8e9e3; }
.why-card:hover::before { transform: scale(1.5); }
.why-card .wc-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #fff;
  margin-bottom: 1.1rem;
  box-shadow: 0 10px 22px rgba(11, 122, 112, .25);
  position: relative; z-index: 1;
}
.why-card h5 { font-size: 1.06rem; margin-bottom: .5rem; position: relative; z-index: 1; }
.why-card p { font-size: .93rem; margin: 0; position: relative; z-index: 1; }

/* ---------- Services ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: #c8e9e3; }
.service-card .sc-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--brand-soft);
}
.service-card .sc-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
  display: block;
}
.service-card:hover .sc-media img { transform: scale(1.07); }
.service-card .sc-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 79, 73, 0) 45%, rgba(8, 79, 73, .35) 100%);
}
.sc-tag {
  position: absolute;
  top: .85rem; left: .85rem;
  background: rgba(255, 255, 255, .94);
  color: var(--brand-dark);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .7rem;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(8, 79, 73, .14);
}
.service-card .sc-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.16rem; margin-bottom: .55rem; }
.service-card p { font-size: .93rem; line-height: 1.65; margin-bottom: 1.3rem; }
.service-card .sc-cta { margin-top: auto; }
.service-card .sc-cta .btn { width: 100%; }

/* Compact card used in the 4-up home grid */
.service-card--compact .sc-media { aspect-ratio: 16 / 11; }
.service-card--compact .sc-tag { top: .7rem; left: .7rem; font-size: .62rem; padding: .28rem .6rem; }
.service-card--compact .sc-body { padding: 1.2rem 1.15rem 1.25rem; }
.service-card--compact h3 { font-size: 1.02rem; margin-bottom: .45rem; line-height: 1.3; }
.service-card--compact p { font-size: .87rem; line-height: 1.6; margin-bottom: 1.1rem; }
.service-card--compact .sc-cta .btn { padding: .5rem 1rem; font-size: .82rem; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .28s ease, box-shadow .28s ease;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testimonial-card .quote-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.6rem;
  line-height: .6;
  color: var(--brand);
  opacity: .22;
  margin-bottom: .9rem;
  display: block;
}
.testimonial-card blockquote {
  font-size: .97rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0 0 1.3rem;
  position: relative;
}
.testimonial-card .who { display: flex; align-items: center; gap: .8rem; }
.testimonial-card .who .av {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #fff; font-weight: 700; font-size: .9rem;
  display: grid; place-items: center; flex: none;
}
.testimonial-card .who .nm { font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.2; }
.testimonial-card .who .rl { font-size: .82rem; color: var(--muted); }
.stars { display: inline-flex; gap: .15rem; color: #f5a623; margin-bottom: 1rem; }
.carousel-nav { display: flex; gap: .5rem; }
.carousel-nav button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff; color: var(--brand-strong);
  display: grid; place-items: center;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.carousel-nav button:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }

/* ---------- Blog ---------- */
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.blog-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: #c8e9e3; }
.blog-card .bc-media { overflow: hidden; aspect-ratio: 16 / 10; background: var(--brand-soft); }
.blog-card .bc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.blog-card:hover .bc-media img { transform: scale(1.06); }
.blog-card .bc-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card .bc-cat {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand-strong); margin-bottom: .6rem; display: inline-block;
}
.blog-card h3 { font-size: 1.12rem; line-height: 1.35; margin-bottom: .6rem; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--brand-strong); }
.blog-card p { font-size: .92rem; margin-bottom: 1.2rem; }
.blog-card .bc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: .86rem; font-weight: 600; color: var(--brand-strong); }
.blog-card .bc-foot svg { transition: transform .25s ease; }
.blog-card:hover .bc-foot svg { transform: translateX(4px); }

/* ---------- FAQ ---------- */
.faq-accordion .accordion-item {
  border: 1px solid var(--line);
  border-radius: 16px !important;
  margin-bottom: .9rem;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.faq-accordion .accordion-button {
  font-weight: 700;
  color: var(--ink);
  font-size: 1.02rem;
  padding: 1.15rem 1.35rem;
  background: #fff;
  border-radius: 16px !important;
  box-shadow: none !important;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--brand-strong); background: var(--brand-mist); }
.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230b7a70'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  background-size: 1rem;
  width: 1rem; height: 1rem;
}
.faq-accordion .accordion-body { padding: 0 1.35rem 1.3rem; color: var(--muted); font-size: .95rem; line-height: 1.7; }
.faq-aside {
  background: linear-gradient(150deg, var(--brand-dark), var(--brand-strong));
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.faq-aside::after {
  content: "";
  position: absolute; right: -60px; bottom: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.faq-aside h4 { color: #fff; font-size: 1.3rem; }
.faq-aside p { color: #cfeee9; font-size: .93rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, #084f49 0%, #0b7a70 55%, #0f9b8e 100%);
  border-radius: var(--radius-lg);
  padding: 3.4rem 2.6rem;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .5;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  right: -90px; top: -120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.35rem); }
.cta-band p { color: #d5f2ed; }
.cta-band > * { position: relative; z-index: 1; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 66px 0 74px;
  background:
    radial-gradient(700px 380px at 92% 0%, #dbf6f1 0%, rgba(219, 246, 241, 0) 65%),
    linear-gradient(180deg, #f5fcfb 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: #9ab3b0; margin-bottom: .8rem; font-size: .86rem; }
.page-hero .breadcrumb a { color: var(--brand-strong); font-weight: 600; }
.page-hero .breadcrumb-item.active { color: var(--muted); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: .9rem; }
.page-hero p { max-width: 640px; font-size: 1.04rem; margin-bottom: 0; }

/* ---------- Prose (privacy / terms / blog post) ---------- */
.prose { font-size: 1rem; color: var(--ink-soft); }
.prose h2 { font-size: 1.35rem; margin: 2.2rem 0 .8rem; }
.prose h3 { font-size: 1.12rem; margin: 1.7rem 0 .6rem; }
.prose p, .prose li { color: var(--muted); line-height: 1.8; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--brand-strong); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose .callout {
  background: var(--brand-mist);
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  margin: 1.6rem 0;
}
.prose .callout p { margin: 0; color: var(--ink-soft); }
.toc-card {
  position: sticky;
  top: 100px;
  background: var(--brand-mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.toc-card h6 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: .9rem; }
.toc-card ol { padding-left: 1.1rem; margin: 0; }
.toc-card li { margin-bottom: .45rem; font-size: .9rem; }
.toc-card a { color: var(--ink-soft); font-weight: 600; }
.toc-card a:hover { color: var(--brand-strong); }

.article-head img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: block; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; font-size: .86rem; color: var(--muted); margin-bottom: 1.4rem; }
.article-meta .chip {
  background: var(--brand-soft); color: var(--brand-strong);
  font-weight: 700; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 999px;
}
.article-meta .mi { display: inline-flex; align-items: center; gap: .4rem; }
.author-box {
  display: flex; gap: 1rem; align-items: center;
  background: var(--brand-mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
}
.author-box .av {
  width: 54px; height: 54px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff; font-weight: 700; display: grid; place-items: center;
}
.author-box h6 { margin: 0; font-size: .98rem; }
.author-box p { margin: 0; font-size: .87rem; }

/* ---------- Contact ---------- */
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform .28s ease, box-shadow .28s ease;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-card .cc-icon {
  width: 50px; height: 50px; border-radius: 15px;
  background: var(--brand-soft); color: var(--brand-strong);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.contact-card h5 { font-size: 1rem; margin-bottom: .35rem; }
.contact-card p, .contact-card a { font-size: .93rem; color: var(--muted); margin: 0; }
.contact-card a:hover { color: var(--brand-strong); }

.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-md);
}
@media (max-width: 575.98px) { .form-panel { padding: 1.6rem; } }
.form-label { font-weight: 600; font-size: .89rem; color: var(--ink); margin-bottom: .4rem; }
.form-control, .form-select {
  border: 1px solid #d7e8e5;
  border-radius: 12px;
  padding: .78rem 1rem;
  font-size: .95rem;
  color: var(--ink-soft);
  background-color: #fbfefd;
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 155, 142, .14);
  background-color: #fff;
}
.form-control::placeholder { color: #a3b5b3; }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 155, 142, .14); }
.invalid-feedback { font-size: .82rem; }
.was-validated .form-control:invalid, .form-control.is-invalid { border-color: #e05a45; }
.form-note { font-size: .82rem; color: var(--muted); }

.map-card {
  background: linear-gradient(150deg, #f2fbf9, #e2f6f2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.map-card .grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15, 155, 142, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 155, 142, .1) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 70% 40%, #000 0%, transparent 72%);
}
.map-pin {
  position: absolute;
  top: 34%; right: 26%;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  color: var(--brand-strong);
  box-shadow: 0 10px 26px rgba(11, 122, 112, .3);
  animation: pulsePin 2.6s ease-in-out infinite;
}
.map-pin::after {
  content: "";
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(15, 155, 142, .4);
  animation: ripple 2.6s ease-out infinite;
}
@keyframes pulsePin { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes ripple { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.map-card .mc-content { position: relative; z-index: 2; margin-top: 8rem; }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px dashed #cfe9e4;
  font-size: .92rem;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list .d { color: var(--ink); font-weight: 600; }
.hours-list .t { color: var(--muted); text-align: right; }

/* ---------- Newsletter / subscribe ---------- */
.newsletter-panel {
  background: linear-gradient(150deg, #084f49 0%, #0b7a70 60%, #109c8f 100%);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.newsletter-panel::after {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
  right: -110px; bottom: -120px;
}
.newsletter-panel h3, .newsletter-panel h4 { color: #fff; }
.newsletter-panel p { color: #d3f1ec; }
.newsletter-panel .form-control { background: rgba(255, 255, 255, .96); border-color: transparent; }
.perk-item { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .9rem; }
.perk-item .pi-ic {
  flex: none; width: 30px; height: 30px; border-radius: 9px;
  background: rgba(255, 255, 255, .16);
  color: #b8f2e9; display: grid; place-items: center;
}
.perk-item p { margin: 0; font-size: .92rem; color: #d9f4ef; }

.unsub-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-md);
}
.alert-soft {
  border-radius: 14px;
  border: 1px solid #cdeee8;
  background: var(--brand-mist);
  color: var(--ink-soft);
  font-size: .93rem;
  padding: 1rem 1.15rem;
}
.alert-warn {
  border-radius: 14px;
  border: 1px solid #ffd9cd;
  background: var(--accent-soft);
  color: #8a3b25;
  font-size: .93rem;
  padding: 1rem 1.15rem;
}
.form-success {
  display: none;
  background: var(--brand-mist);
  border: 1px solid #bfe7e1;
  border-radius: 16px;
  padding: 1.4rem;
  text-align: center;
}
.form-success.show { display: block; animation: fadeUp .4s ease both; }
.form-success .fs-ic {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; margin: 0 auto .9rem;
}
.form-success h5 { font-size: 1.05rem; margin-bottom: .3rem; }
.form-success p { font-size: .9rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: #072f2c;
  color: #a9c8c4;
  padding-top: 4rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 155, 142, .22) 0%, rgba(7, 47, 44, 0) 70%);
  top: -220px; right: -100px;
  pointer-events: none;
}
.site-footer .container { position: relative; z-index: 1; }

/* Four equal-width columns with one shared row height. Each column is a flex
   stack and ends with a .footer-tail, so the final row of every column sits on
   exactly the same baseline. */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.75rem;
  align-items: stretch;
}
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  min-width: 0;
}
.footer-col h6 {
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 1.15rem;
  padding-bottom: .75rem;
  position: relative;
  width: 100%;
}
.footer-col h6::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 26px; height: 2px;
  border-radius: 2px;
  background: rgba(110, 231, 213, .65);
}
.site-footer p { color: #9dbdb9; font-size: .92rem; }
.site-footer a { color: #b9d6d2; font-size: .92rem; }
.site-footer a:hover { color: #6ee7d5; }

.footer-copy { margin: 0; line-height: 1.75; max-width: 30ch; }

.footer-links { list-style: none; padding: 0; margin: 0 0 1.15rem; width: 100%; }
.footer-links li { margin-bottom: .62rem; }
.footer-links li:last-child { margin-bottom: 0; }
.footer-links a { display: inline-flex; align-items: center; gap: .45rem; line-height: 1.5; }
.footer-links a::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  flex: none;
  background: rgba(110, 231, 213, .5);
  transition: background .2s ease;
}
.footer-links a:hover::before { background: #6ee7d5; }

.footer-brand { margin-bottom: 1.15rem; }
.footer-col .footer-copy { margin-bottom: 1.15rem; }
.footer-brand .brand-lockup .brand-name { color: #fff; }
.footer-brand .brand-lockup .brand-name span { color: #6ee7d5; }

.footer-contact { list-style: none; padding: 0; margin: 0 0 1.15rem; width: 100%; }
.footer-contact li {
  display: flex; gap: .65rem; align-items: flex-start;
  margin-bottom: .7rem;
  font-size: .92rem;
  line-height: 1.5;
}
.footer-contact li:last-child { margin-bottom: 0; }
.footer-contact svg { color: #6ee7d5; flex: none; margin-top: .2rem; }
.footer-contact a { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }

/* the shared bottom row of each column */
.footer-tail {
  margin-top: auto;
  padding-top: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 46px;
}
.footer-tail-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  color: #6ee7d5 !important;
}
.footer-tail-link:hover { color: #fff !important; }
.footer-tail-link svg { transition: transform .2s ease; }
.footer-tail-link:hover svg { transform: translateX(3px); }

.social-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.social-row a {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  color: #cfeeea;
  display: grid; place-items: center;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.social-row a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }

.footer-bottom {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.3rem 0;
  font-size: .87rem;
  color: #8fb0ac;
}
.footer-bottom a { color: #cfeeea; font-size: .87rem; }
.footer-bottom .fb-links { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; }

@media (min-width: 992px) {
  .footer-bottom .fb-links { justify-content: flex-end; }
}
@media (max-width: 991.98px) {
  .site-footer { padding-top: 3.25rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
}
@media (max-width: 575.98px) {
  .footer-copy { max-width: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 1.9rem; }
  .footer-tail { margin-top: .9rem; padding-top: 0; min-height: 0; }
  .footer-col h6 { margin-bottom: .9rem; }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--brand-strong);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(8, 79, 73, .3);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background .2s ease;
  z-index: 1040;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-dark); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .map-pin, .map-pin::after { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .section { padding: 68px 0; }
  .hero { padding: 52px 0 64px; }
  .hero-media { margin-top: 3rem; }
  .cta-band { padding: 2.4rem 1.6rem; border-radius: 22px; }
  .site-header .navbar-collapse {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem;
    margin-top: .9rem;
    box-shadow: var(--shadow-md);
  }
  .navbar-nav .nav-link.active::after { display: none; }
  .navbar-nav .nav-link { padding: .7rem .9rem !important; }
  .navbar-nav .nav-link.active { background: var(--brand-mist); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .toc-card { position: static; margin-bottom: 2rem; }
}
@media (max-width: 767.98px) {
  .hero-media { margin-top: 2.2rem; }
  .hero-photo { border-radius: 24px 24px 24px 64px; }
  .about-media .am-main img { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 575.98px) {
  .topbar { font-size: .8rem; }
  .avatar-stack .av { width: 32px; height: 32px; margin-left: -9px; font-size: .62rem; }
  .brand-lockup .brand-name { font-size: 1.1rem; }
  .section { padding: 56px 0; }
  .newsletter-panel { padding: 1.8rem; }
  .prose h2 { font-size: 1.2rem; }
  .float-card.mid-left, .float-card.top-left { display: none; }
}
