:root {
  --red: #d7261e;
  --red-dark: #a81612;
  --black: #0b0d10;
  --carbon: #161b22;
  --steel: #5f6875;
  --soft: #d9dee5;
  --smoke: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}

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

img {
  max-width: 100%;
  display: block;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 82px;
  padding: 14px clamp(20px, 3vw, 38px);
  background: #06080b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand img {
  width: 180px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.4vw, 24px);
  font-size: 13px;
  font-weight: 800;
}

.main-nav a {
  position: relative;
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.9);
}

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

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

.header-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: 5px;
  background: linear-gradient(180deg, #ef2b23, var(--red));
  color: var(--white);
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(215, 38, 30, 0.24);
}

.header-cta:hover {
  background: var(--red-dark);
  color: var(--white);
}

.header-cta i {
  font-size: 20px;
}

.nav-toggle {
  display: none;
}

/* HERO */
.hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: center;
  padding: 40px clamp(24px, 6vw, 180px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 10, 13, 0.98) 0%, rgba(8, 10, 13, 0.85) 38%, rgba(8, 10, 13, 0.12) 100%),
    url("../img/hero-products.webp") center right / cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 330px;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, #000, transparent);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
}

.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 4.8vw, 68px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.hero h1 span {
  display: block;
  color: var(--red);
}

.hero h1::after {
  display: block;
  width: 46px;
  height: 4px;
  margin-top: 22px;
  background: var(--red);
  content: "";
}

.hero-copy p {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.55;
}

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

/* BOTONES */
.btn-century {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 5px;
  font-weight: 900;
  transition: 0.25s ease;
}

.btn-primary-century {
  background: linear-gradient(180deg, #ef2b23, var(--red));
  color: var(--white);
  box-shadow: 0 12px 28px rgba(215, 38, 30, 0.24);
}

.btn-primary-century:hover {
  background: var(--red-dark);
  color: var(--white);
}

.btn-ghost-century {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(9, 11, 14, 0.68);
  color: var(--white);
}

.btn-ghost-century:hover {
  border-color: var(--red);
  color: var(--white);
}

/* BUSCADOR */
.tool-finder {
  position: relative;
  z-index: 2;
  width: min(1220px, calc(100% - 48px));
  margin: -1px auto 0;
  display: grid;
  grid-template-columns: 245px 1fr;
  gap: 26px;
  align-items: end;
  padding: 22px 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px 5px 0 0;
  background: rgba(14, 18, 23, 0.96);
  box-shadow: var(--shadow);
}

.finder-title h2 {
  margin-bottom: 0;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 900;
}

.finder-title h2::after {
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 14px;
  background: var(--red);
  content: "";
}

.finder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 58px;
  gap: 20px;
}

.finder-grid label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 900;
}

.finder-grid input,
.finder-grid select {
  width: 100%;
  min-height: 43px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  padding: 0 14px;
  font-size: 13px;
}

.finder-grid select option {
  color: #111;
}

.search-button {
  align-self: end;
  min-height: 43px;
  border: 0;
  border-radius: 5px;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  font-size: 25px;
  display: grid;
  place-items: center;
}

.search-button:hover {
  background: var(--red-dark);
}

