/* ==========================================================================
   XTROWS DXP — Design System
   Premium enterprise: restrained palette, generous space, motion on state
   change only. See Master Architecture Section 12.
   ========================================================================== */

/* Self-hosted Inter (variable). Paths are relative to this CSS file, so they
   resolve from any page depth. No Google Fonts dependency — works on
   restricted government/education networks. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* ---- Brand ---- */
  --accent: 21 128 61;        /* green-700 — matches XTROWS logo mark */
  --accent-dark: 22 101 52;   /* green-800 */
  --accent-light: 220 252 231;/* green-100 */
  --cta: 245 158 11;          /* amber-500 */
  --cta-dark: 217 119 6;      /* amber-600 */
  --success: 22 163 74;
  --danger: 220 38 38;

  /* ---- Light mode surfaces ---- */
  --bg: 247 248 250;
  --surface: 255 255 255;
  --surface-2: 241 245 249;
  --ink: 15 23 42;
  --ink-soft: 71 85 105;
  --ink-faint: 100 116 139;
  --border: 226 232 240;
  --hero-bg: 7 20 13;
  --hero-ink: 255 255 255;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 1px rgba(15,23,42,.04);
  --shadow-md: 0 8px 24px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.04);
  --shadow-lg: 0 20px 48px rgba(15,23,42,.14), 0 4px 12px rgba(15,23,42,.06);
  --maxw: 1240px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}

html[data-theme="dark"] {
  --bg: 10 14 23;
  --surface: 17 24 39;
  --surface-2: 24 33 51;
  --ink: 241 245 249;
  --ink-soft: 203 213 225;
  --ink-faint: 148 163 184;
  --border: 39 49 68;
  --hero-bg: 5 8 15;
  --hero-ink: 255 255 255;
  --shadow-md: 0 8px 24px rgba(0,0,0,.35);
  --shadow-lg: 0 20px 48px rgba(0,0,0,.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: rgb(var(--bg));
  color: rgb(var(--ink));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background .25s ease, color .25s ease;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: rgb(var(--ink-soft)); }
ul, ol { color: rgb(var(--ink-soft)); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
.section-tight { padding: 40px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: rgb(var(--accent)); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: rgb(var(--cta)); border-radius: 2px; }
.lede { font-size: 1.15rem; color: rgb(var(--ink-soft)); max-width: 62ch; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: rgb(var(--cta)); color: #1a1300; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: rgb(var(--cta-dark)); box-shadow: var(--shadow-md); }
.btn-dark { background: rgb(var(--ink)); color: rgb(var(--bg)); }
.btn-outline { background: transparent; border-color: rgb(var(--border)); color: rgb(var(--ink)); }
.btn-outline:hover { border-color: rgb(var(--accent)); color: rgb(var(--accent)); }
.btn-ghost { background: rgba(var(--accent),.08); color: rgb(var(--accent)); }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---- Header / Nav ---- */
.utility-bar {
  background: rgb(var(--surface-2)); border-bottom: 1px solid rgb(var(--border));
  font-size: .8rem;
}
.utility-bar .container { display: flex; justify-content: flex-end; align-items: center; gap: 20px; height: 36px; }
.utility-bar a, .utility-bar button { color: rgb(var(--ink-faint)); background: none; border: none; cursor: pointer; font: inherit; display: flex; align-items: center; gap: 5px; }
.utility-bar a:hover, .utility-bar button:hover { color: rgb(var(--accent)); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(var(--surface), .88); backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgb(var(--border));
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.logo .mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, rgb(var(--accent)), rgb(var(--cta)));
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: .95rem;
}
.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav > li { position: relative; list-style: none; }
.primary-nav > li > a, .primary-nav > li > button {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 8px;
  font-weight: 600; font-size: .92rem; background: none; border: none; color: rgb(var(--ink)); cursor: pointer; font-family: inherit;
}
.primary-nav > li > a:hover, .primary-nav > li > button:hover { background: rgb(var(--surface-2)); }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }

.mega {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 680px;
  background: rgb(var(--surface)); border: 1px solid rgb(var(--border)); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 26px; display: none; grid-template-columns: repeat(3, 1fr); gap: 22px 28px;
}
.mega.mega-narrow { min-width: 340px; grid-template-columns: 1fr; }
li.has-mega:hover .mega, li.has-mega:focus-within .mega { display: grid; }
.mega h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: rgb(var(--ink-faint)); margin-bottom: 10px; }
.mega a.mega-link { display: block; padding: 6px 0; font-size: .9rem; font-weight: 600; color: rgb(var(--ink)); border-radius: 6px; }
.mega a.mega-link:hover { color: rgb(var(--accent)); }
.mega .mega-desc { font-size: .78rem; color: rgb(var(--ink-faint)); font-weight: 400; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 999px; border: 1px solid rgb(var(--border));
  background: rgb(var(--surface)); display: flex; align-items: center; justify-content: center; cursor: pointer; color: rgb(var(--ink));
}
.icon-btn:hover { border-color: rgb(var(--accent)); color: rgb(var(--accent)); }
.nav-toggle { display: none; }

