:root {
  --bg: #031129;
  --bg-soft: #061d44;
  --text: #edf4ff;
  --muted: #bfd0e9;
  --accent: #4da3ff;
  --accent-soft: #81bfff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

#tecnologia,
#tecnologiaOverview,
#capacidades,
#clientes,
#pyro {
  scroll-margin-top: clamp(5rem, 8vw, 7rem);
}

#tecnologia {
  scroll-margin-top: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 12%, rgba(93, 159, 255, 0.2), transparent 45%),
    radial-gradient(circle at 90% 30%, rgba(55, 113, 220, 0.22), transparent 38%);
  z-index: -2;
}

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: min(1180px, calc(100% - 1.76rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}

.brand img {
  width: 200px;
  height: auto;
  display: block;
}

.top-nav {
  display: flex;
  gap: 1.7rem;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-left: auto;
}

.top-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  opacity: 0.9;
}

.top-nav a.nav-active {
  color: #8ac2ff;
  font-weight: 700;
}

.mobile-jump {
  display: none !important;
  color: var(--text);
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  margin-right: auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 7rem 0.88rem 4rem;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.48);
  transform-origin: center center;
  filter: brightness(0.95) saturate(1.08) contrast(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(4, 12, 30, 0.042), rgba(2, 9, 22, 0.294)),
    linear-gradient(to right, rgba(3, 13, 32, 0.21), rgba(3, 13, 32, 0.021));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
  max-width: 1180px;
  padding-left: clamp(0rem, 2vw, 1.4rem);
}

.hero-content.reveal,
.hero-content.reveal.visible {
  transform: translateY(-1.2rem);
}

.kicker {
  margin: 0 0 0.8rem;
  color: var(--accent-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero-kicker {
  text-transform: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.03;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.95rem, 5.3vw, 4.3rem);
  max-width: 18ch;
  line-height: 1.08;
}

.hero-content p {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.35vw, 1.24rem);
  max-width: 52ch;
}

.hero-subline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 1.8rem;
  width: min(1120px, 100%);
}