.finder-status {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: -8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.finder-status.is-error {
  color: #ffb4b0;
}

/* RESPONSIVE */
@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    justify-self: end;
    display: inline-grid;
    width: 46px;
    height: 42px;
    align-items: center;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 5px;
    background: transparent;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    background: var(--white);
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .site-header.nav-open .main-nav {
    grid-column: 1 / -1;
    display: grid;
    justify-content: stretch;
    gap: 4px;
  }

  .site-header.nav-open .header-cta {
    grid-column: 1 / -1;
    display: inline-flex;
  }

  .tool-finder {
    grid-template-columns: 1fr;
  }

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

  .search-button {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 72px;
    padding: 12px 16px;
  }

  .brand img {
    width: 145px;
  }

  .hero {
    min-height: 540px;
    padding: 34px 22px;
    background:
      linear-gradient(180deg, rgba(8, 10, 13, 0.98), rgba(8, 10, 13, 0.72)),
      url("../img/hero-products.webp") center / cover no-repeat;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .hero-actions {
    display: grid;
  }

  .tool-finder {
    width: calc(100% - 28px);
    padding: 20px;
  }

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

/* ==============================
   ¿POR QUÉ ELEGIR CENTURY?
============================== */

.section-light {
  background: var(--smoke);
  color: #111418;
}

.why {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 42px;
  align-items: start;
  padding: 44px clamp(24px, 6vw, 74px) 42px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.section-heading h2 span {
  display: block;
  color: #111418;
}

.section-heading h2::after {
  display: block;
  width: 46px;
  height: 4px;
  margin-top: 18px;
  background: var(--red);
  content: "";
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.reason-card {
  min-height: 190px;
  padding: 24px 22px;
  border: 1px solid rgba(11, 13, 16, 0.16);
  border-radius: 6px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.reason-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
}

.reason-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border: 5px solid #1a1f26;
  border-radius: 50%;
  background: #f1f3f6;
  color: var(--red);
  font-size: 34px;
  font-weight: 900;
  box-shadow: inset 0 0 0 5px #ffffff;
}

.reason-icon i {
  font-size: 34px;
  stroke-width: 2.4;
}

.reason-number {
  font-size: 24px;
  line-height: 1;
}

.reason-card h3 {
  margin-bottom: 8px;
  color: #12161b;
  font-size: 16px;
  font-weight: 900;
}

.reason-card p {
  margin-bottom: 0;
  color: #303842;
  font-size: 13px;
  line-height: 1.45;
}

/* Responsive de la sección */
@media (max-width: 1180px) {
  .why {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .why {
    padding: 38px 18px;
  }

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


/* ==============================
   CATEGORÍAS PRINCIPALES - ACTUALIZADO
============================== */

.categories {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 55px 28px;
  background: #ffffff;
  color: #111418;
  overflow: hidden;
}

.categories::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 310px;
  height: 100%;
  opacity: 0.08;
  background-image:
    linear-gradient(#0b0d10 1px, transparent 1px),
    linear-gradient(90deg, #0b0d10 1px, transparent 1px);
  background-size: 36px 36px;
  content: "";
}

.categories .section-heading.compact {
  position: relative;
  z-index: 2;
}

.categories .section-heading.compact h2 {
  margin: 0;
  max-width: 185px;
  color: #111418;
  font-size: 34px;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.8px;
}

.categories .section-heading.compact h2 span {
  display: block;
  color: var(--red);
}

.categories .section-heading.compact h2::after {
  display: block;
  width: 45px;
  height: 4px;
  margin-top: 16px;
  background: var(--red);
  content: "";
}

.category-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.category-card {
  position: relative;
  height: 255px;
  min-height: 255px;
  padding: 0;
  border: none;
  border-radius: 6px;
  overflow: hidden;
  background: #0f1114;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.category-card.active {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center;
  transform: none !important;
  opacity: 1;
}

/* Degradado oscuro encima de la imagen */
.category-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.04) 0%,
    rgba(0, 0, 0, 0.18) 42%,
    rgba(0, 0, 0, 0.88) 100%
  );
  content: "";
}

.category-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 15px 16px;
}

.category-content i {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}

.category-content span {
  display: block;
  max-width: 160px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.08;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}

.category-content span::after {
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 13px;
  background: var(--red);
  content: "";
}

/* Ajustes individuales de encuadre */
.category-card:nth-child(1) img {
  object-position: center center;
}

.category-card:nth-child(2) img {
  object-position: center center;
}

.category-card:nth-child(3) img {
  object-position: center center;
}

.category-card:nth-child(4) img {
  object-position: center center;
}

.category-card:nth-child(5) img {
  object-position: center center;
}

.category-card:nth-child(6) img {
  object-position: center center;
}

/* Responsive */
@media (max-width: 1180px) {
  .categories {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .categories .section-heading.compact h2 {
    max-width: 100%;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .categories {
    padding: 30px 16px;
  }

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

  .category-card {
    height: 230px;
    min-height: 230px;
  }
}



/* ==============================
   NUEVOS PRODUCTOS - SLIDER
============================== */

.new-products {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: start;
  padding: 28px 70px 32px 70px;
  background: #ffffff;
  color: #111418;
  overflow: hidden;
}

.new-products::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 315px;
  height: 100%;
  opacity: 0.06;
  background-image:
    linear-gradient(#0b0d10 1px, transparent 1px),
    linear-gradient(90deg, #0b0d10 1px, transparent 1px);
  background-size: 36px 36px;
  content: "";
}

.new-heading {
  position: relative;
  z-index: 2;
}

.new-heading h2 {
  margin: 0;
  max-width: 180px;
  color: #111418;
  font-size: 34px;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.8px;
}

.new-heading h2 span {
  display: block;
  color: var(--red);
}

.new-heading h2::after {
  display: block;
  width: 45px;
  height: 4px;
  margin-top: 16px;
  background: var(--red);
  content: "";
}

.see-all-products {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.see-all-products i {
  font-size: 20px;
}

/* CONTENEDOR DEL SLIDER */
.new-products-slider-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.new-products-viewport {
  overflow: hidden;
  width: 100%;
}

.new-products-track {
  display: flex;
  gap: 18px;
  transition: transform 0.4s ease;
  will-change: transform;
}

/* TARJETA */
.new-product-card {
  position: relative;
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: calc((100% - 54px) / 4);
  min-height: 335px;
  display: grid;
  grid-template-rows: 145px 1fr;
  border: 1px solid rgba(11, 13, 16, 0.16);
  border-radius: 7px;
  background: #ffffff;
  color: #111418;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.new-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
}

.new-badge {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 3;
  padding: 5px 9px;
  border-radius: 3px;
  background: var(--red);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(215, 38, 30, 0.28);
}

.new-product-img {
  position: relative;
  display: grid;
  place-items: center;
  padding: 18px 22px 4px;
  background:
    radial-gradient(circle at center, rgba(217, 222, 229, 0.65), rgba(255, 255, 255, 0.10) 62%),
    #ffffff;
}

.new-product-img img {
  width: 100%;
  height: 125px;
  object-fit: contain;
  object-position: center;
}

.new-product-info {
  display: grid;
  align-content: end;
  padding: 8px 18px 16px;
}

.new-product-info h3 {
  margin-bottom: 10px;
  color: #111418;
  font-size: 18px;
  line-height: 1.08;
  font-weight: 900;
}

.new-product-info p {
  margin-bottom: 22px;
  color: #333b44;
  font-size: 14px;
  font-weight: 500;
}

.new-product-info p span {
  padding: 0 8px;
  color: #777;
}

.new-product-actions {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 8px;
}

.new-product-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
  transition: 0.25s ease;
}

.btn-file {
  border: 1px solid rgba(11, 13, 16, 0.35);
  color: #111418;
  background: #ffffff;
}

.btn-file:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-quote {
  background: var(--red);
  color: #ffffff;
}

.btn-quote:hover {
  background: var(--red-dark);
  color: #ffffff;
}

/* FLECHAS */
.slider-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(11, 13, 16, 0.16);
  border-radius: 50%;
  background: #ffffff;
  color: #111418;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  transition: 0.25s ease;
  flex-shrink: 0;
}

.slider-arrow:hover {
  background: var(--red);
  color: #ffffff;
}

.slider-arrow:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* TABLET */
@media (max-width: 1180px) {
  .new-products {
    grid-template-columns: 1fr;
    padding: 34px 24px;
  }

  .new-heading h2 {
    max-width: 100%;
  }

  .new-product-card {
    flex: 0 0 calc((100% - 18px) / 2);
    min-width: calc((100% - 18px) / 2);
  }
}

/* CELULAR */
@media (max-width: 680px) {
  .new-products {
    padding: 34px 18px;
  }

  .new-product-card {
    flex: 0 0 100%;
    min-width: 100%;
    min-height: 320px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
  }
}

/* Ajuste individual de encuadre para nuevas categorías */

.card-dados img {
  object-position: center center;
}

.card-manerales img {
  object-position: center center;
}

.card-extensiones img {
  object-position: center center;
}

.card-sujeciones img {
  object-position: center center;
}

.card-gatos img {
  object-position: center center;
}

.card-pistolas img {
  object-position: center center;
}

/* ==============================
   INGENIERÍA, FORJA Y CALIDAD
============================== */

.engineering-section {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr 0.95fr 1fr;
  min-height: 235px;
  background: #070b10;
  color: #ffffff;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.engineering-image {
  min-height: 235px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Imagen izquierda: forja */
.engineering-forge {
  background-image:
    linear-gradient(90deg, rgba(7, 11, 16, 0.15), rgba(7, 11, 16, 0.82)),
    url("../img/secciones/forja.webp");
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

/* Texto central */
.engineering-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.engineering-content h2 {
  margin: 0 0 14px;
  max-width: 340px;
  font-size: 30px;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.engineering-content h2 span {
  display: block;
}

.engineering-content h2::after {
  display: block;
  width: 46px;
  height: 4px;
  margin-top: 14px;
  background: var(--red);
  content: "";
}

.engineering-content p {
  max-width: 355px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.55;
}

/* Bloque de certificaciones */
.certifications {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-height: 235px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.cert-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 18px 14px;
  text-align: center;
}

.cert-card:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.cert-badge {
  width: 94px;
  height: 94px;
  object-fit: contain;
  display: block;
  margin-bottom: 8px;
}

.cert-card h3 {
  margin: 6px 0 0;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
}

.cert-card p {
  margin: 0;
  max-width: 130px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  line-height: 1.35;
}

/* Imagen derecha: calidad */
.engineering-quality {
  background-image:
    linear-gradient(90deg, rgba(7, 11, 16, 0.72), rgba(7, 11, 16, 0.15)),
    url("../img/secciones/calidad.webp");
  background-position: center right;
}

/* Responsive */
@media (max-width: 1180px) {
  .engineering-section {
    grid-template-columns: 1fr;
  }

  .engineering-image,
  .certifications {
    min-height: 220px;
  }

  .engineering-content {
    border-right: 0;
  }

  .certifications {
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .engineering-forge,
  .engineering-quality {
    border-right: 0;
  }
}

@media (max-width: 680px) {
  .engineering-content {
    padding: 24px 18px;
  }

  .engineering-content h2 {
    font-size: 26px;
  }

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

  .cert-card:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}



/* ==============================
   CTA ROJO
============================== */

.solution-cta {
  display: grid;
  grid-template-columns: 1.35fr 1.4fr auto;
  align-items: center;
  gap: 28px;
  padding: 22px 70px;
  background:
    linear-gradient(90deg, #8e0f0c, #bf1d18 45%, #9f1511);
  color: #ffffff;
}

.solution-text h2 {
  margin: 0 0 4px;
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 900;
}

.solution-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.solution-benefits {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.solution-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 900;
}

.solution-benefits i {
  font-size: 28px;
}

.solution-whatsapp {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 5px;
  background: #ef2b23;
  color: #ffffff;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.solution-whatsapp:hover {
  background: #ffffff;
  color: var(--red);
}

/* ==============================
   FOOTER
============================== */

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 0.8fr 0.9fr 1.1fr;
  gap: 34px;
  padding: 34px 70px 20px;
  background: #06090d;
  color: #ffffff;
}

.footer-brand img {
  width: 185px;
  margin-bottom: 16px;
}

.footer-brand p,
.footer-column p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #ffffff;
  font-size: 18px;
  transition: 0.25s ease;
}

.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-column h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  transition: 0.25s ease;
}

.footer-column a:hover {
  color: var(--red);
}

.footer-column p {
  display: flex;
  gap: 9px;
  margin: 0 0 7px;
}

.footer-column p i {
  flex: 0 0 auto;
  color: #ffffff;
  font-size: 17px;
}

.subscribe-form {
  display: grid;
  grid-template-columns: 1fr 48px;
  margin-top: 8px;
  border-radius: 4px;
  overflow: hidden;
  background: #111821;
}

.subscribe-form input {
  min-height: 48px;
  border: 0;
  outline: 0;
  padding: 0 14px;
  background: #111821;
  color: #ffffff;
  font-size: 13px;
}

.subscribe-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.subscribe-form button {
  border: 0;
  background: var(--red);
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
}

.footer-copy {
  grid-column: 1 / -1;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 1180px) {
  .engineering-section {
    grid-template-columns: 1fr;
  }

  .engineering-image {
    min-height: 260px;
  }

  .certifications {
    border: 0;
  }

  .solution-cta {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    text-align: center;
  }

  .solution-benefits {
    flex-wrap: wrap;
  }

  .site-footer {
    grid-template-columns: repeat(2, 1fr);
    padding: 34px 24px 20px;
  }
}

@media (max-width: 680px) {
  .solution-benefits {
    display: grid;
    gap: 16px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 32px 18px 18px;
  }

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

  .cert-card + .cert-card {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
}


/* ==============================
   PÁGINA NOSOTROS - HERO NUEVO
============================== */

.about-institutional-hero {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 90px clamp(28px, 6vw, 96px) 95px;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.98) 0%, rgba(5, 8, 12, 0.9) 45%, rgba(5, 8, 12, 0.35) 100%),
    url("../img/nosotros/hero-nosotros.webp") center right / cover no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.about-institutional-hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
}

.about-institutional-hero::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 40%, rgba(220, 34, 28, 0.28), transparent 32%),
    linear-gradient(180deg, rgba(5, 8, 12, 0.05), rgba(5, 8, 12, 0.92));
  content: "";
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.about-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.about-hero-content h1 {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(44px, 5.3vw, 78px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.about-hero-content h1 span {
  display: block;
  color: var(--red);
}

.about-hero-content p {
  max-width: 640px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.7;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-about-red,
.btn-about-outline {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: 0.25s ease;
}

.btn-about-red {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(215, 38, 30, 0.34);
}

.btn-about-red:hover {
  background: var(--red-dark);
  color: #ffffff;
  transform: translateY(-3px);
}

.btn-about-outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(5, 8, 12, 0.46);
  color: #ffffff;
}

.btn-about-outline:hover {
  border-color: var(--red);
  background: var(--red);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Botón de video */
.about-video-call {
  position: relative;
  z-index: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 90px;
  background: rgba(5, 8, 12, 0.52);
  backdrop-filter: blur(7px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.32);
}

.about-video-btn {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 30px;
  cursor: pointer;
  transition: 0.25s ease;
}

.about-video-btn:hover {
  border-color: var(--red);
  background: var(--red);
  transform: scale(1.06);
}

.about-video-call strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.about-video-call span {
  display: block;
  max-width: 190px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.35;
}

/* Responsive */
@media (max-width: 1180px) {
  .about-institutional-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 80px 28px;
  }

  .about-video-call {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .about-institutional-hero {
    padding: 58px 18px;
  }

  .about-hero-content h1 {
    font-size: 40px;
  }

  .about-video-call {
    align-items: center;
    border-radius: 12px;
  }

  .about-video-btn {
    width: 64px;
    height: 64px;
    font-size: 24px;
  }
}

/* ==============================
   NOSOTROS - ¿QUIÉNES SOMOS?
============================== */

.about-identity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 78px clamp(28px, 6vw, 96px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.97)),
    #f2f4f7;
  color: #111418;
}

.identity-content {
  max-width: 680px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.identity-content h2 {
  margin: 0 0 22px;
  color: #111418;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1px;
}

.identity-content h2 span {
  display: block;
  color: var(--red);
}

.identity-content h2::after {
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 18px;
  background: var(--red);
  content: "";
}

.identity-content p {
  margin: 0 0 18px;
  color: #303842;
  font-size: 16px;
  line-height: 1.75;
}

.identity-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.identity-points div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #111418;
  font-size: 15px;
  font-weight: 900;
}

.identity-points i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  font-size: 18px;
}

/* Imagen / video */
.identity-media {
  position: relative;
  min-height: 430px;
  border-radius: 8px;
  overflow: hidden;
  background: #080b0f;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.18);
}

.identity-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.08);
  opacity: 0.88;
}

.identity-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.78)),
    radial-gradient(circle at center, rgba(215, 38, 30, 0.18), transparent 42%);
  content: "";
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.identity-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  font-size: 34px;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(215, 38, 30, 0.35);
  transform: translate(-50%, -50%);
  transition: 0.25s ease;
}

