/* ============================================================
   Smart Health Revamp — main stylesheet
   Palette: deep ink + teal / mint, warm sand accents
   ============================================================ */

:root {
  --ink: #08262b;
  --ink-soft: #2c4a4f;
  --muted: #5b7378;
  --teal: #0f766e;
  --teal-deep: #0b5d57;
  --mint: #14b8a6;
  --mint-soft: #e6fbf7;
  --sand: #f7f3ec;
  --sand-deep: #efe7d9;
  --amber: #e0a34a;
  --line: #dfe9e7;
  --paper: #ffffff;
  --wash: #f5faf9;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 10px rgba(8, 38, 43, .05);
  --shadow: 0 18px 44px -22px rgba(8, 38, 43, .28);
  --shadow-lg: 0 34px 70px -34px rgba(8, 38, 43, .38);
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { -webkit-tap-highlight-color: transparent; }

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

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

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: 750;
  line-height: 1.16;
  letter-spacing: -.02em;
  margin: 0 0 .6rem;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.55rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.028em; }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
a { color: var(--teal); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--mint); }
img { max-width: 100%; height: auto; }
strong { color: var(--ink); font-weight: 650; }
::selection { background: var(--mint); color: #fff; }

.serif { font-family: var(--font-serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }
.text-muted-ink { color: var(--muted) !important; }
.section { padding: clamp(3.6rem, 7vw, 6.5rem) 0; }
.section-sm { padding: clamp(2.6rem, 4.5vw, 4rem) 0; }
.bg-wash { background: var(--wash); }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: rgba(255,255,255,.78); }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }

/* ---------------------------------------------------- eyebrow / headings -- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--mint), rgba(20,184,166,.15));
  border-radius: 2px;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: #8ee6da; }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }

/* ------------------------------------------------------------- buttons --- */
.btn {
  --btn-bg: var(--teal);
  border-radius: 999px;
  font-weight: 650;
  font-size: .95rem;
  padding: .78rem 1.55rem;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  line-height: 1.35;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid rgba(20,184,166,.4); outline-offset: 2px; }
