:root {
  --ink: #212648;
  /* Color de texto principal actualizado */
  --muted: #5f666d;
  --paper: #f6f7fb;
  --white: #ffffff;
  --blue: #202545;
  --blue-dark: #13172f;
  --red: #df2f2f;
  --red-dark: #b82027;
  --ice: #eef1fa;
  --line: rgba(18, 18, 18, .12);
  --shadow: 0 22px 60px rgba(13, 21, 24, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* =========================================
   HEADER & NAVEGACIÓN (TEMA CLARO)
========================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: padding .22s ease, background .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.site-header.is-scrolled {
  padding-block: 10px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(18, 18, 18, 0.12);
  box-shadow: 0 18px 42px rgba(6, 9, 24, .08);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 190px;
  padding: 0;
  background: transparent;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.brand img {
  display: block;
  width: clamp(180px, 20vw, 280px);
  height: auto;
}

.brand:hover {
  transform: translateY(-1px);
  background: transparent;
  box-shadow: none;
}

h1,
h2,
h3,
h4 {
  font-family: Barlow, Inter, sans-serif;
  line-height: 1.02;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  padding: 10px 12px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 800;
  overflow: hidden;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--red);
  background: rgba(223, 47, 47, 0.05);
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.site-nav a:after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}

.site-nav a:hover:after,
.site-nav a.active:after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(33, 38, 72, 0.15);
  /* Ajustado para el nuevo color */
  background: rgba(33, 38, 72, 0.05);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

/* =========================================
   HERO SECTION (BLANCO CON DEGRADADO ROJO)
========================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  column-gap: clamp(28px, 6vw, 96px);
  padding: 118px clamp(20px, 5vw, 72px) 34px;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, #ffffff 38%, #df2f2f 100%);
}

.hero-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0 45%, transparent 80%);
  pointer-events: none;
}

.hero-media:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 57%, rgba(223, 47, 47, .08) 57% 57.4%, transparent 57.4%),
    linear-gradient(115deg, transparent 0 68%, rgba(223, 47, 47, .06) 68% 68.25%, transparent 68.25%);
  opacity: .9;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .4;
  background-image:
    linear-gradient(rgba(33, 38, 72, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 38, 72, .08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, .1), transparent 88%);
}

.hero-glow {
  position: absolute;
  width: clamp(260px, 36vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(48px);
  opacity: .38;
  animation: heroPulse 8s ease-in-out infinite;
}

.hero-glow-red {
  right: -6%;
  top: 20%;
  background: rgba(223, 47, 47, .58);
}

.hero-glow-white {
  left: 34%;
  bottom: -18%;
  background: rgba(223, 47, 47, .15);
  animation-delay: -4s;
}

.hero-robot {
  position: absolute;
  right: clamp(22px, 7vw, 118px);
  top: 55%;
  width: clamp(290px, 30vw, 430px);
  transform: translateY(-50%);
  opacity: .9;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, .2));
  animation: robotFloat 6.5s ease-in-out infinite;
}

.hero-robot img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 690px;
  padding: clamp(18px, 3vw, 34px) 0;
  animation: heroTextIn .8s ease-out both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(2.8rem, 6.2vw, 6rem);
  letter-spacing: 0;
  text-wrap: balance;
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn,
.card-actions a,
.news-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 16px 36px rgba(223, 47, 47, .25);
}

.btn-secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.btn {
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.btn:hover,
.news-card button:hover,
.card-actions a:hover {
  transform: translateY(-2px);
}

.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 20px 42px rgba(223, 47, 47, .35);
}

.btn-secondary:hover {
  border-color: rgba(33, 38, 72, .3);
  background: var(--paper);
}

.hero-stats {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(820px, 100%);
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  animation: heroTextIn .8s ease-out .16s both;
}

.hero-stats article {
  padding: 16px 20px;
  background: transparent;
  border-right: 1px solid var(--line);
}

.hero-stats article:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  color: var(--red);
  font-family: Barlow, sans-serif;
  font-size: 1.75rem;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
  font-size: .9rem;
}

@keyframes robotFloat {

  0%,
  100% {
    transform: translateY(-50%) translateX(0);
  }

  50% {
    transform: translateY(calc(-50% - 14px)) translateX(-8px);
  }
}

@keyframes heroPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: .32;
  }

  50% {
    transform: scale(1.14);
    opacity: .48;
  }
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-robot,
  .hero-glow,
  .hero-content,
  .hero-stats,
  .history-section .section-heading,
  .history-timeline article,
  .history-visual,
  .history-values article,
  .history-robot,
  .history-visual:after,
  .ecosystem-section:before,
  .ecosystem-intro,
  .ecosystem-stats,
  .ecosystem-card,
  .unit-slider,
  .unit-logo-card {
    animation: none;
  }

  .btn,
  .news-card button,
  .slider-controls button,
  .unit-logo-card,
  .ecosystem-card,
  .ecosystem-card:before,
  .ecosystem-card:after,
  .ecosystem-tags span,
  .card-actions a,
  .history-timeline article,
  .history-values article,
  .value-icon {
    transition: none;
  }
}

/* =========================================
   RESTO DEL SITIO
========================================= */

.section {
  padding: clamp(70px, 10vw, 128px) clamp(20px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, .85fr) minmax(0, 1.25fr);
  gap: clamp(36px, 7vw, 100px);
}

.history-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f6fb 100%);
}

