/* ==========================================================================
   Health Vital Spark — Custom Stylesheet
   Built on Bootstrap 5 grid + components
   ========================================================================== */

:root {
  --hvs-teal: #0E9E86;
  --hvs-teal-dark: #0B7C69;
  --hvs-teal-deep: #0A332B;
  --hvs-mint: #17C6A2;
  --hvs-ink: #14312A;
  --hvs-body: #52645E;
  --hvs-soft: #F1FAF7;
  --hvs-soft-2: #E7F5F0;
  --hvs-cream: #FFF8F0;
  --hvs-accent: #FF7A59;
  --hvs-accent-dark: #EF5E3C;
  --hvs-gold: #FFB020;
  --hvs-line: #E2EFEB;
  --hvs-white: #FFFFFF;
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --shadow-sm: 0 4px 14px rgba(10, 51, 43, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 51, 43, 0.10);
  --shadow-lg: 0 22px 50px rgba(10, 51, 43, 0.16);
  --grad-main: linear-gradient(120deg, #0E9E86 0%, #17C6A2 100%);
  --grad-accent: linear-gradient(120deg, #FF8A5C 0%, #FF6B4A 100%);
  --grad-text: linear-gradient(115deg, #0E9E86 0%, #17C6A2 45%, #FF8A5C 100%);
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--hvs-body);
  background: var(--hvs-white);
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--hvs-ink);
  font-weight: 700;
  line-height: 1.25;
}
a { text-decoration: none; transition: color .25s ease; }
::selection { background: rgba(14, 158, 134, .22); }
img { max-width: 100%; }

.section { padding: 96px 0; }
.section-soft { background: var(--hvs-soft); }
.section-tight { padding: 72px 0; }

.container { max-width: 1200px; }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--hvs-teal-dark);
  background: rgba(14, 158, 134, .10);
  border: 1px solid rgba(14, 158, 134, .18);
  padding: .45rem 1.15rem; border-radius: 50rem;
  margin-bottom: 1.1rem;
}
.eyebrow i { font-size: .9rem; }
.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 700; letter-spacing: -.01em;
  margin-bottom: .9rem;
}
.section-sub {
  max-width: 640px; margin: 0 auto;
  font-size: 1.02rem;
}
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.lead-soft { color: var(--hvs-body); font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-head); font-weight: 600; border-radius: 50rem; }
.btn-spark {
  background: var(--grad-accent); color: #fff;
  padding: .72rem 1.7rem; font-size: .95rem;
  border: none; box-shadow: 0 10px 24px rgba(255, 107, 74, .32);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn-spark:hover, .btn-spark:focus {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 107, 74, .42);
  filter: brightness(1.04);
}
.btn-spark-teal {
  background: var(--grad-main); color: #fff;
  padding: .72rem 1.7rem; font-size: .95rem; border: none;
  box-shadow: 0 10px 24px rgba(14, 158, 134, .32);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-spark-teal:hover, .btn-spark-teal:focus {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(14, 158, 134, .42);
}
.btn-outline-spark {
  border: 2px solid rgba(14, 158, 134, .55); color: var(--hvs-teal-dark);
  padding: .68rem 1.6rem; font-size: .95rem; background: transparent;
}
.btn-outline-spark:hover, .btn-outline-spark:focus {
  background: var(--hvs-teal); border-color: var(--hvs-teal); color: #fff;
}
.btn-white {
  background: #fff; color: var(--hvs-teal-deep);
  padding: .72rem 1.7rem; font-size: .95rem; border: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}
.btn-white:hover, .btn-white:focus { color: var(--hvs-teal-deep); transform: translateY(-2px); }
.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, .65); color: #fff;
  padding: .68rem 1.6rem; font-size: .95rem; background: transparent;
}
.btn-outline-white:hover, .btn-outline-white:focus { background: #fff; color: var(--hvs-teal-deep); }

.text-link {
  color: var(--hvs-teal-dark); font-weight: 600;
  display: inline-flex; align-items: center; gap: .4rem;
}
.text-link i { transition: transform .25s ease; }
.text-link:hover { color: var(--hvs-accent-dark); }
.text-link:hover i { transform: translateX(4px); }

/* ---------- Navbar ---------- */
.hvs-nav {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: .8rem 0;
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, padding .3s ease, border-color .3s ease;
  z-index: 1030;
}
.hvs-nav.scrolled {
  box-shadow: 0 8px 30px rgba(10, 51, 43, .10);
  border-bottom-color: var(--hvs-line);
  padding: .45rem 0;
}
.navbar-brand { display: flex; align-items: center; gap: .65rem; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--grad-main);
  display: grid; place-items: center;
  color: #fff; font-size: 1.3rem;
  box-shadow: 0 8px 18px rgba(14, 158, 134, .35);
  flex: 0 0 auto;
}
.logo-text {
  font-family: var(--font-head); font-weight: 600;
  font-size: 1.16rem; color: var(--hvs-ink); line-height: 1.1;
}
.logo-text strong { color: var(--hvs-teal); font-weight: 700; }
.hvs-nav .nav-link {
  font-family: var(--font-head); font-weight: 500;
  color: var(--hvs-ink); font-size: .95rem;
  padding: .55rem 1rem !important; border-radius: 50rem;
  position: relative;
}
.hvs-nav .nav-link:hover { color: var(--hvs-teal); }
.hvs-nav .nav-link.active { color: var(--hvs-teal-dark); font-weight: 600; }
.hvs-nav .nav-link.active::after {
  content: ''; position: absolute; left: 1rem; right: 1rem; bottom: .15rem;
  height: 3px; border-radius: 3px; background: var(--grad-main);
}
.navbar-toggler { border: none; font-size: 1.4rem; color: var(--hvs-ink); }
.navbar-toggler:focus { box-shadow: none; }
.nav-cta .btn { white-space: nowrap; }

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  padding: 110px 0 96px;
  background:
    radial-gradient(900px 500px at 8% -10%, rgba(23, 198, 162, .14), transparent 60%),
    radial-gradient(800px 480px at 95% 15%, rgba(255, 138, 92, .10), transparent 60%),
    linear-gradient(180deg, #F6FCFA 0%, #FFFFFF 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(14, 158, 134, .16) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(560px 420px at 85% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(560px 420px at 85% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(2.15rem, 4.4vw, 3.4rem);
  letter-spacing: -.02em; margin-bottom: 1.15rem;
}
.hero .hero-copy { font-size: 1.08rem; max-width: 540px; margin-bottom: 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.8rem; }
.hero-note {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  font-size: .92rem; color: var(--hvs-body);
}
.hero-note span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-note i { color: var(--hvs-teal); font-size: 1.05rem; }