.btn-brand {
  background: linear-gradient(135deg, #12897f 0%, #0e6f68 55%, #0a5b56 100%);
  color: #fff;
  box-shadow: 0 14px 28px -16px rgba(15,118,110,.85);
}
.btn-brand:hover, .btn-brand:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 20px 34px -16px rgba(15,118,110,.9);
}
.btn-soft {
  background: var(--mint-soft);
  color: var(--teal-deep);
  border-color: #cdeee7;
}
.btn-soft:hover { background: #d6f6ef; color: var(--teal-deep); transform: translateY(-2px); }
.btn-outline-brand {
  border-color: #bfd9d5;
  color: var(--ink);
  background: #fff;
}
.btn-outline-brand:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn-light-brand { background: #fff; color: var(--teal-deep); box-shadow: var(--shadow-sm); }
.btn-light-brand:hover { color: var(--teal-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost-light { border-color: rgba(255,255,255,.42); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); }
.btn-sm { padding: .58rem 1.15rem; font-size: .86rem; }
.btn-lg { padding: .95rem 1.9rem; font-size: 1rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ------------------------------------------------------------- header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 12px 30px -24px rgba(8,38,43,.6);
  border-bottom-color: var(--line);
  background: rgba(255,255,255,.95);
}
.navbar { padding: .85rem 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  white-space: nowrap;
  text-decoration: none;
}
.brand-mark {
  width: 42px; height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #16b8a6, #0d6e6a);
  box-shadow: 0 8px 18px -8px rgba(15,118,110,.9);
}
.brand-mark svg { width: 22px; height: 22px; display: block; }
.brand .brand-mark { margin-top: -1px; }
.brand-name {
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -.028em;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}
.brand-name:hover { color: var(--ink); }

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink-soft);
  padding: .55rem .85rem !important;
  border-radius: 999px;
  position: relative;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.navbar-nav .nav-link:hover { color: var(--teal); background: var(--mint-soft); }
.navbar-nav .nav-link.active { color: var(--teal-deep); background: var(--mint-soft); }
.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .45rem .6rem;
  background: #fff;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(20,184,166,.22); }
.navbar-toggler svg { display: block; }

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: .9rem;
    padding: .5rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .navbar-nav .nav-link { padding: .7rem .9rem !important; }
  .nav-cta { margin: .5rem .25rem .25rem; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* -------------------------------------------------------------- hero ----- */
.hero {
  position: relative;
  padding: clamp(2.4rem, 5vw, 4.6rem) 0 clamp(3.2rem, 6vw, 5.6rem);
  background:
    radial-gradient(950px 420px at 88% -10%, #e2f7f2 0%, rgba(255,255,255,0) 62%),
    radial-gradient(720px 380px at -5% 12%, #fbf3e7 0%, rgba(255,255,255,0) 58%),
    #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 .accent {
  color: var(--teal);
  position: relative;
  white-space: nowrap;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .06em;
  height: .28em;
  background: linear-gradient(90deg, rgba(20,184,166,.28), rgba(224,163,74,.28));
  border-radius: 999px;
  z-index: -1;
}
.hero-lead {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  color: var(--muted);
  max-width: 33rem;
  margin-bottom: 1.8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.9rem; }
.hero-note {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .87rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.hero-note svg { flex: 0 0 auto; }

.hero-media { position: relative; }
.hero-media .frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  aspect-ratio: 4 / 4.35;
  background: var(--mint-soft);
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: -22px -22px auto auto;
  width: 190px; height: 190px;
  border-radius: 50%;
  border: 1.5px dashed rgba(15,118,110,.28);
  animation: spin 26s linear infinite;
}
.hero-blob {
  position: absolute;
  left: -26px; bottom: -26px;
  width: 150px; height: 150px;
  border-radius: 42% 58% 60% 40% / 50% 45% 55% 50%;
  background: linear-gradient(140deg, rgba(224,163,74,.28), rgba(20,184,166,.22));
  filter: blur(2px);
  z-index: -1;
}
@keyframes spin { to { transform: rotate(360deg); } }

.float-card {
  position: absolute;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: .7rem .9rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink);
  animation: float 7s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
.float-card .dot {
  width: 34px; height: 34px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--mint-soft);
  flex: 0 0 34px;
}
.float-card--a { left: -18px; top: 16%; }
.float-card--b { right: -14px; bottom: 14%; animation-delay: -3.4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@media (max-width: 991.98px) {
  .float-card--a { left: 6px; top: 8px; }
  .float-card--b { right: 6px; bottom: 8px; }
  .hero-media { margin-top: 2.2rem; }
}
@media (max-width: 575.98px) {
  .float-card { font-size: .72rem; padding: .55rem .7rem; }
  .float-card small { font-size: .66rem; }
}

/* -------------------------------------------------------- trust strip ---- */
.trust-strip {
  border-block: 1px solid var(--line);
  background: #fff;
  padding: 1.1rem 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-soft);
  justify-content: center;
  height: 100%;
}
.trust-item svg { flex: 0 0 auto; }
@media (max-width: 767.98px) {
  .trust-item { justify-content: flex-start; }
}

/* --------------------------------------------------------- about block --- */
.about-media { position: relative; }
.about-media .main {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 5px solid #fff;
  aspect-ratio: 5 / 4.2;
}
.about-media .main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-tag {
  position: absolute;
  right: -10px; bottom: -18px;
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  padding: 1rem 1.15rem;
  max-width: 232px;
  box-shadow: var(--shadow-lg);
}
.about-tag .serif { color: #9ceae0; font-size: .82rem; display: block; margin-bottom: .2rem; }
.about-tag p { margin: 0; font-size: .85rem; line-height: 1.5; color: rgba(255,255,255,.82); }
@media (max-width: 575.98px) {
  .about-tag { position: static; margin-top: 1rem; max-width: none; }
}

.value-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .85rem; }
.value-list li { display: flex; gap: .8rem; align-items: flex-start; font-size: .96rem; }
.value-list .tick {
  flex: 0 0 24px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-top: .18rem;
}
.value-list strong { display: block; color: var(--ink); }

/* ------------------------------------------------------------- cards ----- */
.card-soft {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

/* services */
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #c9e6e0;
}
.service-card .thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--mint-soft);
}
.service-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.service-card:hover .thumb img { transform: scale(1.05); }
.service-card .body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.service-card h3 { font-size: 1.13rem; margin-bottom: .5rem; }
.service-card p {
  font-size: .92rem;
  color: var(--muted);
  margin-bottom: 1.15rem;
  flex: 1 1 auto;
}
.service-card .btn { align-self: flex-start; }
.service-card .tag {
  position: absolute;
  top: .85rem; left: .85rem;
  background: rgba(255,255,255,.92);
  color: var(--teal-deep);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* why choose us */
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 1.4rem;
  height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: #fff; }
.why-card .icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.why-card .icon img { width: 100%; height: 100%; display: block; }
.why-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.why-card p { font-size: .9rem; color: var(--muted); margin: 0; }

.why-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(20,184,166,.16), transparent 65%),
    var(--ink);
  color: rgba(255,255,255,.8);
  border-radius: 28px;
  padding: clamp(1.8rem, 3.4vw, 3rem);
  position: relative;
  overflow: hidden;
}
.why-panel::before {
  content: "";
  position: absolute;
  right: -70px; bottom: -90px;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,.18);
}
.why-panel h2, .why-panel h3 { color: #fff; }
.why-panel p { color: rgba(255,255,255,.76); }
.why-panel > .btn { margin-top: auto; }
.why-panel .why-list { width: 100%; }
.why-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 1rem; }
.why-list li { display: flex; gap: .8rem; font-size: .94rem; }
.why-list .tick {
  flex: 0 0 26px; width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(20,184,166,.2);
  color: #8ee6da;
  display: grid; place-items: center;
  margin-top: .1rem;
}