.history-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .78fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: stretch;
}

.history-copy {
  display: grid;
  gap: 34px;
}

.history-timeline {
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 26px;
}

.history-timeline:before {
  content: "";
  position: absolute;
  left: 7px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(var(--red), rgba(223, 47, 47, .2));
}

.history-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(33, 38, 72, .06);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.history-timeline article:hover {
  transform: translateX(6px);
  border-color: rgba(223, 47, 47, .28);
  box-shadow: 0 20px 44px rgba(33, 38, 72, .1);
}

.history-timeline article:before {
  content: "";
  position: absolute;
  left: -26px;
  top: 30px;
  width: 16px;
  height: 16px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 1px rgba(223, 47, 47, .24);
}

.timeline-year {
  color: var(--red);
  font-family: Barlow, sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}

.history-timeline h3,
.history-values h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.history-timeline p,
.history-values p {
  margin: 0;
  color: var(--muted);
}

.timeline-more {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 38px;
  margin-top: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(223, 47, 47, .22);
  background: #fff3f3;
  color: var(--red-dark);
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.timeline-more:hover {
  transform: translateY(-2px);
  border-color: rgba(223, 47, 47, .38);
  background: #ffe8e8;
}

.history-visual {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(184, 32, 39, .98), rgba(223, 47, 47, .88) 50%, rgba(255, 255, 255, .15));
  color: var(--white);
  box-shadow: var(--shadow);
}

.history-visual:before,
.history-visual:after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.history-visual:before {
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(255, 255, 255, .1) 58% 58.5%, transparent 58.5%),
    linear-gradient(115deg, transparent 0 72%, rgba(255, 255, 255, .08) 72% 72.3%, transparent 72.3%);
}

.history-visual:after {
  width: 360px;
  aspect-ratio: 1;
  right: -120px;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  filter: blur(38px);
  animation: historyGlow 7s ease-in-out infinite;
}

.history-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: min(310px, 75%);
  height: auto;
}

.history-robot {
  position: absolute;
  z-index: 1;
  right: -22px;
  bottom: -70px;
  width: min(74%, 390px);
  opacity: .46;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, .22));
  animation: historyRobotFloat 7s ease-in-out infinite;
}

.history-badge {
  position: absolute;
  z-index: 2;
  left: 32px;
  right: 32px;
  bottom: 32px;
  padding: 20px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(14px);
}

.history-badge strong {
  display: block;
  font-family: Barlow, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.history-badge span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .9);
  font-weight: 700;
}

.history-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.history-values article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(33, 38, 72, .05);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.history-values article:hover {
  transform: translateY(-6px);
  border-color: rgba(223, 47, 47, .22);
  box-shadow: 0 22px 46px rgba(33, 38, 72, .1);
}

.value-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  background: var(--white);
  color: var(--red);
  border: 1px solid var(--red);
  transition: background .24s ease, color .24s ease, transform .24s ease;
}

.history-values article:hover .value-icon {
  background: var(--red);
  color: var(--white);
  transform: rotate(-3deg) scale(1.05);
}

.value-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.history-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.history-detail article {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(33, 38, 72, .05);
}

.history-detail article {
  min-height: 190px;
}

.history-detail article:first-child {
  background:
    linear-gradient(90deg, rgba(184, 32, 39, .96), rgba(223, 47, 47, .9) 60%, rgba(255, 255, 255, .15));
  color: var(--white);
}

.history-detail h3 {
  margin: 0 0 14px;
  font-size: 1.55rem;
}

.history-detail p {
  margin: 0 0 14px;
  color: var(--muted);
}

.history-detail p:last-child {
  margin-bottom: 0;
}

.history-detail article:first-child p {
  color: rgba(255, 255, 255, .85);
}

.history-section .section-heading,
.history-timeline article,
.history-visual,
.history-values article,
.history-detail article {
  animation: historyReveal .75s ease-out both;
  animation-timeline: view();
  animation-range: entry 12% cover 34%;
}

.history-timeline article:nth-child(2) {
  animation-delay: .05s;
}

.history-timeline article:nth-child(3) {
  animation-delay: .1s;
}

.history-values article:nth-child(2) {
  animation-delay: .05s;
}

.history-values article:nth-child(3) {
  animation-delay: .1s;
}

.history-detail article:nth-child(2) {
  animation-delay: .05s;
}

@keyframes historyReveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes historyRobotFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-12px) rotate(-1deg);
  }
}

@keyframes historyGlow {

  0%,
  100% {
    transform: scale(1);
    opacity: .8;
  }

  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {

  .history-section .section-heading,
  .history-timeline article,
  .history-visual,
  .history-values article,
  .history-detail article,
  .history-robot,
  .history-visual:after {
    animation: none;
  }
}

.section-heading {
  max-width: 760px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.prose p {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 1.05rem;
}

.philosophy-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f6fb 100%);
}

