/* ==========================================================================
   TEMPO · Landing comercial (/)
   Estilos propios, sin dependencias de Bootstrap (la landing no carga site.css).
   ========================================================================== */

:root {
  --navy: #0f2557;
  --navy-deep: #081735;
  --blue: #1d4ed8;
  --blue-bright: #2563eb;
  --blue-dark: #1e3a8a;
  --sky: #eff6ff;
  --sky-deep: #dbeafe;
  --ink: #0f1f3d;
  --body: #4b5a7a;
  --muted: #6d7c99;
  --line: #e3e9f4;
  --soft: #f5f8fe;
  --white: #fff;
  --green: #059669;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(15, 37, 87, .05), 0 8px 22px rgba(15, 37, 87, .06);
  --shadow-lg: 0 28px 70px -20px rgba(15, 37, 87, .35);
  --container: 1160px;
  --header-h: 78px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.025em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.55rem); }
h3 { font-size: 1.08rem; letter-spacing: -.01em; }
p { margin: 0; }

::selection { background: var(--sky-deep); color: var(--navy); }

:focus-visible {
  outline: 3px solid rgba(29, 78, 216, .45);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform .18s ease;
}

.skip-link:focus { transform: translateY(0); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(15, 37, 87, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 44px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 6px 0;
  color: var(--navy);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Botones y enlaces ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: var(--white);
  box-shadow: 0 10px 22px -10px rgba(29, 78, 216, .75);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  transform: translateY(-1px);
  box-shadow: 0 16px 28px -12px rgba(29, 78, 216, .8);
}

.btn-secondary {
  background: var(--white);
  border-color: #cfd9ea;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: #aebfdc;
  background: var(--soft);
  transform: translateY(-1px);
}

.btn-ghost {
  padding: 10px 16px;
  color: var(--navy);
  background: transparent;
  border-color: var(--line);
}

.btn-ghost:hover { background: var(--soft); border-color: #cfd9ea; }

.btn-sm { font-size: .88rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.text-link svg { width: 16px; height: 16px; transition: transform .18s ease; }
.text-link:hover { color: var(--blue-dark); }
.text-link:hover svg { transform: translate(2px, -2px); }

/* ---------- Estructura de secciones ---------- */

.section { padding: clamp(68px, 8vw, 108px) 0; }
.section-soft { background: linear-gradient(180deg, var(--soft), #fbfdff); }

.section-head { max-width: 700px; margin-bottom: 46px; }
.section-head.center { margin-right: auto; margin-left: auto; text-align: center; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-head h2 { margin-bottom: 16px; }
.section-sub { font-size: 1.06rem; color: var(--body); }


/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 58px) 0 92px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 88% 10%, rgba(219, 234, 254, .9), transparent 65%),
    radial-gradient(700px 500px at 0% 100%, rgba(239, 246, 255, .95), transparent 70%),
    #fbfdff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 37, 87, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 37, 87, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  border: 1px solid #d6e3fb;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 2px 10px rgba(15, 37, 87, .04);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, .12);
}

.hero h1 { max-width: 20ch; margin: 22px 0 18px; }
.hero h1 span { color: var(--blue); }

.lead {
  max-width: 54ch;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--body);
}

.hero-price {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 26px 0 24px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-sm);
}

.hero-price-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 7px;
  flex: none;
}

.hero-price-main strong {
  color: var(--navy);
  font-size: 2.05rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
}

.hero-price-main span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}

.hero-price p {
  padding-left: 18px;
  border-left: 1px solid var(--line);
  font-size: .82rem;
  line-height: 1.45;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-size: .88rem;
  font-weight: 600;
}

.hero-points svg { width: 17px; height: 17px; color: var(--green); flex: none; }

/* Mockup de terminal + panel */

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  margin: 0;
}

.visual-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  max-width: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .26), rgba(37, 99, 235, 0) 68%);
  filter: blur(6px);
}

