/* ==========================================================================
   SOLWEL — Plug In. Power Up.
   Dark, cinematic, TikTok-first storefront theme
   Type: Anton (display) / Inter (body)  ·  Accent: solar volt #FFC400
   ========================================================================== */

:root {
  --ink: #0a0a0b;
  --ink-2: #101013;
  --ink-3: #17171b;
  --line: rgba(255, 255, 255, 0.1);
  --paper: #f5f4f0;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --muted-2: rgba(255, 255, 255, 0.4);
  --volt: #ffc400;
  --volt-deep: #e8a700;
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, "Helvetica Neue", sans-serif;
  --radius: 14px;
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- display type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--volt);
}
.kicker::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--volt);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 0;
  border-radius: 999px;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.btn:active { transform: scale(0.97); }
.btn-volt { background: var(--volt); color: #111; }
.btn-volt:hover { background: var(--white); box-shadow: 0 8px 30px rgba(255, 196, 0, 0.35); }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--volt); color: var(--volt); }
.btn-dark { background: #111; color: var(--white); }
.btn-dark:hover { background: var(--volt); color: #111; }
.btn-block { width: 100%; }

/* ---------- ticker ---------- */
.ticker {
  background: var(--volt);
  color: #111;
  overflow: hidden;
  white-space: nowrap;
  padding: 9px 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ticker-track {
  display: inline-flex;
  gap: 0;
  animation: ticker 28s linear infinite;
}
.ticker-track span { padding: 0 28px; }
.ticker-track span::after { content: "⚡"; margin-left: 28px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.logo {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo .bolt { color: var(--volt); }
.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--white); border-color: var(--volt); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.icon-btn {
  background: none;
  border: 0;
  color: var(--white);
  display: inline-flex;
  position: relative;
  padding: 4px;
}
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute;
  top: -4px; right: -6px;
  background: var(--volt);
  color: #111;
  font-size: 10px;
  font-weight: 800;
  min-width: 16px; height: 16px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 600px at 78% 18%, rgba(255, 196, 0, 0.32), transparent 62%),
    radial-gradient(900px 700px at 15% 85%, rgba(255, 120, 0, 0.14), transparent 60%),
    linear-gradient(180deg, #101014 0%, #0a0a0b 100%);
}
.hero-media img, .hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10,10,11,0.25) 0%, rgba(10,10,11,0.1) 45%, rgba(10,10,11,0.92) 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 70% 30%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, black 0%, transparent 70%);
}
.hero-inner {
  width: 100%;
  padding-top: 140px;
  padding-bottom: 72px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 60px);
  flex-wrap: wrap;
}
.hero-copy { flex: 1 1 520px; min-width: 0; }

/* ---------- hero quick-buy ---------- */
.hero-buy {
  flex: 0 1 330px;
  background: rgba(14, 14, 16, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 196, 0, 0.5);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.hero-buy .hb-badge {
  display: inline-block;
  background: var(--volt);
  color: #111;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.hero-buy .hb-name { font-size: 19px; font-weight: 800; }
.hero-buy .hb-power { font-size: 13.5px; color: var(--muted); margin: 4px 0 14px; }
.hero-buy .hb-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.hero-buy .hb-price .now { font-family: var(--font-display); font-size: 34px; color: var(--volt); }
.hero-buy .hb-price .per { font-size: 12.5px; color: var(--muted-2); }
.hero-buy .hb-ship {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted-2);
  text-align: center;
}
.hero h1 {
  font-size: clamp(52px, 9vw, 128px);
  margin: 18px 0 22px;
  max-width: 11ch;
}
.hero h1 .accent { color: var(--volt); }
.hero-sub {
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  margin-bottom: 34px;
}
.hero-sub strong { color: var(--white); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 64px);
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  color: var(--volt);
}
.hero-stat .lbl {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- trust strip ---------- */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 26px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 1px solid var(--line);
}
.trust-item:first-child { border-left: 0; }
.trust-item svg { width: 26px; height: 26px; color: var(--volt); flex: none; }
.trust-item .t { font-weight: 700; font-size: 14px; }
.trust-item .d { font-size: 12.5px; color: var(--muted-2); }