.hero-lead {
  margin: 0;
  max-width: 42ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.76rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 220ms ease, opacity 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #02244f;
  background: linear-gradient(120deg, #9bccff, #57a9ff 58%, #3f83ff);
}

.btn-hero {
  color: #eaf4ff;
  margin-left: auto;
  background: linear-gradient(135deg, rgba(126, 196, 255, 0.56), rgba(70, 133, 255, 0.6));
  border: 1px solid rgba(198, 231, 255, 0.55);
  box-shadow:
    0 12px 28px rgba(43, 105, 230, 0.35),
    0 0 24px rgba(112, 186, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}

.btn-header {
  margin-left: 0;
  padding: 0.5rem 0.95rem;
  font-size: 0.8rem;
  line-height: 1;
  min-height: 2.1rem;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  padding: 0.5rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(198, 231, 255, 0.42);
  background: rgba(12, 31, 70, 0.24);
  color: #eef6ff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  min-height: 2.1rem;
  cursor: pointer;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease;
  backdrop-filter: blur(4px);
}

.lang-toggle:hover {
  transform: translateY(-2px);
  background: rgba(21, 44, 92, 0.36);
  border-color: rgba(198, 231, 255, 0.62);
}

.lang-toggle svg {
  width: 0.96rem;
  height: 0.96rem;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  opacity: 0.95;
}

.section {
  width: min(1180px, calc(100% - 1.76rem));
  margin: 0 auto;
  padding: clamp(4.2rem, 9vw, 7rem) 0;
}

.technology h2 {
  font-size: clamp(1.45rem, 3.4vw, 2.65rem);
  max-width: 16ch;
}

.technology {
  padding-top: clamp(4rem, 7vw, 5.8rem);
}

.tech-intro {
  max-width: 78ch;
}

.big-copy {
  margin-top: 1.5rem;
  max-width: 68ch;
  color: var(--muted);
  font-size: clamp(1.03rem, 2vw, 1.2rem);
  line-height: 1.68;
}

.tech-rows {
  margin-top: 3.4rem;
  display: grid;
  gap: 4rem;
}

.tech-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(1.3rem, 3vw, 3rem);
  align-items: center;
  padding-bottom: 0.6rem;
}

.tech-row-intro {
  align-items: start;
}

.tech-copy h3 {
  font-size: clamp(1.25rem, 2.9vw, 2rem);
  max-width: 17ch;
}

.tech-main-title {
  font-size: clamp(1.65rem, 3.9vw, 3rem);
  max-width: 15ch;
  font-weight: 800;
}

.tech-overview {
  max-width: min(1120px, 100%);
}

.tech-overview p {
  margin-top: 1rem;
  max-width: 100%;
  color: var(--muted);
  line-height: 1.7;
}

.tech-copy p {
  margin-top: 0.8rem;
  max-width: 54ch;
  color: var(--muted);
  line-height: 1.68;
}

.tech-summary p {
  margin-top: 0;
}

.tech-media {
  min-height: clamp(220px, 26vw, 320px);
  border-radius: 0.55rem;
  overflow: hidden;
}

.tech-media-full {
  min-height: clamp(220px, 32vw, 380px);
  grid-column: 1 / -1;
}

.tech-row:nth-child(even) .tech-copy {
  order: 2;
}

.tech-row:nth-child(even) .tech-media {
  order: 1;
}

.tech-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tech-media.image {
  background-size: cover;
  background-position: center;
}

.tech-source-list {
  margin-top: 1.2rem;
  display: grid;
  gap: 0;
}

.tech-source-row {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: center;
  --focus: 0;
}

.tech-source-row + .tech-source-row {
  margin-top: clamp(1.3rem, 3vw, 2.2rem);
}

.tech-source-copy h3 {
  font-size: clamp(1.25rem, 2.8vw, 2.05rem);
  max-width: 16ch;
}

.tech-source-copy p {
  margin-top: 0.8rem;
  max-width: 50ch;
  color: var(--muted);
  line-height: 1.66;
}

.source-kpis {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  column-gap: clamp(1.6rem, 3vw, 2.6rem);
  row-gap: 0.8rem;
  width: auto;
  justify-content: center;
  padding-inline: 0;
  max-width: 50ch;
  margin-right: auto;
}

.source-kpis article {
  display: grid;
  gap: 0.15rem;
  text-align: center;
  justify-items: center;
  min-width: clamp(130px, 18vw, 180px);
}

.source-kpis strong {
  font-size: clamp(1.085rem, 2.17vw, 1.54rem);
  color: #8ac2ff;
}

.source-kpis span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.tech-source-media {
  position: relative;
  min-height: clamp(220px, 30vw, 360px);
  border-radius: 0.95rem;
  overflow: hidden;
  background-size: cover;
  transition: filter 320ms ease;
  filter: saturate(calc(0.78 + (var(--focus) * 0.22)))
    brightness(calc(0.62 + (var(--focus) * 0.38)));
}

.tech-source-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 9, 22, 0.52), rgba(2, 9, 22, 0.14));
  opacity: calc(0.56 - (var(--focus) * 0.56));
  transition: opacity 320ms ease;
  pointer-events: none;
}

.tech-source-sensor {
  background-image:
    linear-gradient(130deg, rgba(2, 18, 49, 0.38), rgba(28, 104, 179, 0.14)),
    url("common/Imagenes/sensor.jpg");
  background-position: center;
}

.tech-source-camera {
  background-image:
    linear-gradient(130deg, rgba(2, 18, 49, 0.32), rgba(28, 104, 179, 0.12)),
    url("common/Imagenes/camara.jpg");
  background-position: center;
}

.tech-source-satellite {
  background-image:
    linear-gradient(130deg, rgba(2, 18, 49, 0.36), rgba(28, 104, 179, 0.12)),
    url("common/Imagenes/satelite.webp");
  background-position: center;
}

