:root {
  --bg-deep: #070b14;
  --bg-card: rgba(14, 20, 36, 0.72);
  --border: rgba(255, 255, 255, 0.14);
  --text: #e8ecf4;
  --muted: #a8b0c4;
  --accent: #5b9fd4;
  --accent-strong: #7ec8ff;
  --whatsapp: #25d366;
  --radius: 12px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  /* Imagen principal de página */
  --page-bg-image: url("../assets/background.png");
  /* Suaviza pixelado sin verse muy borroso; sube/baja px al gusto */
  --bg-photo-blur: 6px;
  --bg-photo-scale: 1.04;
  --container-pad: clamp(1rem, 4vw, 1.25rem);
  font-size: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  a.card.card-link {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  a.card.card-link:hover,
  a.card.card-link:focus-visible,
  a.card.card-link:active {
    transform: none;
  }
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  background-color: var(--bg-deep);
  position: relative;
}

/* Capa solo de la foto: blur + escala enmarcan mejor y ocultan pixelado al estirar PNG pequeños */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--bg-deep);
  background-image: var(--page-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  transform: scale(var(--bg-photo-scale));
  transform-origin: center center;
  filter: blur(var(--bg-photo-blur));
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  pointer-events: none;
}

/* Degradados y brillo encima de la foto */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(
      ellipse 85% 65% at 50% 35%,
      rgba(255, 255, 255, 0.04) 0%,
      transparent 62%
    ),
    radial-gradient(
      ellipse 130% 85% at 50% 115%,
      rgba(5, 12, 26, 0.82) 0%,
      transparent 52%
    ),
    radial-gradient(
      ellipse 70% 55% at 90% 8%,
      rgba(91, 159, 212, 0.14) 0%,
      transparent 58%
    ),
    linear-gradient(
      168deg,
      rgba(6, 10, 22, 0.88) 0%,
      rgba(8, 14, 28, 0.28) 38%,
      rgba(5, 9, 18, 0.82) 100%
    );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    filter: none;
    transform: none;
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #041018;
  z-index: 100;
  border-radius: 6px;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1100px, calc(100% - 2 * var(--container-pad)));
  margin-inline: auto;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* Raíl del equipo: más ancho para ver 4 columnas en una fila */
.container.container--rail {
  width: min(1360px, calc(100% - 2 * var(--container-pad)));
  margin-top: clamp(1.25rem, 3.5vw, 2.25rem);
}

.container.narrow {
  width: min(720px, calc(100% - 2 * var(--container-pad)));
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: rgba(8, 11, 22, 0.58);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  backdrop-filter: blur(14px);
  background: rgba(8, 11, 22, 0.88);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.nav {
  position: relative;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Imagen completa visible (sin recorte); escala por alto máximo */
.logo img {
  display: block;
  height: auto;
  max-height: 40px;
  width: auto;
  max-width: min(200px, 52vw);
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.logo-text {
  font-weight: 700;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--accent-strong);
}

.nav-menu a.is-current {
  color: var(--accent-strong);
  font-weight: 600;
}

/* Carrusel de encabezado — foto nítida + fondo difuminado a ancho completo */
.header-carousel {
  --header-carousel-blur: 22px;
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(11rem, 32vw, 20rem);
  overflow: hidden;
  background: rgba(6, 10, 20, 0.96);
  border-bottom: 1px solid var(--border);
}

.header-carousel__track {
  position: absolute;
  inset: 0;
}

.header-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease;
  pointer-events: none;
}

.header-carousel__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.header-carousel__slide-bg {
  position: absolute;
  inset: -12px;
  overflow: hidden;
}

.header-carousel__slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(8, 11, 22, 0.28);
  pointer-events: none;
}

.header-carousel__slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: blur(var(--header-carousel-blur));
  transform: scale(1.12);
}

.header-carousel__slide-fg {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: clamp(0.35rem, 1.5vw, 0.65rem);
}

.header-carousel__slide-fg img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.header-carousel__shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 11, 22, 0.4) 0%, transparent 22%),
    linear-gradient(0deg, rgba(8, 11, 22, 0.65) 0%, transparent 38%);
}

.header-carousel__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 4;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 12px rgba(126, 200, 255, 0.45);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .header-carousel {
    --header-carousel-blur: 14px;
  }

  .header-carousel__slide {
    transition: none;
  }

  .header-carousel__progress {
    display: none;
  }
}

@media (max-width: 720px) {
  .header-carousel {
    height: clamp(10rem, 48vw, 15rem);
  }
}

.page-main {
  padding-bottom: 2rem;
}

/* Título principal de cada página siempre centrado */
.page-main h1 {
  text-align: center;
}

.page-main .page-section-title {
  text-align: center;
}

/* Quiénes somos: bloque centrado, texto blanco y negrita */
body[data-page="quienes-somos"] .container.narrow {
  text-align: center;
}

body[data-page="quienes-somos"] .container.narrow h1,
body[data-page="quienes-somos"] .container.narrow p {
  color: #ffffff;
  font-weight: 700;
}

/* Misión y visión — BREMI + tarjetas sobrias centradas */
.mv-page {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.mv-page__inner {
  max-width: min(640px, 100%);
  margin-inline: auto;
}

.mv-page-head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 2.75rem);
}

.mv-page__brand {
  margin: 0;
  font-size: clamp(2.25rem, 8vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.mv-showcase {
  display: flex;
  flex-direction: column;
  gap: clamp(1.35rem, 3vw, 1.75rem);
}

.mv-card {
  position: relative;
  padding: clamp(1.5rem, 3.5vw, 2rem) clamp(1.5rem, 4vw, 2.25rem);
  text-align: center;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(
    155deg,
    rgba(12, 18, 36, 0.92) 0%,
    rgba(6, 10, 22, 0.88) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  transition:
    transform 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease,
    background 0.32s ease;
}

.mv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1;
  border-radius: calc(var(--radius) + 2px) calc(var(--radius) + 2px) 0 0;
  background: linear-gradient(
    90deg,
    transparent 2%,
    var(--mv-stripe, var(--accent)) 50%,
    transparent 98%
  );
  opacity: 0.75;
  transition: opacity 0.32s ease, filter 0.32s ease;
}

.mv-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    120deg,
    transparent 0%,
    var(--mv-stripe, var(--accent)) 25%,
    transparent 50%,
    var(--mv-stripe, var(--accent)) 75%,
    transparent 100%
  );
  background-size: 220% 100%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}

.mv-card--mission {
  --mv-stripe: #5b9fd4;
  --mv-glow: 91, 159, 212;
}

.mv-card--vision {
  --mv-stripe: #9b7ed9;
  --mv-glow: 155, 126, 217;
}

.mv-card__title,
.mv-card__text {
  position: relative;
  z-index: 2;
}

