/* ============================================================
   POWER PACKS 2 GO — OPPORTUNITY BRIEF
   ------------------------------------------------------------
   PALETTE (derived from brand assets in assets/brand/):
     Charge Green   #34B45A  — sampled from the logo battery mark; primary brand color
     Volt Amber     #F6A41D  — sampled from the "POWER" wordmark + bolt; energetic accent (CTAs, charge states)
     Graphite Ink   #14201A  — deep green-cast neutral from the power-bank hardware; body text
     Deep Pine      #0B1F17  — dark section background (hero, placements, contact); credibility layer
     Pine Edge      #16352A  — borders/cards on dark sections
     Paper          #F7F6F1  — warm off-white page background (memorandum stock)
     Tint           #EDF0E8  — green-cast tint for alternating bands
     Slate          #51605A  — secondary text on light
     Mist           #9DBBAC  — secondary text on dark
   TYPE PAIRING:
     Display — "Archivo" variable, font-stretch 115–125% (expanded), weights 700–900.
               Wide geometric grotesk: echoes the rounded logotype, reads like signage on a kiosk.
     Body    — "Inter" 400/500/600/700. Neutral, dense, investor-brief credibility.
   SIGNATURE ELEMENT:
     A slim "charge level" bar fixed to the top of the viewport plus a battery
     pill in the nav; both fill green→amber as the user scrolls and reach 100%
     at the contact section. Disabled under prefers-reduced-motion.
   ============================================================ */

:root {
  --green: #34B45A;
  --green-deep: #1E8C42;
  --amber: #F6A41D;
  --ink: #14201A;
  --pine: #0B1F17;
  --pine-edge: #16352A;
  --paper: #F7F6F1;
  --tint: #EDF0E8;
  --slate: #51605A;
  --mist: #9DBBAC;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 23, 0.10);
  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --nav-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-deep); }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- charge indicator (signature) ---------- */
.charge-track {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: rgba(11, 31, 23, 0.12);
  z-index: 200;
}
.charge-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green) 0%, var(--green) 70%, var(--amber) 100%);
  transition: width 80ms linear;
}
@media (prefers-reduced-motion: reduce) {
  .charge-track { display: none; }
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 150;
  background: rgba(247, 246, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11, 31, 23, 0.10);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  flex: none;
}
.nav-logo img { width: 36px; height: 36px; object-fit: contain; }
.nav-logo-text {
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  text-decoration: none;
  color: var(--slate);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); background: rgba(52, 180, 90, 0.10); }
.nav-links a.nav-cta {
  color: var(--white);
  background: var(--green-deep);
}
.nav-links a.nav-cta:hover { background: var(--ink); }
.nav-tools { display: flex; align-items: center; gap: 12px; }

.nav-battery {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}
.nav-battery-shell {
  position: relative;
  width: 30px; height: 14px;
  border: 2px solid var(--slate);
  border-radius: 4px;
  display: inline-block;
}
.nav-battery-shell::after {
  content: "";
  position: absolute;
  right: -5px; top: 3px;
  width: 3px; height: 6px;
  background: var(--slate);
  border-radius: 0 2px 2px 0;
}
.nav-battery-fill {
  position: absolute;
  left: 1px; top: 1px; bottom: 1px;
  width: 0%;
  max-width: calc(100% - 2px);
  background: var(--green);
  border-radius: 2px;
  transition: width 120ms linear, background 300ms;
}
.nav-battery.full .nav-battery-fill { background: var(--amber); }
@media (prefers-reduced-motion: reduce) {
  .nav-battery { display: none; }
}

.lang-toggle {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  border: 1.5px solid rgba(11, 31, 23, 0.25);
  background: var(--white);
  color: var(--slate);
  border-radius: 999px;
  padding: 7px 13px;
  cursor: pointer;
}
.lang-toggle .lang-sep { opacity: 0.4; margin: 0 3px; }
.lang-toggle .lang-en { color: var(--ink); }
html[lang="es"] .lang-toggle .lang-en { color: var(--slate); }
html[lang="es"] .lang-toggle .lang-es { color: var(--ink); }
html[lang="en"] .lang-toggle .lang-es { color: var(--slate); }
.lang-toggle:hover { border-color: var(--green); }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: none;
  border: 1.5px solid rgba(11, 31, 23, 0.25);
  border-radius: 8px;
  cursor: pointer;
  padding: 9px;
}
.nav-burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  border-radius: 10px;
  padding: 14px 26px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--pine); }