.platform-highlight {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(1rem, 2.6vw, 2.2rem);
  align-items: stretch;
}

.platform-copy {
  display: grid;
  align-content: center;
}

.platform-copy h3 {
  font-size: clamp(1.45rem, 3.2vw, 2.6rem);
  max-width: 14ch;
}

.platform-copy p {
  margin-top: 0.85rem;
  max-width: 50ch;
  color: var(--muted);
  line-height: 1.7;
}

.platform-media {
  min-height: clamp(320px, 40vw, 560px);
  border-radius: 0.9rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  width: calc(100% + ((100vw - 100%) / 2));
  margin-right: calc((100vw - 100%) / -2);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.tech-image-sources {
  background-image:
    linear-gradient(130deg, rgba(2, 18, 49, 0.22), rgba(28, 104, 179, 0.08)),
    url("common/Imagenes/Sensores camara Sat.JPG");
}

.tech-image-combo {
  background-image:
    linear-gradient(130deg, rgba(2, 18, 49, 0.36), rgba(28, 104, 179, 0.15)),
    url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1400&q=80");
}

.tech-image-dashboard {
  background-image:
    linear-gradient(130deg, rgba(2, 18, 49, 0.18), rgba(28, 104, 179, 0.06)),
    url("common/Imagenes/dashboard 1.JPG");
}

.tools {
  padding-top: clamp(4rem, 8vw, 6rem);
}

.tools-intro {
  max-width: 68ch;
}

.tools-intro .kicker {
  font-weight: 800;
  color: #5aa9ff;
}

.tools-intro h2 {
  font-size: clamp(1.35rem, 3vw, 2.3rem);
}

.tools-intro p {
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.68;
}

.case-stack {
  margin-top: 2.6rem;
  display: grid;
  gap: clamp(1.3rem, 3vw, 2.2rem);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.capabilities-intro {
  margin-top: clamp(4rem, 8vw, 6rem);
  max-width: 100%;
}

.capabilities-intro p:last-child {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 100%;
}

.case-card {
  position: sticky;
  top: 5.2rem;
  height: 66svh;
  min-height: 66svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  transform-origin: top center;
  transition: opacity 420ms ease, transform 420ms ease, filter 420ms ease;
  --leave: 0;
  --leave-blur: 0;
  --focus: 0;
  opacity: calc(1 - var(--leave));
  transform: translateX(calc(var(--leave) * -10vw)) scale(calc(1 - (var(--leave) * 0.1)));
  filter: blur(calc(var(--leave-blur) * 8px));
}

.case-card.exited {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.case-media {
  position: relative;
  height: 66svh;
  min-height: 66svh;
  overflow: hidden;
  border-radius: 0.95rem;
}

.case-media video,
.case-media.image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: right center;
  filter: saturate(calc(0.78 + (var(--focus) * 0.22)))
    brightness(calc(0.62 + (var(--focus) * 0.38)));
  transition: filter 240ms linear;
}

.case-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 9, 22, 0.55), rgba(2, 9, 22, 0.16));
  opacity: calc((1 - var(--focus)) * 0.56);
  transition: opacity 220ms linear;
}

.case-copy {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.2rem, 3vw, 2.8rem);
  max-width: 760px;
}

.case-copy h3 {
  font-size: clamp(1.3rem, 2.8vw, 2.1rem);
  max-width: 16ch;
}

.case-copy p {
  margin-top: 0.75rem;
  color: #d3e3f8;
  line-height: 1.7;
  max-width: 46ch;
}

.case-image-carto {
  background-image: url("common/Imagenes/Observacion tierra.JPG");
  background-size: cover;
  background-position: right center;
}

.case-image-night {
  background-image: url("common/Imagenes/inteligencia nocturna.jpg");
  background-size: cover;
  background-position: right center;
}

.case-image-early {
  background-image: url("common/Imagenes/deteccion temprana.jpg");
  background-size: cover;
  background-position: right center;
}

.industries {
  padding-top: clamp(3rem, 6vw, 4.2rem);
}

