/* ==========================================================
   SOS · Secciones de la página
   ========================================================== */

/* ── SECCIONES GENERALES ── */
.section { padding-block: clamp(80px, 12vw, 140px); position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section__head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(46px, 7vw, 88px); line-height: .92; letter-spacing: .01em;
  text-transform: uppercase;
}
.section__title span { color: var(--red); }
.section__desc { margin-top: 18px; font-size: 17px; color: var(--text-2); max-width: 580px; }
.section__head--center .section__desc { margin-inline: auto; }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 30px); padding-bottom: 90px;
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  right: -15vw; top: 50%; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(255,79,85,.22) 0%, transparent 60%);
  filter: blur(20px);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.hero__grid > * { min-width: 0; }

.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(64px, 10vw, 148px); line-height: .86; letter-spacing: .005em;
  text-transform: uppercase; margin: 26px 0 18px;
}
.hero__title .line { display: block; overflow: hidden; padding-top: .12em; margin-top: -.12em; }
.hero__title .line > span { display: inline-block; }
.hero__title .accent {
  color: var(--red);
  text-shadow: 0 0 40px rgba(255,79,85,.35);
}
.hero__typed { font-size: clamp(15px, 1.6vw, 19px); color: var(--text-2); margin-bottom: 18px; min-height: 1.6em; }
.hero__typed .typed { color: var(--text); }
.hero__typed .caret { color: var(--red); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__desc { font-size: 17px; color: var(--text-2); max-width: 520px; margin-bottom: 36px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* Tarjeta 3D del sistema (reemplaza al radar) */
.hero__visual {
  position: relative; width: 100%; max-width: 440px; justify-self: center;
  perspective: 1200px; padding: 30px 0;
}
.hub-back {
  position: absolute; inset: 30px 0; border-radius: 26px;
  background: linear-gradient(140deg, var(--red), var(--red-deep));
  transform: rotate(-7deg) translate(-18px, 14px);
  opacity: .9; box-shadow: 0 40px 90px -30px var(--red-glow);
}
.hub-back::after { /* patrón de puntos */
  content: ''; position: absolute; inset: 0; border-radius: inherit; opacity: .25;
  background-image: radial-gradient(rgba(255,255,255,.9) 1px, transparent 1.4px);
  background-size: 16px 16px;
}
.hub {
  position: relative; z-index: 2;
  padding: 24px; border-radius: 26px;
  background: linear-gradient(160deg, rgba(36,36,40,.92), rgba(18,18,20,.94));
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08);
  transform-style: preserve-3d; will-change: transform;
}
.hub__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; transform: translateZ(30px); }
.hero__logo { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,79,85,.15), 0 0 30px rgba(255,79,85,.35); flex-shrink: 0; }
.hub__head small { display: block; font-size: 11px; color: var(--text-3); text-transform: uppercase; }
.hub__head strong { font-family: var(--font-display); font-weight: 400; font-size: 30px; letter-spacing: .03em; line-height: 1; transition: color .3s; }
.hub__shield {
  margin-left: auto; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  font-size: 22px; color: var(--ok); background: rgba(61,220,151,.1); border: 1px solid rgba(61,220,151,.3);
  transition: color .3s, background .3s, border-color .3s;
}
.hub.is-warning .hub__shield { color: var(--warn); background: rgba(255,193,69,.1); border-color: rgba(255,193,69,.35); }
.hub.is-warning .hub__head strong { color: var(--warn); }

.hub__list { display: flex; flex-direction: column; gap: 8px; transform: translateZ(20px); }
.hub__list li {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px;
  background: rgba(0,0,0,.28); border: 1px solid var(--line); font-size: 15px;
  transition: border-color .3s;
}
.hub__list li > :not(.switch) { transition: opacity .3s; }
.hub__list li > i, .hub__list li > svg { color: var(--red); font-size: 19px; }
.hub__list li span { flex: 1; }
.hub__list em { font-style: normal; font-size: 10px; color: var(--red); margin-left: 6px; animation: blink 1.2s steps(2) infinite; }
.hub__list li.is-off > :not(.switch) { opacity: .45; }
.hub__list li.is-off em { display: none; }