.device {
  position: relative;
  z-index: 1;
  width: min(100%, 318px);
  padding: 11px;
  border-radius: 30px;
  background: linear-gradient(160deg, #21345e, #081735 65%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .18);
  transform: rotate(-2deg);
}

.device-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 18px 18px 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .25);
  background:
    radial-gradient(300px 220px at 50% 0%, #e8f1ff, transparent 75%),
    #f8fbff;
  color: var(--navy);
  text-align: center;
}

.kiosk-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 18px;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.kiosk-brand { color: var(--navy); }
.kiosk-status { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-size: .58rem; letter-spacing: .04em; }
.kiosk-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.kiosk-clock {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}

.kiosk-greeting { margin-top: 12px; font-size: 1.1rem; font-weight: 800; }
.kiosk-tagline { margin-top: 2px; color: var(--muted); font-size: .62rem; font-weight: 600; }

.kiosk-terminal {
  margin: 16px 0 14px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue-dark);
  font-size: .58rem;
  font-weight: 700;
}

.kiosk-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue));
  color: var(--white);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .1em;
  box-shadow: 0 12px 22px -10px rgba(29, 78, 216, .85);
}

.kiosk-hint {
  margin-top: 14px;
  max-width: 220px;
  color: var(--muted);
  font-size: .61rem;
  line-height: 1.5;
}


.records-card {
  position: absolute;
  z-index: 2;
  bottom: 8px;
  left: -18px;
  width: 274px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 20px 44px -18px rgba(15, 37, 87, .38);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.records-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.records-head strong { color: var(--navy); font-size: .76rem; }
.records-live { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-size: .58rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.records-live i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.records-card ul { margin: 0; padding: 0; list-style: none; }

.records-card li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  border-top: 1px solid #f0f4fa;
}

.records-card .avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--blue);
  font-size: .6rem;
  font-weight: 800;
}

.records-card li div { display: flex; flex-direction: column; min-width: 0; }
.records-card li strong { color: var(--navy); font-size: .72rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.records-card li small { color: var(--muted); font-size: .62rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.records-card time { color: var(--navy); font-size: .66rem; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- Cómo funciona ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.step::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--blue-bright), rgba(37, 99, 235, 0));
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--sky);
  color: var(--blue);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.step h3 { margin-bottom: 9px; font-size: 1.16rem; }
.step p { font-size: .93rem; }


/* ---------- Ventajas ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.feature:hover {
  border-color: #cbd9ef;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -20px rgba(15, 37, 87, .25);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: linear-gradient(145deg, #f2f8ff, var(--sky));
  color: var(--blue);
}

.feature-icon svg { width: 21px; height: 21px; }
.feature h3 { margin-bottom: 6px; font-size: 1rem; }
.feature p { font-size: .88rem; line-height: 1.55; }

/* ---------- Comparación ---------- */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

.compare-col {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.compare-col h3 { margin-bottom: 20px; font-size: 1.1rem; }
.compare-col ul { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.compare-col li { display: flex; align-items: flex-start; gap: 11px; font-size: .92rem; line-height: 1.5; }

.compare-old { background: #f8fafc; border-color: #e8edf5; }
.compare-old h3 { color: #64748b; }
.compare-old li { color: #64748b; }

.compare-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: #e9eef6;
  color: #94a3b8;
  font-size: .78rem;
  font-weight: 800;
}

.compare-tempo {
  position: relative;
  overflow: hidden;
  border-color: transparent;
  background: linear-gradient(160deg, #102c63, var(--navy-deep));
  box-shadow: var(--shadow-lg);
  color: #d9e5ff;
}

.compare-tempo::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .55), transparent 68%);
  pointer-events: none;
}

.compare-tempo h3 { position: relative; color: var(--white); }
.compare-tempo ul { position: relative; }
.compare-tempo li { color: #dbe7ff; }

.compare-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(52, 211, 153, .18);
  color: #6ee7b7;
}

.compare-check svg { width: 12px; height: 12px; }

/* ---------- Precio ---------- */

.price-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 38px 40px 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 32px 70px -34px rgba(15, 37, 87, .35);
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), #60a5fa, var(--blue));
}

