/* ==========================================================================
   Pulse Core Health — Master Stylesheet
   1.  Design tokens
   2.  Base & typography
   3.  Buttons
   4.  Navbar
   5.  Hero
   6.  Section furniture
   7.  Cards (service / icon / blog / testimonial)
   8.  Accordion (FAQ)
   9.  CTA bands & newsletter
   10. Inner page hero & prose (blog, legal)
   11. Forms
   12. Footer
   13. Utilities, animations & responsive
   ========================================================================== */

/* ---------------------------------------------------------------- 1. Tokens */
:root {
  --ink: #0a2540;
  --ink-soft: #163b58;
  --body: #4a6478;
  --muted: #7b93a5;
  --teal: #0ea5a5;
  --teal-dark: #0a7c86;
  --teal-deep: #075e6b;
  --mint: #e8f8f6;
  --mint-2: #d6f1ef;
  --coral: #ff6b5b;
  --coral-soft: #fff0ee;
  --sand: #fdf6ec;
  --cloud: #f5fafb;
  --white: #ffffff;
  --line: #e2edf2;
  --shadow-sm: 0 4px 14px rgba(10, 37, 64, .06);
  --shadow: 0 14px 40px rgba(10, 37, 64, .09);
  --shadow-lg: 0 26px 70px rgba(10, 37, 64, .14);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --grad-brand: linear-gradient(135deg, #0ea5a5 0%, #0a7c86 55%, #0a2540 130%);
  --grad-soft: linear-gradient(135deg, #f2fbfa 0%, #eef6fb 100%);
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ------------------------------------------------------- 2. Base & type */
* { -webkit-font-smoothing: antialiased; }

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

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-5, .display-6 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.15rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }

p { margin-bottom: 1rem; }
a { color: var(--teal-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--coral); }

img { max-width: 100%; height: auto; }

::selection { background: var(--teal); color: #fff; }

:focus-visible {
  outline: 3px solid rgba(14, 165, 165, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 50%; top: -70px; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: .6rem 1.2rem; border-radius: 0 0 12px 12px;
  z-index: 2000; transition: top .25s ease;
}
.skip-link:focus { top: 0; color: #fff; }

.text-brand { color: var(--teal) !important; }
.text-ink { color: var(--ink) !important; }
.text-body-soft { color: var(--body) !important; }
.bg-cloud { background: var(--cloud) !important; }
.bg-mint { background: var(--mint) !important; }
.bg-grad-soft { background: var(--grad-soft) !important; }

/* ------------------------------------------------------------- 3. Buttons */
.btn {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -.01em;
  border-radius: 999px;
  padding: .78rem 1.6rem;
  border: 2px solid transparent;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.btn:active { transform: translateY(1px); }

.btn-brand { background: var(--grad-brand); color: #fff; box-shadow: 0 12px 26px rgba(10, 124, 134, .28); }
.btn-brand:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px rgba(10, 124, 134, .34); }

.btn-accent { background: var(--coral); color: #fff; box-shadow: 0 12px 26px rgba(255, 107, 91, .3); }
.btn-accent:hover { color: #fff; background: #f75a49; transform: translateY(-2px); }

.btn-outline-brand { border-color: rgba(14, 165, 165, .55); color: var(--teal-deep); background: #fff; }
.btn-outline-brand:hover { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateY(-2px); }

.btn-ghost-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--teal-deep); }

.btn-sm-pill { padding: .55rem 1.15rem; font-size: .9rem; }
.btn-link-arrow {
  font-family: var(--font-head); font-weight: 700; color: var(--teal-deep);
  display: inline-flex; align-items: center; gap: .45rem; padding: 0;
}
.btn-link-arrow i { transition: transform .22s ease; }
.btn-link-arrow:hover { color: var(--coral); }
.btn-link-arrow:hover i { transform: translateX(4px); }

/* ------------------------------------------------------------- 4. Topbar & Navbar */
.topbar {
  background: linear-gradient(90deg, #08203a 0%, #0a5c74 70%, #0a7c86 100%);
  color: rgba(255, 255, 255, .82); font-size: .845rem; padding: .5rem 0;
}
.topbar .container { position: relative; z-index: 1; }
.topbar-item { color: rgba(255, 255, 255, .82); display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; }
.topbar-item i { color: #7fe3dd; font-size: .95rem; }
.topbar-item:hover { color: #fff; }
.topbar-link { color: #b9f4ef; font-weight: 700; font-family: var(--font-head); display: inline-flex; align-items: center; gap: .45rem; }
.topbar-link:hover { color: #fff; }

.nav-shell {
  position: sticky; top: 0; z-index: 1030;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.nav-shell.is-stuck { box-shadow: 0 10px 34px rgba(10, 37, 64, .09); border-color: var(--line); }

.navbar { padding: .85rem 0; }
.navbar-brand { display: flex; align-items: center; gap: .65rem; padding: 0; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--grad-brand); display: grid; place-items: center;
  box-shadow: 0 10px 22px rgba(10, 124, 134, .28); flex: none;
}
.brand-mark svg { width: 28px; height: 28px; }
.brand-text { line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; color: var(--ink); letter-spacing: -.03em; display: block; }
.brand-tag { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-dark); font-weight: 600; }

.navbar-nav .nav-link {
  font-family: var(--font-head); font-weight: 600; font-size: .96rem;
  color: var(--ink-soft); padding: .55rem .95rem !important; border-radius: 10px;
  position: relative;
}
.navbar-nav .nav-link::after {
  content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .28rem; height: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; border-radius: 2px;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--teal-deep); }
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { transform: scaleX(1); }

.dropdown-menu {
  border: 1px solid var(--line); border-radius: 16px; padding: .6rem;
  box-shadow: var(--shadow); margin-top: .5rem; min-width: 270px;
}
.dropdown-item {
  border-radius: 10px; font-size: .94rem; padding: .55rem .8rem; color: var(--ink-soft); font-weight: 500;
  display: flex; align-items: center; gap: .6rem;
}
.dropdown-item i { color: var(--teal); font-size: 1rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--mint); color: var(--teal-deep); }

.navbar-toggler { border: 1px solid var(--line); border-radius: 12px; padding: .35rem .6rem; }
.navbar-toggler:focus { box-shadow: none; }

/* --------------------------------------------------------------- 5. Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 520px at 88% 8%, rgba(14, 165, 165, .16), transparent 62%),
    radial-gradient(760px 460px at 4% 96%, rgba(255, 107, 91, .12), transparent 60%),
    linear-gradient(180deg, #f7fdfd 0%, #ffffff 72%);
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(10, 37, 64, .07) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 78%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-deep); background: rgba(14, 165, 165, .1);
  border: 1px solid rgba(14, 165, 165, .22); padding: .45rem 1rem; border-radius: 999px;
}
.eyebrow.on-dark { color: #d8fbf7; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); }
.eyebrow i { font-size: .95rem; }

.hero-title .accent {
  background: linear-gradient(135deg, #0ea5a5, #0a7c86);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-lead { font-size: clamp(1.02rem, 1.35vw, 1.16rem); max-width: 40rem; }

.hero-checks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .55rem; }
.hero-checks li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-soft); font-weight: 500; }
.hero-checks i { color: var(--teal); font-size: 1.1rem; line-height: 1.6; }

.hero-visual { position: relative; }
.hero-photo {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 6px solid #fff; aspect-ratio: 11 / 10; background: var(--mint);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo::after {
  content: ""; position: absolute; inset: 6px; border-radius: 22px;
  background: linear-gradient(200deg, rgba(10, 37, 64, 0) 55%, rgba(10, 37, 64, .38) 100%);
}
.hero-blob {
  position: absolute; width: 190px; height: 190px; border-radius: 42% 58% 60% 40% / 45% 40% 60% 55%;
  background: linear-gradient(135deg, rgba(14, 165, 165, .28), rgba(255, 107, 91, .2));
  filter: blur(6px); z-index: -1;
}
.hero-blob.b1 { top: -34px; right: -30px; }
.hero-blob.b2 { bottom: -40px; left: -34px; }

.float-card {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  padding: .8rem 1rem; display: flex; align-items: center; gap: .7rem; border: 1px solid var(--line);
  font-family: var(--font-head); animation: floaty 6s ease-in-out infinite;
}
.float-card .fc-ico {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--mint); color: var(--teal-deep); font-size: 1.15rem;
}
.float-card .fc-ico.coral { background: var(--coral-soft); color: #e5533f; }
.float-card strong { display: block; font-size: .93rem; color: var(--ink); font-weight: 800; line-height: 1.25; }
.float-card span { font-size: .78rem; color: var(--muted); }
.float-card.fc-top { top: 5%; left: -4%; }
.float-card.fc-bottom { bottom: 6%; right: -4%; animation-delay: 1.6s; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

.pulse-strip { display: block; width: 100%; height: 54px; overflow: visible; }
.pulse-strip path {
  fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 3.6s ease-in-out infinite;
}
@keyframes draw { 0% { stroke-dashoffset: 900; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -900; } }

.trust-strip {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #fff; padding: 1.1rem 0;
}
.trust-item { display: flex; align-items: center; gap: .7rem; font-family: var(--font-head); font-weight: 600; color: var(--ink-soft); font-size: .95rem; }
.trust-item i { color: var(--teal); font-size: 1.3rem; }

/* --------------------------------------------------- 6. Section furniture */
.section { padding: clamp(3.25rem, 6vw, 5.75rem) 0; position: relative; }
.section-tight { padding: clamp(2.5rem, 4vw, 3.5rem) 0; }
.section-head { max-width: 46rem; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head p { color: var(--body); }
.section-sub { font-size: 1.04rem; }

.divider-pulse { width: 84px; height: 8px; margin: 1.1rem 0; }
.divider-pulse.center { margin-left: auto; margin-right: auto; }
.divider-pulse path { fill: none; stroke: var(--coral); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.blob-deco {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; z-index: 0;
}
.blob-deco.teal { background: rgba(14, 165, 165, .22); }
.blob-deco.coral { background: rgba(255, 107, 91, .16); }
.section > .container { position: relative; z-index: 1; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-soft); }
.check-list i {
  color: var(--teal); background: var(--mint); border-radius: 50%;
  width: 24px; height: 24px; display: grid; place-items: center; font-size: .8rem; flex: none; margin-top: .28rem;
}

.img-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; }
.img-frame img { display: block; width: 100%; }
.img-collage { position: relative; }
.img-collage .img-frame.small {
  position: absolute; right: -6%; bottom: -9%; width: 46%; border-width: 5px;
}

.badge-soft {
  display: inline-flex; align-items: center; gap: .45rem; background: var(--mint); color: var(--teal-deep);
  border-radius: 999px; padding: .38rem .9rem; font-size: .82rem; font-weight: 700; font-family: var(--font-head);
}
.badge-soft.coral { background: var(--coral-soft); color: #d9482f; }
.badge-soft.sand { background: var(--sand); color: #a9762a; }

/* --------------------------------------------------------------- 7. Cards */
.card-service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card-service:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: rgba(14, 165, 165, .35); }
.card-service .cs-media { position: relative; overflow: hidden; aspect-ratio: 11 / 6; background: var(--mint); }
.card-service .cs-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.card-service:hover .cs-media img { transform: scale(1.07); }
.card-service .cs-ico {
  position: absolute; left: 1rem; bottom: -22px; width: 48px; height: 48px; border-radius: 15px;
  background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-size: 1.3rem;
  box-shadow: 0 12px 24px rgba(10, 124, 134, .32); border: 3px solid #fff;
}
.card-service .cs-body { padding: 2.1rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.card-service h3 { font-size: 1.16rem; margin-bottom: .5rem; }
.card-service p { font-size: .95rem; color: var(--body); flex: 1 1 auto; margin-bottom: 1.15rem; }
.card-service .btn { width: 100%; }

.icon-card {
  height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.icon-card::after {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 190px; height: 190px; border-radius: 50%;
  background: var(--grad-soft); transition: transform .45s ease; z-index: 0;
}
.icon-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(14, 165, 165, .35); }
.icon-card:hover::after { transform: scale(1.25); }
.icon-card > * { position: relative; z-index: 1; }
.icon-badge {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 1.05rem; background: var(--mint); color: var(--teal-deep);
}
.icon-badge.coral { background: var(--coral-soft); color: #dc4c37; }
.icon-badge.sand { background: var(--sand); color: #b1792a; }
.icon-badge.navy { background: #eaf1f7; color: var(--ink); }
.icon-card h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.icon-card p { font-size: .94rem; margin: 0; }

.card-blog {
  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;
}
.card-blog:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.card-blog .cb-media { aspect-ratio: 8 / 5; overflow: hidden; position: relative; background: var(--mint); }
.card-blog .cb-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.card-blog:hover .cb-media img { transform: scale(1.06); }
.cb-cat {
  position: absolute; left: 1rem; top: 1rem; background: rgba(255, 255, 255, .95); color: var(--teal-deep);
  font-family: var(--font-head); font-weight: 700; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 999px;
}
.card-blog .cb-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.card-blog h3 { font-size: 1.14rem; margin-bottom: .55rem; }
.card-blog h3 a { color: var(--ink); }
.card-blog h3 a:hover { color: var(--teal-deep); }
.card-blog p { font-size: .94rem; flex: 1 1 auto; }
.cb-meta { font-size: .82rem; color: var(--muted); display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: .9rem; }
.cb-meta span { display: inline-flex; align-items: center; gap: .35rem; }

.testimonial-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem; height: 100%; position: relative; box-shadow: var(--shadow-sm);
}
.testimonial-card .quote-mark {
  position: absolute; top: -.65rem; left: 1.5rem; width: 46px; height: 46px; border-radius: 14px;
  background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-size: 1.35rem;
  box-shadow: 0 10px 22px rgba(10, 124, 134, .26);
}
.testimonial-card blockquote { font-size: 1rem; color: var(--ink-soft); margin: 1rem 0 1.2rem; font-style: normal; }
.t-person { display: flex; align-items: center; gap: .8rem; border-top: 1px dashed var(--line); padding-top: 1.1rem; }
.t-avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--mint-2); color: var(--teal-deep); font-family: var(--font-head); font-weight: 800;
}
.t-person strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: .96rem; }
.t-person span { font-size: .84rem; color: var(--muted); }

#testimonialCarousel .carousel-indicators { position: static; margin: 1.75rem 0 0; }
#testimonialCarousel .carousel-indicators [data-bs-target] {
  width: 10px; height: 10px; border-radius: 50%; background: var(--teal); opacity: .3; border: 0; margin: 0 .3rem;
}
#testimonialCarousel .carousel-indicators .active { opacity: 1; width: 30px; border-radius: 999px; }
.carousel-arrow {
  width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
  color: var(--teal-deep); display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.carousel-arrow:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

/* --------------------------------------------------------- 8. FAQ / accordion */
.accordion-item {
  border: 1px solid var(--line) !important; border-radius: var(--radius) !important;
  margin-bottom: .9rem; overflow: hidden; background: #fff;
}
.accordion-button {
  font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.02rem;
  padding: 1.15rem 1.35rem; background: #fff; border-radius: var(--radius) !important;
}
.accordion-button:not(.collapsed) { color: var(--teal-deep); background: var(--mint); box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: transparent; }
.accordion-button::after {
  background-image: none; content: "\F64D"; font-family: "bootstrap-icons"; font-size: 1.1rem;
  width: 30px; height: 30px; border-radius: 50%; background-color: var(--mint); color: var(--teal-deep);
  display: grid; place-items: center; transition: transform .3s ease, background-color .3s ease;
}
.accordion-button:not(.collapsed)::after { transform: rotate(45deg); background-color: #fff; }
.accordion-body { padding: 0 1.35rem 1.35rem; color: var(--body); font-size: .96rem; }

/* --------------------------------------------------- 9. CTA & newsletter */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--grad-brand); color: #fff; padding: clamp(2.4rem, 5vw, 3.6rem);
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(520px 320px at 88% 12%, rgba(255, 255, 255, .22), transparent 62%),
              radial-gradient(420px 300px at 6% 96%, rgba(255, 107, 91, .28), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .88); }
.cta-band .pulse-strip path { stroke: rgba(255, 255, 255, .85); }

.subscribe-panel {
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--grad-soft);
  padding: clamp(1.8rem, 3.4vw, 2.6rem);
}
.subscribe-panel .form-control { background: #fff; }

.form-note { font-size: .84rem; color: var(--muted); }
.newsletter-inline .form-control { min-width: 210px; }

/* ------------------------------------------- 10. Inner hero & prose pages */
.page-hero {
  position: relative; overflow: hidden; color: #fff; padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, #0a2540 0%, #0a5c74 58%, #0ea5a5 120%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px 340px at 86% 16%, rgba(255, 255, 255, .18), transparent 60%),
              radial-gradient(460px 320px at 8% 100%, rgba(255, 107, 91, .26), transparent 62%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 28px 28px; opacity: .5; mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent);
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255, 255, 255, .88); max-width: 44rem; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.5); margin: 0; }
.page-hero .breadcrumb a { color: rgba(255, 255, 255, .82); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb-item.active { color: #fff; font-weight: 600; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .5); }

.prose { color: var(--body); font-size: 1.02rem; }
.prose h2 { margin-top: 2.4rem; margin-bottom: .9rem; font-size: clamp(1.45rem, 2.3vw, 1.85rem); }
.prose h3 { margin-top: 1.8rem; margin-bottom: .7rem; font-size: 1.16rem; }
.prose p, .prose li { color: var(--body); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose strong { color: var(--ink); }
.prose figure { margin: 2rem 0; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; text-align: center; }

.callout {
  border-left: 4px solid var(--teal); background: var(--mint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.15rem 1.35rem; margin: 1.75rem 0; color: var(--ink-soft); font-size: .97rem;
}
.callout strong { color: var(--teal-deep); }
.callout.coral { border-color: var(--coral); background: var(--coral-soft); }
.callout.coral strong { color: #c9432c; }

.toc-card, .side-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.toc-card h3, .side-card h3 { font-size: 1.02rem; margin-bottom: .8rem; }
.toc-card a, .side-card a { display: block; padding: .35rem 0; color: var(--ink-soft); font-size: .94rem; }
.toc-card a:hover, .side-card a:hover { color: var(--teal-deep); }
.sticky-side { position: sticky; top: 100px; }

.author-chip { display: flex; align-items: center; gap: .8rem; }
.author-chip .t-avatar { background: var(--grad-brand); color: #fff; }
.author-chip strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: .95rem; }
.author-chip span { font-size: .83rem; color: var(--muted); }

.legal-body h2 { font-size: 1.32rem; margin-top: 2.1rem; }
.legal-body h3 { font-size: 1.08rem; }
.legal-body .callout { font-size: .95rem; }

.service-chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.service-chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem;
  font-size: .88rem; font-weight: 600; font-family: var(--font-head); color: var(--ink-soft);
}
.service-chip:hover { border-color: var(--teal); color: var(--teal-deep); }

.info-tile {
  display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.35rem; height: 100%; transition: transform .25s ease, box-shadow .25s ease;
}
.info-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.info-tile .info-ico {
  width: 48px; height: 48px; border-radius: 14px; flex: none; display: grid; place-items: center;
  background: var(--mint); color: var(--teal-deep); font-size: 1.25rem;
}
.info-tile h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.info-tile p, .info-tile a { margin: 0; font-size: .95rem; }
.info-tile a { font-weight: 600; color: var(--ink-soft); word-break: break-word; }
.info-tile a:hover { color: var(--coral); }

.map-frame {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #eef5f8; line-height: 0;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.map-fallback { background: linear-gradient(160deg, #eaf5f6, #dfeef5); }

/* --------------------------------------------------------------- 11. Forms */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow);
}
.form-label { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: .4rem; }
.form-control, .form-select {
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .8rem 1rem;
  font-size: .96rem; color: var(--ink-soft); background-color: #fbfdfe;
}
.form-control:focus, .form-select:focus {
  border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14, 165, 165, .14); background-color: #fff;
}
.form-control::placeholder { color: #9fb3c1; }
.form-check-input { width: 1.15rem; height: 1.15rem; border-color: #c3d5de; margin-top: .28rem; }
.form-check-input:checked { background-color: var(--teal); border-color: var(--teal); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(14, 165, 165, .14); border-color: var(--teal); }
.form-check-label { font-size: .93rem; color: var(--body); }
.invalid-feedback { font-size: .84rem; }

.form-status { display: none; border-radius: var(--radius-sm); padding: 1rem 1.15rem; font-size: .95rem; font-weight: 600; }
.form-status.show { display: flex; gap: .6rem; align-items: flex-start; }
.form-status.ok { background: var(--mint); color: var(--teal-deep); border: 1px solid rgba(14, 165, 165, .3); }
.form-status.ok i { font-size: 1.15rem; }
.form-status.err { background: var(--coral-soft); color: #c9432c; border: 1px solid rgba(255, 107, 91, .35); }

.reason-tile {
  display: flex; gap: .6rem; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: .85rem 1rem; cursor: pointer; background: #fbfdfe; transition: all .2s ease; font-size: .94rem; height: 100%;
}
.reason-tile:hover { border-color: rgba(14, 165, 165, .5); background: #fff; }
.reason-tile input { margin: 0; }
.step-dots { display: flex; align-items: center; gap: .5rem; }
.step-dot {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: #fff; border: 1.5px solid var(--line); font-family: var(--font-head); font-weight: 700; color: var(--muted);
  font-size: .9rem;
}
.step-dot.done { background: var(--teal); border-color: var(--teal); color: #fff; }
.step-line { flex: 1 1 auto; height: 2px; background: var(--line); }
.step-line.done { background: var(--teal); }

/* -------------------------------------------------------------- 12. Footer */
.site-footer { background: #08203a; color: rgba(255, 255, 255, .72); padding: clamp(3rem, 5vw, 4.2rem) 0 1.5rem; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 380px at 90% 0%, rgba(14, 165, 165, .26), transparent 60%),
              radial-gradient(520px 320px at 0% 100%, rgba(255, 107, 91, .14), transparent 62%);
}
.site-footer > .container { position: relative; z-index: 1; }
.site-footer h4 {
  color: #fff; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 700;
}
.site-footer a { color: rgba(255, 255, 255, .74); font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer .card-soft {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 1.35rem;
}
.footer-links a { display: inline-flex; align-items: center; gap: .5rem; }
.footer-links a i { color: var(--teal); font-size: .8rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: #8fe3df; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.footer-contact i { color: var(--teal); font-size: 1.05rem; margin-top: .22rem; }
.social-row { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social-row a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: 1.05rem;
  transition: all .25s ease;
}
.social-row a:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1.35rem;
  font-size: .88rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; justify-content: space-between;
}
.footer-bottom a { font-size: .88rem; }
.footer-pulse { margin-bottom: 2rem; opacity: .55; }
.footer-pulse path { stroke: rgba(255, 255, 255, .5); }

.to-top {
  position: fixed; right: 20px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-size: 1.1rem;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s ease; z-index: 1020;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------------------------------------------------- 13. Motion & responsive */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .pulse-strip path { animation: none; }
}

@media (max-width: 1199.98px) {
  .float-card.fc-top { left: 0; }
  .float-card.fc-bottom { right: 0; }
}

@media (max-width: 991.98px) {
  html { scroll-padding-top: 78px; }
  .navbar-collapse {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1rem; margin-top: .8rem; box-shadow: var(--shadow);
  }
  .navbar-nav .nav-link::after { display: none; }
  .nav-cta { margin-top: .8rem; display: block; }
  .nav-cta .btn { width: 100%; }
  .hero { padding-top: 2.4rem; }
  .float-card.fc-top { top: 2%; }
  .float-card.fc-bottom { bottom: 2%; }
  .img-collage .img-frame.small { position: static; width: 100%; margin-top: 1rem; }
  .sticky-side { position: static; }
}

@media (max-width: 575.98px) {
  .btn { padding: .72rem 1.35rem; }
  .float-card { position: static; width: 100%; margin-top: .75rem; animation: none; padding: .7rem .85rem; border-radius: 14px; }
  .float-card .fc-ico { width: 34px; height: 34px; font-size: 1rem; }
  .float-card strong { font-size: .84rem; }
  .float-card span { font-size: .72rem; }
  .cta-band { border-radius: var(--radius); }
  .section { padding: 2.75rem 0; }
  .hero-visual { margin-bottom: 0; }
  .cb-media[style] { min-height: 220px !important; }
}