.switch {
  width: 44px; height: 26px; border-radius: 26px; position: relative; flex-shrink: 0;
  background: var(--surface-2); border: 1px solid var(--line-strong); transition: background .3s, border-color .3s;
}
.switch::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--text-3); transition: transform .35s var(--ease), background .3s;
}
.switch.is-on { background: var(--red); border-color: var(--red); }
.switch.is-on::after { transform: translateX(18px); background: #fff; }

.hub__activity { margin-top: 18px; padding: 14px; border-radius: 14px; background: rgba(0,0,0,.28); border: 1px solid var(--line); transform: translateZ(14px); }
.hub__activity-head { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-3); text-transform: uppercase; margin-bottom: 10px; }
.hub__live { color: var(--ok); }
.hub__bars { display: flex; align-items: flex-end; gap: 4px; height: 54px; }
.hub__bars span { flex: 1; border-radius: 3px 3px 1px 1px; background: linear-gradient(var(--red), rgba(255,79,85,.25)); transition: height .6s var(--ease); }
.hub__hint { font-size: 10px; color: var(--text-3); text-align: center; margin-top: 12px; }

.status {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(23,23,26,.82); border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13px; white-space: nowrap;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.8);
}
.status i, .status svg { color: var(--red); }
.status span { color: var(--text-2); }
.status b { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; }
.status b.ok { color: var(--ok); }
.status b.rec { color: var(--red); animation: blink 1.2s steps(2) infinite; }
.status--a { top: 0; right: -10%; }
.status--c { bottom: 4%; left: -14%; }

.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; color: var(--text-3);
}
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--red), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ''; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: #fff; animation: drop 1.8s var(--ease) infinite; }
@keyframes drop { to { top: 120%; } }

/* ── MARQUESINA ── */
.marquee {
  background: var(--red); color: #fff; overflow: hidden;
  padding: 16px 0; transform: rotate(-1.2deg) scale(1.03); position: relative; z-index: 3;
  box-shadow: 0 20px 50px -20px var(--red-glow);
}
.marquee__track { display: flex; gap: 34px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: 30px; letter-spacing: .08em; text-transform: uppercase; }
.marquee i { font-style: normal; font-size: 18px; align-self: center; opacity: .7; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── STATS ── */
.stats { padding: clamp(70px, 9vw, 110px) 0 20px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.stat { padding: 36px 26px; text-align: center; position: relative; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat > i, .stat > svg { font-size: 26px; color: var(--red); margin: 0 auto 14px; }
.stat__num { font-family: var(--font-display); font-size: clamp(44px, 5vw, 64px); line-height: 1; }
.stat__label { font-family: var(--font-cond); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); margin-top: 6px; }

/* ── ALARMAS ── */
.alarm-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.panel {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 34px; display: flex; flex-direction: column; gap: 22px;
  transition: border-color .4s, box-shadow .4s;
}
.panel::after {
  content: 'HONEYWELL'; position: absolute; right: -14px; bottom: -22px;
  font-family: var(--font-display); font-size: 110px; line-height: 1; color: rgba(255,255,255,.025); pointer-events: none;
}
.panel__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.panel__top h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 3.4vw, 44px); line-height: 1; margin-top: 12px; }
.panel__status {
  display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(0,0,0,.35); font-size: 12px; white-space: nowrap;
}
.panel__led { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); transition: background .3s, box-shadow .3s; }
.panel__desc { color: var(--text-2); font-size: 15px; }
.panel__zones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zone {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px;
  background: rgba(0,0,0,.3); border: 1px solid var(--line); font-size: 13px; color: var(--text-2);
  transition: border-color .4s, color .4s, background .4s;
}
.zone i, .zone svg { color: var(--text-3); transition: color .4s; }
.panel__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.panel__hint { font-size: 11px; color: var(--text-3); }

