/* ============================================================
   UNIFORMES IXTLILTON — Estilos principales
   Paleta: Azul médico #0077B6, Teal #00B4D8, Blanco, Gris suave
   ============================================================ */

@font-face { font-family: 'Poppins'; src: url('../libs/fonts/poppins-300.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../libs/fonts/poppins-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../libs/fonts/poppins-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../libs/fonts/poppins-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../libs/fonts/poppins-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('../libs/fonts/poppins-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --primary:       #0077B6;
  --primary-hover: #005f92;
  --primary-light: #e6f3f8;
  --primary-dark:  #004c73;
  --teal:          #00B4D8;
  --teal-light:    #90E0EF;
  --teal-dark:     #0096C7;
  --accent:        #FF6B6B;
  --gold:          #eaaa00;
  --dark:          #1a1a2e;
  --dark-light:    #343a40;
  --light:         #f8f9fa;
  --light-dark:    #e9ecef;
  --gray:          #6c757d;
  --gray-light:    #dee2e6;
  --white:         #ffffff;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:     0 10px 30px rgba(0,0,0,0.15);
  --shadow-xl:     0 20px 50px rgba(0,0,0,0.2);
  --transition:    0.3s ease;
  --radius:        12px;
  --radius-lg:     20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px !important; }

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
  overflow-x: hidden;
}

p, li, td, span, label, input, textarea, select, a {
  font-size: inherit;
}

img { pointer-events: none; user-select: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

/* ============================================================
   HEADER & NAVBAR
   ============================================================ */
#header {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,119,182,0.1);
  z-index: 1050;
  transition: var(--transition);
  padding: 0.4rem 0;
}

#header.scrolled {
  box-shadow: 0 4px 30px rgba(0,119,182,0.2);
}

.navbar-brand-wrap { display: flex; align-items: center; gap: 12px; }
.navbar-brand-wrap img { max-height: 52px; width: auto; }
.brand-text h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  line-height: 1.2;
}
.brand-text span {
  font-size: 13px;
  color: var(--teal);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-link {
  color: var(--dark) !important;
  font-weight: 500;
  font-size: 16px;
  padding: 0.5rem 1rem !important;
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--teal);
  transition: left var(--transition), right var(--transition);
  border-radius: 2px;
}
.nav-link:hover::after, .nav-link.active::after { left: 1rem; right: 1rem; }
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }

.btn-whatsapp-nav {
  background: #25D366;
  color: white !important;
  border-radius: 50px;
  padding: 0.45rem 1.2rem !important;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-whatsapp-nav:hover { background: #1ebe5d; transform: translateY(-1px); }
.btn-whatsapp-nav::after { display: none !important; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--teal-dark) 100%);
  color: white;
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23f8f9fa' fill-opacity='1' d='M0,40L60,45C120,50,240,60,360,58C480,56,600,42,720,37C840,32,960,38,1080,43C1200,48,1320,52,1380,54L1440,56L1440,80L1380,80C1320,80,1200,80,1080,80C960,80,840,80,720,80C600,80,480,80,360,80C240,80,120,80,60,80L0,80Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 0.45rem 1.2rem;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.2rem;
  color: var(--teal-light);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.hero-title span { color: var(--teal-light); }

.hero-phone {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFE066;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-lead {
  font-size: 22px;
  opacity: 0.9;
  max-width: 520px;
  line-height: 1.8;
}

/* Pilares hero */
.pilares-hero {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 2rem 0;
}
.pilar-item {
  text-align: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 1rem 0.5rem;
  transition: var(--transition);
}
.pilar-item:hover { background: rgba(255,255,255,0.18); transform: translateY(-3px); }
.pilar-item i { font-size: 1.6rem; color: var(--gold); margin-bottom: 0.4rem; display: block; }
.pilar-item h5 { font-size: 15px; font-weight: 700; color: white; margin: 0; }
.pilar-item p { font-size: 13px; color: rgba(255,255,255,0.8); margin: 0; }

.hero-image-wrap {
  position: relative;
}
.hero-image-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  bottom: 20px; right: -10px;
  background: white;
  border-radius: 50px;
  padding: 10px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.85rem;
}

/* ============================================================
   BANDA DE CONFIANZA
   ============================================================ */
.trust-band {
  background: white;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--light-dark);
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 0 1rem;
}
.trust-item i { font-size: 2rem; color: var(--teal); }
.trust-item span { font-size: 17px; font-weight: 600; color: var(--dark); }

/* ============================================================
   SECCIONES GENERALES
   ============================================================ */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.section-subtitle {
  font-size: 20px;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.section-eyebrow {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  border-radius: 2px;
  margin: 1rem auto 2rem;
}

/* ============================================================
   NOSOTROS SECTION
   ============================================================ */
.nosotros-section { background: var(--light); }

/* Nueva galería de fotos Nosotros */
.nosotros-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 220px 220px;
  gap: 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ng-item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.ng-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
  display: block;
}
.ng-item:hover img { transform: scale(1.06); }
.ng-tall {
  grid-row: span 2;
}
.ng-badge {
  background: linear-gradient(135deg, var(--primary), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}
.empresa-badge-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-align: center;
  gap: 4px;
}
.empresa-badge-new i { font-size: 2rem; opacity: 0.8; }
.empresa-badge-new strong { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.empresa-badge-new span { font-size: 14px; opacity: 0.9; line-height: 1.4; }

.info-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,119,182,0.08);
  transition: var(--transition);
}
.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--primary-light);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.info-card .card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--primary-light);
}

