/* ==============================
   COMPONENTES GLOBALES CENTURY
   Navbar | Mega menú | CTA | Footer
============================== */

/* ==============================
   NAVBAR GLOBAL
============================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 14px clamp(24px, 4vw, 70px);
  background: rgba(5, 8, 12, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

/* =========================================================
   MEGA MENÚ COMPACTO · CIERRE AGOSTO 2026
   Un solo fondo, columnas limpias y transición estable.
========================================================= */
@media (min-width: 1181px) {
  .site-header .mega-menu {
    top: 82px;
    width: min(980px, calc(100% - 56px));
    padding-top: 0;
    transform: translateX(-50%) translateY(8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  }

  .site-header .nav-mega-item::after {
    position: absolute;
    top: 100%;
    left: -24px;
    width: calc(100% + 48px);
    height: 24px;
    content: "";
  }

  .site-header .nav-mega-item.mega-open .mega-menu,
  .site-header .nav-mega-item:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .site-header .mega-menu-content {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 22px 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-top: 3px solid var(--red);
    border-radius: 0 0 10px 10px;
    background: #090d12;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .38);
    backdrop-filter: none;
  }

  .site-header .mega-column,
  .site-header .mega-column.mega-highlight {
    min-height: 122px;
    padding: 6px 24px 8px;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, .1);
    border-radius: 0;
    background: transparent;
  }

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

  .site-header .mega-column h4 {
    margin-bottom: 15px;
    font-size: 14px;
    letter-spacing: .1px;
  }

  .site-header .mega-column h4::after {
    width: 28px;
    height: 2px;
    margin-top: 8px;
  }

  .site-header .mega-column a {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .8);
    font-size: 12.5px;
    font-weight: 650;
    line-height: 1.35;
  }

  .site-header .mega-column a:hover,
  .site-header .mega-column a:focus-visible {
    color: #f03a34;
    transform: translateX(3px);
  }
}

@media (max-width: 1180px) {
  .site-header .mega-menu-content {
    border: 1px solid rgba(255, 255, 255, .12);
    border-top: 3px solid var(--red);
    background: #090d12;
    box-shadow: none;
  }

  .site-header .mega-column,
  .site-header .mega-column.mega-highlight {
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    border-radius: 0;
    background: transparent;
  }

  .site-header .mega-column:last-child {
    border-bottom: 0;
  }

  .site-header .mega-column a:hover,
  .site-header .mega-column a:focus-visible {
    color: #f03a34;
  }
}

/* Para productos.html, que usa header-container */
.site-header .header-container {
  width: min(1320px, calc(100% - 80px));
  height: auto;
  margin: 0 auto;
  padding: 0;
  display: contents;
}

/* Compatibilidad para index.html y nosotros.html */
.brand,
.brand-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img,
.brand-logo img {
  width: 190px;
  max-width: 190px;
  height: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.5vw, 26px);
}

.main-nav > a,
.main-nav .nav-link-mega {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.25s ease;
}

.main-nav > a:hover,
.main-nav .nav-link-mega:hover,
.main-nav > a.active,
.main-nav .nav-link-mega.active {
  color: var(--red);
}

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

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

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

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

/* Compatibilidad para index/productos y nosotros */
.header-cta,
.quote-btn {
  flex: 0 0 auto;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  border-radius: 6px;
  background: var(--red);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 14px 28px rgba(215, 38, 30, 0.32);
  transition: 0.25s ease;
}

.header-cta:hover,
.quote-btn:hover {
  background: var(--red-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

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

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

.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-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-menu-summary {
  max-height: none;
  overflow: visible;
}

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

.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: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12.5px;
  font-weight: 700;
  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;
}

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

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

.solution-text h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  font-weight: 900;
}

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

.solution-benefits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.solution-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

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

.solution-whatsapp {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 28px;
  border-radius: 6px;
  background: #ff2d27;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  transition: 0.25s ease;
}

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

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

.site-footer {
  display: block;
  width: 100%;
  background: #05080c;
  color: #ffffff;
  padding: 42px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .footer-grid {
  width: min(1320px, calc(100% - 80px));
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1.25fr 1.55fr 0.9fr 1fr 1.25fr;
  gap: 38px;
  align-items: start;
}

.site-footer .footer-brand,
.site-footer .footer-col {
  min-width: 0;
}

.site-footer .footer-brand img {
  width: 220px;
  max-width: 220px;
  height: auto;
  display: block;
  margin-bottom: 16px;
}

.site-footer .footer-brand p,
.site-footer .footer-col p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.site-footer .footer-col p {
  margin-bottom: 18px;
  line-height: 1.65;
}

.site-footer .footer-col h4 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer .footer-col h4::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--red);
}