.mv-card__title {
  margin: 0 0 1.1rem;
  font-size: clamp(1.12rem, 2.4vw, 1.38rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.mv-card__title::after {
  content: "";
  display: block;
  width: min(140px, 50%);
  height: 2px;
  margin: 0.6rem auto 0;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--mv-stripe, var(--accent)),
    transparent
  );
  opacity: 0.55;
  transition: opacity 0.32s ease, width 0.32s ease;
}

.mv-card__text {
  margin: 0 auto;
  max-width: 48ch;
  font-size: clamp(0.94rem, 1.85vw, 1.03rem);
  line-height: 1.75;
  color: var(--muted);
  text-align: center;
  transition: color 0.32s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .mv-card:hover::after,
  .mv-card:focus-within::after {
    opacity: 1;
    animation: mv-border-shine 2.8s linear infinite;
  }

  .mv-card:hover,
  .mv-card:focus-within {
    transform: translateY(-4px);
  }

  .mv-card:hover::before,
  .mv-card:focus-within::before {
    opacity: 1;
    filter: brightness(1.25) saturate(1.15);
  }

  .mv-card--mission:hover,
  .mv-card--mission:focus-within {
    border-color: rgba(var(--mv-glow), 0.55);
    background: linear-gradient(
      155deg,
      rgba(18, 32, 58, 0.96) 0%,
      rgba(8, 14, 30, 0.94) 100%
    );
    box-shadow:
      0 0 0 1px rgba(var(--mv-glow), 0.7),
      0 0 28px rgba(var(--mv-glow), 0.45),
      0 0 48px rgba(var(--mv-glow), 0.2),
      0 20px 48px rgba(0, 0, 0, 0.42);
  }

  .mv-card--vision:hover,
  .mv-card--vision:focus-within {
    border-color: rgba(var(--mv-glow), 0.55);
    background: linear-gradient(
      155deg,
      rgba(36, 28, 58, 0.96) 0%,
      rgba(16, 12, 32, 0.94) 100%
    );
    box-shadow:
      0 0 0 1px rgba(var(--mv-glow), 0.7),
      0 0 28px rgba(var(--mv-glow), 0.42),
      0 0 48px rgba(var(--mv-glow), 0.18),
      0 20px 48px rgba(0, 0, 0, 0.42);
  }

  .mv-card:hover .mv-card__title::after,
  .mv-card:focus-within .mv-card__title::after {
    opacity: 0.95;
    width: min(180px, 65%);
  }

  .mv-card:hover .mv-card__text,
  .mv-card:focus-within .mv-card__text {
    color: var(--text);
  }
}

@keyframes mv-border-shine {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 220% 50%;
  }
}

.nav-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  min-height: 44px;
  min-width: 44px;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
}

