/* =============================================================
   Leading Edge Solar - website styles
   Plain CSS, no build step. Colours follow the logo:
   blue panels + green leaves.
   ============================================================= */

:root {
  --navy: #0a1a3a;
  --navy-2: #102552;
  --blue: #1f4fd1;
  --blue-2: #3b82f6;
  --sky: #7cc4ff;
  --green: #1f9d4a;
  --green-2: #4cc35a;
  --lime: #9be15d;
  --sun: #fbbf24;

  --ink: #0f172a;
  --text: #1e293b;
  --muted: #5b6b82;
  --line: #e3e8f0;
  --bg: #f6f8fb;
  --surface: #ffffff;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 24px 60px rgba(10, 26, 58, .18);
  --wrap: 1180px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 .98rem/1 var(--font); cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none !important; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: linear-gradient(135deg, var(--green), var(--green-2)); color: #fff; box-shadow: 0 8px 20px rgba(31, 157, 74, .28); }
.btn-primary:hover { box-shadow: 0 12px 26px rgba(31, 157, 74, .36); }
.btn-blue { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 8px 20px rgba(31, 79, 209, .25); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue-2); }
.btn-wa { background: #25d366; color: #073b1c; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }

/* ---------------- header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(15, 23, 42, .05); }
.nav { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.brand-name span { color: var(--green); }
.brand-sub { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--text); font-weight: 600; font-size: .95rem; text-decoration: none;
}
.nav-links a:hover { background: var(--bg); }
.nav-links a[aria-current="page"] { color: var(--blue); background: #eef3ff; }
.nav-cta { display: flex; gap: 10px; }

.menu-btn {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .2s;
}
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.nav-open .menu-btn span { background: transparent; }
.nav-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.nav-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .nav-links, .nav-cta { display: none; }
  .nav-open .mobile-menu { display: block; }
}
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; padding: 12px 20px 22px; }
.mobile-menu a { display: block; padding: 12px 4px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu a[aria-current="page"] { color: var(--blue); }
.mobile-menu .btn { width: 100%; margin-top: 12px; border-bottom: 0; }

/* ---------------- hero ---------------- */
.hero {
  position: relative; overflow: hidden; color: #dbe6ff;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(76, 195, 90, .28), transparent 60%),
    radial-gradient(800px 600px at -10% 110%, rgba(59, 130, 246, .35), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--lime), var(--green-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 88px 0 96px; }
.hero .lead { font-size: 1.2rem; color: #c6d4f3; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; font-size: .95rem; color: #c6d4f3; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--lime); flex: none; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(155, 225, 93, .12); color: var(--lime); border: 1px solid rgba(155, 225, 93, .3);
}
.eyebrow.dark { background: #eaf7ee; color: var(--green); border-color: #cdebd6; }

.page-hero { padding: 72px 0 64px; }
.page-hero .lead { max-width: 40em; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 64px; }
}

/* hero illustration card */
.hero-card {
  position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px; padding: 22px; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}
.hero-card .hc-top { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: #aebfe6; margin-bottom: 10px; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; color: var(--lime); font-weight: 700; }
.live-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(155,225,93,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(155,225,93,.6); } 70% { box-shadow: 0 0 0 10px rgba(155,225,93,0); } 100% { box-shadow: 0 0 0 0 rgba(155,225,93,0); } }
.flow-svg { width: 100%; height: auto; }
.flow-line { stroke-dasharray: 6 8; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.hc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.hc-stat { background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px 12px; }
.hc-stat b { display: block; color: #fff; font-size: 1.15rem; }
.hc-stat span { font-size: .75rem; color: #aebfe6; }
@media (prefers-reduced-motion: reduce) { .flow-line, .live-dot::before { animation: none; } html { scroll-behavior: auto; } }

/* ---------------- sections ---------------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg); }
.section.tight { padding: 64px 0; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head.left { margin-left: 0; text-align: left; }
@media (max-width: 700px) { .section { padding: 64px 0; } .section-head { margin-bottom: 36px; } }

.grid { display: grid; gap: 22px; }
.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: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15,23,42,.05), 0 18px 40px rgba(15,23,42,.09); }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, #e8f0ff, #eaf7ee); color: var(--blue);
}
.icon svg { width: 26px; height: 26px; }
.icon.green { color: var(--green); }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.reverse > :first-child { order: 0; } }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--green); }

/* system type cards */
.type-card { position: relative; overflow: hidden; }
.type-card .tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: #eef3ff; color: var(--blue); margin-bottom: 12px; }
.type-card.best { border: 2px solid var(--green-2); }
.type-card.best .tag { background: #eaf7ee; color: var(--green); }
.type-card ul { margin: 16px 0 0; padding-left: 0; list-style: none; display: grid; gap: 8px; color: var(--text); font-size: .95rem; }
.type-card li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 8px; }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 16px;
}
.step p { color: var(--muted); margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats b { display: block; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.stats span { color: var(--muted); font-size: .95rem; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; } }

/* image panel */
.photo-panel { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: #dbe4f3; }
.photo-panel img { width: 100%; height: 100%; object-fit: cover; }

/* call to action band */
.cta-band {
  border-radius: 28px; padding: 56px; color: #dbe6ff; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(76,195,90,.35), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--blue));
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #c6d4f3; font-size: 1.08rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 36px 26px; } .cta-band .actions { justify-content: flex-start; } }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* pricing */
.price-card { text-align: left; }
.price { font-size: 2.4rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; margin: 10px 0 4px; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }

/* logos / brands */
.brands { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.brand-chip { padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 700; color: var(--muted); font-size: .95rem; }

/* ---------------- projects gallery ---------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .project-grid { grid-template-columns: 1fr; } }
.project {
  display: block; width: 100%; text-align: left; padding: 0; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; font: inherit; color: inherit;
}
.project:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15,23,42,.12); }
.project .thumb { aspect-ratio: 4 / 3; background: #dbe4f3; overflow: hidden; position: relative; }
.project .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project:hover .thumb img { transform: scale(1.04); }
.project .count {
  position: absolute; right: 12px; bottom: 12px; background: rgba(10,26,58,.78); color: #fff;
  font-size: .8rem; font-weight: 700; padding: 5px 10px; border-radius: 999px;
}
.project .meta { padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.project .meta b { color: var(--ink); }
.project .meta span { color: var(--muted); font-size: .88rem; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 12, 28, .94); display: none; flex-direction: column; }
.lightbox.open { display: flex; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; color: #dbe6ff; }
.lb-bar b { color: #fff; }
.lb-stage { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; padding: 0 70px; min-height: 0; }
.lb-stage img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 10px; }
.lb-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.4rem; display: grid; place-items: center;
}
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 14px 20px 20px; justify-content: center; }
.lb-thumbs button { flex: none; width: 72px; height: 54px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; opacity: .6; background: #223; }
.lb-thumbs button.active { border-color: var(--lime); opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .lb-stage { padding: 0 8px; } .lb-prev, .lb-next { top: auto; bottom: -4px; transform: none; } .lb-prev { left: 30%; } .lb-next { right: 30%; } }

/* ---------------- forms ---------------- */
.tabs { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 26px; flex-wrap: wrap; }
.tabs button { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font: 700 .93rem var(--font); color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field .hint { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 500 1rem var(--font); color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(59,130,246,.15); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #dc2626; }
.field .error { display: none; color: #b91c1c; font-size: .85rem; margin-top: 4px; }
.field.invalid .error { display: block; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.form-note { color: var(--muted); font-size: .88rem; margin: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .92rem; cursor: pointer; background: #fff; }
.choice input:checked + span { border-color: var(--green); background: #eaf7ee; color: var(--green); }
.choice input:focus-visible + span { outline: 3px solid var(--blue-2); outline-offset: 2px; }

.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; }
.contact-card .icon { margin: 0; flex: none; }
.contact-card h3 { margin-bottom: 4px; font-size: 1.05rem; }
.contact-card a { font-weight: 700; }
.contact-card p { font-size: .95rem; }

/* ---------------- monitor page ---------------- */
.app-frame {
  border-radius: 22px; background: #0b1426; border: 1px solid #1d2b47; box-shadow: var(--shadow-lg); overflow: hidden;
}
.app-frame .bar { display: flex; gap: 7px; padding: 12px 16px; background: #0f1b33; border-bottom: 1px solid #1d2b47; align-items: center; }
.app-frame .bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3b5e; display: block; }
.app-frame .bar span { margin-left: 10px; font-size: .78rem; color: #7f93bb; }
.app-body { padding: 18px; display: grid; gap: 12px; }
.app-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.app-tile { background: #111f3a; border: 1px solid #1d2b47; border-radius: 12px; padding: 10px 12px; }
.app-tile span { display: block; font-size: .7rem; color: #7f93bb; text-transform: uppercase; letter-spacing: .06em; }
.app-tile b { color: #fff; font-size: 1.1rem; }
.app-tile.solar b { color: #fbbf24; } .app-tile.batt b { color: #4ade80; } .app-tile.load b { color: #60a5fa; } .app-tile.grid b { color: #c4b5fd; }
.app-rule { display: flex; justify-content: space-between; align-items: center; background: #111f3a; border: 1px solid #1d2b47; border-radius: 12px; padding: 10px 14px; color: #c9d6f2; font-size: .85rem; gap: 10px; }
.app-rule b { color: #fff; }
.toggle-ui { width: 38px; height: 22px; border-radius: 999px; background: #22c55e; position: relative; flex: none; }
.toggle-ui::after { content: ""; position: absolute; right: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.toggle-ui.off { background: #334155; } .toggle-ui.off::after { right: auto; left: 3px; }
@media (max-width: 520px) { .app-tiles { grid-template-columns: repeat(2, 1fr); } }

.login-strip {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow);
}
.login-strip p { margin: 0; color: var(--muted); }
.login-strip b { color: var(--ink); }

/* ---------------- footer ---------------- */
.site-footer { background: var(--navy); color: #a9b8d8; padding: 72px 0 28px; font-size: .95rem; }
.site-footer a { color: #dbe6ff; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .02em; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-sub { color: #8ea2cc; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.social a:hover { background: rgba(255,255,255,.16); }
.social svg { width: 18px; height: 18px; fill: #fff; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0,0,0,.25);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }

/* fixes */
[hidden] { display: none !important; }
.eyebrow svg { width: 16px; height: 16px; flex: none; }
.split.contact-split { grid-template-columns: 1.45fr 1fr; }
@media (max-width: 900px) { .split.contact-split { grid-template-columns: 1fr; } }
.hero-grid { padding-left: 0; padding-right: 0; }
.wrap.hero-grid { padding-left: 20px; padding-right: 20px; }
.tabs { display: flex; width: 100%; }
.tabs button { flex: 1 1 auto; padding: 10px 12px; white-space: nowrap; }
@media (max-width: 520px) { .hc-stat b { font-size: .95rem; } .tabs { border-radius: 16px; } .tabs button { flex: 1 1 100%; } }

/* human check */
.human-check input { max-width: 140px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