.philosophy-section:before {
  content: "";
  position: absolute;
  width: 420px;
  aspect-ratio: 1;
  right: -150px;
  top: 80px;
  border-radius: 50%;
  background: rgba(223, 47, 47, .08);
  filter: blur(28px);
}

.philosophy-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, .74fr) minmax(0, 1.26fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.philosophy-heading {
  position: sticky;
  top: 118px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}

.pillar-grid article,
.feature-card,
.news-card,
.shop-panel,
.product-preview article,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(33, 38, 72, .06);
}

.pillar-grid article {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  padding: 28px;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.pillar-grid article:before {
  content: "";
  position: absolute;
  inset: auto -30px -90px auto;
  width: 190px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(223, 47, 47, .08);
  transition: transform .28s ease, opacity .28s ease;
}

.pillar-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(223, 47, 47, .24);
  box-shadow: 0 22px 48px rgba(33, 38, 72, .1);
}

.pillar-grid article:hover:before {
  transform: scale(1.2);
  opacity: 1;
}

.pillar-number {
  position: absolute;
  right: 22px;
  top: 18px;
  color: var(--red);
  font-weight: 900;
  font-family: Barlow, sans-serif;
  font-size: 1.15rem;
}

.pillar-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 44px;
  background: var(--white);
  color: var(--red);
  border: 1px solid var(--red);
  transition: background .24s ease, color .24s ease, transform .24s ease;
}

.pillar-grid article:hover .pillar-icon {
  background: var(--red);
  color: var(--white);
  transform: rotate(-3deg) scale(1.04);
}

.pillar-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar-grid h3,
.feature-card h3,
.news-card h3 {
  margin: 18px 0 10px;
  font-size: 1.65rem;
}

.pillar-grid p,
.feature-card p,
.news-card p {
  margin: 0;
  color: var(--muted);
}

.vision-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
  margin-top: 18px;
  padding: clamp(26px, 4vw, 42px);
  background:
    linear-gradient(120deg, rgba(184, 32, 39, .98), rgba(223, 47, 47, .92) 58%, rgba(255, 255, 255, .15));
  color: var(--white);
  box-shadow: var(--shadow);
}

.vision-panel h3 {
  margin: 8px 0 0;
  max-width: 520px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.vision-panel ul,
.feature-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.vision-panel li {
  color: rgba(255, 255, 255, .9);
  font-weight: 700;
}

.philosophy-heading,
.pillar-grid article,
.vision-panel {
  animation: historyReveal .75s ease-out both;
  animation-timeline: view();
  animation-range: entry 12% cover 32%;
}

.pillar-grid article:nth-child(2) {
  animation-delay: .05s;
}

.pillar-grid article:nth-child(3) {
  animation-delay: .1s;
}

.pillar-grid article:nth-child(4) {
  animation-delay: .15s;
}

.ecosystem-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(184, 32, 39, .98), rgba(223, 47, 47, .96) 54%, rgba(255, 255, 255, .1)),
    var(--red-dark);
  color: var(--white);
}

.ecosystem-section:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .9), transparent 72%);
  pointer-events: none;
  animation: ecosystemGridDrift 18s linear infinite;
}

.ecosystem-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

.ecosystem-intro {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(280px, .58fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  animation: ecosystemReveal .75s ease-out both;
  animation-timeline: view();
  animation-range: entry 10% cover 30%;
}

.ecosystem-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, .85);
}

.ecosystem-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
  animation: ecosystemReveal .75s ease-out both;
  animation-timeline: view();
  animation-range: entry 14% cover 34%;
}

.ecosystem-stats article {
  position: relative;
  overflow: hidden;
  min-height: 126px;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.ecosystem-stats article:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 36%, rgba(255, 255, 255, .14) 48%, transparent 62% 100%);
  transform: translateX(-130%);
  transition: transform .65s ease;
}

.ecosystem-stats article:hover:before {
  transform: translateX(130%);
}

.ecosystem-stats article:last-child {
  border-right: 0;
}

.ecosystem-stats strong {
  display: block;
  font-family: Barlow, sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.ecosystem-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .8);
  font-size: .84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 18px;
  margin-top: 14px;
}

.feature-card {
  padding: clamp(24px, 4vw, 38px);
}

.ecosystem-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  color: var(--ink);
  animation: ecosystemReveal .75s ease-out both;
  animation-timeline: view();
  animation-range: entry 12% cover 34%;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, filter .24s ease;
}

.ecosystem-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, .58) 50%, transparent 63% 100%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-120%);
  transition: opacity .24s ease, transform .7s ease;
}

.ecosystem-card:after {
  content: "";
  position: absolute;
  inset: auto -70px -110px auto;
  width: 230px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(223, 47, 47, .1);
  pointer-events: none;
  transition: transform .24s ease;
}

.ecosystem-card>* {
  position: relative;
  z-index: 1;
}

.ecosystem-card:hover {
  transform: translateY(-5px);
  border-color: rgba(223, 47, 47, .26);
  filter: saturate(1.04);
  box-shadow: 0 26px 58px rgba(33, 38, 72, .15);
}

