/* ==========================================================================
   Vital Nutri Wellness — custom styles (layered on top of Bootstrap 5.3)
   ========================================================================== */

/* ---------- Self-hosted fonts (no external requests) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --vn-forest: #0d3b2e;
  --vn-green: #14735a;
  --vn-teal: #1fa48a;
  --vn-mint: #dff5ea;
  --vn-sage: #bfe3d0;
  --vn-apricot: #ff8f4d;
  --vn-coral: #ff6f5e;
  --vn-peach: #ffd7bf;
  --vn-cream: #fbf7f0;
  --vn-ink: #1d2d27;
  --vn-body: #34443d;
  --vn-muted: #5d6e66;
  --vn-line: #e3ece7;
  --vn-radius-lg: 32px;
  --vn-radius: 24px;
  --vn-shadow-sm: 0 12px 30px -18px rgba(13, 59, 46, 0.45);
  --vn-shadow: 0 30px 60px -28px rgba(13, 59, 46, 0.45);
  --vn-font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --vn-font-body: "Manrope", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --vn-header-h: 84px;

  --bs-body-font-family: var(--vn-font-body);
  --bs-body-color: var(--vn-ink);
  --bs-body-bg: var(--vn-cream);
  --bs-link-color: var(--vn-green);
  --bs-link-hover-color: var(--vn-forest);
  --bs-link-color-rgb: 20, 115, 90;
  --bs-link-hover-color-rgb: 13, 59, 46;
  color-scheme: light;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--vn-font-body);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--vn-ink);
  background: var(--vn-cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--vn-font-head);
  color: var(--vn-forest);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
p { color: var(--vn-muted); }
a { text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
[id] { scroll-margin-top: calc(var(--vn-header-h) + 12px); }
:focus-visible { outline: 3px solid var(--vn-apricot); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 2000;
  background: var(--vn-forest);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; color: #fff; }

.section-pad { position: relative; padding: 6.5rem 0; overflow: hidden; }
.section-pad.has-wave { padding-top: calc(6.5rem + 60px); }
.bg-paper { background: #ffffff; }
.bg-mint { background: var(--vn-mint); }
.bg-forest { background: var(--vn-forest); }

.wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  pointer-events: none;
  z-index: 2;
}
.wave-top svg { display: block; width: 100%; height: 90px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--vn-mint);
  color: var(--vn-green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow svg { width: 15px; height: 15px; }
.eyebrow-light { background: rgba(255, 255, 255, 0.12); color: #d6f4e6; }

.section-title {
  font-size: clamp(2rem, 1.45rem + 2.1vw, 3.1rem);
  margin: 1rem 0 1rem;
}
.section-intro { font-size: 1.08rem; max-width: 640px; }
.section-head { max-width: 760px; margin: 0 auto 3.5rem; }

/* ---------- Logo (one line, same everywhere) ---------- */
.brand-logo { white-space: nowrap; display: inline-flex; align-items: center; }
.brand-logo img,
.footer-logo {
  display: block;
  width: auto;
  height: 46px;
  max-width: none;
}

/* Safe default for inline Bootstrap Icons: sized by the em box unless a component sets its own size */
svg.bi { width: 1em; height: 1em; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn-vn {
  --bs-btn-color: var(--vn-forest);
  --bs-btn-bg: var(--vn-apricot);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: var(--vn-forest);
  --bs-btn-hover-bg: #ff7a2e;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-active-color: var(--vn-forest);
  --bs-btn-active-bg: #f06a22;
  --bs-btn-active-border-color: transparent;
  --bs-btn-focus-shadow-rgb: 255, 143, 77;
  border-radius: 999px;
  font-weight: 800;
  padding: 0.8rem 1.6rem;
  box-shadow: 0 14px 26px -14px rgba(255, 111, 46, 0.85);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  white-space: nowrap;
}
.btn-vn:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -14px rgba(255, 111, 46, 0.9); }
.btn-vn-outline {
  --bs-btn-color: var(--vn-green);
  --bs-btn-border-color: var(--vn-green);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: var(--vn-green);
  --bs-btn-hover-border-color: var(--vn-green);
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: var(--vn-forest);
  --bs-btn-active-border-color: var(--vn-forest);
  --bs-btn-focus-shadow-rgb: 20, 115, 90;
  border-width: 2px;
  border-radius: 999px;
  font-weight: 800;
  padding: 0.72rem 1.5rem;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn-vn-outline:hover { transform: translateY(-2px); }
.btn-vn-light {
  --bs-btn-color: var(--vn-forest);
  --bs-btn-bg: #ffffff;
  --bs-btn-border-color: #ffffff;
  --bs-btn-hover-color: var(--vn-forest);
  --bs-btn-hover-bg: var(--vn-peach);
  --bs-btn-hover-border-color: var(--vn-peach);
  --bs-btn-active-color: var(--vn-forest);
  --bs-btn-active-bg: var(--vn-peach);
  --bs-btn-focus-shadow-rgb: 255, 255, 255;
  border-radius: 999px;
  font-weight: 800;
  padding: 0.8rem 1.6rem;
  box-shadow: 0 14px 26px -14px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, background-color 0.25s ease;
  white-space: nowrap;
}
.btn-vn-light:hover { transform: translateY(-2px); }
.btn-vn-ghost {
  --bs-btn-color: #ffffff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.7);
  --bs-btn-hover-color: var(--vn-forest);
  --bs-btn-hover-bg: #ffffff;
  --bs-btn-hover-border-color: #ffffff;
  --bs-btn-active-color: var(--vn-forest);
  --bs-btn-active-bg: #ffffff;
  --bs-btn-active-border-color: #ffffff;
  --bs-btn-focus-shadow-rgb: 255, 255, 255;
  border-width: 2px;
  border-radius: 999px;
  font-weight: 800;
  padding: 0.72rem 1.5rem;
  white-space: nowrap;
}
.btn svg.bi { width: 1.05em; height: 1.05em; margin-left: 0.35rem; vertical-align: -0.14em; transition: transform 0.25s ease; }
.btn:hover svg.bi { transform: translateX(3px); }
.btn-vn-outline svg.bi, .btn-vn svg.bi { margin-left: 0.4rem; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 1rem 0;
  transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  padding: 0.55rem 0;
  background: rgba(251, 247, 240, 0.9);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 12px 30px -22px rgba(13, 59, 46, 0.55);
}
.site-header .navbar { padding: 0; }
.site-header .navbar-nav .nav-link {
  position: relative;
  color: var(--vn-forest);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.55rem 0.9rem;
  white-space: nowrap;
}
.site-header .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.2rem;
  height: 3px;
  border-radius: 3px;
  background: var(--vn-apricot);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}