.curriculum-item { margin-bottom: 1rem; }
.curriculum-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 3px;
  text-transform: uppercase;
}
.curriculum-item p { font-size: 18px; color: var(--gray); margin: 0; line-height: 1.7; }

.valores-list { list-style: none; padding: 0; }
.valores-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-dark);
  font-size: 18px;
  color: var(--dark-light);
  display: flex; align-items: center; gap: 8px;
}
.valores-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}
.valores-list li:last-child { border-bottom: none; }

/* ============================================================
   TELAS SECTION
   ============================================================ */
.telas-section { background: white; }

.tela-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-dark);
  transition: var(--transition);
  height: 100%;
}
.tela-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.tela-card-header {
  background: linear-gradient(135deg, var(--primary), var(--teal));
  color: white;
  padding: 1.4rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tela-card-header i { font-size: 1.8rem; }
.tela-card-header h3 { font-size: 20px; font-weight: 700; margin: 0; }
.tela-card-body { padding: 1.4rem; }

.tela-prop {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.8rem;
}
.tela-prop-icon {
  width: 32px; height: 32px;
  background: var(--primary-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tela-prop-icon i { color: var(--primary); font-size: 0.9rem; }
.tela-prop-text h5 { font-size: 17px; font-weight: 700; margin: 0; color: var(--dark); }
.tela-prop-text p { font-size: 15.5px; color: var(--gray); margin: 0; line-height: 1.6; }

/* ============================================================
   PROCESO DE FABRICACIÓN
   ============================================================ */
.proceso-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--teal-dark) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.proceso-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E");
}

.proceso-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.proceso-steps::before {
  content: '';
  position: absolute;
  top: 35px; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.3);
  z-index: 0;
}
.paso {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 0.5rem;
}
.paso-num {
  width: 70px; height: 70px;
  background: rgba(255,255,255,0.15);
  border: 3px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.6rem;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}
.paso:hover .paso-num {
  background: rgba(255,255,255,0.3);
  border-color: white;
  transform: scale(1.1);
}
.paso h4 { font-size: 19px; font-weight: 700; margin-bottom: 0.4rem; }
.paso p { font-size: 17px; opacity: 0.9; line-height: 1.8; }

/* ============================================================
   COLECCIÓN DESTACADA (INICIO)
   ============================================================ */
.coleccion-section { background: var(--light); }

.producto-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
}
.producto-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.producto-img-wrap {
  position: relative;
  overflow: hidden;
  height: 320px;
}
.producto-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.producto-card:hover .producto-img-wrap img { transform: scale(1.06); }

.producto-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.producto-body { padding: 1.4rem; }
.producto-body h3 { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 0.4rem; }
.producto-body p { font-size: 17px; color: var(--gray); margin-bottom: 1rem; }
.btn-ver-catalogo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.btn-ver-catalogo:hover { background: var(--primary); color: white; }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonials-section {
  background: var(--light);
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,180,216,0.1), transparent);
  border-radius: 50%;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-md);
  position: relative;
  border-top: 4px solid var(--teal);
  transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.testimonial-card:nth-child(2) { border-top-color: var(--primary); }
.testimonial-card:nth-child(3) { border-top-color: var(--gold); }

.quote-icon {
  font-size: 2.5rem;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 0.8rem;
  display: block;
}
.testimonial-text { font-size: 18px; color: #555; line-height: 2; margin-bottom: 1.2rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 46px; height: 46px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.author-name { font-size: 18px; font-weight: 700; color: var(--dark); margin: 0; }
.author-role { font-size: 16px; color: var(--gray); margin: 0; }
.stars { color: #FFB800; font-size: 16px; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--teal-dark), var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.cta-section h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 1rem; }
.cta-section p { font-size: 21px; opacity: 0.9; max-width: 600px; margin: 0 auto 2rem; }

/* ============================================================
   CATÁLOGO — HEADER
   ============================================================ */
.catalogo-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 5rem 0 3rem;
  text-align: center;
}
.catalogo-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.catalogo-hero p { opacity: 0.9; font-size: 1.05rem; }

/* Filtros */
.filtros-section { background: white; padding: 2rem 0; box-shadow: var(--shadow-sm); position: sticky; top: 70px; z-index: 100; }

.filtro-select {
  border: 2px solid var(--gray-light);
  border-radius: 50px;
  padding: 0.65rem 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  background: white;
  cursor: pointer;
  transition: var(--transition);
  min-width: 220px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230077B6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.filtro-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,119,182,0.15); }