.site-footer .footer-col a {
  display: block;
  width: fit-content;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
  transition: 0.25s ease;
}

.site-footer .footer-col a:hover {
  color: var(--red);
  transform: translateX(4px);
}

.site-footer .footer-col p i {
  margin-right: 12px;
  color: var(--red);
  font-size: 17px;
}

.site-footer .footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
}

.site-footer .footer-social-label {
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

.site-footer .footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
  transform: translateY(-3px);
}

.site-footer .footer-form {
  display: flex;
  width: 100%;
  margin-top: 18px;
}

.site-footer .footer-form input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 5px 0 0 5px;
  background: #111821;
  color: #ffffff;
  font-size: 14px;
  outline: none;
}

.site-footer .footer-form input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.site-footer .footer-form button {
  width: 54px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0 5px 5px 0;
  background: var(--red);
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  transition: 0.25s ease;
}

.site-footer .footer-form button:hover {
  background: var(--red-dark);
}

.site-footer .footer-advisor-button {
  width: 100%;
  min-height: 48px;
  margin: 18px 0 0;
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 6px;
  background: var(--red);
  color: #ffffff;
  font-weight: 900;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 12px 28px rgba(215, 38, 30, 0.22);
}

.site-footer .footer-advisor-button:hover {
  background: var(--red-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.site-footer .footer-advisor-button i {
  font-size: 19px;
}

.site-footer .footer-bottom {
  display: block;
  width: min(1320px, calc(100% - 80px));
  max-width: 1320px;
  margin: 28px auto 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  text-align: center;
  clear: both;
}

.site-footer .footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  line-height: 1.5;
}

/* ==============================
   RESPONSIVE GLOBAL
============================== */

@media (max-width: 1180px) {
  .header-container {
    width: min(100% - 44px, 1320px);
    gap: 18px;
  }

  .main-nav {
    gap: 18px;
  }

  .header-cta {
    padding: 0 18px;
  }

  .mega-menu-content {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 18px;
  }

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

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

  .site-footer .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
  }
}