.btn-primary:hover { background: var(--amber); color: var(--pine); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-charge { background: var(--amber); color: var(--pine); }
.btn-charge:hover { background: var(--green); color: var(--pine); }
.btn-outline { border-color: var(--green-deep); color: var(--green-deep); background: transparent; }
.btn-outline:hover { background: var(--green-deep); color: var(--white); }

/* ---------- layout primitives ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--pine); color: var(--white); }
.section-dark a { color: var(--green); }
.section-dark a:hover { color: var(--amber); }

.sec-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-stretch: 120%;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin: 0 0 18px;
}
.sec-label span:first-child {
  color: var(--paper);
  background: var(--green-deep);
  border-radius: 6px;
  padding: 3px 8px;
  letter-spacing: 0.08em;
}
.sec-label-light { color: var(--green); }
.sec-label-light span:first-child { background: var(--green); color: var(--pine); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 118%;
  line-height: 1.12;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; max-width: 21ch; }
.section-dark h2 { color: var(--white); }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 0 0 8px; }

.sec-intro { max-width: 62ch; color: var(--slate); font-size: 1.1rem; margin: 0 0 48px; }
.sec-intro-light { color: var(--mist); }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(52, 180, 90, 0.22), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(246, 164, 29, 0.12), transparent 60%),
    var(--pine);
  color: var(--white);
  padding: 110px 0 90px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
  gap: 56px;
  align-items: center;
}
.hero-kicker {
  font-family: var(--font-display);
  font-stretch: 120%;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 22px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  font-weight: 900;
  color: var(--white);
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
}
.hero-sub {
  font-size: 1.16rem;
  color: var(--mist);
  max-width: 56ch;
  margin: 0 0 36px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--pine-edge);
}
.hero-stats li {
  padding: 18px 28px 0 0;
  margin-right: 28px;
  display: flex;
  flex-direction: column;
}
.hero-stats strong {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.hero-stats span { font-size: 0.82rem; color: var(--mist); }
.hero-visual { margin: 0; position: relative; }
.hero-visual img {
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--pine-edge), 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 90px rgba(52, 180, 90, 0.25);
  background: var(--white);
  max-height: 520px;
  width: auto;
  margin: 0 auto;
}
.hero-visual figcaption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--mist);
  margin-top: 14px;
  letter-spacing: 0.04em;
}

/* ---------- story ---------- */
.story-body p { max-width: 68ch; color: #2C3833; margin: 0 0 22px; }
.story-close {
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ink);
  border-left: 4px solid var(--amber);
  padding-left: 18px;
  margin-top: 34px;
}

/* ---------- videos ---------- */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 12px;
}
.video-card {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
}
.video-card.video-active { border-color: var(--green); }
.video-card figcaption {
  font-weight: 700;
  font-size: 0.9rem;
  margin: 2px 4px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.video-flag {
  font-family: var(--font-display);
  font-stretch: 120%;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--pine);
  color: var(--green);
  border-radius: 5px;
  padding: 2px 7px;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: var(--pine);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* ES mode: bring the Spanish video forward */
html[lang="es"] #videoEs { order: -1; }

/* ---------- what's included ---------- */
.asset-block {
  border-top: 1px solid rgba(11, 31, 23, 0.14);
  padding: 44px 0 52px;
}
.asset-block:last-child { padding-bottom: 0; }
.asset-head { max-width: 78ch; margin-bottom: 30px; }
.asset-head h3 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 1.45rem;
}
.asset-num {
  flex: none;
  font-family: var(--font-display);
  font-stretch: 120%;
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--pine);
  background: var(--green);
  border-radius: 7px;
  padding: 4px 11px;
  transform: translateY(-3px);
}
.asset-head p { color: var(--slate); margin: 0; }

.kiosk-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0 0 36px;
}
.kiosk-card {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.kiosk-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  background: var(--white);
  padding: 16px;
}
.kiosk-card figcaption {
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(11, 31, 23, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.kiosk-card strong {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
}
.kiosk-card span { font-size: 0.82rem; color: var(--slate); }

.inv-table-wrap { overflow-x: auto; margin-bottom: 22px; }
.inv-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}
.inv-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 0 4px 12px;
}
.inv-table th, .inv-table td { padding: 15px 18px; text-align: left; vertical-align: top; }
.inv-table thead th {
  background: var(--pine);
  color: var(--white);
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.inv-table tbody tr + tr td { border-top: 1px solid rgba(11, 31, 23, 0.09); }
.inv-table td.num, .inv-table th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--green-deep);
  white-space: nowrap;
}
.inv-table tbody td:last-child { color: var(--slate); font-size: 0.88rem; }

