/* ============================================================
   CargAuto Design System — Shared Tokens & Components
   Linked from all pages. Page-specific CSS stays inline.
   ============================================================ */

/* ── Fonts ── */
@font-face {
  font-family: 'BorisBlackBloxx';
  src: url('../fonts/BorisBlackBloxx.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ── Tokens ── */
:root {
  --color-primary:   #13929b;
  --color-secondary: #09f1a7;
  --color-navy:      #1c4175;
  --color-dark-navy: #182b4d;
  --color-surface:   #eef5ee;
  --color-muted:     #8a9bb0;
  --ease-out-expo:   cubic-bezier(0.16,1,0.3,1);
  --ease-out-quart:  cubic-bezier(0.25,1,0.5,1);
  --ease-strong:     cubic-bezier(0.23,1,0.32,1);
  --ease-in-out-strong: cubic-bezier(0.77,0,0.175,1);
  --ease-drawer:     cubic-bezier(0.32,0.72,0,1);
  /* Semantic z-index scale */
  --z-fab:     30;
  --z-menu:    40;
  --z-header:  50;
  --z-toast:   60;
  --z-skip:    70;
}

/* ── Global base ── */
*, *::before, *::after { box-sizing: border-box; }
body { overflow-x: hidden; }
html { scroll-behavior: smooth; }
h1, h2, h3 { text-wrap: balance; font-kerning: normal; }
p { text-wrap: pretty; }
button, a, input, select { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 3px; border-radius: 4px; }

/* ── Material Symbols ── */
.material-symbols-outlined { font-variation-settings: 'FILL' 0,'wght' 300,'GRAD' 0,'opsz' 24; }

/* ── Typography utilities ── */
.label-caps { font-family: 'Lato', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.text-shadow-premium { text-shadow: 0 4px 12px rgba(0,0,0,0.18); }
.boris-style { font-family: 'BorisBlackBloxx', Impact, sans-serif; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.1; }

/* ── Surface utilities ── */
.glass-nav { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.glass-panel { backdrop-filter: blur(15px); background: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.4); }
.card-shadow { box-shadow: 0 4px 24px rgba(28,65,117,0.08); }

/* ── Skip link ── */
.skip-link { position: absolute; top: -100%; left: 1rem; z-index: var(--z-skip); background: var(--color-primary); color: #fff; padding: .5rem 1rem; border-radius: 0 0 8px 8px; font-weight: 700; font-size: .875rem; text-decoration: none; }
.skip-link:focus { top: 0; }

/* ── Logo navbar ── */
header .logo-nav { height: 80px !important; width: auto !important; animation: none !important; transition: transform 0.2s ease; }
@media (hover: hover) and (pointer: fine) {
  header .logo-nav:hover { transform: scale(1.03); }
}

/* ── Language toggle ── */
.lang-toggle { display: flex; align-items: center; gap: 2px; border: 1px solid rgba(19,146,155,0.25); border-radius: 999px; padding: 2px; flex-shrink: 0; }
.lang-btn { border: none; background: transparent; font-size: .6875rem; font-weight: 800; letter-spacing: .04em; padding: .3rem .55rem; border-radius: 999px; cursor: pointer; color: #4a5e78; line-height: 1; transition: background-color .15s ease-out, color .15s ease-out; }
.lang-btn.active { background: var(--color-primary); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .lang-btn:not(.active):hover { color: var(--color-primary); }
}
.lang-toggle-mobile { margin-top: .5rem; padding-top: 1rem; border-top: 1px solid rgba(19,146,155,0.15); }

/* ── Buttons ── */
.btn-gradient {
  /* Darker teal than --color-primary specifically for white-on-fill text: 5.08:1 contrast (AA) vs 3.74:1 for #13929b */
  background: #0f7a82;
  transition: transform .18s var(--ease-strong), filter .18s ease-out;
}
.btn-gradient:active { transform: scale(0.97); filter: brightness(0.94); }
@media (hover: hover) and (pointer: fine) {
  .btn-gradient:hover { transform: scale(1.01); filter: brightness(1.12); }
}

.btn-outline-primary { border: 2px solid var(--color-primary); color: var(--color-primary); background: transparent; transition: background .18s ease-out, color .18s ease-out; }
.btn-outline-primary:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn-outline-primary:hover { background: var(--color-primary); color: #fff; }
}
.btn-outline-navy { border: 2px solid var(--color-navy); color: var(--color-navy); background: transparent; transition: background .18s ease-out, color .18s ease-out; }
.btn-outline-navy:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn-outline-navy:hover { background: var(--color-navy); color: #fff; }
}
.btn-outline-white { border: 2px solid rgba(255,255,255,0.4); color: #fff; background: transparent; transition: background .18s ease-out; }
@media (hover: hover) and (pointer: fine) {
  .btn-outline-white:hover { background: rgba(255,255,255,0.1); }
}

/* ── Brand strip ── */
.brand-pill { font-family: 'Lato', sans-serif; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.02em; color: #1c4175; text-transform: uppercase; }
.brand-divider { color: #c8d8e8; font-size: 1rem; user-select: none; }

/* ── Brand marquee ── */
@keyframes brandScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.brand-scroll-track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.brand-scroll-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  white-space: nowrap;
  animation: brandScroll 32s linear infinite;
  will-change: transform;
}
.brand-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(200,216,232,0.85);
  background: rgba(255,255,255,0.82);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  color: #1c4175;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-scroll-sep {
  color: #c8d8e8;
  font-size: 0.6rem;
  user-select: none;
  flex-shrink: 0;
}
@media (prefers-reduced-motion: reduce) {
  .brand-scroll-inner {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    white-space: normal;
    padding: 0 1.5rem;
  }
  .brand-scroll-dup { display: none; }
  .brand-scroll-track {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ── Cart badge ── */
.cart-badge { display: none; position: absolute; top: -8px; right: -8px; background: var(--color-secondary); color: var(--color-dark-navy); border-radius: 50%; width: 20px; height: 20px; font-size: .68rem; font-weight: 900; align-items: center; justify-content: center; }

/* ── Toast ── */
.toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(calc(100% + 3rem)); z-index: var(--z-toast); background: var(--color-navy); border: 1px solid rgba(9,241,167,.3); border-radius: 100px; padding: .85rem 1.75rem; font-size: .88rem; font-weight: 700; color: #eef5ee; display: flex; align-items: center; gap: .6rem; box-shadow: 0 8px 32px rgba(0,0,0,.2); transition: transform .26s var(--ease-strong); white-space: nowrap; font-family: 'Lato', sans-serif; }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast-icon { color: var(--color-secondary); }

/* ── WhatsApp FAB (contextual: button opens an intent panel, never navigates directly) ── */
.whatsapp-fab-wrap { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: var(--z-fab); }
.whatsapp-fab { background: #25D366; border-radius: 50%; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.45); transition: transform .18s var(--ease-strong), opacity .2s ease-out; border: none; cursor: pointer; }
.whatsapp-fab:active { transform: scale(0.93); }
.whatsapp-fab svg { width: 28px; height: 28px; }
@media (hover: hover) and (pointer: fine) {
  .whatsapp-fab:hover { transform: scale(1.1); }
}
/* Fade out while the page is actively scrolling so it never sits on top of text the user is mid-read on — reappears once scrolling settles */
@media (max-width: 767px) {
  .whatsapp-fab.fab-scrolling { opacity: .35; transform: scale(0.88); pointer-events: none; }
}

.whatsapp-fab-panel {
  position: absolute; bottom: calc(100% + 12px); right: 0;
  width: 280px; max-width: calc(100vw - 3rem);
  background: #182b4d; border: 1px solid rgba(9,241,167,0.2); border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
  padding: 8px;
  opacity: 0; transform: translateY(10px) scale(0.96); pointer-events: none;
  transition: opacity .2s var(--ease-strong), transform .2s var(--ease-strong);
  transform-origin: bottom right;
}
.whatsapp-fab-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.whatsapp-fab-panel-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; color: #eef5ee; font-weight: 700; font-size: .85rem; font-family: 'Lato', sans-serif; }
.whatsapp-fab-close { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; color: rgba(238,245,238,.6); border-radius: 6px; background: transparent; border: none; cursor: pointer; flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) { .whatsapp-fab-close:hover { background: rgba(255,255,255,.08); color: #eef5ee; } }
.whatsapp-fab-panel a[role="menuitem"] { display: flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 8px; color: #eef5ee; font-size: .875rem; font-family: 'Lato', sans-serif; text-decoration: none; transition: background .15s ease-out, color .15s ease-out; }
@media (hover: hover) and (pointer: fine) { .whatsapp-fab-panel a[role="menuitem"]:hover { background: rgba(9,241,167,0.1); color: #09f1a7; } }
@media (prefers-reduced-motion: reduce) { .whatsapp-fab-panel { transition: none; } }

/* ── Scroll reveal ── */
.reveal { transition: opacity .42s var(--ease-strong), transform .42s var(--ease-strong); }
.reveal.will-animate { opacity: 0; transform: translateY(16px); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .07s; }
.reveal-delay-2 { transition-delay: .14s; }
.reveal-delay-3 { transition-delay: .21s; }

/* ── Hero entrance stagger (above-fold, pure CSS, GPU-only) ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-animate > * {
  opacity: 0;
  animation: heroFadeUp 0.42s var(--ease-strong) forwards;
}
.hero-animate > :nth-child(1) { animation-delay: 0.04s; }
.hero-animate > :nth-child(2) { animation-delay: 0.11s; }
.hero-animate > :nth-child(3) { animation-delay: 0.18s; }
.hero-animate > :nth-child(4) { animation-delay: 0.25s; }
.hero-animate > :nth-child(5) { animation-delay: 0.32s; }

/* ── Tab panel entrance (producto.html) ── */
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Nav link hover underline (desktop mouse only) ── */
@media (hover: hover) and (pointer: fine) {
  nav a:not([aria-current]) { position: relative; }
  nav a:not([aria-current])::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-primary);
    transition: width 0.22s var(--ease-out-quart);
  }
  nav a:not([aria-current]):hover::after { width: 100%; }
}

/* ── Section header utilities ── */
.section-title { font-family: 'BorisBlackBloxx', Impact, sans-serif; text-transform: uppercase; font-size: clamp(1.8rem,4vw,2.5rem); color: #1c4175; letter-spacing: -0.02em; line-height: 1.1; }
.section-link { font-family: 'Lato', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-primary); display: flex; align-items: center; gap: 0.375rem; transition: opacity 0.18s ease-out; }
@media (hover: hover) and (pointer: fine) { .section-link:hover { opacity: 0.65; } }

/* ── Compat card accent ── */
.compat-accent { background: rgba(19,146,155,0.06); border: 1px solid rgba(19,146,155,0.2); border-radius: 12px; padding: 1.25rem 1.5rem; }

/* ── Charging calculator ── */
.charger-opt-card {
  border: 2px solid rgba(200,216,232,0.65);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  cursor: pointer;
  transition: border-color 0.18s ease-out, background 0.18s ease-out;
  user-select: none;
}
.charger-opt input[type="radio"]:checked + .charger-opt-card {
  border-color: #13929b;
  background: rgba(19,146,155,0.07);
}
.charger-radio-dot {
  width: 17px; height: 17px;
  border-radius: 50%;
  border: 1.5px solid #c8d8e8;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.18s ease-out, background 0.18s ease-out;
}
.charger-radio-dot::after {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity 0.15s ease-out;
}
.charger-opt input[type="radio"]:checked + .charger-opt-card .charger-radio-dot {
  border-color: #13929b;
  background: #13929b;
}
.charger-opt input[type="radio"]:checked + .charger-opt-card .charger-radio-dot::after {
  opacity: 1;
}
.calc-preset {
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  border: 1px solid rgba(200,216,232,0.8);
  color: #4a5e78;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.15s ease-out, color 0.15s ease-out, background 0.15s ease-out;
  white-space: nowrap;
}
.calc-preset.active, .calc-preset:active {
  border-color: #13929b;
  color: #13929b;
  background: rgba(19,146,155,0.07);
}
@media (hover: hover) and (pointer: fine) {
  .charger-opt-card:hover { border-color: #8a9bb0; }
  .calc-preset:hover { border-color: #13929b; color: #13929b; }
}
.calc-time-h {
  font-family: 'BorisBlackBloxx', Impact, sans-serif;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1;
  display: block;
}
.calc-time-m {
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-top: 3px;
  opacity: 0.7;
}

/* ── WhatsApp FAB nudge: one-time attention pulse after 30s idle, then stops for the session ── */
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50%       { box-shadow: 0 4px 36px rgba(37,211,102,.65); }
}
@media (prefers-reduced-motion: no-preference) {
  .whatsapp-fab.nudge { animation: fabPulse 1.1s ease-in-out 3; }
}

/* ── Stat number entrance ── */
@keyframes statFadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal.visible .stat-num { animation: statFadeUp 0.4s var(--ease-strong) forwards; }

/* ── Category cards: ensure absolute-fill backgrounds stretch with flex-1 ── */
#catalogo .flex-1[style*="min-height"] {
  position: relative;
}

/* ── Section description text: 15px for readability on mobile ── */
.section-body {
  font-size: 0.9375rem; /* 15px */
  line-height: 1.65;
  color: var(--color-on-surface-variant, #4a5e78);
  max-width: 65ch;
}

/* ── Trust strip icon size ── */
.trust-icon { font-size: 28px !important; }

/* ── Dark product card (the card IS the product hardware) ── */
.prod-card { background:linear-gradient(160deg,#1c4175 0%,#182b4d 100%); border:1px solid rgba(9,241,167,0.1); border-radius:16px; overflow:hidden; transition:transform .22s var(--ease-out-expo), box-shadow .22s var(--ease-out-quart), border-color .18s ease-out; cursor:pointer; }
@media (hover: hover) and (pointer: fine) {
  .prod-card:hover { transform:translateY(-3px); box-shadow:0 12px 36px rgba(9,241,167,0.15); border-color:rgba(9,241,167,0.28); }
  .prod-card:hover .prod-card-img span { filter:drop-shadow(0 6px 20px rgba(9,241,167,0.35)) scale(1.025); }
  .prod-card:hover .prod-card-img img { transform:scale(1.025); }
}
.prod-card-img { background:linear-gradient(145deg,#182b4d 0%,#0f1c33 100%); height:200px; display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; padding:16px; box-sizing:border-box; }
.prod-card-img::before { content:''; position:absolute; inset:0; background:radial-gradient(circle at 50% 60%, rgba(9,241,167,0.08) 0%, transparent 70%); }
.prod-card-img img { border-radius:8px; box-shadow:0 2px 20px rgba(0,0,0,0.32); transition:transform .3s var(--ease-out-quart); }
.prod-card-badge-img { position:absolute; top:12px; left:12px; z-index:2; background:rgba(9,241,167,0.18); border:1px solid rgba(9,241,167,0.4); color:#09f1a7; font-size:.6rem; font-weight:600; padding:.2rem .6rem; border-radius:100px; letter-spacing:.04em; text-transform:uppercase; white-space:nowrap; }
.prod-card-discount { position:absolute; top:12px; right:12px; background:#e53e3e; color:#fff; font-size:.65rem; font-weight:900; padding:.22rem .65rem; border-radius:100px; white-space:nowrap; z-index:2; }
.prod-card-body { padding:1rem 1.15rem 1.2rem; display:flex; flex-direction:column; flex:1; }
.prod-card-name { font-family:'Lato',sans-serif; font-size:1.1rem; font-weight:700; line-height:1.3; color:#eef5ee; margin-bottom:.4rem; }
.prod-card-desc { color:#c4d4e3; font-size:.875rem; line-height:1.6; margin-bottom:.75rem; flex:1; min-height:calc(0.875rem * 1.6 * 2); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.prod-card-price { color:#09f1a7; font-family:'Lato',sans-serif; font-weight:800; font-size:1.35rem; }
.prod-card-price-orig { color:#7a96b4; font-size:.82rem; text-decoration:line-through; margin-left:.4rem; }
.prod-card-cuota { font-size:.76rem; margin-top:.35rem; color:rgba(238,245,238,0.6); }
.prod-card-actions { display:flex; gap:.5rem; margin-top:.9rem; }
.prod-card-detail { flex:1; min-height:44px; display:flex; align-items:center; justify-content:center; border-radius:8px; font-weight:700; font-size:.78rem; color:#fff; background:#0f7a82; border:1px solid transparent; transition:filter .18s ease-out; text-decoration:none; }
@media (hover:hover) and (pointer:fine) { .prod-card-detail:hover { filter:brightness(1.12); } }
.prod-card-btn-add { min-height:44px; width:44px; display:flex; align-items:center; justify-content:center; border-radius:8px; background:transparent; border:1.5px solid rgba(238,245,238,0.32); color:#eef5ee; cursor:pointer; transition:background .18s ease-out, border-color .18s ease-out, color .18s ease-out; flex-shrink:0; }
@media (hover:hover) and (pointer:fine) { .prod-card-btn-add:not(:disabled):hover { background:rgba(9,241,167,0.1); border-color:rgba(9,241,167,0.42); color:#09f1a7; } }
.prod-card-btn-add:disabled { opacity:.45; cursor:not-allowed; }
.prod-card-btn-add:not(:disabled):active { transform:scale(0.97); background:rgba(9,241,167,0.18); }
.prod-card.in-cart { border-color:rgba(9,241,167,0.7); box-shadow:0 8px 24px rgba(9,241,167,0.12); }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.will-animate { transition: none; opacity: 1; transform: none; }
  .reveal-delay-1, .reveal-delay-2, .reveal-delay-3 { transition-delay: 0s; }
  .btn-gradient, .btn-gradient:hover, .btn-gradient:active { transform: none; transition: none; filter: none; }
  .btn-outline-primary:active, .btn-outline-navy:active { transform: none; }
  .logo-nav, .whatsapp-fab { animation: none; transition: none; }
  .hero-animate > * { opacity: 1; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ═══════════════════════════════════════════════════════════
   RED PÚBLICA — tokens y componentes
   ═══════════════════════════════════════════════════════════ */
:root {
  --rp-grafito:    #182b4d;    /* deep navy oficial */
  --rp-amber:      #13929b;    /* teal primario → CTA */
  --rp-amber-dark: #0d7a82;    /* teal oscuro → hover */
  --rp-copper:     #09f1a7;    /* verde energía → unifilar */
  --rp-steel:      #4e6070;
  --rp-aislante:   #eef5ee;    /* superficie oficial */
  --rp-border:     rgba(28,65,117,0.18);
  --rp-line:       rgba(28,65,117,0.3);
}

/* ── CTA amber (Red Pública primary action) ── */
.btn-amber {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  background: var(--rp-amber-dark);
  color: #ffffff;
  border-radius: 10px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  transition: filter 0.18s ease-out, transform 0.18s var(--ease-strong);
  text-decoration: none;
  cursor: pointer;
  border: none;
  line-height: 1;
}
.btn-amber:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn-amber:hover { filter: brightness(1.12); }
}

/* ── Hero with photographic background ── */
.rp-hero-bg {
  background-color: var(--rp-grafito);
  background-image:
    linear-gradient(
      105deg,
      rgba(24,43,77,0.88) 0%,
      rgba(24,43,77,0.72) 55%,
      rgba(24,43,77,0.38) 100%
    ),
    url('../img/hero-garage.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* ── Unifilar diagram ── */
.uni-node {
  border: 1.5px solid var(--rp-border);
  transition: border-color 0.32s ease-out, box-shadow 0.32s ease-out;
}
.uni-node.uni-lit {
  border-color: var(--rp-copper);
}
/* Horizontal connector (desktop) */
.uni-conn-h {
  position: relative;
  width: 28px;
  height: 2px;
  background: var(--rp-line);
  overflow: hidden;
  flex-shrink: 0;
}
.uni-conn-h::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%; width: 0%;
  background: var(--rp-copper);
  transition: width 0.28s linear;
}
.uni-conn-h.uni-active::after { width: 100%; }
/* Vertical connector (mobile) */
.uni-conn-v {
  position: relative;
  width: 2px;
  height: 24px;
  background: var(--rp-line);
  overflow: hidden;
  margin: 0 auto;
}
.uni-conn-v::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 0%;
  background: var(--rp-copper);
  transition: height 0.28s linear;
}
.uni-conn-v.uni-active::after { height: 100%; }

/* ── Estimador inputs ── */
.est-field {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--rp-border);
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9375rem;
  color: #182b4d;
  background: #ffffff;
  outline: none;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}
.est-field:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(19,146,155,0.12);
}
.est-field::-webkit-inner-spin-button,
.est-field::-webkit-outer-spin-button { opacity: 0.5; }

/* ── Red Pública FAQ panel ── */
.rp-faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s cubic-bezier(0.32,0.72,0,1);
}
.rp-faq-item.open .rp-faq-panel { max-height: 420px; }
.rp-faq-chevron {
  transition: transform 0.22s var(--ease-strong);
  display: inline-block;
  flex-shrink: 0;
}
.rp-faq-item.open .rp-faq-chevron { transform: rotate(180deg); }

/* ── Lead form inputs ── */
.rp-form-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(200,216,232,0.8);
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9375rem;
  color: #182b4d;
  background: #ffffff;
  outline: none;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}
.rp-form-field:focus {
  border-color: #13929b;
  box-shadow: 0 0 0 3px rgba(19,146,155,0.1);
}
.rp-form-field::placeholder { color: #8a9bb0; }

/* ── Public Network feature (home page — CargAuto Red Pública destacada) ── */
.public-network-feature__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) {
  .public-network-feature__grid { grid-template-columns: 55% 45%; gap: 3rem; align-items: start; }
}

.public-network-feature__panel { background: #152032; border: 1px solid rgba(78,96,112,0.3); border-radius: 16px; padding: 1.25rem 1.5rem; }
.public-network-feature__panel-label {
  display: inline-flex; align-items: center; gap: .375rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #13929b; background: rgba(19,146,155,0.1); border: 1px solid rgba(19,146,155,0.3); border-radius: 100px; padding: .3rem .8rem; margin-bottom: 1rem;
}
.public-network-feature__panel-row { display: flex; align-items: center; gap: .625rem; padding: .7rem 0; border-top: 1px solid rgba(78,96,112,0.2); }
.public-network-feature__panel-row:first-of-type { border-top: none; }
.public-network-feature__panel-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: #09f1a7; }
.public-network-feature__panel-text { font-size: .875rem; color: #c8d8e8; }
.public-network-feature__panel-text strong { color: #eef5ee; font-weight: 700; }

.public-network-feature__benefits { border-top: 1px solid rgba(200,216,232,0.12); }
.public-network-feature__benefit { display: flex; gap: .875rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(200,216,232,0.12); }
.public-network-feature__benefit h3 { font-weight: 700; color: #fff; font-size: .9375rem; margin-bottom: .2rem; }
.public-network-feature__benefit p { font-size: .8125rem; color: rgba(255,255,255,0.55); line-height: 1.5; margin: 0; }
@media (min-width: 768px) {
  .public-network-feature__benefits { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 2rem; }
}

.public-network-feature__flow-title { font-size: .8125rem; font-weight: 700; color: #8a9bb0; letter-spacing: .04em; margin-bottom: 1.25rem; }

/* ── Reduced motion: Red Pública ── */
@media (prefers-reduced-motion: reduce) {
  .uni-node, .uni-conn-h, .uni-conn-v { transition: none; }
  .uni-conn-h::after { transition: none; }
  .uni-conn-v::after { transition: none; }
  .rp-faq-panel, .rp-faq-chevron { transition: none; }
  .rp-faq-item.open .rp-faq-panel { max-height: 420px; }
  .btn-amber { transition: none; }
}