.identity-play:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--red-dark);
}

.identity-caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 3;
  color: #ffffff;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.identity-media.is-playing::after,
.identity-media.is-playing .identity-caption {
  opacity: 0;
}

.identity-play[hidden] {
  display: none;
}

.identity-caption strong {
  display: block;
  margin-bottom: 5px;
  font-size: 20px;
  font-weight: 900;
}

.identity-caption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1180px) {
  .about-identity {
    grid-template-columns: 1fr;
  }

  .identity-media {
    min-height: 360px;
  }

  .identity-media img {
    min-height: 360px;
  }
}

@media (max-width: 680px) {
  .about-identity {
    padding: 50px 18px;
  }

  .identity-content h2 {
    font-size: 36px;
  }

  .identity-media,
  .identity-media img {
    min-height: 310px;
  }

  .identity-play {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }
}

/* ==============================
   NOSOTROS - MISIÓN, VISIÓN Y VALORES
============================== */

.about-purpose {
  position: relative;
  padding: 78px clamp(28px, 6vw, 96px);
  background:
    linear-gradient(180deg, rgba(7, 11, 16, 0.98), rgba(7, 11, 16, 0.96)),
    radial-gradient(circle at top right, rgba(215, 38, 30, 0.22), transparent 34%);
  color: #ffffff;
  overflow: hidden;
}

