/* ============================================================
   TRUCKBOX v7 — SECTIONS (layout, fondos light, responsive)
   ============================================================ */

/* ---------- Cabecera de sección (corta) ---------- */
.sec-head { display: grid; justify-items: center; text-align: center; gap: 14px; max-width: 700px; margin: 0 auto clamp(34px, 5vw, 56px); }
.sec-head p { color: var(--t-muted); font-size: 15px; line-height: 1.7; max-width: 56ch; }
.sec-head--left { justify-items: start; text-align: left; margin-inline: 0; }
.sec-head .eyebrow { justify-self: center; }
.sec-head--left .eyebrow { justify-self: start; }

/* ---------- Fondos por zona ---------- */
.bg-white { background: #ffffff; }
.bg-soft { background: var(--bg-soft); }
.bg-mist { background: var(--bg-mist); }
.bg-hero-light {
  background:
    radial-gradient(1000px 520px at 14% -8%, rgba(6, 182, 212, 0.14), transparent 58%),
    radial-gradient(860px 500px at 100% 0%, rgba(56, 189, 248, 0.12), transparent 55%),
    linear-gradient(180deg, #f3f7fc 0%, #e9eef5 100%);
}
.hairline { position: relative; }
.hairline::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(8px, 1.6vw, 20px); }
.hero__glow-a { width: 620px; height: 360px; top: -100px; left: 46%; }
.hero__glow-b { width: 430px; height: 290px; right: -110px; top: 26%; }
.hero__glow-c { width: 360px; height: 250px; left: -140px; bottom: -70px; }

/* ---------- Paneles tabs ---------- */
.tabs-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
@media (min-width: 900px) {
  .tabpanel__foot-note { font-family: var(--font-mono); font-size: 11px; color: var(--t-muted); display: flex; align-items: center; gap: 8px; }
}

/* ---------- Split genérico ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 52px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split--wide-right { align-items: center; }
@media (min-width: 900px) { .split--wide-right { grid-template-columns: 0.9fr 1.1fr; } }

/* ---------- Cotizador ---------- */
.quote-grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
@media (min-width: 1080px) { .quote-grid { grid-template-columns: 1.55fr 1fr; gap: 24px; } }
.quote-form-card { padding: clamp(20px, 3vw, 32px); }
.quote-rail { display: grid; gap: 16px; }
.summary-card { padding: clamp(20px, 3vw, 26px); display: grid; gap: 13px; }
.summary-card .title { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan-deep); font-weight: 700; }
.quote-note { font-size: 11.5px; color: var(--t-muted); line-height: 1.6; text-align: center; font-family: var(--font-body); }

/* ---------- CTA final (bloque navy de contraste) ---------- */
.cta-panel {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  background:
    radial-gradient(680px 300px at 88% 0%, rgba(6, 182, 212, 0.22), transparent 58%),
    radial-gradient(500px 260px at 6% 100%, rgba(56, 189, 248, 0.1), transparent 55%),
    var(--grad-navy);
  border: 1px solid rgba(125, 211, 252, 0.24);
  padding: clamp(30px, 6vw, 58px);
  display: grid; gap: 18px;
}
.cta-panel .bg-grid { position: absolute; inset: 0; pointer-events: none; }
.cta-panel > * { position: relative; }
.cta-panel .h2 { color: #ffffff; }
.cta-panel p { color: var(--navy-text); max-width: 58ch; }
.cta-panel .eyebrow { border-color: rgba(125, 211, 252, 0.4); background: rgba(6, 182, 212, 0.12); color: #7dd3fc; }
.cta-panel .eyebrow--emerald { border-color: rgba(52, 211, 153, 0.45); background: rgba(16, 185, 129, 0.14); color: #6ee7b7; }
.cta-panel .btn--ghost { color: #dce9f7; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.24); }
.cta-panel .btn--ghost:hover { border-color: #7dd3fc; color: #ffffff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 6px; }

/* ---------- Utilidades responsive ---------- */
@media (max-width: 640px) {
  .hero__cta .btn { width: 100%; }
  .quote-grid { gap: 14px; }
}