.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.hero-inner {
  max-width: 640px;
  margin-inline: auto;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: rgba(8, 11, 22, 0.55);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

/* Hero de inicio: texto y botones centrados */
.hero-welcome .hero-lead {
  text-align: center;
  /* Más claro que --muted, un poco menos que .home-spotlight__desc (#cdd5e4) */
  color: #b8c2d4;
}

.hero-welcome .hero-actions {
  justify-content: center;
}

.hero-actions--single {
  flex-wrap: nowrap;
}

.hero-actions--single .btn {
  min-width: min(220px, 100%);
}

body[data-page="inicio"] .hero-inner {
  max-width: min(720px, 100%);
}

.home-spotlight {
  position: relative;
  text-align: center;
  margin: 0 0 1.5rem;
  padding: clamp(1.15rem, 3vw, 1.65rem) clamp(1.35rem, 3.5vw, 2rem);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(
    155deg,
    rgba(16, 26, 52, 0.92) 0%,
    rgba(6, 12, 28, 0.9) 100%
  );
  border: 1px solid rgba(126, 200, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(91, 159, 212, 0.12),
    0 22px 52px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.home-spotlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 5%,
    rgba(126, 200, 255, 0.85) 50%,
    transparent 95%
  );
}

.home-spotlight__line {
  position: relative;
  margin: 0 0 0.7rem;
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.home-spotlight__line::after {
  content: "";
  display: block;
  width: min(160px, 55%);
  height: 2px;
  margin: 0.65rem auto 0;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(126, 200, 255, 0.65),
    transparent
  );
  opacity: 0.85;
}

.home-spotlight__desc {
  position: relative;
  margin: 0.85rem 0 0;
  font-size: clamp(1.02rem, 2.1vw, 1.15rem);
  line-height: 1.55;
  font-weight: 600;
  /* Un poco más claro que --muted, sin llegar al blanco del título */
  color: #cdd5e4;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--accent-strong);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 700;
}

.hero-lead {
  color: var(--muted);
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section-alt {
  background: rgba(4, 6, 14, 0.55);
  border-block: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.section h2 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  margin: 0 0 1rem;
}

.section > .container > p:first-of-type,
.section-intro {
  color: var(--muted);
  margin-top: 0;
  max-width: 62ch;
}

.feature-list {
  margin: 1.25rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.feature-list li + li {
  margin-top: 0.35rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

/* Tarjeta entera clicable (Inicio — accesos rápidos) */
a.card.card-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

a.card.card-link:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
  border-color: rgba(126, 200, 255, 0.35);
  background: rgba(18, 26, 46, 0.82);
}

a.card.card-link:focus-visible {
  transform: translateY(-6px);
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
  border-color: rgba(126, 200, 255, 0.45);
}

a.card.card-link:active {
  transform: translateY(-4px);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

a.card.card-link h3 {
  color: var(--text);
  transition: color 0.2s ease;
}

a.card.card-link:hover h3,
a.card.card-link:focus-visible h3 {
  color: var(--accent-strong);
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a:hover,
.card h3 a:focus-visible {
  color: var(--accent-strong);
}

.page-section-title {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  margin: 0 0 1.25rem;
}

.page-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Cole Palmer — layout con carrusel + tarjetas */
.cole-page {
  padding-block: clamp(2rem, 6vw, 3.5rem);
}

.cole-page__inner {
  max-width: min(1080px, 100%);
}

.cole-page__head {
  text-align: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.cole-page__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.cole-page__head h1 {
  margin: 0;
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.cole-typewriter {
  display: inline-block;
  min-height: 1.15em;
}

.cole-typewriter.is-typing::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0.82em;
  margin-left: 3px;
  vertical-align: -0.06em;
  background: var(--accent-strong);
  box-shadow: 0 0 8px rgba(126, 200, 255, 0.65);
}

.cole-typewriter.is-done::after {
  content: none;
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .cole-typewriter.is-typing::after {
    animation: cole-typewriter-cursor 0.75s step-end infinite;
  }
}

@keyframes cole-typewriter-cursor {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.cole-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.35rem, 3vw, 2rem);
  align-items: start;
}

.cole-carousel {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cole-carousel__frame {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid rgba(155, 126, 217, 0.28);
  box-shadow:
    0 0 0 1px rgba(155, 126, 217, 0.12),
    0 20px 48px rgba(0, 0, 0, 0.42);
  background: rgba(8, 12, 26, 0.65);
}

.cole-carousel__frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(
    90deg,
    transparent 2%,
    #9b7ed9 50%,
    transparent 98%
  );
  opacity: 0.9;
  pointer-events: none;
}

.cole-carousel__viewport {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(6, 10, 22, 0.92);
}

.cole-carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.cole-carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.cole-carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.cole-carousel__slide img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.cole-carousel__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 2.25rem 1rem 0.85rem;
  font-size: clamp(0.82rem, 1.6vw, 0.92rem);
  font-weight: 600;
  text-align: center;
  color: #fff;
  background: linear-gradient(to top, rgba(6, 10, 22, 0.92) 0%, transparent 100%);
}

.cole-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(8, 12, 26, 0.72);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.cole-carousel__arrow--prev {
  left: 0.65rem;
}

.cole-carousel__arrow--next {
  right: 0.65rem;
}

.cole-carousel__arrow:hover {
  background: rgba(155, 126, 217, 0.45);
  border-color: rgba(200, 170, 255, 0.5);
}

.cole-carousel__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.cole-carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cole-carousel__dot.is-active {
  background: #9b7ed9;
  transform: scale(1.15);
}

.cole-side {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.5vw, 1.35rem);
}

.cole-copy-card {
  padding: clamp(1.25rem, 3vw, 1.65rem);
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(
    155deg,
    rgba(12, 18, 36, 0.92) 0%,
    rgba(6, 10, 22, 0.88) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.cole-intro {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 2vw, 1.1rem);
}

.cole-intro p {
  margin: 0;
  font-size: clamp(0.9rem, 1.85vw, 1.02rem);
  line-height: 1.7;
  color: var(--muted);
  text-align: left;
}

.cole-intro__closing {
  color: var(--text) !important;
  font-weight: 600;
}

.cole-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
}

.cole-chips li {
  padding: 0.38rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(155, 126, 217, 0.35);
  border-radius: 999px;
}

.cole-catalog-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cole-catalog-cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: clamp(1rem, 2.5vw, 1.2rem) clamp(1.1rem, 3vw, 1.35rem);
  text-decoration: none;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(
    155deg,
    rgba(48, 36, 72, 0.95) 0%,
    rgba(22, 14, 40, 0.92) 100%
  );
  border: 1px solid rgba(155, 126, 217, 0.35);
  box-shadow:
    0 0 0 1px rgba(155, 126, 217, 0.15),
    0 14px 36px rgba(0, 0, 0, 0.38);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.cole-catalog-cta__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(4.5rem, 14vw, 5.5rem);
  height: 2.85rem;
  padding: 0.35rem 0.5rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.cole-catalog-cta__logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.cole-catalog-cta__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  text-align: left;
}

.cole-catalog-cta__title {
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}

.cole-catalog-cta__hint {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.cole-catalog-cta__arrow {
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-strong);
  transition: transform 0.28s ease;
}

.cole-contact-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  text-decoration: none;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(126, 200, 255, 0.45);
  background: linear-gradient(135deg, var(--accent), #3d7fb8);
  box-shadow:
    0 10px 28px rgba(91, 159, 212, 0.4),
    0 0 0 1px rgba(126, 200, 255, 0.2);
  color: #061018;
  font-weight: 700;
  font-size: clamp(0.95rem, 2vw, 1.02rem);
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.cole-contact-cta__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 0 2px 0 0;
  pointer-events: none;
}

.cole-contact-cta__inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.cole-contact-cta__spinner {
  display: none;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid rgba(6, 16, 24, 0.2);
  border-top-color: #061018;
  border-radius: 50%;
}

.cole-contact-cta__label {
  line-height: 1.2;
}

@media (prefers-reduced-motion: no-preference) {
  .cole-contact-cta:hover {
    transform: translateY(-2px);
    box-shadow:
      0 14px 36px rgba(91, 159, 212, 0.55),
      0 0 24px rgba(126, 200, 255, 0.28);
  }

  .cole-contact-cta.is-loading {
    pointer-events: none;
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(91, 159, 212, 0.5);
  }

  .cole-contact-cta.is-loading .cole-contact-cta__spinner {
    display: inline-block;
    animation: cole-contact-spin 0.7s linear infinite;
  }

  .cole-contact-cta.is-loading .cole-contact-cta__bar {
    animation: cole-contact-progress 1.1s ease forwards;
  }
}

@keyframes cole-contact-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cole-contact-progress {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .cole-catalog-cta:hover,
  .cole-catalog-cta:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(200, 170, 255, 0.55);
    box-shadow:
      0 0 0 1px rgba(155, 126, 217, 0.65),
      0 0 28px rgba(155, 126, 217, 0.35),
      0 18px 44px rgba(0, 0, 0, 0.45);
  }

  .cole-catalog-cta:hover .cole-catalog-cta__arrow {
    transform: translateX(4px);
  }

  .cole-catalog-cta.is-opening {
    animation: cole-cta-pulse 0.6s ease-in-out 2;
  }
}

@keyframes cole-cta-pulse {
  0%,
  100% {
    transform: translateY(-3px) scale(1);
  }

  50% {
    transform: translateY(-3px) scale(1.02);
  }
}

@media (max-width: 860px) {
  .cole-layout {
    grid-template-columns: 1fr;
  }

  .cole-carousel__viewport {
    aspect-ratio: 16 / 10;
  }

  .cole-intro p {
    text-align: center;
  }

  .cole-chips {
    justify-content: center;
  }

  .cole-catalog-cta__body {
    align-items: center;
    text-align: center;
  }
}

/* Legacy cole-block (otras referencias) */
.cole-block {
  text-align: center;
}

/* Botón descarga catálogo — brillo y animación al pulsar */
.btn-download {
  position: relative;
  overflow: hidden;
  gap: 0.55rem;
  padding: 0.85rem 1.75rem;
  font-size: clamp(0.95rem, 2vw, 1.02rem);
  isolation: isolate;
}

.btn-download__shine {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 62%
  );
  transform: translateX(-130%);
  pointer-events: none;
}

.btn-download__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.35s ease;
}

.btn-download__icon::before {
  content: "↓";
}

.btn-download__label {
  position: relative;
  z-index: 1;
}

