/* ==========================================================================
   Harmony Home Care Support Services — Design System
   Brand: Green #8DC63F  |  Sky Blue #00AEEF  |  Font: Nunito
   ========================================================================== */

:root {
  /* Brand palette */
  --green: #8DC63F;
  --green-600: #6fa62c;
  --green-700: #567f22;
  --blue: #00AEEF;
  --blue-600: #0090c6;
  --blue-700: #006f99;
  --navy: #0f3a4d;          /* headings / dark UI */
  --navy-800: #0b2c3b;

  /* Neutrals */
  --ink: #1f2a30;
  --body: #46545c;
  --muted: #6b7a82;
  --line: #e4ebee;
  --bg: #ffffff;
  --bg-soft: #f4f8fa;
  --bg-mint: #f1f8e9;
  --bg-sky: #e8f7fd;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(15, 58, 77, .06), 0 1px 2px rgba(15, 58, 77, .04);
  --shadow: 0 10px 30px rgba(15, 58, 77, .08);
  --shadow-lg: 0 24px 60px rgba(15, 58, 77, .14);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
}

/* ----------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  overflow-x: hidden;
  overflow-x: clip;   /* clip prevents horizontal bleed without breaking sticky header */
  max-width: 100%;
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--body);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
svg { width: 1em; height: 1em; flex: none; } /* sane default; component rules override */
.btn svg { width: 1.2em; height: 1.2em; }
.card__body > .ico svg, .feature .ico svg { width: 26px; height: 26px; }
.card__link svg { width: 1.1em; height: 1.1em; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.18; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.15rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin-bottom: .4rem; }

