/* ============================================================
   TRUCKBOX v7 — COMPONENTS (LIGHT)
   ============================================================ */

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  background: radial-gradient(1100px 560px at 50% 30%, #dfe8f3 0%, #e9eef5 55%, #f4f7fb 100%);
  transition: opacity 0.55s var(--ease-smooth), visibility 0.55s;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__brand { display: flex; align-items: center; gap: 14px; }
.preloader__mark {
  width: 56px; height: 56px; border-radius: 17px;
  background: var(--grad-logo);
  display: grid; place-items: center; color: var(--ink);
  box-shadow: var(--glow-cyan);
  animation: pulse-soft 1.6s ease-in-out infinite;
}
.preloader__title { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; color: var(--ink); }
.preloader__title em { color: var(--cyan); font-style: normal; }
.preloader__bar { width: min(300px, 70vw); height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.preloader__fill { height: 100%; width: 0%; background: var(--grad-brand); border-radius: 4px; }
.preloader__pct { font-family: var(--font-mono); font-size: 11px; color: var(--t-muted); letter-spacing: 0.18em; }

/* ---------- Top tape (bloque navy de contraste) ---------- */
.toptape { background: var(--navy-1); border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-family: var(--font-mono); font-size: 11px; color: var(--navy-text); }
.toptape__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.toptape__group { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.toptape__live { display: inline-flex; align-items: center; gap: 9px; color: #6ee7b7; font-weight: 700; }
.toptape a { color: var(--navy-text); }
.toptape a:hover { color: #7dd3fc; transition: color var(--dur-1); }
.toptape .sep { color: rgba(255, 255, 255, 0.22); }
@media (max-width: 760px) { .toptape__group:nth-child(2) { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90; height: var(--header-h);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-2), border-color var(--dur-2), box-shadow var(--dur-2);
}
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.92); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--grad-logo);
  display: grid; place-items: center; color: var(--ink);
  font-family: "Material Symbols Outlined"; font-size: 24px;
  box-shadow: var(--glow-cyan-soft);
  transition: transform var(--dur-2) var(--ease-out-expo);
}
.brand:hover .brand__mark { transform: scale(1.08) rotate(-6deg); }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.brand__name em { color: var(--cyan); font-style: normal; }
.brand__sub { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.32em; color: var(--cyan-deep); text-transform: uppercase; margin-top: 4px; }

.nav { display: none; align-items: center; gap: 26px; }
.nav a {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--t-body); position: relative; padding-block: 6px; transition: color var(--dur-1);
}
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-2) var(--ease-out-expo); }
.nav a:hover, .nav a.is-active { color: var(--cyan-deep); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header-cta { display: none; align-items: center; gap: 12px; }
.burger { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: #ffffff; color: var(--ink); transition: all var(--dur-1); }
.burger:hover { border-color: var(--cyan); color: var(--cyan-deep); }
@media (min-width: 1024px) { .nav { display: flex; } .header-cta { display: flex; } .burger { display: none; } }

/* ---------- Drawer móvil ---------- */
.drawer { position: fixed; inset: 0; z-index: 150; display: flex; visibility: hidden; pointer-events: none; }
.drawer__back { position: absolute; inset: 0; background: rgba(11, 19, 43, 0.4); backdrop-filter: blur(6px); opacity: 0; transition: opacity var(--dur-2); }
.drawer__panel {
  position: relative; margin-left: auto; width: min(380px, 92vw); height: 100%;
  background: #ffffff; border-left: 1px solid var(--line);
  padding: 22px 26px; display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform 0.5s var(--ease-out-expo); overflow-y: auto;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer.is-open .drawer__back { opacity: 1; }
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.drawer__close { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-md); background: var(--bg-mist); color: var(--ink); }
.drawer__nav { display: flex; flex-direction: column; gap: 4px; padding-block: 20px; }
.drawer__nav a {
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.04em; color: var(--ink-soft);
  padding: 13px 14px; border-radius: var(--r-md); display: flex; align-items: center; gap: 12px;
  transition: background var(--dur-1), color var(--dur-1);
}
.drawer__nav a .ico { font-size: 18px; color: var(--cyan); }
.drawer__nav a:hover { background: var(--bg-cyan-mist); color: var(--cyan-deep); }
.drawer__cta { margin-top: auto; display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.drawer__foot { font-family: var(--font-mono); font-size: 10px; color: var(--t-faint); margin-top: 16px; text-align: center; letter-spacing: 0.14em; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: clamp(38px, 5vw, 58px); align-items: center; padding-block: clamp(44px, 6vw, 84px) clamp(30px, 4vw, 54px); }
.hero__copy { display: grid; gap: 22px; }
.hero__sub { color: var(--t-body); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.7; max-width: 56ch; }
.hero__sub strong { color: var(--ink); font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.hero-stat { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 11.5px; color: var(--t-muted); }
.hero-stat .ico { color: var(--cyan); font-size: 18px; }
@media (max-width: 640px) {
  .hero__badges { justify-content: center; text-align: center; }
  .hero__badges .hero-stat { justify-content: center; }
}
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.15fr 0.85fr; } }
.hero__media { position: relative; }

/* HUD (light) */
.hud__panel {
  position: relative; border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glow-cyan-soft), var(--shadow-panel);
  padding: clamp(18px, 3vw, 26px);
  overflow: hidden;
}
.hud__panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(120deg, rgba(6, 182, 212, 0.05), transparent 40%),
    repeating-linear-gradient(0deg, rgba(8, 145, 178, 0.035) 0 1px, transparent 1px 15px);
}
.hud__corner { position: absolute; width: 56px; height: 56px; top: 10px; left: 10px; border-radius: 10px 0 0 0; border-top: 1px solid var(--line-accent); border-left: 1px solid var(--line-accent); pointer-events: none; }
.hud__corner--br { top: auto; left: auto; right: 10px; bottom: 10px; border-radius: 0 0 10px 0; border: 0; border-bottom: 1px solid var(--line-accent); border-right: 1px solid var(--line-accent); }
.hud__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); position: relative; }
.hud__title { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--cyan-deep); letter-spacing: 0.04em; }
.hud__subtitle { font-family: var(--font-mono); font-size: 9.5px; color: var(--t-faint); letter-spacing: 0.16em; margin-top: 3px; }
.hud__tag { font-family: var(--font-mono); font-size: 9px; font-weight: 800; letter-spacing: 0.12em; padding: 5px 10px; border-radius: var(--r-sm); background: rgba(8, 145, 178, 0.1); border: 1px solid var(--line-accent); color: var(--cyan-deep); }
.hud__label { font-family: var(--font-mono); font-size: 10px; color: var(--t-muted); text-transform: uppercase; letter-spacing: 0.13em; display: block; margin: 15px 0 9px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg__btn { padding: 10px 6px; border-radius: var(--r-md); border: 1px solid var(--line); background: #ffffff; color: var(--t-body); font-family: var(--font-mono); font-size: 11px; font-weight: 700; transition: all var(--dur-2); }
.seg__btn:hover { border-color: var(--cyan); color: var(--cyan-deep); }
.seg__btn.is-active { background: var(--grad-brand); border-color: transparent; color: #ffffff; box-shadow: var(--glow-cyan-soft); }
.seg__btn small { display: block; font-size: 9px; opacity: 0.8; font-weight: 500; margin-top: 2px; }

.readout { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.cell { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; position: relative; }
.cell__label { font-family: var(--font-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.11em; color: var(--t-muted); }
.cell__val { font-family: var(--font-mono); font-weight: 800; color: var(--ink); margin-top: 6px; }
.cell__val--big { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--cyan-deep); letter-spacing: -0.02em; }
.cell__hint { font-family: var(--font-mono); font-size: 9.5px; color: var(--emerald-deep); margin-top: 5px; display: flex; align-items: center; gap: 5px; }
.cell__hint--muted { color: var(--t-faint); }

.wave { margin-top: 12px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; }
.wave__head { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 9.5px; color: var(--t-muted); letter-spacing: 0.08em; margin-bottom: 8px; }
.wave__head strong { color: var(--cyan-deep); letter-spacing: 0; }
.wave svg { width: 100%; height: 46px; overflow: visible; }
.wave .line { fill: none; stroke: url(#gradWave); stroke-width: 2.2; stroke-linecap: round; }
.wave .area { fill: rgba(6, 182, 212, 0.12); }
.wave .dash { stroke-dasharray: 4 10; animation: dash-flow 3.4s linear infinite; opacity: 0.5; }

.hud__status { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: var(--r-md); background: rgba(5, 150, 105, 0.07); border: 1px solid rgba(5, 150, 105, 0.3); font-family: var(--font-mono); font-size: 11px; }
.hud__status span:first-child { color: var(--emerald-deep); }
.hud__status strong { color: var(--ink); }

/* ---------- Métricas ---------- */
.metrics { margin-top: clamp(4px, 1vw, 12px); }
.metrics__card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  border-radius: var(--r-xl);
  background: #ffffff; border: 1px solid var(--line);
  box-shadow: var(--shadow-panel);
  padding: clamp(16px, 2.6vw, 26px);
}
@media (min-width: 900px) { .metrics__card { grid-template-columns: repeat(4, 1fr); } }
.metric { display: grid; gap: 2px; padding: 16px 20px; border-radius: var(--r-lg); }
.metric--bordered { border-left: 1px solid var(--line); }
@media (max-width: 899px) {
  .metric:nth-child(odd) { border-left: 0; }
  .metric:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
.metric__val { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--ink); letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 2px; }
.metric__val .suffix { color: var(--cyan); font-size: 0.62em; }
.metric__val .prefix { color: var(--cyan); font-size: 0.6em; font-family: var(--font-mono); }
.metric__label { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--cyan-deep); font-weight: 700; }
.metric__sub { font-size: 11px; color: var(--t-muted); }

/* ---------- Tabs (plataforma) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tab {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 19px;
  border-radius: var(--r-md); background: #ffffff; border: 1px solid var(--line-strong);
  color: var(--t-body); font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.03em;
  transition: all var(--dur-2);
}
.tab .idx { color: var(--cyan); font-size: 10px; }
.tab:hover { border-color: var(--cyan); color: var(--cyan-deep); }
.tab.is-active { background: var(--grad-brand); border-color: transparent; color: #ffffff; box-shadow: var(--glow-cyan-soft); }
.tab.is-active .idx { color: rgba(255, 255, 255, 0.75); }
.tabpanel { display: none; }
.tabpanel.is-active { display: grid; gap: clamp(24px, 4vw, 42px); align-items: center; animation: rise 0.5s var(--ease-out-expo); }
@media (min-width: 900px) { .tabpanel.is-active { grid-template-columns: 1fr 1fr; } }
.tabpanel__head { display: grid; gap: 12px; align-content: center; }

.feat-list { display: grid; gap: 11px; margin-top: 4px; }
.feat-list li { display: flex; gap: 11px; align-items: flex-start; font-family: var(--font-mono); font-size: 12.5px; color: var(--t-body); line-height: 1.5; }
.feat-list .dot { margin-top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); flex: none; }

.term { background: #0d1b2e; border: 1px solid rgba(148, 197, 255, 0.16); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-panel); }
.term__bar { display: flex; align-items: center; justify-content: space-between; padding: 11px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.09); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.07em; color: #7ea7cc; }
.term__bar .ok { color: #6ee7b7; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.term__body { padding: 17px; overflow-x: auto; }
.code { font-family: var(--font-mono); font-size: 11.5px; line-height: 1.75; color: #9fd7f5; white-space: pre-wrap; word-break: break-word; }

.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-mono); font-size: 12.5px; color: var(--t-body); }
.checklist .ico { color: var(--emerald); font-size: 18px; flex: none; }

.podcard { text-align: center; padding: 20px; }
.podcard .ico--big { font-size: 52px; color: var(--cyan); }
.podcard h4 { margin: 8px 0 3px; }
.podcard p { font-family: var(--font-mono); font-size: 11.5px; color: #7ea7cc; }
.podcard__ok { margin-top: 16px; padding: 11px; border-radius: var(--r-md); background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(52, 211, 153, 0.3); color: #6ee7b7; font-family: var(--font-mono); font-size: 11.5px; }

/* ---------- Bento (servicios) ---------- */
.bento { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(12, 1fr); } }
.bcard {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: #ffffff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: clamp(22px, 3vw, 32px);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--dur-2) var(--ease-smooth), border-color var(--dur-2), box-shadow var(--dur-2);
}
@media (min-width: 900px) { .bcard--8 { grid-column: span 8; } .bcard--4 { grid-column: span 4; } .bcard--12 { grid-column: 1 / -1; } }
.bcard:hover { transform: translateY(-5px); border-color: var(--line-accent); box-shadow: var(--glow-cyan-soft), var(--shadow-card); }
.bcard__wm { position: absolute; top: -8px; right: -4px; font-family: "Material Symbols Outlined"; font-size: 140px; color: rgba(8, 145, 178, 0.05); pointer-events: none; transform: rotate(-8deg); }
.bcard p { color: var(--t-body); font-size: 14.5px; line-height: 1.65; max-width: 56ch; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.chip--cyan { background: rgba(8, 145, 178, 0.09); color: var(--cyan-deep); border: 1px solid var(--line-accent); }
.chip--emerald { background: rgba(5, 150, 105, 0.09); color: var(--emerald-deep); border: 1px solid rgba(5, 150, 105, 0.3); }
.chip--slate { background: var(--bg-mist); color: var(--t-body); border: 1px solid var(--line); }
.bcard .dims { margin-top: auto; display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .bcard .dims { grid-template-columns: repeat(3, 1fr); } }
.bcard .dims dt { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.13em; color: var(--t-faint); text-transform: uppercase; }
.bcard .dims dd { font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; color: var(--ink); margin-top: 3px; }
.bcard .dims dd.ok { color: var(--emerald-deep); }
.bcard__box { margin-top: auto; padding: 12px 14px; border-radius: var(--r-md); background: var(--bg-soft); border: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; color: var(--t-body); display: flex; gap: 9px; align-items: center; }
.bcard__box .ico { color: var(--cyan); }
.bcard__chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Cobertura ---------- */
.zone-list { display: grid; gap: 11px; }
.zone-card {
  text-align: left; width: 100%; padding: 15px 17px; border-radius: var(--r-lg);
  background: #ffffff; border: 1px solid var(--line);
  transition: all var(--dur-2); display: grid; gap: 3px;
}
.zone-card:hover { border-color: var(--line-accent); box-shadow: var(--shadow-sm); }
.zone-card.is-active { border-color: var(--cyan); background: linear-gradient(90deg, rgba(8, 145, 178, 0.07), #ffffff 70%); box-shadow: inset 3px 0 0 var(--cyan); }
.zone-card .num { font-family: var(--font-mono); font-size: 10px; color: var(--t-faint); letter-spacing: 0.15em; }
.zone-card.is-active .num { color: var(--cyan); }
.zone-card strong { display: block; font-size: 14.5px; color: var(--ink); font-family: var(--font-display); }
.zone-card span { font-size: 12.5px; color: var(--t-muted); }

.map { position: relative; overflow: hidden; }
.map__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: clamp(18px, 3vw, 24px); border-bottom: 1px solid var(--line); }
.map__head .mono-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.17em; color: var(--cyan); text-transform: uppercase; }
.map__head h3 { font-size: clamp(1rem, 1.8vw, 1.25rem); margin-top: 4px; }
.map__badge { font-family: var(--font-mono); font-size: 10px; font-weight: 800; padding: 6px 11px; border-radius: var(--r-pill); background: rgba(5, 150, 105, 0.09); border: 1px solid rgba(5, 150, 105, 0.3); color: var(--emerald-deep); white-space: nowrap; }
.route { position: relative; padding: clamp(8px, 2vw, 14px) clamp(18px, 3vw, 24px) clamp(16px, 3vw, 24px); }
.route__node { position: relative; padding: 15px 0 15px 34px; }
.route__line { position: absolute; left: 9px; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--cyan-lite), var(--bg-blue)); }
.route__node:last-child .route__line { display: none; }
.route__dot { position: absolute; left: 0; top: 20px; width: 20px; height: 20px; border-radius: 50%; background: #ffffff; border: 3px solid var(--line-strong); transition: all var(--dur-2); }
.route__node.is-current .route__dot { border-color: var(--cyan); background: var(--cyan); box-shadow: 0 0 0 5px rgba(8, 145, 178, 0.16), 0 0 16px rgba(8, 145, 178, 0.5); }
.route__node strong { font-family: var(--font-display); font-size: 15px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.route__node span { font-size: 12.5px; color: var(--t-muted); display: block; margin-top: 2px; }
.route__node .ico-live { font-family: "Material Symbols Outlined"; font-size: 14px; color: var(--cyan); display: none; }
.route__node.is-current .ico-live { display: inline; animation: pulse-soft 1.6s infinite; }

/* ---------- Formulario ---------- */
.form-grid { display: grid; gap: 16px; }
.form-grid--2 { display: grid; gap: 13px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field__label { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-soft); }
.field__label .req { color: var(--cyan); }
.input, select.input, textarea.input {
  width: 100%; background: #ffffff; border: 1px solid var(--line-strong); border-radius: var(--r-md);
  padding: 13px 15px; color: var(--ink); font-size: 14px; font-family: var(--font-body);
  transition: border-color var(--dur-1), box-shadow var(--dur-1);
}
.input::placeholder { color: var(--t-faint); }
.input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.14); }
.input.is-invalid { border-color: #ef4444; }
select.input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--t-muted) 50%), linear-gradient(135deg, var(--t-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; cursor: pointer; }
textarea.input { resize: vertical; min-height: 90px; }
.field__error { font-family: var(--font-mono); font-size: 11px; color: #dc2626; display: none; }
.field__error:not(.hidden) { display: block; }

.opt-wrap { display: block; }
.opt { display: grid; gap: 1px; text-align: center; padding: 12px 6px; border-radius: var(--r-md); border: 1px solid var(--line); background: #ffffff; cursor: pointer; transition: all var(--dur-2); user-select: none; height: 100%; align-content: center; }
.opt .ico { display: block; font-size: 22px; margin-bottom: 5px; color: var(--t-muted); }
.opt strong { font-size: 12.5px; color: var(--ink); font-family: var(--font-display); }
.opt small { font-family: var(--font-mono); font-size: 9.5px; color: var(--t-faint); }
.opt:hover { border-color: var(--cyan); }
.opt.is-active { border-color: var(--cyan); background: linear-gradient(160deg, rgba(8, 145, 178, 0.1), #ffffff 75%); box-shadow: 0 0 0 1px var(--cyan), var(--glow-cyan-soft); }
.opt.is-active .ico { color: var(--cyan-deep); }
.opt.is-active small { color: var(--cyan-deep); }

.range-wrap { display: grid; gap: 9px; }
.range-wrap .row { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--t-body); letter-spacing: 0.07em; text-transform: uppercase; }
.range-wrap output { color: var(--cyan-deep); font-weight: 800; font-size: 13px; text-transform: none; letter-spacing: 0; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--cyan), var(--cyan-lite)) 0 / var(--fill, 60%) 100% no-repeat, var(--line); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #ffffff; border: 5px solid var(--cyan); box-shadow: 0 2px 10px rgba(8, 145, 178, 0.4); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #ffffff; border: 5px solid var(--cyan); }

.resbar { display: grid; gap: 9px; }
.resbar__cell { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 15px; border-radius: var(--r-md); background: var(--bg-soft); border: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; }
.resbar__cell .k { color: var(--t-muted); }
.resbar__cell .v { font-weight: 800; color: var(--ink); text-align: right; }
.resbar__cell .v.hot { color: var(--cyan-deep); }
.resbar__cell .v.ok { color: var(--emerald-deep); }

.form-status { display: none; align-items: flex-start; gap: 10px; padding: 12px 15px; border-radius: var(--r-md); font-family: var(--font-mono); font-size: 12px; line-height: 1.55; }
.form-status:not(.hidden) { display: flex; }
.form-status--ok { background: rgba(5, 150, 105, 0.08); border: 1px solid rgba(5, 150, 105, 0.35); color: var(--emerald-deep); }
.form-status--err { background: rgba(220, 38, 38, 0.07); border: 1px solid rgba(220, 38, 38, 0.4); color: #b91c1c; }
.form-status .ico { font-size: 18px; flex: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 11px; max-width: 820px; margin-inline: auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-lg); background: #ffffff; overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color var(--dur-2); }
.faq__item.is-open { border-color: var(--line-accent); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 21px; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); transition: background var(--dur-1); }
.faq__q:hover { background: var(--bg-soft); }
.faq__q .arr { font-family: "Material Symbols Outlined"; color: var(--cyan); transition: transform var(--dur-2) var(--ease-out-expo); flex: none; }
.faq__item.is-open .arr { transform: rotate(180deg); }
.faq__a { display: none; padding: 0 21px 20px; color: var(--t-body); font-size: 14px; line-height: 1.7; }
.faq__a p + p { margin-top: 8px; }
.faq__item.is-open .faq__a { display: block; animation: rise 0.32s var(--ease-out-expo); }

/* ---------- Contacto ---------- */
.contact-card { display: flex; align-items: center; gap: 13px; padding: 14px 15px; border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--line); transition: all var(--dur-2); }
.contact-card:hover { border-color: var(--line-accent); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.contact-card .c-ico { flex: none; width: 42px; height: 42px; border-radius: var(--r-md); display: grid; place-items: center; background: rgba(8, 145, 178, 0.1); color: var(--cyan-deep); }
.contact-card small { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.15em; color: var(--t-faint); text-transform: uppercase; }
.contact-card strong { font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
.contact-card a:hover strong { color: var(--cyan-deep); }

/* ---------- Footer (bloque navy de contraste) ---------- */
.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.08); background: linear-gradient(180deg, #0d1c30 0%, #08121f 100%); }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 34px; padding-block: 52px 34px; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer .brand__name { color: #ffffff; }
.site-footer .brand__name em { color: #22d3ee; }
.site-footer .brand__sub { color: #7dd3fc; }
.site-footer h5 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: #7dd3fc; margin-bottom: 16px; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer ul a { font-size: 13.5px; color: var(--navy-text); transition: color var(--dur-1); }
.site-footer ul a:hover { color: #ffffff; }
.site-footer .brand__mark { box-shadow: 0 10px 26px -10px rgba(6, 182, 212, 0.5); }
.certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cert { padding: 5px 11px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; color: var(--navy-text); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-block: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 11px; color: var(--navy-text-dim); }
.site-footer__bottom .dot-live { background: #10b981; }
.site-footer__bottom .dot-live::after { border-color: rgba(16, 185, 129, 0.55); }

/* ---------- WhatsApp FAB ---------- */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-emerald); color: #ffffff;
  box-shadow: 0 14px 36px -10px rgba(16, 185, 129, 0.55);
  opacity: 0; transform: translateY(20px) scale(0.85); pointer-events: none;
  transition: opacity var(--dur-2), transform var(--dur-2) var(--ease-out-expo);
}
.fab:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 18px 44px -10px rgba(5, 150, 105, 0.75); }
.fab.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.fab svg { width: 28px; height: 28px; fill: currentColor; }