.btn-download::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.btn-download.is-done {
  background: linear-gradient(135deg, #5ec98a, #3da86a);
  box-shadow: 0 12px 32px rgba(94, 201, 138, 0.45);
}

.btn-download.is-done .btn-download__icon::before {
  content: "✓";
}

@media (prefers-reduced-motion: no-preference) {
  .btn-download:hover .btn-download__shine {
    animation: btn-download-shine 1.1s ease;
  }

  .btn-download:hover {
    transform: translateY(-3px);
    box-shadow:
      0 14px 36px rgba(91, 159, 212, 0.5),
      0 0 28px rgba(126, 200, 255, 0.25);
  }

  .btn-download.is-downloading {
    animation: btn-download-pulse 0.65s ease-in-out infinite;
    box-shadow:
      0 0 0 2px rgba(255, 255, 255, 0.35),
      0 12px 40px rgba(91, 159, 212, 0.55),
      0 0 48px rgba(126, 200, 255, 0.35);
  }

  .btn-download.is-downloading::after {
    animation: btn-download-ripple 0.75s ease-out forwards;
  }

  .btn-download.is-downloading .btn-download__icon {
    animation: btn-download-arrow 0.55s ease-in-out infinite;
  }

  .btn-download.is-done {
    animation: none;
  }

  .btn-download.is-done .btn-download__icon {
    animation: btn-download-pop 0.45s ease;
  }
}

@keyframes btn-download-shine {
  to {
    transform: translateX(130%);
  }
}

@keyframes btn-download-pulse {
  0%,
  100% {
    transform: translateY(-3px) scale(1);
  }

  50% {
    transform: translateY(-3px) scale(1.04);
  }
}

@keyframes btn-download-ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 0.65;
  }

  100% {
    width: 280px;
    height: 280px;
    opacity: 0;
  }
}

@keyframes btn-download-arrow {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(5px);
    opacity: 0.45;
  }
}

@keyframes btn-download-pop {
  0% {
    transform: scale(0.6);
  }

  70% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.cole-block {
  text-align: center;
}

.cole-block h2 {
  text-align: center;
}

.cole-block p {
  color: var(--muted);
  text-align: center;
}

.cole-block .btn {
  margin-top: 1.25rem;
}

/* —— Contacto —— */
.contact-page {
  padding-block: clamp(2rem, 5vw, 3.25rem);
}

.contact-page__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 2.75rem);
}

.contact-hero {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
}

.contact-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.contact-hero__title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(135deg, #f0f4ff 0%, var(--accent-strong) 55%, #8eb8e8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-hero__lead {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.65;
}

.contact-wa {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 1.65rem);
  border-radius: calc(var(--radius) + 4px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.contact-wa::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  opacity: 0.85;
  background: linear-gradient(90deg, transparent, var(--whatsapp), #6ee7a0, transparent);
}

.contact-wa__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  color: var(--whatsapp);
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  flex-shrink: 0;
}

.contact-wa__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.contact-wa__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.contact-wa__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.contact-wa__live {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #8ee4b0;
}

.contact-wa__pulse {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  animation: contact-pulse 2s ease infinite;
}

