/* ==========================================================================
   Fit Health Recover — Core stylesheet
   Palette: deep teal ink, emerald primary, mint washes, warm coral accent
   ========================================================================== */

:root {
  --ink: #0c2b28;
  --ink-soft: #2c4a46;
  --primary: #0f7a63;
  --primary-dark: #0a5c4b;
  --primary-light: #d9efe7;
  --mint: #eef7f3;
  --accent: #f2865a;
  --accent-soft: #fde9df;
  --cream: #fbfaf6;
  --line: #e2ece8;
  --muted: #5b716d;
  --white: #ffffff;

  --shadow-sm: 0 2px 10px rgba(12, 43, 40, .05);
  --shadow-md: 0 14px 38px rgba(12, 43, 40, .08);
  --shadow-lg: 0 28px 70px rgba(12, 43, 40, .13);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

h1 { font-size: clamp(2.15rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.55rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.4rem); }

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

::selection { background: var(--primary-light); color: var(--ink); }

.text-ink { color: var(--ink) !important; }
.text-muted-soft { color: var(--muted) !important; }
.bg-mint { background: var(--mint) !important; }
.bg-cream { background: var(--cream) !important; }
.bg-white-soft { background: var(--white) !important; }
.fw-black { font-weight: 800; }

.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }

/* ---------- Eyebrow / section heading ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: .42rem .9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.eyebrow.on-dark { background: rgba(255,255,255,.14); color: #cdeee2; }
.eyebrow.accent { background: var(--accent-soft); color: #b5512a; }

.section-title { margin-bottom: .9rem; }
.section-lead { font-size: 1.06rem; max-width: 46rem; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.text-center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bs-btn-focus-box-shadow: none;
  font-weight: 700;
  letter-spacing: .01em;
  border-radius: 100px;
  padding: .78rem 1.6rem;
  border-width: 1.5px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-brand {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 122, 99, .22);
}
.btn-brand:hover, .btn-brand:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  box-shadow: 0 14px 30px rgba(15, 122, 99, .28);
  transform: translateY(-2px);
}
.btn-outline-brand {
  border-color: rgba(15, 122, 99, .35);
  color: var(--primary-dark);
  background: transparent;
}
.btn-outline-brand:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-light-soft {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.4);
  color: #fff;
}
.btn-light-soft:hover { background: #fff; border-color: #fff; color: var(--primary-dark); }
.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(242, 134, 90, .28);
}
.btn-accent:hover { background: #e0743f; border-color: #e0743f; color: #fff; transform: translateY(-2px); }
.btn-sm { padding: .55rem 1.15rem; font-size: .9rem; }
.btn-lg { padding: .95rem 2rem; font-size: 1.02rem; }
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: .45rem; }
.link-arrow svg { transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: #b9d3cc;
  font-size: .85rem;
  padding: .5rem 0;
}
.topbar a { color: #dff0ea; font-weight: 600; }
.topbar a:hover { color: #fff; }
.topbar .dot { opacity: .4; margin: 0 .6rem; }

/* ---------- Navbar ---------- */
.site-nav {
  background: rgba(251, 250, 246, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, background .25s ease, border-color .25s ease;
  padding: .75rem 0;
}
.site-nav.scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 30px rgba(12, 43, 40, .07);
  border-bottom-color: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap; }
