/* ==================== 
   CONFIGURACIÓN GLOBAL
   ==================== */
:root {
  --bg: #0f1115;
  --panel: #0d1116;
  --text: #eef1f4;
  --muted: #9aa3b2;
  --primary: #f2c330;
  --accent: #5dd6c0;
  --container: 90%;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, system-ui;
  background: linear-gradient(180deg, #071019, #0f1115);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== 
   PRELOADER
   ==================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==================== 
   HEADER Y NAVEGACIÓN
   ==================== */
header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  background: rgba(15, 17, 21, 0.8);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--text);
}

.logo img {
  height: 90px;
  width: auto;
  transition: var(--transition);
}

.logo:hover img {
  transform: scale(1.05);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 26px;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 100%;
}

/* --- Menú móvil --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: var(--transition);
}

.menu-toggle:hover .hamburger {
  background: var(--primary);
}

/* --- Dropdown de Servicios --- */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  transition: var(--transition);
}

.dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
  color: var(--primary);
}

.dropdown-toggle:hover::after,
.dropdown-toggle:focus::after {
  width: 100%;
}

.dropdown-toggle i {
  font-size: 0.7em;
  transition: transform 0.3s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(15, 17, 21, 0.95);
  backdrop-filter: saturate(140%) blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  min-width: 330px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 10px 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: rgba(255, 212, 55, 0.1);
  color: var(--primary);
  padding-left: 25px;
}

/* ==================== 
   BANNER / HERO SLIDER
   ==================== */
.banner {
  position: relative;
  height: 100vh;
  min-height: 50vh;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  display: grid;
  place-items: center;
}

.slide.active {
  opacity: 1;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.35));
  z-index: 1;
}

.slide-media {
  position: absolute;
  inset: -2% -2%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.9) saturate(1.1);
  transform: scale(1.06);
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 28px 20px;
  max-width: 960px;
  margin: auto;

}

.banner-content h2 {
    
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.banner-content h3 {
  color: #ffd437;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.banner-content p {
  color: #fff;
  margin: 0 0 24px;
  font-size: 1.1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.cta {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: var(--primary);
  color: #1b1b1b;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 212, 55, 0.3);
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 212, 55, 0.4);
}

/* --- Controles del Slider --- */
.banner .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(20, 24, 33, 0.7);
  color: var(--text);
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: pulse 2s infinite;
}

.banner .arrow:hover {
  background: rgba(20, 24, 33, 0.9);
  transform: translateY(-50%) scale(1.15);
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 50px rgba(255, 212, 55, 0.4);
}

.banner .prev { left: 15%; }
.banner .next { right: 15%; }

.banner .arrow i {
  font-size: 20px;
  transition: var(--transition);
}

.banner .arrow:hover i {
  transform: scale(1.2);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2); }
  70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  translate: -50% 0;
  display: flex;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot:hover { background: rgba(255, 255, 255, 0.5); }

