/* ==========================================================================
   BurnPermits.com — Public Site
   Dark theme · flame-orange accents · fully responsive
   ========================================================================== */

:root {
  --bg: #070b14;
  --bg-2: #0b1020;
  --bg-3: #0f1628;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-hover: rgba(242, 101, 34, 0.45);
  --text: #eef1f7;
  --text-dim: #9aa3b5;
  --text-faint: #6b7488;
  --accent: #f26522;
  --accent-bright: #ff7d3b;
  --amber: #ffb020;
  --ember: #e03a1f;
  --accent-glow: rgba(242, 101, 34, 0.35);
  --green: #2ecc71;
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --nav-h: 72px;
  --max-w: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Background grid texture ---------- */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,.55) 40%, rgba(0,0,0,.3));
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,.55) 40%, rgba(0,0,0,.3));
  pointer-events: none;
}
.glow-bg {
  position: fixed;
  z-index: -3;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 500px at 75% -5%, rgba(242, 101, 34, 0.16), transparent 60%),
    radial-gradient(900px 600px at 10% 10%, rgba(224, 58, 31, 0.10), transparent 60%),
    radial-gradient(600px 420px at 50% 100%, rgba(255, 176, 32, 0.05), transparent 60%),
    var(--bg);
}

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); text-transform: uppercase; }
h3 { font-size: clamp(1.25rem, 3vw, 1.6rem); }
.accent { color: var(--accent-bright); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 18px;
}
/* decorative dash before kickers removed per design direction */
.kicker::before { content: none; }

.lead {
  font-size: clamp(1.02rem, 2.2vw, 1.22rem);
  color: var(--text-dim);
  max-width: 46em;
}

