/* ============================================================
   The Health Vision — Core Stylesheet
   ============================================================ */

:root {
  --ink: #0b2b2a;
  --ink-soft: #23413f;
  --deep: #0d5c52;
  --deep-dark: #0a4740;
  --teal: #12897a;
  --mint: #eaf7f3;
  --mint-2: #d8efe8;
  --accent: #ff8a5b;
  --accent-dark: #f2723f;
  --gold: #f6bd54;
  --muted: #5d7a77;
  --line: rgba(11, 43, 42, .10);
  --white: #ffffff;
  --shadow-sm: 0 6px 18px rgba(11, 43, 42, .06);
  --shadow-md: 0 16px 40px rgba(11, 43, 42, .10);
  --shadow-lg: 0 30px 70px rgba(11, 43, 42, .16);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

svg.ico { width: 1.1em; height: 1.1em; flex: none; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: hidden; }
section[id], div[id] { scroll-margin-top: 100px; }

body {
  font-family: var(--font);
  color: var(--ink-soft);
  background: var(--white);
  line-height: 1.72;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .logo-text {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); }

p { color: var(--muted); margin-bottom: 1rem; }
a { color: var(--deep); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; }
::selection { background: var(--mint-2); color: var(--ink); }

/* ---------- Layout helpers ---------- */
.section { padding: clamp(56px, 7vw, 104px) 0; position: relative; }
.section-sm { padding: clamp(40px, 4vw, 64px) 0; }
.bg-mint { background: var(--mint); }
.bg-soft { background: #fbfdfc; }
.container { max-width: 1180px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--mint);
  border: 1px solid var(--mint-2);
  border-radius: var(--radius-pill);
  padding: .45rem 1rem;
  margin-bottom: 1.1rem;
}
.eyebrow.on-dark {
  color: #b8f0e4;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .22);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); display: inline-block;
}

.section-head { max-width: 720px; margin: 0 auto clamp(32px, 4vw, 56px); text-align: center; }
.section-head p { margin-bottom: 0; }
.section-head.text-start { margin-left: 0; }

.lead-text { font-size: 1.09rem; }
.text-gradient {
  background: linear-gradient(100deg, var(--deep) 10%, var(--teal) 55%, var(--accent) 105%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.highlight { position: relative; white-space: nowrap; }
.highlight::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .3em;
  background: linear-gradient(90deg, rgba(255, 138, 91, .4), rgba(246, 189, 84, .34));
  border-radius: var(--radius-pill); z-index: -1;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font);
  font-weight: 700;
  border-radius: var(--radius-pill);
  padding: .82rem 1.7rem;
  border: 1.5px solid transparent;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.btn:focus-visible { outline: 3px solid rgba(18, 137, 122, .45); outline-offset: 3px; }
.btn-primary {
  background: linear-gradient(120deg, var(--deep), var(--teal));
  color: #fff;
  box-shadow: 0 12px 26px rgba(13, 92, 82, .26);
}
.btn-primary:hover { background: linear-gradient(120deg, var(--deep-dark), var(--deep)); color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px rgba(13, 92, 82, .3); }
.btn-accent {
  background: linear-gradient(120deg, var(--accent), var(--gold));
  color: #3a1c0c;
  box-shadow: 0 12px 26px rgba(255, 138, 91, .3);
}
.btn-accent:hover { color: #3a1c0c; transform: translateY(-2px); box-shadow: 0 18px 34px rgba(255, 138, 91, .38); }
.btn-outline-ink {
  border-color: rgba(11, 43, 42, .18);
  color: var(--ink);
  background: #fff;
}
.btn-outline-ink:hover { border-color: var(--deep); color: var(--deep); background: var(--mint); transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--deep-dark); transform: translateY(-2px); }
.btn-sm { padding: .55rem 1.15rem; font-size: .9rem; }
.btn-block { width: 100%; justify-content: center; }
.btn .ico { width: 18px; height: 18px; flex: none; }

.link-arrow {
  font-weight: 700; color: var(--deep);
  display: inline-flex; align-items: center; gap: .4rem;
}
.link-arrow svg { width: 18px; height: 18px; flex: none; transition: transform .25s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .82);
  font-size: .86rem;
  padding: .55rem 0;
}
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: #fff; }
.topbar .topbar-item { display: inline-flex; align-items: center; gap: .5rem; margin-right: 1.4rem; }
.topbar .ico { width: 15px; height: 15px; opacity: .85; }
.topbar .socials { display: inline-flex; gap: .55rem; }
.topbar .socials a {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .1);
}
.topbar .socials a:hover { background: var(--accent); color: #fff; }
.topbar .socials svg { width: 14px; height: 14px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255, 255, 255, .94);
  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 12px 30px rgba(11, 43, 42, .09); }