.price-top {
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--line);
  text-align: center;
}

.price-name {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.price-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin: 12px 0 6px;
  color: var(--navy);
  font-size: clamp(2.8rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.price-currency { align-self: flex-start; margin-top: 12px; font-size: 1.55rem; letter-spacing: 0; }
.price-value small { margin-left: 6px; color: var(--muted); font-size: .9rem; font-weight: 600; letter-spacing: 0; }
.price-sub { max-width: 46ch; margin: 0 auto; font-size: .92rem; color: var(--muted); }

.price-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 24px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 600;
}

.price-list svg { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 18px; color: var(--green); }

.price-notes { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; text-align: center; }
.price-note { font-size: .76rem; line-height: 1.5; color: var(--muted); }


/* ---------- Hardware ---------- */

.hardware-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 60px;
  align-items: center;
}

.hardware-copy h2 { margin-bottom: 18px; }
.hardware-copy p { margin-bottom: 14px; font-size: 1rem; }

.hardware-note {
  margin-top: 20px;
  padding: 13px 16px;
  border-left: 3px solid var(--blue);
  border-radius: 0 10px 10px 0;
  background: var(--soft);
  color: var(--muted);
  font-size: .84rem !important;
  line-height: 1.55;
}

.spec-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(160deg, var(--white), #f6faff);
  box-shadow: var(--shadow-sm);
}

.spec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.spec-label {
  display: block;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.spec-head h3 { margin-top: 5px; font-size: 1.28rem; }

.spec-size {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 58px;
  padding: 8px 10px;
  border: 1px solid #d6e3fb;
  border-radius: 11px;
  background: var(--white);
  color: var(--blue);
  font-size: .9rem;
  font-weight: 800;
}

.spec-list { display: flex; flex-direction: column; gap: 11px; margin: 0 0 18px; padding: 0; list-style: none; }

.spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--navy);
  font-size: .89rem;
  font-weight: 600;
}

.spec-list svg { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 2px; color: var(--green); }

.spec-foot {
  padding-top: 15px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.5;
}

/* ---------- Preguntas frecuentes ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 56px;
  align-items: start;
}

.faq-head { position: sticky; top: calc(var(--header-h) + 28px); }
.faq-head h2 { margin-bottom: 14px; }
.faq-head .section-sub { margin-bottom: 18px; }

.faq { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.faq-item[open] {
  border-color: #ccdcf6;
  box-shadow: 0 14px 30px -22px rgba(15, 37, 87, .35);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 19px;
  color: var(--navy);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue); }

.faq-icon {
  position: relative;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  border-radius: 50%;
  background: var(--sky);
  transition: background .18s ease, transform .18s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: translate(-50%, -50%);
  transition: background .18s ease, transform .18s ease;
}

.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-item[open] .faq-icon { background: var(--blue); transform: rotate(45deg); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: var(--white); }

.faq-answer { padding: 0 19px 19px; }
.faq-answer p { font-size: .9rem; line-height: 1.6; color: var(--body); }


/* ---------- CTA final ---------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: 76px 0 42px;
  background: linear-gradient(135deg, #13316d, var(--navy-deep));
  color: #dbe7ff;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta::before {
  top: -160px;
  right: -80px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(37, 99, 235, .55), transparent 68%);
}

.cta::after {
  bottom: -220px;
  left: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(59, 130, 246, .28), transparent 70%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta .section-label { color: #93c5fd; }
.cta h2 { max-width: 20ch; margin-bottom: 12px; color: var(--white); }
.cta-copy p { color: #b9cbeb; font-size: 1rem; }

.cta-actions { display: flex; flex: none; flex-wrap: wrap; gap: 12px; }

.cta .btn-primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 16px 32px -16px rgba(0, 0, 0, .6);
}

.cta .btn-primary:hover { background: #eef5ff; }

.cta .btn-secondary {
  border-color: rgba(255, 255, 255, .3);
  background: transparent;
  color: var(--white);
  box-shadow: none;
}

.cta .btn-secondary:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .08); }

.cta-contact {
  position: relative;
  z-index: 1;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #a9bde4;
  font-size: .85rem;
}

.cta-contact a { color: var(--white); font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 54px 0 26px;
  background: #06132b;
  color: #93a6c8;
  font-size: .88rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 42px;
  padding-bottom: 38px;
}

.footer-brand img {
  width: auto;
  height: 46px;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--white);
}

.footer-brand p { margin-top: 12px; max-width: 30ch; font-size: .86rem; }

.footer-nav,
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }

.footer-label {
  margin-bottom: 4px;
  color: #6f85ab;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.footer-nav a,
.footer-contact a {
  color: #c5d3ea;
  font-size: .86rem;
  text-decoration: none;
  transition: color .18s ease;
}

.footer-nav a:hover,
.footer-contact a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #7488ad;
  font-size: .77rem;
}

.footer-bottom a { color: #a9bde4; font-weight: 600; text-decoration: none; }
.footer-bottom a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Animación de aparición (solo si hay JS) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.js .reveal.is-visible { opacity: 1; transform: none; }


/* ---------- Adaptación a pantallas chicas ---------- */

