/* Importar Work Sans desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;600;700&display=swap');

/* Reset y Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Neo Sans W1G - Configuración de fuentes locales */
/* Medium como Regular (400) */
@font-face {
  font-family: 'Neo Sans';
  src: url('../fonts/neo-sans-w1g-medium_freefontdownload_org/neo-sans-w1g-medium.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

/* Medium como Medium (500) - mismo archivo pero diferente peso */
@font-face {
  font-family: 'Neo Sans';
  src: url('../fonts/neo-sans-w1g-medium_freefontdownload_org/neo-sans-w1g-medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

/* Medium como Semibold (600) - mismo archivo pero diferente peso */
@font-face {
  font-family: 'Neo Sans';
  src: url('../fonts/neo-sans-w1g-medium_freefontdownload_org/neo-sans-w1g-medium.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}

/* Bold Italic como Bold (700) */
@font-face {
  font-family: 'Neo Sans';
  src: url('../fonts/neo-sans-w1g-bold-italic_freefontdownload_org/neo-sans-w1g-bold-italic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
}

/* Light Italic (300) */
@font-face {
  font-family: 'Neo Sans';
  src: url('../fonts/neo-sans-w1g-light-italic_freefontdownload_org/neo-sans-w1g-light-italic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
}

body {
  font-family: 'Work Sans', 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Titulares y Encabezados - Neo Sans Semibold 24-48px */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 600;
  /* Semibold según especificaciones */
  color: #1a1a1a;
}

h1 {
  font-size: 42px;
  font-weight: 600;
  /* Semibold */
  margin-bottom: 30px;
  max-width: 280px;
  background: rgba(26, 26, 26, 0.7);
  padding: 25px 35px;
  border-left: 3px solid #f9751c;
  border-bottom: 3px solid #f9751c;
  display: inline-block;
  line-height: 1.3;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  /* Semibold */
  margin: 0;
  line-height: 1.2;
}

h3 {
  font-size: 28px;
  font-weight: 600;
  /* Semibold */
  margin: 0;
  line-height: 1.3;
}

h4 {
  font-size: 24px;
  font-weight: 600;
  /* Semibold */
  margin: 0;
  line-height: 1.3;
}

/* Subtítulos y elementos destacados - Neo Sans Medium/Regular 18-24px */
.subtitle,
.highlight,
.news-subtitle {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 500;
  /* Medium */
  font-size: 18px;
  line-height: 1.4;
}

/* Texto de párrafo o cuerpo - Work Sans Regular 14-16px */
p,
.paragraph-text,
.news-text,
.values-intro {
  font-family: 'Work Sans', 'Arial', sans-serif;
  font-weight: 400;
  /* Regular */
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.industries-descriptions .description-box p {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 600;
  /* Semibold */
  font-size: 16px;
  line-height: 1.8;
}

/* Información adicional / notas - Work Sans Light 12px o menor */
.small-text,
.footer-link-small,
.contact-mini-info {
  font-family: 'Work Sans', 'Arial', sans-serif;
  font-weight: 300;
  /* Light */
  font-size: 12px;
  line-height: 1.4;
}

.stat-label {
  font-family: 'Work Sans', 'Arial', sans-serif;
  font-weight: 300;
  /* Light */
  font-size: 12px;
  line-height: 1.4;
  color: #f7f6f2 !important;
}

/* Textos emotivos - Work Sans Semibold */
.emotive-text {
  font-family: 'Work Sans', 'Arial', sans-serif;
  font-weight: 600;
  /* Semibold para textos emotivos */
}

/* Navegación y botones */
.nav-center a,
.nav-right a,
.mobile-link {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 14px;
}

.industry-btn {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 14px;
}

.btn-primary,
.btn-secondary {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: normal;
  font-size: 16px;
}

/* DISEÑO 1: Header */
.header-final {
  background: transparent;
  /* Fondo completamente transparente por defecto */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

/* Header con fondo cuando se hace scroll */
.header-final.scrolled {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 200px 1fr 350px;
  align-items: center;
  gap: 20px;
}

@media (min-width: 1025px) {
  .index-page .header-container {
    padding-left: 10px;
  }

  .index-page .logo-final {
    margin-left: -50px;
  }
}

.logo-final {
  display: flex;
  align-items: center;
  gap: 0;
  color: #fff;
  font-size: 54px;
  font-weight: 400;
  justify-self: start;
}

.logo-final a,
.logo-final a:link,
.logo-final a:visited,
.logo-final a:hover,
.logo-final a:active {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  outline: none;
}

.logo-final img {
  height: 100px;
  margin: 0;
  padding: 0;
}

.logo-final span {
  margin: 0;
  padding: 0;
  margin-left: -35px;
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 500;
  font-size: 32px;
  /* Tamaño más grande para el encabezado */
  color: #f7f6f2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.3;
  text-decoration: none;
}

.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.nav-center a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  padding-bottom: 5px;
}

.nav-center a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #f9751c;
  transition: width 0.3s ease;
}

.nav-center a:hover {
  color: #f9751c;
}

.nav-center a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

.nav-right a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  padding-bottom: 5px;

}

.nav-right a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #f9751c;
  transition: width 0.3s ease;
}

.nav-right a:hover {
  color: #f9751c;
}

.nav-right a:hover::after {
  width: 100%;
}

.search-box-header {
  display: flex;
  gap: 5px;
  align-items: center;
  position: relative;
}

.search-box-header input {
  padding: 6px 12px;
  border: 1px solid #555;
  background: #2a2a2a;
  color: #fff;
  border-radius: 4px;
  font-size: 13px;
  width: 130px;
}

.search-box-header input::placeholder {
  color: #999;
}

.search-box-header button {
  padding: 6px 12px;
  background: transparent;
  border: none;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-box-header button i {
  font-size: 16px;
  color: #f7f6f2;
}

.search-box-header button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #f9751c;
}

/* Hero */
.hero-final {
  height: 100vh;
  background: linear-gradient(rgba(26, 26, 26, 0.6), rgba(26, 26, 26, 0.6)), url('../Images/home/hero-home.png');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  color: #fff;
  position: relative;
  margin-top: 0;
  /* Sin margen porque el header es transparente */
  padding-left: 100px;
  padding-bottom: 80px;
}

/* Force altura optimizada para legibilidad en Desktop */
@media (min-width: 1920px) {
  .hero-final {
    height: 950px !important;
    /* Altura balanceada: se lee bien el texto y se aprecia la imagen */
    background-size: cover !important;
    background-position: center center !important;
    margin-top: 0 !important;
  }
}

.hero-content-final {
  text-align: left;
}

.hero-content-final h1 {
  font-family: 'Work Sans', 'Arial', sans-serif;
  font-size: 42px;
  font-weight: 600;
  /* Semibold */
  margin-bottom: 30px;
  max-width: 280px;
  background: rgba(26, 26, 26, 0.7);
  padding: 25px 35px;
  border: none;
  /* Quitamos contorno naranja */
  border-radius: 16px;
  /* Bordes redondeados */
  display: inline-block;
  line-height: 1.3;
  color: #f7f6f2;
  position: relative;
  /* Estado inicial para la animación */
  opacity: 0;
  transform: translateY(30px);
  background-color: rgba(26, 26, 26, 0);
  transition: all 1.5s ease-out;
}

/* Clase que activa la animación completa */
.hero-content-final h1.hero-animate {
  opacity: 1;
  transform: translateY(0);
  background-color: rgba(26, 26, 26, 0.7);
  border: none;
}

/* Eliminamos las animaciones keyframes anteriores */


@media (prefers-reduced-motion: reduce) {
  .hero-content-final h1 {
    animation: none;
  }
}

/* DISEÑO 2: Industrias con estadísticas */
.industries-section {
  padding: 120px 0;
  background: #f7f6f2;
  position: relative;
}

.industries-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* Contenido principal con 3 columnas (Base) */
.industries-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 50px;
  margin-bottom: 80px;
  position: relative;
}

.industries-main {
  display: contents;
}

/* Columna izquierda: Botones */
.industries-buttons {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 35px;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 20px;
}

.industry-btn {
  background: #1a1a1a;
  border: 2px solid #1a1a1a;
  padding: 12px 25px;
  border-radius: 12px;
  color: #f7f6f2;
  font-size: 15px;
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 600;
  /* Semibold */
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-width: fit-content;
}

.industry-btn:hover {
  background: #adadac;
  border-color: #adadac;
  color: #f7f6f2;
}

.industry-btn.active {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #f9751c;
}

.back-btn {
  background: #1a1a1a;
  border: 2px solid #1a1a1a;
  padding: 12px 25px;
  border-radius: 12px;
  color: #f7f6f2;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  letter-spacing: 1px;
  height: 45px;
  white-space: nowrap;
  min-width: fit-content;
}

.back-btn:hover {
  background: #adadac;
  border-color: #adadac;
  color: #f7f6f2;
}

.industries-images {
  grid-column: 1;
  position: relative;
  height: 500px;
  border-radius: 8px;
  overflow: visible;
}

.stat-number {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 600;
  font-size: 32px;
  color: #f9751c;
  margin-bottom: 5px;
}

.industry-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.industry-image.active {
  opacity: 1;
}

.industry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Columna derecha: Descripciones (Base) */
.industries-descriptions {
  grid-column: 2;
  position: relative;
  min-height: 500px;
}

.industries-descriptions .description-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  background: rgba(26, 26, 26, 0.85);
  border-radius: 8px;
  padding: 35px;
  transition: opacity 0.5s ease;
}

.industries-descriptions .description-box.active {
  opacity: 1;
  position: relative;
}

.industries-descriptions .description-box p {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 600;
  /* Semibold */
  font-size: 16px;
  line-height: 1.8;
  color: #fff;
  margin-bottom: 25px;
}

/* ================================================================
   DISEÑO DE ESCRITORIO: Imagen extendida y texto flotante
   ================================================================ */
@media (min-width: 1920px) {
  .industries-content {
    grid-template-columns: 1fr !important;
  }

  .industries-images {
    height: 650px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3) !important;
  }

  .industries-descriptions {
    position: absolute !important;
    top: 50px !important;
    right: 50px !important;
    width: 480px !important;
    z-index: 100 !important;
    grid-column: auto !important;
    pointer-events: none;
  }

  .industries-descriptions .description-box {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: rgba(15, 15, 15, 0.65) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 45px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
    transform: translateX(30px);
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
  }

  .industries-descriptions .description-box.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
  }

  .stats-bar {
    position: absolute !important;
    bottom: 40px !important;
    left: 40px !important;
    transform: none !important;
    background: rgba(15, 15, 15, 0.6) !important;
    backdrop-filter: blur(12px) !important;
    border-radius: 16px !important;
    padding: 25px 50px !important;
    z-index: 110 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
}

.btn-secondary {
  display: inline-block;
  padding: 12px 35px;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  transition: background 0.3s;
}

.btn-secondary:hover {
  background: #333;
}

/* Contenedor del botón de contacto */
.contact-button-container {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 40px;
  padding-right: 40px;
  position: relative;
  z-index: 20;
}

/* La regla se consolidó arriba */

.stat-number {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 28px;
  color: #f9751c;
  margin-bottom: 5px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 28px;
  color: #f9751c;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 10px;
  color: #f7f6f2 !important;
  margin-top: 5px;
}

/* DISEÑO 3: Valores */
.values-section {
  padding: 120px 0;
  background: #f7f6f2;
}

.values-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

.values-content-layout {
  display: grid;
  grid-template-columns: 350px 1fr 300px;
  gap: 50px;
  align-items: center;
  position: relative;
}

/* Columna Izquierda */
.values-left-col {
  display: flex;
  flex-direction: column;
  gap: 35px;
  border-left: 3px solid #f9751c;
  padding-left: 25px;
  padding-top: 25px;
  position: relative;
  transition: border-left-color 0.4s ease;
}

.values-left-col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: -140px;
  height: 3px;
  background: #f9751c;
  z-index: 1;
  transition: background 0.4s ease;
}

.values-left-col.border-hidden {
  border-left-color: transparent !important;
}

.values-left-col.border-hidden::before {
  background: transparent !important;
}

.values-title-box {
  padding: 10px 25px;
  border-radius: 12px;
  background: rgba(26, 26, 26, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  width: 190%;
}

.values-container h2 {
  font-size: 30px;
  color: #fff;
  font-weight: 400;
  margin: 0;
  line-height: 1.2;
}

.subtitle-comunidad {
  font-size: 20px;
  font-weight: 400;
  color: #fff;
}

.values-intro-box {
  border: 1px solid transparent;
  padding: 35px 20px;
  border-radius: 12px;
  background: rgba(26, 26, 26, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(-10px) translateX(430px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  position: relative;
  z-index: 1;
  width: 80%;
}

.values-intro-box.visible {
  opacity: 1;
  transform: translateY(0) translateX(430px);
  pointer-events: auto;
}

.values-intro {
  font-size: 18px;
  line-height: 1.6;
  color: #fff !important;
  margin: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.values-intro.hidden {
  display: none;
}

.values-btn-container {
  margin-top: 20px;
}

/* Base styles for Values elements (Mobile/Tablet) */
.values-center-col {
  width: 100%;
}

.values-center-col img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.values-right-col {
  width: 100%;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* ================================================================
   DISEÑO DE ESCRITORIO: Valores con Glassmorphism (Premium)
   ================================================================ */
@media (min-width: 1920px) {
  .values-section {
    padding: 120px 0 !important;
    background: #f7f6f2 !important;
  }

  .values-content-layout {
    display: block !important;
    /* Cambiamos a block para posicionamiento absoluto interno */
    height: 700px !important;
    /* Más alto para que la imagen sea más grande */
    position: relative !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
  }

  /* Imagen central a tamaño completo */
  .values-center-col {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    /* Ahora ocupa todo el ancho */
    height: 100% !important;
    transform: none !important;
    z-index: 1 !important;
    border-radius: 40px !important;
    /* Bordes más curvos para el nuevo tamaño */
    overflow: hidden !important;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25) !important;
  }

  .values-center-col img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: brightness(0.7) !important;
    /* Más contraste para el texto blanco */
    transition: transform 1s ease !important;
  }

  /* Bloque izquierdo: Desplazado al extremo máximo */
  .values-left-col {
    position: absolute !important;
    top: 60px !important;
    left: -100px !important;
    width: 520px !important;
    z-index: 10 !important;
    border: none !important;
    padding: 0 !important;
  }

  .values-left-col::before {
    display: none !important;
    /* Elimina la línea naranja superior */
  }

  .values-title-box {
    background: rgba(15, 15, 15, 0.6) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 24px !important;
    padding: 40px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
    width: 100% !important;
    margin-bottom: 25px !important;
  }

  .values-title-box h2 {
    font-family: 'Neo Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 32px !important;
    color: #fff !important;
    line-height: 1.2 !important;
  }

  /* Cuadro de contenido que aparece al clickear */
  .values-intro-box {
    background: rgba(10, 10, 10, 0.65) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-radius: 24px !important;
    padding: 45px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    width: 100% !important;
    transform: translateY(20px) !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
  }

  .values-intro-box.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  .values-intro {
    font-size: 19px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
    color: #fff !important;
  }

  /* Grid de Valores a la derecha: Ajuste de posición final */
  .values-right-col {
    position: absolute !important;
    top: 120px !important;
    right: -60px !important;
    /* Ajustado a -60px */
    width: 230px !important;
    z-index: 10 !important;
    transform: none !important;
  }

  .values-list {
    gap: 14px !important;
  }

  .value-card {
    background: rgba(20, 20, 20, 0.5) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 22px 20px !important;
    /* Más altos */
    width: 210px !important;
    /* Menos anchos */
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  }

  .value-card h3 {
    font-family: 'Neo Sans', sans-serif !important;
    font-weight: 500 !important;
    font-size: 17px !important;
    color: #ddd !important;
    transition: color 0.3s !important;
  }

  .value-card:hover {
    background: rgba(40, 40, 40, 0.6) !important;
    transform: translateX(-8px) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
  }

  .value-card.active {
    background: rgba(40, 40, 40, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    /* Sin borde naranja */
    border-left: none !important;
    /* Sin borde naranja lateral */
    transform: translateX(-15px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
  }

  .value-card.active h3 {
    color: #f9751c !important;
    /* Texto naranja para resaltar sin saturar el fondo */
    font-weight: 600 !important;
  }

  /* Botón de contacto: Mantiene posición original compensando el desplazamiento del padre */
  .values-btn-container {
    margin-top: 40px !important;
    margin-left: 140px !important;
    /* Ajustado para compensar el -100px y quedar en +40px */
    z-index: 10 !important;
    position: relative !important;
  }
}

.value-icon {
  font-size: 24px;
  margin-bottom: 0;
  width: 0;
  min-width: 0;
  overflow: hidden;
}

.value-card h3 {
  font-size: 16px;
  margin: 0;
  padding: 0;
  color: #fff;
  font-weight: 400;
  transition: color 0.3s ease;
  text-align: left;
  flex: 1;
}

/* Value Cards Interactions */
.value-card {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(26, 26, 26, 0.15);
}

.value-card.active {
  background: rgba(26, 26, 26, 0.85);
  color: #f9751c;
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(249, 117, 28, 0.3);
  border-left: 5px solid #f9751c;
  /* Borde izquierdo naranja cuando está activo */
}

.value-card.active .value-icon {
  filter: brightness(0) invert(1);
  transform: scale(1.1);
}

.value-card.active h3 {
  color: #f9751c;
}

/* Animación para el texto de values intro */
.values-intro {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.values-intro.updating {
  opacity: 0;
  transform: translateY(-10px);
}

/* DISEÑO 4: Noticias y Socios */
.news-section {
  padding: 120px 0;
  background: #f7f6f2;
  position: relative;
}

.news-section {
  padding: 120px 0;
  background: #f7f6f2;
  /* Mantenemos este fondo para consistencia */
  position: relative;
}

/* Eliminamos los pseudo-elementos ::before y ::after que tenían el borde naranja */

.news-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Grid Principal (2 Columnas) */
.news-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
  align-items: flex-start;
  /* Alineación superior natural, sin estirar */
}

/* Columna Izquierda */
.news-content-text {
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.2s ease, transform 1.2s ease;
  display: none;
}

.news-content-text:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
  display: block;
}

.news-left-box {
  background: rgba(26, 26, 26, 0.75) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 25px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(26, 26, 26, 0.05);
  width: 120%;
}

.news-container h2 {
  font-size: 34px;
  color: #f5f5f5;
  font-weight: 400;
  margin-bottom: 10px;
  text-transform: uppercase;
  margin-top: 0;
}

.news-left-box .news-subtitle {
  font-size: 20px;
  color: #f5f5f5 !important;
  font-style: italic;
  font-weight: 400;
  margin: 0;
  line-height: 1.4;
}

/* Video Placeholder */
.news-video-placeholder {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 450px;
  /* Altura fija razonable */
  width: 120%;
  box-shadow: 0 4px 15px rgba(26, 26, 26, 0.1);
  cursor: pointer;
  margin-top: 35px;
  margin-left: 0;
}

.news-video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}

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

.news-video-placeholder:hover img {
  transform: scale(1.05);
}

.play-icon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(249, 117, 28, 0.9);
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(26, 26, 26, 0.3);
  transition: transform 0.3s, background 0.3s;
}

.news-video-placeholder:hover .play-icon-overlay {
  background: #f9751c;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Columna Derecha (Caja Contenido) */
.news-right-column {
  display: block;
}

.news-right-box-full {
  background: rgba(26, 26, 26, 0.85);
  /* Ahora es siempre visible */
  padding: 55px 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  width: 65%;
  /* Un poco más ancho para mejor legibilidad */
  margin-left: auto;
  min-height: 550px;
  transition: all 0.5s ease;
}

.news-content-text {
  margin-bottom: 20px;
  text-align: center;
}

.news-text {
  font-size: 18px;
  line-height: 1.8;
  color: #f5f5f5 !important;
  margin-bottom: 20px;
}

.news-btn-wrapper {
  text-align: right;
  margin-top: 30px;
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.link-noticia-btn {
  display: inline-block;
  padding: 12px 30px;
  background: rgba(26, 26, 26, 0.85);
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 400;
  border-radius: 4px;
  transition: color 0.4s ease, background-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.link-noticia-btn:hover {
  color: #f9751c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 117, 28, 0.2);
}

/* Fila Inferior: Socios */
.partners-block {
  text-align: center;
}

/* Animaciones para transiciones de contenido */
@keyframes fadeInUpContent {
  from {
    opacity: 0;
    transform: translateY(15px);
    filter: blur(10px);
  }

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

@keyframes fadeOutContent {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.news-content-text.animate-in {
  animation: fadeInUpContent 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.news-content-text.animate-out {
  animation: fadeOutContent 0.4s ease forwards;
}

.partners-block h3 {
  font-size: 26px;
  margin-bottom: 35px;
  color: #1a1a1a;
}

.partners-grid-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  width: 100%;
  margin-top: -80px;
  position: relative;
  z-index: 10;
  margin-left: -21%;
}

.partner-btn {
  display: inline-block;
  padding: 18px 35px;
  background: rgba(26, 26, 26, 0.85);
  border: 1px solid rgba(26, 26, 26, 0.85);
  border-radius: 8px;
  color: #f5f5f5;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: color 0.3s, background-color 0.3s;
  cursor: pointer;
}

.partner-btn:hover {
  color: #f9751c;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(249, 117, 28, 0.3);
}

/* DISEÑO 5: Footer */
.footer-final {
  background: #1a1a1a;
  color: #fff;
  padding: 40px 0 20px;
  font-family: 'Arial', sans-serif;
  position: relative;
}

.footer-container {
  max-width: 1400px;
  margin: 0;
  padding: 0 40px;
  text-align: left;
}

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

/* Fila Superior */
.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
}

.footer-link-large {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 400;
  transition: color 0.3s;
}

.footer-link-large:hover {
  color: #f9751c;
}

.footer-portal-link a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  transition: color 0.3s;
  line-height: 1.3;
  display: inline-block;
  font-family: inherit;
  font-weight: normal;
}

/* Estilo para el texto ACER en el pie de página */
.footer-portal-link a span {
  font-family: 'Neo Sans', 'Arial', sans-serif !important;
  font-weight: 500 !important;
  font-size: 28px !important;
  /* Mismo tamaño que en el encabezado */
  text-transform: uppercase !important;
  /* Texto en mayúsculas */
  letter-spacing: 0.5px !important;
  color: #f7f6f2 !important;
  /* Mismo color que en el encabezado */
  text-decoration: underline !important;
  text-decoration-color: #f9751c !important;
}

/* Botón WhatsApp Circular */
.whatsapp-circle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s;
}

.whatsapp-circle-btn:hover {
  transform: scale(1.1);
}

.whatsapp-circle-btn img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Línea Divisoria */
.footer-divider {
  height: 2px;
  background: #444;
  width: 100%;
}

/* Fila Inferior */
.footer-bottom-row {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  /* Alinear abajo */
}

.footer-bottom-left {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-center {
  flex: 0 0 auto;
  display: flex;
  gap: 30px;
  margin-bottom: 10px;
  margin-left: 100px;
}

.footer-bottom-right {
  position: absolute;
  right: 200px;
  bottom: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.social-buttons-row {
  display: flex;
  gap: 15px;
  padding: 6px;
}

.social-rect-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #1a1a1a;
  border-radius: 8px;
  transition: all 0.3s;
  border: none;
}

.social-rect-btn img {
  width: 35px;
  height: 35px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.social-rect-btn:hover {
  background: #252525;
  transform: translateY(-2px);
}

.contact-mini-info {
  font-size: 12px;
  color: #f5f5f5;
  background: rgba(26, 26, 26, 0.75);
  border: 1px solid rgba(192, 192, 192, 0.65);
  border-radius: 8px;
  height: 50px;
  box-sizing: border-box;
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.contact-mini-info p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.2;
  color: #f5f5f5;
}

.social-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(26, 26, 26, 0.75);
  border-radius: 8px;
  transition: background 0.3s;
  border: 1px solid rgba(192, 192, 192, 0.35);
}

.social-links a:hover {
  background: #c0c0c0;
  border-color: #c0c0c0;
}

.social-links img {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
}

/* Centro: Legales - Override específico */
.footer-bottom-row .footer-bottom-center {
  display: flex;
  gap: 30px;
  margin-bottom: 10px;
  margin-left: 200px;
  position: relative;
  left: 0;
}

.footer-bottom-center a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid #f9751c;
  /* Subrayado naranja */
  padding-bottom: 2px;
  transition: color 0.3s;
}

.footer-bottom-center a:hover {
  color: #f9751c;
}

/* Derecha: Logo Grande */
.footer-logo-large {
  display: flex;
  align-items: center;
  gap: 0px;
  font-size: 54px;
  font-weight: 400;
  color: #fff;
}

/* Desktop mid-range (1280–1760 px): Igualar tamaño y layout al de 1920x1080 */



/* FORZAR ESCALADO DE 1920x1080 EN DESKTOP (1024px - 1919px) */
.desktop-scaled .footer-final,
.desktop-scaled .footer-design5 {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  padding: 40px 0 20px !important;
}

.desktop-scaled .footer-container {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
  width: 100% !important;
}

.desktop-scaled .footer-bottom-row {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  width: 100% !important;
  gap: 0 !important;
}

.desktop-scaled .footer-logo-large {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
}

.desktop-scaled .footer-logo-large img {
  height: 110px !important;
  width: auto !important;
}

.desktop-scaled .footer-logo-large span {
  font-size: 54px !important;
  margin-left: -35px !important;
  display: inline-block !important;
}

.desktop-scaled .footer-bottom-center {
  display: flex !important;
  flex-direction: row !important;
  gap: 30px !important;
  margin: 0 auto !important;
  width: auto !important;
}

.desktop-scaled .footer-bottom-center a {
  font-size: 14px !important;
  border-bottom: 1px solid #f9751c !important;
  padding-bottom: 2px !important;
}

.footer-logo-large img {
  height: 110px;
  /* Mismo tamaño que en el encabezado */
  margin: 0;
  padding: 0;
}

.footer-logo-large span {
  margin: 0;
  padding: 0;
  margin-left: -35px;
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 500;
  font-size: 34px;
  color: #f7f6f2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.3;
  text-decoration: none;
}

/* Responsive Footer */
/* Mobile Nav Styles */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
  padding: 0;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 320px;
  height: 100%;
  background: #1a1a1a;
  /* Opaque brand color */
  padding: 100px 40px 40px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(26, 26, 26, 0.5);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  display: flex;
  flex-direction: column;
}

.mobile-nav-overlay.active .mobile-nav-content {
  transform: translateX(0);
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.mobile-link {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.3s ease;
  font-family: 'Neo Sans', sans-serif;
}

.mobile-link:active {
  color: #f9751c;
}

.mobile-search {
  display: flex;
  gap: 10px;
  position: relative;
}

.mobile-search input {
  flex: 1;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 14px;
}

.mobile-search button {
  background: transparent;
  border: none;
  color: #fff;
  padding: 0 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-search button i {
  font-size: 18px;
  color: #f7f6f2;
}

.mobile-search button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #f9751c;
}

/* Panel de Resultados de Búsqueda */
.search-results-panel {
  position: absolute;
  top: 100%;
  right: 0;
  width: 300px;
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 8px;
  margin-top: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 2000;
  max-height: 400px;
  overflow-y: auto;
}

.search-results-panel.active {
  display: block;
}

.search-result-item {
  padding: 12px 15px;
  border-bottom: 1px solid #444;
  cursor: pointer;
  transition: background 0.2s;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: #3a3a3a;
}

.search-result-item h4 {
  color: whitesmoke;
  font-size: 14px;
  margin-bottom: 4px;
  margin-top: 0;
}

.search-result-item p {
  color: #ccc;
  font-size: 11px;
  line-height: 1.4;
  margin: 0;
}

.no-results-msg {
  padding: 15px;
  color: #999;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 900px) {
  .search-results-panel {
    width: 100%;
    left: 0;
    right: 0;
  }
}

/*
 * GUÍA DE TIPOGRAFÍA ACSER
 * Manual de Marcas - Estándar para todos los HTML del sitio
 * 
 * USAR ESTAS CLASES PARA CUALQUIER NUEVO CONTENIDO HTML
 */

/* =============================================
   FUENTES IMPORTADAS
   ============================================= */


/* =============================================
   FUENTES LOCALES
   ============================================= */
@font-face {
  font-family: 'Neo Sans';
  src: url('../fonts/neo-sans-w1g-medium_freefontdownload_org/neo-sans-w1g-medium.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Neo Sans';
  src: url('../fonts/neo-sans-w1g-bold-italic_freefontdownload_org/neo-sans-w1g-bold-italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Neo Sans';
  src: url('../fonts/neo-sans-w1g-light-italic_freefontdownload_org/neo-sans-w1g-light-italic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
}

/* =============================================
   1. TITULARES Y ENCABEZADOS
   Neo Sans W1 G (Bold o Semibold)
   24-48px en digitales
   ============================================= */

.titular-principal {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.2;
  color: #1a1a1a;
}

.titular-grande {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 42px;
  line-height: 1.2;
  color: #1a1a1a;
}

.titular-mediano {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 1.2;
  color: #1a1a1a;
}

.titular-chico {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.3;
  color: #1a1a1a;
}

.titular-base {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
  color: #1a1a1a;
}

/* Aplicación automática a etiquetas HTML estándar */
h1,
.h1 {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 42px;
  line-height: 1.2;
  color: #1a1a1a;
}

h2,
.h2 {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 1.2;
  color: #1a1a1a;
}

h3,
.h3 {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.3;
  color: #1a1a1a;
}

h4,
.h4 {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
  color: #1a1a1a;
}

h5,
.h5 {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.3;
  color: #1a1a1a;
}

h6,
.h6 {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
  color: #1a1a1a;
}

/* =============================================
   2. SUBTÍTULOS Y ELEMENTOS DESTACADOS
   Neo Sans W1 G (Medium o Regular)
   18-24px en digitales
   ============================================= */

.subtitulo-grande {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
  color: #1a1a1a;
}

.subtitulo-mediano {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  color: #1a1a1a;
}

.subtitulo-base {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: #1a1a1a;
}

/* Clases para elementos destacados */
.subtitle,
.highlight,
.news-subtitle,
.llamada {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: #1a1a1a;
}

/* =============================================
   3. TEXTO DE PÁRRAFO O CUERPO
   Open Sans o Lato (Regular o Semibold)
   14-16px en digitales
   ============================================= */

.parrafo-grande {
  font-family: 'Work Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.parrafo-base {
  font-family: 'Work Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

.parrafo-chico {
  font-family: 'Work Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* Clases para textos de párrafo */
p,
.paragraph-text,
.news-text,
.values-intro,
.descripcion-texto,
.cuerpo-texto {
  font-family: 'Work Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

/* =============================================
   4. INFORMACIÓN ADICIONAL / NOTAS
   Open Sans Light o Book
   12px o menor en digitales
   ============================================= */

.nota-grande {
  font-family: 'Work Sans', 'Arial', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

.nota-base {
  font-family: 'Work Sans', 'Arial', sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 1.4;
  color: #666;
}

.nota-chica {
  font-family: 'Work Sans', 'Arial', sans-serif;
  font-weight: 300;
  font-size: 11px;
  line-height: 1.3;
  color: #666;
}

/* Clases para información adicional */
.small-text,
.footer-link-small,
.stat-label,
.contact-mini-info,
.disclaimer,
.pie-nota {
  font-family: 'Work Sans', 'Arial', sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 1.4;
  color: #666;
}

/* =============================================
   5. NAVEGACIÓN Y BOTONES
   Neo Sans Medium/Semibold
   ============================================= */

.nav-texto {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
}

.boton-principal {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
}

.boton-secundario {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
}

.enlace-nav {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
}

/* =============================================
   6. ESTADÍSTICAS Y NÚMEROS DESTACADOS
   Neo Sans Bold para números
   ============================================= */

.numero-estadistica {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  color: #f9751c;
}

.numero-grande {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
  color: #f9751c;
}

.numero-mediano {
  font-family: 'Neo Sans', 'Arial', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.3;
  color: #f9751c;
}

/* =============================================
   7. CLASES UTILITARIAS
   Para uso rápido y consistente
   ============================================= */

/* Alineación de texto */
.texto-centro {
  text-align: center;
}

.texto-izquierda {
  text-align: left;
}

.texto-derecha {
  text-align: right;
}

/* Pesos de fuente */
.fuente-light {
  font-weight: 300;
}

.fuente-regular {
  font-weight: 400;
}

.fuente-medium {
  font-weight: 500;
}

.fuente-semibold {
  font-weight: 600;
}

.fuente-bold {
  font-weight: 700;
}

/* Colores de texto */
.texto-primario {
  color: #1a1a1a;
}

.texto-secundario {
  color: #555;
}

.texto-claro {
  color: #666;
}

.texto-blanco {
  color: #fff;
}

.texto-naranja {
  color: #f9751c;
}

/* =============================================
   8. EJEMPLOS DE USO
   Copiar y pegar para nuevos elementos HTML
   ============================================= */

/*
  TITULAR PRINCIPAL:
  <h1 class="titular-principal">Título Principal</h1>
  
  SUBTÍTULO:
  <h2 class="subtitulo-mediano">Subtítulo</h2>
  
  PÁRRAFO:
  <p class="parrafo-base">Texto de párrafo estándar</p>
  
  NOTA:
  <span class="nota-base">Información adicional</span>
  
  BOTÓN:
  <button class="boton-principal">Botón Principal</button>
  
  NÚMERO ESTADÍSTICO:
  <span class="numero-estadistica">24</span>
*/

/* =============================================
   9. RESPONSIVE
   Ajustes para dispositivos móviles
   ============================================= */
@media (max-width: 768px) {
  .titular-principal {
    font-size: 36px;
  }

  .titular-grande {
    font-size: 32px;
  }

  .titular-mediano {
    font-size: 28px;
  }

  .titular-chico {
    font-size: 24px;
  }

  .titular-base {
    font-size: 20px;
  }

  .subtitulo-grande {
    font-size: 20px;
  }

  .subtitulo-mediano {
    font-size: 18px;
  }

  .subtitulo-base {
    font-size: 16px;
  }

  .parrafo-grande {
    font-size: 15px;
  }

  .parrafo-base {
    font-size: 14px;
  }

  .parrafo-chico {
    font-size: 13px;
  }

  .nota-grande {
    font-size: 13px;
  }

  .nota-base {
    font-size: 12px;
  }

  .nota-chica {
    font-size: 11px;
  }
}

/* BOTÓN FLOTANTE DE NAVEGACIÓN */
.nav-float-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.7) !important;
  /* Negro carbón transparente */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: white;
  display: none !important;
  /* Oculto por defecto (mobile) */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(26, 26, 26, 0.3);
  z-index: 1999;
  border: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease-out forwards;
}

/* Solo visible en escritorio */
@media (min-width: 1920px) {
  .nav-float-button {
    display: flex !important;
  }
}

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

.nav-float-button i {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.nav-float-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 25px rgba(26, 26, 26, 0.4);
}

.nav-float-button:hover i {
  transform: rotate(15deg);
}

/* PANEL DE NAVEGACIÓN EMPRESARIAL - ACSER */

/* Forzar colores en todo el panel */
.nav-panel-overlay *::selection {
  background: #adadac !important;
  color: #fff !important;
}

.nav-panel-overlay * {
  -webkit-tap-highlight-color: transparent !important;
}

.nav-panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 26, 0);
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease-out, background 0.25s ease-out;
  will-change: opacity, background;
  overflow: hidden;
  padding: 0;
  margin: 0;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.nav-panel-overlay.active {
  display: block;
  opacity: 1;
  background: rgba(26, 26, 26, 0.7);
  pointer-events: auto;
}

.nav-panel-content {
  background: rgba(26, 26, 26, 0.98);
  width: 90%;
  max-width: 800px;
  min-width: 280px;
  max-height: 85vh;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate3d(-50%, -100%, 0);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.15s ease, width 0.25s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none;
  will-change: transform, opacity;
  backface-visibility: hidden;
  perspective: 1000px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 15px 50px rgba(26, 26, 26, 0.4);
  opacity: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2001;
  contain: layout style paint;
}

.nav-panel-overlay.active .nav-panel-content {
  transform: translate3d(-50%, 0, 0);
  opacity: 1;
  margin: 0 auto;
}

.nav-panel-overlay.active .nav-panel-close {
  opacity: 1;
  visibility: visible;
}

.nav-panel-close {
  position: fixed;
  top: 12px;
  right: 15px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 20px;
  color: #f7f6f2;
  /* blanco humo */
  cursor: pointer;
  z-index: 2002;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease-in-out;
  opacity: 0.8;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.nav-panel-close:hover {
  background: rgba(255, 255, 255, 0.25);
  opacity: 1;
}

.nav-panel-header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  padding: 25px 40px 20px;
  text-align: left;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 2px 10px rgba(26, 26, 26, 0.2);
}

.nav-panel-header h2 {
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  margin: 0 0 8px 0;
  font-family: 'Neo Sans', 'Arial', sans-serif;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.nav-panel-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: #adadac;
}

.nav-panel-header p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 8px 0 0;
  font-weight: 300;
  font-family: 'Work Sans', 'Arial', sans-serif;
  line-height: 1.5;
}

.nav-panel-body {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  width: 100%;
  flex-direction: row;
  position: relative;
}

/* Logo watermark SOLO en la parte gris (área derecha) - Ocupando todo el espacio */
.nav-panel-body::after {
  content: '';
  position: absolute;
  top: 0;
  left: 200px;
  /* Comienza exactamente donde termina el sidebar */
  width: calc(100% - 200px);
  /* Ocupa todo el resto del ancho */
  height: 100%;
  /* Ocupa toda la altura */
  transform: none;
  background-image: url('../Images/panel de navegacion/Logotipo Negativo Naranja.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 85%;
  /* Gigante para llenar el espacio */
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Logo desaparece cuando hay una sección activa */
.nav-panel-body:has(.nav-panel-section.active)::after {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
}

.nav-panel-sidebar {
  width: 200px;
  min-width: 200px;
  background: #121212;
  overflow-y: auto;
  padding: 15px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  padding: 25px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.nav-panel-sidebar::-webkit-scrollbar {
  width: 6px;
}

.nav-panel-sidebar::-webkit-scrollbar-track {
  background: rgba(26, 26, 26, 0.1);
}

.nav-panel-sidebar::-webkit-scrollbar-thumb {
  background-color: #adadac;
  border-radius: 3px;
}

.nav-panel-main {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  width: calc(100% - 200px);
  background: rgba(30, 30, 30, 0.95);
  opacity: 0;
  transform: translate3d(30px, 0, 0);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.nav-panel-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(40, 40, 40, 0.9) 100%);
  z-index: -1;
  opacity: 0.95;
}

.nav-panel-main.active {
  flex: 1;
  width: auto;
  overflow-y: auto;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  padding: 25px 30px;
}

.nav-panel-main::-webkit-scrollbar {
  width: 6px;
}

.nav-panel-main::-webkit-scrollbar-track {
  background: rgba(26, 26, 26, 0.1);
}

.nav-panel-main::-webkit-scrollbar-thumb {
  background-color: #adadac;
  border-radius: 3px;
}

.nav-panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border-radius: 8px;
  overflow: hidden;
  background: #0d0d0d;
  min-height: 100%;
}

.nav-sidebar-item {
  padding: 16px 20px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  background: transparent;
  position: relative;
  overflow: hidden;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 0;
  margin: 0;
  font-family: 'Work Sans', 'Arial', sans-serif;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.3px;
  will-change: border-left-color, background;
}



.nav-sidebar-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(173, 173, 172, 0.08), rgba(173, 173, 172, 0.15));
  transition: width 0.3s ease;
  z-index: 0;
  opacity: 0;
}

.nav-sidebar-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  border-left-color: rgba(173, 173, 172, 0.4);
}

.nav-sidebar-item:hover::before {
  width: 100%;
  opacity: 1;
}



.nav-sidebar-item.active {
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid #adadac;
  color: #fff;
  font-weight: 400;
}



.nav-sidebar-item.active::before {
  background: linear-gradient(90deg, rgba(173, 173, 172, 0.1), rgba(173, 173, 172, 0.18));
  width: 100%;
  opacity: 1;
}

.nav-sidebar-item:hover {
  background: rgba(26, 26, 26, 0.6);
  border-left-color: #555;
  color: #ddd !important;
  transform: translateX(4px);
}

.nav-sidebar-item.active {
  background: linear-gradient(90deg, rgba(173, 173, 172, 0.12), rgba(26, 26, 26, 0.8));
  border-left-color: #adadac;
  color: #f7f6f2 !important;
  box-shadow: inset 0 0 15px rgba(173, 173, 172, 0.08);
}

.nav-sidebar-item:active {
  color: #aaa !important;
}

.nav-sidebar-item:active:hover {
  color: #ddd !important;
}

.nav-sidebar-item.active:active {
  color: #f7f6f2 !important;
}

.nav-panel-section {
  background: #1a1a1a;
  padding: 25px;
  border-radius: 12px;
  transition: background 0.2s ease;
  position: relative;
  display: none;
  min-height: 200px;
  z-index: 1;
}

.nav-panel-section.active {
  display: block;
}

.nav-panel-section:hover {
  background: #1a1a1a;
}

.nav-panel-section h3 {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 18px 0;
  font-family: 'Work Sans', 'Arial', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #adadac;
}



.nav-panel-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-panel-section li {
  margin: 0;
}

.nav-panel-section a {
  display: block;
  color: #aaa;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  padding: 10px 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  position: relative;
  min-height: 38px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.nav-panel-section a:hover {
  background: rgba(42, 42, 42, 0.5);
  color: #adadac;
  border-left-color: #adadac;
  padding-left: 16px;
}

.nav-panel-section a:active {
  color: #adadac;
}

/* Cards Grid para productos */
.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.product-card {
  background: rgba(42, 42, 42, 0.6);
  border: 2px solid rgba(51, 51, 51, 0.5);
  border-radius: 8px;
  padding: 16px 12px;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #adadac;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card:hover {
  background: linear-gradient(135deg, rgba(173, 173, 172, 0.12), rgba(51, 51, 51, 0.8));
  border-color: #adadac;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(173, 173, 172, 0.3);
}

.product-card-title {
  font-size: 11px;
  font-weight: 600;
  color: #ddd !important;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.product-card:hover .product-card-title {
  color: #adadac !important;
}

.product-card:active .product-card-title,
.product-card:focus .product-card-title,
.product-card:visited .product-card-title {
  color: #ddd !important;
}

.product-card:active:hover .product-card-title {
  color: #adadac !important;
}

.product-category-title {
  font-size: 12px;
  font-weight: 700;
  color: #999;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #333;
}

.product-category {
  margin-bottom: 20px;
}

.product-category:last-child {
  margin-bottom: 0;
}

/* Scroll suave profesional */
.nav-panel-sidebar,
.nav-panel-main {
  scroll-behavior: smooth;
}

/* Scrollbar personalizada */
.nav-panel-sidebar::-webkit-scrollbar,
.nav-panel-main::-webkit-scrollbar {
  width: 8px;
}

.nav-panel-sidebar::-webkit-scrollbar-track,
.nav-panel-main::-webkit-scrollbar-track {
  background: #0d0d0d;
}

.nav-panel-sidebar::-webkit-scrollbar-thumb,
.nav-panel-main::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.nav-panel-sidebar::-webkit-scrollbar-thumb:hover,
.nav-panel-main::-webkit-scrollbar-thumb:hover {
  background: #adadac;
}

/* Moved from index.html inline styles */
.nav-sidebar-item {
  color: #aaa !important;
}

.nav-sidebar-item:hover {
  color: #ddd !important;
}

.nav-sidebar-item.active {
  color: #f7f6f2 !important;
}

.nav-sidebar-item:active {
  color: #f7f6f2 !important;
}

/* ===== OPTIMIZACIONES DE PERFORMANCE ===== */

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* GPU acceleration */
.hero,
.service-card,
.news-card,
.channel-card,
.stat-card {
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

/* Optimizar imágenes */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Reducir animaciones pesadas */
@media (max-width: 1023px) {
  * {
    animation-duration: 0.2s !important;
    transition-duration: 0.2s !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Smooth scroll nativo en móvil */
@media (max-width: 1023px) {
  html {
    scroll-behavior: smooth;
  }
}

/* ============================================
   RESPONSIVE OPTIMIZADO - TODOS LOS DISPOSITIVOS
   Mobile First Approach
   ============================================ */

:root {
  --site-padding: 5%;
  --border-offset: 40px;
  --border-width: 3px;
  --border-length: 250px;
}

/* Tablet (1024px) */
@media (max-width: 1023px) {

  /* Hero Index Mobile */
  .hero-final {
    height: auto !important;
    min-height: 80vh !important;
    padding: 100px 15px 40px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    background-position: center center !important;
  }

  .hero-content-final {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: auto !important;
    padding-bottom: 20px !important;
  }

  .hero-content-final h1 {
    font-size: 1.8rem !important;
    padding: 30px 20px !important;
    max-width: 90% !important;
  }

  :root {
    --site-padding: 30px;
    --border-offset: 25px;
    --border-length: 180px;
  }

  .product-section-page {
    padding: 60px var(--site-padding) !important;
    min-height: auto !important;
  }

  /* Ajuste de grids generales */
  .cat-layout,
  .hero-grid,
  .zigzag-flow .row-item,
  .clavos-layout {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* Reset de anchos para cajas que eran parciales */
  .img-box,
  .text-box,
  .text-box.wide-text,
  .img-box.small-img,
  .clavos-images,
  .clavos-list {
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  .right-aligned {
    text-align: left !important;
  }

  .shifted-down {
    margin-top: 0 !important;
  }

  /* Asegurar que la imagen siempre vaya primero en el zigzag */
  .row-item.right {
    flex-direction: column !important;
  }

  .row-item .img-box {
    order: -1 !important;
  }

  /* Reset de bordes para tablet */
  .border-tr::before,
  .border-bl::before,
  .border-tl::before,
  .border-br::before,
  .product-section-page.border-vl::before {
    width: var(--border-length) !important;
    top: var(--border-offset) !important;
    right: var(--border-offset) !important;
    left: auto !important;
    display: block !important;
  }

  .border-bl::before,
  .border-br::before {
    top: auto !important;
    bottom: var(--border-offset) !important;
  }

  .border-bl::before,
  .border-tl::before,
  .product-section-page.border-vl::before {
    right: auto !important;
    left: var(--border-offset) !important;
  }

  /* Corte y Doblado - Borde horizontal largo mantenido en Tablet */
  .product-section-page:nth-of-type(4).border-vl::before {
    width: auto !important;
    top: auto !important;
    bottom: var(--border-offset) !important;
    left: var(--border-offset) !important;
    right: var(--border-offset) !important;
    display: block !important;
  }

  .border-tr::after,
  .border-bl::after,
  .border-tl::after,
  .border-br::after,
  .border-vr::after,
  .border-vl::after,
  .product-section-page:nth-of-type(4).border-vl::after {
    height: var(--border-length) !important;
    top: var(--border-offset) !important;
    right: var(--border-offset) !important;
    left: auto !important;
    display: block !important;
  }

  .border-bl::after,
  .border-br::after {
    top: auto !important;
    bottom: var(--border-offset) !important;
  }

  .border-bl::after,
  .border-vl::after,
  .product-section-page:nth-of-type(4).border-vl::after {
    right: auto !important;
    left: var(--border-offset) !important;
  }

  /* Hero Tablet */
  .page-hero {
    height: auto !important;
    min-height: 90vh !important;
    padding: 100px var(--site-padding) 60px !important;
  }

  .hero-title-quote::before,
  .hero-title-quote::after {
    display: none !important;
  }

  .hero-title-quote,
  .hero-description-card {
    height: auto !important;
    max-width: 100% !important;
    padding: 100px var(--site-padding) 40px !important;
    background: rgba(26, 26, 26, 0.7) !important;
  }

  /* Corte y Doblado Tablet - Ajuste para que no sea absolute */
  .cat-layout {
    position: relative !important;
  }

  .video-box-doblado {
    width: 100% !important;
    height: 500px !important;
    /* Aumentado de 400px para evitar corte de video */
    margin-bottom: 120px !important;
    /* Espacio para el texto flotante */
    position: relative !important;
    order: 1 !important;
    background: #000 !important;
    border-radius: 20px !important;
    overflow: visible !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .video-container-bg {
    position: absolute !important;
    /* Cambiado a absolute para que object-fit funcione bien */
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 20px !important;
    z-index: 1 !important;
  }

  .video-overlay-dark {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(26, 26, 26, 0.3) !important;
    z-index: 2 !important;
    border-radius: 20px !important;
  }

  .text-floating-glass {
    position: absolute !important;
    bottom: -90px !important;
    /* Ajustado para flotar mejor */
    left: 30px !important;
    right: 30px !important;
    margin: 0 !important;
    width: auto !important;
    order: 2 !important;
    background: rgba(26, 26, 26, 0.8) !important;
    z-index: 10 !important;
    padding: 30px !important;
    border-radius: 15px !important;
    top: auto !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 15px 35px rgba(26, 26, 26, 0.4) !important;
    color: white !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }

  .buttons-vertical-stack {
    order: 3 !important;
    margin-top: 50px !important;
    /* Aumentado para dar aire después del texto flotante */
    padding: 0 var(--site-padding) !important;
    gap: 12px !important;
  }

  /* Header Index Tablet */
  .header-final {
    padding: 10px 0 !important;
    background: #1a1a1a !important;
  }

  .header-container {
    padding: 0 var(--site-padding) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .logo-final span {
    font-size: 1.5rem !important;
  }

  .desktop-nav,
  .nav-right {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  /* Modales responsivos */
  .modal-content {
    width: 95% !important;
    padding: 20px !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
  }

  /* FIXES PARA PRODUCTOS - CATALOGOS TABLET */
  .btn-catalogo-float {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 350px !important;
    margin: 40px auto 10px !important;
    /* Centrado con espacio */
    display: block !important;
    text-align: center !important;
    padding: 16px 30px !important;
    box-shadow: 0 10px 20px rgba(26, 26, 26, 0.15) !important;
  }

  .grid-buttons {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .grid-buttons.one-column {
    grid-template-columns: 1fr !important;
  }

  .clavos-images {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 15px !important;
    order: -1 !important;
    /* Imágenes arriba en tablet */
    margin-bottom: 20px !important;
  }

  .clavos-images img {
    width: 30% !important;
    max-width: 180px !important;
    height: auto !important;
  }

  .clavos-images .btn-catalogo-float {
    order: 10 !important;
    /* El botón de esta sección al final */
    width: 100% !important;
    margin-top: 20px !important;
  }

  .img-box.full-width img {
    height: 350px !important;
    /* Reducido para tablet */
  }

  /* ============================================
       INDEX SPECIFIC - TABLET
       ============================================ */

  /* Header Index Tablet */
  .header-final {
    padding: 10px 0 !important;
    background: #1a1a1a !important;
    height: auto !important;
  }

  .header-container {
    padding: 0 var(--site-padding) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 70px !important;
  }

  .logo-final {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
  }

  .logo-final img {
    height: 50px !important;
    width: auto !important;
  }

  .logo-final span {
    font-size: 1.4rem !important;
    margin-left: -20px !important;
  }

  .desktop-nav,
  .nav-right {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  /* Hero Index */
  .hero-final {
    height: auto !important;
    min-height: 70vh !important;
    padding: 120px var(--site-padding) 60px !important;
    display: flex !important;
    flex-direction: column !important;
    /* Asegurar dirección columna */
    align-items: center !important;
    justify-content: flex-end !important;
    /* Forzar al fondo */
    background-attachment: scroll !important;
    background-position: center !important;
    margin-top: 70px !important;
  }

  .hero-content-final {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: auto !important;
    /* Pushes content to the bottom */
    padding-bottom: 20px !important;
  }

  .hero-content-final {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: auto !important;
    padding-bottom: 20px !important;
  }

  .hero-content-final h1 {
    font-size: 2.5rem !important;
    width: auto !important;
    max-width: 85% !important;
    padding: 45px 35px !important;
    text-align: center !important;
    line-height: 1.2 !important;
    background: rgba(26, 26, 26, 0.7) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 15px !important;
    border-left: 5px solid #f9751c !important;
    border-bottom: 5px solid #f9751c !important;
    margin: 0 !important;
    box-shadow: 0 15px 35px rgba(26, 26, 26, 0.3) !important;
  }

  /* Industries Section */
  .industries-section {
    padding: 80px 0 !important;
  }

  .industries-section {
    padding: 60px 0 !important;
  }

  .industries-section {
    padding: 60px 0 !important;
  }

  .industries-container {
    padding: 0 var(--site-padding) !important;
  }

  .industries-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
  }

  .industry-buttons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    margin-bottom: 10px !important;
  }

  .industry-btn {
    flex: 0 1 auto !important;
    min-width: 140px !important;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
    height: auto !important;
  }

  .industries-main {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
  }

  .industries-images {
    height: auto !important;
    min-height: 350px !important;
    width: 100% !important;
    position: relative !important;
    border-radius: 15px !important;
    overflow: visible !important;
    order: 1 !important;
  }

  .industry-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 350px !important;
    border-radius: 15px !important;
    overflow: hidden !important;
  }

  .industry-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  /* Barra de Estadísticas - Tablet 3x2 */
  .stats-bar {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    margin-top: 370px !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    padding: 30px 25px !important;
    background: #1a1a1a !important;
    border-radius: 20px !important;
    z-index: 20 !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 15px 40px rgba(26, 26, 26, 0.3) !important;
  }

  .stat-item {
    flex: none !important;
    width: 100% !important;
    text-align: center !important;
    padding: 10px !important;
  }

  .stat-item:nth-child(n+4) {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-top: 20px !important;
  }

  .stat-item:last-child {
    grid-column: span 1 !important;
  }

  .stat-number {
    font-size: 2rem !important;
    margin-bottom: 5px !important;
    color: #f9751c !important;
  }

  .stat-label {
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: rgba(255, 255, 255, 0.8) !important;
  }

  .industries-descriptions {
    order: 2 !important;
    width: 100% !important;
    min-height: auto !important;
    margin: 0 !important;
    position: relative !important;
  }

  .industries-descriptions::before {
    display: none !important;
  }

  .description-box {
    position: relative !important;
    opacity: 0 !important;
    display: none !important;
    padding: 35px !important;
    background: rgba(26, 26, 26, 0.85) !important;
    border-radius: 15px !important;
    width: 100% !important;
    border-left: 5px solid #f9751c !important;
    box-shadow: 0 10px 30px rgba(26, 26, 26, 0.3) !important;
  }

  .description-box.active {
    opacity: 1 !important;
    display: block !important;
  }

  .description-box p {
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
    margin: 0 !important;
    color: #fff !important;
  }

  .contact-button-container {
    justify-content: center !important;
    padding: 0 !important;
    margin-top: 30px !important;
  }

  /* Values Section */
  .values-section {
    padding: 80px 0 !important;
  }

  .values-container {
    padding: 0 var(--site-padding) !important;
  }

  .values-content-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 50px !important;
  }

  .values-center-col {
    order: 1 !important;
    height: auto !important;
    min-height: 350px !important;
    width: 100% !important;
    position: relative !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    display: flex !important;
    justify-content: center !important;
  }

  .values-center-col img {
    max-width: 100% !important;
    height: auto !important;
    max-height: 450px !important;
    object-fit: contain !important;
    border-radius: 15px !important;
  }

  .values-left-col {
    order: 2 !important;
    border: none !important;
    padding: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 25px !important;
  }

  .values-left-col::before {
    display: none !important;
  }

  .values-title-box {
    width: 100% !important;
    max-width: 100% !important;
    padding: 35px !important;
    background: rgba(26, 26, 26, 0.85) !important;
    border-radius: 15px !important;
    border-left: 5px solid #f9751c !important;
  }

  .values-title-box h2 {
    font-size: 1.6rem !important;
    line-height: 1.4 !important;
  }

  .values-intro-box {
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    padding: 30px !important;
    background: rgba(26, 26, 26, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    display: block !important;
    border-radius: 15px !important;
  }

  .values-intro {
    color: #fff !important;
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
  }

  .values-btn-container {
    display: flex !important;
    justify-content: center !important;
    margin-top: 10px !important;
  }

  .values-right-col {
    order: 3 !important;
    width: 100% !important;
    transform: none !important;
    margin: 0 !important;
    position: relative !important;
  }

  .values-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 15px !important;
  }

  .value-card {
    width: 100% !important;
    margin: 0 !important;
    padding: 20px !important;
    background: rgba(26, 26, 26, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 15px rgba(26, 26, 26, 0.03) !important;
    border-radius: 12px !important;
  }

  .value-card h3 {
    color: #fff !important;
    font-size: 1rem !important;
    text-align: center !important;
  }

  .value-card.active {
    background: rgba(26, 26, 26, 0.85) !important;
    border-color: #f9751c !important;
  }

  .value-card.active h3 {
    color: #f9751c !important;
  }

  /* News Section */
  .news-section {
    padding: 80px 0 !important;
  }

  .news-section::before,
  .news-section::after {
    display: none !important;
  }

  .news-main-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
  }

  .news-left-column {
    width: 100% !important;
  }

  .news-left-box {
    width: 100% !important;
    padding: 35px !important;
    background: rgba(26, 26, 26, 0.85) !important;
    border-radius: 15px !important;
    border-left: 5px solid #f9751c !important;
  }

  .news-video-placeholder {
    width: 100% !important;
    height: 350px !important;
    margin-top: 25px !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    position: relative !important;
  }

  .news-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .news-right-column {
    width: 100% !important;
  }

  .news-right-box-full {
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    margin: 0 !important;
    padding: 35px !important;
    background: rgba(26, 26, 26, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 15px rgba(26, 26, 26, 0.3) !important;
    border-radius: 15px !important;
  }

  .news-text {
    color: #f5f5f5 !important;
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
  }

  .partners-grid-buttons {
    margin: 30px 0 0 0 !important;
    justify-content: center !important;
    gap: 12px !important;
  }

  .partner-btn {
    min-width: 150px !important;
    padding: 12px 18px !important;
  }

  /* Header & Nav Tablet */
  .simple-header,
  .fixed-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    height: 70px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .back-button,
  .back-btn {
    display: flex !important;
    align-items: center !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
  }

  .flecha-retorno {
    height: 25px !important;
    width: auto !important;
  }

  .logo-img {
    height: 35px !important;
    margin-right: 10px !important;
  }

  .nav-inner {
    padding: 0 !important;
    width: 100% !important;
  }

  .desktop-nav {
    gap: 15px !important;
  }

  .search-box-header {
    width: 180px !important;
    /* Ancho fijo para evitar saltos */
  }

  .search-box-header input {
    width: 100% !important;
    font-size: 13px !important;
    padding: 8px 12px !important;
  }

  /* Footer Tablet */
  .footer-design5,
  .footer-productos-page,
  footer {
    flex-direction: column !important;
    gap: 40px !important;
    padding: 50px 20px !important;
    align-items: center !important;
    text-align: center !important;
  }

  .footer-top-row {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 30px !important;
    width: 100% !important;
    text-align: center !important;
  }

  .footer-link-large {
    font-size: 1.1rem !important;
  }

  .footer-bottom-row,
  .footer-container {
    flex-direction: column !important;
    gap: 35px !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .footer-bottom-left,
  .footer-bottom-center,
  .footer-bottom-right,
  .footer-logo,
  .footer-nav-links,
  .footer-copy {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    position: static !important;
    text-align: center !important;
  }

  .footer-logo-large {
    justify-content: center !important;
    margin-left: 0 !important;
    width: 100% !important;
  }

  .footer-logo-large span {
    margin-left: 10px !important;
    /* Corregido: margen positivo para separar logo de texto */
    font-size: 2.2rem !important;
  }

  .footer-logo-large img {
    height: 80px !important;
  }

  .footer-nav-links {
    flex-direction: row !important;
    gap: 20px !important;
    margin-top: 10px !important;
  }

  .contact-mini-info {
    height: auto !important;
    padding: 10px 15px !important;
  }

  .social-buttons-row {
    justify-content: center !important;
    margin-bottom: 15px !important;
  }

  .footer-bottom-center {
    flex-direction: row !important;
    gap: 20px !important;
  }

  .footer-bottom-left {
    width: 100% !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 30px !important;
    align-items: center !important;
  }

  .footer-bottom-center {
    width: 100% !important;
    margin: 0 !important;
    justify-content: center !important;
    gap: 40px !important;
  }

  .footer-bottom-center a {
    font-size: 1rem !important;
  }

  .footer-bottom-right {
    position: static !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 20px !important;
  }

  /* Especial para el borde largo de Corte y Doblado en Tablet */
  .product-section-page:nth-of-type(4).border-vl::after {
    height: calc(100% - (var(--border-offset) * 2)) !important;
  }

  /* ============================================
       CONTENT PAGES (Nosotros, Historia, etc.) - TABLET
       ============================================ */
  .content-page {
    padding-top: 70px !important;
  }

  .hero-content {
    height: 300px !important;
  }

  .hero-content h1 {
    font-size: 2.2rem !important;
    padding: 0 20px !important;
  }

  .content-section {
    padding: 60px var(--site-padding) !important;
  }

  .text-content {
    max-width: 100% !important;
  }

  .values-grid,
  .download-section {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 20px !important;
  }

  .download-card {
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    padding: 25px !important;
    border-radius: 12px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
  }

  .download-card h3 {
    font-size: 1.1rem !important;
    margin-bottom: 10px !important;
    color: #1a1a1a !important;
  }

  /* Quiénes Somos Tablet */
  .mvvp-section .container {
    padding-left: var(--site-padding) !important;
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  .grid-mvvp {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    transform: none !important;
    margin-left: 0 !important;
    justify-content: center !important;
  }

  .message-box {
    margin: 20px auto 0 !important;
    max-width: 100% !important;
    position: relative !important;
  }

  .message-box::before {
    display: none !important;
  }

  .hero-video-section {
    height: 450px !important;
  }

  .intro-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
    margin-top: 30px !important;
  }

  .company-card {
    margin: 0 auto !important;
    padding: 30px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
  }

  .company-card:first-child,
  .company-card:last-child {
    margin-left: 0 !important;
    margin-top: 0 !important;
  }

  .company-intro-section {
    min-height: auto !important;
    padding: 60px var(--site-padding) !important;
  }

  .ethics-header {
    flex-direction: column !important;
    gap: 30px !important;
  }

  .ethics-quote {
    width: 100% !important;
    margin: 0 !important;
    padding: 40px !important;
    min-height: auto !important;
    order: 2 !important;
  }

  .ethics-quote::before {
    display: none !important;
  }

  .ethics-top-quote {
    margin: 0 0 30px 0 !important;
    transform: none !important;
    max-width: 100% !important;
  }

  .ethics-right-content {
    width: 100% !important;
    order: 1 !important;
  }

  .ethics-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    padding-left: 0 !important;
    justify-content: center !important;
  }

  .split-layout {
    flex-direction: column !important;
    gap: 40px !important;
  }

  .commitment-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    width: 100% !important;
  }

  .bottom-commitment-box {
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    margin-top: 30px !important;
    padding: 20px !important;
  }

  .section-modal {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;
    width: 92% !important;
    max-width: 380px !important;
    height: auto !important;
    max-height: 85vh !important;
    padding: 45px 25px 30px !important;
    z-index: 10000 !important;
    overflow-y: auto !important;
    box-shadow: 0 20px 50px rgba(26, 26, 26, 0.8) !important;
    border: 2px solid #f9751c !important;
    background: rgba(26, 26, 26, 0.98) !important;
    border-radius: 20px !important;
  }

  .modal-close {
    top: 15px !important;
    right: 15px !important;
    width: 35px !important;
    height: 35px !important;
    font-size: 18px !important;
  }

  .modal-border {
    display: none !important;
  }

  /* Puntos de Venta Tablet */
  .map-content {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }

  .map-sidebar {
    border-right: none !important;
    border-bottom: 1px solid #e9ecef !important;
    max-height: 400px !important;
  }

  .hero-stats {
    gap: 2rem !important;
  }

  .contact-cards {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* ============================================
       NOSOTROS FOLDER - TABLET
       ============================================ */
  .mvvp-section .container {
    padding-left: var(--site-padding) !important;
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  .grid-mvvp {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    transform: none !important;
    margin-left: 0 !important;
    justify-content: center !important;
  }

  .card-mvvp-btn {
    width: 100% !important;
  }

  .section-image {
    margin-left: 0 !important;
    text-align: center !important;
  }

  .section-image img {
    max-width: 100% !important;
  }

  .message-box {
    margin-left: 0 !important;
    max-width: 100% !important;
    margin-top: 20px !important;
  }

  .company-intro-section {
    min-height: auto !important;
    background-size: cover !important;
  }

  .intro-grid {
    margin-top: 30px !important;
    gap: 20px !important;
  }

  .company-card:first-child,
  .company-card:last-child {
    margin-left: 0 !important;
    margin-top: 0 !important;
    width: 100% !important;
    padding: 30px 20px !important;
  }

  .ethics-top-quote {
    margin-left: 0 !important;
    max-width: 100% !important;
    transform: none !important;
  }

  .ethics-quote {
    padding: 40px 20px !important;
    margin-left: 0 !important;
    min-height: auto !important;
  }

  .ethics-quote::before {
    display: none !important;
  }

  .ethics-grid {
    padding-left: 0 !important;
    justify-content: center !important;
  }

  .community-section {
    padding: 60px 0 !important;
  }

  .split-layout.reverse {
    flex-direction: column !important;
  }

  .split-image {
    padding: 0 !important;
    transform: none !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .image-with-info {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
  }

  .image-with-info img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    border-radius: 12px !important;
    margin: 0 !important;
  }

  .commitment-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
    margin-bottom: 25px !important;
    padding: 0 !important;
  }

  .commitment-btn {
    width: 100% !important;
    white-space: normal !important;
    font-size: 0.85rem !important;
    padding: 12px 10px !important;
    min-height: 70px !important;
    line-height: 1.3 !important;
    background: rgba(26, 26, 26, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .info-panel {
    width: 90% !important;
    max-width: 380px !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    height: auto !important;
    max-height: 85vh !important;
    z-index: 11000 !important;
    background: rgba(26, 26, 26, 0.9) !important;
    border: 2px solid #f9751c !important;
    padding: 45px 25px 30px !important;
    border-radius: 15px !important;
    box-shadow: 0 25px 60px rgba(26, 26, 26, 0.8) !important;
    overflow-y: auto !important;
  }

  .info-panel:not(.hidden) {
    right: auto !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .bottom-commitment-box {
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    margin-top: 30px !important;
    padding: 25px 20px !important;
    background: rgba(26, 26, 26, 0.9) !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }

  .bottom-commitment-box p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
  }

  .border-container,
  .modal-border {
    display: none !important;
  }

  /* Clientes Page - Tablet */
  .clientes-intro-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .clientes-image img {
    height: 350px !important;
    width: 100% !important;
    object-fit: cover !important;
  }

  .left-column .text-box {
    position: static !important;
    width: 100% !important;
    margin-top: 20px !important;
  }

  .text-box.small {
    margin-top: 30px !important;
    width: 100% !important;
    align-self: center !important;
  }

  .mapa-wrapper {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .mapa-container iframe {
    height: 450px !important;
  }

  .mapa-y-botones {
    flex-direction: column !important;
    align-items: center !important;
    gap: 30px !important;
  }

  .botones-filtrado {
    margin: 0 !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 15px !important;
    width: 100% !important;
  }

  /* Contact Page - Tablet */
  .contact-cover-hero {
    height: auto !important;
    min-height: 80vh !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .hero-quote-container {
    justify-content: center !important;
    padding-right: 0 !important;
    margin-top: 40px !important;
  }

  .hero-quote-box {
    max-width: 85% !important;
    padding: 35px !important;
    margin: 0 auto !important;
  }

  .hero-quote-box p {
    font-size: 1.2rem !important;
  }

  .contact-bottom-nav {
    padding: 30px !important;
    gap: 20px !important;
  }

  /* Inversores Page - Tablet */
  .inversores-vision,
  .inversores-project {
    height: auto !important;
    min-height: 100vh !important;
    padding: 100px 0 !important;
  }

  .relative-content {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    padding: 40px 20px !important;
  }

  .vision-card,
  .collaboration-card,
  .project-card {
    max-width: 90% !important;
    margin: 0 auto !important;
    position: relative !important;
    float: none !important;
    grid-column: 1 !important;
  }

  .vision-card::before,
  .project-card::before,
  .collaboration-card::before {
    display: none !important;
    /* Quitar líneas decorativas que se rompen */
  }

  .video-container-centered {
    grid-column: 1 !important;
    height: auto !important;
    margin-top: 30px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  .inversores-video {
    width: 100% !important;
    max-width: 800px !important;
    height: auto !important;
    max-height: 60vh !important;
  }

  .video-container-centered .navigation-bar-bottom {
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    margin-top: 30px !important;
    justify-content: center !important;
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
  }
}

/* Mobile (768px) */
@media (max-width: 768px) {
  :root {
    --site-padding: 20px;
    --border-offset: 15px;
    --border-length: 100px;
  }

  .product-section-page {
    padding: 50px var(--site-padding) !important;
  }

  /* Hero específico para mobile */
  .page-hero {
    height: auto !important;
    min-height: 80vh !important;
    padding: 120px var(--site-padding) 60px !important;
  }

  .hero-title-quote {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0 !important;
    padding: 60px 20px 20px !important;
  }

  .hero-description-card {
    padding: 40px 20px 60px !important;
    font-size: 0.95rem !important;
  }

  /* ============================================
       INDEX SPECIFIC - MOBILE
       ============================================ */

  /* Header Index Mobile */
  .header-final {
    padding: 5px 0 !important;
    background: #1a1a1a !important;
  }

  .header-container {
    height: 60px !important;
    padding: 0 15px !important;
  }

  .logo-final img {
    height: 40px !important;
  }

  .logo-final span {
    font-size: 1.1rem !important;
    margin-left: -12px !important;
  }

  /* Hero Index Mobile */
  .hero-final {
    height: auto !important;
    min-height: 70vh !important;
    padding: 100px var(--site-padding) 50px !important;
    display: flex !important;
    flex-direction: column !important;
    /* Asegurar dirección columna */
    align-items: center !important;
    justify-content: flex-end !important;
    /* Forzar al fondo */
    margin-top: 60px !important;
    background-attachment: scroll !important;
  }

  .hero-content-final {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: auto !important;
    padding-bottom: 30px !important;
  }

  .hero-content-final h1 {
    font-size: 1.8rem !important;
    padding: 30px 20px !important;
    border-radius: 12px !important;
    max-width: 90% !important;
    line-height: 1.3 !important;
    border-left: 4px solid #f9751c !important;
    border-bottom: 4px solid #f9751c !important;
    background: rgba(26, 26, 26, 0.7) !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: 0 10px 25px rgba(26, 26, 26, 0.4) !important;
  }

  /* Corte y Doblado Mobile */
  .video-box-doblado {
    width: 100% !important;
    height: 350px !important;
    margin-bottom: 120px !important;
    position: relative !important;
    order: 1 !important;
    background: #000 !important;
    border-radius: 15px !important;
    overflow: visible !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .video-container-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 15px !important;
    z-index: 1 !important;
  }

  .video-overlay-dark {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(26, 26, 26, 0.3) !important;
    z-index: 2 !important;
    border-radius: 15px !important;
  }

  .text-floating-glass {
    position: absolute !important;
    bottom: -100px !important;
    left: 20px !important;
    right: 20px !important;
    margin: 0 !important;
    width: auto !important;
    order: 2 !important;
    background: rgba(26, 26, 26, 0.8) !important;
    z-index: 10 !important;
    padding: 25px !important;
    border-radius: 12px !important;
    top: auto !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(26, 26, 26, 0.4) !important;
    color: white !important;
    font-size: 0.95rem !important;
    /* Aumentado ligeramente para legibilidad */
    line-height: 1.6 !important;
    /* Mejorado el interlineado */
  }

  .buttons-vertical-stack {
    order: 3 !important;
    margin-top: 60px !important;
    /* Aumentado para dar aire después del texto flotante */
    padding: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .buttons-vertical-stack .grey-button {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 0.85rem !important;
  }

  .btn-catalogo-float {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    margin-top: 20px !important;
    text-align: center !important;
    padding: 16px !important;
    display: block !important;
  }

  /* Reset de bordes específicos para mobile en Corte y Doblado */
  .product-section-page:nth-of-type(4).border-vl::before {
    display: none !important;
  }

  .product-section-page:nth-of-type(4).border-vl::after {
    height: 150px !important;
    top: var(--border-offset) !important;
    left: var(--border-offset) !important;
  }

  .industries-container {
    padding: 0 var(--site-padding) !important;
  }

  .industry-buttons {
    gap: 8px !important;
    margin-bottom: 25px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  .industry-btn {
    padding: 10px 12px !important;
    font-size: 0.8rem !important;
    min-width: 110px !important;
    flex: 1 1 30% !important;
  }

  .industries-images {
    height: auto !important;
    min-height: 280px !important;
    width: 100% !important;
    position: relative !important;
    border-radius: 12px !important;
    overflow: visible !important;
    margin-bottom: 20px !important;
  }

  .industry-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 280px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  .industry-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    /* Asegurar que la imagen cubra el área sin deformarse */
    object-position: center !important;
  }

  /* Barra de Estadísticas - Mobile 2x3 */
  .stats-bar {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    margin-top: 295px !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    padding: 25px 20px !important;
    background: rgba(26, 26, 26, 0.98) !important;
    border-radius: 15px !important;
    z-index: 20 !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 12px 35px rgba(26, 26, 26, 0.4) !important;
  }

  .stat-item {
    flex: none !important;
    width: 100% !important;
    padding: 12px 5px !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .stat-item:nth-last-child(-n+2) {
    border-bottom: none !important;
  }

  .stat-item:last-child {
    grid-column: span 2 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-top: 8px !important;
    padding-top: 18px !important;
    border-bottom: none !important;
  }

  .stat-number {
    font-size: 1.6rem !important;
    color: #f9751c !important;
    font-weight: bold !important;
    margin-bottom: 4px !important;
  }

  .stat-label {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
  }

  .description-box {
    padding: 25px 18px !important;
    border-radius: 12px !important;
    background: #1a1a1a !important;
    border-left: 4px solid #f9751c !important;
    box-shadow: 0 8px 25px rgba(26, 26, 26, 0.15) !important;
  }

  .description-box p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #f7f6f2 !important;
  }

  /* Values Mobile */
  .values-section {
    padding: 60px 0 !important;
  }

  .values-center-col {
    height: auto !important;
    min-height: 250px !important;
    margin-bottom: 30px !important;
  }

  .values-center-col img {
    max-height: 300px !important;
    border-radius: 12px !important;
  }

  .values-title-box {
    padding: 25px 20px !important;
    border-radius: 12px !important;
    background: rgba(26, 26, 26, 0.85) !important;
    border-left: 4px solid #f9751c !important;
  }

  .values-title-box h2 {
    font-size: 1.3rem !important;
    line-height: 1.4 !important;
  }

  .subtitle-comunidad {
    font-size: 0.9rem !important;
  }

  .values-intro-box {
    padding: 20px !important;
    border-radius: 12px !important;
    background: rgba(26, 26, 26, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin: 20px 0 !important;
  }

  .values-intro {
    font-size: 0.95rem !important;
    color: #fff !important;
    line-height: 1.5 !important;
  }

  .values-list {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 20px !important;
  }

  .value-card {
    padding: 15px 20px !important;
    border-radius: 10px !important;
    background: rgba(26, 26, 26, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 2px 10px rgba(26, 26, 26, 0.02) !important;
  }

  .value-card h3 {
    font-size: 0.95rem !important;
    color: #fff !important;
  }

  /* News Mobile */
  .news-section {
    padding: 60px 0 !important;
  }

  .news-left-box {
    padding: 25px 20px !important;
    border-radius: 12px !important;
    background: rgba(26, 26, 26, 0.85) !important;
    border-left: 4px solid #f9751c !important;
  }

  .news-left-box h2 {
    font-size: 1.8rem !important;
    margin-bottom: 10px !important;
  }

  .news-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    color: rgba(255, 255, 255, 0.8) !important;
  }

  .news-video-placeholder {
    height: 220px !important;
    border-radius: 12px !important;
    margin-top: 20px !important;
    overflow: hidden !important;
    position: relative !important;
  }

  .news-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .news-right-box-full {
    padding: 25px 20px !important;
    border-radius: 12px !important;
    background: rgba(26, 26, 26, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-top: 30px !important;
  }

  .news-text {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #f5f5f5 !important;
  }

  .partners-grid-buttons {
    gap: 10px !important;
    margin-top: 25px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  .partner-btn {
    padding: 10px 15px !important;
    font-size: 0.8rem !important;
    min-width: 120px !important;
    flex: 1 1 40% !important;
  }

  /* Clientes Page - Mobile */
  .back-button {
    position: relative !important;
    margin-bottom: 20px !important;
    padding: 12px 20px !important;
    min-width: 50px !important;
    min-height: 44px !important;
  }

  .clientes-intro-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .clientes-image img {
    width: 100% !important;
    height: 300px !important;
    border-radius: 8px !important;
  }

  .left-column .text-box {
    width: 100% !important;
    top: 0 !important;
    margin-top: -30px !important;
    padding: 25px !important;
    background: rgba(26, 26, 26, 0.8) !important;
  }

  .text-box.small {
    width: 100% !important;
    margin-top: 30px !important;
    align-self: center !important;
  }

  .text-box.vertical {
    display: none !important;
    /* Demasiado grande para mobile */
  }

  .mapa-wrapper {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .mapa-y-botones {
    flex-direction: column !important;
    gap: 20px !important;
  }

  .botones-filtrado {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    margin: 0 !important;
    gap: 10px !important;
  }

  .btn-filtro {
    flex: 1 1 45% !important;
    min-height: 50px !important;
    font-size: 0.9rem !important;
  }

  .mapa-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .mapa-container iframe {
    height: 400px !important;
  }

  .info-panels-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 10000 !important;
    pointer-events: none !important;
  }

  .info-panel {
    pointer-events: auto !important;
  }

  /* Inversores Page - Mobile */
  .header-inversores {
    height: 60px !important;
  }

  .header-content-inversores {
    padding: 0 15px !important;
  }

  .logo-section-inversores span {
    font-size: 14px !important;
  }

  .user-info-inversores {
    display: none !important;
    /* Ocultar "Bienvenido" en móviles para ahorrar espacio */
  }

  .logout-btn-inversores {
    padding: 6px 12px !important;
    font-size: 13px !important;
  }

  .inversores-vision,
  .inversores-project {
    height: auto !important;
    min-height: 100vh !important;
    padding: 80px 0 40px !important;
    display: block !important;
  }

  .relative-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    padding: 20px !important;
  }

  .vision-card,
  .collaboration-card,
  .project-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 25px 20px !important;
    box-sizing: border-box !important;
  }

  .vision-card blockquote,
  .project-card blockquote {
    font-size: 1.1rem !important;
  }

  .collaboration-card {
    padding: 30px 20px !important;
  }

  .video-container-centered {
    width: 100% !important;
    padding: 0 !important;
    margin-top: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .inversores-video {
    width: 100% !important;
    height: auto !important;
    max-height: 45vh !important;
    border-radius: 8px !important;
    object-fit: cover !important;
  }

  .video-container-centered .navigation-bar-bottom {
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    margin-top: 20px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 0 10px !important;
  }

  .nav-item {
    width: 100% !important;
    text-align: center !important;
    padding: 12px 8px !important;
    font-size: 0.85rem !important;
    box-sizing: border-box !important;
  }

  .mobile-nav-overlay {
    background: rgba(26, 26, 26, 0.4) !important;
    backdrop-filter: blur(15px) !important;
  }

  .mobile-nav-content {
    padding: 40px 25px !important;
    /* Reducido para dar espacio al buscador arriba */
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    /* Alineado arriba */
    position: relative !important;
    background: #1a1a1a !important;
    /* Fondo más oscuro y premium */
  }

  /* Estilo para los botones de cierre (X) en overlays - Perfeccionado */
  .mobile-nav-close,
  .nav-panel-close,
  .close-panel,
  .modal-close,
  .panel-close {
    position: fixed !important;
    top: 25px !important;
    right: 25px !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(26, 26, 26, 0.5) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    z-index: 20001 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(26, 26, 26, 0.4) !important;
  }

  .mobile-nav-close:hover,
  .nav-panel-close:hover,
  .close-panel:hover,
  .modal-close:hover,
  .panel-close:hover {
    transform: scale(1.05) !important;
    background: rgba(255, 255, 255, 0.25) !important;
    color: #fff !important;
  }

  .mobile-nav-close:active,
  .nav-panel-close:active,
  .close-panel:active,
  .modal-close:active,
  .panel-close:active {
    transform: scale(0.95) !important;
  }

  /* Asegurar que el contenedor tenga posición relativa */
  .nav-panel-content,
  .mobile-nav-content {
    position: relative !important;
  }

  .mobile-nav-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    /* Espacio más equilibrado */
    width: 100% !important;
  }

  .mobile-link {
    font-size: 1.4rem !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
    display: block !important;
    text-align: left !important;
    /* Alineado a la izquierda para un look de sidebar más natural */
    transition: all 0.2s ease !important;
    font-weight: 500 !important;
  }

  .mobile-link:active {
    color: #f7f6f2 !important;
    padding-left: 10px !important;
    /* Pequeño efecto de desplazamiento al tocar */
  }

  .mobile-link:hover {
    color: #f7f6f2 !important;
  }

  .mobile-search {
    margin: 60px 0 30px 0 !important;
    /* Margen superior para no chocar con la X, inferior para separar de links */
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    padding: 4px 15px !important;
    transition: all 0.3s ease !important;
  }

  .mobile-search:focus-within {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.12) !important;
  }

  .mobile-search input {
    flex: 1 !important;
    background: none !important;
    border: none !important;
    padding: 12px 0 !important;
    font-size: 1rem !important;
    color: #fff !important;
    outline: none !important;
    font-family: 'Open Sans', sans-serif !important;
  }

  .mobile-search input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
  }

  .mobile-search button {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    padding: 0 15px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .mobile-search button i {
    font-size: 18px !important;
    color: #f7f6f2 !important;
  }

  /* Nav Panel Empresarial Mobile */
  .nav-panel-overlay {
    z-index: 9999 !important;
  }

  .nav-panel-content {
    width: 100% !important;
    height: 100% !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    top: 0 !important;
    left: 0 !important;
    transform: translateY(-100%) !important;
    z-index: 10000 !important;
    position: relative !important;
    overflow: visible !important;
    /* Cambiado a visible para no cortar la X fixed */
  }

  .nav-panel-overlay.active .nav-panel-content {
    transform: translateY(0) !important;
  }

  .nav-panel-header {
    padding: 75px 25px 20px !important;
  }

  .mobile-nav-close:active,
  .nav-panel-close:active {
    transform: scale(0.92) !important;
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
  }

  .nav-panel-body {
    flex-direction: column !important;
    overflow-y: auto !important;
    height: calc(100vh - 130px) !important;
    flex: 1 !important;
  }

  .nav-panel-sidebar {
    width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
    border-right: none !important;
    border-bottom: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 12px !important;
    white-space: normal !important;
  }

  .nav-sidebar-item {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .nav-panel-sidebar::-webkit-scrollbar {
    width: 6px !important;
  }

  .nav-sidebar-item {
    width: 100% !important;
    padding: 10px 12px !important;
    border-left: none !important;
    border-bottom: none !important;
    font-size: 14px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    display: block !important;
    color: #f7f6f2 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    background: rgba(26, 26, 26, 0.8) !important;
    text-align: left !important;
  }

  .nav-sidebar-item.active {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: #adadac !important;
    color: #f7f6f2 !important;
  }

  .nav-panel-main {
    width: 100% !important;
    padding: 25px !important;
    transform: none !important;
  }

  .nav-panel-body::after {
    display: none !important;
    /* Quitar marca de agua en mobile para limpiar vista */
  }

  .product-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  /* Footer Mobile - Estilo Premium Centrado */
  .footer-final,
  .footer-productos-page,
  footer {
    padding: 40px 0 !important;
    text-align: center !important;
  }

  .footer-design5 {
    flex-direction: column !important;
    gap: 35px !important;
    padding: 0 20px !important;
    align-items: center !important;
  }

  .footer-top-row {
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
    align-items: center !important;
  }

  .footer-link-large {
    font-size: 1.2rem !important;
    width: 100% !important;
    text-align: center !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  .footer-portal-link {
    width: 100% !important;
  }

  .footer-divider {
    margin: 10px 0 !important;
    width: 80% !important;
    opacity: 0.3 !important;
  }

  .footer-bottom-row,
  .footer-container {
    flex-direction: column !important;
    gap: 40px !important;
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }

  .footer-bottom-left,
  .footer-bottom-center,
  .footer-bottom-right,
  .footer-logo,
  .footer-nav-links,
  .footer-copy {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    position: static !important;
    text-align: center !important;
  }

  .footer-logo-large {
    justify-content: center !important;
    margin-left: 0 !important;
    width: 100% !important;
  }

  .footer-logo-large span {
    margin-left: 8px !important;
    /* Corregido: margen positivo para separar logo de texto */
    font-size: 1.8rem !important;
  }

  .footer-logo-large img {
    height: 60px !important;
  }

  .footer-nav-links {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .footer-bottom-center {
    gap: 15px !important;
  }

  .footer-bottom-left,
  .footer-bottom-center,
  .footer-bottom-right {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin: 0 !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    position: static !important;
  }

  .social-buttons-row {
    gap: 15px !important;
    margin-bottom: 20px !important;
  }

  .social-rect-btn {
    width: 45px !important;
    height: 45px !important;
  }

  .contact-mini-info {
    text-align: center !important;
    gap: 10px !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .footer-bottom-center {
    flex-direction: column !important;
    gap: 18px !important;
    width: 100% !important;
    align-items: center !important;
  }

  .footer-bottom-center a {
    font-size: 0.95rem !important;
    color: #ccc !important;
    text-decoration: none !important;
    padding: 8px 15px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 8px !important;
    width: 80% !important;
    max-width: 300px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
  }

  .footer-bottom-center a:active {
    background: rgba(249, 117, 28, 0.2) !important;
    border-color: #f9751c !important;
    color: #f9751c !important;
  }

  .footer-logo-large {
    display: flex !important;
    flex-direction: column !important;
    /* Cambiado a columna para mejor balance en pantallas pequeñas */
    align-items: center !important;
    justify-content: center !important;
    margin: 30px 0 !important;
    width: 100% !important;
    gap: 15px !important;
  }

  .footer-logo-large img {
    height: 70px !important;
    /* Un poco más grande */
    width: auto !important;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1)) !important;
  }

  .footer-logo-large span {
    font-family: 'Neo Sans', 'Arial', sans-serif !important;
    font-weight: 600 !important;
    font-size: 26px !important;
    /* Más grande y legible */
    margin-left: 0 !important;
    /* Reset margin since it's now column */
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(26, 26, 26, 0.3) !important;
  }

  /* Barra de Estadísticas - Ajuste de 5 elementos */
  .stats-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .stats-bar .stat-item:last-child {
    grid-column: span 2 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-top: 10px !important;
  }

  /* Grid de botones en mobile */
  .grid-buttons {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .grey-button {
    width: 100% !important;
    padding: 14px !important;
  }

  /* Ajuste de imágenes full-width */
  .img-box.full-width img {
    height: 250px !important;
  }

  /* Corte y Doblado Mobile - Perfeccionado */
  .video-box-doblado {
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    margin-bottom: 50px !important;
    display: flex !important;
    flex-direction: column !important;
    background: transparent !important;
    border-radius: 15px !important;
    overflow: visible !important;
    order: 1 !important;
  }

  .video-container-bg {
    position: relative !important;
    height: 250px !important;
    width: 100% !important;
    border-radius: 15px !important;
    object-fit: cover !important;
    z-index: 1 !important;
  }

  .text-floating-glass {
    position: relative !important;
    top: -40px !important;
    /* Superposición elegante */
    left: 0 !important;
    right: 0 !important;
    margin: 0 10px !important;
    padding: 25px !important;
    width: auto !important;
    background: rgba(26, 26, 26, 0.98) !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 30px rgba(26, 26, 26, 0.5) !important;
    z-index: 10 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #fff !important;
    bottom: auto !important;
  }

  .buttons-vertical-stack {
    gap: 12px !important;
    order: 3 !important;
    margin-top: 10px !important;
    padding: 0 10px !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .buttons-vertical-stack .grey-button {
    width: 100% !important;
    padding: 15px !important;
    font-size: 0.9rem !important;
    background: rgba(26, 26, 26, 0.85) !important;
    border-radius: 10px !important;
  }

  .btn-catalogo-float {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    display: block !important;
    width: 100% !important;
    margin-top: 25px !important;
    text-align: center !important;
    padding: 18px !important;
    background: var(--acser-orange) !important;
    color: white !important;
    border-radius: 12px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    box-shadow: 0 5px 15px rgba(249, 117, 28, 0.3) !important;
  }

  /* Ajuste de los bordes para Corte y Doblado en Mobile */
  .product-section-page:nth-of-type(4).border-vl::before {
    width: auto !important;
    right: var(--border-offset) !important;
    left: var(--border-offset) !important;
    bottom: var(--border-offset) !important;
    display: block !important;
  }

  .product-section-page:nth-of-type(4).border-vl::after {
    height: calc(100% - (var(--border-offset) * 2)) !important;
    left: var(--border-offset) !important;
    top: var(--border-offset) !important;
    display: block !important;
  }

  .box-productos-linea.small {
    height: 60px !important;
    font-size: 0.8rem !important;
    margin-top: 15px !important;
    width: 100% !important;
  }

  /* Etiquetas de imágenes más discretas en mobile */
  .label-box {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    display: inline-block !important;
    margin-bottom: 10px !important;
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
  }

  /* Botones de catálogo en mobile - No absolutos para evitar solapamiento */
  .btn-catalogo-float {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    display: block !important;
    width: 100% !important;
    margin-top: 30px !important;
    text-align: center !important;
  }

  .zigzag-flow {
    gap: 40px !important;
  }

  /* ============================================
       CONTENT PAGES (Nosotros, Historia, etc.) - MOBILE
       ============================================ */
  .hero-content {
    height: 200px !important;
  }

  .hero-content h1 {
    font-size: 1.8rem !important;
  }

  .content-section {
    padding: 40px var(--site-padding) !important;
  }

  .text-content p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  blockquote {
    padding: 20px !important;
    font-size: 1.1rem !important;
    margin: 30px 0 !important;
  }

  .values-grid,
  .download-section {
    grid-template-columns: 1fr !important;
  }

  /* Quiénes Somos Mobile - MVVVP y Modales */
  .mvvp-section .container {
    padding: 0 var(--site-padding) !important;
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  .grid-mvvp {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    transform: none !important;
    margin-left: 0 !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .card-mvvp-btn {
    width: 100% !important;
    min-height: 55px !important;
    padding: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(26, 26, 26, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .card-mvvp-btn h3 {
    font-size: 0.9rem !important;
    margin: 0 !important;
  }

  .section-modal {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;
    width: 92% !important;
    max-width: 420px !important;
    height: auto !important;
    max-height: 85vh !important;
    padding: 55px 25px 35px !important;
    z-index: 10000 !important;
    overflow-y: auto !important;
    box-shadow: 0 25px 60px rgba(26, 26, 26, 0.8) !important;
    border: 2px solid #f9751c !important;
    background: rgba(26, 26, 26, 0.98) !important;
    border-radius: 20px !important;
  }

  .section-modal h3 {
    font-size: 1.5rem !important;
    color: #f9751c !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
  }

  .section-modal p {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin: 0 !important;
  }

  /* Community Section Mobile */
  .community-section {
    padding: 50px 0 !important;
  }

  .split-layout.reverse {
    flex-direction: column !important;
    gap: 0 !important;
  }

  .split-image {
    padding: 0 !important;
    transform: none !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .image-with-info {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
  }

  .image-with-info img {
    width: 100% !important;
    height: auto !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(26, 26, 26, 0.3) !important;
  }

  .commitment-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
    margin-bottom: 30px !important;
    padding: 0 5px !important;
  }

  .commitment-btn {
    width: 100% !important;
    white-space: normal !important;
    font-size: 0.85rem !important;
    padding: 12px 10px !important;
    min-height: 75px !important;
    line-height: 1.3 !important;
    background: rgba(26, 26, 26, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    border-radius: 12px !important;
    font-family: 'Inter', sans-serif !important;
    transition: all 0.3s ease !important;
  }

  .commitment-btn:active {
    background: #f9751c !important;
    border-color: #f9751c !important;
    transform: scale(0.98) !important;
  }

  .info-panel {
    width: 92% !important;
    max-width: 420px !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    right: auto !important;
    z-index: 11000 !important;
    margin: 0 !important;
    background: rgba(26, 26, 26, 0.98) !important;
    border: 2px solid #f9751c !important;
    padding: 55px 25px 35px !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 60px rgba(26, 26, 26, 0.9) !important;
    overflow-y: auto !important;
    max-height: 85vh !important;
  }

  .info-panel:not(.hidden) {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .info-content p {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin: 0 !important;
  }

  .bottom-commitment-box {
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    margin-top: 25px !important;
    padding: 25px 20px !important;
    background: rgba(26, 26, 26, 0.95) !important;
    border-radius: 15px !important;
    border-left: 4px solid #f9751c !important;
    box-shadow: 0 10px 25px rgba(26, 26, 26, 0.2) !important;
  }

  .bottom-commitment-box p {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    font-style: italic !important;
    color: #fff !important;
  }


  .pdf-modal {
    padding: 15px !important;
    width: 95% !important;
    max-width: 1000px !important;
  }

  .pdf-container {
    height: 60vh !important;
    min-height: 400px !important;
  }

  /* Ajuste del Panel de Navegación para Mobile */
  .nav-panel-body {
    flex-direction: column !important;
  }

  .nav-panel-sidebar {
    width: 100% !important;
    min-width: 100% !important;
    border-right: none !important;
    border-bottom: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 12px !important;
  }

  .nav-sidebar-item {
    width: 100% !important;
    padding: 10px 12px !important;
    border-left: none !important;
    border-bottom: none !important;
    white-space: normal !important;
    font-size: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    background: rgba(26, 26, 26, 0.8) !important;
    text-align: left !important;
  }

  .nav-sidebar-item.active {
    background: rgba(249, 117, 28, 0.12) !important;
    border-color: #f9751c !important;
    color: #f9751c !important;
  }

  .nav-panel-main {
    width: 100% !important;
    transform: none !important;
    padding: 15px !important;
  }

  .nav-panel-body::after {
    display: none !important;
  }

  /* Ajuste de clavos en mobile */
  .clavo-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .grid-mvvp {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-left: 0 !important;
    transform: none !important;
    width: 100% !important;
    padding: 0 10px !important;
  }

  .card-mvvp-btn {
    width: 100% !important;
    min-height: 50px !important;
    padding: 10px !important;
  }

  .section-image {
    margin-left: 0 !important;
    margin-top: 20px !important;
    text-align: center !important;
  }

  .section-image img {
    width: 100% !important;
    max-width: 100% !important;
  }

  .message-box {
    margin: 20px 0 0 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .modal-border {
    display: none !important;
  }

  .border-container {
    display: none !important;
  }

  .clavo-label {
    width: 100% !important;
    min-width: auto !important;
  }

  .commitment-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    margin-bottom: 20px !important;
  }

  .commitment-btn {
    width: 100% !important;
    white-space: normal !important;
    font-size: 11px !important;
    padding: 8px !important;
    min-height: 60px !important;
  }

  .card-mvvp-btn {
    width: 100% !important;
    min-height: 50px !important;
    padding: 10px !important;
  }

  .section-image {
    margin-left: 0 !important;
    margin-top: 20px !important;
    text-align: center !important;
  }

  .section-image img {
    width: 100% !important;
    max-width: 100% !important;
  }

  .message-box {
    margin: 20px 0 0 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .modal-border {
    display: none !important;
  }

  .border-container {
    display: none !important;
  }

  /* Puntos de Venta Mobile */
  .map-content {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }

  .map-sidebar {
    max-height: 300px !important;
    padding: 15px !important;
  }

  .map-container #map {
    height: 350px !important;
  }

  .hero-stats {
    flex-direction: column !important;
    gap: 15px !important;
    align-items: center !important;
  }

  .contact-cards {
    grid-template-columns: 1fr !important;
  }

  /* Clientes Page - Mobile/Tablet */
  .clientes-intro .container,
  .clientes-mapa .container,
  footer .container {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .clientes-intro-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .clientes-image img {
    width: 100% !important;
    height: auto !important;
    max-height: 400px !important;
  }

  .left-column .text-box {
    position: static !important;
    width: 100% !important;
    margin-top: 20px !important;
    top: 0 !important;
  }

  .text-box.small {
    width: 100% !important;
    margin-top: 20px !important;
    align-self: center !important;
  }

  .text-box.vertical {
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
  }

  .mapa-wrapper {
    grid-template-columns: 1fr !important;
  }

  .mapa-text-box {
    max-width: 100% !important;
    min-height: auto !important;
    margin-bottom: 20px !important;
  }

  .mapa-y-botones {
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
  }

  .botones-filtrado {
    margin: 20px 0 !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    gap: 10px !important;
  }

  .btn-filtro {
    flex: 1 1 140px !important;
    min-height: 50px !important;
    /* Touch target */
    font-size: 0.9rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .pais-item {
    padding: 10px 5px !important;
    /* Larger touch area */
    display: block !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  .back-button {
    padding: 12px 20px !important;
    min-height: 44px !important;
  }

  .info-panels-container {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    display: block !important;
  }

  .info-panel-clientes {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 92% !important;
    max-width: 420px !important;
    z-index: 11000 !important;
    background: rgba(26, 26, 26, 0.98) !important;
    border: 2px solid #f9751c !important;
    border-radius: 20px !important;
    padding: 55px 25px 35px !important;
    box-shadow: 0 25px 60px rgba(26, 26, 26, 0.9) !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    margin: 0 !important;
  }

  .info-panel-clientes.hidden {
    display: none !important;
  }

  .info-panel-clientes:not(.hidden) {
    display: block !important;
  }

  #etica-terceros-modal.section-modal {
    display: none;
  }

  #etica-terceros-modal.section-modal.active {
    display: block !important;
  }

  .mapa-container {
    width: 100% !important;
    height: 350px !important;
  }

  .mapa-container iframe {
    height: 100% !important;
  }

  .pdf-modal {
    width: 95% !important;
    max-width: 95% !important;
    padding: 40px 15px 20px !important;
  }

  .pdf-container {
    height: 400px !important;
  }

  /* Simple Header Universal Fix */
  .simple-header {
    left: 0 !important;
    width: 100% !important;
    padding: 15px 20px !important;
    top: 0 !important;
    position: absolute !important;
  }

  .simple-header .container {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
  }

  /* Contact Page - Mobile/Tablet */
  .contact-cover-hero {
    height: auto !important;
    min-height: 100vh !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .hero-layout-flex {
    padding-bottom: 20px !important;
  }

  .hero-quote-container {
    justify-content: center !important;
    padding-right: 0 !important;
    margin-top: 20px !important;
  }

  .hero-quote-box {
    max-width: 90% !important;
    padding: 25px 20px !important;
  }

  .hero-quote-box p {
    font-size: 1.1rem !important;
  }

  .contact-bottom-nav {
    padding: 20px !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .contact-nav-item {
    width: 100% !important;
    text-align: center !important;
    padding: 12px !important;
  }
}

/* Mobile Small (480px) */
@media (max-width: 480px) {
  :root {
    --border-length: 60px;
  }

  .hero-title-quote {
    font-size: 1.4rem !important;
  }

  .product-section-page {
    padding: 40px 15px !important;
  }

  .modal-content {
    width: 95% !important;
    padding: 20px !important;
  }

  /* Refinamientos para 480px */
  .stat-number {
    font-size: 1.3rem !important;
  }

  .stat-label {
    font-size: 0.65rem !important;
  }

  .text-floating-glass {
    padding: 20px 15px !important;
    font-size: 0.85rem !important;
    margin: 0 5px !important;
  }

  .industry-buttons {
    gap: 8px !important;
  }

  .industry-btn {
    padding: 8px 12px !important;
    font-size: 0.75rem !important;
  }

  /* Nosotros Folder - Mobile Small */
  .hero-title {
    font-size: 2rem !important;
  }

  .hero-subtitle {
    font-size: 1rem !important;
  }

  .grid-mvvp {
    grid-template-columns: 1fr !important;
  }

  .company-card {
    padding: 20px 15px !important;
  }

  .company-card h3 {
    font-size: 1.2rem !important;
  }

  .company-card p {
    font-size: 1rem !important;
  }

  .ethics-quote {
    padding: 30px 15px !important;
  }

  .ethics-grid {
    grid-template-columns: 1fr !important;
  }

  .commitment-buttons {
    grid-template-columns: 1fr !important;
  }

  .video-container {
    height: auto !important;
    aspect-ratio: 16/9 !important;
  }

  .video-container iframe {
    height: 100% !important;
  }

  /* Clientes Page - Mobile Small */
  .clientes-hero h1 {
    font-size: 2.2rem !important;
  }

  .btn-filtro {
    flex: 1 1 100% !important;
    min-height: 55px !important;
    font-size: 0.85rem !important;
  }

  .pais-item {
    padding: 12px 10px !important;
  }

  .clientes-intro-grid .left-column,
  .clientes-intro-grid .right-column {
    width: 100% !important;
  }

  .clientes-image img {
    height: 220px !important;
  }

  .text-box {
    padding: 20px 15px !important;
    font-size: 0.9rem !important;
  }

  .text-box.small h3 {
    font-size: 1rem !important;
  }

  .mapa-container iframe {
    height: 320px !important;
  }

  .info-panel {
    width: 95% !important;
    padding: 40px 15px 25px !important;
  }

  /* Inversores Page - Mobile Small */
  .logo-section-inversores span {
    font-size: 12px !important;
  }

  .vision-card blockquote,
  .project-card blockquote {
    font-size: 1rem !important;
  }

  .collaboration-card p {
    font-size: 0.95rem !important;
  }

  .video-container-centered .navigation-bar-bottom {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .nav-item {
    padding: 10px 8px !important;
    font-size: 0.8rem !important;
  }

  /* Contact Page - Mobile Small */
  .contact-cover-hero {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .hero-quote-box p {
    font-size: 0.95rem !important;
  }

  .contact-nav-item .nav-label {
    font-size: 0.85rem !important;
  }
}

/* ===== NUEVO DISEÑO PANEL NOSOTROS ===== */

/* Panel principal con nuevo diseño */
.nav-panel-overlay.nosotros-panel {
  background: rgba(26, 26, 26, 0.9);
}

.nav-panel-content.nosotros-content {
  background: #1a1a1a;
  max-height: 90vh;
  display: flex;
  border-radius: 0;
}

/* Sidebar con logo ACSER */
.nav-sidebar-nosotros {
  width: 280px;
  background: #000;
  border-right: 2px solid #f9751c;
  display: flex;
  flex-direction: column;
  padding: 0;
}

/* Logo ACSER en la parte superior */
.nav-logo-acser {
  padding: 30px 20px;
  text-align: center;
  border-bottom: 1px solid #333;
}

.nav-logo-acser img {
  height: 60px;
  margin-bottom: 10px;
}

.nav-logo-acser span {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Menú de navegación Nosotros */
.nav-menu-nosotros {
  flex: 1;
  padding: 20px 0;
}

.nav-menu-item {
  display: block;
  width: 100%;
  padding: 15px 25px;
  background: transparent;
  border: none;
  color: #ccc;
  text-align: left;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  position: relative;
}

.nav-menu-item:hover {
  background: rgba(249, 117, 28, 0.1);
  color: #f9751c;
  border-left-color: #f9751c;
}

.nav-menu-item.active {
  background: rgba(249, 117, 28, 0.15);
  color: #f9751c;
  border-left-color: #f9751c;
  font-weight: 600;
}

/* Contenido principal */
.nav-main-nosotros {
  flex: 1;
  background: #1a1a1a;
  padding: 40px;
  overflow-y: auto;
}

.nav-section-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.nav-section-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

/* Estilos para el contenido */
.nav-content-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #333;
}

.nav-content-header h2 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.nav-content-header p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.nav-content-body {
  color: #f5f5f5;
  font-size: 15px;
  line-height: 1.8;
}

.nav-content-body h3 {
  color: #f9751c;
  font-size: 20px;
  font-weight: 600;
  margin: 25px 0 15px 0;
}

.nav-content-body p {
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-panel-content.nosotros-content {
    flex-direction: column;
    max-height: 95vh;
  }

  .nav-sidebar-nosotros {
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
  }

  .nav-logo-acser {
    padding: 20px;
  }

  .nav-logo-acser img {
    height: 40px;
  }

  .nav-logo-acser span {
    font-size: 18px;
  }

  .nav-main-nosotros {
    padding: 20px;
  }

  .nav-content-header h2 {
    font-size: 24px;
  }
}

/* ===== SALES POINTS MODAL - OPTIMIZED FOR 60 FPS ===== */

/* Modal Overlay - GPU Accelerated */
/* Modal Overlay - GPU Accelerated */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.8);
  z-index: 2000;
  display: none;
  /* Hidden by default */
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

#salesPointsModal {
  will-change: opacity;
  backface-visibility: hidden;
  perspective: 1000px;
}

.sales-modal {
  max-width: 900px !important;
  width: 95%;
  max-height: 90vh;
  background: rgba(26, 26, 26, 0.95);
  /* fondo negro como otras secciones */
  border: none;
  border-radius: 12px;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  padding: 70px 20px 20px;
  /* Ajustado padding superior a 70px */
}

.sales-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  /* Altura de la barra superior */
  background: #1a1a1a;
  /* negro carbón */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  z-index: 1;
  /* Asegurar que la barra superior esté por encima del contenido */
}

/* Botón de cierre del modal */
.sales-modal .modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  background: none;
  border: none;
  font-size: 20px;
  color: #f7f6f2;
  /* blanco humo */
  cursor: pointer;
  z-index: 1000;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease-in-out;
  opacity: 0.8;
}

.sales-modal .modal-close:hover {
  background: rgba(247, 246, 242, 0.1);
  opacity: 1;
}

/* Header */
.sales-modal-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 25px;
  border-bottom: 3px solid #adadac;
  /* plata ACER */
}

.sales-modal-header h2 {
  font-size: 2.5rem;
  color: #adadac;
  /* plata ACER */
  margin: 0 0 15px 0;
  font-family: var(--font-heading);
  font-weight: 400;
}

.sales-modal-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  /* texto blanco sobre fondo negro */
  margin: 0;
}

/* Grid - Optimized */
.sales-points-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0;
  /* Reducido de 60px a 20px */
  flex-shrink: 0;
  /* Evitar que el grid colapse */
}

/* Map Container */
.sales-map-container {
  height: 320px;
  min-height: 250px;
  border-radius: 12px;
  margin: 12px 0;
  width: 100%;
  background: #222;
  border: 1px solid rgba(173, 173, 172, 0.2);
}

/* Cards - Diseño estático sin movimiento */
.sales-point-card {
  background: rgba(26, 26, 26, 0.8);
  /* negro carbon corporativo */
  border: 1px solid rgba(173, 173, 172, 0.2);
  /* plata ACER corporativo */
  border-radius: 6px;
  padding: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  /* Altura mínima para mantener consistencia */
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Barra superior sutil */
.sales-point-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #adadac;
  /* plata ACER corporativo */
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.sales-point-card:hover::before {
  transform: scaleX(1);
}

.sales-point-card:hover {
  border-color: rgba(173, 173, 172, 0.4);
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.1);
}

/* Estilos para el título de la tarjeta */
.sales-point-card h3 {
  margin: 0 0 12px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(173, 173, 172, 0.2);
  color: #adadac;
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}

/* Info - grows to push button down */
.sales-point-info {
  text-align: left;
  margin-bottom: auto;
  flex-grow: 1;
}

.sales-point-info p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  /* texto blanco sobre fondo negro */
  margin: 0 0 10px 0;
  line-height: 1.5;
}

.sales-point-info strong {
  color: #adadac;
  /* plata ACER corporativo para etiquetas */
  font-weight: 400;
}

/* Botón más compacto y sutil */
.sales-point-btn {
  background: rgba(26, 26, 26, 0.9);
  /* negro carbon */
  color: #adadac;
  /* plata ACER */
  border: 1px solid rgba(173, 173, 172, 0.4);
  padding: 6px 16px;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 400;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(26, 26, 26, 0.15);
  width: 100%;
  margin-top: 15px;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.sales-point-btn:hover {
  background: rgba(36, 36, 36, 0.95);
  /* negro carbon más oscuro */
  border-color: #adadac;
  color: #f7f6f2;
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.2);
}

.sales-point-btn:active {
  box-shadow: 0 4px 12px rgba(26, 26, 26, 0.3);
}

/* Footer */
.sales-modal-footer {
  text-align: center;
  padding: 15px 0 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  /* borde más claro */
  flex-shrink: 0;
}

.sales-modal-footer p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  /* texto blanco sobre fondo negro */
  margin: 0;
}

.sales-modal-footer a {
  color: #adadac;
  /* plata ACER corporativo */
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

.sales-modal-footer a:hover {
  color: #999999;
  text-decoration: underline;
}

/* ============================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================ */

/* Focus indicators */
.sales-modal .modal-close:focus-visible,
.sales-point-btn:focus-visible {
  outline: 3px solid var(--plata-acser);
  outline-offset: 2px;
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */

/* GPU acceleration for animations */
.sales-modal,
.sales-point-card,
.sales-point-btn {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Optimize repaints */
.sales-modal {
  contain: layout style paint;
}

/* ============================================
   SALES POINTS MODAL - RESPONSIVE DESIGN
   ============================================ */

/* Mobile First - Sales Points Modal */
@media (max-width: 768px) {
  .sales-modal {
    width: 94% !important;
    max-width: 100% !important;
    max-height: 90vh !important;
    margin: 10px auto;
    padding: 60px 15px 15px !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    border-radius: 12px !important;
  }

  /* Asegurar que la barra superior se mantenga fija si es posible o al menos visible */
  .sales-modal::before {
    height: 50px;
    z-index: 10;
  }

  .sales-modal .modal-close {
    top: 10px;
    right: 10px;
    z-index: 20;
    background: rgba(26, 26, 26, 0.3);
  }

  .sales-points-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin: 10px 0 !important;
    width: 100% !important;
    order: 2 !important;
    /* Cards debajo del mapa o viceversa, decidamos orden */
  }

  .sales-map-container {
    height: 250px !important;
    min-height: 250px !important;
    margin: 10px 0 !important;
    order: 1 !important;
    /* Mapa primero en móvil para referencia rápida */
    border-radius: 8px !important;
  }

  .sales-modal-footer {
    order: 3 !important;
    padding: 15px 5px !important;
    margin-top: 10px !important;
  }

  .sales-point-card {
    padding: 15px !important;
    min-height: auto !important;
    background: rgba(34, 34, 34, 0.9) !important;
  }

  .sales-point-card h3 {
    font-size: 1.1rem !important;
    margin-bottom: 10px !important;
    text-align: left !important;
  }

  .sales-point-info p {
    font-size: 0.9rem !important;
    margin-bottom: 6px !important;
  }

  .sales-point-btn {
    padding: 10px !important;
    font-size: 0.85rem !important;
    margin-top: 10px !important;
    border-radius: 4px !important;
  }
}

/* Tablet Adjustments */
@media (max-width: 1023px) and (min-width: 769px) {
  .sales-modal {
    width: 90% !important;
    max-width: 800px !important;
  }

  .sales-points-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .sales-point-card {
    min-height: 220px;
  }
}

/* Touch Optimizations */
@media (hover: none) and (pointer: coarse) {

  .sales-point-btn,
  .sales-modal .modal-close {
    min-height: 44px;
    min-width: 44px;
  }

  .sales-point-card {
    min-height: 200px;
  }
}

/* === MEJORAS SUTILES PROFESIONALES - SECCIÓN PARA REVERTIR ===
   Si no te convence, elimina todo este bloque comentado.
   Mejoras mínimas: borde definido, espacio interno, sombra ligera, tipografía.
   Sin animaciones pesadas para mantener rendimiento.
*/

/* Sombra ligera en el modal */
.sales-modal {
  box-shadow: 0 4px 24px rgba(26, 26, 26, 0.3);
}

/* Borde más definido y espacio interno en tarjetas */
.sales-point-card {
  border: 1px solid rgba(173, 173, 172, 0.3);
  padding: 18px;
}

/* Mejor tipografía en títulos */
.sales-point-card h3 {
  font-weight: 600;
  font-size: 1.1rem;
}

/* === FIN DE MEJORAS SUTILES === */
/* MODO DE ALTO CONTRASTE - ACCESIBILIDAD */

body.high-contrast {
  filter: contrast(1.5) !important;
}

body.dark-mode {
  background: #000 !important;
}

body.dark-mode *:not(img):not(.logo-img) {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #333 !important;
}

body.dark-mode img:not(.logo-img) {
  filter: brightness(0.8) contrast(1.2);
}

body.dark-mode .logo-img {
  filter: brightness(1.2) invert(1);
}

body.light-mode {
  background: #fff !important;
}

body.light-mode *:not(img):not(.logo-img) {
  background-color: #fff !important;
  color: #000 !important;
  border-color: #ddd !important;
}

body.light-mode img:not(.logo-img) {
  filter: brightness(1.1);
}

body.light-mode .logo-img {
  filter: brightness(0.9);
}

/* Botón de accesibilidad en header */
.accessibility-btn-header {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.accessibility-btn-header:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--acser-accent-1);
  color: var(--acser-accent-1);
}

.accessibility-menu {
  position: fixed;
  top: 70px;
  right: 20px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.2);
  z-index: 9998;
  display: none;
  min-width: 200px;
}

.accessibility-menu.active {
  display: block;
}

.accessibility-menu h4 {
  margin: 0 0 12px 0;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.accessibility-option {
  display: block;
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: #f5f5f5;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.accessibility-option:hover {
  background: #e8e8e8;
  border-color: var(--acser-accent-1);
  color: var(--acser-accent-1);
}

.accessibility-option.active {
  background: var(--acser-accent-1);
  border-color: var(--acser-accent-1);
  color: #fff;
}

@media (max-width: 768px) {
  .accessibility-btn-header {
    width: 36px;
    height: 36px;
    font-size: 18px;
    margin-right: 8px;
  }

  .accessibility-menu {
    top: 60px;
    right: 10px;
    min-width: 180px;
  }
}

/* Animaciones para la sección de industrias */

/* Animación para botones que desaparecen */
.fade-out-down {
  animation: fadeOutDown 0.5s ease-out forwards;
}

@keyframes fadeOutDown {
  0% {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  100% {
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
  }
}

/* Animación para botones que aparecen */
.fade-in-up {
  animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
}

/* Ocultar borde decorativo por defecto y animarlo */
.industries-descriptions::before {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.industries-descriptions.show-border::before {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   RESPONSIVE DESIGN - ACSER
   Mobile First Approach
   ============================================ */

/* ============================================
   BASE - MOBILE FIRST (320px+)
   ============================================ */

/* Meta viewport should be added to all HTML files:
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
*/

/* Global box-sizing and overflow fixes */
* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Global image responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Tables responsive */
table {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  max-width: 100%;
}

/* Buttons minimum touch target */
button,
.btn,
.cta-button,
.join-us-button,
.submit-btn,
.channel-btn,
.carousel-btn {
  min-height: 44px;
}

/* Global container padding for mobile */
.container,
.hero-container,
.section-container,
.main-content,
.content-wrapper {
  padding-left: 20px;
  padding-right: 20px;
}

/* Improved readability */
p,
.text-content,
.description {
  line-height: 1.6;
}

/* Flex improvements */
.flex-container,
.nav-bar,
.nav-links,
.footer-top,
.footer-bottom {
  flex-wrap: wrap;
}

.flex-container>*,
.nav-links>li {
  min-width: 0;
  flex-shrink: 1;
}

/* ============================================
   TABLET (max-width: 1024px)
   ============================================ */

@media (max-width: 1023px) {

  /* Container widths */
  .container,
  .hero-container,
  .section-container {
    width: 95% !important;
    max-width: none !important;
  }

  /* Grid layouts - reduce columns */
  .services-grid,
  .news-grid,
  .products-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Navigation - if horizontal, ensure it doesn't overflow */
  .nav-bar,
  .nav-links {
    flex-wrap: wrap;
  }

  /* Hero adjustments */
  .hero-content h1 {
    font-size: 2.5rem !important;
  }

  .hero-content h2 {
    font-size: 1.8rem !important;
  }
}

/* ============================================
   MOBILE (max-width: 768px)
   ============================================ */

@media (max-width: 768px) {

  /* Single column layout */
  .container,
  .hero-container,
  .section-container,
  .grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .services-grid,
  .news-grid,
  .products-grid,
  .features-grid,
  .content-grid,
  .stats-grid {
    display: block !important;
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
  }

  /* Font size reductions */
  h1 {
    font-size: 1.75rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  .hero-content h1 {
    font-size: 2rem !important;
  }

  .hero-content h2 {
    font-size: 1.5rem !important;
  }

  .section-title {
    font-size: 1.5rem !important;
  }

  /* Navigation - vertical menu */
  .nav-bar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: #1a1a1a;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px 20px;
    transition: left 0.3s ease;
    z-index: 1000;
  }

  .nav-bar.active {
    left: 0;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Mobile menu toggle */
  .mobile-menu-toggle {
    display: flex !important;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: #1a1a1a;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 0;
  }

  .mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    margin: 0;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  /* Hero mobile adjustments */
  .hero {
    padding: 100px 20px 40px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  /* Cards and sections */
  .service-card,
  .news-card,
  .product-card,
  .feature-card {
    margin-bottom: 20px;
    max-width: 100%;
    overflow: hidden;
  }

  /* Footer mobile */
  .footer {
    text-align: center;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }

  /* Forms */
  .form-group {
    margin-bottom: 15px;
    width: 100%;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
    /* Prevent zoom on iOS */
    width: 100%;
    max-width: 100%;
  }

  /* Stats */
  .stats-bar {
    flex-direction: column;
    gap: 15px;
  }

  .stat-item {
    text-align: center;
    width: 100%;
  }

  /* Additional overflow prevention */
  .industries-container,
  .news-container,
  .values-container,
  .footer-container {
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* Ensure all content fits */
  .industries-content,
  .news-main-grid,
  .values-content-layout,
  .footer-design5 {
    max-width: 100%;
    overflow-x: hidden;
  }
}