/* Encabezado compacto: debe permanecer al final para prevalecer sobre reglas históricas. */
.site-header {
  min-height: 82px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-header .brand,
.site-header .brand-logo {
  width: 180px;
}

.site-header .brand img,
.site-header .brand-logo img {
  width: auto;
  max-width: 180px;
  max-height: 60px;
  object-fit: contain;
}

.site-header .main-nav {
  min-height: 52px;
}

.site-header .header-cta,
.site-header .quote-btn {
  min-width: 200px;
}

@media (max-width: 1180px) {
  .site-header {
    padding: 10px 18px;
  }

  .site-header .brand,
  .site-header .brand-logo {
    width: min(180px, calc(100vw - 92px));
  }

  .site-header .brand img,
  .site-header .brand-logo img {
    width: 100%;
    max-width: 100%;
    max-height: 58px;
  }

  .site-header.nav-open .main-nav {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .site-header .brand,
  .site-header .brand-logo {
    width: min(154px, calc(100vw - 88px));
  }

  .site-header .brand img,
  .site-header .brand-logo img {
    max-height: 52px;
  }
}

/* =========================================================
   SELECT BUSCABLE — MEDIDAS Y CAPACIDADES
   Mantiene el select original para no alterar los filtros.
========================================================= */
.searchable-select {
  position: relative;
  width: 100%;
  min-width: 0;
}

.searchable-select__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.searchable-select__button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;
  background: #0a0f15;
  color: #fff;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.searchable-select__value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.searchable-select__chevron {
  font-size: 19px;
  line-height: 1;
  transition: transform .2s ease;
}

.searchable-select.is-open .searchable-select__chevron {
  transform: rotate(180deg);
}

.searchable-select__button:focus-visible,
.searchable-select.is-open .searchable-select__button {
  border-color: var(--red, #d7261e);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(215, 38, 30, .18);
}

.searchable-select.is-disabled .searchable-select__button {
  opacity: .58;
  cursor: not-allowed;
}

.searchable-select__panel {
  position: absolute;
  z-index: 1400;
  top: calc(100% + 8px);
  right: 0;
  width: min(520px, calc(100vw - 32px));
  min-width: 100%;
  padding: 10px;
  border: 1px solid rgba(215, 38, 30, .38);
  border-radius: 10px;
  background: #fff;
  color: #111827;
  box-shadow: 0 22px 52px rgba(0, 0, 0, .28);
}

.searchable-select__panel[hidden] {
  display: none;
}

.searchable-select__search {
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 0 8px !important;
  padding: 0 13px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 7px !important;
  background: #f8fafc !important;
  color: #111827 !important;
  font-size: 14px !important;
  outline: 0 !important;
}

.searchable-select__search:focus {
  border-color: var(--red, #d7261e) !important;
  box-shadow: 0 0 0 3px rgba(215, 38, 30, .12) !important;
}

.searchable-select__options {
  max-height: min(300px, 45vh);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.searchable-select__option {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #1f2937;
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.searchable-select__option + .searchable-select__option {
  margin-top: 2px;
}

.searchable-select__option:hover,
.searchable-select__option.is-active {
  background: #feeceb;
  color: #9f1712;
}

.searchable-select__option[aria-selected="true"] {
  background: #d7261e;
  color: #fff;
  font-weight: 800;
}

.searchable-select__empty {
  margin: 0;
  padding: 18px 12px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.tool-finder.section-light .searchable-select__button {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #111827;
}

.finder-grid label > .searchable-select,
.search-field > .searchable-select {
  align-self: stretch;
}

@media (max-width: 700px) {
  .searchable-select__panel {
    right: auto;
    left: 0;
    width: min(520px, calc(100vw - 40px));
  }

  .searchable-select__options {
    max-height: min(260px, 42vh);
  }
}

/* =========================================================
   PROTECTOR DE PANTALLA PARA EXPO
========================================================= */

.expo-screensaver[hidden] {
  display: none !important;
}

body.expo-screensaver-active {
  overflow: hidden;
}

.expo-screensaver {
  position: fixed;
  z-index: 99999;
  inset: 0;
  overflow: hidden;
  background: #05080c;
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 420ms ease, visibility 420ms ease;
  cursor: pointer;
  isolation: isolate;
}

.expo-screensaver.is-visible {
  opacity: 1;
  visibility: visible;
}

.expo-screensaver-slides,
.expo-screensaver-slide {
  position: absolute;
  inset: 0;
}

.expo-screensaver-slide {
  background-color: #05080c;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 850ms ease, transform 7s linear;
}

.expo-screensaver-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  pointer-events: none;
}

.expo-screensaver-slide::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 6, 9, 0.98) 0%, rgba(3, 6, 9, 0.88) 40%, rgba(3, 6, 9, 0.18) 78%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.55));
  content: "";
}

.expo-screensaver-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.expo-screensaver-slide-contain {
  background-color: #05080c;
}

.expo-screensaver-slide-contain .expo-screensaver-slide-image {
  object-fit: contain;
  object-position: 82% center;
}

.expo-screensaver-slide-contain::after {
  background:
    linear-gradient(90deg, #05080c 0%, rgba(5, 8, 12, 0.97) 38%, rgba(5, 8, 12, 0.42) 72%, rgba(5, 8, 12, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.5));
}

.expo-screensaver-content {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: clamp(28px, 8vw, 150px);
  width: min(760px, calc(100% - 56px));
  transform: translateY(-52%);
}

.expo-screensaver-logo {
  display: block;
  width: clamp(180px, 18vw, 285px);
  height: auto;
  margin-bottom: clamp(22px, 3.5vh, 42px);
}

.expo-screensaver-line {
  width: clamp(58px, 6vw, 104px);
  height: 6px;
  margin-bottom: 22px;
  background: #e32620;
}

.expo-screensaver-eyebrow {
  margin: 0 0 12px;
  color: #ef2b23;
  font-size: clamp(14px, 1.3vw, 20px);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.expo-screensaver-title {
  max-width: 820px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(44px, 6.2vw, 96px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-wrap: balance;
}

.expo-screensaver-description {
  max-width: 680px;
  margin: clamp(20px, 3vh, 34px) 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 1.8vw, 28px);
  line-height: 1.45;
}

.expo-screensaver-counter {
  position: absolute;
  z-index: 4;
  top: clamp(28px, 5vh, 58px);
  right: clamp(28px, 5vw, 82px);
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.expo-screensaver-dots {
  position: absolute;
  z-index: 4;
  right: clamp(28px, 5vw, 82px);
  bottom: clamp(78px, 9vh, 112px);
  display: flex;
  gap: 9px;
}

.expo-screensaver-dot {
  width: 34px;
  height: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
}

.expo-screensaver-dot::after {
  display: block;
  width: 100%;
  height: 100%;
  background: #e32620;
  transform: scaleX(0);
  transform-origin: left;
  content: "";
}

.expo-screensaver-dot.is-active::after {
  animation: century-screensaver-progress 7s linear forwards;
}

.expo-screensaver-touch {
  position: absolute;
  z-index: 4;
  right: clamp(28px, 5vw, 82px);
  bottom: clamp(28px, 4vh, 48px);
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.expo-screensaver-touch i {
  color: #ef2b23;
  font-size: 28px;
  animation: century-screensaver-touch 1.8s ease-in-out infinite;
}

@keyframes century-screensaver-progress {
  to {
    transform: scaleX(1);
  }
}

@keyframes century-screensaver-touch {
  0%,
  100% {
    transform: translateY(0);
  }

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

@media (max-width: 760px) {
  .expo-screensaver-slide::after,
  .expo-screensaver-slide-contain::after {
    background:
      linear-gradient(180deg, rgba(3, 6, 9, 0.35) 0%, rgba(3, 6, 9, 0.9) 55%, #05080c 100%);
  }

  .expo-screensaver-slide-contain {
    background-color: #05080c;
  }

  .expo-screensaver-slide-contain .expo-screensaver-slide-image {
    object-fit: contain;
    object-position: center top;
    opacity: 0.78;
  }

  .expo-screensaver-content {
    top: auto;
    bottom: 126px;
    left: 24px;
    width: calc(100% - 48px);
    transform: none;
  }

  .expo-screensaver-logo {
    width: min(180px, 52vw);
    margin-bottom: 22px;
  }

  .expo-screensaver-line {
    height: 4px;
    margin-bottom: 16px;
  }

  .expo-screensaver-title {
    font-size: clamp(38px, 11vw, 58px);
  }

  .expo-screensaver-description {
    margin-top: 16px;
    font-size: 16px;
  }

  .expo-screensaver-counter {
    top: 24px;
    right: 22px;
  }

  .expo-screensaver-dots {
    right: auto;
    bottom: 82px;
    left: 24px;
  }

  .expo-screensaver-dot {
    width: 26px;
  }

  .expo-screensaver-touch {
    right: auto;
    bottom: 24px;
    left: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .expo-screensaver,
  .expo-screensaver-slide {
    transition: none;
  }

  .expo-screensaver-touch i,
  .expo-screensaver-dot.is-active::after {
    animation: none;
  }

  .expo-screensaver-dot.is-active::after {
    transform: scaleX(1);
  }
}

/* ==============================
   ASISTENTE VIRTUAL CENTURY
============================== */

.century-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1800;
  font-family: var(--font-body, sans-serif);
}

.century-chat-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: #e1261c;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 16px 42px rgba(225, 38, 28, 0.38);
  transition: transform 0.2s ease, background 0.2s ease;
}

.century-chat-toggle:hover,
.century-chat-toggle:focus-visible {
  transform: translateY(-2px);
  background: #bd1c15;
}

.century-chat-toggle i {
  font-size: 25px;
}

.century-chat.is-open .century-chat-toggle span {
  display: none;
}

.century-chat.is-open .century-chat-toggle {
  width: 56px;
  padding: 0;
}

.century-chat-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(390px, calc(100vw - 32px));
  height: min(610px, calc(100vh - 120px));
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: #f4f5f7;
  color: #101318;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.century-chat-panel[hidden] {
  display: none;
}

.century-chat-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 17px 18px;
  background: linear-gradient(135deg, #090c10, #211012);
  color: #ffffff;
}

.century-chat-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e1261c;
  font-size: 24px;
}

.century-chat-header strong,
.century-chat-header span {
  display: block;
}

.century-chat-header strong {
  margin-bottom: 4px;
  font-size: 16px;
}

.century-chat-header span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.century-chat-header span i {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 5px;
  border-radius: 50%;
  background: #25d366;
}

.century-chat-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  font-size: 22px;
}

.century-chat-close:hover,
.century-chat-close:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.century-chat-messages {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(245, 246, 248, 0.96)),
    radial-gradient(circle at top right, rgba(225, 38, 28, 0.14), transparent 38%);
}

.century-chat-message {
  width: fit-content;
  max-width: 88%;
  padding: 11px 13px;
  border-radius: 15px 15px 15px 4px;
  background: #ffffff;
  color: #242932;
  font-size: 14px;
  line-height: 1.48;
  box-shadow: 0 4px 16px rgba(14, 18, 24, 0.08);
}

.century-chat-message-user {
  align-self: flex-end;
  border-radius: 15px 15px 4px 15px;
  background: #e1261c;
  color: #ffffff;
}

.century-chat-controls {
  display: grid;
  gap: 10px;
  padding: 14px 16px 16px;
  border-top: 1px solid #dfe2e7;
  background: #ffffff;
}

.century-chat-quick-actions {
  display: grid;
  gap: 8px;
}

.century-chat-quick-action {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border: 1px solid #d7dbe1;
  border-radius: 13px;
  background: #ffffff;
  color: #171b21;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 5px 16px rgba(17, 22, 29, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.century-chat-quick-action:hover,
.century-chat-quick-action:focus-visible {
  border-color: #e1261c;
  color: #171b21;
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(17, 22, 29, 0.1);
}

.century-chat-quick-action.is-primary {
  border-color: rgba(225, 38, 28, 0.35);
  background: linear-gradient(135deg, #fff7f6, #ffffff);
}

.century-chat-quick-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f0f2f5;
  color: #e1261c;
  font-size: 21px;
}

.century-chat-quick-action.is-primary .century-chat-quick-icon {
  background: #e1261c;
  color: #ffffff;
}

.century-chat-quick-action.is-whatsapp .century-chat-quick-icon {
  background: #e8f8ee;
  color: #168c43;
}

.century-chat-quick-action.is-instagram .century-chat-quick-icon {
  background: linear-gradient(135deg, #7b2ff7, #e1306c, #ff9b32);
  color: #ffffff;
}

.century-chat-quick-copy {
  min-width: 0;
}

.century-chat-quick-copy strong,
.century-chat-quick-copy small {
  display: block;
}

.century-chat-quick-copy strong {
  margin-bottom: 2px;
  color: #15191f;
  font-size: 13px;
  line-height: 1.2;
}

.century-chat-quick-copy small {
  color: #68707a;
  font-size: 10px;
  line-height: 1.25;
  text-align: left;
}

.century-chat-quick-action > .ti:last-child {
  color: #9299a3;
  font-size: 17px;
}

.century-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.century-chat-form input {
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #c9ced6;
  border-radius: 12px;
  background: #f7f8fa;
  color: #11151a;
  outline: none;
}

.century-chat-form input:focus {
  border-color: #e1261c;
  box-shadow: 0 0 0 3px rgba(225, 38, 28, 0.12);
}

.century-chat-form button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #e1261c;
  color: #ffffff;
  font-size: 22px;
}

.century-chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.century-chat-options button {
  padding: 8px 11px;
  border: 1px solid #cfd3da;
  border-radius: 999px;
  background: #ffffff;
  color: #20252d;
  font-size: 12px;
  font-weight: 700;
}

.century-chat-options button:hover,
.century-chat-options button:focus-visible {
  border-color: #e1261c;
  background: #fff2f1;
  color: #b61d16;
}

.century-chat-error {
  margin: 0;
  color: #b42318;
  font-size: 12px;
  line-height: 1.4;
}

.century-chat-summary {
  padding: 12px 13px;
  border: 1px solid #e1e4e9;
  border-radius: 13px;
  background: #f7f8fa;
}

.century-chat-summary strong {
  display: block;
  margin-bottom: 7px;
  color: #11151a;
  font-size: 13px;
}

.century-chat-summary p {
  margin: 3px 0;
  color: #505761;
  font-size: 12px;
  line-height: 1.4;
}

.century-chat-summary p span {
  color: #20252d;
  font-weight: 700;
}

.century-chat-whatsapp {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  background: #1faf55;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.century-chat-whatsapp:hover,
.century-chat-whatsapp:focus-visible {
  background: #168c43;
  color: #ffffff;
}

.century-chat-whatsapp i {
  font-size: 20px;
}

.century-chat-controls small {
  color: #69717c;
  font-size: 10px;
  line-height: 1.35;
  text-align: center;
}

.century-chat-restart {
  padding: 2px;
  border: 0;
  background: transparent;
  color: #b61d16;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
}

.century-chat-menu-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px;
  border: 0;
  background: transparent;
  color: #555e69;
  font-size: 11px;
  font-weight: 700;
}

.century-chat-menu-back:hover,
.century-chat-menu-back:focus-visible {
  color: #b61d16;
}

.century-chat-result-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.century-chat-result-actions .century-chat-menu-back {
  color: #b61d16;
  text-decoration: underline;
}

@media (max-width: 560px) {
  .century-chat {
    right: 12px;
    bottom: 12px;
  }

  .century-chat-toggle {
    width: 58px;
    padding: 0;
  }

  .century-chat-toggle span {
    display: none;
  }

  .century-chat-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 70px;
    width: auto;
    height: min(620px, calc(100vh - 96px));
    border-radius: 18px;
  }

  .century-chat-controls {
    padding: 12px;
  }

  .century-chat-quick-action {
    min-height: 55px;
  }
}

/* =========================================================
   REVISIÓN FINAL DE INICIO · NAVEGACIÓN, FOOTER Y AYUDA
========================================================= */

.site-header {
  min-height: 82px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-header .brand img {
  width: auto;
  max-width: 180px;
  max-height: 60px;
  object-fit: contain;
}

.site-footer .footer-commercial .footer-hours {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.site-footer .footer-commercial .footer-hours i {
  flex: 0 0 auto;
  margin-top: 2px;
}

.site-footer .footer-commercial .footer-hours span {
  display: inline-block;
}

.site-footer .footer-commercial .footer-hours strong {
  color: #ffffff;
}

@media (max-width: 768px) {
  .century-chat {
    right: 16px;
    bottom: 16px;
  }

  .century-chat-toggle {
    transform: scale(.92);
    transform-origin: right bottom;
  }

  .century-chat-toggle:hover,
  .century-chat-toggle:focus-visible {
    transform: scale(.92) translateY(-2px);
  }
}

@media (max-width: 560px) {
  .site-header .brand img {
    max-width: 154px;
    max-height: 52px;
  }

  .century-chat {
    right: 12px;
    bottom: 12px;
  }
}
@media (max-width: 860px) {
  .site-header {
    position: sticky;
    grid-template-columns: 1fr auto;
    padding: 18px 22px;
  }

  .site-header .header-container {
    display: contents;
  }
  .header-container {
    height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo img {
    width: 130px;
  }

  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
  }

  .main-nav > a.active::after,
  .main-nav .nav-link-mega.active::after {
    bottom: -8px;
  }

  .header-cta {
    width: 100%;
  }

  .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;
  }

  .solution-cta {
    padding: 34px 22px;
  }

  .site-footer {
    padding: 34px 0 18px;
  }

  .site-footer .footer-grid,
  .site-footer .footer-bottom {
    width: min(100% - 36px, 1320px);
  }

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

  .site-footer .footer-brand img {
    width: 175px;
    max-width: 175px;
  }
}

/* Evita que el navbar cambie de altura entre páginas */
.site-header {
  min-height: 92px;
}

.site-header .brand,
.site-header .brand-logo {
  width: 240px;
}

.site-header .brand img,
.site-header .brand-logo img {
  width: 240px;
  max-width: 240px;
  height: auto;
}

.main-nav {
  min-height: 64px;
}

.header-cta,
.quote-btn {
  min-width: 220px;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px 18px;
  }

  .site-header .header-container {
    display: contents;
  }

  .site-header .brand,
  .site-header .brand-logo {
    width: min(200px, calc(100vw - 92px));
  }

  .site-header .brand img,
  .site-header .brand-logo img {
    width: 100%;
    max-width: 100%;
  }

  .nav-toggle {
    display: inline-grid;
  }

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

  .site-header.nav-open .main-nav {
    grid-column: 1 / -1;
    display: grid;
    min-height: auto;
  }

  .site-header.nav-open .header-cta,
  .site-header.nav-open .quote-btn {
    grid-column: 1 / -1;
    display: inline-flex;
    width: 100%;
    min-width: 0;
  }
}

/* Encabezado compacto final.
   Este bloque debe permanecer al cierre del archivo para prevalecer sobre
   reglas históricas compartidas por las páginas interiores. */
.site-header {
  min-height: 82px;
  padding-block: 10px;
}

.site-header .brand,
.site-header .brand-logo {
  width: 180px;
}

.site-header .brand img,
.site-header .brand-logo img {
  width: auto;
  max-width: 180px;
  max-height: 60px;
  height: auto;
}

.main-nav {
  min-height: 52px;
}

.header-cta,
.quote-btn {
  min-width: 200px;
}

@media (max-width: 1180px) {
  .site-header {
    min-height: 82px;
    padding: 12px 18px;
  }

  .site-header .brand,
  .site-header .brand-logo {
    width: min(180px, calc(100vw - 92px));
  }

  .site-header .brand img,
  .site-header .brand-logo img {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .site-header .brand,
  .site-header .brand-logo {
    width: min(154px, calc(100vw - 84px));
  }

  .site-header .brand img,
  .site-header .brand-logo img {
    max-height: 52px;
  }
}


/* Video principal Nosotros */
.about-video-feature-main {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #05080c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.about-video-feature-main video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #05080c;
}

.identity-caption {
  display: grid;
  gap: 4px;
  margin-top: 14px;
}

.identity-caption strong {
  color: #ffffff;
  font-weight: 900;
}

.identity-caption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

/* ================= VIDEO INSTITUCIONAL NOSOTROS ================= */

.about-video-call .about-video-teaser {
  position: relative;
  display: block;
  width: 118px;
  height: 78px;
  flex: 0 0 118px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  background: #05080c;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.about-video-teaser-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: brightness(0.72) contrast(1.08);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.about-video-call .about-video-teaser:hover,
.about-video-call .about-video-teaser:focus-visible {
  border-color: #e52420;
  outline: none;
  transform: translateY(-2px);
}

.about-video-teaser:hover .about-video-teaser-img,
.about-video-teaser:focus-visible .about-video-teaser-img {
  transform: scale(1.05);
  filter: brightness(0.86) contrast(1.12);
}

.about-video-call .about-video-teaser .about-video-call-play {
  position: absolute;
  inset: 0;
  display: grid;
  max-width: none;
  place-items: center;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  background: linear-gradient(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.44));
}

.about-video-feature-main {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #05080c;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
}

.about-video-feature-main video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #05080c;
}

#video-proceso-century {
  height: auto;
  max-height: none;
  scroll-margin-top: 110px;
}

#video-proceso-century::after {
  display: none;
}