.hero-visual { position: relative; padding: 1.6rem 0; }
.hero-img-frame {
  position: relative; z-index: 2;
  border-radius: 34% 66% 62% 38% / 45% 40% 60% 55%;
  padding: 12px; background: linear-gradient(140deg, rgba(23,198,162,.45), rgba(255,138,92,.4));
  animation: blob-morph 14s ease-in-out infinite alternate;
}
.hero-img {
  border-radius: 34% 66% 62% 38% / 45% 40% 60% 55%;
  width: 100%; height: 480px; object-fit: cover;
  display: block;
}
@keyframes blob-morph {
  0%   { border-radius: 34% 66% 62% 38% / 45% 40% 60% 55%; }
  50%  { border-radius: 58% 42% 40% 60% / 55% 62% 38% 45%; }
  100% { border-radius: 40% 60% 55% 45% / 60% 40% 55% 40%; }
}
.hero-ring {
  position: absolute; inset: 4% -6% -6% 4%; z-index: 1;
  border: 2px dashed rgba(14, 158, 134, .35);
  border-radius: 34% 66% 62% 38% / 45% 40% 60% 55%;
}
.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: .7rem;
  background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: .75rem 1.1rem; font-size: .88rem; color: var(--hvs-ink);
  font-weight: 600; font-family: var(--font-head);
  border: 1px solid var(--hvs-line);
}
.float-card small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--hvs-body); font-size: .76rem; }
.float-card .fc-icon {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 1.15rem; color: #fff;
}
.fc-1 { top: 4%; right: -2%; animation: floaty 5.5s ease-in-out infinite; }
.fc-2 { bottom: 6%; left: -4%; animation: floaty 6.5s ease-in-out .8s infinite; }
.fc-1 .fc-icon { background: var(--grad-main); }
.fc-2 .fc-icon { background: var(--grad-accent); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- About preview ---------- */
.about-img-wrap { position: relative; }
.about-img {
  border-radius: var(--radius-xl);
  width: 100%; height: 460px; object-fit: cover;
  box-shadow: var(--shadow-md);
}
.about-badge {
  position: absolute; bottom: 26px; left: -20px;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.05rem 1.3rem;
  display: flex; align-items: center; gap: .85rem;
  border: 1px solid var(--hvs-line);
  animation: floaty 6s ease-in-out infinite;
}
.about-badge .ab-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad-main); color: #fff; font-size: 1.35rem;
  display: grid; place-items: center;
}
.about-badge strong { display: block; font-family: var(--font-head); color: var(--hvs-ink); line-height: 1.3; }
.about-badge span { font-size: .85rem; }
.mini-feature { display: flex; gap: .9rem; margin-bottom: 1.15rem; }
.mini-feature i {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
  background: var(--hvs-soft-2); color: var(--hvs-teal-dark);
  display: grid; place-items: center; font-size: 1.15rem;
}
.mini-feature h6 { margin-bottom: .15rem; font-size: 1rem; }
.mini-feature p { margin: 0; font-size: .93rem; }