.ecosystem-card:hover:before {
  opacity: .48;
  transform: translateX(120%);
}

.ecosystem-card:hover:after {
  transform: scale(1.2);
}

.ecosystem-card-main {
  grid-row: span 2;
  background:
    linear-gradient(145deg, #ffffff 0%, #f7f8fc 58%, #eef1fa 100%);
}

.ecosystem-card:nth-child(2) {
  animation-delay: .06s;
}

.ecosystem-card:nth-child(3) {
  animation-delay: .12s;
}

.ecosystem-card-health {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--red);
}

.ecosystem-card-health p,
.ecosystem-card-health .card-kicker {
  color: var(--muted);
}

.feature-card-wide {
  grid-column: 1 / -1;
  background: var(--white);
  color: var(--ink);
}

.feature-card-wide p,
.feature-card-wide .card-kicker {
  color: var(--muted);
}

.card-kicker {
  color: var(--red-dark);
  font-weight: 900;
  text-transform: uppercase;
  font-size: .76rem;
}

.feature-card ul {
  margin-top: 22px;
}

.ecosystem-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ecosystem-tags span {
  padding: 9px 12px;
  background: #fff3f3;
  color: var(--red-dark);
  font-size: .8rem;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.ecosystem-tags span:hover {
  transform: translateY(-2px);
  background: var(--red);
  color: var(--white);
}

.card-actions a {
  border-color: var(--line);
  color: var(--red-dark);
  background: #fff3f3;
}

.feature-card-wide .card-actions a {
  border-color: rgba(223, 47, 47, .18);
  background: rgba(223, 47, 47, .08);
  color: var(--red-dark);
}

.logo-strip,
.sponsor-grid {
  display: grid;
  gap: 10px;
}

.logo-strip {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
}

.logo-strip span,
.sponsor-grid span {
  display: grid;
  place-items: center;
  min-height: 72px;
  border: 1px dashed rgba(18, 18, 18, .22);
  color: var(--muted);
  font-weight: 800;
}

.unit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.unit-grid div {
  padding: 24px;
  background: rgba(18, 18, 18, .03);
  border: 1px solid rgba(18, 18, 18, .08);
}

.unit-grid h4 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.unit-slider {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px);
  animation: ecosystemReveal .75s ease-out both;
  animation-timeline: view();
  animation-range: entry 8% cover 30%;
}

.unit-slider:before,
.unit-slider:after {
  content: "";
  position: absolute;
  top: 92px;
  bottom: 30px;
  z-index: 2;
  width: 54px;
  pointer-events: none;
}

.unit-slider:before {
  left: 0;
  background: linear-gradient(90deg, rgba(184, 32, 39, .94), transparent);
}

.unit-slider:after {
  right: 0;
  background: linear-gradient(270deg, rgba(223, 47, 47, .9), transparent);
}

.unit-slider-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.unit-slider-heading h3 {
  margin: 6px 0 0;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
}

.slider-controls {
  display: flex;
  gap: 8px;
}

.slider-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .15);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.slider-controls button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .3);
}

.slider-controls button:active {
  transform: translateY(0) scale(.96);
}

.unit-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 28%);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .38) rgba(255, 255, 255, .08);
  padding-bottom: 8px;
}

.unit-logo-card {
  scroll-snap-align: start;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 170px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  text-align: center;
  animation: ecosystemLogoIn .7s ease-out both;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}

.unit-logo-card:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(223, 47, 47, .42);
  box-shadow: 0 18px 36px rgba(33, 38, 72, .15);
}

.unit-logo-card img {
  display: block;
  width: min(168px, 86%);
  max-height: 78px;
  object-fit: contain;
  transition: transform .24s ease, filter .24s ease;
}

.unit-logo-card:hover img {
  filter: drop-shadow(0 10px 16px rgba(18, 18, 18, .14));
  transform: scale(1.04);
}

.unit-logo-card strong {
  font-family: Barlow, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1;
  color: var(--red);
}

.unit-logo-card-text {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(238, 241, 250, .96));
}

.unit-logo-card span {
  margin-top: 14px;
  color: var(--Ink);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.unit-logo-card:nth-child(2) {
  animation-delay: .05s;
}

.unit-logo-card:nth-child(3) {
  animation-delay: .1s;
}

.unit-logo-card:nth-child(4) {
  animation-delay: .15s;
}

.unit-logo-card:nth-child(5) {
  animation-delay: .2s;
}

@keyframes ecosystemGridDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 52px 52px, 52px 52px;
  }
}

@keyframes ecosystemReveal {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ecosystemLogoIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {

  .ecosystem-section:before,
  .ecosystem-intro,
  .ecosystem-stats,
  .ecosystem-card,
  .unit-slider,
  .unit-logo-card {
    animation: none;
  }

  .ecosystem-stats article:before,
  .ecosystem-card:before {
    display: none;
  }
}

.sponsors {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 16%, rgba(223, 47, 47, .11), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--ice) 100%);
}

.sponsors:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(223, 47, 47, .055) 1px, transparent 1px),
    linear-gradient(rgba(223, 47, 47, .055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, .9) 20%, rgba(0, 0, 0, .9) 78%, transparent);
  pointer-events: none;
  animation: sponsorPatternDrift 20s linear infinite;
}

