/* =========================================================
   Air Ambulance Dhaka → Bangkok | Premium Design System
   ========================================================= */

:root {
  /* Brand color system */
  --c-primary: #0a3d62;       /* deep trust blue */
  --c-primary-dark: #062742;
  --c-primary-light: #1b6fb3;
  --c-accent: #e63946;        /* medical / emergency red */
  --c-accent-dark: #c1121f;
  --c-teal: #0fa3a3;          /* medical teal accent */
  --c-gold: #f4b400;          /* certification gold */

  --c-bg: #ffffff;
  --c-bg-soft: #f4f8fb;
  --c-bg-mute: #eef3f7;
  --c-line: #e1e8ef;

  --c-text: #16242f;
  --c-text-soft: #45596a;
  --c-text-mute: #6c7f8c;
  --c-white: #ffffff;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(10, 61, 98, .07);
  --shadow: 0 10px 34px rgba(10, 61, 98, .12);
  --shadow-lg: 0 24px 60px rgba(10, 61, 98, .18);

  --max: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);

  --ff-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --ff-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --t: .25s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary-light); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--c-accent); }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--ff-head); line-height: 1.18; font-weight: 700; color: var(--c-primary); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p { color: var(--c-text-soft); }
strong { color: var(--c-text); font-weight: 600; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: clamp(1.2rem, 4.5vw, 2.5rem); }
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--soft { background: var(--c-bg-soft); }
.section--mute { background: var(--c-bg-mute); }
.section--dark { background: linear-gradient(160deg, var(--c-primary-dark), var(--c-primary)); color: #dce8f1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #b9cddd; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-head); font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--c-accent); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--c-accent); display: inline-block; }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 3.8rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: .9rem; font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--ff-head); font-weight: 700; font-size: 1rem;
  padding: .9rem 1.6rem; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: var(--t); white-space: nowrap; line-height: 1;
}
.btn--primary { background: var(--c-accent); color: #fff; box-shadow: 0 8px 22px rgba(230, 57, 70, .32); }
.btn--primary:hover { background: var(--c-accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(230, 57, 70, .42); }
.btn--ghost { background: transparent; color: var(--c-primary); border-color: var(--c-line); }
.btn--ghost:hover { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-bg-soft); }
.btn--light { background: #fff; color: var(--c-primary); }
.btn--light:hover { color: var(--c-accent); transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.08rem; }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--c-primary-dark); color: #cfe0ee; font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #cfe0ee; font-weight: 500; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar .tb-right { display: flex; gap: 1rem; align-items: center; }
.topbar svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 4px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-line); }
.header > .container { max-width: 1340px; }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 1.6rem; }
.brand { display: flex; align-items: center; gap: .75rem; font-family: var(--ff-head); font-weight: 800; font-size: 1.16rem; color: var(--c-primary); letter-spacing: -.02em; flex: none; }
.brand:hover { color: var(--c-primary); }
.brand > span { white-space: nowrap; }
.brand .logo { width: 46px; height: 46px; flex: none; display: grid; place-items: center; background: linear-gradient(150deg, var(--c-accent), var(--c-accent-dark)); border-radius: 12px; color: #fff; box-shadow: var(--shadow-sm); }
.brand .logo svg { width: 26px; height: 26px; }
.brand small { display: block; font-size: .66rem; font-weight: 600; color: var(--c-text-mute); letter-spacing: .04em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: .15rem; }
.nav-links a { font-family: var(--ff-head); font-weight: 600; font-size: .95rem; color: var(--c-text); padding: .6rem .9rem; border-radius: 8px; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--c-accent); background: var(--c-bg-soft); }
.nav-cta { display: flex; align-items: center; gap: .8rem; flex: none; }
.nav-cta .btn { padding: .8rem 1.35rem; }
.nav-mobile-cta { display: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--c-primary); margin: 5px 0; border-radius: 2px; transition: var(--t); }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(155deg, var(--c-primary-dark) 0%, var(--c-primary) 55%, #0c4f7a 100%); color: #eaf3fa; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 18%, rgba(230,57,70,.22), transparent 45%), radial-gradient(circle at 12% 85%, rgba(15,163,163,.18), transparent 40%); pointer-events: none; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero h1 { color: #fff; }
.hero h1 .hl { color: #ffd9dc; }
.hero p.lead { color: #c8dbea; font-size: 1.16rem; margin: 1.2rem 0 1.9rem; max-width: 560px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.7rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: .45rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: .45rem .85rem; border-radius: 50px; font-size: .85rem; font-weight: 600; color: #dcebf7; }
.hero-badges span svg { width: 16px; height: 16px; color: #6fe3c4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero-stats .n { font-family: var(--ff-head); font-size: 1.9rem; font-weight: 800; color: #fff; }
.hero-stats .l { font-size: .82rem; color: #a9c4da; text-transform: uppercase; letter-spacing: .06em; }

/* Hero quote card */
.hero-card { background: rgba(255,255,255,.97); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-lg); color: var(--c-text); }
.hero-card h3 { color: var(--c-primary); font-size: 1.3rem; }
.hero-card .sub { font-size: .9rem; color: var(--c-text-mute); margin-bottom: 1.2rem; }
.field { margin-bottom: .85rem; }
.field label { display: block; font-size: .8rem; font-weight: 700; color: var(--c-text-soft); margin-bottom: .35rem; font-family: var(--ff-head); }
.field input, .field select, .field textarea {
  width: 100%; padding: .72rem .9rem; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm);
  font-family: var(--ff-body); font-size: .95rem; color: var(--c-text); background: var(--c-bg-soft); transition: var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-primary-light); background: #fff; box-shadow: 0 0 0 3px rgba(27,111,179,.12); }
.hero-card .note { font-size: .78rem; color: var(--c-text-mute); margin-top: .7rem; text-align: center; }

/* ---------- Emergency strip ---------- */
.estrip { background: var(--c-accent); color: #fff; }
.estrip .container { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: .8rem 0; flex-wrap: wrap; text-align: center; font-weight: 600; }
.estrip a { color: #fff; font-family: var(--ff-head); font-weight: 800; font-size: 1.15rem; text-decoration: underline; text-underline-offset: 3px; }
.estrip a:hover { color: #ffe3e6; }
.pulse { width: 11px; height: 11px; background: #fff; border-radius: 50%; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.8rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); transition: var(--t); height: 100%; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(150deg, #eaf3fb, #d8e9f6); color: var(--c-primary-light); margin-bottom: 1.1rem; }
.card .ico svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.22rem; margin-bottom: .55rem; }
.card p { font-size: .97rem; }
.card.accent .ico { background: linear-gradient(150deg, #fde3e5, #fbcfd2); color: var(--c-accent); }

/* feature list */
.flist { display: grid; gap: .85rem; }
.flist li { display: flex; gap: .75rem; align-items: flex-start; font-size: 1rem; color: var(--c-text-soft); }
.flist li svg { width: 22px; height: 22px; flex: none; color: var(--c-teal); margin-top: 2px; }
.flist.light li { color: #cfe0ee; }
.flist.light li svg { color: #6fe3c4; }

/* split two-col */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--c-line); }

/* ---------- Process / timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 2.4rem 1.4rem 1.5rem; box-shadow: var(--shadow-sm); }
.step .num { position: absolute; top: -22px; left: 1.4rem; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(150deg, var(--c-accent), var(--c-accent-dark)); color: #fff; display: grid; place-items: center; font-family: var(--ff-head); font-weight: 800; font-size: 1.2rem; box-shadow: 0 8px 18px rgba(230,57,70,.3); }
.step h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.step p { font-size: .92rem; }

/* ---------- Stats band ---------- */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.statband .n { font-family: var(--ff-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: #fff; }
.statband .l { color: #a9c4da; font-size: .92rem; }

/* ---------- Route / coverage ---------- */
.routecard { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); transition: var(--t); }
.routecard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.routecard .r-top { display: flex; align-items: center; gap: .6rem; font-family: var(--ff-head); font-weight: 700; color: var(--c-primary); margin-bottom: .5rem; }
.routecard .r-top svg { width: 20px; height: 20px; color: var(--c-accent); }
.routecard p { font-size: .92rem; }

/* ---------- Testimonials ---------- */
.tcard { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); height: 100%; }
.tcard .stars { color: var(--c-gold); margin-bottom: .8rem; letter-spacing: 2px; }
.tcard blockquote { font-size: 1rem; color: var(--c-text-soft); font-style: italic; margin-bottom: 1.1rem; }
.tcard .who { display: flex; align-items: center; gap: .8rem; }
.tcard .who .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(150deg, var(--c-primary-light), var(--c-primary)); color: #fff; display: grid; place-items: center; font-family: var(--ff-head); font-weight: 700; }
.tcard .who .nm { font-family: var(--ff-head); font-weight: 700; color: var(--c-primary); font-size: .95rem; }
.tcard .who .rl { font-size: .82rem; color: var(--c-text-mute); }

/* ---------- Trust / certification logos ---------- */
.trust-row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: center; }
.trust-chip { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--ff-head); font-weight: 700; color: var(--c-text-soft); font-size: .95rem; padding: .7rem 1.2rem; border: 1px solid var(--c-line); border-radius: 50px; background: #fff; }
.trust-chip svg { width: 22px; height: 22px; color: var(--c-teal); }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq-item { border: 1px solid var(--c-line); border-radius: var(--radius-sm); margin-bottom: .8rem; background: #fff; overflow: hidden; transition: var(--t); }
.faq-item.open { box-shadow: var(--shadow-sm); border-color: var(--c-primary-light); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 1.15rem 1.3rem; font-family: var(--ff-head); font-weight: 700; font-size: 1.05rem; color: var(--c-primary); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q .ic { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--c-bg-soft); display: grid; place-items: center; transition: var(--t); color: var(--c-accent); font-size: 1.3rem; line-height: 1; }
.faq-item.open .faq-q .ic { background: var(--c-accent); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 1.3rem 1.2rem; font-size: .98rem; color: var(--c-text-soft); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 3.5rem); text-align: center; box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe1e3; max-width: 640px; margin: .9rem auto 1.7rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.pagehero { background: linear-gradient(150deg, var(--c-primary-dark), var(--c-primary)); color: #eaf3fa; padding: clamp(2.5rem, 6vw, 4rem) 0; position: relative; overflow: hidden; }
.pagehero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(230,57,70,.2), transparent 45%); }
.pagehero .container { position: relative; z-index: 2; }
.pagehero h1 { color: #fff; max-width: 800px; }
.pagehero p { color: #c8dbea; max-width: 680px; margin-top: .9rem; font-size: 1.1rem; }
.crumb { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: #9fbdd6; margin-bottom: 1rem; flex-wrap: wrap; }
.crumb a { color: #9fbdd6; } .crumb a:hover { color: #fff; }
.crumb span { color: #ffd9dc; }

/* ---------- Prose ---------- */
.prose h2 { margin: 2rem 0 .9rem; }
.prose h3 { margin: 1.6rem 0 .6rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { margin: 0 0 1.2rem; display: grid; gap: .6rem; }
.prose ul li { position: relative; padding-left: 1.6rem; color: var(--c-text-soft); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.prose strong { color: var(--c-primary); }

/* ---------- GEO answer block (definition-first, AI-citable) ---------- */
.answer-block { background: linear-gradient(150deg, #f0f7fc, #e7f1f9); border-left: 5px solid var(--c-accent); border-radius: var(--radius-sm); padding: 1.3rem 1.5rem; margin: 0 0 1.6rem; box-shadow: var(--shadow-sm); }
.answer-block .qa-label { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--ff-head); font-weight: 700; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent); margin-bottom: .5rem; }
.answer-block p { color: var(--c-text); font-size: 1.04rem; margin: 0; }
.answer-block p strong { color: var(--c-primary); }

/* ---------- Key takeaways box ---------- */
.takeaways { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: var(--shadow-sm); }
.takeaways h3 { font-size: 1.12rem; margin-bottom: .9rem; display: flex; align-items: center; gap: .5rem; }
.takeaways h3 svg { width: 22px; height: 22px; color: var(--c-accent); }
.takeaways ul { display: grid; gap: .7rem; }
.takeaways li { display: flex; gap: .65rem; align-items: flex-start; font-size: .98rem; color: var(--c-text-soft); }
.takeaways li svg { width: 20px; height: 20px; flex: none; color: var(--c-teal); margin-top: 2px; }
.takeaways li strong { color: var(--c-primary); }

/* ---------- Comparison / data table ---------- */
.ctable-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--c-line); box-shadow: var(--shadow-sm); margin: 1.4rem 0; }
.ctable { width: 100%; border-collapse: collapse; min-width: 540px; background: #fff; font-size: .96rem; }
.ctable caption { text-align: left; font-size: .82rem; color: var(--c-text-mute); padding: .6rem .9rem; }
.ctable th, .ctable td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.ctable thead th { background: var(--c-primary); color: #fff; font-family: var(--ff-head); font-weight: 700; font-size: .9rem; }
.ctable tbody th { font-family: var(--ff-head); color: var(--c-primary); font-weight: 700; background: var(--c-bg-soft); }
.ctable tbody tr:last-child td, .ctable tbody tr:last-child th { border-bottom: none; }
.ctable td svg { width: 18px; height: 18px; vertical-align: -3px; }
.ctable .yes { color: var(--c-teal); font-weight: 700; }
.ctable .no { color: var(--c-text-mute); }

/* ---------- Related links (internal-link mesh) ---------- */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.related a { display: block; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm); transition: var(--t); }
.related a:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.related a .rl-k { display: flex; align-items: center; gap: .5rem; font-family: var(--ff-head); font-weight: 700; color: var(--c-primary); font-size: 1.05rem; margin-bottom: .3rem; }
.related a .rl-k svg { width: 18px; height: 18px; color: var(--c-accent); }
.related a p { font-size: .9rem; color: var(--c-text-soft); margin: 0; }
.related a:hover .rl-k { color: var(--c-accent); }

/* ---------- Updated / reviewed byline ---------- */
.byline { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--c-text-mute); margin-top: 1.2rem; padding: .5rem .9rem; background: var(--c-bg-soft); border-radius: 50px; }
.byline svg { width: 16px; height: 16px; color: var(--c-teal); }

@media (max-width: 760px) { .related { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 3.5rem); }
.contact-info .ci-item { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--c-line); }
.contact-info .ci-item .ico { width: 48px; height: 48px; flex: none; border-radius: 12px; background: linear-gradient(150deg, #eaf3fb, #d8e9f6); color: var(--c-primary-light); display: grid; place-items: center; }
.contact-info .ci-item .ico svg { width: 24px; height: 24px; }
.contact-info .ci-item h4 { font-family: var(--ff-head); color: var(--c-primary); font-size: 1.05rem; margin-bottom: .2rem; }
.contact-info .ci-item p, .contact-info .ci-item a { font-size: .96rem; color: var(--c-text-soft); }
.form-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---------- Footer ---------- */
.footer { background: var(--c-primary-dark); color: #aec6d9; padding: clamp(3rem, 6vw, 4.5rem) 0 0; font-size: .94rem; }
.footer a { color: #aec6d9; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand { color: #fff; margin-bottom: 1rem; }
.footer .brand small { color: #8fabc2; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; font-family: var(--ff-head); }
.footer ul { display: grid; gap: .6rem; }
.foot-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .7rem; }
.foot-contact svg { width: 18px; height: 18px; flex: none; color: var(--c-accent); margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.5rem 0; font-size: .85rem; color: #7e9bb3; }

/* ---------- Floating call ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: flex; gap: .6rem; flex-direction: column; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); transition: var(--t); }
.fab a svg { width: 26px; height: 26px; }
.fab .call { background: var(--c-accent); animation: pulse-red 2s infinite; }
.fab .wa { background: #25d366; }
.fab a:hover { transform: scale(1.08); }
@keyframes pulse-red { 0% { box-shadow: 0 0 0 0 rgba(230,57,70,.6); } 70% { box-shadow: 0 0 0 16px rgba(230,57,70,0); } 100% { box-shadow: 0 0 0 0 rgba(230,57,70,0); } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps, .statband { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }

  /* Header: compact brand + hamburger only; emergency call lives in the pulsing FAB */
  .topbar .tb-left { display: none; }
  .topbar .container { justify-content: center; }
  .nav { min-height: 62px; gap: .5rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .brand { gap: .55rem; min-width: 0; flex: 1; font-size: 1rem; line-height: 1.15; }
  .brand .logo { width: 38px; height: 38px; border-radius: 10px; }
  .brand .logo svg { width: 22px; height: 22px; }
  .brand > span { min-width: 0; white-space: normal; }
  .brand small { font-size: .62rem; margin-top: 1px; }

  .nav-links.open {
    display: flex; position: absolute; top: 62px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: #fff;
    border-bottom: 1px solid var(--c-line); padding: .7rem; gap: .15rem; box-shadow: var(--shadow);
  }
  .nav-links.open a { padding: .85rem 1rem; border-radius: 8px; }
  /* CTA buttons (cloned by JS) surfaced inside the mobile dropdown */
  .nav-links.open .nav-mobile-cta {
    display: flex; flex-direction: column; gap: .55rem;
    padding: .7rem .25rem .2rem; margin-top: .4rem; border-top: 1px solid var(--c-line);
  }
  .nav-links.open .nav-mobile-cta .btn { width: 100%; }

  .grid-2, .grid-3, .grid-4, .steps, .statband, .footer-grid, .form-row { grid-template-columns: 1fr; }

  /* Hero spacing + keep FAB clear of hero text */
  .hero .container { padding-block: 2.5rem; gap: 1.8rem; }
  .hero-stats { gap: 1.4rem; }
  .hero-actions .btn { flex: 1; }
  .fab { right: 14px; bottom: 14px; }
  .fab a { width: 52px; height: 52px; }

  .section-head p { font-size: 1rem; }
  .estrip .container { font-size: .92rem; }
}

/* Very small phones: drop the brand subtitle so the name never overflows */
@media (max-width: 400px) {
  .brand { font-size: .95rem; }
  .brand small { display: none; }
}