#video-proceso-century .identity-caption {
  position: static;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 22px 24px 24px;
  color: #ffffff;
  pointer-events: auto;
}

#video-proceso-century .identity-caption strong {
  margin: 0;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.18;
}

#video-proceso-century .identity-caption p {
  max-width: 68ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.55;
}

.identity-video-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.identity-video-points span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.identity-video-points i {
  flex: 0 0 auto;
  color: #e52420;
  font-size: 17px;
}

@media (max-width: 680px) {
  .about-video-call .about-video-teaser {
    width: 104px;
    height: 70px;
    flex-basis: 104px;
  }

  #video-proceso-century .identity-caption {
    padding: 18px;
  }

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

/* =========================================================
   CIERRE 2026 · HEADER, BUSCADOR Y FOOTER
========================================================= */

/* El mismo menú se abre con puntero, teclado o toque. */
@media (min-width: 1181px) {
  .site-header .nav-mega-item:not(.mega-open) .mega-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .site-header .nav-mega-item.mega-open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%);
  }
}

.about-video-modal[hidden],
.tool-video-modal[hidden],
.video-modal-status[hidden] {
  display: none !important;
}

.about-video-modal-dialog,
.about-video-modal-dialog.is-portrait {
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 58px 26px 26px;
  overscroll-behavior: contain;
}