/* ---------- Layout ---------- */
.container { width: min(var(--max-w), 92%); margin-inline: auto; }
section { padding: clamp(64px, 10vw, 110px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 6vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.nav.scrolled {
  background: #0a0f1c;
  border-bottom-color: rgba(255,255,255,0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.nav-inner {
  width: min(var(--max-w), 92%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
/* On FR/ES desktop widths the wordmark competes with longer menu labels — show icon only */
@media (max-width: 1560px) {
  :lang(fr) .nav-logo .brand-name, :lang(es) .nav-logo .brand-name { display: none; }
}
.nav-logo img { height: 36px; width: auto; border-radius: 9px; }
.nav-logo .brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color .2s;
  padding: 6px 0;
  white-space: nowrap;
}
/* Longer FR/ES labels: tighter spacing on wide desktop (they collapse ≤1380px) */
:lang(fr) .nav-links, :lang(es) .nav-links { gap: 16px; }
:lang(fr) .nav-links a, :lang(es) .nav-links a { font-size: 0.86rem; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active { color: var(--accent-bright); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.lang-switch { position: relative; margin-right: 2px; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.03);
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.lang-btn:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
.lang-btn .caret { font-size: 0.55em; opacity: .6; transition: transform .25s; }
.lang-switch.open .lang-btn .caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: rgba(10, 14, 26, 0.97);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 20px 50px rgba(0,0,0,.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 130;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
  color: var(--text-dim);
  white-space: nowrap;
}
.lang-menu a:hover { background: rgba(242, 101, 34,0.14); color: #fff; }
.lang-menu a strong { color: var(--accent-bright); font-size: 0.78rem; margin-right: 6px; letter-spacing: 0.05em; }
.nav-links .mobile-cta { display: none; }

.hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 110;
}
.hamburger span {
  width: 24px; height: 2px;
  background: #fff;
  transition: transform .3s, opacity .3s;
  display: block;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--amber), var(--accent) 55%, var(--ember));
  color: #fff;
  box-shadow: 0 8px 30px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px var(--accent-glow); }
.btn-ghost {
  border-color: rgba(255,255,255,0.22);
  color: var(--text);
  background: rgba(255,255,255,0.03);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.07); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + clamp(36px, 6vw, 64px)) 0 clamp(28px, 4vw, 44px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.hero .lead { margin: 22px 0 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 18px; font-size: 0.86rem; color: var(--text-faint); }
.hero-logo { width: min(420px, 80%); margin-bottom: 30px; }

.hero-visual { position: relative; display: flex; justify-content: center; }

/* Phone mockup */
.phone {
  width: min(300px, 74vw);
  border-radius: 42px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(160deg, #101728, #0a0f1d);
  box-shadow: 0 40px 90px rgba(0,0,0,0.6), 0 0 80px rgba(242, 101, 34,0.12);
  padding: 14px;
  position: relative;
}
.phone-screen {
  border-radius: 30px;
  background: #0a0e1a;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  padding: 20px 16px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.phone-notch {
  width: 110px; height: 26px;
  background: #05070d;
  border-radius: 999px;
  margin: 0 auto 6px;
}
.alert-card {
  background: rgba(242, 101, 34,0.12);
  border: 1px solid rgba(242, 101, 34,0.4);
  border-radius: 14px;
  padding: 12px 14px;
}
.alert-card .tag {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--accent-bright);
  font-weight: 700;
  text-transform: uppercase;
}
.alert-card .title { font-weight: 700; font-size: 0.92rem; margin-top: 2px; }
.alert-card .meta { font-size: 0.74rem; color: var(--text-dim); margin-top: 2px; }
.responder-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 10px 12px;
}
.responder-row .avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #26314f, #16203a);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.75rem; color: #c6cfe2;
  flex-shrink: 0;
}
.responder-row .info { flex: 1; min-width: 0; }
.responder-row .name { font-size: 0.85rem; font-weight: 600; }
.responder-row .status { font-size: 0.72rem; color: var(--text-dim); }
.responder-row .eta {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(46,204,113,0.12);
  padding: 4px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}
.responder-row .eta.enroute { color: #ffb020; background: rgba(255,176,32,0.12); }

.float-chip {
  position: absolute;
  background: rgba(13,18,32,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  font-size: 0.8rem;
  animation: floaty 5s ease-in-out infinite;
}
.float-chip strong { display: block; font-size: 1.05rem; }
.float-chip.c1 { top: -3%; left: -2%; animation-delay: 0s; }
.float-chip.c2 { bottom: 2%; right: -4%; animation-delay: 1.6s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Stats bar ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 26px 0;
}
.stat {
  text-align: center;
  padding: 26px 14px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  color: #fff;
  line-height: 1;
}
.stat .num em { font-style: normal; color: var(--accent-bright); }
.stat .lbl { margin-top: 8px; font-size: 0.84rem; color: var(--text-dim); }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .25s, border-color .25s, background .25s;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--card-border-hover);
  background: rgba(255,255,255,0.055);
}
.card .icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: rgba(242, 101, 34,0.12);
  border: 1px solid rgba(242, 101, 34,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--accent-bright);
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 0.95rem; }
.card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-bright);
}

/* ---------- Split rows ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.split.visual-priority {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(24px, 4vw, 48px);
}
.split.rev > :first-child { order: 2; }
.split .visual {
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 30px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Checklist ----------
   Items are <li><strong>Label</strong><span>description</span></li> —
   label and description stack cleanly at every width. */
.checklist { list-style: none; display: grid; gap: 14px; margin-top: 22px; }
.checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 12px;
  align-items: start;
  color: var(--text-dim);
  font-size: 0.97rem;
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(242, 101, 34,0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7d3b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
  border: 1px solid rgba(242, 101, 34,0.35);
}
.checklist li strong { grid-column: 2; color: var(--text); font-weight: 600; }
.checklist li span { grid-column: 2; font-size: 0.92rem; color: var(--text-dim); margin-top: 1px; }

