@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #15202a;
  --steel: #5a6977;
  --line: #d5dbdf;
  --paper: #f2f4f3;
  --white: #ffffff;
  --panel: #1b2630;
  --panel-2: #24323e;
  --amber: #e3a01b;
  --amber-ink: #8a5b00;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 5px var(--amber); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: 16px; top: -60px;
  background: var(--ink); color: var(--white);
  padding: 8px 14px; z-index: 100;
}
.skip:focus { top: 12px; }

h1, h2, h3 {
  font-stretch: 75%;
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.6rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  background: var(--amber); color: var(--ink);
  border: 2px solid var(--amber); border-radius: 4px;
  font: inherit; font-weight: 650; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s;
}
.btn:hover { background: #f0b134; border-color: #f0b134; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.header-cta { margin-left: auto; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--white); }

/* Llamada a la acción de continuidad */
.notice {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap;
  margin-top: 40px; padding: 24px 32px;
  background: var(--panel-2); border-left: 4px solid var(--amber);
}
.notice p { margin: 0; font-size: 1.15rem; max-width: 60ch; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242,244,243,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-stretch: 80%; font-size: 1.45rem; }
.logo svg { width: 32px; height: 32px; fill: var(--ink); flex-shrink: 0; }
.logo .lens { fill: var(--amber); }
.nav { display: flex; gap: 28px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--steel); font-weight: 500; }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { background: var(--panel); color: var(--white); padding: 88px 0 96px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.hero h1 { max-width: 15ch; text-wrap: balance; }
.lead { font-size: 1.2rem; color: #c3cdd5; max-width: 46ch; margin: 24px 0 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Monitor */
.monitor {
  position: relative;
  background: #0f171e;
  padding: 44px 18px;
  border-radius: 6px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--amber); }
.corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.corner.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.osd {
  position: absolute; left: 44px; right: 44px;
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .04em;
  color: #e9eef1;
}
.osd-top { top: 14px; }
.osd-bottom { bottom: 14px; color: var(--amber); }
.rec { display: inline-flex; align-items: center; gap: 7px; }
.rec i { width: 9px; height: 9px; border-radius: 50%; background: #e5484d; animation: blink 1.6s steps(1) 3; }
@keyframes blink { 50% { opacity: 0; } }

.feeds { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.feed {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #2b3843;
}
.feed::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.cam {
  position: absolute; left: 8px; top: 6px; z-index: 1;
  font-family: var(--mono); font-size: .66rem; color: #f2f5f7;
  text-shadow: 0 1px 2px #000;
}
/* Escenas abstractas: pasillo con puerta, estanterías, parking, mostrador */
.f1 {
  background:
    linear-gradient(#56656f, #56656f) 50% 38% / 22% 46% no-repeat,
    linear-gradient(to top, #3b4952 0 32%, transparent 32%),
    linear-gradient(100deg, #26323b 0 28%, transparent 28% 72%, #26323b 72%),
    #33414b;
}
.f2 {
  background:
    repeating-linear-gradient(90deg, #3c4a54 0 18%, #26323b 18% 24%) 0 22% / 100% 60% no-repeat,
    repeating-linear-gradient(0deg, transparent 0 18px, #1f2930 18px 20px) 0 22% / 100% 60% no-repeat,
    linear-gradient(to top, #44535d 0 18%, #2a3640 18%);
}
.f3 {
  background:
    repeating-linear-gradient(90deg, transparent 0 21%, #8f9aa1 21% 22%) 0 100% / 100% 45% no-repeat,
    linear-gradient(#4d5c66, #4d5c66) 18% 82% / 16% 14% no-repeat,
    linear-gradient(#3e4c56, #3e4c56) 62% 84% / 16% 14% no-repeat,
    linear-gradient(to top, #39464f 0 55%, #222d35 55%);
}
.f4 {
  background:
    linear-gradient(#5d6c76, #5d6c76) 50% 78% / 70% 16% no-repeat,
    linear-gradient(#46545e, #46545e) 50% 96% / 70% 22% no-repeat,
    radial-gradient(circle at 50% 30%, #4a5963 0 14%, transparent 15%),
    linear-gradient(to bottom, #2e3a44, #36444e);
}

/* Sections */
.section { padding: 104px 0; }
.section-intro { color: var(--steel); font-size: 1.15rem; max-width: 56ch; margin: 16px 0 0; }

.services { margin-top: 56px; border-top: 2px solid var(--ink); }
.service {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.tag { margin: 10px 0 0; color: var(--amber-ink); font-weight: 600; font-size: .95rem; }
.service-body p { margin: 0 0 16px; max-width: 60ch; }
.service-body ul { margin: 0; padding: 0; list-style: none; }
.service-body li { position: relative; padding-left: 26px; margin: 6px 0; color: var(--steel); }
.service-body li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 12px; height: 2px; background: var(--amber);
}

.section-dark { background: var(--ink); color: var(--white); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.big { font-size: 1.3rem; line-height: 1.55; color: #c9d2d9; margin: 24px 0 0; max-width: 42ch; }
.values { margin: 0; }
.values div { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.18); }
.values div:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.values dt { font-weight: 700; font-stretch: 80%; font-size: 1.4rem; color: var(--amber); }
.values dd { margin: 6px 0 0; color: #c9d2d9; }

/* Contact */
.form { background: var(--white); padding: 36px; border-radius: 6px; border: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--steel); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink);
  padding: 12px 14px;
  border: 1px solid #76838e; border-radius: 4px;
  background: var(--paper);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); box-shadow: 0 0 0 5px var(--amber); background: var(--white); }
.field ::placeholder { color: var(--steel); opacity: 1; }
.field textarea { resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--steel); margin-bottom: 16px; }
.privacy-info { margin: 0 0 24px; font-size: .85rem; line-height: 1.5; color: var(--steel); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--panel); color: #aab6bf; padding: 32px 0; font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.site-footer p { margin: 0; }
.site-footer ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: var(--white); }

/* Páginas legales */
.legal { max-width: 760px; }
.legal h1 { margin-bottom: 24px; }
.legal h2 { font-size: 1.6rem; margin: 40px 0 8px; }
.legal ul { padding-left: 20px; }
.legal .back { margin-top: 32px; }

/* Cifras bajo el hero */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  margin: 72px 0 0; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.facts dt { font-stretch: 75%; font-weight: 750; font-size: 1.9rem; line-height: 1.1; color: var(--amber); }
.facts dd { margin: 6px 0 0; color: #aab6bf; font-size: .98rem; line-height: 1.45; }

/* Sección con fondo blanco */
.section-alt { background: var(--white); }

/* Analítica */
.analytics {
  list-style: none; padding: 0; margin: 48px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 2px solid var(--ink);
}
.analytics li { padding: 28px 24px 8px 0; border-bottom: 1px solid var(--line); }
.analytics h3 { font-size: 1.35rem; }
.analytics p { color: var(--steel); margin: 10px 0 0; font-size: 1rem; }

/* Para quién */
.audience h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); max-width: 16ch; }
.audience ul { list-style: none; padding: 0; margin: 28px 0 0; border-top: 2px solid var(--ink); }
.audience li { padding: 14px 0 14px 26px; border-bottom: 1px solid var(--line); position: relative; }
.audience li::before {
  content: ""; position: absolute; left: 0; top: 1.45em;
  width: 12px; height: 2px; background: var(--amber);
}

/* Sectores */
.sectors { margin: 48px 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; }
.sectors div { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.18); }
.sectors dt { font-weight: 700; font-stretch: 80%; font-size: 1.35rem; color: var(--amber); }
.sectors dd { margin: 4px 0 0; color: #c9d2d9; }
.section-dark .big { max-width: 60ch; }

/* Valores sobre fondo claro */
.values-light div { border-top-color: var(--line); }
.values-light div:last-child { border-bottom-color: var(--line); }
.values-light dt { color: var(--ink); }
.values-light dd { color: var(--steel); }

/* RecTap */
.rectap .new {
  display: inline-block; margin: 0 0 16px; padding: 3px 10px;
  background: var(--amber); color: var(--ink);
  font-weight: 700; font-size: .9rem; border-radius: 3px;
}
.rectap h2 { max-width: 22ch; }
.rectap .big { max-width: 58ch; }
.rectap-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 72px;
  margin-top: 48px;
}
.rectap-grid > div { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.18); }
.rectap-grid h3 { font-size: 1.4rem; color: var(--amber); }
.rectap-grid p { margin: 8px 0 0; color: #c9d2d9; max-width: 52ch; }
.premium {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  margin-top: 40px; padding: 28px 32px;
  background: var(--panel-2); border-left: 4px solid var(--amber);
}
.premium > div { flex: 1 1 420px; }
.premium h3 { font-size: 1.4rem; }
.premium p { margin: 8px 0 0; color: #c9d2d9; }

.premium .dist { margin-top: 12px; font-size: .92rem; color: #aab6bf; }
.btn:disabled { opacity: .7; cursor: progress; }

/* Capturas de RecTap */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 56px; }
.shot { margin: 0; }
.shot-wide { grid-column: 1 / -1; }
.shot a { display: block; border-radius: 6px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); }
.shot img { width: 100%; height: auto; }
.shot figcaption { margin-top: 12px; color: #aab6bf; font-size: .95rem; max-width: 70ch; }
.shot figcaption b { color: var(--white); }

/* ¿Qué ha pasado con IProNet? */
.faq { margin: 48px 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; }
.faq div { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.18); }
.faq dt { font-weight: 700; font-stretch: 80%; font-size: 1.35rem; color: var(--amber); }
.faq dd { margin: 6px 0 0; color: #c9d2d9; max-width: 56ch; }

/* Contacto por región */
.regions { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
.region { padding: 22px; background: var(--paper); border-top: 3px solid var(--amber); display: flex; flex-direction: column; gap: 6px; }
.region h3 { font-size: 1.4rem; }
.region .who { margin: 0 0 6px; font-weight: 600; line-height: 1.4; }
.region .who span { font-weight: 400; color: var(--steel); font-size: .92rem; }
.region a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; min-height: 44px; display: inline-flex; align-items: center; }
.region a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 4px; gap: 0 12px; justify-content: space-between; }
  .header-inner nav { order: 3; width: 100%; }
  .nav { margin: 0; gap: 0 18px; flex-wrap: wrap; }
  .hero { padding: 56px 0 64px; }
  .hero-inner, .split { grid-template-columns: 1fr; gap: 48px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 56px; }
  .service { grid-template-columns: 1fr; gap: 14px; }
  .section { padding: 72px 0; }
  .analytics { grid-template-columns: 1fr 1fr; }
  .sectors, .rectap-grid, .faq { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; gap: 28px; }
  .premium, .notice { padding: 24px 20px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 0; }
  .wrap { padding: 0 16px; }
  .site-header { position: static; }
  .hide-sm { display: none; }
  .nav { gap: 0 14px; font-size: .95rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 24px 20px; }
  .osd { left: 36px; right: 36px; font-size: .68rem; }
  .cam { font-size: .58rem; }
  .actions .btn { width: 100%; }
}
@media (max-width: 560px) {
  .analytics { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rec i { animation: none; }
}