/* --------------------------------------------------------------- Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); }
.section--navy h2, .section--navy h3 { color: #fff; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  font-size: .78rem; color: var(--green-700); background: var(--bg-mint);
  padding: .38em .9em; border-radius: 999px; margin-bottom: 1rem;
}
.eyebrow--sky { color: var(--blue-700); background: var(--bg-sky); }
.lead { font-size: 1.16rem; color: var(--body); }
.grid { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  font-weight: 800; font-size: 1rem; line-height: 1; cursor: pointer;
  padding: .95em 1.5em; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-green { background: var(--green); color: #14320a; box-shadow: 0 8px 20px rgba(141,198,63,.35); }
.btn-green:hover { background: var(--green-600); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(0,174,239,.32); }
.btn-blue:hover { background: var(--blue-600); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-700); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-lg { font-size: 1.08rem; padding: 1.05em 1.9em; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- Header */
.topbar { background: var(--navy); color: #dbe7ec; font-size: .9rem; }
.topbar__inner { display: flex; gap: 1.4rem; align-items: center; justify-content: space-between; padding: .5rem var(--gutter); flex-wrap: wrap; }
.topbar__tag { font-style: italic; font-weight: 700; color: var(--green); letter-spacing: .02em; }
.topbar__right { display: inline-flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.topbar a { color: #eaf3f6; font-weight: 700; }
.topbar a:hover { color: var(--green); text-decoration: none; }
.topbar__item { display: inline-flex; align-items: center; gap: .45em; }
.topbar__item svg { width: 16px; height: 16px; flex: none; color: var(--green); }
@media (max-width: 720px) { .topbar__inner { justify-content: center; gap: .5rem 1rem; } .topbar__right { justify-content: center; gap: 1rem; } .topbar__hours { display: none; } }

.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 1.25rem; padding: .7rem var(--gutter); max-width: var(--container); margin-inline: auto; }
/* Logo + name: single aligned block, +20% logo, breathable gap before nav */
.brand { display: flex; align-items: center; gap: .8rem; font-weight: 900; color: var(--navy); text-decoration: none; letter-spacing: -.02em; margin-right: clamp(1.5rem, 4vw, 3.5rem); }
.brand:hover { text-decoration: none; }
.brand img { width: 55px; height: 55px; border-radius: 12px; object-fit: cover; }
.brand__name { font-size: 1.32rem; line-height: 1.1; }
.nav__links { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.nav__links a { color: var(--ink); font-weight: 700; padding: .55em .8em; border-radius: 8px; font-size: .98rem; }
.nav__links a:hover { background: var(--bg-soft); color: var(--blue-700); text-decoration: none; }
.nav__links a.active { color: var(--green-700); }
.nav__cta { display: flex; align-items: center; gap: .6rem; }
.nav__toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--line); border-radius: 10px; padding: .5em .6em; cursor: pointer; }
.nav__toggle svg { width: 24px; height: 24px; color: var(--navy); display: block; }

/* Dropdown */
.has-drop { position: relative; }
.drop { position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop a { display: block; padding: .6em .8em; border-radius: 9px; font-size: .95rem; }

@media (max-width: 980px) {
  .nav__links, .nav__cta .btn-outline { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__cta { margin-left: auto; }
}
@media (max-width: 560px) {
  .brand { margin-right: .4rem; }
  .brand__name { font-size: 1.05rem; }
  .brand img { width: 44px; height: 44px; }
  .nav__call .cta-label { display: none; }
  .nav__call { padding: .65em .8em; }
  .nav { gap: .5rem; padding-inline: 14px; }
  .nav__cta { gap: .4rem; }
  .lang-btn { padding: .5em; }
  .topbar__tag { display: none; }
}
@media (max-width: 380px) {
  .brand__name { font-size: .95rem; }
  .brand img { width: 40px; height: 40px; }
  .nav { gap: .35rem; padding-inline: 10px; }
}
@media (max-width: 980px) {
  .nav[data-open="true"] .nav__links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: .6rem var(--gutter) 1.1rem; gap: .1rem;
  }
  .nav[data-open="true"] .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 1rem; }
  .nav__links a { padding: .8em .6em; font-size: 1.05rem; }
}

/* ------------------------------------------------------------------ Hero */
.hero { position: relative; background: linear-gradient(160deg, var(--bg-sky) 0%, #ffffff 55%, var(--bg-mint) 100%); overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(141,198,63,.18), transparent 70%); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 60px); align-items: center; padding: clamp(48px, 7vw, 84px) 0; position: relative; }
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 span { color: var(--green-700); }
.hero__badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 1.6rem; }
.pill { display: inline-flex; align-items: center; gap: .4em; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 700; font-size: .86rem; padding: .45em .9em; border-radius: 999px; box-shadow: var(--shadow-sm); }
.pill svg { width: 15px; height: 15px; color: var(--green-600); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Quick inquiry card */
.inquiry-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 32px); border-top: 6px solid var(--green); }
.inquiry-card h2 { font-size: 1.35rem; margin-bottom: .2rem; }
.inquiry-card p.sub { font-size: .95rem; color: var(--muted); margin-bottom: 1.1rem; }
.field { margin-bottom: .85rem; }
.field label { display: block; font-weight: 700; font-size: .86rem; color: var(--navy); margin-bottom: .3rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8em .9em; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,174,239,.15); }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .7rem; text-align: center; }

/* --------------------------------------------------------------- Trust bar */
.trustbar { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trustbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(18px, 5vw, 60px); padding: 26px var(--gutter); }
.trust-badge { display: flex; align-items: center; gap: .7rem; max-width: 260px; }
.trust-badge .ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--bg-mint); }
.trust-badge .ico.sky { background: var(--bg-sky); }
.trust-badge .ico svg { width: 24px; height: 24px; color: var(--green-700); }
.trust-badge .ico.sky svg { color: var(--blue-700); }
.trust-badge strong { display: block; color: var(--navy); font-size: .98rem; line-height: 1.2; }
.trust-badge span { font-size: .82rem; color: var(--muted); }