.about-video-modal .about-video-modal-media video {
  border-radius: 12px;
}

.about-video-modal-close {
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
}

.video-modal-status {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #d5dce4;
  text-align: center;
}

.about-video-modal :is(button, a, video):focus-visible,
.tool-video-modal :is(button, a, video):focus-visible,
.product-modal :is(button, a):focus-visible {
  outline: 3px solid #f26d68;
  outline-offset: 3px;
}

:is(.new-product-card, .solution-card, .plant-video-card):focus-within {
  border-color: #d7261e;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .15);
}

@media (prefers-reduced-motion: reduce) {
  :is(.movement-expo-card, .new-product-card, .solution-card, .category-card,
      .plant-video-card, .reason-card, .value-item, .about-video-modal,
      .about-video-modal-cta, .searchable-select__button) {
    transition: none !important;
    transform: none !important;
  }
}

.site-header a:focus-visible,
.site-header button:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(226, 35, 30, .55);
  outline-offset: 4px;
}

.site-footer .footer-contact-link,
.site-footer .footer-commercial-contact a {
  display: inline;
  color: rgba(255, 255, 255, .76);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer .footer-contact-link:hover,
.site-footer .footer-commercial-contact a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .footer-commercial-contact {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.site-footer .footer-commercial-contact > i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--red);
  font-size: 18px;
}