.panel[data-state="armed"] { border-color: rgba(255,79,85,.55); box-shadow: 0 0 0 1px rgba(255,79,85,.2), 0 30px 80px -30px var(--red-glow); }
.panel[data-state="armed"] .panel__led { background: var(--red); box-shadow: 0 0 12px var(--red); animation: blink 1.2s steps(2) infinite; }
.panel[data-state="armed"] .zone { border-color: rgba(255,79,85,.3); color: var(--text); background: var(--red-soft); }
.panel[data-state="armed"] .zone i, .panel[data-state="armed"] .zone svg { color: var(--red); }
.panel.is-triggered { animation: shake .4s 3; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ── CCTV ── */
.monitor {
  border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden;
  background: #050506; box-shadow: 0 40px 100px -40px rgba(0,0,0,.9);
}
.monitor__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--text-2);
}
.monitor__bar span { display: inline-flex; align-items: center; gap: 8px; }
.monitor__clock { color: #9fe7c2; }
.cam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
.cam {
  position: relative; aspect-ratio: 16/10; overflow: hidden; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 50% 45%, #1a1d1c 0%, #08090a 75%);
  transition: background .4s;
}
.cam::before { /* barrido de interferencia */
  content: ''; position: absolute; left: 0; right: 0; height: 30%; top: -30%;
  background: linear-gradient(transparent, rgba(255,255,255,.05), transparent);
  animation: scanline 5s linear infinite;
}
.cam:nth-child(2n)::before { animation-delay: -2s; }
.cam:nth-child(3n)::before { animation-delay: -3.4s; }
@keyframes scanline { to { top: 110%; } }
.cam > i, .cam > svg { font-size: 42px; color: var(--red); filter: drop-shadow(0 0 14px rgba(255,79,85,.55)); transition: transform .5s var(--ease); }
.cam strong { font-family: var(--font-display); font-weight: 400; font-size: 24px; letter-spacing: .06em; }
.cam small { font-size: 11px; color: var(--text-3); text-transform: uppercase; }
.cam__rec { position: absolute; top: 12px; left: 14px; font-size: 10px; color: var(--red); animation: blink 1.2s steps(2) infinite; }
.cam__id { position: absolute; top: 12px; right: 14px; font-size: 10px; color: #9fe7c2; }
.cam__hover {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(255,79,85,.75));
  font-family: var(--font-cond); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  transform: translateY(100%); transition: transform .45s var(--ease);
}
.cam:hover .cam__hover, .cam:focus-visible .cam__hover { transform: none; }
.cam:hover > i, .cam:hover > svg { transform: scale(1.15); }
/* esquinas del visor */
.cam::after {
  content: ''; position: absolute; inset: 14px; pointer-events: none; opacity: 0; transition: opacity .3s, inset .4s var(--ease);
  background:
    linear-gradient(var(--red), var(--red)) top left / 18px 2px no-repeat,
    linear-gradient(var(--red), var(--red)) top left / 2px 18px no-repeat,
    linear-gradient(var(--red), var(--red)) top right / 18px 2px no-repeat,
    linear-gradient(var(--red), var(--red)) top right / 2px 18px no-repeat,
    linear-gradient(var(--red), var(--red)) bottom left / 18px 2px no-repeat,
    linear-gradient(var(--red), var(--red)) bottom left / 2px 18px no-repeat,
    linear-gradient(var(--red), var(--red)) bottom right / 18px 2px no-repeat,
    linear-gradient(var(--red), var(--red)) bottom right / 2px 18px no-repeat;
}
.cam:hover::after { opacity: 1; inset: 30px; }

/* ── CERCA ── */
.cerca { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.features { display: flex; flex-direction: column; gap: 14px; }
.features li {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: 12px;
  border: 1px solid transparent; transition: background .3s, border-color .3s;
}
.features li:hover { background: var(--surface); border-color: var(--line); }
.features__icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 20px; color: var(--red);
  background: var(--red-soft); border: 1px solid rgba(255,79,85,.25);
}
.features h5 { font-family: var(--font-cond); font-size: 18px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }
.features p { font-size: 14.5px; color: var(--text-2); }

.fence {
  position: relative; padding: 30px; border-radius: 18px;
  background: radial-gradient(circle at 50% 40%, rgba(255,79,85,.08), transparent 70%), var(--surface);
  border: 1px solid var(--line-strong);
}
.fence__meter { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.fence__meter > span { font-size: 11px; color: var(--text-3); }
.fence__meter strong { font-family: var(--font-display); font-weight: 400; font-size: 38px; line-height: 1; color: var(--warn); min-width: 4.6ch; }
.fence__gauge { flex: 1; min-width: 120px; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.fence__gauge span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--warn), var(--red)); box-shadow: 0 0 10px var(--warn); }
.fence__svg { width: 100%; height: auto; }
.fence__posts rect { fill: var(--graphite); }
.fence__wires line { stroke: rgba(255,255,255,.18); stroke-width: 2; }
.fence__pulses line {
  stroke: var(--warn); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 26 304; filter: drop-shadow(0 0 4px var(--warn));
  animation: pulse-run 2.2s linear infinite;
}
.fence__pulses line:nth-child(2) { animation-delay: -.4s; }
.fence__pulses line:nth-child(3) { animation-delay: -.9s; }
.fence__pulses line:nth-child(4) { animation-delay: -1.3s; }
.fence__pulses line:nth-child(5) { animation-delay: -1.7s; }
@keyframes pulse-run { from { stroke-dashoffset: 330; } to { stroke-dashoffset: 0; } }
.fence__insulators circle { fill: var(--bg); stroke: var(--red); stroke-width: 1.5; }
.fence__bolt { fill: var(--warn); opacity: 0; filter: drop-shadow(0 0 16px var(--warn)); transform-origin: center; }
.fence.is-zapping .fence__bolt { animation: bolt .7s steps(3) 2; }
.fence.is-zapping .fence__wires line { stroke: var(--warn); }
.fence.is-zapping { border-color: rgba(255,193,69,.6); }
@keyframes bolt { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
.fence__btn { margin-top: 12px; }

/* ── CONTROL DE ACCESO ── */
.access-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; perspective: 1000px; }
.access {
  position: relative; overflow: hidden; text-align: center;
  padding: 40px 26px 34px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transform-style: preserve-3d; transition: border-color .35s, box-shadow .35s;
}
.access:hover { border-color: rgba(255,79,85,.4); box-shadow: 0 30px 60px -30px var(--red-glow); }
.access__icon {
  width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 38px; color: var(--red);
  background: radial-gradient(circle, rgba(255,79,85,.18), transparent 70%);
  border: 1px solid rgba(255,79,85,.3);
  transform: translateZ(40px);
}
.access h4 { font-family: var(--font-cond); font-size: 21px; font-weight: 700; margin-bottom: 8px; transform: translateZ(25px); }
.access p { font-size: 14.5px; color: var(--text-2); transform: translateZ(15px); }
.access__scan {
  position: absolute; left: 0; right: 0; height: 2px; top: 0; opacity: 0;
  background: var(--red); box-shadow: 0 0 18px 4px var(--red-glow);
}
.access:hover .access__scan { opacity: 1; animation: scan-down 1.6s var(--ease) infinite; }
@keyframes scan-down { 0% { top: 0; } 50% { top: 100%; } 100% { top: 0; } }