/* ---------------------------------------------------------------- Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .4rem; }
.card__body p { font-size: .96rem; color: var(--body); }
.card__link { margin-top: auto; font-weight: 800; color: var(--green-700); display: inline-flex; align-items: center; gap: .35em; padding-top: .6rem; }
.card__link:hover { text-decoration: none; gap: .6em; }

/* Path cards (Home Care vs DDD) */
.path { position: relative; border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 38px); color: #fff; overflow: hidden; box-shadow: var(--shadow); }
.path--care { background: linear-gradient(150deg, var(--green-600), var(--green-700)); }
.path--ddd { background: linear-gradient(150deg, var(--blue), var(--blue-700)); }
.path h3 { color: #fff; font-size: 1.6rem; }
.path p { color: rgba(255,255,255,.92); }
.path ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.path li { display: flex; gap: .6em; align-items: flex-start; color: #fff; font-weight: 600; }
.path li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.path .tag { display: inline-block; background: rgba(255,255,255,.2); border-radius: 999px; padding: .35em .9em; font-weight: 800; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1rem; }

/* Feature list (why choose us) */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .ico { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--bg-mint); }
.feature .ico svg { width: 26px; height: 26px; color: var(--green-700); }
.feature h3 { font-size: 1.14rem; margin-bottom: .3rem; }
.feature p { font-size: .96rem; margin: 0; }

/* Simple service chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-flex; align-items: center; gap: .5em; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .6em 1.1em; font-weight: 700; color: var(--navy); box-shadow: var(--shadow-sm); }
.chip svg { width: 18px; height: 18px; color: var(--green-600); }

/* ----------------------------------------------------------- Testimonials */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.7rem 1.6rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; height: 100%; }
.quote .stars { color: #f5b301; font-size: 1.05rem; letter-spacing: 2px; margin-bottom: .6rem; }
.quote blockquote { margin: 0 0 1rem; font-size: 1.03rem; color: var(--ink); font-weight: 600; line-height: 1.55; }
.quote .who { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.quote .avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--blue)); color: #fff; display: grid; place-items: center; font-weight: 800; }
.quote .who strong { display: block; color: var(--navy); font-size: .95rem; }
.quote .who span { font-size: .82rem; color: var(--muted); }

/* ------------------------------------------------------------- CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-800)); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(141,198,63,.25), transparent 45%), radial-gradient(circle at 85% 80%, rgba(0,174,239,.28), transparent 45%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 620px; margin-inline: auto; }
.cta-band .btn-row { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* Phone highlight */
.phone-hl { display: inline-flex; align-items: center; gap: .5em; font-weight: 900; color: var(--green); font-size: 1.4rem; }
.phone-hl svg { width: 24px; height: 24px; }