.site-footer .footer-commercial-contact span {
  display: inline-block;
  color: rgba(255, 255, 255, .68);
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .site-header.nav-open {
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
  }

  .site-header.nav-open .main-nav {
    width: 100%;
    padding: 14px 0 6px;
    gap: 2px;
  }

  .site-header.nav-open .main-nav > a,
  .site-header.nav-open .nav-link-mega {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding: 12px 4px;
  }

  .site-header .nav-mega-item {
    width: 100%;
    display: block;
  }

  .site-header .nav-mega-item .mega-menu,
  .site-header .nav-mega-item:hover .mega-menu {
    position: static;
    width: 100%;
    display: none;
    padding: 4px 0 10px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .site-header .nav-mega-item.mega-open .mega-menu,
  .site-header .nav-mega-item.mega-open:hover .mega-menu {
    display: block;
  }

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

  .site-header .mega-menu-content {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
    border-radius: 10px;
  }

  .site-header .mega-column {
    padding: 13px 14px;
  }
}

/* =========================================================
   MEGA MENÚ COMPACTO · REGLAS FINALES
   Estas reglas permanecen al final para sustituir el diseño
   de tarjetas anterior en todas las páginas.
========================================================= */
@media (min-width: 1181px) {
  .site-header .nav-mega-item {
    position: static;
  }

  .site-header .nav-mega-item::after {
    position: absolute;
    top: calc(100% - 4px);
    left: 0;
    width: 100%;
    height: 32px;
    content: "";
  }

  .site-header .mega-menu {
    position: fixed;
    top: 91px;
    left: 50%;
    width: min(980px, calc(100% - 56px));
    max-height: none;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  }

  .site-header .nav-mega-item.mega-open .mega-menu,
  .site-header .nav-mega-item:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .site-header .mega-menu-content {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    max-height: none;
    padding: 21px 18px 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-top: 3px solid var(--red);
    border-radius: 0 0 10px 10px;
    background: #090d12;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .38);
    overflow: visible;
    backdrop-filter: none;
  }

  .site-header .mega-column,
  .site-header .mega-column.mega-highlight {
    min-height: 118px;
    padding: 5px 24px 7px;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, .1);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

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

  .site-header .mega-column h4 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 14px;
    line-height: 1.25;
  }

  .site-header .mega-column h4::after {
    width: 28px;
    height: 2px;
    margin-top: 8px;
    background: var(--red);
  }

  .site-header .mega-column a {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, .8);
    font-size: 12.5px;
    font-weight: 650;
    line-height: 1.35;
  }

  .site-header .mega-column a:hover,
  .site-header .mega-column a:focus-visible {
    color: #f03a34;
    transform: translateX(3px);
  }
}

@media (max-width: 1180px) {
  .site-header .mega-menu-content {
    border: 1px solid rgba(255, 255, 255, .12);
    border-top: 3px solid var(--red);
    background: #090d12;
    box-shadow: none;
  }

  .site-header .mega-column,
  .site-header .mega-column.mega-highlight {
    min-height: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-header .mega-column:last-child {
    border-bottom: 0;
  }

  .site-header .mega-column a:hover,
  .site-header .mega-column a:focus-visible {
    color: #f03a34;
  }
}