.navbar { padding: .85rem 0; }
.site-header.is-stuck .navbar { padding: .55rem 0; }

/* Logo — single line, single style */
.logo {
  display: inline-flex; align-items: center; gap: .6rem;
  white-space: nowrap; text-decoration: none;
}
.logo-mark { width: 42px; height: 42px; flex: none; }
.logo-text {
  font-size: 1.32rem;
  font-weight: 800;
  font-style: normal;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
  text-transform: none;
}
.logo:hover .logo-text { color: var(--deep); }

.navbar-nav .nav-link {
  font-weight: 700;
  color: var(--ink);
  padding: .55rem .95rem !important;
  border-radius: var(--radius-pill);
  font-size: .96rem;
}
.navbar-nav .nav-link:hover { color: var(--deep); background: var(--mint); }
.navbar-nav .nav-link.active { color: var(--deep); background: var(--mint); }
.navbar-toggler { border: none; padding: .35rem .5rem; }
.navbar-toggler:focus { box-shadow: none; }
.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='%230b2b2a' stroke-linecap='round' stroke-width='2.4' d='M4 8h22M4 15h22M4 22h22'/%3E%3C/svg%3E");
}
.header-cta { display: inline-flex; align-items: center; gap: .6rem; }
@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: .9rem; padding: 1rem; border-radius: var(--radius);
    background: #fff; box-shadow: var(--shadow-md);
  }
  .navbar-nav .nav-link { padding: .7rem .9rem !important; }
  .header-cta { margin-top: .8rem; width: 100%; }
  .header-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 104px);
  background:
    radial-gradient(1100px 520px at 82% -10%, #dff2ec 0%, rgba(223, 242, 236, 0) 62%),
    radial-gradient(760px 420px at 4% 12%, #fdeee5 0%, rgba(253, 238, 229, 0) 60%),
    linear-gradient(180deg, #fbfdfc 0%, #ffffff 78%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: auto -12% -30% auto; width: 60%; height: 70%;
  background: radial-gradient(circle at 60% 40%, rgba(18, 137, 122, .09), transparent 68%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }
.hero h1 { margin-bottom: 1.1rem; }
.hero-lead { font-size: 1.1rem; max-width: 34em; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: .45rem .95rem; font-size: .87rem; font-weight: 700; color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.chip svg { width: 16px; height: 16px; color: var(--teal); }

.hero-visual { position: relative; padding: .5rem; }
.hero-visual .frame {
  position: relative;
  border-radius: 42px 42px 42px 42px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid #fff;
  background: var(--mint);
}
.hero-visual .frame img { display: block; width: 100%; }
.hero-visual .blob {
  position: absolute; z-index: -1;
  width: 78%; height: 78%;
  right: -6%; top: -7%;
  background: linear-gradient(140deg, var(--mint-2), #fff0e8);
  border-radius: 46% 54% 58% 42% / 52% 46% 54% 48%;
}
.float-card {
  position: absolute;
  display: flex; align-items: center; gap: .7rem;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: .7rem .95rem;
  font-size: .86rem; font-weight: 700; color: var(--ink);
  animation: floaty 6s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 600; color: var(--muted); font-size: .76rem; }
.float-card .fc-ico {
  width: 36px; height: 36px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--mint); color: var(--deep);
}
.float-card .fc-ico svg { width: 19px; height: 19px; }
.fc-one { left: -6px; bottom: 16%; }
.fc-two { right: -4px; top: 8%; animation-delay: 1.6s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 575.98px) {
  .float-card { font-size: .78rem; padding: .55rem .7rem; }
  .fc-one { bottom: 6%; }
}

/* Decorative dots/rings */
.dots-deco {
  position: absolute; width: 120px; height: 120px; z-index: 0; opacity: .5;
  background-image: radial-gradient(var(--teal) 1.6px, transparent 1.7px);
  background-size: 14px 14px;
}
.dots-tl { top: 12%; left: -34px; }
.dots-br { bottom: 8%; right: -20px; }

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

/* Image + text split blocks */
.media-block { position: relative; }
.media-block img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}
.media-block .badge-card {
  position: absolute; right: -14px; bottom: -22px;
  background: #fff; border-radius: 18px; padding: .85rem 1.1rem;
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
  display: flex; align-items: center; gap: .7rem; font-weight: 700; color: var(--ink);
  font-size: .88rem;
}
.media-block .badge-card .fc-ico {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: var(--mint); color: var(--deep); flex: none;
}
@media (max-width: 575.98px) { .media-block .badge-card { right: 8px; } }

.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.tick-list li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 600; color: var(--ink-soft); }
.tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--mint); color: var(--deep);
  display: grid; place-items: center; margin-top: .15rem;
}
.tick svg { width: 13px; height: 13px; }