/* ---------- sections ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(36px, 5vw, 64px); max-width: 16ch; }
.section-head p { color: var(--muted); max-width: 420px; }

/* ---------- category cards (3 lines) ---------- */
.lines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.line-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  isolation: isolate;
  transition: transform 0.25s ease;
}
.line-card:hover { transform: translateY(-6px); }
.line-card .media {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform 0.6s ease;
}
.line-card .media svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.line-card:hover .media { transform: scale(1.05); }
.line-card::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(8,8,9,0.9) 100%);
}
.line-card .tag {
  position: absolute;
  top: 20px; left: 20px;
  background: rgba(10,10,11,0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
}
.line-card h3 { font-size: clamp(30px, 3.2vw, 44px); }
.line-card p { color: var(--muted); font-size: 14px; margin: 8px 0 18px; max-width: 30ch; }
.line-card .cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--volt);
}
.line-card .cta svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.line-card:hover .cta svg { transform: translateX(5px); }

/* placeholder media gradients (replace with photography) */
.media-balcony {
  background:
    radial-gradient(500px 400px at 80% 10%, rgba(255,196,0,0.5), transparent 60%),
    linear-gradient(160deg, #2a2413 0%, #131311 55%, #0c0c0d 100%);
}
.media-diy {
  background:
    radial-gradient(500px 400px at 20% 15%, rgba(90,140,255,0.35), transparent 60%),
    linear-gradient(200deg, #14181f 0%, #0e1013 55%, #0c0c0d 100%);
}
.media-nomad {
  background:
    radial-gradient(500px 420px at 75% 20%, rgba(255,110,40,0.4), transparent 60%),
    linear-gradient(160deg, #221510 0%, #121011 55%, #0c0c0d 100%);
}

/* ---------- product cards ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(255,196,0,0.45); }
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #1c1c20 0%, #101013 100%);
  display: flex; align-items: center; justify-content: center;
}
.product-media svg { width: 42%; height: auto; opacity: 0.9; }
.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--volt);
  color: #111;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
}
.product-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.product-body .desc { font-size: 13.5px; color: var(--muted); flex: 1; }
.product-price { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.product-price .now { font-family: var(--font-display); font-size: 26px; color: var(--volt); }
.product-price .per { font-size: 12.5px; color: var(--muted-2); }
.product-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.product-specs span {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 4px 9px; border-radius: 999px;
}

/* ---------- what will it run ---------- */
.power-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.power-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.power-card:hover { transform: translateY(-6px); }
.power-card.is-hot { border-color: rgba(255, 196, 0, 0.55); }
.power-card .hot-badge {
  position: absolute;
  top: -12px; left: 24px;
  background: var(--volt);
  color: #111;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.power-watts {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--volt);
  line-height: 1;
}
.power-watts small { font-size: 20px; color: var(--muted); }
.power-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 8px 0 14px;
}
.power-line {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.45;
  margin-bottom: 16px;
}
.power-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.power-list li::before {
  content: "✓";
  color: var(--volt);
  font-weight: 800;
  flex: none;
}
.power-note {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--muted-2);
  font-style: italic;
}

/* ---------- hang it anywhere ---------- */
.spots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.spot-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.spot-card:hover { transform: translateY(-5px); border-color: rgba(255, 196, 0, 0.45); }
.spot-card .spot-icon {
  width: 58px; height: 58px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: rgba(255, 196, 0, 0.1);
  border: 1px solid rgba(255, 196, 0, 0.3);
  display: flex; align-items: center; justify-content: center;
}
.spot-card .spot-icon svg { width: 26px; height: 26px; color: var(--volt); }
.spot-card h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 6px; }
.spot-card p { font-size: 13px; color: var(--muted); }

