/* ==========================================================================
   Medvel Healthcare — medvel.app
   Design system + site styles
   ========================================================================== */

:root {
  /* Brand */
  --teal-50:  #ecfeff;
  --teal-100: #d6f6f5;
  --teal-200: #a9ebe8;
  --teal-300: #6fdad6;
  --teal-400: #2ec4bf;
  --teal-500: #14a8a3;
  --teal-600: #0d8a86;
  --teal-700: #0e6f6c;
  --teal-800: #115857;
  --navy-900: #06202f;
  --navy-800: #0a2c40;
  --navy-700: #0f3b53;

  --ink:      #0d1f2a;
  --body:     #46606f;
  --muted:    #728a99;
  --line:     #e2ebef;
  --line-soft:#eef4f6;
  --surface:  #ffffff;
  --surface-2:#f5fafb;
  --surface-3:#eef6f7;

  --accent:   #2f6df6;
  --warm:     #f59e0b;
  --danger:   #e5484d;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(13,31,42,.06), 0 1px 3px rgba(13,31,42,.05);
  --shadow:    0 4px 6px -1px rgba(13,31,42,.06), 0 12px 24px -8px rgba(13,31,42,.10);
  --shadow-lg: 0 24px 60px -20px rgba(9,49,64,.28), 0 8px 20px -12px rgba(9,49,64,.16);

  --maxw: 1180px;
  --nav-h: 74px;

  --font: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--teal-700); }