.dot.active {
  width: 28px;
  background: linear-gradient(90deg, var(--primary), #f7e3a2);
  border-color: transparent;
}

/* ==================== 
   BANNER DE PÁGINA
   ==================== */
.page-banner {
  position: relative;
  height: 50vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.page-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
  z-index: -1;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  text-align: center;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.breadcrumb {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ==================== 
   SECCIÓN DE BROCHURE
   ==================== */
.brochure-section {
  padding: 40px 0;
  text-align: center;
  background: rgba(15, 17, 21, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  /* Estado inicial para la animación */
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

/* Estado final cuando la sección es visible */
.brochure-section.show {
  opacity: 1;
  transform: translateY(0);
}

.brochure-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: #1b1b1b;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 212, 55, 0.3);
}

.brochure-btn:hover {
  transform: translateY(-3px);
  box-shadow: 20px rgba(255, 212, 55, 0.4);
  background: var(--primary);
}

.brochure-btn i { font-size: 1.3rem; }

/* ==================== 
   SECCIONES GENERALES
   ==================== */
.section {
  padding: 50px 0;
  position: relative;
}

h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary);
}

.section h2 {
  text-align: center;
  display: block;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.lead {
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1.1rem;
}

/* --- Características --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 212, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  font-size: 28px;
}


.feature h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text);
}

.feature p {
  color: var(--muted);
  line-height: 1.6;
}

/* --- Estadísticas --- */
.stats-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;
  padding: 50px 30px;
  margin-top: 40px;
}

.stat {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 20px;
  flex: 1 1 220px;
  max-width: 260px;
  text-align: center;
  transition: var(--transition);
}

.stat:hover {
  transform: translateY(-10px);
  background: rgba(255, 212, 55, 0.05);
}

.stat i {
  font-size: 42px;
  color: var(--primary);
  margin-bottom: 15px;
}

.stat h2 {
  font-weight: bold;
  margin: 0;
  color: #fff;
}

.stat p {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--muted);
}

/* --- Animaciones de entrada --- */
.hidden {
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.8s ease-out;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== 
   SECCIÓN DE SERVICIOS
   ==================== */
.services-section {
  padding: 50px 0;
  background: #000;
  position: relative;
  z-index: 2;
}

.services-section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.service-card {
  display: block;
  text-decoration: none;
  color: var(--text);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  height: 300px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.service-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6) 60%, transparent);
  transition: var(--transition);
  transform: translateY(20%);
}

.service-card:hover .service-overlay {
  transform: translateY(0);
}

.service-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  text-align: center;
  color: var(--primary);
}

.service-overlay p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
}

.service-card:hover .service-overlay p {
  opacity: 1;
  max-height: 100px;
}

/* ==================== 
   SECCIÓN DE PRODUCTOS
   ==================== */
.products-section {
  padding: 60px 0;
  background: linear-gradient(180deg, rgba(15, 17, 21, 0.8), rgba(15, 17, 21, 1));
  position: relative;
  z-index: 2;
}

.products-section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.product-card {
  display: block;
  text-decoration: none;
  color: var(--text);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  height: 350px;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.product-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-overlay {

  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6) 60%, transparent);
  transition: var(--transition);
  transform: translateY(20%);
}

.product-card:hover .product-overlay {
  transform: translateY(0);
}

.product-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.product-overlay p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover .product-overlay p {
  opacity: 1;
  max-height: 100px;
}

/* ==================== 
   SECCIÓN DE CLIENTES
   ==================== */
.clients-section {
  padding: 50px 0;
  background: rgba(15, 17, 21, 0.5);
}

.clients-section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 30px;
}

.client-item {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.client-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.client-logo {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 8px;
  padding: 15px;
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: var(--transition);
}

.client-item:hover .client-logo img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.client-item h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin: 0;
  font-weight: 600;
}

/* ==================== 
   SECCIÓN QUIÉNES SOMOS
   ==================== */
.about-section {
  padding: 50px 0;
  background: linear-gradient(180deg, rgba(15, 17, 21, 0.8), rgba(15, 17, 21, 1));
  position: relative;
  z-index: 2;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-imagex {
  border-radius: var(--radius);
  overflow: hidden;
}

.about-imagex img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.about-imagex:hover img {
  transform: scale(1.03);
}

.about-text h2 {
  margin-bottom: 20px;
  color: var(--primary);
  position: relative;
  padding-bottom: 15px;
  text-align: center;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary);
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: var(--muted);
  font-size: 1.1rem;
}

/* ==================== 
   ESTILOS PARA LISTAS
   ==================== */
.about-text ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 20px 0;
}

.about-text ul li {
  margin-bottom: 15px;
  line-height: 1.8;
  color: var(--muted);
  font-size: 1.1rem;
  position: relative;
  padding-left: 25px;
}

.about-text ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1.2;
}

/* Para listas en otras secciones */
.mission-vision-card ul {
  list-style: none;
  padding-left: 0;
  margin: 15px 0;
}