@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .hero-grid { gap: 34px; }
  .hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.15rem); }
  .feature { padding: 20px; }
  .records-card { left: -6px; }
}

@media (max-width: 980px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header-h));
    margin: 0;
    padding: 8px 16px 16px;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .99);
    box-shadow: 0 24px 32px -24px rgba(15, 37, 87, .45);
  }

  .nav.is-open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid #f0f4fb; font-size: 1rem; }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .header-actions { margin-left: auto; }

  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { flex-direction: column; min-height: 0; margin-top: 6px; }
  .device { transform: rotate(-1.5deg); }
  .visual-glow { width: 380px; height: 380px; }

  .records-card {
    position: relative;
    bottom: auto;
    left: auto;
    width: min(100%, 330px);
    margin-top: -16px;
    transform: rotate(1deg);
  }

  .features { grid-template-columns: 1fr 1fr; }
  .hardware-grid { grid-template-columns: 1fr; gap: 38px; }
  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .faq-head { position: static; max-width: 640px; }

  .cta-inner { flex-direction: column; align-items: flex-start; gap: 26px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .section { padding: 66px 0; }
  .section-head { margin-bottom: 34px; }

  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    padding: 22px;
  }
  .step-num { grid-row: span 2; margin: 0; align-self: start; }
  .step h3 { align-self: end; margin-bottom: 4px; }
  .step p { grid-column: 2; }

  .compare { grid-template-columns: 1fr; }
  .price-card { padding: 30px 22px 26px; }
  .price-list { grid-template-columns: 1fr; gap: 11px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .cta { padding: 62px 0 34px; }
}

@media (max-width: 600px) {
  .header-inner { gap: 10px; }
  .brand img { height: 38px; }
  .header-actions .btn-ghost { padding: 9px 12px; font-size: .82rem; }

  .hero { padding-top: calc(var(--header-h) + 36px); padding-bottom: 64px; }
  .hero h1 { font-size: clamp(1.95rem, 8.6vw, 2.5rem); }
  .lead { font-size: 1rem; }
  .hero-price { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-price p { padding-left: 0; border-left: 0; }
  .hero-actions .btn { width: 100%; }

  .features { grid-template-columns: 1fr; }
  .compare-col { padding: 24px; }
  .spec-card { padding: 22px; }
  .price-value { font-size: 2.7rem; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .cta-contact { font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js .reveal { opacity: 1; transform: none; }
}