/* ── PASOS ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: s; }
.steps::before {
  content: ''; position: absolute; top: 44px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent); opacity: .5;
}
.step { position: relative; text-align: center; padding: 0 10px; }
.step > i, .step > svg {
  width: 88px; height: 88px; padding: 26px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--red);
  position: relative; z-index: 1; transition: background .35s, color .35s, transform .4s var(--ease);
}
.step:hover > i, .step:hover > svg { background: var(--red); color: #fff; transform: translateY(-6px); }
.step__num { position: absolute; top: -6px; left: 50%; transform: translateX(26px); font-size: 12px; color: var(--red); z-index: 2; background: var(--bg); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line); }
.step h5 { font-family: var(--font-cond); font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--text-2); }

/* ── POLÍTICAS ── */
.policy {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(28px, 4vw, 48px); position: relative; overflow: hidden;
}
.policy::before { content: '§'; position: absolute; right: 10px; top: -40px; font-family: var(--font-display); font-size: 260px; line-height: 1; color: rgba(255,255,255,.025); }
.policy__pillars { display: flex; flex-direction: column; gap: 12px; }
.policy__pillars div {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 10px;
  background: rgba(0,0,0,.3); border: 1px solid var(--line); font-family: var(--font-cond); font-weight: 600; font-size: 15px; letter-spacing: .04em;
}
.policy__pillars i, .policy__pillars svg { color: var(--red); font-size: 20px; }
.policy__text { position: relative; }
.policy__text p { color: var(--text-2); font-size: 16px; line-height: 1.85; }
.policy__text p + p { margin-top: 18px; }
.policy__note { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 11px; color: var(--red); text-transform: uppercase; }