.mission-vision-card ul li {
  margin-bottom: 12px;
  line-height: 1.6;
  color: var(--muted);
  font-size: 1rem;
  position: relative;
  padding-left: 20px;
}

.mission-vision-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* ==================== 
   MISIÓN Y VISIÓN
   ==================== */
.mission-vision {
  padding: 20px 0;
  background: rgba(15, 17, 21, 0.5);
  position: relative;
  z-index: 2;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.mission-vision-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.mission-vision-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(255, 212, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.icon-wrapper i {
  font-size: 32px;
  color: var(--primary);
}

.mission-vision-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text);
}

.mission-vision-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.1rem;
}

.highlight-quote {
  background: rgba(255, 212, 55, 0.1);
  border-left: 4px solid var(--primary);
  padding: 20px 25px;
  border-radius: var(--radius);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}

/* ==================== 
   ¿POR QUÉ ELEGIRNOS?
   ==================== */
.why-choose {
  padding: 50px 0 0 0;
  position: relative;
  z-index: 2;
}

.why-choose h2 {
  margin-bottom: 30px;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.feature-item {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 25px 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  height: 100px;
  width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.feature-icon img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.feature-item h4 {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0;
}

/* ==================== 
   ESTADÍSTICAS
   ==================== */
.stats-section {
  padding: 0 20 0 0;
  background: rgba(15, 17, 21, 0.5);
  position: relative;
  z-index: 2;
}

.stats-section .stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 0;
  margin-top: 0;
}

.stats-section .stat {
  padding: 25px 15px;
}

/* ==================== 
   SECCIÓN DE CONTACTO SIMPLIFICADA (CON DEGRADADO ACENTUADO)
   ==================== */
.contact-simple {
  background: linear-gradient(180deg, #0f1115 0%, #1a1f2a 50%, #0f1115 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-simple .container {
  position: relative;
  z-index: 1;
}

.contact-simple h2 {
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-subtitle {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--primary);
  color: #1b1b1b;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 212, 55, 0.3);
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 212, 55, 0.4);
  background: #fff;
  color: #1b1b1b;
}

.contact-btn i {
  font-size: 1.3rem;
}


/* ==================== 
   MODAL PARA FORMULARIO DE CONTACTO (CORREGIDO)
   ==================== */
.contact-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  overflow: auto;
}

.contact-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--panel);
  border-radius: var(--radius);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
  margin: 0;
  color: var(--primary);
  font-size: 1.5rem;
}

.close-modal {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  padding: 5px;
}

.close-modal:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

.contact-form {
  padding: 30px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 212, 55, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.error-message {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #e74c3c;
}

.form-group.error .error-message {
  display: block;
}

.contact-form button {
  background: var(--primary);
  color: #1b1b1b;
  font-weight: 700;
  padding: 16px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: var(--transition);
  font-size: 1rem;
  margin-top: 10px;
}

.contact-form button:hover {
  background: #fff;
  color: #1b1b1b;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-message {
  display: none;
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
  text-align: center;
  animation: fadeIn 0.5s ease;
}

.form-message.success {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid #2ecc71;
  color: #2ecc71;
}

.form-message.error {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid #e74c3c;
  color: #e74c3c;
}

.form-message i {
  font-size: 24px;
  margin-right: 10px;
  vertical-align: middle;
}

.form-message p {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive para el modal */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 20px 0;
  }
  
  .modal-header {
    padding: 15px 20px;
  }
  
  .contact-form {
    padding: 20px;
  }
  
  .form-group {
    margin-bottom: 18px;
  }
}

/* ==================== 
   FORMULARIO DE CONTACTO (CÓDIGO ORIGINAL COMENTADO)
   ==================== */