/* ---------- Pill tags ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}
.step .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: rgba(255,59,69,0.28);
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Pricing ---------- */
.price-hero {
  background: linear-gradient(160deg, rgba(242, 101, 34,0.12), rgba(242, 101, 34,0.03));
  border: 1px solid rgba(242, 101, 34,0.35);
  border-radius: 22px;
  padding: clamp(30px, 5vw, 50px);
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
}
.price-hero .amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 8vw, 4.8rem);
  line-height: 1;
}
.price-hero .amount span { font-size: 0.4em; color: var(--text-dim); font-weight: 600; }
.price-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--card-border); }
table.price-table { width: 100%; border-collapse: collapse; min-width: 480px; background: var(--card); }
.price-table th, .price-table td { padding: 16px 22px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.06); }
.price-table th {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.03);
}
.price-table td { color: var(--text-dim); }
.price-table td:last-child { color: #fff; font-weight: 600; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table tr:hover td { background: rgba(255,255,255,0.025); }

/* ---------- Pricing layout: table + add-on box ---------- */
.price-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.addon-card {
  border-color: rgba(242, 101, 34,0.4);
  background: linear-gradient(165deg, rgba(242, 101, 34,0.10), rgba(242, 101, 34,0.02));
  display: flex;
  flex-direction: column;
}
.addon-card:hover { transform: none; }
.addon-card .addon-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  margin: 6px 0 2px;
}
.addon-card .addon-price span { font-size: 0.45em; color: var(--text-dim); font-weight: 600; }
.addon-card .checklist { margin-top: 14px; }
.addon-card .checklist li { font-size: 0.9rem; }
.addon-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: rgba(242, 101, 34,0.14);
  border: 1px solid rgba(242, 101, 34,0.35);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 14px;
}

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
details.faq {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
details.faq summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent-bright);
  transition: transform .25s;
  flex-shrink: 0;
  line-height: 1;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .faq-body { padding: 0 24px 22px; color: var(--text-dim); font-size: 0.96rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(242, 101, 34,0.22), transparent 70%),
    linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--card-border);
  border-radius: 26px;
  padding: clamp(44px, 7vw, 80px) clamp(24px, 5vw, 60px);
  text-align: center;
}
.cta-band .btn { margin-top: 28px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 16px; }
.form-grid .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label.field { display: grid; gap: 7px; font-size: 0.86rem; font-weight: 600; color: var(--text-dim); }
input, textarea, select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.97rem;
  transition: border-color .2s, background .2s;
  color-scheme: dark;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.06);
}
select { cursor: pointer; }
select option {
  background-color: #0f1628;
  color: #eef1f7;
}

/* Form validation states */
label.field { position: relative; }
input.invalid, textarea.invalid, select.invalid {
  border-color: var(--accent-bright);
  background: rgba(242, 101, 34,0.07);
}
input.valid, textarea.valid, select.valid {
  border-color: rgba(46,204,113,0.55);
}
.field-err {
  display: none;
  color: #ff7a82;
  font-size: 0.78rem;
  font-weight: 500;
  margin-top: 2px;
}
.field-err.show { display: block; }