.about-purpose::before {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
}

.purpose-header {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-bottom: 42px;
}

.purpose-header h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1.2px;
}

.purpose-header h2 span {
  display: block;
  color: var(--red);
}

.purpose-header h2::after {
  display: block;
  width: 50px;
  height: 4px;
  margin-top: 18px;
  background: var(--red);
  content: "";
}

.purpose-header p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.65;
}

/* Misión y visión */

.mission-vision-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 28px;
}

.purpose-card {
  position: relative;
  min-height: 330px;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(18, 24, 31, 0.94), rgba(7, 11, 16, 0.88)),
    radial-gradient(circle at top right, rgba(215, 38, 30, 0.16), transparent 38%);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition: 0.25s ease;
}

.purpose-card::after {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  border: 28px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  content: "";
}

.purpose-card:hover {
  transform: translateY(-6px);
  border-color: rgba(215, 38, 30, 0.55);
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.36);
}

.purpose-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  font-size: 34px;
  box-shadow: 0 14px 28px rgba(215, 38, 30, 0.28);
}

.purpose-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.purpose-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 16px;
  max-width: 540px;
  color: #ffffff;
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.05;
  font-weight: 900;
}

.purpose-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 610px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.65;
}

/* Valores */

.values-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.value-item {
  min-height: 190px;
  padding: 24px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(4px);
  transition: 0.25s ease;
}

.value-item:hover {
  transform: translateY(-5px);
  background: rgba(215, 38, 30, 0.14);
  border-color: rgba(215, 38, 30, 0.45);
}

.value-item i {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 38px;
}

.value-item h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

.value-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

/* Responsive */

@media (max-width: 1180px) {
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .about-purpose {
    padding: 56px 18px;
  }

  .purpose-card {
    padding: 28px 22px;
  }

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

/* ==============================
   NOSOTROS - NUESTRA EVOLUCIÓN
============================== */

.about-timeline {
  position: relative;
  padding: 78px clamp(28px, 6vw, 96px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.97)),
    #f3f5f8;
  color: #111418;
  overflow: hidden;
}

.about-timeline::before {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
}

.timeline-header {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin-bottom: 58px;
}