/*
#contacto {
  position: relative;
  background: url("_img/fondo-contacto.jpg") center/cover no-repeat;
  padding: 50px 20px;
  color: #fff;
}

#contacto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 0;
}

#contacto .container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  background: rgba(255, 255, 255, 0.05);
  padding: 35px;
  border-radius: 16px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.contact-info h3 {
  margin-bottom: 25px;
  font-size: 1.8rem;
  color: var(--primary);
}

.contact-info p {
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
}

.contact-info i {
  color: var(--primary);
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.socials {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.socials a {
  color: #fff;
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
  text-decoration: none;
}

.socials a:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: #f9f9f9;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 212, 55, 0.2);
  background: #fff;
}

.error-message {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #e74c3c;
}

.form-group.error .error-message {
  display: block;
}

.contact-form button {
  background: var(--primary);
  color: #1b1b1b;
  font-weight: 700;
  padding: 16px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: var(--transition);
  font-size: 1rem;
}

.contact-form button:hover {
  background: #111;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-message {
  display: none;
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
  text-align: center;
  animation: fadeIn 0.5s ease;
}

.form-message.success {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid #2ecc71;
  color: #2ecc71;
}

.form-message.error {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid #e74c3c;
  color: #e74c3c;
}

.form-message i {
  font-size: 24px;
  margin-right: 10px;
  vertical-align: middle;
}

.form-message p {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
*/

/* ==================== 
   FOOTER
   ==================== */