/* ---- Breadcrumb ---- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: rgb(var(--ink-faint)); padding: 18px 0; }
.breadcrumb a { color: rgb(var(--ink-faint)); }
.breadcrumb a:hover { color: rgb(var(--accent)); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: rgb(var(--ink)); font-weight: 600; }

/* ---- Hero ---- */
.hero { background: radial-gradient(1200px 500px at 80% -10%, rgba(76,175,80,.30), transparent), rgb(var(--hero-bg)); color: rgb(var(--hero-ink)); padding: 92px 0 88px; }
.hero p, .hero .lede { color: rgba(255,255,255,.72); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .02em; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.16);
}
.hero .cta-row { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* ---- AI advisor prompt card ---- */
.ai-card {
  background: rgb(var(--surface)); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg);
  color: rgb(var(--ink)); border: 1px solid rgb(var(--border));
}
.ai-card .ai-tag { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 14px; color: rgb(var(--accent)); }
.ai-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.chip {
  padding: 8px 14px; border-radius: 999px; border: 1px solid rgb(var(--border)); font-size: .82rem; font-weight: 600;
  background: rgb(var(--surface-2)); cursor: pointer; color: rgb(var(--ink));
}
.chip:hover { border-color: rgb(var(--accent)); color: rgb(var(--accent)); }
.ai-input-row { display: flex; gap: 8px; margin-top: 16px; }
.ai-input-row input {
  flex: 1; padding: 13px 16px; border-radius: 12px; border: 1px solid rgb(var(--border)); background: rgb(var(--surface-2)); color: rgb(var(--ink)); font: inherit;
}

/* ---- Grids / Cards ---- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: rgb(var(--surface)); border: 1px solid rgb(var(--border)); border-radius: var(--radius-md);
  padding: 24px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(var(--accent),.35); }
.card h3 { margin-bottom: 8px; font-size: 1.08rem; }
.card p { font-size: .9rem; margin-bottom: 12px; }
.card .card-link { font-size: .85rem; font-weight: 700; color: rgb(var(--accent)); }

.icon-tile {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(var(--accent), .1); color: rgb(var(--accent)); margin-bottom: 16px;
}

/* ---- Media placeholder (no real photography yet) ---- */
.media-ph {
  border-radius: var(--radius-md); overflow: hidden; position: relative; aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(var(--accent),.16), rgba(var(--cta),.14));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  border: 1px dashed rgba(var(--accent),.4); color: rgb(var(--accent)); text-align: center; padding: 20px;
}
.media-ph.wide { aspect-ratio: 16/9; }
.media-ph .ph-icon { width: 54px; height: 54px; opacity: .85; }
.media-ph .ph-label { font-size: .78rem; font-weight: 700; color: rgb(var(--ink-faint)); max-width: 220px; }

/* ---- Section header ---- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head .lede { margin: 0; }

/* ---- Trust / badge strip ---- */
.trust-strip { background: rgb(var(--surface-2)); border-top: 1px solid rgb(var(--border)); border-bottom: 1px solid rgb(var(--border)); }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding: 22px 24px; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-badges span {
  font-size: .76rem; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: rgb(var(--surface)); border: 1px solid rgb(var(--border)); color: rgb(var(--ink-soft));
}

/* ---- Stats ---- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-grid strong { display: block; font-size: 2.1rem; font-weight: 800; color: rgb(var(--accent)); }
.stat-grid span { font-size: .84rem; color: rgb(var(--ink-faint)); }

/* ---- Tables ---- */
table { width: 100%; border-collapse: collapse; background: rgb(var(--surface)); border-radius: var(--radius-md); overflow: hidden; }
table.spec-table th, table.spec-table td { border-bottom: 1px solid rgb(var(--border)); padding: 13px 16px; text-align: left; font-size: .9rem; }
table.spec-table th { width: 34%; color: rgb(var(--ink-faint)); font-weight: 600; background: rgb(var(--surface-2)); }
table.compare-table { border: 1px solid rgb(var(--border)); }
table.compare-table th, table.compare-table td { border: 1px solid rgb(var(--border)); padding: 14px 16px; text-align: left; font-size: .88rem; vertical-align: top; }
table.compare-table thead th { background: rgb(var(--surface-2)); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: rgb(var(--ink-faint)); }
table.compare-table td.yes { color: rgb(var(--success)); font-weight: 700; }
table.compare-table td.no { color: rgb(var(--ink-faint)); }