.brand-mark { flex: 0 0 auto; width: 42px; height: 42px; display: block; }
.brand-name {
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}
.brand-name .accent { color: var(--primary); }
.navbar .nav-link {
  font-weight: 600;
  color: var(--ink-soft) !important;
  font-size: .95rem;
  padding: .55rem .85rem !important;
  border-radius: 100px;
  position: relative;
}
.navbar .nav-link:hover { color: var(--primary) !important; }
.navbar .nav-link.active { color: var(--primary-dark) !important; background: var(--primary-light); }
.navbar-toggler { border: 0; padding: .35rem .5rem; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%230c2b28' stroke-linecap='round' stroke-width='2.4' d='M5 8h20M5 15h20M5 22h20'/%3E%3C/svg%3E");
}
.nav-cta { display: flex; align-items: center; gap: .5rem; }
@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: .9rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
  }
  .navbar .nav-link { padding: .65rem .8rem !important; }
  .nav-cta { margin: 1rem 0 .3rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
  background:
    radial-gradient(900px 460px at 12% -10%, #dff2ea 0%, rgba(223,242,234,0) 65%),
    radial-gradient(700px 420px at 100% 0%, #fdeee4 0%, rgba(253,238,228,0) 60%),
    var(--cream);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% 55%;
  height: 520px;
  background: radial-gradient(circle at center, rgba(15,122,99,.10), rgba(15,122,99,0) 70%);
  pointer-events: none;
}
.hero h1 { margin-bottom: 1.15rem; }
.hero p.lead-text { font-size: 1.09rem; max-width: 34rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.2rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .86rem;
  font-weight: 600;
  padding: .5rem .95rem;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.chip svg { color: var(--primary); flex: 0 0 auto; }

.hero-visual { position: relative; max-width: 640px; margin-left: auto; }
.hero-frame {
  border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 8rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  background: #fff;
  aspect-ratio: 4 / 3.2;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.float-card {
  position: absolute;
  background: rgba(255,255,255,.97);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: .85rem 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  animation: floaty 7s ease-in-out infinite;
}
.float-card .fc-icon {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--primary-light);
  color: var(--primary-dark);
  flex: 0 0 auto;
}
.float-card .fc-title { font-weight: 800; color: var(--ink); font-size: .9rem; line-height: 1.2; }
.float-card .fc-sub { font-size: .78rem; color: var(--muted); line-height: 1.3; }
.fc-one { left: -1.1rem; top: 12%; }
.fc-two { right: -.6rem; bottom: 10%; animation-delay: 1.4s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 991.98px) {
  .float-card { display: none; }
}
@media (max-width: 575.98px) {
  .float-card { padding: .6rem .75rem; }
  .float-card .fc-title { font-size: .8rem; }
  .float-card .fc-sub { font-size: .7rem; }
}

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

/* ---------- About ---------- */
.about-media {
  position: relative;
  border-radius: var(--radius-xl) 8rem var(--radius-xl) var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  aspect-ratio: 4 / 3.4;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  background: rgba(255,255,255,.95);
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: .7rem;
  align-items: center;
}
.about-note strong { color: var(--ink); display: block; font-size: .92rem; }
.about-note span { font-size: .8rem; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .7rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .28rem;
  width: 1.28rem; height: 1.28rem;
  border-radius: 50%;
  background: var(--primary-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a5c4b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/0.78rem no-repeat;
}

/* ---------- Why choose us ---------- */
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--primary-light);
  color: var(--primary-dark);
  margin-bottom: 1.1rem;
  transition: background .25s ease, color .25s ease;
}
.why-card:hover .why-icon { background: var(--primary); color: #fff; }
.why-card h3 { font-size: 1.06rem; margin-bottom: .45rem; }
.why-card p { font-size: .94rem; margin: 0; }

/* ---------- Services ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: #cfe5dc; }
.service-thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 11; }
.service-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.service-card:hover .service-thumb img { transform: scale(1.06); }
.service-icon {
  position: absolute;
  left: 1rem; bottom: .9rem;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: #fff;
  color: var(--primary);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.service-body { padding: 1.5rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.service-body h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.service-body p { font-size: .93rem; margin-bottom: 1.15rem; }
.service-body .btn { margin-top: auto; align-self: flex-start; }
.service-tag {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .45rem;
  display: block;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem;
  height: 100%;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial-card .quote-mark {
  position: absolute;
  top: 1.3rem; right: 1.5rem;
  color: var(--primary-light);
}
.testimonial-card p {
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.75;
  margin: 1.2rem 0 1.4rem;
}
.t-person { display: flex; align-items: center; gap: .8rem; }
.t-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  color: var(--primary-dark);
  background: var(--primary-light);
  flex: 0 0 auto;
  letter-spacing: .02em;
}
.t-person strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.2; }
.t-person span { font-size: .82rem; color: var(--muted); }

/* ---------- Blog ---------- */
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: #cfe5dc; }
.post-thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.post-cat {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 100px;
  padding: .3rem .7rem;
  align-self: flex-start;
  margin-bottom: .85rem;
}
.post-body h3 { font-size: 1.15rem; line-height: 1.32; margin-bottom: .55rem; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--primary); }
.post-body p { font-size: .93rem; margin-bottom: 1.2rem; }
.post-body .link-arrow { margin-top: auto; font-size: .92rem; }

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

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(2.4rem, 5vw, 4rem);
  background:
    radial-gradient(700px 340px at 100% 0%, rgba(242,134,90,.35), rgba(242,134,90,0) 60%),
    radial-gradient(600px 380px at 0% 100%, rgba(255,255,255,.16), rgba(255,255,255,0) 60%),
    linear-gradient(135deg, #0d5f4f 0%, #0f7a63 45%, #12716a 100%);
  color: #e9f6f1;
  overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(233, 246, 241, .82); }
.cta-band .cta-inner { position: relative; z-index: 2; }
.cta-band::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 240px; height: 240px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: 40px; bottom: -110px;
  width: 260px; height: 260px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(2.6rem, 5vw, 4.6rem) 0 clamp(2.2rem, 4vw, 3.4rem);
  background:
    radial-gradient(700px 320px at 8% 0%, #dff2ea 0%, rgba(223,242,234,0) 65%),
    radial-gradient(520px 300px at 100% 10%, #fdeee4 0%, rgba(253,238,228,0) 60%),
    var(--cream);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: .8rem; }
.page-hero p { max-width: 44rem; margin-bottom: 0; }
.breadcrumb-trail { font-size: .86rem; color: var(--muted); margin-bottom: 1rem; font-weight: 600; }
.breadcrumb-trail a { color: var(--primary); }
.breadcrumb-trail span { opacity: .5; margin: 0 .45rem; }

/* ---------- Forms ---------- */
.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.6rem, 3.4vw, 2.6rem);
}
.form-label { font-weight: 700; color: var(--ink); font-size: .9rem; margin-bottom: .4rem; }
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  padding: .78rem .95rem;
  font-size: .96rem;
  background: #fdfdfb;
  color: var(--ink-soft);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 122, 99, .12);
  background: #fff;
}
.form-control::placeholder { color: #9aaba7; }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(15, 122, 99, .12); border-color: var(--primary); }
.form-check-label { font-size: .92rem; color: var(--muted); }
.was-validated .form-control:invalid, .form-control.is-invalid { border-color: #d4685c; }
.form-note { font-size: .84rem; color: var(--muted); }
.form-status {
  display: none;
  border-radius: var(--radius-sm);
  padding: .95rem 1.1rem;
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 1.2rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid #bfe2d5;
}
.form-status.show { display: block; animation: fadeup .35s ease both; }
.form-status.error { background: #fdecea; color: #a8402f; border-color: #f3c9c2; }

/* ---------- Contact ---------- */
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
  display: flex;
  gap: 1rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-card .cc-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.contact-card h3 { font-size: .98rem; margin-bottom: .25rem; }
.contact-card p, .contact-card a { font-size: .94rem; margin: 0; color: var(--muted); word-break: break-word; }
.contact-card a:hover { color: var(--primary); }
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--mint);
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
}
.map-frame .map-pin {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  display: grid; place-items: center;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-sm);
}