/* ---------- tiktok proof ---------- */
.tiktok-section { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.phones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.phone-card {
  aspect-ratio: 9 / 15;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, #1a1a1f 0%, #0e0e10 100%);
  position: relative;
  overflow: hidden;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.25s ease;
}
.phone-card:hover { transform: translateY(-6px) rotate(-0.5deg); }
.phone-card::before {
  content: "";
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 66px; height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
}
.phone-card .glow {
  position: absolute; inset: 0;
  background: radial-gradient(320px 260px at 70% 20%, rgba(255,196,0,0.22), transparent 65%);
}
.phone-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  width: 54px; height: 54px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
}
.phone-play svg { width: 18px; height: 18px; color: var(--white); margin-left: 3px; }
.phone-card .handle { font-weight: 800; font-size: 14px; color: var(--volt); position: relative; }
.phone-card .quote { font-size: 14px; color: rgba(255,255,255,0.85); position: relative; margin-top: 6px; }
.phone-card .metric {
  position: relative;
  margin-top: 14px;
  display: inline-flex; gap: 14px;
  font-size: 12px; color: var(--muted-2); font-weight: 700;
}
.hashtags { margin-top: 34px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hashtags span {
  font-size: 13px; font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
}
.hashtags span b { color: var(--volt); }

/* ---------- how it works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  background: var(--ink-2);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 52px;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,196,0,0.65);
  display: block;
  margin-bottom: 14px;
}
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- gateway bands ---------- */
.gateway {
  border-radius: var(--radius);
  padding: clamp(34px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.gateway + .gateway { margin-top: 18px; }
.gateway h3 { font-size: clamp(26px, 3.4vw, 42px); }
.gateway p { color: var(--muted); max-width: 52ch; margin-top: 10px; }
.gateway-diy { background: linear-gradient(120deg, #15181e 0%, #0e0f12 100%); border: 1px solid var(--line); }
.gateway-pro { background: var(--paper); color: #111; }
.gateway-pro p { color: rgba(0,0,0,0.6); }

/* ---------- email capture ---------- */
.signup { text-align: center; }
.signup h2 { font-size: clamp(34px, 5vw, 60px); }
.signup p { color: var(--muted); max-width: 46ch; margin: 14px auto 30px; }
.signup-form {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto;
}
.signup-form input {
  flex: 1;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  padding: 16px 24px;
  outline: none;
  transition: border-color 0.15s ease;
}
.signup-form input:focus { border-color: var(--volt); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #070708;
  padding: clamp(50px, 7vw, 80px) 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand p { color: var(--muted-2); font-size: 14px; max-width: 34ch; margin-top: 14px; }
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: var(--muted); }
.footer-col a:hover { color: var(--volt); }
.footer-col address { font-style: normal; font-size: 14px; color: var(--muted); line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted-2);
}
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--muted); }
.footer-social a:hover { color: var(--volt); }
.footer-social svg { width: 18px; height: 18px; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
}

/* ---------- category landing pages ---------- */
.page-hero {
  padding: clamp(80px, 10vw, 130px) 0 clamp(40px, 6vw, 70px);
  border-bottom: 1px solid var(--line);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(44px, 7vw, 96px); margin-top: 16px; }
.page-hero p { color: var(--muted); max-width: 58ch; margin-top: 18px; font-size: 17px; }
.shopify-collection { padding: clamp(50px, 7vw, 80px) 0; min-height: 300px; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .lines-grid, .products-grid, .steps-grid, .phones-grid, .power-grid { grid-template-columns: repeat(2, 1fr); }
  .spots-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item { border-top: 1px solid var(--line); }
  .trust-item:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 760px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(10,10,11,0.97);
    backdrop-filter: blur(14px);
    flex-direction: column;
    gap: 0;
    padding: 12px 0 20px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px var(--pad); border-bottom: 0; }
  .nav-toggle {
    display: inline-flex;
    background: none; border: 0; color: var(--white);
    flex-direction: column; gap: 5px; padding: 6px;
  }
  .nav-toggle span { width: 22px; height: 2px; background: currentColor; display: block; transition: transform 0.2s ease, opacity 0.2s ease; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .lines-grid, .products-grid, .steps-grid, .phones-grid, .power-grid, .spots-grid { grid-template-columns: 1fr; }
  .line-card { aspect-ratio: 4 / 5; }
  .phone-card { max-width: 320px; margin: 0 auto; width: 100%; }
  .signup-form { flex-direction: column; }
  .hero-inner { padding-top: 110px; }
  .hero-buy { flex-basis: 100%; }
  .gateway { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   V3 — Solar Assistant chat widget
   ========================================================================== */

.sw-launch {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--volt); color: #fff; border: 0;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 15px 22px; border-radius: 999px; cursor: pointer;
  box-shadow: 0 10px 30px rgba(56, 50, 48, .28);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.sw-launch:hover { background: #3d3a3b; box-shadow: 0 14px 36px rgba(56, 50, 48, .34); }
.sw-launch:active { transform: scale(.97); }
.sw-launch svg { width: 19px; height: 19px; }
.sw-launch .sw-dot {
  position: absolute; top: -4px; right: -4px; width: 13px; height: 13px;
  background: #e05252; border: 2px solid #faf8f5; border-radius: 999px;
}
.sw-launch[hidden] { display: none; }

.sw-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 901;
  width: min(384px, calc(100vw - 40px));
  height: min(620px, calc(100vh - 40px));
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 26px 70px rgba(56, 50, 48, .3);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(14px) scale(.98); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.sw-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }

.sw-head {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 16px; background: #3d3a3b; color: #fff; flex: none;
}
.sw-head .sw-av {
  width: 38px; height: 38px; border-radius: 999px; flex: none;
  background: var(--volt); display: flex; align-items: center; justify-content: center;
}
.sw-head .sw-av svg { width: 20px; height: 20px; color: #fff; }
.sw-head .sw-who { font-weight: 800; font-size: 14.5px; line-height: 1.2; }
.sw-head .sw-status { font-size: 11.5px; color: rgba(255,255,255,.68); }
.sw-head .sw-status i { display: inline-block; width: 7px; height: 7px; border-radius: 999px; background: #6cc070; margin-right: 5px; }
.sw-head .sw-close {
  margin-left: auto; background: transparent; border: 0; color: rgba(255,255,255,.75);
  cursor: pointer; padding: 6px; border-radius: 8px; line-height: 0;
}
.sw-head .sw-close:hover { background: rgba(255,255,255,.12); color: #fff; }
.sw-head .sw-close svg { width: 18px; height: 18px; }

.sw-log {
  flex: 1; overflow-y: auto; padding: 18px 16px 8px;
  background: #faf8f5; display: flex; flex-direction: column; gap: 12px;
  scroll-behavior: smooth;
}
.sw-msg { max-width: 86%; font-size: 14px; line-height: 1.55; }
.sw-msg.bot {
  align-self: flex-start; background: #fff; color: #3d3a3b;
  border: 1px solid var(--line); border-radius: 4px 14px 14px 14px;
  padding: 12px 14px;
}
.sw-msg.me {
  align-self: flex-end; background: var(--volt); color: #fff;
  border-radius: 14px 4px 14px 14px; padding: 11px 14px; font-weight: 600;
}
.sw-msg.bot b { font-weight: 800; }
.sw-msg.bot a { color: var(--volt-deep); font-weight: 700; text-decoration: underline; }
.sw-msg.bot ul { margin: 8px 0 0; padding-left: 18px; }
.sw-msg.bot li { margin-bottom: 4px; }
.sw-msg .sw-note { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted-2); font-style: italic; }

.sw-typing { align-self: flex-start; display: flex; gap: 4px; padding: 14px; }
.sw-typing span {
  width: 7px; height: 7px; border-radius: 999px; background: rgba(61,58,59,.34);
  animation: swb 1.1s infinite ease-in-out;
}
.sw-typing span:nth-child(2) { animation-delay: .15s; }
.sw-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes swb { 0%,60%,100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }

.sw-card {
  align-self: flex-start; width: 86%; background: #fff; border: 1.5px solid rgba(245,154,0,.5);
  border-radius: 14px; overflow: hidden;
}
.sw-card img { width: 100%; height: 116px; object-fit: cover; display: block; }
.sw-card .sw-cb { padding: 13px 14px 15px; }
.sw-card .sw-cn { font-weight: 800; font-size: 14.5px; }
.sw-card .sw-cd { font-size: 12.5px; color: var(--muted); margin: 4px 0 9px; }
.sw-card .sw-cp { font-weight: 900; font-size: 19px; color: var(--volt); }
.sw-card .sw-cp small { font-size: 11.5px; color: var(--muted-2); font-weight: 700; }
.sw-card .sw-cta {
  display: block; margin-top: 10px; text-align: center; background: var(--volt); color: #fff;
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 10px; border-radius: 999px; text-decoration: none;
}
.sw-card .sw-cta:hover { background: #3d3a3b; }

.sw-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 4px 16px 12px; background: #faf8f5; flex: none; }
.sw-chip {
  background: #fff; border: 1px solid rgba(245,154,0,.45); color: var(--volt-deep);
  font-family: var(--font-body); font-size: 12.5px; font-weight: 700;
  padding: 8px 13px; border-radius: 999px; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.sw-chip:hover { background: var(--volt); color: #fff; border-color: var(--volt); }

.sw-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; flex: none; }
.sw-form input {
  flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 15px; font-family: var(--font-body); font-size: 13.5px; color: #3d3a3b;
  outline: none; background: #faf8f5;
}
.sw-form input:focus { border-color: var(--volt); background: #fff; }
.sw-form button {
  flex: none; width: 40px; height: 40px; border-radius: 999px; border: 0;
  background: var(--volt); color: #fff; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
}
.sw-form button:hover { background: #3d3a3b; }
.sw-form button svg { width: 17px; height: 17px; }

.sw-foot { padding: 0 12px 10px; background: #fff; font-size: 11px; color: var(--muted-2); text-align: center; flex: none; }

@media (max-width: 560px) {
  .sw-panel {
    right: 0; bottom: 0; width: 100vw; height: 100dvh;
    border-radius: 0; border: 0;
  }
  .sw-launch { right: 14px; bottom: 14px; padding: 13px 18px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .sw-panel, .sw-launch { transition: none; }
  .sw-typing span { animation: none; }
  .sw-log { scroll-behavior: auto; }
}