/* ---- Tabs ---- */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid rgb(var(--border)); margin-bottom: 28px; overflow-x: auto; }
.tab-btn { padding: 12px 18px; font-weight: 600; font-size: .88rem; background: none; border: none; cursor: pointer; color: rgb(var(--ink-faint)); border-bottom: 2px solid transparent; white-space: nowrap; font-family: inherit; }
.tab-btn.active { color: rgb(var(--accent)); border-color: rgb(var(--accent)); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---- Accordion (FAQ) ---- */
.accordion-item { border-bottom: 1px solid rgb(var(--border)); }
.accordion-trigger {
  width: 100%; text-align: left; padding: 18px 4px; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: .98rem; color: rgb(var(--ink)); font-family: inherit;
}
.accordion-trigger .plus { transition: transform .2s ease; color: rgb(var(--accent)); font-size: 1.3rem; }
.accordion-item.open .plus { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.accordion-panel p { padding: 0 4px 18px; }

/* ---- Badges / pills ---- */
.pill { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: rgba(var(--accent),.1); color: rgb(var(--accent)); }
.pill-cta { background: rgba(var(--cta),.14); color: rgb(var(--cta-dark)); }
.pill-outline { border: 1px solid rgb(var(--border)); color: rgb(var(--ink-faint)); background: none; }

/* ---- Filter sidebar (download centre) ---- */
.filter-layout { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: start; }
.filter-box { background: rgb(var(--surface)); border: 1px solid rgb(var(--border)); border-radius: var(--radius-md); padding: 22px; position: sticky; top: 96px; }
.filter-box h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: rgb(var(--ink-faint)); margin: 18px 0 10px; }
.filter-box h4:first-child { margin-top: 0; }
.filter-box label { display: flex; align-items: center; gap: 8px; font-size: .87rem; padding: 5px 0; color: rgb(var(--ink-soft)); }
.download-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px;
  border: 1px solid rgb(var(--border)); border-radius: var(--radius-sm); margin-bottom: 10px; background: rgb(var(--surface));
}
.download-row .dl-meta { display: flex; align-items: center; gap: 14px; }
.download-row .dl-icon { width: 38px; height: 38px; border-radius: 8px; background: rgba(var(--accent),.1); color: rgb(var(--accent)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.download-row strong { font-size: .92rem; }
.download-row small { color: rgb(var(--ink-faint)); font-size: .78rem; }

/* ---- Portal role cards ---- */
.role-card { border: 1px solid rgb(var(--border)); border-radius: var(--radius-md); padding: 26px; background: rgb(var(--surface)); }
.role-card ul { padding-left: 18px; font-size: .87rem; margin: 12px 0 16px; }
.role-card li { margin-bottom: 4px; }

/* ---- Forms ---- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 7px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgb(var(--border)); background: rgb(var(--surface)); color: rgb(var(--ink)); font: inherit;
}
.form-field textarea { min-height: 110px; resize: vertical; }

/* ---- CTA banner ---- */
.cta-banner {
  background: linear-gradient(120deg, rgb(var(--accent)), rgb(var(--accent-dark)));
  border-radius: var(--radius-lg); padding: 56px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-banner h2 { margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,.82); margin: 0; }

/* ---- Footer ---- */
.site-footer { background: rgb(var(--hero-bg)); color: rgba(255,255,255,.7); padding: 64px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 30px; }
.footer-grid h5 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-grid a { display: block; padding: 5px 0; font-size: .87rem; color: rgba(255,255,255,.62); }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 46px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: .8rem; color: rgba(255,255,255,.5); }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-badges span { font-size: .72rem; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }

/* ---- Modal (AI Advisor) ---- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(5,8,15,.6); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; z-index: 300; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box { background: rgb(var(--surface)); border-radius: var(--radius-lg); max-width: 560px; width: 100%; padding: 30px; box-shadow: var(--shadow-lg); max-height: 86vh; overflow-y: auto; }
.modal-box .modal-close { float: right; background: none; border: none; font-size: 1.3rem; cursor: pointer; color: rgb(var(--ink-faint)); }
.ai-msg { padding: 12px 16px; border-radius: 12px; background: rgb(var(--surface-2)); margin-bottom: 12px; font-size: .9rem; }
.ai-msg.from-user { background: rgba(var(--accent),.12); margin-left: 20%; }

/* ---- Timeline (roadmap-style) ---- */
.timeline { position: relative; padding-left: 30px; border-left: 2px solid rgb(var(--border)); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item::before { content: ""; position: absolute; left: -37px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: rgb(var(--accent)); border: 3px solid rgb(var(--bg)); }

/* ---- Utilities ---- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-faint { color: rgb(var(--ink-faint)); }
.flex { display: flex; }
.gap-3 { gap: 12px; }
.items-center { align-items: center; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3,1fr); }
  .filter-layout { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .hero { padding: 60px 0; }
  section { padding: 52px 0; }
  .cta-banner { padding: 34px; flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Round 2 additions: social, FAB, sticky mobile CTA, OTP gate, gallery,
   testimonials, map, FAQ-everywhere
   ========================================================================== */

/* ---- Footer social row ---- */
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 999px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; color: #fff;
}
.social-row a:hover { background: rgb(var(--accent)); border-color: rgb(var(--accent)); }

/* ---- Floating action buttons ---- */
.fab-stack { position: fixed; right: 22px; bottom: 22px; z-index: 250; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab {
  width: 56px; height: 56px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); cursor: pointer; border: none; color: #fff; position: relative;
}
.fab-whatsapp { background: #25D366; }
.fab-chat { background: rgb(var(--accent)); }
.fab-tooltip {
  position: absolute; right: 66px; top: 50%; transform: translateY(-50%); background: rgb(var(--ink)); color: rgb(var(--bg));
  padding: 6px 12px; border-radius: 8px; font-size: .78rem; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s ease;
}
.fab:hover .fab-tooltip { opacity: 1; }

/* ---- Sticky mobile CTA bar ---- */
.mobile-cta-bar { display: none; }
@media (max-width: 720px) {
  .mobile-cta-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 240;
    background: rgb(var(--surface)); border-top: 1px solid rgb(var(--border)); box-shadow: 0 -6px 20px rgba(0,0,0,.08);
  }
  .mobile-cta-bar a { flex: 1; text-align: center; padding: 14px 6px; font-weight: 700; font-size: .82rem; border-right: 1px solid rgb(var(--border)); display: flex; flex-direction: column; align-items: center; gap: 3px; }
  .mobile-cta-bar a:last-child { border-right: none; }
  .fab-stack { bottom: 78px; right: 16px; }
  body { padding-bottom: 62px; }
}

/* ---- OTP / verification modal ---- */
.verify-step { display: none; }
.verify-step.active { display: block; }
.otp-row { display: flex; gap: 10px; margin: 18px 0; }
.otp-row input {
  width: 46px; height: 54px; text-align: center; font-size: 1.3rem; font-weight: 700; border-radius: 10px;
  border: 1px solid rgb(var(--border)); background: rgb(var(--surface-2)); color: rgb(var(--ink));
}
.verify-channel { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: rgb(var(--surface-2)); margin-bottom: 10px; font-size: .87rem; }
.verify-channel svg { color: rgb(var(--success)); flex-shrink: 0; }
.progress-dots { display: flex; gap: 6px; margin-bottom: 20px; }
.progress-dots span { height: 4px; flex: 1; border-radius: 4px; background: rgb(var(--border)); }
.progress-dots span.done { background: rgb(var(--accent)); }

/* ---- Installation gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid .media-ph { aspect-ratio: 1; }
@media (max-width: 720px) { .gallery-grid { grid-template-columns: repeat(2,1fr); } }

/* ---- Testimonials ---- */
.testimonial-card { background: rgb(var(--surface)); border: 1px solid rgb(var(--border)); border-radius: var(--radius-md); padding: 26px; }
.testimonial-card .stars { color: rgb(var(--cta)); font-size: .9rem; margin-bottom: 10px; letter-spacing: 2px; }
.testimonial-card p { font-style: italic; }
.testimonial-card .who { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.testimonial-card .who .avatar { width: 40px; height: 40px; border-radius: 999px; background: rgba(var(--accent),.14); color: rgb(var(--accent)); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.sample-tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: rgb(var(--ink-faint)); font-weight: 700; }

/* ---- Map ---- */
.map-wrap { border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgb(var(--border)); }
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---- Content roadmap callout ---- */
.roadmap-note { border: 1px dashed rgba(var(--accent),.4); border-radius: var(--radius-md); padding: 20px 22px; background: rgba(var(--accent),.05); font-size: .87rem; }


/* ---- Logo image (replacing placeholder mark) ---- */
.logo-img { height: 38px; width: auto; display: block; }
.logo-img-footer { height: 42px; filter: brightness(1.55) saturate(1.15); }