.sponsors .section-heading {
  position: relative;
  z-index: 1;
  animation: sponsorReveal .75s ease-out both;
  animation-timeline: view();
  animation-range: entry 10% cover 30%;
}

.sponsor-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1040px;
  margin: 40px auto 0;
}

.sponsor-grid span {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0;
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(18, 18, 18, .1);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(246, 247, 251, .92));
  color: var(--ink);
  box-shadow: 0 14px 32px rgba(33, 38, 72, .05);
  animation: sponsorReveal .72s ease-out both;
  animation-timeline: view();
  animation-range: entry 12% cover 34%;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}

.sponsor-grid span:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 36%, rgba(255, 255, 255, .75) 50%, transparent 64% 100%);
  opacity: 0;
  transform: translateX(-120%);
  transition: opacity .24s ease, transform .7s ease;
}

.sponsor-grid span:after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 46px;
  aspect-ratio: 1;
  background: var(--red);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  opacity: .12;
  transition: transform .24s ease, opacity .24s ease;
}

.sponsor-grid span:hover {
  transform: translateY(-6px);
  border-color: rgba(223, 47, 47, .28);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(238, 241, 250, .98));
  box-shadow: 0 24px 52px rgba(33, 38, 72, .1);
}

.sponsor-grid span:hover:before {
  opacity: .7;
  transform: translateX(120%);
}

.sponsor-grid span:hover:after {
  opacity: .22;
  transform: rotate(45deg) scale(1.12);
}

.sponsor-grid strong,
.sponsor-grid small {
  position: relative;
  z-index: 1;
}

.sponsor-grid strong {
  color: var(--red);
  font-family: Barlow, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.05;
  text-align: center;
}

.sponsor-grid small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sponsor-grid span:nth-child(2) {
  animation-delay: .06s;
}

.sponsor-grid span:nth-child(3) {
  animation-delay: .12s;
}

.sponsor-grid span:nth-child(4) {
  animation-delay: .18s;
}

@keyframes sponsorPatternDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 46px 46px, 46px 46px;
  }
}

@keyframes sponsorReveal {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {

  .sponsors:before,
  .sponsors .section-heading,
  .sponsor-grid span {
    animation: none;
  }

  .sponsor-grid span:before {
    display: none;
  }
}

.news-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f6fb 100%);
}

.news-section:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(223, 47, 47, .07) 1px, transparent 1px),
    linear-gradient(rgba(223, 47, 47, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, .86) 18%, rgba(0, 0, 0, .86) 82%, transparent);
  pointer-events: none;
}

.news-section .section-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(18, 18, 18, .12);
  animation: newsReveal .75s ease-out both;
  animation-timeline: view();
  animation-range: entry 10% cover 30%;
}

.news-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 18px;
  margin-top: 34px;
}

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(18, 18, 18, .1);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 40px rgba(33, 38, 72, .04);
  animation: newsReveal .72s ease-out both;
  animation-timeline: view();
  animation-range: entry 12% cover 34%;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.news-card:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--red);
  transform: scaleY(.28);
  transform-origin: top;
  transition: transform .24s ease;
}

.news-card:after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--red), transparent 62%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(223, 47, 47, .22);
  background: #ffffff;
  box-shadow: 0 24px 54px rgba(33, 38, 72, .08);
}

.news-card:hover:before {
  transform: scaleY(1);
}

.news-card:hover:after {
  opacity: 1;
}

.news-card>* {
  position: relative;
  z-index: 1;
}

.news-card-media {
  position: relative;
  z-index: 1;
  width: calc(100% + clamp(48px, 6vw, 68px));
  height: 190px;
  margin: calc(clamp(24px, 3vw, 34px) * -1) calc(clamp(24px, 3vw, 34px) * -1) 22px;
  overflow: hidden;
  background: var(--red-dark);
}

.news-card-media img,
.news-card-media video,
.news-card-media iframe,
.news-modal-media img,
.news-modal-media video,
.news-modal-media iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.news-card:first-child {
  grid-row: span 2;
  min-height: 638px;
  background:
    linear-gradient(145deg, rgba(184, 32, 39, .98), rgba(223, 47, 47, .96) 58%, rgba(255, 255, 255, .15));
  color: var(--white);
}

.news-card:first-child .news-card-media {
  height: 300px;
  opacity: .92;
}

.news-card:first-child:before {
  width: 6px;
  background: rgba(255, 255, 255, .84);
}

.news-card:first-child:after {
  background: linear-gradient(90deg, rgba(255, 255, 255, .82), transparent 68%);
}

.news-card span {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(184, 32, 39, .16);
  background: rgba(255, 243, 243, .86);
  color: var(--red-dark);
  font-size: .73rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.news-card:first-child span {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .9);
}

.news-card:first-child h3 {
  margin-top: auto;
  max-width: 620px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.news-card:first-child p {
  max-width: 620px;
  color: rgba(255, 255, 255, .85);
}

.news-modal-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 24px;
  overflow: hidden;
  background: var(--red-dark);
}