.color-pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.color-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  border: 2px solid var(--gray-light);
  background: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--dark);
}
.color-pill:hover { border-color: var(--primary); color: var(--primary); }
.color-pill.active { border-color: var(--primary); background: var(--primary); color: white; }
.color-pill .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.dot-amarillo { background: #FFD700; }
.dot-azul     { background: #1E90FF; }
.dot-blanco   { background: #F0F0F0; border-color: #ccc !important; }
.dot-negro    { background: #222; }
.dot-rosa     { background: #FF69B4; }
.dot-verde    { background: #2ECC71; }

/* Galería */
.catalogo-grid { padding: 3rem 0; }
.gallery-count { font-size: 16px; color: var(--gray); font-weight: 500; }

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: white;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }

.gallery-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.gallery-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover .gallery-img-wrap img { transform: scale(1.07); }

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h5 { color: white; font-size: 16px; font-weight: 700; margin: 0; }

.btn-wsp-producto {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25D366;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.45rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  margin-top: 6px;
}
.btn-wsp-producto:hover { background: #1ebe5d; color: white; transform: scale(1.03); }

.no-results {
  text-align: center;
  padding: 4rem 0;
  color: var(--gray);
  display: none;
}
.no-results i { font-size: 3rem; margin-bottom: 1rem; display: block; opacity: 0.4; }

/* Lightbox */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 25px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 1.8rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 50px; height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.lightbox-prev { left: 15px; }
.lightbox-next { right: 15px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.3); }
.lightbox-caption {
  position: absolute;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  background: rgba(0,0,0,0.5);
  padding: 6px 20px;
  border-radius: 50px;
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contacto-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--teal-dark));
  color: white;
  padding: 5rem 0 3rem;
  text-align: center;
}

.contact-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,119,182,0.08);
  height: 100%;
}
.contact-icon-wrap {
  width: 56px; height: 56px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.contact-icon-wrap i { color: var(--primary); font-size: 1.3rem; }
.contact-card h4 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 0.3rem; }
.contact-card p, .contact-card a { font-size: 16px; color: var(--gray); text-decoration: none; }

.horarios-table { width: 100%; font-size: 16px; }
.horarios-table td { padding: 0.4rem 0; color: var(--gray); }
.horarios-table td:first-child { font-weight: 600; color: var(--dark); width: 60%; }

.form-floating label { font-size: 16px; color: var(--gray); }
.form-control, .form-select {
  border: 2px solid var(--light-dark);
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,119,182,0.12);
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-wrap iframe { width: 100%; height: 380px; border: none; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
}
.footer-top { padding: 4rem 0 2rem; }
.footer-brand img { max-height: 55px; filter: brightness(10); margin-bottom: 1rem; }
.footer-brand p { font-size: 18px; color: rgba(255,255,255,0.6); max-width: 280px; line-height: 1.8; }
.footer-title { font-size: 1rem; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.2rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 16px; transition: var(--transition); }
.footer-links a:hover { color: var(--teal-light); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 0.8rem; font-size: 16px; }
.footer-contact-item i { color: var(--teal); margin-top: 3px; width: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 1rem;
}
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9rem;
}
.social-link:hover { background: var(--primary); color: white; transform: translateY(-2px); }

/* WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  bottom: 25px; right: 25px;
  background: #25D366;
  color: white;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 1000;
  text-decoration: none;
  transition: var(--transition);
  animation: pulse-wsp 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); background: #1ebe5d; color: white; }

@keyframes pulse-wsp {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}

/* ============================================================
   BOTONES GENERALES
   ============================================================ */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--teal-dark));
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 17px;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary-custom:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: white; background: linear-gradient(135deg, var(--primary-hover), var(--teal)); }

.btn-outline-custom {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50px;
  padding: 0.7rem 2rem;
  font-weight: 600;
  font-size: 17px;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-custom:hover { background: rgba(255,255,255,0.15); border-color: white; color: white; }

/* ============================================================
   ANIMACIONES
   ============================================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.fade-in-up:nth-child(3) { transition-delay: 0.2s; }
.fade-in-up:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .pilares-hero { grid-template-columns: repeat(2, 1fr); }
  .proceso-steps { flex-wrap: wrap; justify-content: center; }
  .proceso-steps::before { display: none; }
  .paso { flex: 0 0 40%; margin-bottom: 2rem; }
  .testimonials-container { grid-template-columns: 1fr; }
  .hero-image-wrap { margin-top: 2rem; }
  .nosotros-collage { height: 350px; }
}

@media (max-width: 767px) {
  .hero-section { padding: 6rem 0 4rem; min-height: auto; }
  .pilares-hero { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .pilar-item { padding: 0.7rem 0.3rem; }
  .paso { flex: 0 0 45%; }
  .trust-band .row > div { margin-bottom: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .filtros-section { position: static; }
  .color-pills { justify-content: center; }
  .filtro-select { min-width: 100%; }
}

@media (max-width: 576px) {
  .paso { flex: 0 0 100%; }
  .nosotros-collage { height: 260px; }
  .empresa-badge { display: none; }
}