/* ---------- Why Choose Us ---------- */
.why-card {
  background: #fff; border: 1px solid var(--hvs-line);
  border-radius: var(--radius-lg); padding: 1.9rem 1.6rem;
  height: 100%; position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-main);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-card:hover::before { transform: scaleX(1); }
.icon-circle {
  width: 62px; height: 62px; border-radius: 18px;
  display: grid; place-items: center; font-size: 1.6rem;
  color: var(--hvs-teal-dark); background: var(--hvs-soft);
  margin-bottom: 1.25rem;
  transition: background .3s ease, color .3s ease;
}
.why-card:hover .icon-circle { background: var(--grad-main); color: #fff; }
.why-card h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.why-card p { margin: 0; font-size: .95rem; }

/* ---------- Service cards ---------- */
.service-card {
  background: #fff; border: 1px solid var(--hvs-line);
  border-radius: var(--radius-lg); overflow: hidden;
  height: 100%; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.sc-img { position: relative; height: 205px; overflow: hidden; }
.sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .sc-img img { transform: scale(1.09); }
.sc-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 51, 43, .35));
}
.sc-icon {
  position: absolute; z-index: 2; right: 16px; bottom: -24px;
  width: 50px; height: 50px; border-radius: 15px;
  background: var(--grad-main); color: #fff; font-size: 1.3rem;
  display: grid; place-items: center;
  border: 3px solid #fff; box-shadow: 0 8px 18px rgba(14, 158, 134, .35);
}
.sc-body { padding: 1.9rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.sc-body h3 { font-size: 1.13rem; margin-bottom: .55rem; }
.sc-body p { font-size: .94rem; margin-bottom: 1.1rem; }
.sc-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.15rem; }
.chip {
  font-size: .76rem; font-weight: 500; color: var(--hvs-teal-dark);
  background: var(--hvs-soft); border: 1px solid var(--hvs-soft-2);
  padding: .28rem .8rem; border-radius: 50rem;
}
.sc-link {
  margin-top: auto; align-self: flex-start;
  color: var(--hvs-teal-dark); font-weight: 600; font-size: .93rem;
  display: inline-flex; align-items: center; gap: .45rem;
}
.sc-link i { transition: transform .25s ease; }
.sc-link:hover { color: var(--hvs-accent-dark); }
.sc-link:hover i { transform: translateX(5px); }