.news-card button {
  width: fit-content;
  margin-top: auto;
  border-color: var(--line);
  background: var(--white);
  color: var(--red);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.news-card button:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 14px 30px rgba(223, 47, 47, .24);
}

.news-card:first-child button {
  margin-top: 28px;
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .1);
  color: var(--white);
}

.news-card:first-child button:hover {
  background: var(--white);
  color: var(--red-dark);
  border-color: var(--white);
}

.news-card:nth-child(2) {
  animation-delay: .06s;
}

.news-card:nth-child(3) {
  animation-delay: .12s;
}

@keyframes newsPatternDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 72px 72px, 72px 72px;
  }
}

@keyframes newsReveal {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {

  .news-section:before,
  .news-section .section-heading,
  .news-card,
  .whatsapp-float {
    animation: none;
  }

  .news-card:before {
    transition: none;
  }
}

.shop-contact {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 18px;
  align-items: stretch;
  background:
    linear-gradient(180deg, #f4f6fb 0%, #ffffff 100%);
}

.shop-contact:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(223, 47, 47, .055) 1px, transparent 1px),
    linear-gradient(rgba(223, 47, 47, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .85), transparent 72%);
  pointer-events: none;
}

.shop-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 52px);
  background:
    linear-gradient(145deg, rgba(184, 32, 39, .98), rgba(223, 47, 47, .96) 58%, rgba(255, 255, 255, .15));
  color: var(--white);
  box-shadow: var(--shadow);
}

.shop-panel p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, .85);
  font-size: 1.06rem;
}

.shop-panel h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.shop-status {
  display: grid;
  gap: 4px;
  width: fit-content;
  margin: 28px 0 2px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .12);
}

.shop-status strong {
  color: var(--white);
  font-family: Barlow, sans-serif;
  font-size: 1.25rem;
  line-height: 1;
  text-transform: uppercase;
}

.shop-status span {
  color: rgba(255, 255, 255, .8);
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-preview {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-preview article {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .98));
  border: 1px solid rgba(18, 18, 18, .1);
  color: var(--ink);
  box-shadow: 0 16px 38px rgba(33, 38, 72, .05);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.product-preview article:before {
  content: "";
  position: absolute;
  inset: 24px 24px auto;
  height: 52%;
  background:
    linear-gradient(135deg, rgba(184, 32, 39, .96), rgba(223, 47, 47, .92) 62%, rgba(255, 255, 255, .15));
}

.product-preview article:after {
  content: "";
  position: absolute;
  top: 48px;
  left: 50%;
  width: min(150px, 60%);
  aspect-ratio: 1;
  transform: translateX(-50%) rotate(45deg);
  border: 2px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .06);
}

.product-preview article:hover {
  transform: translateY(-6px);
  border-color: rgba(223, 47, 47, .28);
  box-shadow: 0 26px 56px rgba(33, 38, 72, .1);
}

.product-preview article span,
.product-preview article strong,
.product-preview article small {
  position: relative;
  z-index: 1;
}

.product-preview article span {
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 10px;
  background: #fff3f3;
  color: var(--red-dark);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-preview article strong {
  font-family: Barlow, sans-serif;
  font-size: clamp(1.55rem, 2.7vw, 2.2rem);
  line-height: 1;
}

.product-preview article small {
  margin-top: 8px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 800;
}

.contact {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(184, 32, 39, .98), rgba(223, 47, 47, .96) 58%, rgba(255, 255, 255, .15));
  color: var(--white);
}

.contact:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .9), transparent 76%);
  pointer-events: none;
}

.contact:after {
  content: "";
  position: absolute;
  right: clamp(18px, 6vw, 90px);
  top: clamp(28px, 8vw, 120px);
  width: min(260px, 35vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .12);
  transform: rotate(45deg);
  pointer-events: none;
}

.contact-copy,
.contact-form {
  position: relative;
  z-index: 1;
}

.contact p:not(.eyebrow) {
  max-width: 580px;
  color: rgba(255, 255, 255, .85);
  font-size: 1.06rem;
}

.contact-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
}

.contact-paths span {
  position: relative;
  overflow: hidden;
  min-height: 92px;
  display: grid;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .95);
  font-family: Barlow, sans-serif;
  font-weight: 900;
  line-height: 1.05;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.contact-paths span:before {
  content: "";
  position: absolute;
  inset: 14px 14px auto auto;
  width: 28px;
  aspect-ratio: 1;
  background: var(--white);
  opacity: .72;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.contact-paths span:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .2);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 26px 70px rgba(33, 38, 72, .15);
  backdrop-filter: blur(16px);
}

.contact-form label {
  position: relative;
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, .95);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .95);
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 255, 255, .8);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .2);
  transform: translateY(-1px);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: fit-content;
  margin-top: 4px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(180px, .7fr) minmax(180px, .55fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  padding: clamp(34px, 6vw, 68px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(184, 32, 39, 1), rgba(223, 47, 47, .98) 62%, rgba(255, 255, 255, .15));
  color: rgba(255, 255, 255, .85);
}

.site-footer:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .88), transparent 78%);
  pointer-events: none;
}