.pyro-signature {
  padding-top: clamp(3.2rem, 7vw, 5rem);
  text-align: left;
  max-width: min(1120px, 100%);
}

.pyro-signature img {
  width: clamp(220px, 32vw, 420px);
  height: auto;
  opacity: 1;
  display: block;
}

.pyro-signature p {
  margin: 0.9rem 0 0;
  max-width: 100%;
  color: var(--muted);
  line-height: 1.7;
}

.pyro-signature p:first-of-type {
  margin-top: 2.9rem;
}

.pyro-web {
  margin-top: 0;
  padding-top: 2.9rem;
}

.pyro-web a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.pyro-web a:hover {
  opacity: 0.85;
}

.clients-intro {
  margin-top: 0.5rem;
  max-width: 100%;
}

.clients-intro h2 {
  font-size: clamp(1.35rem, 3vw, 2.3rem);
}

.clients-intro p {
  margin-top: 0.9rem;
  color: var(--muted);
  line-height: 1.68;
  max-width: 100%;
}

.client-stats {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.client-stats article {
  display: grid;
  gap: 0.2rem;
}

.client-stats strong {
  font-size: clamp(1.3rem, 2.7vw, 2rem);
  color: #8ac2ff;
}

.client-stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.tech-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.industries > .kicker,
.capabilities-intro .kicker {
  font-size: clamp(1.3rem, 2.7vw, 2rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #8ac2ff;
  margin-bottom: 0.35rem;
}

.tech-kicker {
  font-size: clamp(1.3rem, 2.7vw, 2rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #8ac2ff;
  margin-bottom: 0.35rem;
}

.industry-row {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: center;
  margin-top: clamp(1.3rem, 3vw, 2.2rem);
  --focus: 0;
}

.industries .industry-row:first-of-type {
  margin-top: clamp(3rem, 7vw, 4.8rem);
}

.industry-copy h3 {
  font-size: clamp(1.3rem, 3vw, 2.25rem);
  max-width: 16ch;
}

.industry-copy p {
  margin-top: 0.8rem;
  max-width: 50ch;
  color: var(--muted);
  line-height: 1.66;
}

.industry-media {
  position: relative;
  min-height: clamp(190px, 30vw, 340px);
  border-radius: 0.95rem;
  overflow: hidden;
  filter: saturate(calc(0.8 + (var(--focus) * 0.2)))
    brightness(calc(0.62 + (var(--focus) * 0.38)));
  transition: filter 320ms ease;
}

.industry-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 9, 22, 0.5), rgba(2, 9, 22, 0.16));
  opacity: calc(0.54 - (var(--focus) * 0.54));
  transition: opacity 320ms ease;
  pointer-events: none;
}

.industry-media.image {
  background-size: 150%;
  background-position: center;
}

.image-0 {
  background-image:
    linear-gradient(130deg, rgba(2, 18, 49, 0.3), rgba(28, 104, 179, 0.12)),
    url("common/Imagenes/agencias de emergencia.jpg");
}

.image-1 {
  background-image:
    linear-gradient(130deg, rgba(2, 18, 49, 0.3), rgba(28, 104, 179, 0.12)),
    url("common/Imagenes/reforestacion.jpg");
}

.image-2 {
  background-image:
    linear-gradient(130deg, rgba(2, 18, 49, 0.3), rgba(28, 104, 179, 0.12)),
    url("common/Imagenes/parques naturales.jpg");
}

.industry-media.image.image-3 {
  background-image:
    linear-gradient(130deg, rgba(2, 18, 49, 0.3), rgba(28, 104, 179, 0.12)),
    url("common/Imagenes/infraestructura energetica.jpg");
  background-size: 160%;
  background-position: center;
}

.image-4 {
  background-image:
    linear-gradient(130deg, rgba(2, 18, 49, 0.3), rgba(28, 104, 179, 0.12)),
    url("common/Imagenes/zonas habitadas.jpg");
}

.access h2 {
  font-size: clamp(1.3rem, 2.9vw, 2.2rem);
  max-width: 16ch;
}