.timeline-header h2 {
  margin: 0 0 18px;
  color: #111418;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1.2px;
}

.timeline-header h2 span {
  display: block;
  color: var(--red);
}

.timeline-header h2::after {
  display: block;
  width: 50px;
  height: 4px;
  margin-top: 18px;
  background: var(--red);
  content: "";
}

.timeline-header p {
  max-width: 720px;
  margin: 0;
  color: #3b4652;
  font-size: 16px;
  line-height: 1.7;
}

/* Línea general */
.timeline-wrapper {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.timeline-wrapper::before {
  position: absolute;
  top: 38px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(215, 38, 30, 0.25));
  content: "";
}

.timeline-item {
  position: relative;
  padding-top: 72px;
}

.timeline-year {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 118px;
  padding: 8px 14px;
  border-radius: 30px;
  background: #111418;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.timeline-dot {
  position: absolute;
  top: 29px;
  left: 42px;
  z-index: 2;
  width: 21px;
  height: 21px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 7px rgba(215, 38, 30, 0.16);
}

.timeline-card {
  min-height: 245px;
  padding: 28px 24px;
  border: 1px solid rgba(17, 20, 24, 0.12);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
  transition: 0.25s ease;
}

.timeline-card:hover {
  transform: translateY(-8px);
  border-color: rgba(215, 38, 30, 0.5);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.14);
}

.timeline-card i {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 42px;
}

.timeline-card h3 {
  margin: 0 0 12px;
  color: #111418;
  font-size: 21px;
  font-weight: 900;
}

.timeline-card p {
  margin: 0;
  color: #3b4652;
  font-size: 14px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1180px) {
  .timeline-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-wrapper::before {
    display: none;
  }
}

@media (max-width: 680px) {
  .about-timeline {
    padding: 56px 18px;
  }

  .timeline-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .timeline-item {
    padding-top: 64px;
  }

  .timeline-card {
    min-height: auto;
  }
}


/* ==============================
   NOSOTROS - CÓMO TRABAJAMOS
============================== */

.work-process {
  position: relative;
  padding: 78px clamp(28px, 6vw, 96px);
  background:
    linear-gradient(135deg, rgba(7, 11, 16, 0.98), rgba(14, 18, 24, 0.97)),
    radial-gradient(circle at top left, rgba(215, 38, 30, 0.20), transparent 32%);
  color: #ffffff;
  overflow: hidden;
}

.work-process::before {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
}

.work-process-header {
  position: relative;
  z-index: 2;
  max-width: 830px;
  margin-bottom: 46px;
}

.work-process-header h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1.2px;
}

.work-process-header h2 span {
  display: block;
  color: var(--red);
}

.work-process-header h2::after {
  display: block;
  width: 50px;
  height: 4px;
  margin-top: 18px;
  background: var(--red);
  content: "";
}

.work-process-header p {
  max-width: 740px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.7;
}

/* Tarjetas de pasos */

.work-process-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.work-step {
  position: relative;
  min-height: 330px;
  padding: 34px 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(5px);
  overflow: hidden;
  transition: 0.25s ease;
}

.work-step::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(215, 38, 30, 0.18), transparent 42%);
  opacity: 0;
  transition: 0.25s ease;
  content: "";
}

.work-step::after {
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 130px;
  height: 130px;
  border: 22px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
  content: "";
}

.work-step:hover {
  transform: translateY(-8px);
  border-color: rgba(215, 38, 30, 0.55);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.34);
}

.work-step:hover::before {
  opacity: 1;
}

.work-number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: rgba(255, 255, 255, 0.10);
  font-size: 54px;
  line-height: 1;
  font-weight: 900;
}

.work-icon {
  position: relative;
  z-index: 2;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  font-size: 34px;
  box-shadow: 0 16px 32px rgba(215, 38, 30, 0.30);
}

.work-step h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 23px;
  line-height: 1.12;
  font-weight: 900;
}

.work-step p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.6;
}

/* Responsive */

@media (max-width: 1180px) {
  .work-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-step {
    min-height: 280px;
  }
}

@media (max-width: 680px) {
  .work-process {
    padding: 56px 18px;
  }

  .work-process-grid {
    grid-template-columns: 1fr;
  }

  .work-step {
    min-height: auto;
  }
}

/* ==============================
   NOSOTROS - CALIDAD Y CERTIFICACIONES
============================== */

.quality-certifications {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 52px;
  align-items: center;
  padding: 78px clamp(28px, 6vw, 96px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.97)),
    #f3f5f8;
  color: #111418;
  overflow: hidden;
}

.quality-certifications::before {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
}

.quality-content,
.certificates-panel {
  position: relative;
  z-index: 2;
}

.quality-content h2 {
  margin: 0 0 22px;
  color: #111418;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1.2px;
}

.quality-content h2 span {
  display: block;
  color: var(--red);
}

.quality-content h2::after {
  display: block;
  width: 50px;
  height: 4px;
  margin-top: 18px;
  background: var(--red);
  content: "";
}

.quality-content p {
  max-width: 650px;
  margin: 0;
  color: #3b4652;
  font-size: 16px;
  line-height: 1.72;
}

.quality-list {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.quality-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid rgba(17, 20, 24, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
}

.quality-point i {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 28px;
  margin-top: 2px;
}

.quality-point strong {
  display: block;
  margin-bottom: 4px;
  color: #111418;
  font-size: 16px;
  font-weight: 900;
}

.quality-point span {
  display: block;
  color: #4b5561;
  font-size: 14px;
  line-height: 1.45;
}

/* Panel de certificados */

.certificates-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.certificate-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 34px 24px;
  border-radius: 12px;
  background:
    radial-gradient(circle at top, rgba(215, 38, 30, 0.20), transparent 34%),
    linear-gradient(180deg, #10151c, #070b10);
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.20);
  transition: 0.25s ease;
}

.certificate-card::before {
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 11px;
  content: "";
}

.certificate-card::after {
  position: absolute;
  right: -64px;
  bottom: -64px;
  width: 170px;
  height: 170px;
  border: 26px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  content: "";
}