footer {
  padding: 50px 0 20px;
  background: var(--panel);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-services h3,
.footer-contact h3,
.footer-social h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-services ul {
  list-style: none;
  padding: 0;
}

.footer-services li {
  margin-bottom: 10px;
}

.footer-services a {
  color: var(--muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-services a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--muted);
}

.footer-contact i {
  color: var(--primary);
  width: 20px;
}

.footer-social .socials {
  display: flex;
  gap: 15px;
}

.footer-social .socials a {
  color: var(--muted);
  font-size: 1.4rem;
  transition: var(--transition);
}

.footer-social .socials a:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

/* ==================== 
   BOTÓN FLOTANTE WHATSAPP
   ==================== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1);
  text-decoration: none;
}

.whatsapp-float i {
  font-size: 35px;
  text-decoration: none;
}

.whatsapp-tooltip {
  position: absolute;
  bottom: 50%;
  right: 60px;
  transform: translateY(50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  font-weight: 500;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(0, 0, 0, 0.8);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(50%) translateX(-10px);
}

/* ==================== 
   VISIBILIDAD DEL CONTENIDO
   ==================== */
.section {
  position: relative;
  z-index: 1;
}

.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* Asegurar que el contenido no esté detrás del banner */
.spacer {
  height: 80px;
}

/* ==================== 
   RESPONSIVE DESIGN
   ==================== */
/* --- Tablets --- */
@media (max-width: 1024px) {
  .banner {
    height: 70vh;
    min-height: 400px;
  }
  
  .banner-content h2,
  .banner-content h3 {
    font-size: 2rem;
  }
  
  .banner-content p {
    font-size: 1rem;
    max-width: 600px;
  }
  
  .portfolio-item {
    flex: 0 0 calc((100% - 2*20px) / 3);
  }
  
  h2 { font-size: 1.6rem; }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-image {
    max-width: 600px;
    max-height: 300px;
    margin: 0 auto;
  }
  
  .about-image img {
    object-fit: cover;
    object-position: center;
  }
  
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
  
  .service-card {
    height: 220px;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
  
  .product-card {
    height: 220px;
  }
}

/* --- Móviles --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    right: 18px;
    top: 70px;
    background: rgba(6, 10, 14, 0.96);
    padding: 20px;
    border-radius: 10px;
    flex-direction: column;
    gap: 15px;
    width: 360px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow);
    z-index: 999;
  }
  
  .nav-links.open {
    display: flex !important;
  }
  
  .nav-links.open .dropdown-menu {
    display: block !important;
    max-height: 500px !important;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(6, 10, 14, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 10px 0;
    margin-top: 10px;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    width: 100%;
    min-width: auto;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
    max-height: 500px;
  }
  
  .dropdown-menu a {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  
  .dropdown-menu a:hover {
    background: rgba(255, 212, 55, 0.1);
    padding-left: 25px;
  }
  
  .dropdown-toggle i {
    transform: rotate(0deg);
  }
  
  .dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .banner {
    height: 60vh;
    min-height: 350px;
  }
  
  .banner-content {
    padding: 20px 15px;
    padding-top: 50%;
    max-width: 100%;
  }
  
  .banner-content h2,
  .banner-content h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  }
  
  .banner-content p {
    font-size: 0.95rem;
    max-width: 50%;
    text-align: center;
  }
  
  .cta {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .banner .arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .banner .prev { left: 10px; }
  .banner .next { right: 10px; }
  
  .dot {
    width: 8px;
    height: 8px;
  }
  
  .dot.active { width: 24px; }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-item {
    flex: 0 0 calc((100% - 20px) / 2);
  }
  
  .gallery-scroll.prev { left: 10px; }
  .gallery-scroll.next { right: 10px; }
  
  .service-card {
    flex-direction: column;
  }
  
  .service-media {
    width: 100%;
    height: 200px;
  }
  
  .brochure-section {
    padding: 20px 0;
  }
  
  .brochure-btn {
    padding: 14px 24px;
    font-size: 1rem;
  }
  
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 30px;
    right: 30px;
    font-size: 25px;
  }
  
  .whatsapp-float i {
    font-size: 30px;
  }
  
  .whatsapp-tooltip {
    bottom: 50%;
    font-size: 12px;
    padding: 6px 10px;
  }
  
  .whatsapp-tooltip::after {
    right: -10px;
  }
  
  .page-banner {
    height: 35vh;
    min-height: 250px;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .about-section {
    padding: 40px 0 0 0;
  }
  
  .about-image {
    height: 50vh;
    max-height: 300px;
    width: 100%;
    overflow: hidden;
  }
  
  .about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  .about-text h2 {
    font-size: 1.8rem;
  }
  
  .about-text p {
    font-size: 1rem;
  }
  
  .mission-vision {
    padding: 40px 0;
  }
  
  .mission-vision-card {
    padding: 25px 15px;
  }
  
  .mission-vision-card h3 {
    font-size: 1.5rem;
  }
  
  .highlight-quote {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  
  .why-choose {
    padding: 10px 0;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }
  
  .feature-item {
    padding: 20px 15px;
  }
  
  .feature-icon {
    height: 80px;
    width: 80px;
  }
  
  .stats-section {
    padding: 10px 0;
  }
  
  .stat h2 {
    font-size: 2rem;
  }
  
  .services-section {
    padding: 40px 0;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .service-card {
    height: 200px;
  }
  
  .service-overlay {
    padding: 15px;
  }
  
  .service-overlay h3 {
    font-size: 1.3rem;
  }
  
  .service-overlay p {
    font-size: 0.9rem;
  }
  
  .products-section {
    padding: 40px 0;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .product-card {
    height: 200px;
  }
  
  .product-overlay {
    padding: 15px;
  }
  
  .product-overlay h3 {
    font-size: 1.3rem;
  }
  
  .product-overlay p {
    font-size: 0.9rem;
  }
  
  .clients-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  
  .client-logo {
    height: 100px;
  }
  
  .client-item {
    padding: 20px;
  }
}

/* --- Móviles pequeños --- */
@media (max-width: 480px) {
  .banner {
    height: 50vh;
    min-height: 300px;
  }
  
  .banner-content {
    padding: 15px 10px;
  }
  
  .banner-content h2,
  .banner-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .banner-content p {
    font-size: 0.9rem;
    margin: 0 0 15px;
    max-width: 95%;
  }
  
  .cta {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
  
  .banner .arrow {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  
  .banner .prev { left: 5px; }
  .banner .next { right: 5px; }
  
  .dot {
    width: 6px;
    height: 6px;
  }
  
  .dot.active { width: 20px; }
  
  .dots { bottom: 15px; }
  
  .portfolio-item {
    flex: 0 0 100%;
  }
  
  .stats-container {
    padding: 30px 15px;
  }
  
  .stat {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 25px;
  }
  
  .nav-links {
    width: 250px;
  }
  
  .page-banner {
    height: 30vh;
    min-height: 200px;
  }
  
  .page-title {
    font-size: 1.8rem;
  }
  
  .about-section {
    padding: 30px 0;
  }
  
  .about-text h2 {
    font-size: 1.6rem;
  }
  
  .mission-vision {
    padding: 30px 0;
  }
  
  .mission-vision-card {
    padding: 20px 15px;
  }
  
  .why-choose {
    padding: 30px 0;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .stats-section {
    padding: 30px 0;
  }
  
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .service-card {
    height: 220px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .product-card {
    height: 220px;
  }
  
  .clients-grid {
    grid-template-columns: 1fr;
  }
  
  .client-logo {
    height: 80px;
  }
}

/* ==================== 
   SECCIÓN PRODUCTOS CONTRA INCENDIOS
   ==================== */
.products-fire-section {
  padding: 60px 0;
  background: linear-gradient(180deg, rgba(15, 17, 21, 0.8), rgba(15, 17, 21, 1));
  position: relative;
  z-index: 2;
}

.products-fire-section h2 {
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary);
}

.products-fire-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-items: center;
}

.product-fire-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.product-fire-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 212, 55, 0.2);
}

.product-fire-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 25px;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-fire-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-fire-card:hover .product-fire-image img {
  transform: scale(1.05);
}

.product-fire-content h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 600;
}

.product-fire-content p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.05rem;
}

