:root {
  --bg: #07111f;
  --card: rgba(14, 25, 44, 0.9);
  --card2: rgba(17, 30, 52, 0.96);
  --line: rgba(255, 255, 255, 0.08);
  --text: #ecf2ff;
  --muted: #9eb1ca;
  --accent: #5eead4;
  --accent2: #60a5fa;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;

  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);

  background:
    radial-gradient(
      circle at top left,
      rgba(96, 165, 250, 0.14),
      transparent 34%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(94, 234, 212, 0.12),
      transparent 24%
    ),
    linear-gradient(
      180deg,
      #06101d 0%,
      #081221 55%,
      #050b14 100%
    );
}

a {
  color: inherit;
  text-decoration: none;
}

/* Contenedor general del contenido de la página */
.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}


/* ==================================================
   CABECERA
   ================================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100%;

  background: rgba(5, 11, 20, 0.78);
  border-bottom: 1px solid var(--line);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/*
  Este selector sobrescribe la clase .container
  incluso si en tu HTML tienes:

  <div class="container topbar-inner">
*/
.topbar .topbar-inner {
  position: relative;

  width: 100%;
  max-width: none;
  height: 76px;

  margin: 0;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  /*
    El logo no toca el borde.
    El margen varía entre 28 y 60 píxeles.
  */
  padding: 0 clamp(28px, 4vw, 60px);
}


/* ==================================================
   LOGO
   ================================================== */

.topbar .logo {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  gap: 12px;

  flex-shrink: 0;

  font-weight: 800;
  letter-spacing: 0.02em;
}

.topbar .logo-mark {
  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  border-radius: 14px;

  color: #04111f;

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent2)
    );

  box-shadow:
    0 10px 30px rgba(96, 165, 250, 0.25);

  font-size: 18px;
  font-weight: 900;
}

.topbar .logo-text {
  font-size: 18px;
  white-space: nowrap;
}


/* ==================================================
   MENÚ CENTRADO EXACTAMENTE
   ================================================== */

.topbar .nav {
  position: absolute;

  /*
    El punto central del menú se coloca en
    el centro exacto de la pantalla.
  */
  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 34px;

  margin: 0;
  padding: 0;

  white-space: nowrap;
}

.topbar .nav a {
  position: relative;

  padding: 6px 0;

  color: var(--muted);

  font-size: 14px;
  font-weight: 600;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.topbar .nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.topbar .nav a::after {
  content: "";

  position: absolute;
  left: 50%;
  bottom: -4px;

  width: 0;
  height: 2px;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      var(--accent),
      var(--accent2)
    );

  transform: translateX(-50%);
  transition: width 0.2s ease;
}

.topbar .nav a:hover::after {
  width: 100%;
}

/*
  Si tu HTML todavía contiene:
  <div class="topbar-right"></div>

  se oculta porque ya no es necesario.
*/
.topbar-right {
  display: none;
}


/* ==================================================
   HERO
   ================================================== */

.hero {
  padding: 74px 0 28px;

  display: grid;
  grid-template-columns: 1.08fr 0.92fr;

  gap: 24px;
  align-items: stretch;
}

.hero-content,
.hero-panel,
.feature-card,
.demo-box,
.info-card,
.footer-card {
  background:
    linear-gradient(
      180deg,
      var(--card),
      rgba(10, 18, 33, 0.92)
    );

  border: 1px solid var(--line);
  border-radius: var(--radius);

  box-shadow: var(--shadow);
}

.hero-content {
  padding: 42px;
}

.pill {
  display: inline-flex;
  align-items: center;

  padding: 8px 14px;
  margin-bottom: 18px;

  border: 1px solid rgba(94, 234, 212, 0.18);
  border-radius: 999px;

  background: rgba(94, 234, 212, 0.06);
  color: #c6fff4;

  font-size: 13px;
}

.hero h1 {
  max-width: 11ch;

  margin: 0;

  font-size: clamp(44px, 6vw, 74px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero p {
  max-width: 62ch;

  margin: 18px 0 0;

  color: var(--muted);

  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 14px;

  margin-top: 30px;
}


/* ==================================================
   BOTONES
   ================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 13px 18px;

  border: 1px solid var(--line);
  border-radius: 14px;

  font-size: 14px;
  font-weight: 700;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #05111f;

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent2)
    );

  border-color: transparent;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.03);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}


/* ==================================================
   PANEL DE ANÁLISIS
   ================================================== */

.hero-panel {
  padding: 18px;
}

.panel-screen {
  height: 100%;

  display: flex;
  flex-direction: column;

  gap: 16px;

  padding: 20px;

  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;

  background:
    linear-gradient(
      180deg,
      rgba(9, 18, 32, 0.96),
      rgba(12, 23, 40, 0.96)
    );
}

.screen-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 12px;
}

.screen-label {
  color: var(--muted);

  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.screen-top h3 {
  margin: 6px 0 0;

  font-size: 20px;
  letter-spacing: -0.03em;
}

.screen-badge {
  padding: 8px 12px;

  border: 1px solid rgba(94, 234, 212, 0.18);
  border-radius: 999px;

  background: rgba(94, 234, 212, 0.12);
  color: #b9fff3;

  font-size: 12px;
  font-weight: 700;
}


/* ==================================================
   GRÁFICO
   ================================================== */

.chart-area {
  min-height: 260px;

  display: grid;
  grid-template-columns: 1fr 180px;

  gap: 16px;
  align-items: stretch;
}

.chart-bars {
  display: flex;
  align-items: flex-end;

  gap: 10px;

  padding: 18px;

  border: 1px solid var(--line);
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.02);
}

.chart-bars span {
  flex: 1;

  min-width: 8px;

  border-radius: 10px 10px 4px 4px;

  background:
    linear-gradient(
      180deg,
      rgba(94, 234, 212, 0.95),
      rgba(96, 165, 250, 0.75)
    );

  box-shadow:
    0 10px 30px rgba(96, 165, 250, 0.12);

  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.chart-bars span:hover {
  transform: translateY(-4px);
  filter: brightness(1.12);
}

.chart-side {
  display: grid;
  gap: 10px;
}

.metric {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 16px;

  border: 1px solid var(--line);
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.03);
}

.metric-label {
  margin-bottom: 8px;

  color: var(--muted);

  font-size: 13px;
}

.metric strong {
  font-size: 24px;
  letter-spacing: -0.04em;
}


/* ==================================================
   TARJETAS DE ANÁLISIS
   ================================================== */

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 12px;
}

.analysis-card {
  padding: 16px;

  border: 1px solid var(--line);
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.03);
}

.analysis-card span {
  display: block;

  margin-bottom: 8px;

  color: var(--muted);

  font-size: 12px;
}

.analysis-card strong {
  font-size: 18px;
}


/* ==================================================
   SECCIONES
   ================================================== */

.section {
  padding: 22px 0 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;

  font-size: 26px;
  letter-spacing: -0.03em;
}

.section-head p {
  max-width: 70ch;

  margin: 0;

  color: var(--muted);

  line-height: 1.7;
}


/* ==================================================
   FEATURES
   ================================================== */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.feature-card {
  min-height: 190px;

  padding: 22px;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(96, 165, 250, 0.22);
}