.certificate-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 32px 66px rgba(0, 0, 0, 0.30);
}

.certificate-image {
  position: relative;
  z-index: 2;
  width: 155px;
  height: 155px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}

.certificate-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.35));
}

.certificate-card h3 {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #ffffff;
  font-size: 23px;
  font-weight: 900;
}

.certificate-card p {
  position: relative;
  z-index: 2;
  max-width: 260px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.55;
}

/* Responsive */

@media (max-width: 1180px) {
  .quality-certifications {
    grid-template-columns: 1fr;
  }

  .certificates-panel {
    max-width: 760px;
  }
}

@media (max-width: 680px) {
  .quality-certifications {
    padding: 56px 18px;
  }

  .certificates-panel {
    grid-template-columns: 1fr;
  }

  .certificate-card {
    min-height: 360px;
  }

  .certificate-image {
    width: 135px;
    height: 135px;
  }
}

/* ==============================
   MODAL PRODUCTO CON GALERÍA
============================== */

.product-modal .modal-dialog {
  max-width: 1180px;
}

.product-modal-content {
  position: relative;
  border: 0;
  border-radius: 14px;
  background: #070b10;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.48);
}

.product-modal-content::before {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
}

.product-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 20;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #ffffff;
  opacity: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.product-detail-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 640px;
}

/* ==============================
   GALERÍA IZQUIERDA EN FONDO BLANCO
============================== */

.product-gallery-panel {
  position: relative;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.product-gallery-white {
  background: #ffffff;
}

.modal-new-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 5;
}

.product-main-image {
  position: relative;
  height: 420px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 20, 24, 0.12);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.product-main-image::before {
  display: none;
}

.product-main-image img {
  position: relative;
  z-index: 2;
  width: 94%;
  height: 94%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.14));
}

.modal-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 20, 24, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111418;
  font-size: 22px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: 0.25s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.modal-gallery-arrow:hover {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
}

.modal-gallery-prev {
  left: 18px;
}

.modal-gallery-next {
  right: 18px;
}

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.product-thumb {
  height: 74px;
  padding: 4px;
  border: 1px solid rgba(17, 20, 24, 0.12);
  border-radius: 5px;
  background: #ffffff;
  cursor: pointer;
  overflow: hidden;
  transition: 0.25s ease;
}

.product-thumb.active {
  border-color: var(--red);
  box-shadow: 0 0 0 2px var(--red);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ==============================
   RESUMEN BAJO LA GALERÍA
============================== */

.product-gallery-summary {
  margin-top: 16px;
}

.product-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.product-stock.available {
  background: rgba(34, 197, 94, 0.14);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.36);
}

.product-stock i {
  font-size: 18px;
}

.product-gallery-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-spec-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 92px;
  padding: 15px 16px;
  border: 1px solid rgba(17, 20, 24, 0.12);
  border-radius: 8px;
  background: #f5f6f8;
  color: #111418;
}

.gallery-spec-card i {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 25px;
  margin-top: 2px;
}

.gallery-spec-card strong {
  display: block;
  margin-bottom: 6px;
  color: #111418;
  font-size: 13px;
  font-weight: 900;
}

.gallery-spec-card span {
  display: block;
  color: #4b5561;
  font-size: 13px;
  line-height: 1.45;
}

/* ==============================
   INFORMACIÓN DERECHA
============================== */

.product-modal-info {
  padding: 58px 48px 44px;
  background:
    radial-gradient(circle at top right, rgba(215, 38, 30, 0.16), transparent 34%),
    linear-gradient(180deg, #10151c, #070b10);
}

.product-modal-category {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.product-modal-info h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1;
  font-weight: 900;
}

.product-modal-info h2::after {
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 18px;
  background: var(--red);
  content: "";
}

.product-modal-info p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.65;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.spec-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 132px;
  padding: 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.spec-item i {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 28px;
}

.spec-item strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.spec-item span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.product-modal-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 16px;
  border-left: 4px solid var(--red);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.45;
}

.product-modal-note i {
  color: var(--red);
  font-size: 22px;
}

.product-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.modal-whatsapp-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 5px;
  background: var(--red);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(215, 38, 30, 0.28);
  transition: 0.25s ease;
}

.modal-whatsapp-btn:hover {
  background: var(--red-dark);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Responsive */

@media (max-width: 980px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-modal-info {
    padding: 42px 28px;
  }
}

@media (max-width: 680px) {
  .product-gallery-panel {
    padding: 18px;
  }

  .product-main-image {
    height: 320px;
  }

  .product-thumbnails {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-gallery-specs,
  .product-specs {
    grid-template-columns: 1fr;
  }

  .spec-item {
    min-height: auto;
  }
}



/* ==============================
   NOSOTROS - GALERÍA INTERACTIVA
============================== */

.work-gallery {
  position: relative;
  padding: 78px clamp(28px, 6vw, 96px);
  background:
    linear-gradient(180deg, rgba(7, 11, 16, 0.98), rgba(7, 11, 16, 0.96)),
    radial-gradient(circle at top right, rgba(215, 38, 30, 0.18), transparent 34%);
  color: #ffffff;
  overflow: hidden;
}

.work-gallery::before {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
}

.gallery-header {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin-bottom: 42px;
}

.gallery-header h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1.2px;
}

.gallery-header h2 span {
  display: block;
  color: var(--red);
}

.gallery-header h2::after {
  display: block;
  width: 50px;
  height: 4px;
  margin-top: 18px;
  background: var(--red);
  content: "";
}

.gallery-header p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.7;
}

/* Slider */

.gallery-slider {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 18px;
  align-items: center;
}

.gallery-window {
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 18px;
  transition: transform 0.35s ease;
}

.gallery-card {
  position: relative;
  flex: 0 0 calc((100% - 72px) / 5);
  min-height: 250px;
  border-radius: 10px;
  overflow: hidden;
  background: #111820;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
  transition: 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
}

.gallery-card img {
  width: 100%;
  height: 250px;
  display: block;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.08);
  transition: 0.35s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
  filter: grayscale(0) contrast(1.12);
}