.footer-brand,
.footer-links,
.footer-contact {
  position: relative;
  z-index: 1;
}

.site-footer img {
  display: block;
  width: min(260px, 72vw);
  height: auto;
  margin-bottom: 18px;
  padding: 0;
  background: transparent;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .18));
  transition: transform .24s ease, filter .24s ease;
}

.site-footer img:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, .26));
}

.footer-brand p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, .85);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-links:before,
.footer-contact:before {
  color: rgba(255, 255, 255, .6);
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-links:before {
  content: "Secciones";
}

.footer-contact:before {
  content: "Contacto";
}

.footer-links a,
.footer-contact a,
.footer-contact span {
  width: fit-content;
  color: rgba(255, 255, 255, .95);
  font-weight: 800;
}

.footer-links a,
.footer-contact a {
  transition: color .2s ease, transform .2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.whatsapp-float {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 60;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  background:
    linear-gradient(135deg, #25d366, #16b957);
  color: #062a16;
  box-shadow: 0 18px 42px rgba(4, 8, 20, .24), 0 0 0 0 rgba(37, 211, 102, .34);
  font-weight: 900;
  isolation: isolate;
  animation: whatsappPulse 2.8s ease-out infinite;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.whatsapp-float:before {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  border: 1px solid rgba(37, 211, 102, .32);
  border-radius: 50%;
  opacity: .7;
  transform: scale(.92);
  transition: transform .22s ease, opacity .22s ease;
}

.whatsapp-float strong {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: transparent;
  color: var(--white);
}

.whatsapp-float svg {
  display: block;
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.whatsapp-float:hover {
  transform: translateY(-4px);
  background:
    linear-gradient(135deg, #31df73, #18c15d);
  box-shadow: 0 24px 54px rgba(4, 8, 20, .3), 0 0 0 8px rgba(37, 211, 102, .12);
  animation-play-state: paused;
}

.whatsapp-float:hover:before {
  opacity: 1;
  transform: scale(1);
}

@keyframes whatsappPulse {

  0%,
  100% {
    box-shadow: 0 18px 42px rgba(4, 8, 20, .24), 0 0 0 0 rgba(37, 211, 102, .34);
  }

  50% {
    box-shadow: 0 18px 42px rgba(4, 8, 20, .24), 0 0 0 12px rgba(37, 211, 102, 0);
  }
}

.news-modal {
  width: min(760px, calc(100% - 32px));
  border: 0;
  padding: 34px;
  box-shadow: var(--shadow);
}

.news-modal::backdrop {
  background: rgba(7, 11, 10, .72);
}

.news-modal h3 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.news-modal blockquote {
  margin: 24px 0 0;
  padding-left: 18px;
  border-left: 5px solid var(--red);
  font-weight: 900;
}

.history-modal h3 {
  color: var(--red);
}

.modal-close {
  float: right;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  font-weight: 900;
}

/* =========================================
   PANEL DE ADMINISTRACIÓN
========================================= */
.admin-body {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(184, 32, 39, .98), rgba(223, 47, 47, .96) 54%, rgba(255, 255, 255, .15));
}

.news-admin {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) 0;
}

.admin-login,
.admin-panel,
.admin-header,
.admin-alert {
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 62px rgba(33, 38, 72, .15);
}

.admin-login {
  width: min(460px, 100%);
  margin: 8vh auto 0;
  padding: clamp(26px, 5vw, 42px);
}

.admin-login img {
  width: 180px;
  margin-bottom: 26px;
}

.admin-login h1,
.admin-header h1,
.admin-panel h2 {
  margin: 0;
  font-family: Barlow, sans-serif;
  line-height: 1;
}

.admin-login h1,
.admin-header h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.admin-login p,
.admin-header p,
.admin-list p {
  color: var(--muted);
}

.admin-login form,
.admin-form {
  display: grid;
  gap: 16px;
}

.admin-login label,
.admin-form label {
  display: grid;
  gap: 7px;
  color: #283136;
  font-weight: 900;
}

.admin-login input,
.admin-form input:not([type="checkbox"]),
.admin-form textarea {
  width: 100%;
  border: 1px solid rgba(18, 18, 18, .14);
  background: var(--white);
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
}

.admin-login input:focus,
.admin-form input:not([type="checkbox"]):focus,
.admin-form textarea:focus {
  border-color: rgba(223, 47, 47, .56);
  box-shadow: 0 0 0 4px rgba(223, 47, 47, .1);
}

.admin-media-field {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(18, 18, 18, .1);
  background: #f8f9fc;
}

.admin-media-field legend {
  padding: 0 8px;
  color: var(--red);
  font-family: Barlow, sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
}

.admin-media-field p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
}

.admin-media-preview {
  display: grid;
  gap: 10px;
}

.admin-media-preview img,
.admin-media-preview video,
.admin-media-preview iframe {
  display: block;
  width: 100%;
  border: 0;
  max-height: 260px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--red-dark);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 38px);
}

.admin-header nav,
.admin-actions,
.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-admin .btn-secondary {
  border-color: rgba(223, 47, 47, .18);
  background: #fff3f3;
  color: var(--red);
}

.news-admin .btn-secondary:hover {
  border-color: rgba(223, 47, 47, .28);
  background: #ffe8e8;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
  gap: 18px;
  margin-top: 18px;
}

.admin-panel {
  padding: clamp(22px, 4vw, 34px);
}

.admin-panel h2 {
  margin-bottom: 20px;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.admin-check {
  display: flex !important;
  align-items: center;
  grid-template-columns: auto 1fr;
}

.admin-check input {
  width: 18px;
  height: 18px;
}

.admin-alert {
  margin-top: 18px;
  padding: 14px 16px;
  font-weight: 900;
}

.admin-alert.success {
  color: #14532d;
  background: #eaf8ef;
}

.admin-alert.error {
  color: #7f1d1d;
  background: #fff0f0;
}

.admin-list {
  display: grid;
  align-content: start;
  gap: 14px;
}

.admin-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(18, 18, 18, .1);
  background: #f8f9fc;
}

.admin-list article.has-media {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.admin-list-media {
  width: 96px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--red-dark);
}

.admin-list-media img,
.admin-list-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-list-media span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: var(--red);
  color: var(--white);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-list article h3 {
  margin: 8px 0 4px;
  font-size: 1.35rem;
}

.admin-list article p {
  margin: 0;
  font-size: .92rem;
}

.admin-list article span {
  display: inline-flex;
  width: fit-content;
  padding: 5px 8px;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-list .is-live {
  background: #eaf8ef;
  color: #14532d;
}

.admin-list .is-draft {
  background: #fff3f3;
  color: var(--red-dark);
}

.admin-row-actions {
  justify-content: flex-end;
}

.admin-row-actions a,
.admin-row-actions button {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(18, 18, 18, .12);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.admin-row-actions a:hover,
.admin-row-actions button:hover {
  color: var(--red);
}

.admin-row-actions .danger {
  color: var(--red-dark);
}

/* =========================================
   MEDIA QUERIES (RESPONSIVO)
========================================= */
@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(18, 18, 18, 0.12);
  }

  .site-nav.open {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: end;
    min-height: 860px;
  }

  .hero-content {
    max-width: 680px;
    padding-top: 150px;
  }

  .hero-robot {
    right: clamp(10px, 5vw, 48px);
    top: 50%;
    width: clamp(270px, 42vw, 390px);
    opacity: .42;
  }

  .split,
  .history-layout,
  .philosophy-layout,
  .ecosystem-intro,
  .vision-panel,
  .admin-layout,
  .shop-contact,
  .contact {
    grid-template-columns: 1fr;
  }

  .philosophy-heading {
    position: static;
  }

  .pillar-grid,
  .news-grid,
  .history-values,
  .history-detail,
  .sponsor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-card:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 460px;
  }

  .product-preview {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: inline mandatory;
  }

  .product-preview article {
    min-height: 320px;
    scroll-snap-align: start;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-card-main {
    grid-row: auto;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .admin-header,
  .admin-list article,
  .admin-list article.has-media {
    grid-template-columns: 1fr;
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-row-actions {
    justify-content: flex-start;
  }

  .contact-paths {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: inline mandatory;
  }

  .contact-paths span {
    scroll-snap-align: start;
  }

  .hero {
    min-height: 780px;
    padding: 110px 18px 24px;
  }

  .hero-content {
    align-self: center;
    padding-top: 0;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 14vw, 4.35rem);
  }

  .hero-robot {
    left: 50%;
    right: auto;
    top: 42%;
    width: min(76vw, 360px);
    min-width: 260px;
    transform: translate(-50%, -50%);
    opacity: .18;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-stats article {
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(18, 18, 18, .12);
  }

  .hero-stats article:last-child {
    border-bottom: 0;
  }

  .pillar-grid,
  .news-grid,
  .sponsor-grid,
  .ecosystem-stats,
  .history-values,
  .history-detail,
  .unit-grid,
  .logo-strip,
  .product-preview {
    grid-template-columns: 1fr;
  }

  .product-preview {
    overflow: visible;
    padding-bottom: 0;
  }

  .product-preview article {
    min-height: 300px;
  }

  .contact-paths {
    grid-template-columns: 1fr;
    overflow: visible;
    padding-bottom: 0;
  }

  .contact-paths span {
    min-height: 76px;
  }

  .news-card,
  .news-card:first-child {
    min-height: 330px;
  }

  .news-card:first-child h3 {
    font-size: clamp(1.85rem, 10vw, 2.6rem);
  }

  .ecosystem-stats article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .ecosystem-stats article:last-child {
    border-bottom: 0;
  }

  .unit-slider-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .unit-track {
    grid-auto-columns: minmax(210px, 82%);
  }

  .pillar-grid article {
    min-height: 220px;
  }

  .history-timeline {
    padding-left: 20px;
  }

  .history-timeline article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .history-timeline article:before {
    left: -24px;
  }

  .history-visual {
    min-height: 460px;
    padding: 24px;
  }

  .history-logo {
    width: min(260px, 86%);
  }

  .history-badge {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }

  .history-robot {
    width: min(82%, 330px);
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-bottom: 92px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}