.icon {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  margin-bottom: 14px;

  border: 1px solid rgba(96, 165, 250, 0.16);
  border-radius: 16px;

  background: rgba(96, 165, 250, 0.12);

  font-size: 20px;
}

.feature-card h3 {
  margin: 0 0 10px;

  font-size: 18px;
}

.feature-card p {
  margin: 0;

  color: var(--muted);

  line-height: 1.7;
}


/* ==================================================
   DEMO
   ================================================== */

.demo-box {
  min-height: 280px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-top: 18px;

  border-style: dashed;

  background: rgba(255, 255, 255, 0.02);

  text-align: center;
}

.demo-inner {
  max-width: 600px;

  padding: 32px;
}

.demo-inner h3 {
  margin: 0 0 10px;

  font-size: 22px;
}

.demo-inner p {
  margin: 0;

  color: var(--muted);

  line-height: 1.7;
}


/* ==================================================
   GUIDE
   ================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 18px;
}

.info-card {
  padding: 24px;
}

.info-card h2 {
  margin-top: 0;
}

.info-card ul {
  margin: 14px 0 0;
  padding-left: 18px;

  color: var(--muted);

  line-height: 1.9;
}


/* ==================================================
   CONTACTO Y FOOTER
   ================================================== */

.footer-card {
  padding: 24px;
  margin-top: 18px;
}

.footer-card h2 {
  margin: 0 0 10px;
}

.footer-card p {
  margin: 0;

  color: var(--muted);
}

.footer {
  padding: 30px 16px 48px;

  color: var(--muted);

  font-size: 14px;
  text-align: center;
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 1000px) {
  .topbar .topbar-inner {
    padding-right: 28px;
    padding-left: 28px;
  }

  .topbar .nav {
    gap: 24px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 14ch;
  }
}


/* ==================================================
   MÓVIL
   ================================================== */