.site-header .navbar-nav .nav-link:hover::after,
.site-header .navbar-nav .nav-link.active::after { transform: scaleX(1); }
.site-header .navbar-nav .nav-link.active { color: var(--vn-green); }
.navbar-toggler {
  border: 0;
  padding: 0.45rem 0.6rem;
  border-radius: 14px;
  background: var(--vn-mint);
}
.navbar-toggler:focus { box-shadow: 0 0 0 0.2rem rgba(31, 164, 138, 0.25); }
@media (max-width: 1199.98px) {
  .brand-logo img, .footer-logo { height: 40px; }
  .navbar-collapse {
    background: #ffffff;
    border-radius: 26px;
    padding: 1rem 1.1rem 1.2rem;
    margin-top: 1rem;
    box-shadow: var(--vn-shadow);
  }
  .site-header .navbar-nav .nav-link::after { display: none; }
  .site-header .navbar-nav .nav-link { padding: 0.7rem 0.4rem; }
  .navbar-collapse .btn { width: 100%; margin-top: 0.8rem; }
}
@media (max-width: 575.98px) {
  .brand-logo img, .footer-logo { height: 36px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 6.5rem;
  background:
    radial-gradient(900px 500px at 6% 0%, #e3f7ec 0%, transparent 60%),
    radial-gradient(760px 520px at 100% 20%, #ffe4d1 0%, transparent 60%),
    var(--vn-cream);
}
.hero-inner { position: relative; z-index: 1; }
.hero-blob {
  position: absolute;
  z-index: 0;
  border-radius: 45% 55% 60% 40% / 50% 40% 60% 50%;
  filter: blur(2px);
  opacity: 0.6;
  animation: morph 16s ease-in-out infinite;
}
.hero-blob-a {
  width: 420px;
  height: 420px;
  top: -140px;
  left: -150px;
  background: radial-gradient(circle at 30% 30%, #c8ecdb, #8fd3b8);
}
.hero-blob-b {
  width: 320px;
  height: 320px;
  bottom: -110px;
  right: 4%;
  background: radial-gradient(circle at 30% 30%, #ffd9bd, #ffb27a);
  animation-delay: -6s;
}
@keyframes morph {
  0%, 100% { border-radius: 45% 55% 60% 40% / 50% 40% 60% 50%; transform: rotate(0deg); }
  50% { border-radius: 60% 40% 35% 65% / 40% 60% 40% 60%; transform: rotate(10deg); }
}
.eyebrow.hero-eyebrow { font-size: 0.74rem; }
.hero-title {
  font-size: clamp(2.6rem, 1.5rem + 4vw, 4.7rem);
  line-height: 1.02;
  margin: 1.2rem 0 1.3rem;
}
.hero-title em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(110deg, var(--vn-green) 0%, var(--vn-teal) 42%, var(--vn-apricot) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.hero-lead { font-size: 1.18rem; max-width: 34rem; color: var(--vn-muted); }
.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  border: 1px solid var(--vn-line);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--vn-forest);
  box-shadow: var(--vn-shadow-sm);
}
.trust-chips svg.bi { width: 16px; height: 16px; color: var(--vn-teal); }
.hero-visual { position: relative; padding: 0 1.5rem; }
.hero-arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 240px 240px 36px 36px;
  overflow: hidden;
  box-shadow: var(--vn-shadow);
  background: var(--vn-sage);
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 0.8rem 1.05rem 0.8rem 0.8rem;
  box-shadow: var(--vn-shadow);
  animation: floaty 7s ease-in-out infinite;
}
.float-card strong {
  display: block;
  font-family: var(--vn-font-head);
  color: var(--vn-forest);
  font-size: 1.02rem;
  line-height: 1.2;
}
.float-card span { display: block; font-size: 0.82rem; color: var(--vn-muted); line-height: 1.3; }
.fc-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--vn-mint);
  color: var(--vn-green);
  flex: 0 0 auto;
}
.fc-icon svg.bi { width: 22px; height: 22px; }
.float-card-a { left: -8px; bottom: 56px; }
.float-card-b { right: -4px; top: 48px; animation-delay: -3.5s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Ticker band ---------- */
.ticker {
  background: var(--vn-forest);
  color: #d6f4e6;
  padding: 1.05rem 0;
  overflow: hidden;
  position: relative;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; flex-shrink: 0; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  font-family: var(--vn-font-head);
  font-size: 1.25rem;
  font-style: italic;
  white-space: nowrap;
  padding-right: 2.2rem;
}
.ticker-item::after {
  content: "\2726";
  margin-left: 2.2rem;
  color: var(--vn-apricot);
  font-style: normal;
  font-size: 0.9rem;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Eyebrow & reveal helpers ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { --reveal-delay: 0.12s; }
.reveal-delay-2 { --reveal-delay: 0.24s; }
.reveal-delay-3 { --reveal-delay: 0.36s; }

/* ---------- About (home) ---------- */
.about-media { position: relative; padding: 0 0 2.2rem 0; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
  border-radius: 40px;
  box-shadow: var(--vn-shadow);
}
.about-badge {
  position: absolute;
  right: -6px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 300px;
  background: #ffffff;
  border-radius: 24px;
  padding: 1rem 1.2rem 1rem 1rem;
  box-shadow: var(--vn-shadow);
}
.about-badge strong { display: block; font-family: var(--vn-font-head); color: var(--vn-forest); line-height: 1.25; }
.about-badge span { font-size: 0.85rem; color: var(--vn-muted); line-height: 1.35; display: block; }
.lead-text { font-size: 1.15rem; color: var(--vn-ink); font-weight: 500; }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.8rem; }
.check-list li { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; color: var(--vn-forest); }
.check-list svg.bi { width: 22px; height: 22px; color: var(--vn-teal); flex: 0 0 auto; }

/* ---------- Feature cards (why choose us, values, mission) ---------- */
.feature-card {
  position: relative;
  height: 100%;
  background: #ffffff;
  border-radius: var(--vn-radius-lg);
  padding: 2.2rem 2rem;
  border: 1px solid rgba(20, 115, 90, 0.08);
  box-shadow: var(--vn-shadow-sm);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}
.feature-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -80px;
  bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--vn-mint) 0%, transparent 70%);
  transition: transform 0.6s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--vn-shadow); }
