@import url('https://fonts.googleapis.com/css2?family=Cabinet+Grotesk:wght@800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-split-left: #181b20;
  --bg-split-right: #0f1115;
  --bg-card: #16191f;
  --bg-card-hover: #1e222a;
  --color-sand: #fbf0e4;
  --color-sand-dim: #cfc5b8;
  --color-text: #d4d9e1;
  --color-muted: #7c838e;
  --color-border: #21262f;
  --color-accent: #f06833;
  --color-accent-hover: #ff7d47;
  --font-display: 'Cabinet Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --max-w: 1380px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.editorial-theme {
  background-color: var(--bg-split-right);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.contenedor {
  width: min(92%, var(--max-w));
  margin-inline: auto;
}

/* ========================================================
   HEADER STICKY
   ======================================================== */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2.2rem 0;
  z-index: 100;
  transition: padding 0.35s ease, background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.header-nav.is-sticky {
  padding: 0.85rem 0;
  background-color: rgba(15, 17, 21, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  width: min(92%, var(--max-w));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  height: 64px;
  min-width: 190px;
}

.brand-logo .logo-full {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
  transform-origin: left center;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.brand-logo .logo-iso {
  position: absolute;
  left: 0;
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8) rotate(-6deg);
  transform-origin: left center;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.header-nav.is-sticky .brand-logo {
  height: 48px;
}

.header-nav.is-sticky .brand-logo .logo-full {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85) translateX(-8px);
}

.header-nav.is-sticky .brand-logo .logo-iso {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) rotate(0deg);
}

.header-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-menu a.menu-link {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.header-menu a.menu-link:hover {
  color: #fff;
}

.link-wsp {
  color: #25d366 !important;
  font-weight: 700 !important;
}

.btn-nav {
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding-bottom: 4px;
  position: relative;
  text-transform: uppercase;
}

.btn-nav::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 110;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background-color: var(--color-sand);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ========================================================
   HERO EDITORIAL
   ======================================================== */
.hero-split {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8.5rem 0 3.5rem;
  overflow: hidden;
}

.split-bg {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 1;
}

.pane-left {
  flex: 1.15;
  background-color: var(--bg-split-left);
}

.pane-right {
  flex: 0.85;
  background-color: var(--bg-split-right);
  position: relative;
  overflow: hidden;
}

.bg-watermark {
  position: absolute;
  top: 15%;
  right: -2%;
  font-family: var(--font-display);
  font-size: 15vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.035);
  user-select: none;
  letter-spacing: -0.05em;
  pointer-events: none;
}

.hero-inner-editorial {
  position: relative;
  z-index: 2;
  width: min(92%, var(--max-w));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 3.5rem;
}

.editorial-lead-tag {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.hero-title-editorial {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
  margin-bottom: 1.85rem;
  user-select: none;
}

.title-sub {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.3vw, 2.4rem);
  font-weight: 900;
  color: var(--color-sand);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.title-giant {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.8vw, 6.6rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  display: block;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.hero-editorial-desc {
  color: var(--color-muted);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-editorial-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.btn-editorial {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  width: fit-content;
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 8px;
}

.btn-editorial::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
}

.btn-arrow {
  color: var(--color-accent);
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.btn-editorial:hover .btn-arrow {
  transform: translateX(6px);
}

.link-subrayado-secundario {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.link-subrayado-secundario:hover {
  color: var(--color-sand);
}

/* Columna Visual */
.hero-visual-editorial {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.visual-plate-wrapper {
  position: relative;
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hardware-glow {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(240, 104, 51, 0.16) 0%, rgba(240, 104, 51, 0) 70%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.hardware-main-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.9));
  transform: rotate(-1deg) scale(1.02);
  transition: transform 0.4s ease;
}

.hardware-main-img:hover {
  transform: rotate(0deg) scale(1.05);
}

.hardware-shadow {
  position: absolute;
  bottom: 30px;
  width: 82%;
  height: 25px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0) 75%);
  z-index: 1;
  pointer-events: none;
}

.spec-label {
  position: relative;
  z-index: 3;
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(17, 19, 23, 0.85);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
  padding: 0.45rem 1rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.7rem;
  color: var(--color-sand-dim);
  letter-spacing: 0.12em;
}

.spec-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
}

.hero-lateral-tag {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  z-index: 5;
  pointer-events: none;
}

.hero-lateral-tag span {
  font-family: monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
}

/* Franja cuatro pilares */
.hero-bottom-ticker {
  position: relative;
  z-index: 2;
  width: min(92%, var(--max-w));
  margin-inline: auto;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.ticker-col {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.ticker-num {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 700;
  margin-top: 2px;
}

.ticker-content strong {
  display: block;
  font-size: 0.85rem;
  color: var(--color-sand);
  margin-bottom: 0.2rem;
}

.ticker-content span {
  font-size: 0.78rem;
  color: var(--color-muted);
  line-height: 1.4;
  display: block;
}

/* ========================================================
   SECCIÓN MARQUESINA DE CLIENTES / CONFIANZA
   ======================================================== */
.seccion-marquesina {
  padding: 4rem 0 3rem;
  border-top: 1px solid var(--color-border);
  background-color: #0b0d10;
  overflow: hidden;
}

.marquesina-header {
  margin-bottom: 2rem;
}

.marquesina-lead {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  display: flex;
  user-select: none;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.marquee-item:hover {
  color: var(--color-sand);
}

.marquee-sep {
  color: var(--color-accent);
  font-size: 1rem;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========================================================
   QUIÉNES SOMOS (+20 AÑOS DE EXPERIENCIA)
   ======================================================== */
.seccion-bloque {
  padding: 7rem 0;
  border-top: 1px solid var(--color-border);
}

.bg-alt {
  background-color: var(--bg-split-left);
}

.quienes-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4.5rem;
  align-items: flex-start;
}

.quienes-p-destacado {
  color: var(--color-sand);
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.quienes-p {
  color: var(--color-muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.quienes-actions {
  margin-top: 2.5rem;
}

.quienes-cards-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quienes-card-item {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  padding: 1.4rem 1.6rem;
  border-radius: 6px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.quienes-card-item:hover {
  transform: translateX(6px);
  border-color: var(--color-accent);
}

.quienes-card-num {
  font-family: monospace;
  color: var(--color-accent);
  font-weight: 800;
  font-size: 0.78rem;
  display: block;
  margin-bottom: 0.25rem;
}

.quienes-card-item h4 {
  color: var(--color-sand);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.quienes-card-item p {
  color: var(--color-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ========================================================
   SECCIÓN ESTADÍSTICAS
   ======================================================== */
.seccion-stats {
  background: #0d0f13;
  padding: 5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  border-left: 2px solid var(--color-border);
  padding-left: 1.5rem;
  transition: border-color 0.3s ease;
}

.stat-card:hover {
  border-color: var(--color-accent);
}

.stat-num-wrap {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-plus {
  color: var(--color-accent);
  font-size: 2.2rem;
  margin-left: 4px;
}

.stat-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-sand);
  margin-bottom: 0.4rem;
}

.stat-desc {
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* ========================================================
   SECCIÓN SERVICIOS (CINCO TARJETAS)
   ======================================================== */
.seccion-cabecera {
  margin-bottom: 3.5rem;
  max-width: 720px;
}

.seccion-tag {
  color: var(--color-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  display: block;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.seccion-titulo {
  color: var(--color-sand);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.seccion-bajada {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.grid-servicios-cinco {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

.card-item-service {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  padding: 2.25rem 2rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.card-item-service:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  background-color: var(--bg-card-hover);
}

.card-service-num {
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: monospace;
}

.card-item-service h3 {
  color: var(--color-sand);
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.card-item-service p {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.card-link-action {
  color: var(--color-sand);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.card-link-action span {
  color: var(--color-accent);
  transition: transform 0.2s ease;
}

.card-link-action:hover span {
  transform: translateX(4px);
}

.card-service-destacado {
  border-color: rgba(240, 104, 51, 0.35);
}

/* ========================================================
   SECCIÓN ENFOQUE (PARALLAX)
   ======================================================== */
.seccion-enfoque-parallax {
  position: relative;
  padding: 8rem 0;
  border-top: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.parallax-bg {
  position: absolute;
  inset: -20% 0;
  background: radial-gradient(ellipse at center, rgba(240, 104, 51, 0.12) 0%, rgba(15, 17, 21, 0.95) 70%),
              linear-gradient(180deg, #181b20 0%, #0d0f12 100%);
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

.enfoque-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.seccion-tag-light {
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  display: block;
  margin-bottom: 1.25rem;
}

.enfoque-titulo {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.enfoque-desc {
  color: var(--color-sand-dim);
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.7;
}

/* ========================================================
   MÉTODO (CUATRO PASOS)
   ======================================================== */
.lista-pasos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.paso-box {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  padding: 2.2rem 2rem;
  border-radius: 6px;
}

.paso-top {
  margin-bottom: 1rem;
}

.paso-num {
  font-family: monospace;
  color: var(--color-accent);
  font-weight: 800;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.4rem;
}

.paso-box h3 {
  color: var(--color-sand);
  font-size: 1.3rem;
  font-weight: 800;
}

.paso-box p {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========================================================
   SECCIÓN NFC
   ======================================================== */
.placa-showcase {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
}

.placa-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  display: block;
}

.placa-info h2 {
  color: var(--color-sand);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.placa-info p {
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

.link-subrayado {
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  text-transform: uppercase;
}

.link-subrayado::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  min-width: 50px;
  height: 2px;
  background-color: var(--color-accent);
}

/* ========================================================
   TRAYECTORIA (2021)
   ======================================================== */
.seccion-trayectoria {
  padding: 5rem 0;
}

.trayectoria-card {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  padding: 3.5rem;
  border-radius: 8px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3.5rem;
  align-items: center;
}

.trayectoria-badge {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.03em;
  user-select: none;
}

.trayectoria-content h3 {
  color: var(--color-sand);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.trayectoria-content p {
  color: var(--color-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* ========================================================
   CIERRE / CONTACTO
   ======================================================== */
.cierre-card {
  background: linear-gradient(180deg, #181c23 0%, #101216 100%);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 5.5rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cierre-card h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 900;
  max-width: 820px;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.cierre-card p {
  color: var(--color-muted);
  font-size: 1.1rem;
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.cierre-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primario {
  background-color: var(--color-sand);
  color: #111;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 1rem 2.25rem;
  border-radius: 4px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primario:hover {
  background-color: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-wsp {
  background-color: transparent;
  color: #fff;
  border: 1px solid #25d366;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 1rem 2.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-wsp:hover {
  background-color: #25d366;
  color: #111;
  transform: translateY(-2px);
}

/* ========================================================
   FOOTER
   ======================================================== */
.pie-sitio {
  border-top: 1px solid var(--color-border);
  padding: 4.5rem 0 3.5rem;
  font-size: 0.9rem;
}

.pie-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-logo {
  height: 48px;
  width: auto;
  display: block;
  margin-bottom: 1rem;
}

.pie-lema {
  color: var(--color-muted);
  font-size: 0.88rem;
  max-width: 320px;
}

.pie-col h4 {
  color: var(--color-sand);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.pie-col a {
  color: var(--color-muted);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.pie-col a:hover {
  color: var(--color-accent);
}

.pie-col .copy {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* ========================================================
   ANIMACIONES MODERNAS (AOS NATIVO & REVEAL)
   ======================================================== */
.anim-fade-up {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUpIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUpIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 1024px) {
  .hero-lateral-tag {
    display: none;
  }
  .quienes-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .hero-bottom-ticker {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .header-nav {
    padding: 1.25rem 0;
  }

  .brand-logo {
    height: 48px;
    min-width: 140px;
  }

  .brand-logo .logo-full {
    height: 42px;
  }

  .brand-logo .logo-iso {
    height: 34px;
  }

  .nav-toggle {
    display: flex;
  }

  .header-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background-color: #15181f;
    border-left: 1px solid var(--color-border);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 2.5rem;
    gap: 1.8rem;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 105;
  }

  .header-menu.active {
    right: 0;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .nav-toggle.open span:nth-child(2) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .hero-split {
    padding-top: 7rem;
    padding-bottom: 3.5rem;
  }

  .split-bg {
    flex-direction: column;
  }

  .pane-right {
    display: none;
  }

  .hero-inner-editorial {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual-editorial {
    order: -1;
    margin: 1rem 0;
  }

  .hardware-main-img {
    max-width: 310px;
    margin-inline: auto;
    transform: none;
  }

  .hero-bottom-ticker {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .trayectoria-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2.5rem 1.5rem;
  }

  .placa-showcase {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cierre-card {
    padding: 3.5rem 1.5rem;
  }

  .pie-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
/* ========================================================
   ESTILOS PARA PÁGINAS INTERIORES Y MOTOR DE AGENDA
   ======================================================== */
.pagina-interior {
  padding-top: 6rem;
  min-height: 85vh;
}

.seccion-agenda {
  padding: 5rem 0 7rem;
}

.agenda-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4.5rem;
  align-items: flex-start;
}

.agenda-lead {
  font-size: 1.1rem;
  color: var(--color-sand-dim);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.agenda-detalles-box {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.agenda-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
}

.agenda-item span {
  font-size: 0.95rem;
  color: var(--color-text);
}

.agenda-directo p {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

/* Tarjeta Formulario */
.form-agenda-card {
  background: var(--bg-split-left);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 2.8rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.badge-servicio-previo {
  background: rgba(240, 104, 51, 0.12);
  border: 1px solid rgba(240, 104, 51, 0.3);
  color: var(--color-sand);
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  border-radius: 4px;
}

.campo-grupo {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.campo-grupo label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-sand);
  letter-spacing: 0.04em;
}

.input-editorial {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  color: #fff;
  padding: 0.9rem 1.1rem;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-editorial:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(240, 104, 51, 0.2);
}

.campo-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-top: 0.4rem;
}

.campo-checkbox input {
  margin-top: 3px;
  accent-color: var(--color-accent);
}

.campo-checkbox a {
  color: var(--color-sand);
  text-decoration: underline;
}

.btn-full {
  width: 100%;
  text-align: center;
  margin-top: 0.8rem;
  cursor: pointer;
  border: none;
}

@media (max-width: 960px) {
  .agenda-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}