/* testimonials */
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quote-card .quote-mark {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: .7;
  color: rgba(20,184,166,.28);
  margin-bottom: .5rem;
}
.quote-card blockquote {
  font-size: .97rem;
  color: var(--ink-soft);
  margin: 0 0 1.3rem;
  flex: 1 1 auto;
}
.stars { display: flex; gap: .18rem; color: var(--amber); margin-bottom: .9rem; }
.who { display: flex; align-items: center; gap: .75rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.who .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  flex: 0 0 42px;
  display: grid; place-items: center;
  font-weight: 700; font-size: .86rem;
  color: #0b5d57;
  background: linear-gradient(140deg, #d8f6ef, #bfe9f0);
}
.who .name { display: block; font-weight: 700; color: var(--ink); font-size: .92rem; line-height: 1.3; }
.who .role { display: block; font-size: .78rem; color: var(--muted); line-height: 1.4; }

/* blog */
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #c9e6e0; }
.blog-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mint-soft); }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.blog-card:hover .thumb img { transform: scale(1.05); }
.blog-card .body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  align-self: flex-start;
  background: var(--mint-soft);
  color: var(--teal-deep);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .28rem .62rem;
  border-radius: 999px;
  margin-bottom: .8rem;
}
.blog-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--teal); }
.blog-card p { font-size: .91rem; color: var(--muted); flex: 1 1 auto; }
.read-more {
  font-weight: 650;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--teal);
}
.read-more svg { transition: transform .25s var(--ease); }
.read-more:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------------ FAQ -- */
.faq-accordion .accordion-item {
  border: 1px solid var(--line);
  border-radius: 16px !important;
  margin-bottom: .8rem;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.faq-accordion .accordion-button {
  font-weight: 650;
  font-size: .99rem;
  color: var(--ink);
  padding: 1.1rem 1.25rem;
  background: #fff;
  box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--teal-deep); background: var(--mint-soft); }
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 3px rgba(20,184,166,.18); border-color: transparent; }
.faq-accordion .accordion-button::after {
  width: 1rem; height: 1rem; background-size: 1rem;
  filter: invert(38%) sepia(42%) saturate(657%) hue-rotate(126deg) brightness(92%) contrast(93%);
}
.faq-accordion .accordion-body { padding: .1rem 1.25rem 1.3rem; color: var(--muted); font-size: .95rem; }

