/* ==========================================================================
   Who's Responding — Public Site
   Dark theme · red 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(224, 36, 47, 0.45);
  --text: #eef1f7;
  --text-dim: #9aa3b5;
  --text-faint: #6b7488;
  --red: #e0242f;
  --red-bright: #ff3b45;
  --red-glow: rgba(224, 36, 47, 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(--red); 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(224,36,47,0.14), transparent 60%),
    radial-gradient(900px 600px at 10% 10%, rgba(43,66,140,0.18), 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(--red-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(--red-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: rgba(7, 11, 20, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  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(--red-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(224,36,47,0.14); color: #fff; }
.lang-menu a strong { color: var(--red-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(--red-bright), var(--red));
  color: #fff;
  box-shadow: 0 8px 30px var(--red-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px var(--red-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(224,36,47,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(224,36,47,0.12);
  border: 1px solid rgba(224,36,47,0.4);
  border-radius: 14px;
  padding: 12px 14px;
}
.alert-card .tag {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--red-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(--red-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(224,36,47,0.12);
  border: 1px solid rgba(224,36,47,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--red-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(--red-bright);
}

/* ---------- Split rows ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.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(224,36,47,0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff3b45' 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(224,36,47,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(224,36,47,0.12), rgba(224,36,47,0.03));
  border: 1px solid rgba(224,36,47,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(224,36,47,0.4);
  background: linear-gradient(165deg, rgba(224,36,47,0.10), rgba(224,36,47,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(--red-bright);
  background: rgba(224,36,47,0.14);
  border: 1px solid rgba(224,36,47,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(--red-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(224,36,47,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(--red);
  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(--red-bright);
  background: rgba(224,36,47,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 (contact) ---------- */
.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;
}
/* Hide Zoho's duplicate form title — page already has "Send us a message" */
.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(--red) !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(--red) !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(--red) !important;
  color: #fff !important;
  border-color: var(--red) !important;
}
.zoho-form-wrap #zohoSupportWebToCase input[type='submit']:hover {
  background: var(--red-bright) !important;
  border-color: var(--red-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(--red); color: #fff; background: rgba(224,36,47,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, minmax(190px, 1fr));
  gap: 2px 14px;
  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(224,36,47,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(--red-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(224,36,47,.14));
}
.feature-shot.sm img { width: min(520px, 92%); }
.feature-shot::before {
  content: "";
  position: absolute;
  inset: 12% 6%;
  background: radial-gradient(closest-side, rgba(224,36,47,0.13), transparent 75%);
  z-index: -1;
}

/* ---------- 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(224,36,47,.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; margin-top: 18px; }
  .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 { 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; }
}
