/* ==========================================================================
   Cignevo — style.css v2 ("premium trade" design)
   Palette: ink navy / safety orange / warm cream. Type: Archivo + Archivo Black.
   ========================================================================== */

:root {
  --navy: #0c1a26;
  --navy-2: #132638;
  --navy-line: #24405a;
  --navy-soft: #8ca3b8;
  --navy-softer: #aebfce;
  --cream: #f7f3ec;
  --cream-line: #e8e4dc;
  --ink: #0c1a26;
  --muted: #5a6b7c;
  --accent: #ff5a1f;
  --accent-dark: #d0410b;
  --accent-tint: #fff1ea;
  --green: #1d9e75;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(12, 26, 38, 0.08);
  --shadow-lg: 0 18px 50px rgba(12, 26, 38, 0.35);
  --font: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Archivo Black", "Archivo", "Arial Black", sans-serif;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 720px; }

/* Typography --------------------------------------------------------------- */
h1, h2, .display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.15; }
h3 { font-size: 1.1rem; font-weight: 700; }
.section-title { text-align: center; margin-bottom: 2.75rem; }
.eyebrow {
  display: inline-block;
  border: 1px solid #2a4258;
  color: var(--navy-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 90, 31, 0.35);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-lg { padding: 1rem 2rem; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn .icon { width: 1em; height: 1em; }

/* Logo ---------------------------------------------------------------------- */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.logo-mark { width: 30px; height: 30px; flex-shrink: 0; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.logo-text .v { color: var(--accent); }

/* Header ------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 26, 38, 0.94);
  backdrop-filter: blur(10px);
}
.nav-wrap { display: flex; align-items: center; gap: 1.6rem; padding-block: 0.85rem; }
.nav-wrap .logo { margin-right: auto; }
.site-nav { display: none; gap: 1.5rem; }
.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy-soft);
}
.site-nav a:hover { color: #fff; }
.nav-cta { display: none; padding: 0.55rem 1.15rem; font-size: 0.88rem; }
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-open .site-nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (min-width: 820px) {
  .site-nav { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Hero --------------------------------------------------------------------- */
.hero {
  background: var(--navy);
  color: #fff;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3.5rem, 8vw, 6rem);
}
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero h1 .hl { color: var(--accent); }
.hero-sub {
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  color: var(--navy-softer);
  margin-top: 1.25rem;
  max-width: 30rem;
}
.hero-cta-wrap { margin-top: 2rem; }
.hero-cta-note { color: #7e95aa; font-size: 0.85rem; margin-top: 0.7rem; }
.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: #7e95aa;
  font-weight: 500;
}
.trust-line li::before { content: "✓ "; color: var(--accent); font-weight: 800; }

/* Hero cards */
.hero-visual { display: grid; gap: 0.8rem; max-width: 380px; justify-self: center; width: 100%; }
.call-card {
  background: var(--navy-2);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.call-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.call-icon svg { width: 19px; height: 19px; }
.call-meta strong { display: block; font-size: 0.95rem; }
.call-meta span { font-size: 0.85rem; color: var(--navy-soft); }
.live-pill {
  margin-left: auto;
  background: #0e3b2c;
  color: #5dcaa5;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 99px;
}
.lead-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.1rem 1.2rem;
}
.lead-card-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-bottom: 1px solid #edf1f5;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  font-size: 0.92rem;
}
.lead-icon {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: #ffede5;
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.lead-icon svg { width: 16px; height: 16px; }
.lead-rows { display: grid; gap: 0.4rem; font-size: 0.92rem; color: #3d4f60; }
.lead-rows strong { color: var(--ink); }
.emergency-tag {
  margin-top: 0.85rem;
  background: var(--accent-tint);
  border-left: 3px solid var(--accent);
  padding: 0.5rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #b23407;
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.2fr 0.9fr; }
  .hero-visual { justify-self: end; }
}

/* Ticker -------------------------------------------------------------------- */
.ticker {
  background: var(--accent);
  color: #fff;
  overflow: hidden;
  padding: 0.55rem 0;
  white-space: nowrap;
}
.ticker-track {
  display: inline-block;
  animation: ticker 28s linear infinite;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}
.ticker-track span { margin-right: 2.5rem; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Stats ---------------------------------------------------------------------- */
.stats { background: var(--cream); padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.stat-grid { display: grid; gap: 1.1rem; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 1.9rem 1.6rem; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.stat-card p { color: var(--muted); font-size: 0.96rem; }
@media (min-width: 800px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }

/* How it works ----------------------------------------------------------------- */
.how { background: #fff; padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.steps { display: grid; gap: 1.1rem; }
.step {
  border: 1px solid var(--cream-line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--cream-line);
  line-height: 1;
}
.step h3 { margin: 0.7rem 0 0.4rem; }
.step p { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Demo strip --------------------------------------------------------------------- */
.demo-strip { background: var(--navy-2); color: #fff; padding: clamp(2.75rem, 6vw, 4rem) 0; }
.demo-inner { display: grid; gap: 1.75rem; align-items: center; }
.demo-strip h2 { margin-bottom: 0.5rem; }
.demo-strip p { color: var(--navy-soft); }
.demo-request {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  display: grid;
  gap: 0.8rem;
}
.demo-label {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--accent);
}
.demo-fields { display: grid; gap: 0.7rem; }
.demo-fields input {
  font: inherit;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--navy-line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.demo-fields input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.25);
}
.demo-fields .btn { white-space: nowrap; }
@media (min-width: 560px) {
  .demo-fields { grid-template-columns: 1fr auto; }
}
.demo-note { font-size: 0.88rem; color: var(--navy-soft); }
.demo-note a { color: var(--accent); font-weight: 700; text-decoration: none; }
.demo-desc { font-size: 0.95rem; color: #fff; margin-bottom: 0.7rem; }
.demo-consent { font-size: 0.78rem; color: var(--navy-soft); margin-top: 0.7rem; }
.demo-status { font-weight: 700; font-size: 0.95rem; }
.demo-status.ok { color: #5dcaa5; }
.demo-status.err { color: #f09595; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 800px) { .demo-inner { grid-template-columns: 1.4fr 1fr; } }

/* Features (bento) ----------------------------------------------------------------- */
.features { background: var(--navy); color: #fff; padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.features .section-title { color: #fff; }
.bento { display: grid; gap: 0.9rem; }
.tile {
  background: var(--navy-2);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
}
.tile-wide { display: flex; gap: 1.1rem; align-items: center; }
.tile-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.tile-icon svg { width: 21px; height: 21px; }
.tile-icon-sm { width: 22px; height: 22px; color: var(--accent); margin-bottom: 0.6rem; }
.tile h3 { color: #fff; font-size: 1rem; }
.tile p { color: var(--navy-soft); font-size: 0.9rem; margin-top: 0.3rem; }
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-wide { grid-column: span 2; }
}
@media (min-width: 960px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .tile-wide { grid-column: span 4; }
}

/* FAQ ---------------------------------------------------------------------------------- */
.faq { background: var(--cream); padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.faq-container { max-width: 760px; }
.faq-item {
  background: #fff;
  border-radius: 11px;
  margin-bottom: 0.7rem;
  overflow: hidden;
}
.faq-item summary {
  padding: 1.1rem 1.35rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 3rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--accent);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 1.35rem 1.2rem; color: var(--muted); }

/* CTA + form ------------------------------------------------------------------------------ */
.cta-form { background: var(--accent); color: #fff; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.form-grid { display: grid; gap: 2.5rem; align-items: start; }
.form-copy h2 { color: #fff; }
.form-copy > p { color: #ffd9c7; margin-top: 1rem; max-width: 28rem; }
.form-bullets { margin-top: 1.5rem; display: grid; gap: 0.6rem; font-weight: 500; }
.form-bullets li::before { content: "✓ "; font-weight: 800; }

.lead-form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(122, 35, 5, 0.35);
  padding: 1.75rem 1.5rem;
  display: grid;
  gap: 1rem;
}
.field-row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.lead-form label { display: grid; gap: 0.35rem; font-size: 0.88rem; font-weight: 700; }
.lead-form .optional { color: var(--muted); font-weight: 400; }
.lead-form input,
.lead-form select,
.lead-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid #e3e9ef;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.18);
}
.lead-form textarea { resize: vertical; }
.lead-form .btn-primary { box-shadow: none; }
.consent-check {
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 0.6rem !important;
  align-items: start;
  font-size: 0.82rem !important;
  font-weight: 400 !important;
  color: var(--muted);
  line-height: 1.45;
}
.consent-check input {
  width: 1.05rem !important;
  height: 1.05rem;
  margin-top: 0.15rem;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-fineprint { font-size: 0.78rem; color: var(--muted); text-align: center; }
.form-fineprint a { color: var(--muted); }
.hidden-field { display: none; }
@media (min-width: 900px) { .form-grid { grid-template-columns: 1fr 1.05fr; gap: 3.5rem; } }

/* Simple pages ------------------------------------------------------------------------------- */
.simple-page { padding: clamp(3rem, 7vw, 5rem) 0; }
.center-page { text-align: center; }
.center-page .lede { color: var(--muted); max-width: 34rem; margin: 1rem auto 0; font-size: 1.05rem; }
.center-page .btn { margin-top: 2rem; }
.success-mark {
  width: 74px; height: 74px;
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
  border-radius: 50%;
}
.legal-copy h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 0.4rem; }
.legal-date { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }
.legal-copy h2 { font-family: var(--font); font-weight: 700; font-size: 1.25rem; margin: 2rem 0 0.6rem; }
.legal-copy p { margin-bottom: 0.9rem; }

/* Footer ----------------------------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--navy-soft); padding: 2.75rem 0 1.5rem; font-size: 0.92rem; }
.footer-grid {
  display: grid;
  gap: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-tag { margin-top: 0.5rem; font-size: 0.88rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.footer-nav a { text-decoration: none; color: var(--navy-soft); }
.footer-nav a:hover { color: #fff; }
.footer-contact a { color: var(--accent); text-decoration: none; font-weight: 700; }
.footer-legal { padding-top: 1.25rem; font-size: 0.82rem; color: #5a7286; }
.footer-legal a { color: #5a7286; }
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1.6fr 1fr; align-items: start; }
  .footer-contact { text-align: right; }
}

/* Accessibility -------------------------------------------------------------------------------------- */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  *, *::before, *::after { transition: none !important; }
}