/* ---------- Zoho Desk web form ---------- */
.zoho-form-wrap {
  width: 100%;
  overflow-x: auto;
}
.zoho-form-wrap #zohoSupportWebToCase {
  text-align: left !important;
}
.zoho-form-wrap #zohoSupportWebToCase .zsFormClass {
  width: 100% !important;
  max-width: 100%;
  background: transparent !important;
  border-collapse: collapse;
}
.zoho-form-wrap #zohoSupportWebToCase .zsFormClass > tbody > tr:first-child {
  display: none;
}
.zoho-form-wrap #zohoSupportWebToCase td {
  padding: 10px 0 !important;
  vertical-align: middle;
}
.zoho-form-wrap #zohoSupportWebToCase td.zsFontClass,
.zoho-form-wrap #zohoSupportWebToCase .zsFontClass {
  color: var(--text-dim) !important;
  font-family: var(--font-body) !important;
  font-size: 0.86rem !important;
  font-weight: 600;
}
.zoho-form-wrap #zohoSupportWebToCase input[type='text'],
.zoho-form-wrap #zohoSupportWebToCase input[type='date'],
.zoho-form-wrap #zohoSupportWebToCase textarea,
.zoho-form-wrap #zohoSupportWebToCase select {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box !important;
  padding: 14px 16px !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--text) !important;
  font-family: var(--font-body) !important;
  font-size: 0.97rem !important;
  color-scheme: dark;
}
.zoho-form-wrap #zohoSupportWebToCase input[type='text']:focus,
.zoho-form-wrap #zohoSupportWebToCase textarea:focus,
.zoho-form-wrap #zohoSupportWebToCase select:focus {
  outline: none;
  border-color: var(--accent) !important;
  background: rgba(255,255,255,0.06) !important;
}
.zoho-form-wrap #zohoSupportWebToCase select option {
  background-color: #0f1628;
  color: #eef1f7;
}
.zoho-form-wrap #zohoSupportWebToCase input.manfieldbdr {
  border-left: 3px solid var(--accent) !important;
}
.zoho-form-wrap #zohoSupportWebToCase input[type='submit'],
.zoho-form-wrap #zohoSupportWebToCase input[type='button'] {
  width: auto !important;
  cursor: pointer;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 600;
  padding: 12px 22px !important;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background .2s, border-color .2s, color .2s;
}
.zoho-form-wrap #zohoSupportWebToCase input[type='submit'] {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}
.zoho-form-wrap #zohoSupportWebToCase input[type='submit']:hover {
  background: var(--accent-bright) !important;
  border-color: var(--accent-bright) !important;
}
.zoho-form-wrap #zohoSupportWebToCase input[type='button'] {
  background: transparent !important;
  color: var(--text-dim) !important;
  border-color: rgba(255,255,255,0.18) !important;
}
.zoho-form-wrap #zohoSupportWebToCase input[type='button']:hover {
  color: var(--text) !important;
  border-color: rgba(255,255,255,0.35) !important;
}
.zoho-form-wrap #zohoSupportWebToCase .wb_FtCon {
  justify-content: flex-start;
  margin-top: 8px;
  opacity: 0.55;
  font-size: 0.75rem;
  color: var(--text-faint);
}
.zoho-form-wrap #zohoSupportWebToCase .wb_common {
  width: auto !important;
}
@media (max-width: 560px) {
  .zoho-form-wrap #zohoSupportWebToCase tr {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-bottom: 8px;
  }
  .zoho-form-wrap #zohoSupportWebToCase td {
    width: 100% !important;
    display: block;
    padding: 4px 0 !important;
  }
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(5, 8, 15, 0.7);
  padding: clamp(48px, 7vw, 72px) 0 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-grid img { height: 110px; width: auto; margin-bottom: 18px; }