/* --------------------------------------------------------- Page header */
.pagehead { background: linear-gradient(160deg, var(--navy), var(--navy-800)); color: #fff; padding: clamp(48px, 7vw, 80px) 0 clamp(40px,6vw,64px); position: relative; overflow: hidden; }
.pagehead::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(0,174,239,.25), transparent 70%); }
.pagehead h1 { color: #fff; position: relative; }
.pagehead p { color: rgba(255,255,255,.88); max-width: 640px; position: relative; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; position: relative; }
.crumbs a { color: rgba(255,255,255,.9); }

/* Split content */
.split { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 4vw, 52px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.sidebar-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; position: sticky; top: 100px; }
.sidebar-card h3 { font-size: 1.15rem; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: .6em; align-items: flex-start; margin-bottom: .7rem; font-weight: 600; color: var(--ink); }
.checklist li svg { width: 20px; height: 20px; flex: none; color: var(--green-600); margin-top: 3px; }
.prose h2 { margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.media-band { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.media-band img { width: 100%; object-fit: cover; }

/* --------------------------------------------------------------- Footer */
.footer { background: var(--navy-800); color: #b9cad2; padding: clamp(48px, 6vw, 72px) 0 0; font-size: .95rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; letter-spacing: .02em; }
.footer a { color: #cddde4; }
.footer a:hover { color: var(--green); text-decoration: none; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(24px, 4vw, 48px); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img { width: 52px; height: 52px; border-radius: 12px; margin-bottom: .8rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .55rem; }
.footer__contact li { display: flex; gap: .6em; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; flex: none; color: var(--green); margin-top: 3px; }
.footer__map { border: 0; width: 100%; height: 200px; border-radius: 14px; margin-top: .5rem; filter: grayscale(.2); }
.service-area { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 1rem 1.2rem; margin-top: 1rem; font-size: .9rem; line-height: 1.6; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: clamp(32px,5vw,52px); padding: 1.3rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .86rem; color: #8ba3ad; }
.footer__bottom a { color: #8ba3ad; }

/* Floating mobile call button */
.floatcall { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: none; align-items: center; gap: .5em; background: var(--green); color: #14320a; font-weight: 800; padding: .9em 1.2em; border-radius: 999px; box-shadow: var(--shadow-lg); }
.floatcall svg { width: 20px; height: 20px; }
.floatcall:hover { text-decoration: none; color: #14320a; }
@media (max-width: 980px) { .floatcall { display: inline-flex; } }

/* Utility */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
.text-muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* =========================================================================
   v2 COMPONENTS — stats, process, promise, FAQ, illustrations, chat, policy
   ========================================================================= */

/* Stats / impact band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 32px); }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 1.2rem .5rem; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 900; line-height: 1; color: var(--green); letter-spacing: -.02em; }
.section--navy .stat b { color: var(--green); }
.stat span { display: block; margin-top: .5rem; font-weight: 700; color: rgba(255,255,255,.85); font-size: .95rem; }
.section:not(.section--navy) .stat b { color: var(--green-700); }
.section:not(.section--navy) .stat span { color: var(--body); }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 34px); counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.2rem 1.5rem 1.6rem; box-shadow: var(--shadow-sm); }
.step__num { position: absolute; top: -22px; left: 1.5rem; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--green-700)); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; box-shadow: 0 6px 16px rgba(141,198,63,.4); }
.step:nth-child(2) .step__num { background: linear-gradient(135deg, var(--blue), var(--blue-700)); box-shadow: 0 6px 16px rgba(0,174,239,.4); }
.step:nth-child(3) .step__num { background: linear-gradient(135deg, #f5b301, #e08a00); box-shadow: 0 6px 16px rgba(245,179,1,.4); }
.step h3 { margin-top: .4rem; }

/* Promise / guarantee cards */
.promise { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 14px; padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm); }
.promise svg { width: 26px; height: 26px; color: var(--green-600); flex: none; margin-top: 2px; }
.promise h3 { font-size: 1.08rem; margin-bottom: .25rem; }
.promise p { font-size: .93rem; margin: 0; }

/* FAQ accordion */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: .8rem; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font-weight: 800; color: var(--navy); font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--green-600); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: var(--green-700); }
.faq .faq__a { padding: 0 1.3rem 1.2rem; color: var(--body); }
.faq .faq__a p { margin: 0; }

/* Illustration blob */
.illus { position: relative; }
.illus svg { width: 100%; height: auto; display: block; }
.illus-badge { position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: .8rem 1rem; display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--navy); font-size: .92rem; }
.illus-badge svg { width: 30px; height: 30px; color: var(--green-600); flex: none; }
.illus-badge.tl { top: 6%; left: -4%; }
.illus-badge.br { bottom: 8%; right: -4%; }
@media (max-width: 600px) { .illus-badge { display: none; } }

/* Photo strip / gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-sm); }

/* Policy / legal page */
.policy { max-width: 820px; margin-inline: auto; }
.policy h2 { margin-top: 2.2rem; padding-top: .4rem; }
.policy .toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem 1.4rem; margin-bottom: 2rem; }
.policy .toc ul { columns: 2; margin: .5rem 0 0; }
@media (max-width: 600px) { .policy .toc ul { columns: 1; } }
.rights-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; margin: 1.5rem 0; }
@media (max-width: 640px) { .rights-grid { grid-template-columns: 1fr; } }
.right-item { display: flex; gap: .7rem; background: var(--bg-mint); border-radius: 12px; padding: 1rem 1.1rem; }
.right-item svg { width: 22px; height: 22px; color: var(--green-700); flex: none; margin-top: 2px; }
.right-item strong { color: var(--navy); }

/* ------------------------------------------------------------- Chat widget */
.chat-launch { position: fixed; right: 18px; bottom: 18px; z-index: 95; display: inline-flex; align-items: center; gap: .55em; background: linear-gradient(135deg, var(--green), var(--green-700)); color: #fff; font-weight: 800; padding: .85em 1.25em; border: none; border-radius: 999px; box-shadow: var(--shadow-lg); cursor: pointer; font-family: inherit; font-size: 1rem; transition: transform .15s; }
.chat-launch:hover { transform: translateY(-2px); }
.chat-launch svg { width: 22px; height: 22px; }
.chat-launch .dot { position: absolute; top: -3px; right: -3px; width: 14px; height: 14px; background: #ff4d4f; border: 2px solid #fff; border-radius: 50%; }
@media (max-width: 980px) { .chat-launch { bottom: 84px; } } /* clear the floating Call button */

.chat-panel { position: fixed; right: 18px; bottom: 18px; z-index: 96; width: min(380px, calc(100vw - 36px)); height: min(620px, calc(100vh - 36px)); background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); display: none; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.chat-panel.open { display: flex; animation: chatpop .18s ease; }
@keyframes chatpop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.chat-head { background: linear-gradient(135deg, var(--navy), var(--navy-800)); color: #fff; padding: 1rem 1.1rem; display: flex; align-items: center; gap: .7rem; }
.chat-head .ava { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--blue)); display: grid; place-items: center; flex: none; }
.chat-head .ava svg { width: 24px; height: 24px; color: #fff; }
.chat-head b { display: block; font-size: 1rem; }
.chat-head span { font-size: .78rem; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: .35em; }
.chat-head span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; display: inline-block; }
.chat-head .x { margin-left: auto; background: rgba(255,255,255,.15); border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.chat-body { flex: 1; overflow-y: auto; padding: 1.1rem; background: var(--bg-soft); display: flex; flex-direction: column; gap: .7rem; }
.msg { max-width: 85%; padding: .7rem .9rem; border-radius: 16px; font-size: .95rem; line-height: 1.5; }
.msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; color: var(--ink); }
.msg.user { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg a { color: inherit; font-weight: 800; text-decoration: underline; }
.chat-quick { display: flex; flex-wrap: wrap; gap: .5rem; padding: .3rem 1.1rem .2rem; }
.chat-quick button { background: #fff; border: 1.5px solid var(--green); color: var(--green-700); font-weight: 700; font-size: .85rem; padding: .5em .9em; border-radius: 999px; cursor: pointer; font-family: inherit; transition: .15s; }
.chat-quick button:hover { background: var(--green); color: #fff; }
.chat-esc { display: flex; gap: .5rem; padding: .5rem 1.1rem; border-top: 1px solid var(--line); background: #fff; }
.chat-esc a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .35em; font-weight: 800; font-size: .82rem; padding: .6em .4em; border-radius: 10px; text-decoration: none; }
.chat-esc svg { width: 16px; height: 16px; }
.chat-esc .call { background: var(--bg-mint); color: var(--green-700); }
.chat-esc .sms { background: var(--bg-sky); color: var(--blue-700); }
.chat-esc .wa { background: #e7f8ee; color: #128c4b; }
.chat-esc a:hover { filter: brightness(.96); text-decoration: none; }
.chat-foot { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--line); background: #fff; }
.chat-foot input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: .65em 1em; font: inherit; font-size: .95rem; }
.chat-foot input:focus { outline: none; border-color: var(--blue); }
.chat-foot button { background: var(--green); border: none; color: #14320a; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; flex: none; }
.chat-foot button svg { width: 20px; height: 20px; }
.chat-note { font-size: .68rem; color: var(--muted); text-align: center; padding: 0 1.1rem .6rem; background: #fff; }

/* =========================================================================
   v3 — Hero slideshow, scroll-reveal & care animations
   ========================================================================= */

/* Auto-scrolling welcome slideshow — <img>-based for reliable mobile rendering */
.hero-slider { position: relative; min-height: min(90vh, 780px); display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1.4s ease-in-out; }
.hero-slide.is-active { opacity: 1; animation: kenburns 8s ease-out both; }
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.14); } }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(115deg, rgba(11,44,59,.86) 0%, rgba(15,58,77,.66) 45%, rgba(0,111,153,.42) 100%); }
/* Phone/tablet: identical treatment to desktop (same crossfade + overlay). Only the
   height is tuned to the mobile viewport so the hero fills the screen cleanly. */
@media (max-width: 820px) {
  .hero-slider { min-height: 88vh; min-height: 88svh; }
}
.hero-content { position: relative; z-index: 2; color: #fff; padding-block: clamp(48px, 8vw, 96px); max-width: 840px; }
.hero-content h1 { color: #fff; font-size: clamp(2.3rem, 5.6vw, 3.8rem); text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero-content h1 span { color: var(--green); }
.hero-content .lead { color: rgba(255,255,255,.94); font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 680px; }
.eyebrow--onhero { background: rgba(255,255,255,.16); color: #fff; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hero-content .hero__badges { margin: 1.4rem 0 1.7rem; }
.hero-content .pill { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.32); color: #fff; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.hero-content .pill svg { color: var(--green); }
.hero-dots { position: absolute; z-index: 3; bottom: 20px; left: 0; right: 0; display: flex; gap: .5rem; justify-content: center; }
.hero-dots button { width: 11px; height: 11px; padding: 0; border: none; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: .25s; }
.hero-dots button.active { background: var(--green); width: 28px; border-radius: 6px; }

/* Scroll-reveal entrance */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.in > * { animation: none; }
/* stagger children of a revealed grid */
.reveal.in > *:nth-child(2) { transition-delay: .06s; }
.reveal.in > *:nth-child(3) { transition-delay: .12s; }
.reveal.in > *:nth-child(4) { transition-delay: .18s; }

/* Floating care illustration + heartbeat */
.illus--float img { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.pulse-heart { display: inline-grid; place-items: center; }
.pulse-heart svg { animation: heartbeat 2.4s ease-in-out infinite; transform-origin: center; }
@keyframes heartbeat { 0%,100% { transform: scale(1); } 10% { transform: scale(1.18); } 20% { transform: scale(1); } 30% { transform: scale(1.12); } 40% { transform: scale(1); } }

/* Gentle icon float on feature/trust tiles */
.feature .ico svg, .trust-badge .ico svg { transition: transform .3s ease; }
.feature:hover .ico svg, .trust-badge:hover .ico svg { transform: scale(1.15) rotate(-4deg); }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-slide.is-active { animation: none; }
  .illus--float img, .pulse-heart svg { animation: none; }
}

/* Language switcher */
.lang-switch { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: .35em; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: .5em .8em; font: inherit; font-weight: 800; font-size: .9rem; color: var(--navy); cursor: pointer; }
.lang-btn svg { width: 18px; height: 18px; color: var(--green-600); }
.lang-btn:hover { border-color: var(--blue); }
.lang-menu { position: absolute; top: calc(100% + 6px); right: 0; width: max-content; max-width: 320px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: .4rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s ease; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; max-height: min(70vh, 460px); overflow-y: auto; }
.lang-switch.open .lang-menu, .lang-switch:hover .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: block; padding: .5em .8em; border-radius: 8px; font-weight: 700; font-size: .9rem; color: var(--ink); white-space: nowrap; }
.lang-menu a:hover { background: var(--bg-soft); text-decoration: none; }
.lang-menu a.active { color: var(--green-700); background: var(--bg-mint); }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
@media (max-width: 560px) { .lang-btn .lang-cur { display: none; } .lang-btn { padding: .5em; } }

/* RTL support (Arabic, etc.) */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .checklist li, [dir="rtl"] .path li, [dir="rtl"] .feature, [dir="rtl"] .promise, [dir="rtl"] .footer__contact li { flex-direction: row-reverse; }
[dir="rtl"] .nav__links { margin-left: 0; margin-right: auto; }