/* ---------- Legal / prose ---------- */
.prose-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.6rem, 3.6vw, 3rem);
}
.prose-panel h2 { font-size: 1.35rem; margin: 2rem 0 .7rem; }
.prose-panel h2:first-child { margin-top: 0; }
.prose-panel h3 { font-size: 1.08rem; margin: 1.5rem 0 .5rem; }
.prose-panel p, .prose-panel li { color: var(--muted); font-size: .98rem; }
.prose-panel ul { padding-left: 1.1rem; }
.prose-panel li { margin-bottom: .5rem; }
.prose-panel a { font-weight: 600; }
.legal-nav {
  position: sticky;
  top: 6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.legal-nav h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.legal-nav a { display: block; font-size: .92rem; font-weight: 600; padding: .3rem 0; color: var(--ink-soft); }
.legal-nav a:hover { color: var(--primary); }

/* ---------- Article ---------- */
.article-hero-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  aspect-ratio: 16 / 8;
}
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-body { font-size: 1.04rem; }
.article-body h2 { font-size: 1.5rem; margin: 2.2rem 0 .75rem; }
.article-body h3 { font-size: 1.16rem; margin: 1.7rem 0 .55rem; }
.article-body p { color: var(--muted); margin-bottom: 1.15rem; }
.article-body ul, .article-body ol { color: var(--muted); padding-left: 1.15rem; margin-bottom: 1.3rem; }
.article-body li { margin-bottom: .55rem; }
.article-body blockquote {
  border-left: 4px solid var(--primary);
  background: var(--mint);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.4rem;
  margin: 1.8rem 0;
  color: var(--ink-soft);
  font-weight: 600;
  font-style: italic;
}
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; font-size: .88rem; color: var(--muted); }
.article-meta .sep { width: 5px; height: 5px; border-radius: 50%; background: #c3d6d0; }
.share-row { display: flex; gap: .5rem; align-items: center; }
.share-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--mint);
  color: var(--primary-dark);
  border: 1px solid var(--line);
}
.share-row a:hover { background: var(--primary); color: #fff; }

/* ---------- Newsletter / auth-ish panels ---------- */
.subscribe-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.7rem, 4vw, 3rem);
}
.subscribe-art {
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: linear-gradient(150deg, #0d5f4f, #0f7a63 60%, #16867a);
  color: #e9f6f1;
  height: 100%;
}
.subscribe-art h2 { color: #fff; font-size: 1.45rem; }
.subscribe-art p { color: rgba(233,246,241,.82); }
.subscribe-art .check-list li { color: #e9f6f1; }
.subscribe-art .check-list li::before { background-color: rgba(255,255,255,.2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a9c4bd; padding: clamp(2.8rem, 5vw, 4.4rem) 0 0; }
.site-footer h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.site-footer p { color: #9fbcb5; font-size: .93rem; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name .accent { color: #6fd6b8; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: #a9c4bd; font-size: .93rem; font-weight: 500; }
.footer-links a:hover { color: #fff; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .8rem; font-size: .93rem; }
.footer-contact svg { color: #6fd6b8; flex: 0 0 auto; margin-top: .2rem; }
.footer-contact a { color: #cfe4de; font-weight: 600; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  margin-top: 2.6rem;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.3rem 0;
  font-size: .87rem;
}
.footer-bottom a { color: #cfe4de; }
.footer-bottom a:hover { color: #fff; }
.social-row { display: flex; gap: .55rem; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: #d8eae4;
}
.social-row a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .25s ease;
  z-index: 1030;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--primary); color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeup { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  * { animation-duration: .001ms !important; }
}

/* ---------- Utilities ---------- */
.rounded-xl { border-radius: var(--radius-xl) !important; }
.shadow-soft { box-shadow: var(--shadow-md); }
.divider-line { height: 1px; background: var(--line); border: 0; opacity: 1; margin: 0; }
.text-balance { text-wrap: balance; }
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.sticky-lg { position: sticky; top: 6.5rem; }
@media (max-width: 991.98px) { .sticky-lg { position: static; } }