/* ---------- Testimonials ---------- */
.testi-card {
  background: linear-gradient(165deg, #FFFFFF 0%, #F3FBF8 100%);
  border: 1px solid var(--hvs-line); border-radius: var(--radius-lg);
  padding: 2.1rem 1.8rem 1.8rem; height: 100%; position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testi-card .quote-mark {
  position: absolute; top: 1.2rem; right: 1.5rem;
  font-size: 3.2rem; line-height: 1; color: rgba(14, 158, 134, .14);
}
.stars { color: var(--hvs-gold); font-size: .95rem; letter-spacing: .12em; margin-bottom: .9rem; }
.testi-card blockquote {
  font-size: .98rem; color: var(--hvs-ink); margin: 0 0 1.5rem;
  position: relative; z-index: 1;
}
.testi-person { display: flex; align-items: center; gap: .85rem; }
.avatar {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; flex: 0 0 auto;
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  box-shadow: 0 6px 14px rgba(14, 158, 134, .28);
}
.testi-person strong { display: block; font-family: var(--font-head); color: var(--hvs-ink); line-height: 1.3; }
.testi-person span { font-size: .84rem; }

/* ---------- Blog cards ---------- */
.blog-card {
  background: #fff; border: 1px solid var(--hvs-line);
  border-radius: var(--radius-lg); overflow: hidden;
  height: 100%; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.bc-img { position: relative; height: 215px; overflow: hidden; }
.bc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .bc-img img { transform: scale(1.08); }
.bc-chip {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255, 255, 255, .94); color: var(--hvs-teal-dark);
  font-family: var(--font-head); font-size: .74rem; font-weight: 600;
  padding: .3rem .85rem; border-radius: 50rem;
  box-shadow: var(--shadow-sm);
}
.bc-body { padding: 1.5rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.bc-meta { display: flex; align-items: center; gap: .45rem; font-size: .8rem; color: var(--hvs-body); margin-bottom: .65rem; }
.bc-meta i { color: var(--hvs-teal); }
.bc-title { font-size: 1.12rem; margin-bottom: .55rem; }
.bc-title a { color: var(--hvs-ink); }
.bc-title a:hover { color: var(--hvs-teal); }
.bc-body p { font-size: .93rem; margin-bottom: 1.1rem; }

/* ---------- FAQ ---------- */
.hvs-accordion .accordion-item {
  border: 1px solid var(--hvs-line); border-radius: 16px !important;
  margin-bottom: .85rem; overflow: hidden; background: #fff;
}
.hvs-accordion .accordion-button {
  font-family: var(--font-head); font-weight: 600; color: var(--hvs-ink);
  font-size: 1rem; padding: 1.15rem 1.4rem; background: #fff;
  box-shadow: none;
}
.hvs-accordion .accordion-button:not(.collapsed) {
  color: var(--hvs-teal-dark); background: var(--hvs-soft);
}
.hvs-accordion .accordion-button::after {
  background-image: none;
  content: '\F64D';
  font-family: 'bootstrap-icons';
  font-size: 1.05rem; font-weight: 400; color: var(--hvs-teal);
  transform: rotate(0deg); transition: transform .3s ease;
}
.hvs-accordion .accordion-button:not(.collapsed)::after { transform: rotate(135deg); }
.hvs-accordion .accordion-body { padding: .4rem 1.4rem 1.3rem; color: var(--hvs-body); font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; border-radius: 30px; overflow: hidden;
  background: var(--hvs-teal-deep); color: #CBE5DE;
}
.cta-band img.cta-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .22;
}
.cta-band::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(10, 51, 43, .92) 30%, rgba(14, 158, 134, .55) 100%);
}
.cta-band .container { position: relative; z-index: 2; padding-top: 4.4rem; padding-bottom: 4.4rem; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.cta-band .cta-note { font-size: .95rem; color: #BFE5DC; }
.cta-band .cta-note a { color: #fff; font-weight: 600; border-bottom: 1px dashed rgba(255,255,255,.5); }
.cta-band .cta-note a:hover { color: #FFD9C9; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 86px 0 70px;
  background:
    radial-gradient(720px 380px at 90% -20%, rgba(23, 198, 162, .16), transparent 60%),
    radial-gradient(640px 360px at 4% 110%, rgba(255, 138, 92, .12), transparent 60%),
    linear-gradient(180deg, #F2FBF8, #FFFFFF);
}
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: .8rem; }
.page-hero .ph-sub { max-width: 680px; font-size: 1.03rem; }
.crumbs { font-size: .85rem; color: var(--hvs-body); margin-bottom: 1rem; }
.crumbs a { color: var(--hvs-teal-dark); font-weight: 500; }
.crumbs a:hover { color: var(--hvs-accent-dark); }
.crumbs .sep { margin: 0 .45rem; color: #A9BDB7; }

/* ---------- Steps (no numbers) ---------- */
.step-card {
  background: #fff; border: 1px solid var(--hvs-line);
  border-radius: var(--radius-lg); padding: 1.9rem 1.6rem;
  height: 100%; text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-card .step-icon {
  width: 70px; height: 70px; margin: 0 auto 1.2rem;
  border-radius: 50%; display: grid; place-items: center;
  font-size: 1.7rem; color: #fff; background: var(--grad-main);
  box-shadow: 0 12px 26px rgba(14, 158, 134, .32);
}
.step-card h3 { font-size: 1.12rem; margin-bottom: .55rem; }
.step-card p { margin: 0; font-size: .94rem; }

/* ---------- Contact ---------- */
.info-tile {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--hvs-line);
  border-radius: var(--radius-md); padding: 1.25rem 1.3rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.info-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.info-icon {
  width: 52px; height: 52px; border-radius: 15px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: var(--hvs-soft); color: var(--hvs-teal-dark); font-size: 1.35rem;
}
.info-tile h3 { font-size: 1rem; margin-bottom: .2rem; }
.info-tile p { margin: 0; font-size: .95rem; }
.info-tile a { color: var(--hvs-teal-dark); font-weight: 500; }
.info-tile a:hover { color: var(--hvs-accent-dark); }

.hvs-card {
  background: #fff; border: 1px solid var(--hvs-line);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-sm);
}
.hvs-form .form-label { font-family: var(--font-head); font-weight: 600; color: var(--hvs-ink); font-size: .9rem; }
.hvs-form .form-control, .hvs-form .form-select {
  border: 1.5px solid var(--hvs-line); border-radius: 13px;
  padding: .72rem 1rem; font-size: .95rem; color: var(--hvs-ink);
  background-color: #FAFDFC;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.hvs-form .form-control:focus, .hvs-form .form-select:focus {
  border-color: var(--hvs-mint);
  box-shadow: 0 0 0 .25rem rgba(23, 198, 162, .16);
}
.hvs-form textarea.form-control { min-height: 130px; }
.hvs-form .form-text { font-size: .8rem; }

/* Pill options (radio) */
.pill-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pill-opt label {
  cursor: pointer; display: inline-flex; align-items: center; gap: .5rem;
  border: 1.5px solid var(--hvs-line); background: #FAFDFC;
  color: var(--hvs-body); font-size: .9rem; font-weight: 500;
  padding: .55rem 1.15rem; border-radius: 50rem;
  transition: all .25s ease;
}
.pill-opt input:checked + label {
  background: var(--hvs-soft); border-color: var(--hvs-mint);
  color: var(--hvs-teal-dark); font-weight: 600;
}
.pill-opt label:hover { border-color: var(--hvs-mint); }

/* Success panel */
.success-panel { display: none; }
.success-panel.show { display: block; animation: pop-in .5s cubic-bezier(.2,.9,.3,1.2); }
@keyframes pop-in {
  from { opacity: 0; transform: scale(.94) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.success-hero-icon {
  width: 84px; height: 84px; margin: 0 auto 1.2rem;
  border-radius: 50%; display: grid; place-items: center;
  font-size: 2.4rem; color: #fff; background: var(--grad-main);
  box-shadow: 0 16px 34px rgba(14, 158, 134, .35);
}
.success-hero-icon.warn { background: var(--grad-accent); box-shadow: 0 16px 34px rgba(255,107,74,.32); }

/* ---------- Blog post ---------- */
.post-hero { text-align: center; }
.post-hero .post-meta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem; font-size: .88rem; color: var(--hvs-body); }
.post-hero .post-meta-row i { color: var(--hvs-teal); margin-right: .35rem; }
.post-feature-img {
  border-radius: var(--radius-xl); width: 100%; height: 460px;
  object-fit: cover; box-shadow: var(--shadow-md); margin-top: 2.2rem;
}
.post-body { max-width: 780px; margin: 0 auto; }
.post-body h2 { font-size: 1.5rem; margin: 2.4rem 0 .9rem; }
.post-body h3 { font-size: 1.15rem; margin: 1.9rem 0 .7rem; }
.post-body p, .post-body li { font-size: 1.01rem; }
.post-body ul { padding-left: 1.2rem; }
.post-body ul li { margin-bottom: .5rem; }
.post-body ul li::marker { color: var(--hvs-teal); }
.callout {
  background: var(--hvs-soft); border: 1px solid var(--hvs-soft-2);
  border-left: 5px solid var(--hvs-teal);
  border-radius: 14px; padding: 1.25rem 1.5rem; margin: 1.8rem 0;
}
.callout.tip { background: #FFF6F1; border-color: #FFE3D6; border-left-color: var(--hvs-accent); }
.callout h4 { font-size: 1rem; margin-bottom: .4rem; display: flex; align-items: center; gap: .5rem; }
.callout h4 i { color: var(--hvs-teal); }
.callout.tip h4 i { color: var(--hvs-accent); }
.callout p { margin: 0; font-size: .95rem; }
.author-card {
  display: flex; gap: 1rem; align-items: center;
  background: #fff; border: 1px solid var(--hvs-line);
  border-radius: var(--radius-lg); padding: 1.4rem 1.6rem;
  margin: 2.6rem 0 1.6rem;
}
.author-card strong { font-family: var(--font-head); color: var(--hvs-ink); display: block; }
.author-card span { font-size: .86rem; }
.post-nav-card {
  display: flex; align-items: center; gap: .9rem;
  background: #fff; border: 1px solid var(--hvs-line);
  border-radius: var(--radius-md); padding: 1.1rem 1.3rem; height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.post-nav-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.post-nav-card .pn-icon {
  width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto;
  background: var(--hvs-soft); color: var(--hvs-teal-dark);
  display: grid; place-items: center; font-size: 1.2rem;
}
.post-nav-card small { font-size: .76rem; color: var(--hvs-body); }
.post-nav-card strong { display: block; font-family: var(--font-head); color: var(--hvs-ink); font-size: .95rem; line-height: 1.35; }

/* ---------- Footer ---------- */
.hvs-footer { background: var(--hvs-teal-deep); color: #A9C6BE; padding-top: 4.2rem; }
.hvs-footer .footer-head { color: #fff; font-size: 1.02rem; margin-bottom: 1.15rem; }
.hvs-footer a { color: #A9C6BE; font-size: .93rem; }
.hvs-footer a:hover { color: #7FE0C8; }
.hvs-footer ul { list-style: none; padding: 0; margin: 0; }
.hvs-footer ul li { margin-bottom: .55rem; }
.footer-brand p { font-size: .93rem; margin: 1rem 0 1.4rem; max-width: 300px; }
.socials { display: flex; gap: .6rem; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  display: grid; place-items: center;
  color: #D9EAE5 !important; font-size: 1rem;
  transition: all .25s ease;
}
.social-btn:hover { background: var(--grad-accent); border-color: transparent; color: #fff !important; transform: translateY(-3px); }
.footer-contact-item { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .8rem; font-size: .93rem; }
.footer-contact-item i { color: #7FE0C8; margin-top: .2rem; }
.footer-news .input-group { border-radius: 50rem; overflow: hidden; background: rgba(255,255,255,.08); padding: .3rem .3rem .3rem 1.1rem; }
.footer-news .form-control {
  background: transparent; border: none; color: #fff; font-size: .9rem;
  box-shadow: none !important; padding-left: 0;
}
.footer-news .form-control::placeholder { color: #8FB4AA; }
.footer-news .btn { border-radius: 50rem; font-size: .85rem; padding: .55rem 1.3rem; }
.footer-bottom {
  margin-top: 3rem; padding: 1.3rem 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .85rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1rem;
  align-items: center; justify-content: space-between;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 24px; z-index: 1040;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad-main); color: #fff; font-size: 1.2rem;
  display: grid; place-items: center;
  box-shadow: 0 12px 26px rgba(14, 158, 134, .38);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .3s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { color: #fff; transform: translateY(-4px); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.visible { opacity: 1; transform: none; }
.stagger > *:nth-child(2) { transition-delay: .08s; }
.stagger > *:nth-child(3) { transition-delay: .16s; }
.stagger > *:nth-child(4) { transition-delay: .24s; }
.stagger > *:nth-child(5) { transition-delay: .32s; }
.stagger > *:nth-child(6) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .about-badge { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
  .section { padding: 72px 0; }
  .hero { padding: 84px 0 72px; }
  .hero-img { height: 400px; }
  .about-img { height: 380px; }
  .about-badge { left: 12px; }
  .post-feature-img { height: 340px; }
  .hvs-nav .nav-cta { padding: .8rem 0 1rem; }
  .hvs-nav .nav-link.active::after { display: none; }
  .hvs-nav .nav-link.active { background: var(--hvs-soft); }
}
@media (max-width: 575.98px) {
  .hero-img { height: 330px; }
  .fc-1 { right: 0; }
  .fc-2 { left: 0; }
  .float-card { padding: .6rem .85rem; font-size: .8rem; }
  .section { padding: 60px 0; }
  .cta-band .container { padding-top: 3.2rem; padding-bottom: 3.2rem; }
}