@keyframes contact-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.contact-wa__cta {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .contact-wa__pulse {
    animation: none;
  }

  .contact-wa:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .contact-wa:hover,
  .contact-wa:focus-within {
    transform: translateY(-3px);
    border-color: rgba(37, 211, 102, 0.4);
    box-shadow:
      var(--shadow),
      0 0 28px rgba(37, 211, 102, 0.1);
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.contact-grid > div > p {
  color: var(--muted);
}

.contact-form-wrap {
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
  scroll-margin-top: 5.5rem;
  scroll-margin-bottom: clamp(1.5rem, 8vh, 3rem);
}

.contact-form__title {
  margin: 0 0 1rem;
  text-align: center;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-strong);
}

.contact-page .contact-form {
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(12, 18, 34, 0.82);
  border: 1px solid rgba(91, 159, 212, 0.28);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow:
    var(--shadow),
    0 0 24px rgba(91, 159, 212, 0.1),
    inset 0 1px 0 rgba(126, 200, 255, 0.06);
  backdrop-filter: blur(10px);
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.contact-form.is-lit,
.contact-form:focus-within {
  border-color: rgba(91, 159, 212, 0.6);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(91, 159, 212, 0.25),
    0 0 40px rgba(91, 159, 212, 0.22),
    0 0 64px rgba(91, 159, 212, 0.08),
    inset 0 1px 0 rgba(126, 200, 255, 0.12);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  font-size: 1rem;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
}

.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.contact-form input.field-invalid,
.contact-form textarea.field-invalid {
  border-color: rgba(255, 120, 120, 0.75);
  box-shadow: 0 0 0 1px rgba(255, 120, 120, 0.35);
}

.contact-form__submit {
  position: relative;
  width: 100%;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.25s ease;
}

.contact-form__submit.is-sending {
  opacity: 0.85;
  pointer-events: none;
}

.contact-form__submit.is-sent {
  background: linear-gradient(135deg, #5ec98a, #3da86a);
  box-shadow: 0 12px 32px rgba(94, 201, 138, 0.45);
}

.contact-form.is-sent .contact-form__submit {
  margin-bottom: 0.5rem;
}

.form-status {
  min-height: 1.25rem;
  margin: 0;
  font-size: 0.9rem;
}

.form-status.success {
  color: #7dffb3;
}

.form-status.error {
  color: #ff9c9c;
}

.form-sent {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1.35rem 1rem;
  margin: 0;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  border-radius: var(--radius);
  background: linear-gradient(
    155deg,
    rgba(22, 58, 42, 0.95) 0%,
    rgba(12, 32, 24, 0.92) 100%
  );
  border: 1px solid rgba(125, 255, 179, 0.45);
  box-shadow:
    0 0 0 1px rgba(125, 255, 179, 0.2),
    0 12px 36px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.form-sent.form-sent--show {
  display: flex;
}

.form-sent__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
  color: #061018;
  background: linear-gradient(145deg, #9ef0c4, #5ec98a);
  box-shadow: 0 8px 24px rgba(94, 201, 138, 0.45);
}

.form-sent__text {
  margin: 0.25rem 0 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #9ef0c4;
}

.form-sent__sub {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.form-sent.form-sent--leaving {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
}

@media (prefers-reduced-motion: no-preference) {
  .form-sent.form-sent--show:not(.form-sent--leaving) {
    animation: form-sent-in 0.55s ease;
  }

  .form-sent.form-sent--show:not(.form-sent--leaving) .form-sent__icon {
    animation: form-sent-pop 0.6s cubic-bezier(0.34, 1.4, 0.64, 1) 0.1s both;
  }

  .contact-form__submit.is-sending .contact-form__submit-label {
    animation: form-submit-pulse 0.8s ease-in-out infinite;
  }
}

@keyframes form-sent-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }

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

@keyframes form-sent-pop {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }

  70% {
    transform: scale(1.12);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes form-submit-pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.55;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: clamp(0.9rem, 0.85rem + 0.25vw, 0.95rem);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #3d7fb8);
  color: #061018;
  box-shadow: 0 10px 28px rgba(91, 159, 212, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(126, 200, 255, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #052e16;
  margin-top: 1rem;
}

.btn-whatsapp:hover {
  filter: brightness(1.08);
}

.hint {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 1rem;
}

.hint.small {
  margin-top: 0.75rem;
  font-size: 0.8rem;
}

.hint code {
  font-size: 0.8em;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Card doble + círculo (fondo.png) — Quiénes somos */
.dual-card-section {
  padding-top: clamp(2rem, 6vw, 3.5rem);
}

.dual-card-wrap {
  max-width: min(980px, 100%);
}

.dual-card {
  position: relative;
  margin-top: clamp(3.25rem, 9vw, 4.75rem);
  padding: clamp(3.35rem, 6vw, 4.35rem) clamp(1.35rem, 3.5vw, 2.35rem)
    clamp(1.85rem, 3.5vw, 2.5rem);
  background: rgba(8, 11, 22, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.dual-card__circle-slot {
  position: absolute;
  left: 50%;
  top: 0;
  /* Mitad del círculo sobre el borde superior del card */
  transform: translate(-50%, -50%);
  z-index: 2;
}

.dual-card__circle {
  /* Un poco más grande para que el logo completo se lea bien con object-fit: contain */
  width: clamp(132px, 28vw, 188px);
  height: clamp(132px, 28vw, 188px);
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 0 0 3px rgba(8, 11, 22, 0.95),
    0 0 0 5px rgba(126, 200, 255, 0.18),
    0 14px 42px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  /* Fondo blanco: encaja con logos en lienzo blanco */
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(6px, 1.5vw, 12px);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.dual-card__circle img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Contenido: historia + panel de objetivo (sin columna partida rígida) */
.dual-card__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.dual-card__story-title {
  margin: 0 0 1.15rem;
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: left;
}

.dual-card__story-title::after {
  content: "";
  display: block;
  width: min(72px, 28%);
  height: 3px;
  margin-top: 0.55rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-strong), transparent);
}

.dual-card__story p {
  margin: 0 0 1rem;
  font-size: clamp(0.92rem, 1.7vw, 1rem);
  line-height: 1.7;
  color: var(--muted);
  text-align: left;
}

.dual-card__story p:last-of-type {
  margin-bottom: 1.15rem;
}

.dual-card__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dual-card__highlights li {
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  background: rgba(126, 200, 255, 0.1);
  border: 1px solid rgba(126, 200, 255, 0.22);
  border-radius: 999px;
  cursor: default;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .dual-card__highlights li:hover {
    transform: translateY(-2px);
    color: #fff;
    background: rgba(126, 200, 255, 0.28);
    border-color: rgba(160, 220, 255, 0.75);
    box-shadow:
      0 0 0 1px rgba(126, 200, 255, 0.35),
      0 6px 20px rgba(80, 160, 255, 0.35),
      0 0 24px rgba(100, 190, 255, 0.22);
  }
}

.dual-card__mission {
  position: relative;
  margin: 0;
  padding: clamp(1.25rem, 3vw, 1.65rem);
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(
    160deg,
    rgba(22, 40, 72, 0.95) 0%,
    rgba(10, 18, 36, 0.92) 100%
  );
  border: 1px solid rgba(126, 200, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 20px 48px rgba(0, 0, 0, 0.35);
}

.dual-card__mission::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: calc(var(--radius) + 2px) calc(var(--radius) + 2px) 0 0;
  background: linear-gradient(
    90deg,
    rgba(126, 200, 255, 0.15),
    rgba(126, 200, 255, 0.85) 50%,
    rgba(126, 200, 255, 0.15)
  );
}

.dual-card__mission-label {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.dual-card__mission-text {
  margin: 0;
  font-size: clamp(0.95rem, 1.85vw, 1.06rem);
  line-height: 1.65;
  font-weight: 600;
  color: var(--text);
}

@media (min-width: 900px) {
  .dual-card__mission {
    position: sticky;
    top: 5.5rem;
  }
}

@media (max-width: 720px) {
  .dual-card__circle-slot {
    transform: translate(-50%, calc(-50% - 2.25rem));
  }

  .dual-card__layout {
    grid-template-columns: 1fr;
  }

  .dual-card__mission {
    position: static;
  }

  .dual-card__story-title,
  .dual-card__story p {
    text-align: center;
  }

  .dual-card__story-title::after {
    margin-inline: auto;
  }

  .dual-card__highlights {
    justify-content: center;
  }

  .dual-card__mission-text {
    text-align: center;
  }
}

/* Quiénes somos — cuatro cards en disposición rombo */
.diamond-benefits-section {
  padding-top: clamp(2rem, 5vw, 3rem);
}

.diamond-benefits-heading {
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 700;
  color: var(--accent-strong);
  text-align: center;
}

.diamond-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  gap: clamp(1rem, 3vw, 1.5rem);
  max-width: min(780px, 100%);
  margin-inline: auto;
  align-items: center;
}

.diamond-benefits__card {
  background: rgba(14, 20, 36, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1rem, 2.5vw, 1.4rem);
  box-shadow: var(--shadow);
  text-align: center;
  max-width: min(248px, 100%);
  width: 100%;
  justify-self: center;
}

.diamond-benefits__card--1 {
  grid-column: 2;
  grid-row: 1;
}

.diamond-benefits__card--2 {
  grid-column: 1;
  grid-row: 2;
  justify-self: end;
}

.diamond-benefits__card--3 {
  grid-column: 3;
  grid-row: 2;
  justify-self: start;
}

.diamond-benefits__card--4 {
  grid-column: 2;
  grid-row: 3;
}

.diamond-benefits__title {
  margin: 0 0 0.55rem;
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.diamond-benefits__text {
  margin: 0;
  font-size: clamp(0.82rem, 1.9vw, 0.92rem);
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 640px) {
  .diamond-benefits {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 400px;
  }

  .diamond-benefits__card {
    max-width: 100%;
    justify-self: center !important;
  }
}

/* Servicios — Nuestro Compromiso */
.servicios-compromiso {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.commitment-panel {
  position: relative;
  max-width: min(720px, 100%);
  margin-inline: auto;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.35rem, 4vw, 2.25rem);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(
      145deg,
      rgba(14, 22, 42, 0.92) 0%,
      rgba(8, 12, 26, 0.88) 100%
    );
  border: 1px solid rgba(126, 200, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 24px 56px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.commitment-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(126, 200, 255, 0.55) 0%,
    rgba(91, 159, 212, 0.15) 45%,
    rgba(126, 200, 255, 0.35) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}

.commitment-panel__eyebrow {
  position: relative;
  margin: 0 0 0.65rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.commitment-panel__title {
  position: relative;
  margin: 0 0 1.25rem;
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #e8f4ff 0%, var(--accent-strong) 45%, #b8ddff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(126, 200, 255, 0.15);
}

.commitment-panel__intro {
  position: relative;
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  line-height: 1.65;
  color: var(--muted);
  text-align: center;
  max-width: 54ch;
  margin-inline: auto;
}

.commitment-panel__intro strong {
  color: var(--text);
  font-weight: 700;
}

.commitment-panel__list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 2vw, 1.15rem);
}

.commitment-panel__list li {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.85rem, 2.5vw, 1.25rem);
  padding: clamp(1rem, 2.5vw, 1.25rem) clamp(1rem, 3vw, 1.35rem);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .commitment-panel__list li:hover {
    transform: translateY(-3px);
    border-color: rgba(126, 200, 255, 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  }
}

.commitment-panel__marker {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  color: #061018;
  background: linear-gradient(145deg, var(--accent-strong), var(--accent));
  box-shadow: 0 6px 18px rgba(91, 159, 212, 0.45);
}

.commitment-panel__marker::before {
  content: "→";
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  transform: translateX(1px);
}

.commitment-panel__actions {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0;
  padding-top: clamp(1.25rem, 3vw, 1.75rem);
  border-top: 1px solid rgba(126, 200, 255, 0.14);
  justify-content: center;
}

.commitment-panel__item-body {
  flex: 1;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--text);
  padding-top: 0.15rem;
}

@media (max-width: 480px) {
  .commitment-panel__list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .commitment-panel__item-body {
    padding-top: 0;
  }
}

/* Servicios — cabecera, bloque bento + raíl industrial (capacidades) */
.servicios-oferta {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.oferta-section-head {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.oferta-section-eyebrow {
  margin: 0 0 0.5rem;
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.oferta-section-title {
  margin: 0;
  width: 100%;
  max-width: min(36ch, 100%);
  text-align: center;
  font-size: clamp(1.4rem, 3.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}

.oferta-section-title::after {
  content: "";
  display: block;
  width: min(200px, 55%);
  height: 2px;
  margin: 0.85rem auto 0;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(126, 200, 255, 0.55),
    transparent
  );
}

/* Bloque bento (tarjeta de repuestos) */
.oferta-bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.1rem, 2.5vw, 1.5rem);
  max-width: min(640px, 100%);
  margin-inline: auto;
}

.oferta-card {
  position: relative;
  padding: clamp(1.25rem, 3vw, 1.65rem);
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(
    155deg,
    rgba(12, 18, 36, 0.92) 0%,
    rgba(6, 10, 22, 0.88) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

.oferta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 3px;
  border-radius: calc(var(--radius) + 2px) calc(var(--radius) + 2px) 0 0;
  background: linear-gradient(
    90deg,
    transparent 2%,
    var(--oferta-stripe, var(--accent)) 50%,
    transparent 98%
  );
  opacity: 0.9;
  transition: opacity 0.28s ease, filter 0.28s ease;
}

.oferta-card--glow-d {
  --oferta-stripe: #9b7ed9;
  box-shadow:
    0 0 0 1px rgba(155, 126, 217, 0.22),
    0 20px 50px rgba(0, 0, 0, 0.42);
}

@media (prefers-reduced-motion: no-preference) {
  .oferta-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 230, 255, 0.38);
    background: linear-gradient(
      155deg,
      rgba(22, 36, 68, 0.97) 0%,
      rgba(10, 18, 42, 0.95) 100%
    );
    box-shadow:
      0 0 0 1px rgba(126, 200, 255, 0.35),
      0 24px 56px rgba(0, 0, 0, 0.48),
      0 0 48px rgba(80, 160, 255, 0.12);
  }

  .oferta-card:hover::before {
    opacity: 1;
    filter: brightness(1.2) saturate(1.15);
  }

  .oferta-card--glow-d:hover {
    background: linear-gradient(
      155deg,
      rgba(48, 36, 72, 0.98) 0%,
      rgba(22, 14, 40, 0.96) 100%
    );
    border-color: rgba(200, 170, 255, 0.45);
    box-shadow:
      0 0 0 1px rgba(155, 126, 217, 0.55),
      0 26px 58px rgba(0, 0, 0, 0.48),
      0 0 52px rgba(155, 126, 217, 0.26);
  }
}

.oferta-bento .oferta-card__body {
  text-align: center;
}

.oferta-card__title {
  position: relative;
  margin: 0 0 1rem;
  padding-left: 0;
  text-align: center;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.02em;
}

.oferta-card__title::after {
  content: "";
  display: block;
  width: min(160px, 70%);
  height: 2px;
  margin: 0.65rem auto 0;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--oferta-stripe, var(--accent)),
    transparent
  );
  opacity: 0.5;
}

.oferta-card__body p {
  margin: 0 0 0.85rem;
  font-size: clamp(0.9rem, 1.8vw, 0.98rem);
  line-height: 1.6;
  color: var(--muted);
}

.oferta-card__body p:last-child {
  margin-bottom: 0;
}

.oferta-card__body strong {
  color: var(--text);
  font-weight: 700;
}

.oferta-card__lead {
  color: var(--muted) !important;
  font-size: clamp(0.95rem, 1.9vw, 1.02rem) !important;
  line-height: 1.65;
}

.oferta-card__highlight {
  margin: 1rem 0 0.75rem !important;
  text-align: center;
  font-size: 1rem !important;
  color: var(--accent-strong) !important;
}

.oferta-card__chips-label {
  margin: 0.5rem 0 0.5rem !important;
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted) !important;
}

.oferta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  justify-content: center;
}

.oferta-chips li {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.oferta-card__eta {
  margin: 0 !important;
  text-align: center;
  font-size: 0.95rem !important;
  color: var(--text) !important;
}

.oferta-card__eta-icon {
  margin-right: 0.35rem;
  opacity: 0.85;
}

.equipo-rail-head {
  text-align: center;
  margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.equipo-rail-title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-strong);
}

.oferta-section-dashes {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 0.85rem;
}

.oferta-section-dashes span {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.22);
}

.oferta-section-dashes span:first-child {
  background: rgba(126, 200, 255, 0.75);
}

.equipo-rail-scroll {
  width: 100%;
  overflow-x: visible;
  overflow-y: visible;
}

/* Raíl horizontal + columnas tipo infografía */
.industrial-rail {
  margin-top: clamp(2.25rem, 5vw, 3.75rem);
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.35rem, 1.2vw, 0.75rem);
  max-width: min(1120px, 100%);
  margin-inline: auto;
  padding: clamp(1rem, 3vw, 1.75rem) 0;
  align-items: stretch;
}

/* Bloque equipo: 3 columnas (Trab1–3), raíl acorde al contenido */
.industrial-rail.industrial-rail--equipo {
  margin-top: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: min(860px, 100%);
  gap: clamp(0.5rem, 1.5vw, 1rem);
  padding-top: clamp(0.35rem, 1.5vw, 0.75rem);
  padding-bottom: clamp(0.75rem, 2vw, 1.25rem);
}

.industrial-rail--equipo .industrial-rail__grow {
  flex: 1 1 10px;
  min-height: 6px;
}

.industrial-rail__line {
  position: absolute;
  left: 2%;
  right: 2%;
  top: 50%;
  height: 6px;
  transform: translateY(-50%);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.06),
    rgba(200, 215, 240, 0.28) 20%,
    rgba(200, 215, 240, 0.28) 80%,
    rgba(255, 255, 255, 0.06)
  );
  border-radius: 8px;
  z-index: 0;
  pointer-events: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.industrial-rail__col {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: min(520px, 70vh);
}

.industrial-rail--equipo .industrial-rail__col {
  min-height: auto;
}

@media (min-width: 961px) {
  .industrial-rail--equipo .industrial-rail__col {
    min-height: min(340px, 50vh);
  }

  .industrial-rail--equipo .industrial-copy {
    max-width: min(280px, 24vw);
  }
}

.industrial-rail__grow {
  flex: 1 1 24px;
  min-height: 12px;
  width: 100%;
}

.industrial-hub {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.industrial-rail--equipo .industrial-hub {
  overflow: visible;
}

/* Viña más corta y pegada a la gota (evita línea suelta arriba/abajo) */
.industrial-rail--equipo .industrial-rail__vine {
  flex: 0 0 20px;
  min-height: 16px;
}

.industrial-rail--equipo .industrial-rail__vine + .industrial-drop {
  margin-top: -2px;
}

.industrial-rail--equipo .industrial-drop + .industrial-rail__vine {
  margin-top: -2px;
}

.industrial-rail__vine {
  width: 2px;
  flex: 0 0 36px;
  min-height: 28px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.38) 50%,
    rgba(255, 255, 255, 0.12)
  );
  border-radius: 2px;
}