.footer-grid p { color: var(--text-faint); font-size: 0.9rem; max-width: 32em; }
.footer-grid h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  margin-bottom: 16px;
  color: #fff;
}
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid ul a { color: var(--text-dim); font-size: 0.92rem; transition: color .2s; }
.footer-grid ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  color: var(--text-faint);
  font-size: 0.84rem;
}
.socials { display: flex; gap: 14px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: border-color .2s, color .2s, background .2s;
}
.socials a:hover { border-color: var(--accent); color: #fff; background: rgba(242, 101, 34,0.15); }
.socials svg { width: 17px; height: 17px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Nav dropdowns ---------- */
.nav-links li { position: relative; }
.nav-links .caret { font-size: 0.6em; opacity: .6; margin-left: 3px; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(10, 14, 26, 0.97);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 2px 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s, transform .22s, visibility .22s;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  z-index: 120;
}
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.dropdown a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.88rem;
  white-space: nowrap;
}
.dropdown a:hover { background: rgba(242, 101, 34,0.14); color: #fff; }
.dropdown .dd-all { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.08); margin-top: 8px; padding-top: 10px; color: var(--accent-bright) !important; font-weight: 600; }
@media (min-width: 1101px) {
  .nav-links li:hover > .dropdown, .nav-links li:focus-within > .dropdown {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
  }
}
@media (max-width: 1100px) {
  .dropdown { display: none; }
}

/* ---------- Photo hero (industry pages) ---------- */
.photo-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(90px, 14vw, 150px)) 0 clamp(70px, 10vw, 110px);
  overflow: hidden;
}
.photo-hero .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.04);
}
.photo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(7,11,20,0.72), rgba(7,11,20,0.55) 45%, var(--bg) 96%),
    linear-gradient(100deg, rgba(7,11,20,0.85) 15%, rgba(7,11,20,0.2) 65%);
}
.photo-hero .container { position: relative; }
.photo-hero h1 { text-shadow: 0 4px 30px rgba(0,0,0,.6); }

/* ---------- Feature screenshot showcase ---------- */
.feature-shot {
  display: flex;
  justify-content: center;
  position: relative;
  padding: 10px 0 0;
}
.feature-shot img {
  width: min(860px, 100%);
  filter: drop-shadow(0 40px 80px rgba(0,0,0,.55)) drop-shadow(0 0 60px rgba(242, 101, 34,.14));
}
.feature-shot.sm img { width: min(520px, 92%); }
.feature-shot.wide {
  margin-top: 0;
}
.feature-shot.wide img {
  width: 100%;
  max-width: none;
  border-radius: 0;
  filter: none;
}
.feature-shot::before {
  content: "";
  position: absolute;
  inset: 12% 6%;
  background: radial-gradient(closest-side, rgba(242, 101, 34,0.13), transparent 75%);
  z-index: -1;
}
.feature-shot.wide::before {
  display: none;
}

/* ---------- Expandable screenshot ---------- */
.shot-expand {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: zoom-in;
  position: relative;
}
.shot-expand:has(.feature-shot.wide),
.hero-visual > .shot-expand:has(.feature-shot) {
  width: 100%;
}
.shot-expand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.shot-expand .feature-shot {
  padding: 0;
}

.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  background: rgba(4, 7, 14, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.img-lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.img-lightbox-inner {
  position: relative;
  width: min(1400px, 100%);
  max-height: min(90vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-lightbox-inner img {
  width: 100%;
  height: auto;
  max-height: min(90vh, 900px);
  object-fit: contain;
  border-radius: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  background: #0f1628;
}
.img-lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 11, 20, 0.92);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.img-lightbox-close:hover,
.img-lightbox-close:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  outline: none;
}
@media (max-width: 700px) {
  .img-lightbox-close {
    top: 8px;
    right: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .img-lightbox {
    transition: none;
  }
}

/* ---------- Photo band ---------- */
.photo-band {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}
.photo-band .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,11,20,.88), rgba(7,11,20,.1) 60%); }
.photo-band .caption { position: relative; z-index: 1; padding: 28px 30px; }
.photo-band .caption h3 { font-size: 1.4rem; }
.photo-band .caption p { color: var(--text-dim); font-size: .95rem; max-width: 46em; }

/* ---------- Hero screenshot (home) ---------- */
.hero-shot img {
  width: min(560px, 100%);
  filter: drop-shadow(0 40px 90px rgba(0,0,0,.6)) drop-shadow(0 0 70px rgba(242, 101, 34,.15));
  animation: heroFloat 7s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) { .hero-shot img { animation: none; } }