.asset-notes {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 80ch;
}
.asset-notes li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--slate);
  font-size: 0.95rem;
}
.asset-notes li::before {
  content: "▸";
  position: absolute;
  left: 4px;
  color: var(--amber);
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 38px;
}
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 24px 20px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--green);
}
.feature p { margin: 0; font-size: 0.92rem; color: var(--slate); }

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 82ch;
}
.check-list li {
  position: relative;
  padding: 14px 0 14px 38px;
  border-bottom: 1px solid rgba(11, 31, 23, 0.09);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: var(--pine);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- live demo callout ---------- */
.live-demo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  background:
    radial-gradient(600px 200px at 10% 0%, rgba(52, 180, 90, 0.25), transparent 60%),
    var(--pine);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px 38px;
  overflow: hidden;
}
.live-demo a:not(.btn) { color: var(--amber); font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--amber); }
.live-demo a:not(.btn):hover { color: var(--green); border-color: var(--green); }
.live-demo-copy { flex: 1; }
.live-demo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 12px;
}
.live-demo-kicker::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 180, 90, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(52, 180, 90, 0); }
}
.live-demo-line {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.35;
  margin: 0 0 10px;
}
.live-demo-note { margin: 0; font-size: 0.9rem; color: var(--mist); }
.live-demo .btn { flex: none; }
.live-demo-pulse { display: none; }
.live-demo-compact {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  background: var(--pine-edge);
  border: 1px solid rgba(52, 180, 90, 0.35);
}

/* ---------- placements ---------- */
.venue-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: venue;
  columns: 2;
  column-gap: 60px;
}
.venue-list li {
  counter-increment: venue;
  break-inside: avoid;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--pine-edge);
}
.venue-list li::before {
  content: counter(venue, decimal-leading-zero);
  font-family: var(--font-display);
  font-stretch: 120%;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--green);
  flex: none;
}
.venue-name {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: var(--white);
}
.venue-meta {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--mist);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.venue-more .venue-name { color: var(--mist); font-weight: 600; }
.venue-more::before { content: "+" !important; color: var(--amber) !important; }

/* ---------- revenue streams ---------- */
.stream-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stream {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.stream-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--pine);
  color: var(--amber);
  font-family: var(--font-display);
  font-stretch: 120%;
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.stream h3 { font-size: 1.15rem; }
.stream p { margin: 0; font-size: 0.93rem; color: var(--slate); }

/* ---------- operator profile ---------- */
.operator-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}
.operator-list li {
  position: relative;
  background: var(--white);
  border-radius: 10px;
  padding: 16px 20px 16px 48px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  font-weight: 500;
}
.operator-list li::before {
  content: "⚡";
  position: absolute;
  left: 18px;
  top: 15px;
  color: var(--amber);
}
.operator-note {
  border-left: 4px solid var(--green);
  padding: 4px 0 4px 18px;
  color: var(--slate);
  font-size: 0.97rem;
  max-width: 60ch;
}

/* ---------- ways in ---------- */
.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.deal-card {
  background: var(--white);
  border: 1.5px solid rgba(11, 31, 23, 0.12);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 150ms ease, transform 150ms ease;
}
.deal-card:hover { border-color: var(--green); transform: translateY(-3px); }
.deal-card h3 { font-size: 1.25rem; }
.deal-card p { color: var(--slate); font-size: 0.95rem; flex: 1; margin: 0 0 24px; }

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.g-item {
  margin: 0;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease;
  position: relative;
}
.g-item:hover, .g-item:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(11, 31, 23, 0.18); }
.g-item img, .g-item video {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #FBFBF8;
  padding: 8px;
  display: block;
}
.g-featured { grid-column: span 2; grid-row: span 1; }
/* Featured dashboard card plays its Vimeo embed inline — not a lightbox trigger */
.g-live { cursor: default; }
.g-live:hover, .g-live:focus-visible { transform: none; box-shadow: var(--shadow); }
.g-live > div { background: var(--pine); }
.g-item figcaption {
  padding: 12px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  border-top: 1px solid rgba(11, 31, 23, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}
.g-tag {
  flex: none;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--amber);
  color: var(--pine);
  border-radius: 4px;
  padding: 2px 7px;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(8, 18, 13, 0.94);
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  grid-template-rows: 1fr auto;
  align-items: center;
}
.lightbox[hidden] { display: none; }
.lb-stage {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 82vh;
}
.lb-stage img, .lb-stage video, .lb-stage iframe {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  background: var(--white);
}
.lb-stage iframe { width: min(1100px, 100%); aspect-ratio: 16/9; border: 0; background: var(--pine); }
.lb-caption {
  grid-column: 1 / -1;
  grid-row: 2;
  text-align: center;
  color: var(--mist);
  font-size: 0.9rem;
  padding: 16px 20px 26px;
  margin: 0;
}
.lb-close, .lb-prev, .lb-next {
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 18px;
  border-radius: 10px;
}
.lb-close { position: absolute; top: 12px; right: 16px; z-index: 2; }
.lb-prev { grid-column: 1; grid-row: 1; justify-self: center; }
.lb-next { grid-column: 3; grid-row: 1; justify-self: center; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: var(--amber); }