.gallery-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.86));
  content: "";
}

.gallery-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 3;
}

.gallery-info h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
}

.gallery-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.4;
}

.gallery-arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  transition: 0.25s ease;
}

.gallery-arrow:hover {
  border-color: var(--red);
  background: var(--red);
}

.gallery-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.gallery-dots {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 26px;
}

.gallery-dot {
  width: 20px;
  height: 5px;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: 0.25s ease;
}

.gallery-dot.active {
  width: 34px;
  background: var(--red);
}

/* Responsive */

@media (max-width: 1180px) {
  .gallery-card {
    flex-basis: calc((100% - 36px) / 3);
  }
}

@media (max-width: 760px) {
  .work-gallery {
    padding: 56px 18px;
  }

  .gallery-slider {
    grid-template-columns: 1fr;
  }

  .gallery-arrow {
    display: none;
  }

  .gallery-card {
    flex-basis: 82%;
  }
}

/* ==============================
   NOSOTROS - CTA FINAL
============================== */

.about-closing-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 70px clamp(28px, 6vw, 96px);
  background:
    linear-gradient(90deg, rgba(145, 15, 12, 0.96), rgba(205, 30, 24, 0.94)),
    url("../img/nosotros/hero-nosotros.webp") center / cover no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.about-closing-cta::before {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
}

.closing-content,
.closing-actions {
  position: relative;
  z-index: 2;
}

.about-closing-cta .section-kicker {
  color: #ffffff;
}

.closing-content h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1.2px;
}

.closing-content h2 span {
  display: block;
}

.closing-content p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.65;
}

.closing-actions {
  display: grid;
  gap: 14px;
  justify-self: end;
  width: min(390px, 100%);
}

.closing-btn-light,
.closing-btn-red,
.closing-btn-whatsapp {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: 0.25s ease;
}

.closing-btn-light {
  background: #ffffff;
  color: #111418;
}

.closing-btn-light:hover {
  color: #111418;
  transform: translateX(6px);
}

.closing-btn-red {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(7, 11, 16, 0.25);
  color: #ffffff;
}

.closing-btn-red:hover {
  background: #111418;
  color: #ffffff;
  transform: translateX(6px);
}

.closing-btn-whatsapp {
  background: #10151c;
  color: #ffffff;
}

.closing-btn-whatsapp:hover {
  background: #0b1118;
  color: #ffffff;
  transform: translateX(6px);
}

.closing-btn-light i,
.closing-btn-red i,
.closing-btn-whatsapp i {
  font-size: 22px;
}

/* Responsive CTA final */

@media (max-width: 980px) {
  .about-closing-cta {
    grid-template-columns: 1fr;
  }

  .closing-actions {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .about-closing-cta {
    padding: 56px 18px;
  }
}


/* ==============================
   MEGA MENÚ PRODUCTOS
============================== */

.nav-mega-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link-mega {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: 0.25s ease;
}

.nav-link-mega i {
  font-size: 16px;
  transition: transform 0.25s ease;
}

.nav-mega-item:hover .nav-link-mega,
.nav-link-mega:hover {
  color: var(--red);
}

.nav-mega-item:hover .nav-link-mega i {
  transform: rotate(180deg);
}

.mega-menu {
  position: fixed;
  top: 86px;
  left: 50%;
  z-index: 999;
  width: min(1180px, calc(100% - 48px));
  padding-top: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
  transition: 0.25s ease;
}

.nav-mega-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-content {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  align-items: start;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background:
    radial-gradient(circle at top right, rgba(215, 38, 30, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(13, 18, 24, 0.98), rgba(5, 8, 12, 0.98));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}

.mega-column {
  min-height: auto;
  padding: 18px;
  border-right: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mega-column:last-child {
  border-right: 0;
}

.mega-column h4 {
  position: relative;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

.mega-column h4::after {
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 10px;
  background: var(--red);
  content: "";
}

.mega-column a {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.25;
  transition: 0.25s ease;
}

.mega-column a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.mega-highlight {
  background:
    radial-gradient(circle at top right, rgba(215, 38, 30, 0.22), transparent 45%),
    rgba(215, 38, 30, 0.08);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid rgba(215, 38, 30, 0.22);
}

.mega-cta {
  margin-top: 18px;
  padding: 14px;
  border-left: 3px solid var(--red);
  background: rgba(255, 255, 255, 0.06);
}

.mega-cta span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.35;
}

.mega-cta strong {
  display: block;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.35;
}

/* Responsive del mega menú */

@media (max-width: 1100px) {
  .mega-menu-content {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 26px;
  }

  .mega-column:nth-child(3),
  .mega-column:nth-child(6) {
    border-right: 0;
  }
}

@media (max-width: 780px) {
  .mega-menu {
    position: static;
    width: 100%;
    padding-top: 10px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    display: none;
  }

  .nav-mega-item:hover .mega-menu {
    display: block;
    transform: none;
  }

  .mega-menu-content {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .mega-column {
    min-height: auto;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

}
.mega-menu-complete {
  max-height: 70vh;
  overflow-y: auto;
}

.mega-menu-complete::-webkit-scrollbar {
  width: 8px;
}

.mega-menu-complete::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}

.mega-menu-complete::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 20px;
}

.mega-column a {
  font-size: 12.5px;
  margin-bottom: 10px;
}

.about-video-feature {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 22px;
  background: #0b1118;
}

.about-video-feature video {
  display: block;
  width: 100%;
  min-height: 360px;
  object-fit: contain;
}

.video-load-button {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  color: #fff;
  background: var(--red);
  font-weight: 800;
}

.process-videos {
  padding: 90px max(24px, calc((100% - 1180px) / 2));
  color: #fff;
  background: #070b10;
}

.process-videos-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.process-videos-heading h2 {
  margin: 12px 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
}

.process-videos-heading h2 span {
  color: var(--red);
}

.process-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.process-video-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: #111820;
}

.process-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #05080c;
}

.process-video-card h3 {
  margin: 0;
  padding: 18px 20px 20px;
  font-size: 1.05rem;
}

@media (max-width: 720px) {
  .process-videos {
    padding-block: 64px;
  }

  .process-video-grid {
    grid-template-columns: 1fr;
  }
}

/* Visor superpuesto para el recorrido empresarial */
body.about-video-modal-open {
  overflow: hidden;
}

.about-video-modal[hidden] {
  display: none;
}

.about-video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.about-video-modal.is-open {
  opacity: 1;
}

.about-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 9, 0.88);
  backdrop-filter: blur(7px);
}