/* ---------- Card link images ---------- */
.card .thumb {
  margin: -28px -26px 20px;
  height: 170px;
  overflow: hidden;
  border-bottom: 1px solid var(--card-border);
  background-size: cover;
  background-position: center top;
}
a.card { display: block; color: inherit; }
a.card:hover .more { text-decoration: underline; }
/* On pointer devices, whole cards with a CTA link act as links (JS adds navigation) */
@media (hover: hover) and (pointer: fine) {
  .card.card-clickable { cursor: pointer; }
  .card.card-clickable:hover .more { text-decoration: underline; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding: calc(var(--nav-h) + clamp(56px, 10vw, 96px)) 0 clamp(40px, 7vw, 70px);
  text-align: center;
}
.page-hero .lead { margin: 20px auto 0; }

/* ---------- Utility ---------- */
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.center { text-align: center; }
.dim { color: var(--text-dim); }
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.04);
  transition: border-color .2s, background .2s;
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.25;
}
.store-badge:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.08); }
.store-badge strong { display: block; font-size: 0.95rem; color: #fff; }
.store-badge svg { width: 26px; height: 26px; color: #fff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Tighten nav spacing before it collapses, so longer FR/ES labels fit */
@media (max-width: 1280px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.88rem; }
  .nav-logo .brand-name { font-size: 1.05rem; }
}

/* French/Spanish menu labels are longer, so those locales collapse to the
   hamburger earlier (≤1380px). Scoped via the page's lang attribute. */
@media (max-width: 1380px) {
  :lang(fr) .nav, :lang(fr) .nav.scrolled,
  :lang(es) .nav, :lang(es) .nav.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(7, 11, 20, 0.95);
    border-bottom-color: rgba(255,255,255,0.06);
  }
  :lang(fr) .nav-links, :lang(es) .nav-links {
    position: fixed;
    inset: 0;
    top: 0;
    background: rgba(6, 9, 17, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 105;
  }
  :lang(fr) .nav-links.open, :lang(es) .nav-links.open { transform: translateX(0); }
  :lang(fr) .nav-links a, :lang(es) .nav-links a { font-size: 1.35rem; padding: 12px 0; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; }
  :lang(fr) .nav-links .mobile-cta, :lang(es) .nav-links .mobile-cta { display: block; margin-top: 18px; }
  :lang(fr) .hamburger, :lang(es) .hamburger { display: flex; }
  :lang(fr) .nav-cta .btn, :lang(es) .nav-cta .btn { display: none; }
  :lang(fr) .dropdown, :lang(es) .dropdown { display: none; }
}

/* Nav collapses to the hamburger menu at 1100px — earlier than the layout
   breakpoints, so menu items never wrap. */
@media (max-width: 1100px) {
  /* backdrop-filter creates a containing block for fixed children,
     so disable it in collapsed-nav mode and use a more opaque bar instead. */
  .nav, .nav.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(7, 11, 20, 0.95);
    border-bottom-color: rgba(255,255,255,0.06);
  }
  .nav-links {
    position: fixed;
    inset: 0;
    top: 0;
    background: rgba(6, 9, 17, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 105;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.35rem; padding: 12px 0; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; }
  .nav-links .mobile-cta { display: block; width: min(300px, 78vw); }
  .nav-links li:not(.mobile-cta) + .mobile-cta { margin-top: 22px; }
  .nav-links .mobile-cta + .mobile-cta { margin-top: 4px; }
  .nav-links .mobile-cta .btn {
    display: flex;
    justify-content: center;
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    padding: 14px 24px;
    white-space: nowrap;
  }
  .hamburger { display: flex; }
  .nav-cta .btn { display: none; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero { min-height: auto; }
  .hero .lead { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-logo { margin-inline: auto; }
  .hero-visual { margin-top: 20px; }
  .float-chip.c1 { left: 0; }
  .float-chip.c2 { right: 0; }
  .split, .split.rev, .split.visual-priority { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px 10px; }
  .cards { grid-template-columns: 1fr; }
  .form-grid .row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .float-chip { display: none; }
  .btn-lg { width: 100%; }
  .hero-ctas .btn { flex: 1 1 auto; }
}

/* ---------- Light sections (dark shell, light content bands) ---------- */
section.light {
  --text: #101828;
  --text-dim: #46536b;
  --text-faint: #7a8499;
  --card: #ffffff;
  --card-border: rgba(16, 24, 40, 0.10);
  --card-border-hover: rgba(242, 101, 34, 0.55);
  background: linear-gradient(180deg, #f6f7fa, #edf0f5);
  color: var(--text);
}
section.light .kicker { color: var(--accent); }
section.light .accent { color: var(--accent); }
section.light .card { box-shadow: 0 6px 24px rgba(16, 24, 40, 0.05); }
section.light .card:hover { box-shadow: 0 14px 34px rgba(16, 24, 40, 0.10); }
section.light .btn-ghost {
  border-color: rgba(16, 24, 40, 0.25);
  color: var(--text);
  background: rgba(16, 24, 40, 0.03);
}
section.light .btn-ghost:hover { border-color: rgba(16, 24, 40, 0.5); background: rgba(16, 24, 40, 0.06); }
section.light .pill {
  border-color: rgba(16, 24, 40, 0.18);
  color: var(--text-dim);
  background: rgba(16, 24, 40, 0.03);
}
section.light .checklist li strong { color: var(--text); }
section.light .step { background: #ffffff; border-color: var(--card-border); box-shadow: 0 6px 24px rgba(16,24,40,0.05); }
section.light .stat { background: #ffffff; border-color: var(--card-border); }
section.light .price-table-wrap { border-color: var(--card-border); background: #ffffff; }
section.light .price-table th { color: var(--text); background: rgba(16,24,40,0.03); }
section.light .price-table th, section.light .price-table td { border-bottom-color: rgba(16,24,40,0.07); }
section.light .price-table tr:hover td { background: rgba(16,24,40,0.025); }
section.light details.faq { box-shadow: 0 4px 18px rgba(16,24,40,0.04); }
section.light input, section.light textarea, section.light select {
  background: #ffffff;
  border-color: rgba(16, 24, 40, 0.16);
  color: var(--text);
  color-scheme: light;
}
section.light input:focus, section.light textarea:focus, section.light select:focus {
  background: #ffffff;
  border-color: var(--accent);
}
section.light select option { background-color: #ffffff; color: #101828; }
section.light .hero-note { color: var(--text-faint); }
section.light .float-chip { background: #ffffff; border-color: var(--card-border); color: var(--text); box-shadow: 0 10px 30px rgba(16,24,40,0.12); }

/* Zoho form on light sections — dark-theme !important rules above need overrides */
section.light .zoho-form-wrap #zohoSupportWebToCase td.zsFontClass,
section.light .zoho-form-wrap #zohoSupportWebToCase .zsFontClass {
  color: var(--text-dim) !important;
}
section.light .zoho-form-wrap #zohoSupportWebToCase input[type='text'],
section.light .zoho-form-wrap #zohoSupportWebToCase input[type='date'],
section.light .zoho-form-wrap #zohoSupportWebToCase textarea,
section.light .zoho-form-wrap #zohoSupportWebToCase select {
  background: #ffffff !important;
  border: 1px solid rgba(16, 24, 40, 0.22) !important;
  color: #101828 !important;
  color-scheme: light;
}
section.light .zoho-form-wrap #zohoSupportWebToCase input[type='text']:focus,
section.light .zoho-form-wrap #zohoSupportWebToCase textarea:focus,
section.light .zoho-form-wrap #zohoSupportWebToCase select:focus {
  background: #ffffff !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.15);
}
section.light .zoho-form-wrap #zohoSupportWebToCase select option {
  background-color: #ffffff;
  color: #101828;
}
section.light .zoho-form-wrap #zohoSupportWebToCase input.manfieldbdr {
  border-left: 3px solid var(--accent) !important;
}
section.light .zoho-form-wrap #zohoSupportWebToCase input[type='button'] {
  color: var(--text-dim) !important;
  border-color: rgba(16, 24, 40, 0.22) !important;
}
section.light .zoho-form-wrap #zohoSupportWebToCase input[type='button']:hover {
  color: var(--text) !important;
  border-color: rgba(16, 24, 40, 0.4) !important;
  background: rgba(16, 24, 40, 0.04) !important;
}
section.light .zoho-form-wrap #zohoSupportWebToCase .wb_FtCon {
  color: var(--text-faint);
}

/* ---------- Feature-page pill nav ---------- */
a.pill { text-decoration: none; transition: border-color .2s, color .2s, background .2s; display: inline-block; }
a.pill:hover { border-color: var(--accent); color: var(--accent-bright); background: rgba(242,101,34,0.08); }
.pill-accent { border-color: rgba(242,101,34,0.5); color: var(--accent-bright); }

/* ---------- Permit type illustration cards ---------- */
.ptype-art { margin: -6px 0 14px; }
.ptype-art svg { width: 100%; height: auto; display: block; }

/* ---------- Payment processor logo strip ---------- */
.pay-logos { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }
.pay-logo {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(16, 24, 40, 0.12);
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  box-shadow: 0 3px 12px rgba(16, 24, 40, 0.06);
}
.pay-logo b { font-weight: 700; }
.pay-logo svg { margin-right: 8px; }
.pay-logo > span { margin-left: 3px; }

/* ---------- Savings estimator ---------- */
.sv-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.95rem;
  color: var(--text-dim);
}
.sv-row strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); white-space: nowrap; }
.sv-row.sv-net { border-bottom: 0; padding-top: 16px; }
.sv-row.sv-net strong { font-size: 2.1rem; color: var(--accent); }