/* ------------------------------------------------------------------ CTA -- */
.cta-band {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  padding: clamp(2.2rem, 4.6vw, 3.8rem);
  background:
    radial-gradient(760px 320px at 12% -20%, rgba(20,184,166,.55), transparent 62%),
    radial-gradient(620px 300px at 100% 120%, rgba(224,163,74,.32), transparent 60%),
    linear-gradient(135deg, #093c40, #0b2b30 65%);
  color: rgba(255,255,255,.82);
  box-shadow: var(--shadow-lg);
}
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.78); }
.cta-band .ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,.16);
}
.cta-band .ring.one { width: 240px; height: 240px; right: -60px; top: -80px; }
.cta-band .ring.two { width: 140px; height: 140px; right: 120px; bottom: -70px; }
.cta-band .contact-line { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; font-size: .92rem; }
.cta-band .contact-line a { color: #fff; font-weight: 600; }
.cta-band .contact-line a:hover { color: #9ceae0; }
.cta-band .contact-line span { display: inline-flex; align-items: center; gap: .5rem; }

/* --------------------------------------------------------------- footer -- */
.site-footer {
  background: #071f24;
  color: rgba(255,255,255,.66);
  padding: clamp(2.8rem, 5vw, 4.4rem) 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 50%; top: -160px;
  width: 620px; height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(20,184,166,.16), transparent);
  pointer-events: none;
}
.site-footer h4 {
  color: #fff;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  font-weight: 700;
}
.footer-brand .brand-name { color: #fff; font-size: 1.16rem; }
.site-footer p { font-size: .92rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a {
  color: rgba(255,255,255,.68);
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.footer-links a:hover { color: #fff; transform: translateX(3px); }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.footer-contact li { display: flex; gap: .6rem; font-size: .92rem; align-items: flex-start; }
.footer-contact svg { flex: 0 0 auto; margin-top: .22rem; opacity: .8; }
.footer-contact a { color: rgba(255,255,255,.8); }
.footer-contact a:hover { color: #fff; }
.social-row { display: flex; gap: .5rem; margin-top: 1.2rem; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.social-row a:hover { background: var(--teal); transform: translateY(-2px); color: #fff; }
.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.2rem 0;
  font-size: .85rem;
}
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: #fff; }

/* -------------------------------------------------------- page banners -- */
.page-hero {
  position: relative;
  padding: clamp(2.6rem, 5vw, 4.2rem) 0 clamp(2.2rem, 4vw, 3.4rem);
  background:
    radial-gradient(760px 340px at 92% -30%, #e2f7f2, rgba(255,255,255,0) 60%),
    radial-gradient(560px 280px at 2% 0%, #fbf3e7, rgba(255,255,255,0) 55%),
    #fff;
  border-bottom: 1px solid var(--line);
}
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: #9fb4b1; font-size: .84rem; margin-bottom: 1rem; }
.page-hero .breadcrumb a { color: var(--muted); font-weight: 600; }
.page-hero .breadcrumb a:hover { color: var(--teal); }
.page-hero .breadcrumb-item.active { color: var(--teal); font-weight: 600; }
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: .8rem; }
.page-hero p { color: var(--muted); max-width: 46rem; margin-bottom: 0; }

/* ------------------------------------------------------------- contact --- */
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card .icon {
  width: 50px; height: 50px;
  border-radius: 15px;
  background: var(--mint-soft);
  color: var(--teal);
  display: grid; place-items: center;
  margin-bottom: 1rem;
}
.contact-card h3 { font-size: 1rem; margin-bottom: .35rem; }
.contact-card p, .contact-card a { font-size: .9rem; color: var(--muted); margin: 0; }
.contact-card a { overflow-wrap: anywhere; word-break: break-word; }
.contact-card a { font-weight: 600; color: var(--ink-soft); }
.contact-card a:hover { color: var(--teal); }

.form-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  box-shadow: var(--shadow);
}
.form-label { font-weight: 600; font-size: .87rem; color: var(--ink); margin-bottom: .35rem; }
.form-control, .form-select {
  border: 1px solid #d6e3e1;
  border-radius: 12px;
  padding: .72rem .9rem;
  font-size: .94rem;
  color: var(--ink-soft);
  background-color: #fcfefd;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.form-control::placeholder { color: #9aacaa; }
.form-control:focus, .form-select:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(20,184,166,.14);
  background-color: #fff;
}
textarea.form-control { min-height: 130px; resize: vertical; }
.form-check-input:checked { background-color: var(--teal); border-color: var(--teal); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(20,184,166,.14); border-color: var(--mint); }
.form-note { font-size: .8rem; color: var(--muted); }
.form-alert {
  display: none;
  border-radius: 14px;
  border: 1px solid #bfe9dd;
  background: #effaf6;
  color: #0b5d57;
  padding: .85rem 1rem;
  font-size: .9rem;
  align-items: flex-start;
  gap: .6rem;
}
.form-alert.show { display: flex; }
.form-alert svg { flex: 0 0 auto; margin-top: .15rem; }

.map-wrap {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--mint-soft);
}
.map-wrap iframe { display: block; width: 100%; height: 330px; border: 0; }

/* -------------------------------------------------------------- forms ---- */
.auth-card {
  max-width: 560px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(1.6rem, 3.4vw, 2.6rem);
  box-shadow: var(--shadow);
}
.auth-card .badge-icon {
  width: 62px; height: 62px;
  border-radius: 20px;
  background: var(--mint-soft);
  color: var(--teal);
  display: grid; place-items: center;
  margin-bottom: 1.2rem;
}

/* ------------------------------------------------------------- prose ----- */
.prose { max-width: 800px; }
.prose h2 { font-size: clamp(1.3rem, 2vw, 1.62rem); margin-top: 2.2rem; margin-bottom: .7rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.prose p, .prose li { color: var(--ink-soft); font-size: .97rem; }
.prose ul, .prose ol { padding-left: 1.15rem; }
.prose li { margin-bottom: .45rem; }
.prose a { text-decoration: underline; text-decoration-color: rgba(20,184,166,.45); text-underline-offset: 2px; }
.callout {
  background: var(--mint-soft);
  border-left: 4px solid var(--mint);
  border-radius: 0 14px 14px 0;
  padding: 1rem 1.15rem;
  margin: 1.4rem 0;
  font-size: .93rem;
  color: var(--teal-deep);
}
.callout strong { color: var(--teal-deep); }
.policy-meta {
  font-size: .84rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem .85rem;
}
.toc {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
  position: sticky;
  top: 100px;
}
.toc h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding-left: 1.1rem; font-size: .9rem; }
.toc li { margin-bottom: .4rem; }
.toc a { color: var(--ink-soft); }
.toc a:hover { color: var(--teal); }

/* ------------------------------------------------------------ article ---- */
.article-hero img {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 16 / 7.4;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 5px solid #fff;
}
.article-body { max-width: 720px; }
.article-body h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-top: 2rem; }
.article-body p { font-size: 1.02rem; color: var(--ink-soft); }
.article-body > p:first-of-type { font-size: 1.1rem; color: var(--ink-soft); }
.article-list { padding-left: 1.1rem; }
.article-list li { margin-bottom: .55rem; font-size: 1rem; }
.pullquote {
  border-left: 3px solid var(--mint);
  padding: .3rem 0 .3rem 1.2rem;
  margin: 1.8rem 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.22rem;
  color: var(--ink);
  line-height: 1.6;
}
.author-box {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  margin-top: 2.4rem;
}
.author-box .avatar {
  width: 52px; height: 52px; border-radius: 50%;
  flex: 0 0 52px;
  display: grid; place-items: center;
  font-weight: 700; color: #0b5d57;
  background: linear-gradient(140deg, #d8f6ef, #bfe9f0);
}
.author-box p { margin: 0; font-size: .86rem; color: var(--muted); }

/* ------------------------------------------------------------ reveal ----- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------- back to top --- */
.to-top {
  position: fixed;
  right: 18px; bottom: 18px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--teal);
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  z-index: 1040;
  cursor: pointer;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--teal); color: #fff; }

/* ---------------------------------------------------------- utilities ---- */
.divider-dot { color: var(--line); }
.hr-soft { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; opacity: 1; }
.link-arrow { font-weight: 650; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.hover-lift { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.hover-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--teal); color: #fff;
  padding: .7rem 1.1rem; border-radius: 0 0 12px 0; z-index: 2000;
}
.skip-link:focus { left: 0; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* print */
@media print {
  .site-header, .site-footer, .to-top, .cta-band { display: none !important; }
  body { color: #000; }
}