/* ---------- Feature (Why choose us) ---------- */
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.6rem; height: 100%;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
  position: relative; overflow: hidden;
}
.feature-card::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 137, 122, .10), transparent 70%);
  transition: transform .4s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-card:hover::after { transform: scale(1.5); }
.feature-ico {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: linear-gradient(140deg, var(--mint), #ffffff);
  border: 1px solid var(--mint-2);
  color: var(--deep);
}
.feature-ico svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.feature-card p { margin: 0; font-size: .95rem; }
.feature-card.accent .feature-ico { background: linear-gradient(140deg, #ffeee6, #fff); border-color: #ffd9c7; color: var(--accent-dark); }

/* ---------- Service cards ---------- */
.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;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.service-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.service-card:hover .service-thumb img { transform: scale(1.06); }
.service-thumb .tag {
  position: absolute; left: 14px; top: 14px;
  background: rgba(11, 43, 42, .72); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .75rem; border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}
.service-thumb .s-ico {
  position: absolute; right: 14px; bottom: -22px;
  width: 48px; height: 48px; border-radius: 15px;
  background: #fff; color: var(--deep);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
}
.service-thumb .s-ico svg { width: 23px; height: 23px; }
.service-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 1.16rem; margin-bottom: .55rem; }
.service-body p { font-size: .95rem; margin-bottom: 1.25rem; }
.service-body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Testimonials ---------- */
.testimonial-wrap { position: relative; }
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; height: 100%; box-shadow: var(--shadow-sm);
  position: relative;
}
.quote-card .qmark {
  font-size: 3.6rem; line-height: .7; color: var(--mint-2);
  font-family: Georgia, serif; display: block; margin-bottom: .4rem;
}
.quote-card p { color: var(--ink-soft); font-size: 1rem; }
.stars { display: inline-flex; gap: .18rem; color: var(--gold); margin-bottom: .9rem; }
.stars svg { width: 16px; height: 16px; flex: none; }
.who { display: flex; align-items: center; gap: .8rem; margin-top: 1.1rem; }
.who .avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 800; color: var(--deep);
  background: linear-gradient(140deg, var(--mint-2), #fff0e8);
  border: 1px solid var(--mint-2);
}
.who strong { display: block; color: var(--ink); font-size: .96rem; }
.who span { font-size: .84rem; color: var(--muted); }

.carousel-nav { display: flex; gap: .6rem; justify-content: center; margin-top: 2rem; }
.carousel-nav button {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--deep);
  display: grid; place-items: center; transition: all .25s ease;
}
.carousel-nav button:hover { background: var(--deep); color: #fff; border-color: var(--deep); }
.carousel-nav svg { width: 18px; height: 18px; }
.testimonial-carousel .carousel-indicators { position: static; margin: 1.4rem 0 0; }
.testimonial-carousel .carousel-indicators [data-bs-target] {
  width: 9px; height: 9px; border-radius: 50%; background: var(--mint-2);
  border: none; opacity: 1; margin: 0 .25rem;
}
.testimonial-carousel .carousel-indicators .active { background: var(--deep); width: 26px; border-radius: var(--radius-pill); }

/* ---------- Blog cards ---------- */
.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;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.blog-thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-cat {
  position: absolute; left: 14px; top: 14px;
  background: #fff; color: var(--deep);
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.blog-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-body h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.blog-body h3 a { color: var(--ink); }
.blog-body h3 a:hover { color: var(--deep); }
.blog-body p { font-size: .95rem; }
.blog-body .link-arrow { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq-accordion .accordion-item {
  border: 1px solid var(--line); border-radius: var(--radius-sm) !important;
  margin-bottom: .85rem; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-sm);
}
.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) { border-color: var(--mint-2); }
.faq-accordion .accordion-button {
  font-weight: 700; color: var(--ink); background: #fff; font-size: 1rem;
  padding: 1.15rem 1.3rem; border-radius: var(--radius-sm) !important;
  box-shadow: none !important;
}
.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d5c52' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-size: 1.05rem; width: 1.05rem; height: 1.05rem;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--deep); background: var(--mint); }
.faq-accordion .accordion-body { padding: .2rem 1.3rem 1.25rem; color: var(--muted); font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: 34px;
  padding: clamp(38px, 5vw, 68px);
  background:
    radial-gradient(600px 300px at 88% 8%, rgba(255, 138, 91, .26), transparent 65%),
    radial-gradient(500px 260px at 6% 92%, rgba(246, 189, 84, .2), transparent 62%),
    linear-gradient(120deg, var(--deep-dark), var(--deep) 48%, #12897a);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .84); max-width: 44em; }
.cta-band .rings { position: absolute; inset: -30% -10% auto auto; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); }
.cta-band .rings::after { content: ""; position: absolute; inset: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(44px, 5vw, 76px) 0 clamp(40px, 4.5vw, 64px);
  background:
    radial-gradient(800px 380px at 88% 0%, #dff2ec 0%, rgba(223, 242, 236, 0) 62%),
    linear-gradient(180deg, #f7fcf9, #ffffff);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { --bs-breadcrumb-divider-color: var(--muted); margin: 0; font-size: .88rem; }
.breadcrumb a { color: var(--deep); font-weight: 600; }
.breadcrumb-item.active { color: var(--muted); }
.breadcrumb-item + .breadcrumb-item::before { content: "/"; }

/* ---------- Article / legal typography ---------- */
.prose h2 { margin-top: 2.2rem; margin-bottom: .8rem; font-size: clamp(1.35rem, 2vw, 1.7rem); }
.prose h3 { margin-top: 1.6rem; margin-bottom: .5rem; font-size: 1.15rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.15rem; display: grid; gap: .5rem; margin-bottom: 1.1rem; }
.prose li::marker { color: var(--teal); }
.prose .note {
  background: var(--mint); border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.1rem 1.3rem; margin: 1.6rem 0;
}
.prose .note p:last-child { margin-bottom: 0; }
.prose a { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(18, 137, 122, .35); }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; color: var(--muted); font-size: .88rem; }
.article-meta .pill {
  background: var(--mint); color: var(--deep); font-weight: 700;
  border-radius: var(--radius-pill); padding: .3rem .8rem; font-size: .8rem;
}
.article-hero-img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.sidebar-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.sidebar-card h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.post-mini { display: flex; gap: .85rem; padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.post-mini:last-child { border-bottom: none; padding-bottom: 0; }
.post-mini img { width: 74px; height: 62px; object-fit: cover; border-radius: 12px; flex: none; }
.post-mini a { font-weight: 700; color: var(--ink); font-size: .92rem; line-height: 1.4; display: block; }
.post-mini a:hover { color: var(--deep); }
.post-mini span { font-size: .78rem; color: var(--muted); }
.sidebar-card.cta { background: linear-gradient(150deg, var(--mint), #fff); }
.share-row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.share-row a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--deep);
}
.share-row a:hover { background: var(--deep); color: #fff; }
.share-row svg { width: 16px; height: 16px; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--shadow-md);
}
.form-label { font-weight: 700; color: var(--ink); font-size: .92rem; margin-bottom: .4rem; }
.form-control, .form-select {
  border-radius: var(--radius-sm); border: 1.5px solid rgba(11, 43, 42, .14);
  padding: .8rem 1rem; font-family: var(--font); font-size: .96rem; color: var(--ink);
  background-color: #fbfdfc;
}
.form-control:focus, .form-select:focus {
  border-color: var(--teal); box-shadow: 0 0 0 4px rgba(18, 137, 122, .12);
  background-color: #fff;
}
.form-check-input:checked { background-color: var(--deep); border-color: var(--deep); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(18, 137, 122, .12); border-color: var(--teal); }
.form-note { font-size: .82rem; color: var(--muted); }
.alert-success-soft {
  background: var(--mint); border: 1px solid var(--mint-2); color: var(--deep-dark);
  border-radius: var(--radius-sm); font-weight: 600; padding: .95rem 1.1rem;
}
.alert-danger-soft {
  background: #fff1ec; border: 1px solid #ffd6c7; color: #b23f1c;
  border-radius: var(--radius-sm); font-weight: 600; padding: .95rem 1.1rem;
}
.needs-validation .invalid-feedback { font-weight: 600; }

/* ---------- Info cards (contact) ---------- */
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; height: 100%; text-align: left;
  transition: transform .3s ease, box-shadow .3s ease;
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.info-card .feature-ico { margin-bottom: .9rem; }
.info-card h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.info-card p { margin: 0; font-size: .95rem; overflow-wrap: anywhere; }
.info-card a { font-weight: 600; }

.map-frame {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); min-height: 320px;
  background:
    radial-gradient(circle at 30% 30%, #e3f4ee, #f6fbf9 60%),
    var(--mint);
  display: grid; place-items: center; text-align: center; padding: 2rem;
  position: relative;
}
.map-frame .pin {
  width: 62px; height: 62px; border-radius: 50%; background: #fff; color: var(--accent-dark);
  display: grid; place-items: center; margin: 0 auto .9rem; box-shadow: var(--shadow-md);
}
.map-frame .pin svg { width: 28px; height: 28px; }

/* ---------- Newsletter pages ---------- */
.newsletter-page {
  background:
    radial-gradient(900px 420px at 88% -6%, #dff2ec, rgba(223, 242, 236, 0) 62%),
    linear-gradient(180deg, #f9fdfb, #fff);
  min-height: 70vh;
}
.benefit-list { display: grid; gap: 1rem; }
.benefit-item { display: flex; gap: .85rem; align-items: flex-start; }
.benefit-item .feature-ico { margin: 0; width: 46px; height: 46px; border-radius: 14px; flex: none; }
.benefit-item .feature-ico svg { width: 22px; height: 22px; }
.benefit-item h4 { font-size: 1rem; margin-bottom: .15rem; }
.benefit-item p { margin: 0; font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #08211f;
  color: rgba(255, 255, 255, .72);
  padding: clamp(48px, 6vw, 76px) 0 0;
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; inset: -40% 60% auto auto;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 137, 122, .28), transparent 62%);
}
.site-footer > .container { position: relative; z-index: 2; }
.site-footer .footer-social a svg { width: 16px; height: 16px; }
.site-footer h4 {
  color: #fff; font-size: 1rem; letter-spacing: .04em;
  text-transform: uppercase; margin-bottom: 1.15rem;
}
.site-footer p { color: rgba(255, 255, 255, .68); font-size: .95rem; }
.site-footer .logo-text { color: #fff; }
.site-footer .logo:hover .logo-text { color: var(--mint-2); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer .footer-links a { color: rgba(255, 255, 255, .72); font-size: .95rem; display: inline-flex; align-items: center; gap: .5rem; }
.site-footer .footer-links a::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255, 255, 255, .3); transition: background .2s ease;
}
.site-footer .footer-links a:hover { color: #fff; }
.site-footer .footer-links a:hover::before { background: var(--accent); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.site-footer .footer-contact li, .card-soft .footer-contact li, .sidebar-card .footer-contact li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.site-footer .footer-contact .ico { width: 17px; height: 17px; flex: none; margin-top: .28rem; color: var(--mint-2); }
.card-soft .footer-contact .ico, .sidebar-card .footer-contact .ico { width: 17px; height: 17px; flex: none; margin-top: .28rem; color: var(--teal); }
.site-footer .footer-contact a { color: rgba(255, 255, 255, .82); }
.site-footer .footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #fff;
  transition: background .2s ease, transform .2s ease;
}
.footer-social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  margin-top: clamp(34px, 4vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 1.35rem 0;
  font-size: .88rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.2rem;
  align-items: center; justify-content: space-between;
}
.footer-bottom a { color: rgba(255, 255, 255, .72); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .legal-links { display: inline-flex; flex-wrap: wrap; gap: 1.1rem; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 22px; z-index: 1040;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--deep); color: #fff; border: none;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--deep-dark); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Misc ---------- */
.divider-soft { height: 1px; background: var(--line); }
.star-ico { display: inline-block; }
.mini-cta {
  background: linear-gradient(140deg, var(--mint), #fff);
  border: 1px solid var(--mint-2); border-radius: var(--radius); padding: 1.5rem;
}
.mini-cta h3 { font-size: 1.08rem; }
.card-soft .footer-links, .sidebar-card .footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.card-soft .footer-links a, .sidebar-card .footer-links a { color: var(--ink); font-size: .95rem; font-weight: 600; }
.card-soft .footer-links a:hover, .sidebar-card .footer-links a:hover { color: var(--deep); }
.card-soft .footer-contact, .sidebar-card .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.card-soft .footer-contact a, .sidebar-card .footer-contact a { color: var(--ink); }
.card-soft .footer-contact a:hover, .sidebar-card .footer-contact a:hover { color: var(--deep); }
.info-card .feature-ico, .card-soft h3 .ico { color: var(--deep); }
.pill-tag {
  display: inline-block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-pill); padding: .3rem .8rem; font-size: .8rem;
  font-weight: 700; color: var(--deep);
}
.stack-lg > * + * { margin-top: 1.4rem; }