.feature-card:hover::after { transform: scale(1.6); }
.feature-card > * { position: relative; z-index: 1; }
.feature-card h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.feature-card p { margin: 0; }
.feature-icon {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--vn-mint), #ffffff);
  color: var(--vn-green);
  box-shadow: inset 0 0 0 1px rgba(20, 115, 90, 0.12);
  margin-bottom: 1.4rem;
}
.feature-icon svg.bi { width: 30px; height: 30px; }
.feature-card.tone-warm .feature-icon { background: linear-gradient(145deg, #ffe9da, #ffffff); color: #d86a2b; box-shadow: inset 0 0 0 1px rgba(255, 143, 77, 0.2); }
.feature-card.tone-deep .feature-icon { background: linear-gradient(145deg, #cdeee0, #ffffff); color: var(--vn-forest); }

/* ---------- Service cards ---------- */
.service-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 30px;
  box-shadow: var(--vn-shadow-sm);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--vn-shadow); }
.service-media { position: relative; }
.service-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
  background: var(--vn-sage);
}
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.service-card:hover .service-img img { transform: scale(1.07); }
.service-icon {
  position: absolute;
  right: 18px;
  bottom: -28px;
  width: 60px;
  height: 60px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: var(--vn-green);
  box-shadow: var(--vn-shadow-sm);
  z-index: 2;
  transition: transform 0.45s ease, background-color 0.45s ease, color 0.45s ease;
}
.service-icon svg.bi { width: 26px; height: 26px; }
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.06); background: var(--vn-apricot); color: #ffffff; }
.service-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2.2rem 1.6rem 1.7rem;
}
.service-title { font-size: 1.3rem; margin-bottom: 0.55rem; }
.service-text { font-size: 0.95rem; flex: 1; margin-bottom: 1.3rem; }
.service-btn { width: 100%; }