/* ---------- FAQ ---------- */
.faq-list details {
  background: var(--white);
  border: 1.5px solid rgba(11, 31, 23, 0.12);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-list details[open] { border-color: var(--green); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 20px 56px 20px 24px;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--green-deep);
}
.faq-list details[open] summary::after { content: "–"; color: var(--amber); }
.faq-list details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--slate);
  font-size: 0.96rem;
  max-width: 75ch;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
  margin-top: 12px;
}
.contact-aside { display: flex; flex-direction: column; gap: 22px; }
.contact-chat-note { color: var(--mist); font-size: 0.92rem; margin: 0; max-width: 46ch; }
.contact-direct { color: var(--mist); font-size: 0.95rem; margin: 0; }

.contact-form {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.contact-form-zoho { padding: 16px 16px 6px; }
.contact-form-zoho iframe { display: block; margin: 0 auto; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { margin-bottom: 16px; display: flex; flex-direction: column; }
.form-field label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid rgba(11, 31, 23, 0.18);
  border-radius: 9px;
  padding: 12px 14px;
}
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 0;
  border-color: var(--green);
}
.form-field input.invalid, .form-field textarea.invalid { border-color: #C0392B; }
.form-status { min-height: 1.4em; font-size: 0.92rem; font-weight: 600; margin: 0 0 14px; }
.form-status.ok { color: var(--green-deep); }
.form-status.err { color: #C0392B; }
.contact-form .btn { width: 100%; }

/* ---------- footer ---------- */
.footer {
  background: var(--paper);
  border-top: 1px solid rgba(11, 31, 23, 0.12);
  padding: 44px 0 56px;
}
.footer-inner { text-align: center; }
.footer-logo { margin: 0 auto 18px; width: 200px; height: auto; }
.footer p { font-size: 0.88rem; color: var(--slate); margin: 0 0 8px; }
.footer a { color: var(--green-deep); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-fine { font-size: 0.78rem; opacity: 0.8; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1240px) {
  /* full link row + wordmark don't both fit — keep the logo mark, drop the text */
  .nav-logo-text { display: none; }
}

@media (max-width: 1080px) {
  .kiosk-cards { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .g-featured { grid-column: span 3; }
  .nav-links a { padding: 8px 7px; font-size: 0.8rem; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 320px; margin: 0 auto; }
  .stream-grid, .deal-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .venue-list { columns: 1; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid rgba(11, 31, 23, 0.12);
    padding: 12px 20px 18px;
    gap: 2px;
    box-shadow: 0 18px 30px rgba(11, 31, 23, 0.12);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; padding: 12px 10px; }
  .nav-burger { display: flex; }
  .nav-battery-pct { display: none; }
  /* burger replaces the link row, so the wordmark fits again */
  .nav-logo-text { display: inline; }
}

@media (max-width: 680px) {
  .section { padding: 68px 0; }
  .hero { padding: 76px 0 64px; }
  .video-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .g-featured { grid-column: span 2; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .live-demo { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .hero-stats li { padding-right: 18px; margin-right: 14px; }
  .nav-logo-text { display: none; }
  .lightbox { grid-template-columns: 44px 1fr 44px; }
}

@media (max-width: 420px) {
  .kiosk-cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .g-featured { grid-column: span 1; }
  .hero h1 { font-size: 1.9rem; }
}