.access-links {
  margin-top: 1.4rem;
  display: flex;
  gap: 1.2rem 2rem;
  flex-wrap: wrap;
}

.access-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.03rem;
  font-weight: 600;
  opacity: 0.95;
}

.access-links a:hover {
  color: #a4d2ff;
}

.site-footer {
  width: min(1180px, calc(100% - 1.76rem));
  margin: 0 auto 2rem;
  padding-top: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: #9fb8da;
  font-size: 0.84rem;
}

.site-footer img {
  width: 34px;
  height: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 550ms ease, transform 550ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .news-hero-video {
    transform: scale(1.35);
    transform-origin: center center;
  }

  .header-actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }

  .mobile-jump {
    display: inline-flex !important;
    margin-left: 0;
    margin-right: auto;
  }

  .top-nav {
    display: none;
  }

  .btn-header {
    padding: 0.52rem 0.82rem;
    font-size: 0.76rem;
  }

  .tech-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-bottom: 0.2rem;
  }

  .tech-source-row {
    grid-template-columns: 1fr;
  }

  .platform-highlight {
    grid-template-columns: 1fr;
  }

  .platform-media {
    width: 100%;
    margin-right: 0;
    border-top-right-radius: 0.9rem;
    border-bottom-right-radius: 0.9rem;
  }

  .source-kpis {
    grid-template-columns: 1fr;
  }

  .tech-row:nth-child(even) .tech-copy,
  .tech-row:nth-child(even) .tech-media {
    order: initial;
  }

  .industry-row {
    grid-template-columns: 1fr;
  }

  .client-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-card {
    top: 4.8rem;
    grid-template-columns: 1fr;
    height: auto;
    min-height: 70svh;
  }

  .case-copy {
    min-height: auto;
  }

  .case-media {
    height: clamp(260px, 46vw, 420px);
    min-height: clamp(260px, 46vw, 420px);
  }

  .hero-subline {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .brand img {
    width: 160px;
  }

  .btn-header {
    font-size: 0.72rem;
    padding: 0.5rem 0.72rem;
  }

  .hero {
    padding-top: 6.8rem;
  }

  .hero-content {
    transform: none;
  }

  .hero-content.reveal,
  .hero-content.reveal.visible {
    transform: translateY(-0.6rem);
  }

  .hero-content p {
    max-width: 34ch;
  }

  .client-stats {
    grid-template-columns: 1fr;
  }

}

.news-page {
  padding-top: 0.1rem;
}

.news-hero {
  position: relative;
  min-height: 72svh;
  padding-top: 6.8rem;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(4, 15, 36, 0.58), rgba(6, 27, 66, 0.52));
  transform: scale(1.04);
  z-index: 0;
}

.news-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transform: scale(1.35);
  transform-origin: center center;
  z-index: 0;
}

.news-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 22%, rgba(77, 163, 255, 0.2), transparent 42%),
    linear-gradient(to bottom, rgba(2, 9, 22, 0.26), rgba(2, 9, 22, 0.56));
}

.news-hero-content {
  position: relative;
  z-index: 2;
}

.news-hero-content .news-main-title {
  max-width: none;
  font-size: clamp(1.65rem, 3.9vw, 3rem);
  font-weight: 800;
}

.news-hero-content .tech-kicker {
  font-size: clamp(1.3rem, 2.7vw, 2rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #8ac2ff;
  margin-bottom: 0.35rem;
}

@media (min-width: 981px) {
  .news-hero-content .news-main-title {
    white-space: nowrap;
  }
}

@media (max-width: 980px) {
  .news-hero-content .news-main-title {
    white-space: normal;
  }
}

.news-hero-content p {
  margin-top: 1rem;
  max-width: 100%;
  color: var(--muted);
  line-height: 1.7;
  font-size: inherit;
  text-align: justify;
}

.news-section {
  padding-top: clamp(3.3rem, 7vw, 5.2rem);
  padding-bottom: clamp(3.2rem, 6vw, 4.8rem);
}

.news-section h2 {
  font-size: clamp(1.55rem, 3.5vw, 3rem);
  margin-bottom: 1rem;
}

.news-section p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 100%;
  text-align: justify;
}