/* Responsive para móviles */
@media (max-width: 480px) {
  .products-fire-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .product-fire-card {
    padding: 20px;
    max-width: 100%;
  }
  
  .product-fire-image {
    width: 300px;
    height: 300px;
  }
  
  .product-fire-content h3 {
    font-size: 1.3rem;
  }
  
  .product-fire-content p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .products-fire-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .product-fire-image {
    width: 300px;
    height: 300px;
  }
}

/* ==================== 
   LOGO EN EL FOOTER (MODIFICADO)
   ==================== */
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.footer-logo img {
  height: 90px; /* Altura fija como solicitaste */
  width: auto;   /* Ancho automático para mantener la proporción */
  /* --- CAMBIO PRINCIPAL: LOGO EN ESCALA DE GRISES --- */
  filter: grayscale(100%); 
  opacity: 0.8;
  transition: var(--transition);
}

.footer-logo img:hover {
  opacity: 1;
  transform: scale(1.05);
  /* --- BONUS: EL LOGO RECUPERA SU COLOR AL PASAR EL CURSOR --- */
  filter: grayscale(0%); 
}

/* Ajuste para que el footer se vea bien con 3 columnas */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-logo {
    order: -1;
  }
}
/* Estilos específicos para la página Trabaja con nosotros */

/* Sección principal */
.trabaja-section {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(15, 17, 21, 0.8), rgba(15, 17, 21, 1));
}

.trabaja-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.trabaja-intro h2 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.trabaja-intro p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Oportunidades por perfil */
.oportunidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.oportunidad-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.oportunidad-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.oportunidad-image {
  height: 200px;
  overflow: hidden;
}

.oportunidad-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.oportunidad-card:hover .oportunidad-image img {
  transform: scale(1.05);
}

.oportunidad-card h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin: 20px 0 10px;
}

.oportunidad-card p {
  color: var(--muted);
  padding: 0 20px;
  margin-bottom: 20px;
}

.cta-btn {
  display: inline-block;
  background: var(--primary);
  color: #1b1b1b;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  margin: 0 20px 20px;
}

.cta-btn:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 212, 55, 0.3);
}

/* Lo que puedes hacer aquí */
.que-hacer-section {
  padding: 80px 0;
  background: rgba(15, 17, 21, 0.5);
}