.about-video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  outline: none;
  background: #090e14;
  color: #ffffff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.about-video-modal-heading {
  padding-right: 54px;
  margin-bottom: 18px;
}

.about-video-modal-heading span {
  display: block;
  margin-bottom: 4px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.about-video-modal-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  font-weight: 900;
}

.about-video-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  transition: 0.2s ease;
}

.about-video-modal-close:hover,
.about-video-modal-close:focus-visible {
  border-color: var(--red);
  background: var(--red);
}

.about-video-modal video {
  display: block;
  width: 100%;
  max-height: min(70vh, 650px);
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: #020407;
  object-fit: contain;
}

@media (max-width: 640px) {
  .about-video-modal {
    padding: 12px;
  }

  .about-video-modal-dialog {
    max-height: calc(100vh - 24px);
    padding: 18px;
    border-radius: 16px;
  }

  .about-video-modal-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }

  .about-video-modal-heading {
    padding-right: 46px;
  }
}

/* =========================
   ACTUALIDAD CENTURY
========================= */

.movement-section {
  position: relative;
  padding: 70px 0;
  color: #111418;
  background:
    linear-gradient(rgba(0, 0, 0, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.018) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(248, 249, 251, 0.98));
  background-size: 46px 46px, 46px 46px, auto;
  overflow: hidden;
}

.movement-container {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 72px), 1780px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.9fr);
  gap: 36px;
  align-items: start;
}

.movement-section::before {
  content: "";
  position: absolute;
  left: -180px;
  top: -190px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 37, 32, 0.14), transparent 68%);
  pointer-events: none;
}

.movement-heading,
.movement-grid {
  position: relative;
  z-index: 1;
}

.movement-heading {
  align-self: center;
}

.movement-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.movement-heading h2 {
  margin: 0 0 18px;
  color: #111418;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -1.8px;
}

.movement-heading h2 strong {
  display: block;
  color: var(--red);
  font-weight: 950;
}

.movement-heading h2::after {
  content: "";
  display: block;
  width: 62px;
  height: 5px;
  margin-top: 20px;
  background: var(--red);
}

.movement-heading p {
  max-width: 340px;
  margin: 0 0 24px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.65;
}

.movement-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.movement-link i {
  font-size: 19px;
  transition: transform 0.25s ease;
}

.movement-link:hover {
  color: #111418;
}

.movement-link:hover i {
  transform: translateX(5px);
}

.movement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 22px;
  min-width: 0;
  align-items: start;
}

.movement-expo-card {
  position: relative;
  min-width: 0;
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(220px, 0.8fr);
  border: 1px solid rgba(229, 37, 32, 0.32);
  border-radius: 8px;
  background: #070b10;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(7, 11, 16, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movement-expo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(7, 11, 16, 0.26);
}

.movement-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  padding: 6px 11px;
  border-radius: 3px;
  background: var(--red);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.7px;
  box-shadow: 0 8px 18px rgba(229, 37, 32, 0.3);
}

.movement-expo-image {
  min-width: 0;
  min-height: 390px;
  display: grid;
  place-items: center;
  padding: 12px;
  background: #030507;
}

.movement-expo-image img {
  width: 100%;
  height: 100%;
  max-height: 390px;
  object-fit: contain;
  display: block;
}

.movement-expo-content {
  min-width: 0;
  padding: 34px 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(229, 37, 32, 0.2), transparent 48%),
    #0b1118;
}

.movement-expo-content > span {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.movement-expo-content h3 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(25px, 2.3vw, 34px);
  line-height: 1;
  font-weight: 950;
}

.movement-expo-content p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.movement-event-details {
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 13px;
  list-style: none;
}

.movement-event-details li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.35;
}

.movement-event-details i {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 18px;
}

.movement-expo-btn {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 4px;
  background: var(--red);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  transition: 0.25s ease;
}

.movement-expo-btn:hover {
  background: #b91514;
  color: #ffffff;
  transform: translateY(-2px);
}

.movement-product-card {
  min-width: 0;
  display: flex;
  align-self: start;
}

.movement-product-card .new-product-card {
  flex: none;
  width: 100%;
  min-width: 0;
  min-height: 390px;
  height: auto;
  grid-template-rows: 205px auto;
}

.movement-product-card .new-product-img {
  height: 205px;
  padding: 22px 28px 4px;
}

.movement-product-card .new-product-img img {
  width: 92%;
  height: 180px;
  max-width: 92%;
  max-height: 180px;
}

.movement-product-card .new-product-info {
  padding-top: 18px;
  align-content: start;
}

@media (max-width: 1080px) {
  .movement-container {
    grid-template-columns: 1fr;
    width: min(calc(100% - 68px), 1180px);
  }

  .movement-heading p {
    max-width: 680px;
  }
}

@media (max-width: 900px) {
  .movement-grid {
    grid-template-columns: 1fr;
  }

  .movement-product-card {
    width: min(100%, 430px);
  }
}

@media (max-width: 650px) {
  .movement-section {
    padding: 42px 0;
  }

  .movement-container {
    width: calc(100% - 36px);
  }

  .movement-heading h2 {
    font-size: clamp(38px, 13vw, 54px);
  }

  .movement-expo-card {
    grid-template-columns: 1fr;
  }

  .movement-expo-image {
    min-height: 0;
    height: 430px;
  }

  .movement-expo-image img {
    max-height: 100%;
  }

  .movement-expo-content {
    padding: 28px 22px;
  }

  .movement-product-card {
    width: 100%;
  }
}