.news-subsection + .news-subsection {
  margin-top: 2.5rem;
}

.news-subsection {
  position: relative;
  display: block;
  padding-right: clamp(300px, 38vw, 560px);
}

.news-subsection h3 {
  font-size: clamp(1.18rem, 2.4vw, 2rem);
  margin-bottom: 0.72rem;
}

.news-subsection > p:first-of-type {
  margin-top: 0;
}

.news-scheme-stage {
  display: none;
}

.news-subsection::after {
  content: "";
  position: absolute;
  right: calc((100vw - 100%) / -2);
  top: var(--img-center, 50%);
  transform: translateY(-50%);
  width: calc(clamp(240px, 30vw, 460px) + ((100vw - 100%) / 2));
  height: clamp(228px, 29vw, 384px);
  border-radius: 0.9rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  background-size: 85% auto;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgb(3, 17, 41);
  z-index: 0;
}

.news-subsection[data-scheme="11"]::after { background-image: url("common/Imagenes/1-1.png"); }
.news-subsection[data-scheme="12"]::after { background-image: url("common/Imagenes/1-2.png"); }
.news-subsection[data-scheme="21"]::after { background-image: url("common/Imagenes/2-1.png"); }
.news-subsection[data-scheme="22"]::after { background-image: url("common/Imagenes/2-2.png"); }
.news-subsection[data-scheme="23"]::after { background-image: url("common/Imagenes/2-3.png"); }
.news-subsection[data-scheme="31"]::after { background-image: url("common/Imagenes/3-1.png"); }
.news-subsection[data-scheme="32"]::after { background-image: url("common/Imagenes/3-2.png"); }
.news-subsection[data-scheme="33"]::after { background-image: url("common/Imagenes/3-3.png"); }
.news-subsection[data-scheme="34"]::after { background-image: url("common/Imagenes/3-4.png"); }
.news-subsection[data-scheme="35"]::after { background-image: url("common/Imagenes/3-5.png"); }

.news-subsection ul {
  margin: 0.95rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.news-subsection p,
.news-subsection ul {
  max-width: 62ch;
  text-align: left;
}

.news-subsection li {
  color: var(--muted);
}

.news-subsection p strong {
  color: var(--muted);
  font-weight: 700;
}

.news-subsection .news-improvements-label {
  margin-left: 0;
  text-align: left;
}

.news-subsection .news-improvements-label + ul {
  margin-left: 2.4rem;
}

@media (max-width: 1100px) {
  .news-subsection {
    padding-right: 0;
  }

  .news-subsection::after {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    height: clamp(264px, 58vw, 432px);
    margin: 0 0 1rem 0;
    border-radius: 0.9rem;
    display: block;
  }

  .news-subsection p,
  .news-subsection ul {
    max-width: 100%;
  }
}

.news-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: clamp(260px, 46vw, 560px);
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.news-band.image {
  background-size: cover;
  background-position: center;
}

.news-band video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.news-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 9, 22, 0.6), rgba(2, 9, 22, 0.1));
}

.news-band-caption {
  position: relative;
  z-index: 1;
  margin: 0 0 clamp(1rem, 2.4vw, 1.9rem) clamp(1rem, 4vw, 3rem);
  color: rgba(234, 244, 255, 0.92);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-band-1 {
  background-image: none;
}

.news-band-2 {
  background-image: none;
}

.news-band-3 {
  background-image:
    linear-gradient(120deg, rgba(2, 18, 49, 0.36), rgba(28, 104, 179, 0.14)),
    url("common/Imagenes/agencias de emergencia.jpg");
}

.news-band-3 video {
  transform: scale(1);
  transform-origin: center center;
}

@media (max-width: 980px) {
  .news-band-3 video {
    transform: scale(1.35);
  }
}