.que-hacer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.que-hacer-item {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.que-hacer-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.que-hacer-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 212, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  font-size: 28px;
}

.que-hacer-item h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.que-hacer-item p {
  color: var(--muted);
  line-height: 1.6;
}

/* Cómo es trabajar aquí */
.trabajar-aqui-section {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(15, 17, 21, 0.8), rgba(15, 17, 21, 1));
}

.trabajar-aqui-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.trabajar-aqui-text h2 {
  color: var(--primary);
  margin-bottom: 20px;
}

.trabajar-aqui-text p {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.trabajar-aqui-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.trabajar-aqui-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.trabajar-aqui-image:hover img {
  transform: scale(1.03);
}

/* Proceso de aplicación */
.proceso-section {
  padding: 80px 0;
  background: rgba(15, 17, 21, 0.5);
}

.proceso-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.proceso-step {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 25px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.proceso-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #1b1b1b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
  margin: 0 auto 15px;
}

.proceso-step h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.proceso-step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Historias extraordinarias */
.historias-section {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(15, 17, 21, 0.8), rgba(15, 17, 21, 1));
}

.historias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.historia-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.historia-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.historia-image {
  height: 200px;
  overflow: hidden;
}

.historia-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.historia-card:hover .historia-image img {
  transform: scale(1.05);
}

.historia-content {
  padding: 25px;
}

.historia-content h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.historia-content p {
  color: var(--muted);
  line-height: 1.6;
}

.cta-container {
  text-align: center;
  margin-top: 40px;
}

/* Carreras tecnológicas */
.tecnologia-section {
  padding: 80px 0;
  background: rgba(15, 17, 21, 0.5);
}

.tecnologia-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.tecnologia-text h2 {
  color: var(--primary);
  margin-bottom: 20px;
}

.tecnologia-text p {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.tecnologia-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tecnologia-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.tecnologia-image:hover img {
  transform: scale(1.03);
}

/* Inteligencia Artificial */
.ia-section {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(15, 17, 21, 0.8), rgba(15, 17, 21, 1));
}

.ia-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.ia-feature {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.ia-feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.ia-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 212, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  font-size: 28px;
}

.ia-feature h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.ia-feature p {
  color: var(--muted);
  line-height: 1.6;
}

/* Comunidad de talentos */
.comunidad-section {
  padding: 80px 0;
  background: rgba(15, 17, 21, 0.5);
}

.comunidad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.comunidad-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.comunidad-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.comunidad-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 212, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  font-size: 28px;
}

.comunidad-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.comunidad-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Alerta de fraude */
.alerta-fraude-section {
  background: rgba(231, 76, 60, 0.1);
  border-top: 1px solid rgba(231, 76, 60, 0.3);
  padding: 40px 0;
}

.alerta-content {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  background: rgba(15, 17, 21, 0.8);
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.alerta-icon {
  background: rgba(231, 76, 60, 0.2);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e74c3c;
  font-size: 24px;
  flex-shrink: 0;
}

.alerta-text h3 {
  color: #e74c3c;
  margin-bottom: 15px;
}

.alerta-text p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 15px;
}

.alerta-text p:last-child {
  margin-bottom: 0;
}

.alerta-text strong {
  color: var(--text);
}

/* Responsive */
@media (max-width: 768px) {
  .trabajar-aqui-content,
  .tecnologia-content {
    grid-template-columns: 1fr;
  }
  
  .oportunidades-grid,
  .que-hacer-grid,
  .historias-grid,
  .ia-features,
  .comunidad-grid,
  .proceso-steps {
    grid-template-columns: 1fr;
  }
  
  .alerta-content {
    flex-direction: column;
    text-align: center;
  }
  
  .alerta-icon {
    margin: 0 auto 20px;
  }
  
  .trabaja-intro h2,
  .trabajar-aqui-text h2,
  .tecnologia-text h2 {
    font-size: 2rem;
  }
}