/* ---------- Testimonials ---------- */
.testimonial-section {
  color: #e7f6ee;
  background:
    radial-gradient(800px 500px at 92% 0%, rgba(255, 143, 77, 0.22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(31, 164, 138, 0.34), transparent 60%),
    var(--vn-forest);
}
.testimonial-section h2 { color: #ffffff; }
.testimonial-section .section-intro { color: #bfe3d0; }
.quote-card {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 2.6rem 2.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 40px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.quote-icon {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 143, 77, 0.16);
  color: var(--vn-apricot);
  margin-bottom: 1.2rem;
}
.quote-icon svg.bi { width: 28px; height: 28px; }
.stars { display: inline-flex; gap: 0.3rem; color: #ffc27a; margin-bottom: 1.2rem; }
.stars svg.bi { width: 17px; height: 17px; }
.quote-text {
  font-family: var(--vn-font-head);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.7rem);
  line-height: 1.5;
  color: #ffffff;
  margin: 0 0 1.8rem;
}
.quote-card figcaption { display: grid; justify-items: center; gap: 0.1rem; }
.avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 0.6rem;
  font-family: var(--vn-font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--vn-forest);
  background: linear-gradient(135deg, #ffd7bf, var(--vn-apricot));
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
}
.testimonial-name { color: #ffffff; font-weight: 800; margin: 0; }
.testimonial-role { color: #a9d9c3; font-size: 0.9rem; margin: 0; }
.testimonial-section .carousel-control-prev,
.testimonial-section .carousel-control-next {
  top: 50%;
  bottom: auto;
  width: 58px;
  height: 58px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
  transition: background-color 0.3s ease;
}
.testimonial-section .carousel-control-prev { left: 0.5rem; }
.testimonial-section .carousel-control-next { right: 0.5rem; }
.testimonial-section .carousel-control-prev:hover,
.testimonial-section .carousel-control-next:hover { background: var(--vn-apricot); }
.testimonial-section .carousel-indicators { position: static; margin: 2rem 0 0; }
.testimonial-section .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 10px;
  background-color: #ffffff;
  opacity: 0.4;
  transition: width 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}
.testimonial-section .carousel-indicators .active {
  width: 30px;
  opacity: 1;
  background-color: var(--vn-apricot);
}

/* ---------- Blog covers, cards, featured ---------- */
.post-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.post-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.25) 0 2px, transparent 2px 26px);
  opacity: 0.85;
}
.post-cover::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  left: -80px;
  bottom: -120px;
  background: rgba(255, 255, 255, 0.16);
}
.cover-icon {
  width: 96px;
  height: 96px;
  border-radius: 30px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  color: var(--vn-green);
  box-shadow: 0 25px 40px -20px rgba(0, 0, 0, 0.35);
  transform: rotate(-4deg);
  transition: transform 0.5s ease;
}
.cover-icon svg.bi { width: 46px; height: 46px; }
.cover-nutrition { background: linear-gradient(135deg, #ffe6d2 0%, #ffb27a 58%, #ff8f4d 100%); }
.cover-nutrition .cover-icon { color: #d25f22; }
.cover-movement { background: linear-gradient(135deg, #d4f2e4 0%, #5cc4a6 55%, #14735a 100%); }
.cover-movement .cover-icon { color: var(--vn-green); }
.cover-brain { background: linear-gradient(135deg, #1b5e4c 0%, #14735a 50%, #1fa48a 100%); }
.cover-brain .cover-icon { color: var(--vn-forest); }
.blog-card:hover .cover-icon,
.mini-card:hover .cover-icon,
.featured-card:hover .cover-icon { transform: rotate(4deg) scale(1.06); }

.blog-card, .featured-card, .mini-card {
  display: flex;
  background: #ffffff;
  box-shadow: var(--vn-shadow-sm);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
  overflow: hidden;
}
.blog-card { height: 100%; flex-direction: column; border-radius: 30px; }
.blog-card:hover, .featured-card:hover, .mini-card:hover { transform: translateY(-8px); box-shadow: var(--vn-shadow); }
.blog-media { position: relative; }
.blog-media .post-cover { border-radius: 30px 30px 0 0; }
.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  color: var(--vn-green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  box-shadow: var(--vn-shadow-sm);
}
.blog-media .category-pill { position: absolute; left: 18px; top: 18px; z-index: 2; }
.blog-body { display: flex; flex-direction: column; flex: 1; padding: 1.8rem 1.7rem 1.7rem; }
.blog-title { font-size: 1.42rem; margin: 0 0 0.7rem; }
.blog-title a { color: inherit; text-decoration: none; }
.blog-title a:hover { color: var(--vn-green); }
.blog-excerpt { flex: 1; margin-bottom: 1.2rem; }
.read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  color: var(--vn-green);
  text-decoration: none;
}
.read-link svg.bi { width: 1.15em; height: 1.15em; transition: transform 0.3s ease; }
.read-link:hover { color: var(--vn-apricot); }
.read-link:hover svg.bi { transform: translateX(5px); }
.post-meta { font-size: 0.9rem; color: var(--vn-muted); font-weight: 600; }

.featured-card { height: 100%; flex-direction: column; border-radius: 36px; }
.featured-card .post-cover { aspect-ratio: 16 / 9; }
.featured-card .blog-body { padding: 2.4rem 2.4rem 2.2rem; }
.featured-card .blog-title { font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.4rem); }
.featured-card .blog-media .post-cover { border-radius: 36px 36px 0 0; }
.mini-card { height: 100%; flex-direction: row; border-radius: 28px; }
.mini-card .post-cover { width: 42%; min-width: 150px; flex: 0 0 42%; aspect-ratio: auto; border-radius: 0; }
.mini-card .cover-icon { width: 66px; height: 66px; border-radius: 22px; }
.mini-card .cover-icon svg.bi { width: 30px; height: 30px; }
.mini-body { display: flex; flex-direction: column; padding: 1.5rem 1.5rem 1.4rem 1.2rem; }
.mini-body .blog-title { font-size: 1.2rem; margin-bottom: 0.5rem; }
.mini-body .blog-excerpt { font-size: 0.93rem; margin-bottom: 0.9rem; }
.mini-body .category-pill { box-shadow: none; background: var(--vn-mint); padding: 0.3rem 0.7rem; font-size: 0.68rem; margin-bottom: 0.6rem; align-self: flex-start; }

/* ---------- FAQ ---------- */
.accordion-vn {
  --bs-accordion-active-bg: var(--vn-mint);
  --bs-accordion-active-color: var(--vn-forest);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(31, 164, 138, 0.25);
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d3b2e'%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");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d3b2e'%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");
}
.accordion-vn .accordion-item {
  border: 0;
  margin-bottom: 1rem;
  border-radius: 22px !important;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 28px -24px rgba(13, 59, 46, 0.7);
}
.accordion-vn .accordion-header { margin: 0; }
.accordion-vn .accordion-button {
  font-family: var(--vn-font-head);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--vn-forest);
  background: #ffffff;
  padding: 1.25rem 1.5rem;
  box-shadow: none;
}
.accordion-vn .accordion-button:not(.collapsed) { background: var(--vn-mint); color: var(--vn-forest); }
.accordion-vn .accordion-body { color: var(--vn-muted); padding: 0 1.5rem 1.4rem; background: var(--vn-mint); }
.accordion-vn .accordion-body p { margin: 0; color: var(--vn-body); }
.accordion-vn .accordion-collapse { background: var(--vn-mint); }
.accordion-vn .accordion-button:not(.collapsed) + .accordion-collapse { background: var(--vn-mint); }

/* ---------- CTA banner ---------- */
.cta-section { position: relative; overflow: hidden; }
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: 44px;
  padding: clamp(2.6rem, 2rem + 3vw, 4.6rem) clamp(1.6rem, 1rem + 3vw, 4.2rem);
  background: linear-gradient(120deg, var(--vn-green) 0%, var(--vn-forest) 62%, #082620 100%);
  color: #e7f6ee;
  box-shadow: var(--vn-shadow);
}
.cta-banner::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  top: -170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 143, 77, 0.55), rgba(255, 143, 77, 0) 70%);
}
.cta-banner::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  left: -120px;
  bottom: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 164, 138, 0.6), transparent 70%);
}
.cta-inner { position: relative; z-index: 1; }
.cta-banner h2 { color: #ffffff; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); margin: 1rem 0 0.9rem; }
.cta-banner p { color: #c9e9da; font-size: 1.1rem; margin: 0; }
.cta-banner .eyebrow-light { margin: 0; }

/* ---------- Site footer ---------- */
.site-footer {
  position: relative;
  background: var(--vn-forest);
  color: #bfdccf;
  padding: 6.5rem 0 2rem;
  margin-top: 0;
}
.footer-wave { position: absolute; top: -1px; left: 0; right: 0; line-height: 0; pointer-events: none; }
.footer-wave svg { display: block; width: 100%; height: 70px; }
.footer-wave path { fill: var(--vn-forest); }
.footer-text { color: #a9cdbc; max-width: 340px; font-size: 0.97rem; }
.footer-title { font-family: var(--vn-font-head); font-size: 1.12rem; color: #ffffff; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-links a {
  color: #bfdccf;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, padding-left 0.2s ease;
  overflow-wrap: anywhere;
}
.footer-links a:hover { color: var(--vn-apricot); padding-left: 4px; }
.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.social-link:hover { background: var(--vn-apricot); color: #ffffff; transform: translateY(-3px); }
.social-link svg.bi { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 3.2rem;
  padding-top: 1.5rem;
  font-size: 0.92rem;
  color: #9cc6b3;
}
.footer-bottom p { margin: 0; color: #9cc6b3; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 4.2rem 0 4.8rem;
  background:
    radial-gradient(900px 420px at 96% 0%, #ffe3cf 0%, transparent 60%),
    radial-gradient(700px 380px at 0% 100%, #cdeedd 0%, transparent 60%),
    var(--vn-cream);
}
.page-hero .container-xl { position: relative; z-index: 1; }
.page-hero-blob {
  position: absolute;
  z-index: 0;
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: -160px;
  border-radius: 45% 55% 60% 40% / 50% 40% 60% 50%;
  background: radial-gradient(circle at 30% 30%, #ffd7bd, #ffb27a 70%);
  opacity: 0.35;
  animation: morph 18s ease-in-out infinite;
}
.page-hero h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 3.9rem); margin: 0.9rem 0 0.8rem; }
.page-hero .lead-line { font-size: 1.15rem; color: var(--vn-muted); max-width: 680px; margin: 0; }
.breadcrumb {
  --bs-breadcrumb-divider-color: var(--vn-teal);
  --bs-breadcrumb-item-active-color: var(--vn-green);
  font-weight: 700;
  font-size: 0.92rem;
  margin: 0;
}
.breadcrumb-item a { color: var(--vn-forest); text-decoration: none; }
.breadcrumb-item a:hover { color: var(--vn-green); text-decoration: underline; }

/* ---------- Info cards (contact) ---------- */
.info-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #ffffff;
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--vn-shadow-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--vn-shadow); }
.info-card h2, .info-card h3 { font-size: 1.3rem; margin: 0.2rem 0 0.1rem; }
.info-card p { margin: 0; overflow-wrap: anywhere; }
.info-link {
  color: var(--vn-forest);
  font-weight: 800;
  text-decoration: none;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.info-link:hover { color: var(--vn-apricot); text-decoration: underline; }
.info-link-row { margin-top: auto; padding-top: 0.6rem; }
.info-link-row a { color: var(--vn-green); font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.info-link-row svg.bi { width: 1.1em; height: 1.1em; }
.info-link-row a:hover { color: var(--vn-apricot); }

/* ---------- Forms ---------- */
.form-card {
  background: #ffffff;
  border-radius: 36px;
  padding: clamp(1.6rem, 1rem + 2vw, 2.8rem);
  box-shadow: var(--vn-shadow);
}
.form-card .form-label { font-weight: 800; color: var(--vn-forest); font-size: 0.92rem; margin-bottom: 0.45rem; }
.form-card .form-label .req { color: var(--vn-coral); }
.form-control,
.form-select {
  border-radius: 16px;
  border: 1.5px solid #d7e7de;
  background-color: #fbfdfc;
  padding: 0.8rem 1.05rem;
  color: var(--vn-ink);
  font-size: 1rem;
  min-height: 52px;
}
.form-select { padding-right: 2.6rem; }
.form-control::placeholder { color: #9aa9a2; opacity: 1; }
.form-control:focus,
.form-select:focus {
  border-color: var(--vn-teal);
  box-shadow: 0 0 0 0.25rem rgba(31, 164, 138, 0.18);
  background-color: #ffffff;
}
textarea.form-control { min-height: 150px; }
.form-check-input {
  width: 1.2em;
  height: 1.2em;
  margin-top: 0.2em;
  border-color: #9fc7b5;
  cursor: pointer;
}
.form-check-input:checked { background-color: var(--vn-green); border-color: var(--vn-green); }
.form-check-input:focus { border-color: var(--vn-teal); box-shadow: 0 0 0 0.25rem rgba(31, 164, 138, 0.2); }
.form-check-label { color: var(--vn-muted); cursor: pointer; }
.form-check-label a { color: var(--vn-green); font-weight: 700; }
.form-card .form-check { margin-bottom: 0.7rem; }
.was-validated .form-control:valid,
.was-validated .form-select:valid { border-color: #5fbf9f; }
.was-validated .form-control:invalid,
.was-validated .form-select:invalid { border-color: var(--vn-coral); }
.form-note { font-size: 0.88rem; color: var(--vn-muted); }
.chip-check { position: relative; display: inline-block; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.chip-check label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  margin: 0;
  border: 1.5px solid #cfe4d9;
  border-radius: 999px;
  background: #fbfdfc;
  color: var(--vn-forest);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.chip-check label:hover { border-color: var(--vn-teal); }
.chip-check input:checked + label { background: var(--vn-green); border-color: var(--vn-green); color: #ffffff; }
.chip-check input:focus-visible + label { outline: 3px solid var(--vn-apricot); outline-offset: 2px; }
.form-success {
  display: none;
  align-items: flex-start;
  gap: 0.8rem;
  background: var(--vn-mint);
  color: var(--vn-forest);
  border-radius: 20px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.form-success.show { display: flex; }
.form-success svg.bi { width: 26px; height: 26px; color: var(--vn-green); flex: 0 0 auto; margin-top: 2px; }
.form-success strong { display: block; font-family: var(--vn-font-head); font-size: 1.1rem; }
.form-success span { color: var(--vn-body); }

/* ---------- Side panels & visuals ---------- */
.big-icon {
  display: inline-grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--vn-mint);
  color: var(--vn-green);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.85);
  margin-bottom: 1.4rem;
}
.big-icon svg.bi { width: 42px; height: 42px; }
.side-panel {
  height: 100%;
  background: linear-gradient(160deg, #ffffff 0%, #eef9f3 100%);
  border-radius: 36px;
  padding: 2.4rem;
  box-shadow: var(--vn-shadow-sm);
}
.benefit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.benefit-list li { display: flex; gap: 0.95rem; align-items: flex-start; }
.benefit-list .fc-icon { width: 46px; height: 46px; }
.benefit-list strong { display: block; color: var(--vn-forest); font-family: var(--vn-font-head); font-size: 1.08rem; line-height: 1.25; }
.benefit-list span { display: block; color: var(--vn-muted); font-size: 0.95rem; line-height: 1.5; }
.image-frame {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--vn-shadow);
}
.image-frame img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; display: block; }
.image-frame .float-card { left: 16px; bottom: 16px; right: auto; top: auto; animation: none; }
.map-card {
  position: relative;
  min-height: 300px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, #e6f7ef, #cdeee0);
  box-shadow: var(--vn-shadow);
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 115, 90, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 115, 90, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-road { position: absolute; background: #ffffff; border-radius: 999px; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.4); }
.map-road.r1 { width: 150%; height: 22px; left: -25%; top: 36%; transform: rotate(-12deg); }
.map-road.r2 { width: 20px; height: 150%; left: 62%; top: -25%; transform: rotate(18deg); }
.map-road.r3 { width: 130%; height: 14px; left: -15%; top: 74%; transform: rotate(6deg); }
.map-pin {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--vn-apricot), var(--vn-coral));
  box-shadow: 0 16px 30px -10px rgba(255, 111, 46, 0.7);
}
.map-pin svg.bi { width: 26px; height: 26px; color: #ffffff; transform: rotate(45deg); }
.map-content {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  background: #ffffff;
  border-radius: 22px;
  padding: 1.1rem 1.25rem;
  box-shadow: var(--vn-shadow-sm);
}
.map-content strong { display: block; font-family: var(--vn-font-head); color: var(--vn-forest); font-size: 1.05rem; line-height: 1.3; }
.map-content span { font-size: 0.9rem; color: var(--vn-muted); }

/* ---------- About page ---------- */
.story-copy p { font-size: 1.05rem; }
.quote-float {
  position: absolute;
  left: -18px;
  bottom: 28px;
  max-width: 290px;
  background: #ffffff;
  border-radius: 24px;
  padding: 1.2rem 1.4rem;
  box-shadow: var(--vn-shadow);
  font-family: var(--vn-font-head);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--vn-forest);
}
.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--vn-mint);
  color: var(--vn-green);
  font-size: 0.85rem;
  font-weight: 800;
}
.mission-card { height: 100%; border-radius: 34px; padding: 2.6rem; background: #ffffff; box-shadow: var(--vn-shadow-sm); position: relative; overflow: hidden; }
.mission-card h2, .mission-card h3 { font-size: 1.7rem; margin: 1rem 0 0.8rem; }
.mission-card p { font-size: 1.08rem; margin: 0; color: var(--vn-body); }
.mission-card.is-dark { background: linear-gradient(140deg, var(--vn-green), var(--vn-forest)); }
.mission-card.is-dark h2, .mission-card.is-dark h3 { color: #ffffff; }
.mission-card.is-dark p { color: #d2efe1; }
.mission-card.is-dark .feature-icon { background: rgba(255, 255, 255, 0.12); color: #ffd7bf; box-shadow: none; }
.steps { position: relative; }
.steps::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 12%;
  right: 12%;
  height: 3px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--vn-teal) 0 10px, transparent 10px 20px);
  opacity: 0.55;
}
.step { text-align: center; position: relative; padding: 0 0.6rem; }
.step-icon {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: var(--vn-green);
  border: 2px solid var(--vn-mint);
  box-shadow: var(--vn-shadow-sm);
}
.step-icon svg.bi { width: 36px; height: 36px; }
.step:nth-child(2) .step-icon { color: #d25f22; }
.step:nth-child(4) .step-icon { color: #d25f22; }
.step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.95rem; margin: 0; }
.team-card {
  height: 100%;
  background: #ffffff;
  border-radius: 32px;
  padding: 2.3rem 2rem;
  box-shadow: var(--vn-shadow-sm);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--vn-shadow); }
.team-card h3 { font-size: 1.32rem; margin: 1.2rem 0 0.6rem; }
.team-card p { margin: 0; }

/* ---------- Legal pages ---------- */
.legal-toc {
  position: sticky;
  top: calc(var(--vn-header-h) + 16px);
  background: #ffffff;
  border-radius: 28px;
  padding: 1.6rem 1.2rem;
  box-shadow: var(--vn-shadow-sm);
}
.legal-toc h2 { font-size: 1.12rem; margin: 0 0 0.8rem 0.5rem; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.2rem; }
.legal-toc a {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: 12px;
  color: var(--vn-forest);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.legal-toc a:hover { background: var(--vn-mint); color: var(--vn-green); }
.legal-content {
  background: #ffffff;
  border-radius: 36px;
  padding: clamp(1.6rem, 1rem + 3vw, 3.4rem);
  box-shadow: var(--vn-shadow-sm);
}
.legal-content h2 {
  font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.8rem);
  margin: 2.4rem 0 0.8rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p,
.legal-content li { color: #3b4a43; line-height: 1.8; }
.legal-content ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.45rem; }
.legal-content .legal-intro { font-size: 1.08rem; color: var(--vn-forest); font-weight: 500; }
.legal-content a { color: var(--vn-green); font-weight: 700; }

/* ---------- Blog article ---------- */
.article-hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 2.4rem;
  background:
    radial-gradient(800px 400px at 0% 0%, #e3f6ec 0%, transparent 60%),
    radial-gradient(600px 360px at 100% 100%, #ffe6d4 0%, transparent 60%),
    var(--vn-cream);
}
.article-hero h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.7rem); margin: 1rem 0 1.2rem; max-width: 900px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; align-items: center; color: var(--vn-muted); font-size: 0.95rem; font-weight: 600; }
.article-meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.article-meta svg.bi { width: 17px; height: 17px; color: var(--vn-teal); }
.article-cover {
  aspect-ratio: 21 / 9;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--vn-shadow);
}
.article-cover .cover-icon { width: 120px; height: 120px; border-radius: 36px; }
.article-cover .cover-icon svg.bi { width: 58px; height: 58px; }
.article-body { font-size: 1.1rem; line-height: 1.85; color: var(--vn-body); }
.article-body p { color: var(--vn-body); margin-bottom: 1.35rem; }
.article-body .lead-paragraph { font-size: 1.27rem; font-weight: 500; color: var(--vn-forest); line-height: 1.7; }
.article-body h2 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); margin: 2.8rem 0 1rem; }
.article-body ul { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.article-body ul li { position: relative; padding-left: 2rem; margin-bottom: 0.75rem; }
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.6em;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--vn-teal), var(--vn-green));
  transform: rotate(45deg);
}
.article-body strong { color: var(--vn-forest); }
.takeaways {
  background: #ffffff;
  border: 1px solid var(--vn-line);
  border-radius: 28px;
  padding: 2rem 2.2rem;
  box-shadow: var(--vn-shadow-sm);
  margin: 2rem 0 0.5rem;
}
.takeaways h2 { font-size: 1.4rem; margin: 0 0 0.9rem; }
.takeaways ul { margin-bottom: 0; }
.takeaways ul li::before { background: var(--vn-apricot); }
.pull-quote {
  position: relative;
  margin: 2.6rem 0;
  padding: 2.2rem 2.4rem 2rem;
  border-radius: 30px;
  background: var(--vn-mint);
  font-family: var(--vn-font-head);
  font-style: italic;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem);
  line-height: 1.5;
  color: var(--vn-forest);
}
.pull-quote::before {
  content: "\201C";
  position: absolute;
  left: 1.2rem;
  top: -0.35rem;
  font-size: 5rem;
  line-height: 1;
  color: var(--vn-apricot);
  font-family: var(--vn-font-head);
}
.pull-quote p { color: var(--vn-forest); margin: 0; padding-left: 1.2rem; }
.disclaimer {
  font-size: 0.92rem;
  color: var(--vn-muted);
  background: #fff6ec;
  border-left: 4px solid var(--vn-apricot);
  padding: 1rem 1.2rem;
  border-radius: 14px;
  margin-top: 2.4rem;
}
.author-box {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.6rem 1.8rem;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--vn-shadow-sm);
  margin-top: 2.6rem;
}
.author-box .avatar { margin: 0; width: 70px; height: 70px; font-size: 1.3rem; flex: 0 0 auto; }
.author-box strong { display: block; font-family: var(--vn-font-head); color: var(--vn-forest); font-size: 1.12rem; }
.author-box span { color: var(--vn-muted); font-size: 0.95rem; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1040;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--vn-apricot);
  color: #ffffff;
  box-shadow: 0 16px 28px -12px rgba(255, 111, 46, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
}
.back-to-top:hover { background: #ff7a2e; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top svg.bi { width: 22px; height: 22px; }

/* ---------- Responsive refinements ---------- */
@media (max-width: 991.98px) {
  .testimonial-section .carousel { padding-bottom: 3.75rem; }
  .testimonial-section .carousel-control-prev,
  .testimonial-section .carousel-control-next { top: auto; bottom: 0; width: 44px; height: 44px; transform: none; }
  .testimonial-section .carousel-control-prev { left: 0.25rem; }
  .testimonial-section .carousel-control-next { right: 0.25rem; }
  .testimonial-section .carousel-indicators { position: absolute; left: 0; right: 0; bottom: 17px; margin: 0; }
  .hero { padding: 3rem 0 5rem; }
  .section-pad { padding: 4.8rem 0; }
  .section-pad.has-wave { padding-top: calc(4.8rem + 60px); }
  .float-card-a { left: 4px; }
  .float-card-b { right: 4px; }
  .about-badge { right: 4px; }
  .quote-float { left: 10px; }
  .steps::before { display: none; }
  .legal-toc { position: relative; top: 0; }
}
@media (max-width: 575.98px) {
  .hero-visual { padding: 0 0.5rem; }
  .hero-arch { border-radius: 160px 160px 30px 30px; }
  .float-card { min-width: 0; padding: 0.6rem 0.8rem 0.6rem 0.6rem; gap: 0.6rem; }
  .float-card strong { font-size: 0.92rem; }
  .float-card span { font-size: 0.76rem; }
  .fc-icon { width: 38px; height: 38px; border-radius: 12px; }
  .float-card-a { left: 0; bottom: 12px; }
  .float-card-b { right: 0; top: 14px; }
  .quote-card { padding: 2.2rem 1.4rem 1.8rem; border-radius: 28px; }
  .cta-banner { border-radius: 30px; }
  .form-card, .side-panel { padding: 1.5rem; border-radius: 28px; }
  .pull-quote { padding: 1.8rem 1.4rem 1.6rem; }
  .takeaways { padding: 1.6rem 1.4rem; }
  .author-box { flex-direction: column; text-align: center; }
  .mini-card { flex-direction: column; }
  .mini-card .post-cover { width: 100%; flex: 0 0 auto; aspect-ratio: 16 / 9; }
  .mini-body { padding: 1.3rem 1.3rem 1.4rem; }
  .map-content { flex-direction: column; align-items: flex-start; }
  .article-cover { aspect-ratio: 16 / 10; border-radius: 28px; }
}

/* ---------- Respect reduced-motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