h1,h2,h3,h4,h5 { color: var(--ink); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); letter-spacing: -.033em; }
h2 { font-size: clamp(1.7rem, 1.15rem + 2.1vw, 2.6rem); letter-spacing: -.028em; }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); }
h4 { font-size: 1.03rem; }
p  { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .35em; }
strong { color: var(--ink); font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
::selection { background: var(--teal-200); color: var(--navy-900); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 68px) 0; }
.section--surface { background: var(--surface-2); }
.section--soft { background: linear-gradient(180deg, #fff 0%, var(--surface-2) 100%); }
.section--dark { background: var(--navy-900); color: #a9c4d2; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 940px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.center { text-align: center; }
.section-head { max-width: 720px; margin: 0 auto clamp(34px, 4vw, 56px); text-align: center; }
.section-head p { font-size: 1.06rem; color: var(--muted); margin-bottom: 0; }
.section-head--left { margin-inline: 0; text-align: left; }

/* ---------- Eyebrow / pills ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .765rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--teal-700); background: var(--teal-100);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow--dark { color: var(--teal-300); background: rgba(46,196,191,.12); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: .96rem; font-weight: 700; letter-spacing: -.01em;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary { background: var(--teal-600); color: #fff; box-shadow: 0 8px 20px -8px rgba(13,138,134,.7); }
.btn-primary:hover { background: var(--teal-700); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(13,138,134,.8); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--teal-700); border-color: var(--teal-300); background: #fff; transform: translateY(-1px); }
.btn-outline-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-wa { background: #1fab54; color: #fff; box-shadow: 0 8px 20px -8px rgba(31,171,84,.6); }
.btn-wa:hover { background: #17913f; color: #fff; transform: translateY(-1px); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 18px -12px rgba(13,31,42,.35); }
.nav { height: var(--nav-h); display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: 1.28rem; font-weight: 800; color: var(--navy-900); letter-spacing: -.035em; }
.brand-sub { font-size: .615rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; color: var(--teal-600); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 9px 14px; border-radius: 999px;
  font-size: .935rem; font-weight: 600; color: var(--body); transition: background .18s, color .18s;
}
.nav-links a:hover { background: var(--surface-3); color: var(--ink); }
.nav-links a.active { color: var(--teal-700); background: var(--teal-100); }
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: 10px; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff;
  border-radius: 11px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
@media (max-width: 1024px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 520px) { .nav-cta .btn { display: none; } }

.mobile-menu {
  display: none; border-top: 1px solid var(--line); background: #fff; padding: 14px 0 22px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin: 0 0 14px; padding: 0; }
.mobile-menu a { display: block; padding: 12px 6px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { width: 100%; margin-top: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-900); color: #b6cedb; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 130%;
  background:
    radial-gradient(60% 55% at 18% 12%, rgba(20,168,163,.36), transparent 62%),
    radial-gradient(48% 48% at 84% 6%, rgba(47,109,246,.28), transparent 60%),
    radial-gradient(52% 60% at 62% 96%, rgba(46,196,191,.16), transparent 66%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 62px 62px; mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 78%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: clamp(58px, 7vw, 104px) 0 clamp(64px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 48px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .hl {
  background: linear-gradient(100deg, var(--teal-300), #7fe3df 60%, #9ad9ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: #a7c3d2; max-width: 560px; margin-bottom: 30px; }
.hero .btn-row { margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .875rem; color: #8fb0c2; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 15px; height: 15px; color: var(--teal-300); flex: none; }

/* Hero visual: mock dashboard */
.mock {
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-lg); padding: 14px; backdrop-filter: blur(8px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 2px 4px 12px; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.22); }
.mock-bar b { margin-left: 10px; font-size: .74rem; font-weight: 600; color: #8fb0c2; letter-spacing: .02em; }
.mock-body { background: #fff; border-radius: var(--radius); padding: 16px; color: var(--ink); }
.mock-row { display: flex; gap: 10px; margin-bottom: 12px; }
.mock-stat { flex: 1; background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px; padding: 11px 12px; }
.mock-stat span { display: block; font-size: .655rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mock-stat b { display: block; font-size: 1.32rem; font-weight: 800; color: var(--navy-900); letter-spacing: -.03em; }
.mock-stat b em { font-style: normal; font-size: .68rem; font-weight: 700; color: var(--teal-600); margin-left: 5px; }
.mock-list { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.mock-list-head { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.mock-list-head b { font-size: .78rem; font-weight: 700; color: var(--ink); }
.mock-list-head span { font-size: .66rem; font-weight: 700; color: var(--teal-600); }
.mock-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line-soft); font-size: .78rem; }
.mock-item:last-child { border-bottom: 0; }
.mock-av { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .63rem; font-weight: 800; color: #fff; background: var(--teal-500); }
.mock-av.b { background: var(--accent); } .mock-av.c { background: var(--warm); }
.mock-item .nm { font-weight: 700; color: var(--ink); }
.mock-item .id { color: var(--muted); font-size: .7rem; }
.mock-tag { margin-left: auto; font-size: .64rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--teal-100); color: var(--teal-700); }
.mock-tag.w { background: #fef3c7; color: #92620b; }
.mock-tag.b { background: #e3ecfe; color: #1d4ed8; }

/* ---------- Stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: #fff; padding: 26px 22px; text-align: center; }
.stat b { display: block; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); font-weight: 800; color: var(--navy-900); letter-spacing: -.035em; line-height: 1.1; }
.stat span { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; margin-top: 4px; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .2s ease, box-shadow .22s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal-200); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card--flat:hover { transform: none; box-shadow: none; border-color: var(--line); }

.icon-box {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--teal-100); color: var(--teal-700); margin-bottom: 18px;
}
.icon-box svg { width: 23px; height: 23px; }
.icon-box.blue { background: #e6edfe; color: #1d4ed8; }
.icon-box.amber { background: #fef3c7; color: #a16207; }
.icon-box.rose { background: #fee7e7; color: #be2f34; }

/* Module category card */
.modcat { display: flex; flex-direction: column; }
.modcat ul { list-style: none; padding: 0; margin: 14px 0 0; columns: 1; }
.modcat li { display: flex; align-items: flex-start; gap: 9px; font-size: .93rem; margin-bottom: 9px; color: var(--body); }
.modcat li svg { width: 16px; height: 16px; color: var(--teal-500); flex: none; margin-top: 4px; }
.modcat .count { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Feature list w/ check */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 13px; }
.checklist li svg { width: 19px; height: 19px; flex: none; margin-top: 3px; color: var(--teal-500); }
.checklist strong { display: block; color: var(--ink); }
.checklist span { font-size: .93rem; }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 66px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split .split-media { order: -1; } }
.split + .split { margin-top: clamp(48px, 6vw, 88px); }
.split--rev .split-media { order: 2; }
@media (max-width: 900px) { .split--rev .split-media { order: -1; } }

.panel {
  background: linear-gradient(160deg, var(--surface-3), #fff 70%);
  border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 26px;
  box-shadow: var(--shadow);
}
.panel-title { display: flex; align-items: center; gap: 9px; font-size: .78rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 16px; }
.panel-title svg { width: 17px; height: 17px; flex: none; }
.panel-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 10px;
}
.panel-stats > div {
  background: var(--navy-900); border-radius: 12px; padding: 14px 12px; text-align: center;
}
.panel-stats b {
  display: block; font-size: 1.42rem; font-weight: 800; color: #fff;
  letter-spacing: -.035em; line-height: 1.15;
}
.panel-stats span {
  display: block; font-size: .68rem; font-weight: 600; color: var(--teal-300);
  margin-top: 3px; letter-spacing: .02em;
}
@media (max-width: 420px) { .panel-stats { grid-template-columns: 1fr; } }

.tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.tile b { display: block; font-size: .9rem; color: var(--ink); }
.tile span { font-size: .78rem; color: var(--muted); }

/* ---------- Module index table ---------- */
.mod-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 44px; }
.mod-nav a {
  font-size: .875rem; font-weight: 700; padding: 9px 17px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--body); box-shadow: var(--shadow-sm);
}
.mod-nav a:hover { border-color: var(--teal-300); color: var(--teal-700); }

.mod-block { border-top: 1px solid var(--line); padding-top: 34px; margin-top: 44px; }
.mod-block:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.mod-block > .eyebrow { margin-bottom: 10px; }

.mod-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.mod-card h4 { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; font-size: 1.02rem; }
.mod-card h4 .n { width: 25px; height: 25px; border-radius: 8px; background: var(--teal-100); color: var(--teal-700); font-size: .72rem; font-weight: 800; display: grid; place-items: center; flex: none; }
.mod-card ul { list-style: none; padding: 0; margin: 0; }
.mod-card li { position: relative; padding-left: 15px; font-size: .885rem; margin-bottom: 6px; color: var(--body); }
.mod-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--teal-300); }

/* ---------- Steps ---------- */
.steps { counter-reset: s; display: grid; gap: 18px; }
.step { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font-size: .84rem; font-weight: 800; color: var(--teal-600); background: var(--teal-100);
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none;
}
.step h4 { margin-bottom: .25em; }
.step p { margin: 0; font-size: .93rem; }

/* ---------- Dark feature strip ---------- */
.dark-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 860px) { .dark-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .dark-grid { grid-template-columns: 1fr; } }
.dark-cell { background: var(--navy-900); padding: 26px 24px; }
.dark-cell .icon-box { background: rgba(46,196,191,.14); color: var(--teal-300); }
.dark-cell h4 { color: #fff; margin-bottom: .35em; }
.dark-cell p { font-size: .91rem; color: #91b2c4; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--teal-700), var(--navy-800) 72%);
  border-radius: var(--radius-xl); padding: clamp(38px, 5vw, 62px); color: #cfe6ec; text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: auto -14% -60% -14%; height: 120%;
  background: radial-gradient(46% 60% at 50% 0%, rgba(255,255,255,.14), transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .45em; }
.cta-band p { max-width: 560px; margin: 0 auto 26px; color: #b3d2dc; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 54px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; }
.info-item .icon-box { margin-bottom: 0; width: 42px; height: 42px; border-radius: 12px; }
.info-item h4 { margin-bottom: .15em; font-size: .96rem; }
.info-item p { margin: 0; font-size: .95rem; }
.info-item a { font-weight: 600; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: .95rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-2);
  transition: border-color .16s, box-shadow .16s, background .16s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-400); background: #fff;
  box-shadow: 0 0 0 4px rgba(46,196,191,.15);
}
.field textarea { min-height: 108px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .8rem; color: var(--muted); margin: 14px 0 0; }
.form-msg { display: none; padding: 13px 16px; border-radius: 11px; font-size: .9rem; font-weight: 600; margin-top: 16px; }
.form-msg.ok { display: block; background: var(--teal-100); color: var(--teal-800); }
.form-msg.err { display: block; background: #fee7e7; color: #a01d22; }

/* ---------- Map ---------- */
.map-embed { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; height: 320px; box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: .98rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.35rem; font-weight: 400; color: var(--teal-600); flex: none; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 22px 20px; font-size: .94rem; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #85a7ba; padding: clamp(46px, 5vw, 72px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 42px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: var(--teal-300); }
.site-footer h5 { color: #fff; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #85a7ba; font-size: .92rem; }
.site-footer a:hover { color: var(--teal-300); }
.footer-about p { font-size: .92rem; max-width: 320px; margin-top: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding: 20px 0 26px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  font-size: .84rem;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #a9c4d2; }
.footer-social a:hover { background: var(--teal-600); color: #fff; }
.footer-social svg { width: 17px; height: 17px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(170deg, var(--navy-900), var(--navy-700)); color: #a9c4d2; padding: clamp(52px, 6vw, 88px) 0; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: -50% -20% auto -20%; height: 160%;
  background: radial-gradient(48% 52% at 26% 10%, rgba(20,168,163,.30), transparent 62%),
              radial-gradient(40% 44% at 82% 0%, rgba(47,109,246,.22), transparent 60%);
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero p { max-width: 640px; font-size: 1.06rem; color: #a7c3d2; margin: 0; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(37,211,102,.75);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 27px; height: 27px; }

/* ---------- Utilities / motion ---------- */
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 26px; }
.lede { font-size: 1.06rem; color: var(--muted); }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .42s ease, transform .42s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