/* ---------- Live stat pulse ---------- */
.live-dot {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent-bright);
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
  top: -3px;
  animation: livePulse 1.6s ease-out infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(242, 101, 34, 0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(242, 101, 34, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 101, 34, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  transition: top .2s;
}
.skip-link:focus { top: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Real app screenshots: framed phone renders ---------- */
.feature-shot img[src*="/scr-"],
.hero-shot img[src*="/scr-"] {
  width: auto;
  max-height: 600px;
  max-width: 100%;
}
/* the big home-page hero keeps its full-size phone */
.hero .hero-shot img[src*="/scr-"] { max-height: none; width: min(420px, 100%); }
/* index "Stop Chasing Smoke" phone matches the hero size */
.hero-shot.shot-lg img[src*="/scr-"] { max-height: none; width: min(420px, 100%); }

/* ---------- Fluent IMS logo panel (About) ---------- */
.fluent-logo-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  border-radius: var(--radius);
  background:
    radial-gradient(420px 260px at 50% 45%, rgba(242, 101, 34, 0.10), transparent 70%),
    linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--card-border);
  padding: 48px 32px;
}
.fluent-logo-panel img { filter: drop-shadow(0 12px 30px rgba(0,0,0,.45)); }

/* ---------- Admin login portal (login.ims-login.com flow) ---------- */
.portal-error {
  color: #c0392b;
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.25);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
}
.company-picker-heading {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}
.company-picker-sub {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.company-search-wrap { margin-bottom: 12px; }
.company-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  background: rgba(16, 24, 40, 0.02);
}
.company-list li { margin: 0; border-bottom: 1px solid rgba(16, 24, 40, 0.08); }
.company-list li:last-child { border-bottom: none; }
.company-option {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 0;
  background: #fff;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.company-option:hover,
.company-option:focus {
  background: rgba(242, 101, 34, 0.1);
  color: var(--accent);
  outline: none;
}
.company-option:disabled {
  opacity: 0.55;
  cursor: wait;
}
.company-empty {
  margin: 0 0 16px;
  padding: 18px 12px;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.9rem;
}
@keyframes login-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.login-portal.login-shake {
  animation: login-shake 0.4s ease;
}