/* ── CONTACTO ── */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__items { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
.contact__item {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .35s var(--ease);
}
a.contact__item:hover { border-color: rgba(255,79,85,.45); transform: translateX(6px); }
.contact__icon { width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; font-size: 20px; color: #fff; background: var(--red); }
.contact__item small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.contact__item strong { font-size: 17px; font-weight: 600; word-break: break-word; }

.form {
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px;
  padding: clamp(26px, 4vw, 44px); position: relative; overflow: hidden;
}
.form::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--red-deep), var(--red), var(--red-deep)); }
.form h3 { font-family: var(--font-display); font-weight: 400; font-size: 36px; letter-spacing: .03em; margin-bottom: 24px; }
.hp { position: absolute; left: -9999px; opacity: 0; }

.field { position: relative; margin-bottom: 16px; }
.field input, .field textarea {
  width: 100%; padding: 24px 16px 10px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--text);
  font: 16px var(--font-body); outline: none; resize: vertical;
  transition: border-color .25s, box-shadow .25s;
}
.field label {
  position: absolute; left: 17px; top: 17px; pointer-events: none;
  color: var(--text-3); font-size: 15px; transition: all .2s var(--ease);
}
.field input:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: 7px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--red);
}
.field.is-invalid input { border-color: var(--red); animation: shake .3s 2; }

.service-pick { border: 0; margin: 4px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.service-pick legend { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.service-pick label { cursor: pointer; }
.service-pick input { position: absolute; opacity: 0; pointer-events: none; }
.service-pick span {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: 14px; color: var(--text-2);
  transition: all .25s;
}
.service-pick span:hover { border-color: rgba(255,79,85,.5); color: var(--text); }
.service-pick input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.service-pick input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.form__submit { margin-top: 6px; }
.form__submit.is-loading { pointer-events: none; opacity: .75; }
.form__msg { margin-top: 14px; font-size: 14px; min-height: 1.4em; }
.form__msg.ok { color: var(--ok); }
.form__msg.err { color: var(--red); }

/* ── FOOTER ── */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 40px 0 110px; }
.footer__grid { display: grid; grid-template-columns: auto 1fr; gap: 24px 40px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { width: 44px; height: 44px; border-radius: 50%; }
.footer__brand span { display: flex; flex-direction: column; line-height: 1.1; }
.footer__brand strong { font-family: var(--font-display); font-weight: 400; font-size: 26px; letter-spacing: .14em; color: var(--red); }
.footer__brand small { font-size: 11px; color: var(--text-3); letter-spacing: .1em; text-transform: uppercase; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: flex-end; }
.footer__links a { font-family: var(--font-cond); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); transition: color .2s; }
.footer__links a:hover { color: var(--red); }
.footer__copy { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); text-align: center; }

/* ── POLÍTICA DE SEGURIDAD ── */
.secpol { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.secpol__intro { position: sticky; top: calc(var(--nav-h) + 30px); }
.secpol__intro .section__desc { max-width: 460px; }
.secpol__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.secpol__pills li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--red-soft); border: 1px solid rgba(255,79,85,.3); color: var(--text); font-size: 14px;
}
.secpol__pills i, .secpol__pills svg { color: var(--red); }

.secpol__list { display: flex; flex-direction: column; gap: 10px; }
.acc {
  border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  transition: border-color .3s, background .3s; overflow: hidden;
}
.acc:hover { border-color: var(--line-strong); }
.acc[open] { border-color: rgba(255,79,85,.4); background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.acc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; user-select: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc__num { font-size: 12px; color: var(--text-3); width: 22px; }
.acc__icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center;
  font-size: 19px; color: var(--red); background: var(--red-soft); border: 1px solid rgba(255,79,85,.25);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.acc[open] .acc__icon { background: var(--red); color: #fff; transform: rotate(-8deg); }
.acc__title { flex: 1; font-family: var(--font-cond); font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.acc__plus { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; flex-shrink: 0; transition: transform .4s var(--ease), border-color .3s; }
.acc__plus::before, .acc__plus::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--text); border-radius: 2px; transition: transform .4s var(--ease); }
.acc__plus::after { transform: rotate(90deg); }
.acc[open] .acc__plus { transform: rotate(180deg); border-color: var(--red); }
.acc[open] .acc__plus::after { transform: rotate(0deg); }
.acc__body { padding: 0 20px 22px 92px; }
.acc__body p { color: var(--text-2); font-size: 15.5px; line-height: 1.8; }
.acc__body p + p { margin-top: 12px; }
.acc__body a { color: var(--red); border-bottom: 1px solid rgba(255,79,85,.4); }