.industrial-drop {
  position: relative;
  width: clamp(104px, 11vw, 128px);
  height: clamp(124px, 13vw, 152px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Forma tipo gota / lágrima */
.industrial-drop--navy {
  background:
    radial-gradient(ellipse 70% 55% at 35% 28%, rgba(126, 200, 255, 0.22), transparent 55%),
    linear-gradient(165deg, #1a3358 0%, #101d32 55%, #0a1220 100%);
  clip-path: ellipse(48% 52% at 48% 46%);
}

.industrial-drop--slate {
  background:
    radial-gradient(ellipse 65% 50% at 38% 30%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(165deg, #404854 0%, #2a313b 50%, #1e242d 100%);
  clip-path: ellipse(48% 52% at 52% 46%);
}

.industrial-drop--tip-right {
  transform: rotate(-6deg);
}

.industrial-drop--tip-right img {
  transform: rotate(6deg);
}

.industrial-drop--tip-left {
  transform: rotate(6deg);
}

.industrial-drop--tip-left img {
  transform: rotate(-6deg);
}

.industrial-drop img {
  width: 68%;
  height: 68%;
  object-fit: contain;
  pointer-events: none;
}

/* Equipo: solo la imagen (sin forma, sin bordes ni fondos que dejen manchas) */
.industrial-rail--equipo .industrial-drop {
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0;
  line-height: 0;
  transform: none !important;
  clip-path: none !important;
}

.industrial-rail--equipo .industrial-drop--navy,
.industrial-rail--equipo .industrial-drop--slate {
  background: none !important;
  box-shadow: none !important;
}

.industrial-rail--equipo .industrial-drop--tip-right,
.industrial-rail--equipo .industrial-drop--tip-left {
  transform: none !important;
  clip-path: none !important;
}

.industrial-rail--equipo .industrial-drop--tip-right img,
.industrial-rail--equipo .industrial-drop--tip-left img {
  transform: none !important;
}

.industrial-rail--equipo .industrial-drop img {
  display: block;
  width: clamp(104px, 13vw, 148px);
  height: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0;
  padding: 0;
  filter: none;
}

.industrial-copy {
  width: 100%;
  max-width: min(260px, 100%);
  text-align: left;
}

.industrial-copy--wide {
  max-width: min(300px, 100%);
}

.industrial-copy__title {
  margin: 0 0 0.65rem;
  font-size: clamp(0.98rem, 2vw, 1.12rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
  text-align: center;
}

.industrial-copy__title::after {
  content: "";
  display: block;
  width: min(120px, 70%);
  height: 2px;
  margin: 0.55rem auto 0;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(126, 200, 255, 0.55),
    transparent
  );
  opacity: 0.65;
}

.industrial-copy__list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: clamp(0.82rem, 1.65vw, 0.92rem);
  line-height: 1.55;
  color: var(--muted);
}

.industrial-copy__list li {
  margin-bottom: 0.5rem;
}

.industrial-copy__list li:last-child {
  margin-bottom: 0;
}

.industrial-copy__list strong {
  color: var(--text);
}

.industrial-copy__para {
  margin: 0 0 0.65rem;
  font-size: clamp(0.82rem, 1.65vw, 0.92rem);
  line-height: 1.55;
  color: var(--muted);
}

.industrial-copy__highlight {
  margin: 0.65rem 0 !important;
  text-align: center;
  font-size: 0.92rem !important;
  color: var(--accent-strong) !important;
}

.industrial-copy__chips-label {
  margin: 0.35rem 0 0.45rem !important;
  font-size: 0.68rem !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted) !important;
}

.industrial-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0;
}

.industrial-chips li {
  padding: 0.35rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.industrial-copy__eta {
  margin: 0 !important;
  text-align: center;
  font-size: 0.88rem !important;
  color: var(--text) !important;
}

@media (max-width: 960px) {
  .industrial-rail:not(.industrial-rail--equipo) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
  }

  .industrial-rail:not(.industrial-rail--equipo) .industrial-rail__line {
    display: none;
  }

  .industrial-rail:not(.industrial-rail--equipo) .industrial-rail__col {
    min-height: 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .industrial-rail:not(.industrial-rail--equipo)
    .industrial-rail__col:nth-last-child(-n + 2) {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Equipo: franja de 3 columnas con scroll solo en el raíl si la pantalla es estrecha */
  .equipo-rail-scroll {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-gutter: stable;
  }

  .industrial-rail.industrial-rail--equipo {
    grid-template-columns: repeat(3, minmax(148px, 1fr));
    min-width: min(520px, 100%);
    width: 100%;
    padding-inline: 0.15rem;
  }

  .industrial-rail.industrial-rail--equipo .industrial-rail__line {
    display: block;
  }

  .industrial-rail.industrial-rail--equipo .industrial-rail__col {
    min-height: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .industrial-rail:not(.industrial-rail--equipo) .industrial-drop {
    transform: none !important;
  }

  .industrial-rail:not(.industrial-rail--equipo) .industrial-drop img {
    transform: none !important;
  }

  .industrial-rail--equipo .industrial-drop {
    transform: none !important;
  }

  .industrial-rail--equipo .industrial-drop img {
    transform: none !important;
  }
}

@media (max-width: 560px) {
  .industrial-rail:not(.industrial-rail--equipo) {
    grid-template-columns: 1fr;
  }

  .industrial-rail:not(.industrial-rail--equipo) .industrial-rail__col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .industrial-rail:not(.industrial-rail--equipo) .industrial-rail__col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .industrial-copy {
    max-width: 100%;
  }

  /* En móvil muy estrecho el equipo pasa a una columna legible */
  .equipo-rail-scroll {
    overflow-x: visible;
    overflow-y: visible;
  }

  .industrial-rail.industrial-rail--equipo {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .industrial-rail.industrial-rail--equipo .industrial-rail__line {
    display: none;
  }

  .industrial-rail.industrial-rail--equipo .industrial-rail__col {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .industrial-rail.industrial-rail--equipo .industrial-rail__col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* Servicios — proceso de gestión (infografía 7 pasos) */
.pm-process {
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.pm-process__title {
  margin: 0 0 0.5rem;
  text-align: center;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.pm-process__lead {
  margin: 0 auto 2rem;
  max-width: 42ch;
  text-align: center;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.55;
  color: var(--muted);
}

.pm-process__scroll {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding-bottom: 0.5rem;
  scrollbar-gutter: stable;
}

.pm-process__track {
  position: relative;
  min-width: min(720px, 100%);
  width: 100%;
  margin-inline: auto;
  padding: 0.25rem 0 0;
  min-height: 200px;
}

.pm-process__ribbon {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(0.5rem, 2vw, 1rem);
  width: 100%;
  height: 104px;
  pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
}

.pm-process__ribbon-path {
  opacity: 0.92;
}

.pm-process__steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, minmax(72px, 1fr));
  gap: clamp(0.35rem, 1.2vw, 0.65rem);
  list-style: none;
  margin: 0;
  padding: 1.75rem 0 0;
  align-items: start;
}

.pm-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.pm-step__orbit {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 5.85rem;
  width: 100%;
}

.pm-step__node {
  flex: 0 0 auto;
  width: clamp(44px, 7vw, 52px);
  height: clamp(44px, 7vw, 52px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1e3a6e 0%, #0f1f3d 100%);
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pm-step__node img {
  display: block;
  width: clamp(28px, 68%, 36px);
  height: clamp(28px, 68%, 36px);
  object-fit: contain;
  pointer-events: none;
}

.pm-step__dash {
  width: 0;
  flex: 0 0 auto;
  margin: 0.7rem 0 0.5rem;
  height: 1.25rem;
  border-left: 1px dashed rgba(255, 255, 255, 0.28);
}

.pm-step__label {
  font-size: clamp(0.68rem, 1.25vw, 0.8rem);
  line-height: 1.45;
  color: var(--muted);
  max-width: min(22ch, 100%);
  margin: 0.45rem auto 0;
}

/* Zigzag (centros alineados aprox. a la polilínea del SVG) */
.pm-step--1 .pm-step__orbit .pm-step__node {
  transform: translateY(6px);
}

.pm-step--2 .pm-step__orbit .pm-step__node {
  transform: translateY(34px);
}

.pm-step--3 .pm-step__orbit .pm-step__node {
  transform: translateY(-10px);
}

.pm-step--4 .pm-step__orbit .pm-step__node {
  transform: translateY(-28px);
  background: linear-gradient(145deg, #254878 0%, #122a4a 100%);
}

.pm-step--5 .pm-step__orbit .pm-step__node {
  transform: translateY(22px);
}

.pm-step--6 .pm-step__orbit .pm-step__node {
  transform: translateY(-16px);
}

.pm-step--7 .pm-step__orbit .pm-step__node {
  transform: translateY(6px);
}

@media (max-width: 720px) {
  .pm-process__track {
    min-width: 640px;
  }

  .pm-process__steps {
    grid-template-columns: repeat(7, minmax(68px, 1fr));
  }
}

.site-footer {
  padding: 1.25rem 0 calc(1.5rem + env(safe-area-inset-bottom));
  background: #eceff4;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.footer-inner > p:not(.sr-watermark) {
  margin: 0;
  color: #000000;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  letter-spacing: 0.01em;
}

.footer-inner .sr-watermark {
  align-self: flex-end;
  margin: 0;
  padding: 0;
  max-width: min(14rem, 88%);
  font-size: 0.48rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-align: right;
  color: #1e3a5f;
  opacity: 0.55;
  background: none;
  border: none;
  user-select: none;
}

@media (max-width: 480px) {
  .footer-inner .sr-watermark {
    font-size: 0.44rem;
    max-width: 100%;
    opacity: 0.5;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    display: none;
    position: absolute;
    right: max(0.75rem, env(safe-area-inset-right));
    left: auto;
    top: calc(100% + 0.5rem);
    flex-direction: column;
    align-items: stretch;
    background: rgba(14, 18, 32, 0.96);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem;
    min-width: min(240px, calc(100vw - 2rem));
    max-height: min(70vh, 420px);
    overflow-y: auto;
    box-shadow: var(--shadow);
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 0.75rem 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-radius: 8px;
  }

  .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .contact-wa {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-wa__icon {
    margin-inline: auto;
  }

  .contact-wa__cta {
    width: 100%;
    white-space: normal;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-inner {
    padding: clamp(1.15rem, 4vw, 1.75rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions--single {
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .section {
    padding: clamp(1.75rem, 6vw, 3rem) 0;
  }

  .container.narrow {
    width: calc(100% - 2 * var(--container-pad));
    padding: clamp(1.1rem, 4vw, 1.5rem);
  }
}

@media (max-width: 480px) {
  :root {
    --radius: 10px;
  }

  .header-inner {
    padding-inline: 0;
    gap: 0.65rem;
  }

  .logo img {
    max-height: 36px;
    max-width: min(160px, 56vw);
  }

  .page-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cole-block .btn,
  .cole-block .btn-download,
  .cole-catalog-cta,
  .cole-contact-cta {
    width: 100%;
    max-width: 100%;
  }
}

@media (min-width: 769px) {
  body::before,
  body::after {
    background-attachment: fixed;
  }
}