@media (max-width: 820px) {
  .topbar .topbar-inner {
    height: auto;
    min-height: 76px;

    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    gap: 14px;

    padding: 14px 20px;
  }

  .topbar .logo {
    justify-content: flex-start;
  }

  .topbar .nav {
    position: static;

    width: 100%;

    justify-content: center;

    gap: 22px;

    padding: 2px 0 6px;

    overflow-x: auto;

    transform: none;

    scrollbar-width: none;
  }

  .topbar .nav::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .grid,
  .split,
  .analysis-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-content {
    padding: 28px;
  }

  .hero h1 {
    max-width: none;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .chart-area {
    grid-template-columns: 1fr;
  }

  .chart-side {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ==================================================
   MÓVILES PEQUEÑOS
   ================================================== */

@media (max-width: 560px) {
  .topbar .logo-text {
    font-size: 16px;
  }

  .topbar .nav {
    justify-content: flex-start;

    gap: 20px;
  }

  .topbar .nav a {
    font-size: 13px;
  }

  .hero-content,
  .hero-panel {
    padding: 20px;
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .hero p {
    font-size: 16px;
  }

  .chart-side {
    grid-template-columns: 1fr;
  }

  .analysis-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================================================
   HERO CASI A TODO EL ANCHO DE LA PANTALLA
   ================================================== */

/*
  Sobrescribe el ancho de .container únicamente
  cuando se utiliza también la clase .hero.
*/
.hero.container {
  width: auto;
  max-width: none;

  /*
    Mantiene un margen elegante sin comprimir el contenido.
    El margen varía entre 24 px y 64 px.
  */
  margin-right: clamp(24px, 3.2vw, 64px);
  margin-left: clamp(24px, 3.2vw, 64px);
}

.hero {
  padding: 56px 0 32px;

  display: grid;

  /*
    El recuadro izquierdo ocupa ligeramente más espacio.
    minmax(0, ...) evita desbordamientos.
  */
  grid-template-columns:
    minmax(0, 1.06fr)
    minmax(500px, 0.94fr);

  gap: clamp(24px, 2.2vw, 40px);

  align-items: stretch;
}

/*
  Ambos recuadros tienen la misma altura.
*/
.hero-content,
.hero-panel {
  min-height: 620px;
}

/* Recuadro "Plan ahead..." */
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: clamp(40px, 4vw, 72px);
}

/*
  El título puede ocupar más espacio horizontal.
*/
.hero h1 {
  max-width: 13ch;

  margin: 0;

  font-size: clamp(52px, 5vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero p {
  max-width: 72ch;

  margin: 22px 0 0;

  color: var(--muted);

  font-size: clamp(16px, 1.05vw, 19px);
  line-height: 1.75;
}

/* Recuadro "Operational overview" */
.hero-panel {
  display: flex;

  padding: clamp(18px, 1.6vw, 28px);
}

.panel-screen {
  width: 100%;
  height: 100%;
  min-height: 100%;

  padding: clamp(22px, 2vw, 34px);
}

/*
  El gráfico utiliza mejor el espacio disponible.
*/
.chart-area {
  flex: 1;

  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(190px, 240px);

  gap: clamp(14px, 1.4vw, 24px);

  min-height: 330px;
}

.chart-bars {
  gap: clamp(8px, 0.8vw, 14px);

  padding: clamp(16px, 1.5vw, 26px);
}

.chart-side {
  gap: 12px;
}

.metric {
  padding: clamp(16px, 1.4vw, 24px);
}

.metric strong {
  font-size: clamp(23px, 1.7vw, 30px);
}

.analysis-grid {
  gap: 14px;
}

.analysis-card {
  padding: clamp(16px, 1.3vw, 22px);
}


/* ==================================================
   PANTALLAS MEDIANAS
   ================================================== */

@media (max-width: 1150px) {
  .hero.container {
    margin-right: 28px;
    margin-left: 28px;
  }

  /*
    En pantallas donde dos columnas quedarían demasiado
    estrechas, los recuadros pasan a una sola columna.
  */
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-content,
  .hero-panel {
    min-height: auto;
  }

  .hero h1 {
    max-width: 15ch;
  }

  .hero-panel {
    min-height: 600px;
  }
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 820px) {
  .hero.container {
    margin-right: 20px;
    margin-left: 20px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-content {
    padding: 34px;
  }

  .hero-panel {
    min-height: auto;
  }

  .chart-area {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .chart-bars {
    min-height: 280px;
  }

  .chart-side {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ==================================================
   MÓVIL
   ================================================== */

@media (max-width: 560px) {
  .hero.container {
    margin-right: 14px;
    margin-left: 14px;
  }

  .hero {
    gap: 18px;
  }

  .hero-content,
  .hero-panel {
    padding: 20px;
  }

  .hero h1 {
    max-width: none;

    font-size: clamp(40px, 13vw, 58px);
  }

  .panel-screen {
    padding: 18px;
  }

  .chart-side {
    grid-template-columns: 1fr;
  }

  .analysis-grid {
    grid-template-columns: 1fr;
  }
}


/* ==================================================
   HERO CON IMAGEN DE FONDO
   ================================================== */

.hero-photo {
  position: relative;

  /*
    Ocupa casi todo el ancho de la pantalla,
    manteniendo un pequeño margen exterior.
  */
  width: calc(100% - clamp(32px, 5vw, 96px));
  max-width: 1900px;

  min-height: clamp(620px, 78vh, 820px);

  margin: 42px auto 32px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;

  /*
    Cambia el nombre si tu imagen se llama de otra forma.
  */
  background-image: url("img/airport-weather.jpg");
  background-size: cover;

  /*
    Da prioridad a la parte derecha de la fotografía.
  */
  background-position: center right;
  background-repeat: no-repeat;

  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.48);
}


/* ==================================================
   DESENFOQUE DE LA ZONA IZQUIERDA
   ================================================== */

.hero-blur-layer {
  position: absolute;
  z-index: 1;

  top: 0;
  bottom: 0;
  left: 0;

  /*
    El desenfoque ocupa aproximadamente
    el 60% izquierdo de la imagen.
  */
  width: 62%;

  background:
    linear-gradient(
      90deg,
      rgba(5, 12, 23, 0.92) 0%,
      rgba(5, 12, 23, 0.82) 48%,
      rgba(5, 12, 23, 0.45) 78%,
      rgba(5, 12, 23, 0) 100%
    );

  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);

  /*
    Hace que el desenfoque desaparezca gradualmente
    antes de llegar a la zona derecha.
  */
  -webkit-mask-image:
    linear-gradient(
      90deg,
      #000 0%,
      #000 72%,
      transparent 100%
    );

  mask-image:
    linear-gradient(
      90deg,
      #000 0%,
      #000 72%,
      transparent 100%
    );

  pointer-events: none;
}


/*
  Oscurecimiento muy ligero de toda la imagen.
  La parte derecha continúa viéndose con claridad.
*/
.hero-photo::after {
  content: "";

  position: absolute;
  z-index: 2;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(3, 8, 16, 0.32) 0%,
      rgba(3, 8, 16, 0.08) 56%,
      rgba(3, 8, 16, 0) 100%
    );

  pointer-events: none;
}


/* ==================================================
   DISTRIBUCIÓN DEL CONTENIDO
   ================================================== */

.hero-photo-content {
  position: relative;
  z-index: 3;

  width: 100%;
  min-height: inherit;

  display: grid;

  /*
    Texto a la izquierda e imagen libre a la derecha.
  */
  grid-template-columns:
    minmax(480px, 0.9fr)
    minmax(420px, 1.1fr);

  align-items: center;

  gap: clamp(30px, 4vw, 80px);

  padding:
    clamp(36px, 5vw, 88px)
    clamp(32px, 5vw, 90px);
}


/* ==================================================
   RECUADRO DE TEXTO
   ================================================== */

.hero-copy-card {
  width: 100%;
  max-width: 720px;

  padding: clamp(30px, 3.5vw, 56px);

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;

  background:
    linear-gradient(
      145deg,
      rgba(10, 21, 38, 0.78),
      rgba(7, 15, 28, 0.58)
    );

  /*
    Desenfoque adicional justo detrás del recuadro.
  */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}


/* ==================================================
   ETIQUETA SUPERIOR
   ================================================== */

.hero-pill {
  display: inline-flex;
  align-items: center;

  padding: 9px 15px;
  margin-bottom: 22px;

  border: 1px solid rgba(94, 234, 212, 0.22);
  border-radius: 999px;

  background: rgba(94, 234, 212, 0.09);
  color: #c6fff4;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* ==================================================
   TÍTULO Y TEXTOS
   ================================================== */

.hero-copy-card h1 {
  max-width: 12ch;

  margin: 0;

  color: var(--text);

  font-size: clamp(48px, 4.7vw, 82px);
  font-weight: 800;
  line-height: 0.97;
  letter-spacing: -0.055em;

  text-wrap: balance;
}

.hero-description {
  max-width: 58ch;

  margin: 26px 0 0;

  color: #dce8f7;

  font-size: clamp(17px, 1.15vw, 20px);
  font-weight: 500;
  line-height: 1.65;
}

.hero-secondary-text {
  max-width: 65ch;

  margin: 16px 0 0;

  color: var(--muted);

  font-size: 15px;
  line-height: 1.75;
}


/* ==================================================
   BOTONES DEL HERO
   ================================================== */

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 14px;

  margin-top: 30px;
}

.hero-copy-card .btn {
  min-height: 48px;

  padding: 13px 20px;
}


/*
  Esta columna no contiene nada.
  Su función es reservar la zona donde se ve
  la parte clara de la fotografía.
*/
.hero-clear-zone {
  min-width: 0;
  min-height: 420px;
}


/* ==================================================
   PANTALLAS MEDIANAS
   ================================================== */

@media (max-width: 1180px) {

  .hero-photo {
    width: calc(100% - 48px);
  }

  .hero-photo-content {
    grid-template-columns:
      minmax(420px, 1fr)
      minmax(300px, 0.75fr);

    gap: 32px;

    padding: 46px;
  }

  .hero-copy-card h1 {
    font-size: clamp(46px, 5.8vw, 72px);
  }
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 900px) {

  .hero-photo {
    width: calc(100% - 32px);
    min-height: 800px;

    margin-top: 28px;

    background-position: 68% center;
  }

  /*
    En tablet, el fondo se desenfoca en la zona
    superior y se mantiene visible debajo.
  */
  .hero-blur-layer {
    top: 0;
    right: 0;
    bottom: auto;

    width: 100%;
    height: 70%;

    background:
      linear-gradient(
        180deg,
        rgba(5, 12, 23, 0.92) 0%,
        rgba(5, 12, 23, 0.72) 68%,
        rgba(5, 12, 23, 0) 100%
      );

    -webkit-mask-image:
      linear-gradient(
        180deg,
        #000 0%,
        #000 72%,
        transparent 100%
      );

    mask-image:
      linear-gradient(
        180deg,
        #000 0%,
        #000 72%,
        transparent 100%
      );
  }

  .hero-photo::after {
    background:
      linear-gradient(
        180deg,
        rgba(3, 8, 16, 0.2) 0%,
        rgba(3, 8, 16, 0.05) 100%
      );
  }

  .hero-photo-content {
    grid-template-columns: 1fr;
    align-items: start;

    gap: 30px;

    padding: 34px;
  }

  .hero-copy-card {
    max-width: 680px;
  }

  .hero-copy-card h1 {
    max-width: 14ch;
  }

  .hero-clear-zone {
    min-height: 280px;
  }
}


/* ==================================================
   MÓVIL
   ================================================== */

@media (max-width: 600px) {

  .hero-photo {
    width: calc(100% - 24px);
    min-height: 760px;

    margin-top: 20px;

    border-radius: 22px;

    background-position: 62% center;
  }

  .hero-photo-content {
    gap: 24px;

    padding: 18px;
  }

  .hero-copy-card {
    padding: 26px 22px;

    border-radius: 20px;
  }

  .hero-copy-card h1 {
    max-width: none;

    font-size: clamp(40px, 12vw, 56px);
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-secondary-text {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-copy-card .btn {
    width: 100%;
  }

  .hero-clear-zone {
    min-height: 240px;
  }
}


/* ==================================================
   AJUSTE FINAL DEL HERO
   Más corto, texto más pequeño e imagen más nítida
   ================================================== */

.hero-photo {
  /*
    Mantiene el hero ancho, pero reduce su altura.
  */
  width: calc(100% - clamp(32px, 4vw, 72px));
  max-width: 1900px;

  min-height: clamp(500px, 64vh, 650px);
  max-height: 680px;

  margin: 32px auto 28px;

  /*
    La imagen sigue llenando todo el espacio.
  */
  background-size: cover;
  background-repeat: no-repeat;

  /*
    Muestra principalmente la parte derecha.
    Puedes cambiar 68% por 60%, 70% o 75%.
  */
  background-position: 68% center;
}


/* ==================================================
   DISTRIBUCIÓN INTERIOR
   ================================================== */

.hero-photo-content {
  min-height: inherit;

  grid-template-columns:
    minmax(420px, 0.85fr)
    minmax(380px, 1.15fr);

  gap: clamp(24px, 3vw, 56px);

  padding:
    clamp(28px, 3.5vw, 56px)
    clamp(28px, 4vw, 72px);
}


/* ==================================================
   DESENFOQUE SOLO EN LA PARTE IZQUIERDA
   ================================================== */

.hero-blur-layer {
  /*
    Antes ocupaba aproximadamente el 62%.
    Ahora solamente afecta a la mitad izquierda.
  */
  width: 52%;

  /*
    Desenfoque mucho más ligero.
  */
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);

  background:
    linear-gradient(
      90deg,
      rgba(5, 12, 23, 0.82) 0%,
      rgba(5, 12, 23, 0.70) 48%,
      rgba(5, 12, 23, 0.28) 78%,
      rgba(5, 12, 23, 0) 100%
    );

  -webkit-mask-image:
    linear-gradient(
      90deg,
      #000 0%,
      #000 72%,
      transparent 100%
    );

  mask-image:
    linear-gradient(
      90deg,
      #000 0%,
      #000 72%,
      transparent 100%
    );
}


/*
  Reduce el oscurecimiento general de la imagen.
  La parte derecha se verá más luminosa y definida.
*/
.hero-photo::after {
  background:
    linear-gradient(
      90deg,
      rgba(3, 8, 16, 0.22) 0%,
      rgba(3, 8, 16, 0.08) 50%,
      rgba(3, 8, 16, 0) 76%
    );
}


/* ==================================================
   RECUADRO DEL TEXTO
   ================================================== */

.hero-copy-card {
  width: 100%;
  max-width: 610px;

  padding: clamp(26px, 2.7vw, 42px);

  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      rgba(10, 21, 38, 0.76),
      rgba(7, 15, 28, 0.56)
    );

  /*
    Antes era 14px, lo que desenfocaba demasiado
    la imagen que había detrás del recuadro.
  */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}


/* ==================================================
   ETIQUETA SUPERIOR
   ================================================== */

.hero-pill {
  padding: 8px 13px;
  margin-bottom: 18px;

  font-size: 11px;
  letter-spacing: 0.055em;
}


/* ==================================================
   TÍTULO MÁS PEQUEÑO
   ================================================== */

.hero-copy-card h1 {
  max-width: 15ch;

  margin: 0;

  font-size: clamp(38px, 3.5vw, 60px);
  line-height: 1.01;
  letter-spacing: -0.045em;

  text-wrap: balance;
}


/* ==================================================
   TEXTOS MÁS COMPACTOS
   ================================================== */

.hero-description {
  max-width: 56ch;

  margin: 20px 0 0;

  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.6;
}

.hero-secondary-text {
  max-width: 62ch;

  margin: 12px 0 0;

  font-size: 14px;
  line-height: 1.65;
}


/* ==================================================
   BOTONES MÁS COMPACTOS
   ================================================== */

.hero-actions {
  gap: 12px;
  margin-top: 24px;
}

.hero-copy-card .btn {
  min-height: 44px;
  padding: 11px 18px;
}


/*
  Reduce la altura mínima de la zona derecha.
*/
.hero-clear-zone {
  min-height: 300px;
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 900px) {

  .hero-photo {
    width: calc(100% - 32px);

    min-height: 680px;
    max-height: none;

    margin-top: 26px;

    background-position: 65% center;
  }

  .hero-photo-content {
    grid-template-columns: 1fr;

    gap: 24px;

    padding: 30px;
  }

  .hero-copy-card {
    max-width: 630px;
  }

  .hero-copy-card h1 {
    max-width: 14ch;

    font-size: clamp(38px, 7vw, 56px);
  }

  .hero-blur-layer {
    width: 100%;
    height: 68%;

    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .hero-clear-zone {
    min-height: 190px;
  }
}


/* ==================================================
   MÓVIL
   ================================================== */

@media (max-width: 600px) {

  .hero-photo {
    width: calc(100% - 24px);

    min-height: 650px;

    margin-top: 18px;

    background-position: 62% center;
  }

  .hero-photo-content {
    padding: 16px;
  }

  .hero-copy-card {
    padding: 24px 20px;
  }

  .hero-copy-card h1 {
    max-width: none;

    font-size: clamp(34px, 10.5vw, 46px);
    line-height: 1.03;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-secondary-text {
    font-size: 13px;
  }

  .hero-clear-zone {
    min-height: 150px;
  }
}

/* ==================================================
   TARJETAS INTERACTIVAS SOBRE LA IMAGEN
   ================================================== */

.hero-insight-cards {
  width: min(100%, 500px);

  display: grid;
  gap: 16px;

  justify-self: end;
  align-self: center;
}


/* ==================================================
   CONTENEDOR DE CADA TARJETA
   ================================================== */

.flip-card {
  width: 100%;
  height: 150px;

  margin: 0;
  padding: 0;

  position: relative;

  border: 0;
  border-radius: 22px;

  background: transparent;
  color: var(--text);

  font: inherit;
  text-align: left;

  cursor: pointer;

  perspective: 1200px;

  appearance: none;
  -webkit-appearance: none;
}


/*
  El elemento interior es el que realiza el giro.
*/

.flip-card-inner {
  position: relative;

  display: block;

  width: 100%;
  height: 100%;

  transform-style: preserve-3d;

  transition:
    transform 0.65s cubic-bezier(0.2, 0.75, 0.25, 1);
}


/*
  Esta clase se añadirá mediante JavaScript.
*/

.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}


/* ==================================================
   CARAS DELANTERA Y TRASERA
   ================================================== */

.flip-card-face {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;

  padding: 22px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}


/* ==================================================
   CARA DELANTERA
   ================================================== */

.flip-card-front {
  gap: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(8, 18, 32, 0.9),
      rgba(12, 29, 48, 0.76)
    );
}


/*
  El desenfoque se aplica únicamente dentro
  de las tarjetas, no sobre toda la imagen.
*/

@supports (
  (backdrop-filter: blur(3px)) or
  (-webkit-backdrop-filter: blur(3px))
) {

  .flip-card-front,
  .flip-card-back {
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }

}


/* ==================================================
   NÚMERO DE LA TARJETA
   ================================================== */

.flip-card-number {
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  border: 1px solid rgba(94, 234, 212, 0.22);
  border-radius: 15px;

  background: rgba(94, 234, 212, 0.1);
  color: var(--accent);

  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}


/* ==================================================
   CONTENIDO DE LA CARA DELANTERA
   ================================================== */

.flip-card-content {
  min-width: 0;

  display: flex;
  flex: 1;
  flex-direction: column;

  gap: 8px;
}

.flip-card-title {
  color: #f2f7ff;

  font-size: clamp(17px, 1.25vw, 21px);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.flip-card-hint {
  color: rgba(220, 232, 247, 0.62);

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.flip-card-arrow {
  flex-shrink: 0;

  color: var(--accent);

  font-size: 22px;

  transition:
    transform 0.25s ease,
    color 0.25s ease;
}


/* ==================================================
   CARA TRASERA
   ================================================== */

.flip-card-back {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;

  gap: 10px;

  transform: rotateY(180deg);

  background:
    linear-gradient(
      135deg,
      rgba(14, 49, 61, 0.96),
      rgba(18, 54, 87, 0.94)
    );
}

.flip-card-back-label {
  color: var(--accent);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.flip-card-back-text {
  max-width: 42ch;

  color: #eff7ff;

  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}


/* ==================================================
   EFECTOS HOVER Y FOCO
   ================================================== */

.flip-card:hover .flip-card-front {
  border-color: rgba(94, 234, 212, 0.35);

  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(94, 234, 212, 0.08);
}

.flip-card:hover .flip-card-arrow {
  color: #c8fff6;

  transform: translate(3px, -3px);
}

.flip-card:focus-visible {
  outline: 3px solid rgba(94, 234, 212, 0.75);
  outline-offset: 4px;
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 900px) {
  .hero-insight-cards {
    width: 100%;
    max-width: 620px;
    justify-self: end;
    align-self: start;

    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .flip-card {
    height: 155px;
  }

  .flip-card-face {
    padding: 16px;
  }

  .flip-card-front {
    gap: 10px;
  }

  .flip-card-title {
    font-size: 16px;
  }

  .flip-card-back-text {
    font-size: 13px;
  }
}


/* ==================================================
   MÓVIL
   ================================================== */

@media (max-width: 700px) {
  .hero-insight-cards {
    grid-template-columns: 1fr;
  }

  .flip-card {
    height: auto;
    min-height: 150px;
    perspective: none;
    cursor: default;
  }

  .flip-card-inner {
    transform: none !important;
    transition: none;
  }

  .flip-card.is-flipped .flip-card-inner {
    transform: none !important;
  }

  .flip-card-face {
    position: relative;
    inset: auto;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }

  .flip-card-back {
    display: none;
  }

  .flip-card-front {
    min-height: 150px;
  }
}

/* ==================================================
   TARJETAS MÁS ANCHAS HACIA LA IZQUIERDA
   ================================================== */

@media (min-width: 901px) {

  .hero-insight-cards {
    /*
      Aumenta el ancho respecto a la columna disponible.
      Como está alineado a la derecha, el crecimiento
      se produce hacia la izquierda.
    */
    width: calc(100% + 100px);
    max-width: 620px;

    justify-self: end;
  }

}

/* ==================================================
   APROVECHAR TODO EL ANCHO DE LA TARJETA TRASERA
   ================================================== */

.flip-card-back {
  /*
    Permite que todos los elementos interiores
    ocupen el ancho disponible.
  */
  align-items: stretch;

  padding: 22px 28px;
}

.flip-card-back-label {
  display: block;

  width: 100%;
}

.flip-card-back-text {
  display: block;

  /*
    Elimina la limitación anterior de 42ch.
  */
  width: 100%;
  max-width: none;

  font-size: 15px;
  line-height: 1.5;

  text-wrap: pretty;
}

.flip-card-back .flip-card-hint {
  display: block;

  width: 100%;
}


/* ==================================================
   ICONOS DE LAS TARJETAS INTERACTIVAS
   ================================================== */

.flip-card-icon {
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  border: 1px solid rgba(94, 234, 212, 0.24);
  border-radius: 15px;

  background:
    linear-gradient(
      145deg,
      rgba(94, 234, 212, 0.14),
      rgba(96, 165, 250, 0.08)
    );

  color: var(--accent);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 24px rgba(0, 0, 0, 0.16);

  transition:
    transform 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.flip-card-icon svg {
  display: block;

  width: 25px;
  height: 25px;
}

/* Efecto al colocar el ratón sobre la tarjeta */

.flip-card:hover .flip-card-icon {
  transform: translateY(-2px) scale(1.04);

  color: #c8fff6;

  border-color: rgba(94, 234, 212, 0.42);

  background:
    linear-gradient(
      145deg,
      rgba(94, 234, 212, 0.2),
      rgba(96, 165, 250, 0.12)
    );
}

/* ==================================================
   PRODUCT SHOWCASE
   ================================================== */

.product-showcase {
  width: calc(100% - clamp(32px, 5vw, 96px));
  max-width: 1900px;

  margin: clamp(48px, 6vw, 90px) auto;
  padding: clamp(30px, 4vw, 68px);

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 30px;

  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(96, 165, 250, 0.1),
      transparent 38%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(94, 234, 212, 0.07),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      rgba(10, 20, 36, 0.96),
      rgba(6, 13, 24, 0.98)
    );

  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.36);
}


/* ==================================================
   DISTRIBUCIÓN
   ================================================== */

.showcase-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1.3fr)
    minmax(340px, 0.7fr);

  align-items: center;

  gap: clamp(42px, 5vw, 90px);
}


/* ==================================================
   ZONA DEL MONITOR
   ================================================== */

.monitor-area {
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;

  min-width: 0;
}


/* ==================================================
   MARCO DEL MONITOR
   ================================================== */

.monitor {
  position: relative;

  width: 100%;

  padding: 11px;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      #24364b,
      #0a1422 48%,
      #17283b
    );

  box-shadow:
    0 38px 90px rgba(0, 0, 0, 0.48),
    inset 0 1px 1px rgba(255, 255, 255, 0.18),
    inset 0 -1px 2px rgba(0, 0, 0, 0.65);
}


/* ==================================================
   BARRA SUPERIOR DEL MONITOR
   ================================================== */

.monitor-toolbar {
  height: 42px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  gap: 12px;

  padding: 0 10px;
}

.monitor-toolbar-dots {
  display: flex;
  align-items: center;

  gap: 6px;
}

.monitor-toolbar-dots span {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.24);
}

.monitor-toolbar-dots span:first-child {
  background: rgba(94, 234, 212, 0.72);
}

.monitor-toolbar-title {
  color: rgba(236, 242, 255, 0.7);

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.monitor-toolbar-status {
  justify-self: end;

  color: rgba(158, 177, 202, 0.66);

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* ==================================================
   PANTALLA DEL MONITOR
   ================================================== */

.monitor-screen {
  position: relative;

  width: 100%;
  aspect-ratio: 16 / 9;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;

  background: #06101d;

  box-shadow:
    inset 0 0 28px rgba(0, 0, 0, 0.48);
}


/* ==================================================
   CARRUSEL DE IMÁGENES
   ================================================== */

.monitor-track {
  width: 100%;
  height: 100%;

  display: flex;

  transform: translateX(0);

  transition:
    transform 0.75s cubic-bezier(0.22, 0.75, 0.25, 1);
}

.monitor-slide {
  width: 100%;
  min-width: 100%;
  height: 100%;

  margin: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #07111f;
}

.monitor-slide img {
  display: block;

  width: 100%;
  height: 100%;

  /*
    "contain" muestra la captura completa y evita
    que el navegador recorte los bordes.
  */
  object-fit: contain;

  object-position: center;

  image-rendering: auto;
}


/* ==================================================
   CONTADOR DE PANTALLAS
   ================================================== */

.monitor-counter {
  position: absolute;
  right: 16px;
  bottom: 14px;

  display: flex;
  align-items: baseline;

  gap: 4px;

  padding: 7px 11px;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;

  background: rgba(4, 10, 19, 0.72);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  color: rgba(236, 242, 255, 0.6);

  font-size: 11px;
}

.monitor-counter strong {
  color: var(--accent);

  font-size: 14px;
}


/* ==================================================
   SOPORTE DEL MONITOR
   ================================================== */

.monitor-neck {
  width: clamp(76px, 11%, 125px);
  height: 56px;

  margin-top: -1px;

  background:
    linear-gradient(
      90deg,
      #0a1523,
      #34495e 50%,
      #0a1523
    );

  clip-path:
    polygon(
      18% 0,
      82% 0,
      100% 100%,
      0 100%
    );

  box-shadow:
    0 16px 25px rgba(0, 0, 0, 0.3);
}

.monitor-base {
  width: clamp(210px, 35%, 380px);
  height: 16px;

  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;

  background:
    linear-gradient(
      180deg,
      #34495e,
      #101c2b 55%,
      #080f19
    );

  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.42);
}


/* ==================================================
   TEXTO A LA DERECHA
   ================================================== */

.showcase-copy {
  min-width: 0;
  min-height: 450px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: clamp(10px, 2vw, 30px) 0;
}


/* ==================================================
   INDICADORES
   ================================================== */

.showcase-dots {
  display: flex;
  align-items: center;

  gap: 10px;

  margin-bottom: 30px;
}

.showcase-dot {
  width: 34px;
  height: 5px;

  margin: 0;
  padding: 0;

  border: 0;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.14);

  cursor: pointer;

  transition:
    width 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.showcase-dot.is-active {
  width: 58px;

  background:
    linear-gradient(
      90deg,
      var(--accent),
      var(--accent2)
    );

  box-shadow:
    0 0 20px rgba(94, 234, 212, 0.2);
}

.showcase-dot:focus-visible {
  outline: 3px solid rgba(94, 234, 212, 0.65);
  outline-offset: 5px;
}


/* ==================================================
   BLOQUES DE TEXTO
   ================================================== */

.showcase-text {
  display: none;
}

.showcase-text.is-active {
  display: block;

  animation:
    showcaseTextIn 0.55s ease both;
}

@keyframes showcaseTextIn {

  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

.showcase-eyebrow {
  display: block;

  margin-bottom: 14px;

  color: var(--accent);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.showcase-text h2 {
  max-width: 14ch;

  margin: 0;

  color: var(--text);

  font-size: clamp(34px, 3vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.045em;

  text-wrap: balance;
}

.showcase-text p {
  max-width: 54ch;

  margin: 22px 0 0;

  color: var(--muted);

  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.7;
}


/* ==================================================
   LISTA DE BENEFICIOS
   ================================================== */

.showcase-list {
  display: grid;

  gap: 12px;

  margin: 24px 0 0;
  padding: 0;

  list-style: none;
}

.showcase-list li {
  position: relative;

  padding-left: 28px;

  color: rgba(220, 232, 247, 0.82);

  font-size: 14px;
  line-height: 1.55;
}

.showcase-list li::before {
  content: "✓";

  position: absolute;
  left: 0;
  top: 0;

  width: 19px;
  height: 19px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(94, 234, 212, 0.24);
  border-radius: 50%;

  background: rgba(94, 234, 212, 0.08);
  color: var(--accent);

  font-size: 11px;
  font-weight: 900;
}


/* ==================================================
   BOTONES ANTERIOR Y SIGUIENTE
   ================================================== */

.showcase-controls {
  display: flex;
  align-items: center;

  gap: 12px;

  margin-top: 34px;
}

.showcase-arrow {
  min-height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  padding: 10px 15px;

  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.035);
  color: rgba(236, 242, 255, 0.82);

  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.035em;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.showcase-arrow:hover {
  transform: translateY(-2px);

  border-color: rgba(94, 234, 212, 0.3);

  background: rgba(94, 234, 212, 0.08);
  color: #eafffb;
}

.showcase-arrow:focus-visible {
  outline: 3px solid rgba(94, 234, 212, 0.65);
  outline-offset: 4px;
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 1050px) {

  .product-showcase {
    width: calc(100% - 40px);

    padding: 38px;
  }

  .showcase-layout {
    grid-template-columns: 1fr;

    gap: 46px;
  }

  .monitor-area {
    max-width: 900px;

    margin: 0 auto;
  }

  .showcase-copy {
    min-height: 390px;

    padding: 0;
  }

  .showcase-text h2 {
    max-width: 18ch;
  }

}


/* ==================================================
   MÓVIL
   ================================================== */

@media (max-width: 650px) {

  .product-showcase {
    width: calc(100% - 24px);

    margin: 34px auto 56px;
    padding: 18px;

    border-radius: 22px;
  }

  .showcase-layout {
    gap: 36px;
  }

  .monitor {
    padding: 7px;

    border-radius: 15px;
  }

  .monitor-toolbar {
    height: 34px;

    grid-template-columns: auto 1fr;
  }

  .monitor-toolbar-title {
    justify-self: end;

    font-size: 9px;
  }

  .monitor-toolbar-status {
    display: none;
  }

  .monitor-screen {
    border-radius: 8px;
  }

  .monitor-counter {
    right: 9px;
    bottom: 8px;

    padding: 5px 8px;
  }

  .monitor-neck {
    height: 38px;
  }

  .monitor-base {
    height: 11px;
  }

  .showcase-copy {
    min-height: 430px;
  }

  .showcase-dots {
    margin-bottom: 24px;
  }

  .showcase-text h2 {
    max-width: none;

    font-size: clamp(34px, 10vw, 46px);
  }

  .showcase-controls {
    width: 100%;
  }

  .showcase-arrow {
    flex: 1;
  }

}


/* ==================================================
   REDUCIR ANIMACIONES SI EL USUARIO LO PREFIERE
   ================================================== */

@media (prefers-reduced-motion: reduce) {

  .monitor-track,
  .showcase-text.is-active {
    animation: none;
    transition: none;
  }

}

/* ==================================================
   REDUCIR EL TAMAÑO DEL MONITOR EN ORDENADOR
   ================================================== */

@media (min-width: 1051px) {

  .monitor-area {
    width: 88%;
    max-width: 820px;

    justify-self: center;
  }

}

/* ==================================================
   CONTACT SECTION
   ================================================== */

.contact-section {
  width: calc(100% - clamp(32px, 5vw, 96px));
  max-width: 1900px;

  margin:
    clamp(60px, 8vw, 120px)
    auto
    clamp(50px, 7vw, 100px);

  scroll-margin-top: 100px;
}

.contact-shell {
  display: grid;
  grid-template-columns:
    minmax(320px, 0.78fr)
    minmax(520px, 1.22fr);

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;

  background:
    linear-gradient(
      145deg,
      rgba(12, 24, 42, 0.98),
      rgba(6, 13, 24, 0.98)
    );

  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.38);
}


/* ==================================================
   CONTACT INTRODUCTION
   ================================================== */

.contact-intro {
  position: relative;

  padding: clamp(36px, 5vw, 76px);

  overflow: hidden;

  border-right: 1px solid rgba(255, 255, 255, 0.08);

  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(94, 234, 212, 0.13),
      transparent 36%
    ),
    radial-gradient(
      circle at 90% 85%,
      rgba(96, 165, 250, 0.12),
      transparent 38%
    ),
    rgba(255, 255, 255, 0.015);
}

.contact-intro::after {
  content: "";

  position: absolute;
  right: -120px;
  bottom: -120px;

  width: 300px;
  height: 300px;

  border: 1px solid rgba(94, 234, 212, 0.1);
  border-radius: 50%;

  pointer-events: none;
}

.contact-eyebrow {
  display: inline-block;

  margin-bottom: 20px;

  color: var(--accent);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-intro h2 {
  max-width: 13ch;

  margin: 0;

  color: var(--text);

  font-size: clamp(38px, 3.5vw, 62px);
  line-height: 1;
  letter-spacing: -0.05em;

  text-wrap: balance;
}

.contact-description {
  max-width: 52ch;

  margin: 24px 0 0;

  color: var(--muted);

  font-size: 16px;
  line-height: 1.75;
}


/* ==================================================
   CONTACT BENEFITS
   ================================================== */

.contact-benefits {
  display: grid;

  gap: 15px;

  margin-top: 34px;
}

.contact-benefit {
  display: flex;
  align-items: flex-start;

  gap: 12px;

  color: rgba(225, 235, 248, 0.84);

  font-size: 14px;
  line-height: 1.55;
}

.contact-benefit-icon {
  width: 22px;
  height: 22px;

  display: grid;
  place-items: center;

  flex-shrink: 0;

  border: 1px solid rgba(94, 234, 212, 0.25);
  border-radius: 50%;

  background: rgba(94, 234, 212, 0.08);
  color: var(--accent);

  font-size: 11px;
  font-weight: 900;
}


/* ==================================================
   DIRECT EMAIL
   ================================================== */

.contact-direct {
  display: flex;
  flex-direction: column;

  gap: 7px;

  margin-top: 42px;
  padding-top: 28px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-direct span {
  color: var(--muted);

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-direct a {
  width: fit-content;

  color: #eaf4ff;

  font-size: 15px;
  font-weight: 700;

  transition: color 0.2s ease;
}

.contact-direct a:hover {
  color: var(--accent);
}


/* ==================================================
   REQUEST FORM
   ================================================== */

.request-form {
  position: relative;

  padding: clamp(36px, 4.5vw, 70px);

  color-scheme: dark;
}

.form-heading {
  margin-bottom: 30px;
}

.form-heading > span {
  display: block;

  margin-bottom: 9px;

  color: var(--accent);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-heading h3 {
  margin: 0;

  color: var(--text);

  font-size: clamp(26px, 2vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.form-heading p {
  margin: 9px 0 0;

  color: var(--muted);

  font-size: 13px;
}


/* ==================================================
   FORM GRID
   ================================================== */

.form-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 20px;
}

.form-field {
  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 9px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  color: rgba(232, 241, 252, 0.86);

  font-size: 13px;
  font-weight: 700;
}

.form-field label span,
.form-consent > span > span {
  color: var(--accent);
}


/* ==================================================
   FORM CONTROLS
   ================================================== */

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;

  margin: 0;
  padding: 14px 15px;

  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;

  outline: none;

  background: rgba(255, 255, 255, 0.035);
  color: var(--text);

  font: inherit;
  font-size: 14px;

  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.form-field input,
.form-field select {
  min-height: 50px;
}

.form-field textarea {
  min-height: 150px;

  line-height: 1.6;

  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(158, 177, 202, 0.56);
}

.form-field select {
  cursor: pointer;
}

.form-field select option {
  background: #0b1727;
  color: #ecf2ff;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: rgba(255, 255, 255, 0.2);

  background: rgba(255, 255, 255, 0.05);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(94, 234, 212, 0.58);

  background: rgba(94, 234, 212, 0.035);

  box-shadow:
    0 0 0 4px rgba(94, 234, 212, 0.08);
}

.form-field-note {
  color: rgba(158, 177, 202, 0.62);

  font-size: 11px;
}


/* ==================================================
   CONSENT
   ================================================== */

.form-consent {
  display: flex;
  align-items: flex-start;

  gap: 11px;

  margin-top: 22px;

  color: var(--muted);

  font-size: 12px;
  line-height: 1.55;

  cursor: pointer;
}

.form-consent input {
  width: 17px;
  height: 17px;

  flex-shrink: 0;

  margin: 2px 0 0;

  accent-color: var(--accent);
}


/* ==================================================
   SUBMIT BUTTON
   ================================================== */

.form-submit {
  width: 100%;
  min-height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  margin-top: 24px;
  padding: 13px 20px;

  border: 0;
  border-radius: 14px;

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent2)
    );

  color: #04111f;

  font: inherit;
  font-size: 14px;
  font-weight: 800;

  cursor: pointer;

  box-shadow:
    0 14px 34px rgba(96, 165, 250, 0.17);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.form-submit:hover {
  transform: translateY(-2px);

  filter: brightness(1.06);

  box-shadow:
    0 18px 42px rgba(96, 165, 250, 0.24);
}

.form-submit:active {
  transform: translateY(0);
}

.form-submit:focus-visible {
  outline: 3px solid rgba(94, 234, 212, 0.6);
  outline-offset: 4px;
}

.form-privacy-note {
  margin: 14px 0 0;

  color: rgba(158, 177, 202, 0.58);

  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}


/* ==================================================
   HONEYPOT
   ================================================== */

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;

  width: 1px !important;
  height: 1px !important;

  overflow: hidden !important;
}


/* ==================================================
   SITE FOOTER
   ================================================== */

.site-footer {
  width: 100%;

  margin-top: 40px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  background:
    linear-gradient(
      180deg,
      rgba(5, 11, 20, 0.75),
      rgba(3, 8, 15, 0.98)
    );
}

.footer-main {
  width: min(1500px, calc(100% - 64px));

  display: grid;
  grid-template-columns:
    minmax(280px, 1.6fr)
    repeat(3, minmax(150px, 0.6fr));

  gap: clamp(36px, 5vw, 90px);

  margin: 0 auto;
  padding: 62px 0 52px;
}


/* ==================================================
   FOOTER BRAND
   ================================================== */

.footer-brand {
  max-width: 430px;
}

.footer-logo {
  width: fit-content;

  display: inline-flex;
  align-items: center;

  gap: 11px;

  color: var(--text);

  font-size: 18px;
  font-weight: 800;
}

.footer-logo-mark {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border-radius: 13px;

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent2)
    );

  color: #04111f;

  font-size: 17px;
  font-weight: 900;
}

.footer-brand p {
  max-width: 42ch;

  margin: 19px 0 0;

  color: var(--muted);

  font-size: 13px;
  line-height: 1.7;
}


/* ==================================================
   FOOTER COLUMNS
   ================================================== */

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 12px;
}

.footer-column h3 {
  margin: 0 0 6px;

  color: rgba(236, 242, 255, 0.9);

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-column a {
  color: var(--muted);

  font-size: 13px;
  line-height: 1.5;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-column a:hover {
  color: var(--accent);

  transform: translateX(2px);
}


/* ==================================================
   FOOTER BOTTOM
   ================================================== */

.footer-bottom {
  width: min(1500px, calc(100% - 64px));

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  margin: 0 auto;
  padding: 22px 0 28px;

  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-bottom p {
  margin: 0;

  color: rgba(158, 177, 202, 0.65);

  font-size: 11px;
  line-height: 1.5;
}


/* ==================================================
   RESPONSIVE
   ================================================== */

@media (max-width: 1000px) {

  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .contact-intro h2 {
    max-width: 17ch;
  }

  .footer-main {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    max-width: none;

    grid-column: 1 / -1;
  }

}


@media (max-width: 650px) {

  .contact-section {
    width: calc(100% - 24px);

    margin-top: 46px;
  }

  .contact-shell {
    border-radius: 22px;
  }

  .contact-intro,
  .request-form {
    padding: 28px 22px;
  }

  .contact-intro h2 {
    max-width: none;

    font-size: clamp(36px, 10vw, 48px);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field-full {
    grid-column: auto;
  }

  .footer-main,
  .footer-bottom {
    width: calc(100% - 40px);
  }

  .footer-main {
    grid-template-columns: 1fr;

    gap: 34px;

    padding: 46px 0 40px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;

    padding: 20px 0 28px;
  }

}

/* ==================================================
   CONTACT SUCCESS MODAL
   ================================================== */

.contact-modal {
  width: min(520px, calc(100% - 32px));

  margin: auto;
  padding: 0;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;

  color: var(--text);

  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(94, 234, 212, 0.14),
      transparent 42%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(96, 165, 250, 0.12),
      transparent 40%
    ),
    linear-gradient(
      145deg,
      rgba(14, 28, 48, 0.99),
      rgba(5, 12, 23, 0.99)
    );

  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}


/* Fondo que aparece detrás del popup */

.contact-modal::backdrop {
  background: rgba(2, 7, 14, 0.78);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}


/* Animación de entrada */

.contact-modal[open] {
  animation:
    contactModalIn 0.34s
    cubic-bezier(0.2, 0.8, 0.25, 1)
    both;
}


/* ==================================================
   CONTENIDO
   ================================================== */

.contact-modal-card {
  position: relative;

  padding: 42px 38px 38px;

  overflow: hidden;

  text-align: center;
}

.contact-modal-card::before {
  content: "";

  position: absolute;
  top: -95px;
  left: 50%;

  width: 250px;
  height: 180px;

  border-radius: 50%;

  background: rgba(94, 234, 212, 0.08);

  filter: blur(46px);

  transform: translateX(-50%);

  pointer-events: none;
}


/* ==================================================
   BOTÓN X
   ================================================== */

.contact-modal-close {
  position: absolute;
  z-index: 2;

  top: 17px;
  right: 17px;

  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  margin: 0;
  padding: 0;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.035);
  color: rgba(236, 242, 255, 0.72);

  font: inherit;
  font-size: 24px;
  line-height: 1;

  cursor: pointer;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.contact-modal-close:hover {
  color: var(--text);

  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.18);

  transform: rotate(4deg);
}


/* ==================================================
   ICONO DE CONFIRMACIÓN
   ================================================== */

.contact-modal-icon {
  position: relative;

  width: 70px;
  height: 70px;

  display: grid;
  place-items: center;

  margin: 4px auto 24px;

  border: 1px solid rgba(94, 234, 212, 0.3);
  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      rgba(94, 234, 212, 0.18),
      rgba(96, 165, 250, 0.1)
    );

  color: var(--accent);

  box-shadow:
    0 18px 50px rgba(94, 234, 212, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contact-modal-icon svg {
  width: 34px;
  height: 34px;
}


/* ==================================================
   TEXTOS DEL POPUP
   ================================================== */

.contact-modal-eyebrow {
  display: block;

  margin-bottom: 10px;

  color: var(--accent);

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-modal h2 {
  margin: 0;

  color: var(--text);

  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.contact-modal p {
  max-width: 43ch;

  margin: 18px auto 0;

  color: var(--muted);

  font-size: 15px;
  line-height: 1.7;
}


/* ==================================================
   BOTÓN PRINCIPAL DEL POPUP
   ================================================== */

.contact-modal-action {
  width: 100%;
  min-height: 50px;

  margin-top: 28px;
  padding: 13px 20px;

  border: 0;
  border-radius: 14px;

  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent2)
    );

  color: #04111f;

  font: inherit;
  font-size: 14px;
  font-weight: 800;

  cursor: pointer;

  box-shadow:
    0 15px 38px rgba(96, 165, 250, 0.18);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.contact-modal-action:hover {
  transform: translateY(-2px);

  filter: brightness(1.06);

  box-shadow:
    0 20px 45px rgba(96, 165, 250, 0.26);
}

.contact-modal-action:focus-visible,
.contact-modal-close:focus-visible {
  outline: 3px solid rgba(94, 234, 212, 0.65);
  outline-offset: 4px;
}


/* ==================================================
   MENSAJE DE ERROR DEL FORMULARIO
   ================================================== */

.form-status {
  display: none;

  margin: 0;

  color: #ffb9c3;

  font-size: 12px;
  line-height: 1.55;
}

.form-status.is-visible {
  display: block;

  margin-top: 14px;
  padding: 12px 14px;

  border: 1px solid rgba(255, 112, 136, 0.24);
  border-radius: 12px;

  background: rgba(255, 77, 109, 0.07);

  text-align: left;
}


/* ==================================================
   ESTADO "SENDING"
   ================================================== */

.form-submit-spinner {
  display: none;

  width: 17px;
  height: 17px;

  border: 2px solid rgba(4, 17, 31, 0.3);
  border-top-color: #04111f;
  border-radius: 50%;

  animation:
    formSpinner 0.75s linear infinite;
}

.form-submit.is-loading .form-submit-spinner {
  display: block;
}

.form-submit.is-loading .form-submit-arrow {
  display: none;
}

.form-submit:disabled {
  cursor: wait;

  opacity: 0.78;

  transform: none;
  filter: none;
}


/* ==================================================
   ANIMACIONES
   ================================================== */

@keyframes contactModalIn {
  from {
    opacity: 0;

    transform:
      translateY(18px)
      scale(0.965);
  }

  to {
    opacity: 1;

    transform:
      translateY(0)
      scale(1);
  }
}

@keyframes formSpinner {
  to {
    transform: rotate(360deg);
  }
}


/* ==================================================
   MÓVIL
   ================================================== */

@media (max-width: 560px) {
  .contact-modal {
    width: calc(100% - 24px);

    border-radius: 22px;
  }

  .contact-modal-card {
    padding: 38px 22px 24px;
  }

  .contact-modal-icon {
    width: 62px;
    height: 62px;

    border-radius: 19px;
  }

  .contact-modal-icon svg {
    width: 30px;
    height: 30px;
  }
}


/* Respetar la configuración de accesibilidad del usuario */

@media (prefers-reduced-motion: reduce) {
  .contact-modal[open],
  .form-submit-spinner {
    animation: none;
  }
}


.monitor-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #07111f;
}