/* =========================================================
   ZEBOL — Sistema de diseño basado en guía de marca
   Colores oficiales: #007565, #00A582, #CFE500, #38B4E5, #8FD3F1, #89BE53, #7BC25B
   Tipografías: Americane Condensed, Arial, Chardons 2
   ========================================================= */

/* ===== FUENTES ===== */
@font-face {
  font-family: 'Americane Condensed';
  src: url('./assets/fonts/AmericaneCondensed-Bold.woff2') format('woff2'),
       url('./assets/fonts/AmericaneCondensed-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Americane Condensed';
  src: url('./assets/fonts/AmericaneCondensed-Regular.woff2') format('woff2'),
       url('./assets/fonts/AmericaneCondensed-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Americane Condensed';
  src: url('./assets/fonts/AmericaneCondensed-Light.woff2') format('woff2'),
       url('./assets/fonts/AmericaneCondensed-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Chardons 2';
  src: url('./assets/fonts/Chardons2-Regular.woff2') format('woff2'),
       url('./assets/fonts/Chardons2-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===== VARIABLES ===== */
:root {
  /* Colores corporativos */
  --zebol-green: #007565;
  --zebol-green-dark: #005a4d;
  --zebol-green-light: #00A582;
  --zebol-yellow: #CFE500;
  --zebol-blue: #38B4E5;
  --zebol-blue-light: #8FD3F1;
  --zebol-lime: #89BE53;
  --zebol-lime-2: #7BC25B;

  /* Fondos */
  --bg-primary: #f8faf8;
  --bg-secondary: #edf2ed;
  --bg-dark: #1a2a1f;
  --bg-card: #ffffff;
  
  /* Textos */
  --text-primary: #1a2a1f;
  --text-secondary: #3d5a42;
  --text-light: #6a8a6f;
  --text-white: #ffffff;
  
  /* Bordes y sombras */
  --border-color: #d4e0d4;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.14);
  
  /* Tipografías */
  --font-titles: 'Americane Condensed', 'Arial', sans-serif;
  --font-primary: 'Arial', 'Helvetica', sans-serif;
  --font-compositions: 'Chardons 2', 'Kalam', 'Brush Script MT', cursive;
  
  /* Tamaños */
  --radius: 8px;
  --maxw: 1200px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== TIPOGRAFÍA ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-titles);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.2;
}

h4 {
  font-size: 1.1rem;
  line-height: 1.3;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ===== HOVER EN TÍTULOS ===== */
h1:hover, h2:hover, h3:hover, h4:hover {
  color: var(--zebol-green);
  transition: color var(--transition);
}

h1 .accent {
  color: var(--zebol-green);
  transition: color var(--transition);
}

h1:hover .accent {
  color: var(--zebol-green-dark);
}

/* ===== CLASES UTILITARIAS ===== */
.text-handwritten {
  font-family: var(--font-compositions);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.02em;
}

.text-green {
  color: var(--zebol-green);
}

.text-light {
  color: var(--text-light);
}

.text-white {
  color: var(--text-white);
}

.bg-white {
  background: var(--bg-card);
}

.bg-dark {
  background: var(--bg-dark);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ===== BOTONES ===== */
.btn-primary {
  display: inline-block;
  background: var(--zebol-green);
  color: var(--text-white);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-titles);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--zebol-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--text-white);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--zebol-green);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-titles);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 2px solid var(--zebol-green);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--zebol-green);
  color: var(--text-white);
}

.btn-accent {
  display: inline-block;
  background: var(--zebol-yellow);
  color: var(--text-primary);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-titles);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-accent:hover {
  background: #b8cc00;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-tienda {
  background: var(--zebol-yellow);
  color: var(--text-primary);
  padding: 14px 28px;
  font-family: var(--font-titles);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-tienda:hover {
  background: #b8cc00;
  transform: translateY(-2px);
}

.cta-btn {
  display: inline-block;
  background: var(--zebol-yellow);
  color: var(--text-primary);
  padding: 10px 24px;
  border-radius: var(--radius);
  font-family: var(--font-titles);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all var(--transition);
  text-decoration: none;
}

.cta-btn:hover {
  background: #b8cc00;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ===== HEADER ===== */
#site-header {
  background: var(--bg-card);
  border-bottom: 2px solid var(--zebol-green);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

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

.brand {
  font-family: var(--font-titles);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--zebol-green);
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

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

.navlinks {
  display: flex;
  gap: 28px;
  font-family: var(--font-titles);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.navlinks a {
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
  text-decoration: none;
}

.navlinks a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--zebol-green);
  transition: width var(--transition);
}

.navlinks a:hover {
  color: var(--zebol-green);
}

.navlinks a:hover::after {
  width: 100%;
}

#menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

#menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  display: block;
  transition: all var(--transition);
}

#mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 8px 0;
}

#mobile-nav a {
  padding: 12px 24px;
  font-family: var(--font-titles);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  text-decoration: none;
}

#mobile-nav a:hover {
  background: var(--bg-secondary);
  color: var(--zebol-green);
}

/* ===== HERO A PANTALLA COMPLETA ===== */
.hero {
  min-height: 100vh;
  height: 100vh;
  padding: 100px 0 40px;  /* ← Padding superior para el header sticky */
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: zoomSlow 20s ease-in-out infinite alternate;
  transform-origin: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 80px);
}

@keyframes zoomSlow {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

/* ===== ESTILOS PARA EL TÍTULO DEL HERO ===== */
.hero-title-normal {
  font-family: var(--font-titles);
  font-weight: 700;
  text-transform: uppercase;
}

.hero-title-fluyen {
  font-family: var(--font-compositions);
  color: var(--zebol-lime);
  font-size: 1.3em;
  font-style: italic;
  display: inline-block;
  letter-spacing: 0.06em;
  transform: rotate(-2deg);
  text-shadow: 0 2px 20px rgba(137, 190, 83, 0.25);
  padding: 0 4px;
  animation: fadeInScale 1s ease-out forwards;
  opacity: 0;
  animation-delay: 0.5s;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8) rotate(-2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(-2deg);
  }
}

.hero-title-soluciones {
  font-family: var(--font-titles);
  font-weight: 900;
  text-transform: uppercase;
}

/* ===== HERO - TARJETA DE HORARIO A LA DERECHA ===== */
.hero-sidebar {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
}

.hero-horario-card {
  background: rgba(26, 42, 31, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 24px 28px;
  max-width: 280px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.hero-horario-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.4);
  border-color: var(--zebol-green);
}

.hero-horario-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-horario-icon {
  font-size: 24px;
}

.hero-horario-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--zebol-yellow);
}

.hero-horario-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.hero-horario-text strong {
  color: #fff;
  font-size: 18px;
}

.hero-horario-footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.hero-horario-footer span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== SECCIONES ===== */
section {
  padding: 80px 0;
}

section:nth-child(even) {
  background: var(--bg-secondary);
}

section:nth-child(odd) {
  background: var(--bg-primary);
}

.section-head {
  max-width: 700px;
  margin-bottom: 48px;
}

.section-head .eyebrow {
  font-family: var(--font-titles);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--zebol-green);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-head .eyebrow::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--zebol-green);
  display: inline-block;
}

.section-head h2 {
  margin-bottom: 8px;
}

.section-head p {
  font-size: 1.05rem;
}

/* ===== NOSOTROS (PILLARS) ===== */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
}

.pillar {
  background: var(--bg-card);
  padding: 32px 28px;
  transition: all var(--transition);
}

.pillar:hover {
  background: var(--bg-secondary);
}

.pillar .tag {
  font-family: var(--font-titles);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--zebol-green);
  display: block;
  margin-bottom: 8px;
}

.pillar h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.pillar p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== SERVICIOS ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px 24px 24px 24px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--zebol-green);
}

.service .service-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.service .service-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  opacity: 1;
  transition: all 0.4s ease;
}

.service:hover .service-icon {
  transform: scale(1.05);
}

.service .service-number {
  font-family: var(--font-titles);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--zebol-green);
  opacity: 0.5;
  letter-spacing: 0.04em;
  padding-top: 4px;
}

.service h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.service h3:hover {
  color: var(--zebol-green);
  cursor: pointer;
}

.service p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
  flex: 1;
}

/* ===== SECTORES ===== */
.sector-row {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 8px 4px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--zebol-green) var(--border-color);
}

.sector-row::-webkit-scrollbar {
  height: 4px;
}

.sector-row::-webkit-scrollbar-track {
  background: var(--border-color);
  border-radius: 10px;
}

.sector-row::-webkit-scrollbar-thumb {
  background: var(--zebol-green);
  border-radius: 10px;
}

.sector-card {
  flex: 0 0 200px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px 24px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all var(--transition);
}

.sector-card:hover {
  border-color: var(--zebol-green);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.sector-card .n {
  font-family: var(--font-titles);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--zebol-green);
  margin-bottom: 4px;
}

.sector-card h4 {
  font-size: 1rem;
}

.sector-card h4:hover {
  color: var(--zebol-green);
  cursor: pointer;
}

/* ===== STATS ===== */
.stats-band {
  background: var(--zebol-green);
  border-radius: var(--radius);
  padding: 48px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  color: var(--text-white);
}

.stat .num {
  font-family: var(--font-titles);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
}

.stat .lbl {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 4px;
}

/* ===== PROYECTOS ===== */
.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.proyecto-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}

.proyecto-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.proyecto-card .icon {
  background: var(--bg-secondary);
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.proyecto-card .body {
  padding: 20px;
}

.proyecto-card .body h4 {
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 4px;
}

.proyecto-card .body h4:hover {
  color: var(--zebol-green);
  cursor: pointer;
}

.proyecto-card .body .loc {
  font-size: 0.8rem;
  color: var(--text-light);
}

.proyecto-card .body .desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

.proyecto-card .tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.proyecto-card .tags span {
  background: var(--bg-secondary);
  color: var(--zebol-green);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
}

/* ===== EQUIPO ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.team-card .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-secondary);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--zebol-green);
}

.team-card h4 {
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
}

.team-card h4:hover {
  color: var(--zebol-green);
  cursor: pointer;
}

.team-card .role {
  font-size: 0.8rem;
  color: var(--zebol-green);
  font-weight: 600;
}

.team-card .exp {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ===== EQUIPO - CARRUSEL INFINITO ===== */
.team-carousel-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 20px 0;
}

.team-carousel-track {
  display: flex;
  gap: 24px;
  animation: scrollTeam 40s linear infinite;
  width: max-content;
}

.team-carousel-track:hover {
  animation-play-state: paused;
}

.team-carousel-card {
  flex: 0 0 220px;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.team-carousel-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: var(--zebol-green);
}

.team-carousel-card .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 3px solid var(--zebol-green);
  background: var(--bg-secondary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--zebol-green);
}

.team-carousel-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-carousel-card .avatar .initials {
  font-size: 28px;
  font-weight: 700;
  color: var(--zebol-green);
}

.team-carousel-card h4 {
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 2px;
  font-weight: 700;
  color: var(--text-primary);
}

.team-carousel-card .role {
  font-size: 0.75rem;
  color: var(--zebol-green);
  font-weight: 600;
}

.team-carousel-card .exp {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 4px;
}

.team-carousel-card .contact {
  font-size: 0.65rem;
  color: var(--text-light);
  margin-top: 4px;
  word-break: break-all;
}

@keyframes scrollTeam {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===== TESTIMONIOS ===== */
.testimonial-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
}

.testimonial-slider .item {
  flex: 0 0 300px;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border-color);
  scroll-snap-align: start;
}

.testimonial-slider .item q {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: block;
}

.testimonial-slider .item .author {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-slider .item .author .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--zebol-green);
}

.testimonial-slider .item .author strong {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.testimonial-slider .item .author span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== FAQ ===== */
details {
  background: var(--bg-card);
  padding: 18px 24px;
  border-radius: var(--radius);
  margin-bottom: 10px;
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}

details:hover {
  border-color: var(--zebol-green);
}

details summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::after {
  content: '▼';
  font-size: 12px;
  color: var(--zebol-green);
  transition: transform var(--transition);
}

details summary:hover {
  color: var(--zebol-green);
}

details[open] summary::after {
  transform: rotate(180deg);
}

details p {
  color: var(--text-secondary);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

/* ===== MARCAS ===== */
.brand-marquee {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
  overflow: hidden;
}

.brand-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: scroll-left 120s linear infinite;
  font-family: var(--font-titles);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
}

.brand-track span {
  white-space: nowrap;
}

@keyframes scroll-left {
  to { transform: translateX(-50%); }
}

/* ===== UBICACIONES ===== */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
}

.loc-card {
  background: var(--bg-card);
  padding: 24px 28px;
}

.loc-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.loc-card h3:hover {
  color: var(--zebol-green);
  cursor: pointer;
}

.loc-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.loc-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-line {
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: var(--zebol-green);
  text-decoration: none;
}

.contact-line:hover {
  text-decoration: underline;
}

.map-link {
  font-size: 0.85rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-color);
  text-decoration: none;
}

.map-link:hover {
  color: var(--zebol-green);
  border-color: var(--zebol-green);
}

.loc-hours {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== MAPA ===== */
.map-container {
  position: relative;
  width: 100%;
  height: 350px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

#mapa-zebol {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border-radius: var(--radius);
  z-index: 1;
  position: relative;
}

/* Marcador personalizado */
.custom-marker {
  background: var(--zebol-green);
  width: 40px;
  height: 40px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 4px 15px rgba(0, 117, 101, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.custom-marker:hover {
  transform: rotate(-45deg) scale(1.15);
  box-shadow: 0 6px 25px rgba(0, 117, 101, 0.6);
}

.custom-marker .icon {
  transform: rotate(45deg);
  font-size: 18px;
  color: #fff;
  line-height: 1;
}

/* Popup personalizado */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: var(--bg-card);
  border-left: 4px solid var(--zebol-green);
}

.leaflet-popup-content {
  font-family: var(--font-primary);
  color: var(--text-primary);
  padding: 8px 4px;
}

.leaflet-popup-content h4 {
  font-family: var(--font-titles);
  font-size: 1rem;
  color: var(--zebol-green);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

.leaflet-popup-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 4px 0;
}

.leaflet-popup-content .phone {
  font-weight: 600;
  color: var(--zebol-green);
  font-size: 0.9rem;
}

/* Controles del mapa */
.leaflet-control-zoom {
  border: none !important;
  box-shadow: var(--shadow-sm) !important;
}

.leaflet-control-zoom a {
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
}

.leaflet-control-zoom a:hover {
  background: var(--bg-secondary) !important;
  color: var(--zebol-green) !important;
}

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--zebol-green);
  border-radius: var(--radius);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.cta-band h2 {
  color: var(--text-white);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  max-width: 500px;
}

.cta-band .btn-primary {
  background: var(--text-white);
  color: var(--zebol-green);
}

.cta-band .btn-primary:hover {
  background: var(--bg-secondary);
  color: var(--zebol-green-dark);
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
  border-top: 4px solid var(--zebol-green);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-grid h4 {
  color: var(--text-white);
  font-family: var(--font-titles);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-grid a:hover {
  color: var(--text-white);
}

.footer-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 300px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== BOTÓN DE TRADUCCIÓN ===== */
#translate-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s;
  font-family: var(--font-titles);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#translate-btn:hover {
  border-color: var(--zebol-green);
  color: var(--zebol-green);
}

#translate-menu {
  display: none;
  position: absolute;
  top: 110%;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 6px 0;
  min-width: 150px;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

#translate-menu.show {
  display: block;
}

.translate-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 16px;
  background: transparent;
  border: 0;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s;
  font-family: var(--font-primary);
}

.translate-menu-item:hover {
  background: var(--bg-secondary);
  color: var(--zebol-green);
}

/* ===== REVELADO ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PROTO TAG ===== */
.proto-tag {
  display: none;
}

/* ===== ADMIN LINK ===== */
.admin-link {
  color: var(--text-light);
  font-size: 16px;
  padding: 4px 8px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.admin-link:hover {
  color: var(--zebol-green) !important;
}

/* ===== BOTÓN DE IMPORTAR ===== */
.btn-importar {
  background: var(--zebol-blue);
  color: var(--text-white);
  border: 0;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-titles);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-importar:hover {
  background: #2a9bc9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-importar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

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

/* === TABLETS Y PANTALLAS MEDIANAS === */
@media (max-width: 992px) {
  .hero {
    min-height: 100vh;
    height: 100vh;
    padding: 80px 0 40px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding: 20px 0;
    gap: 20px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 0.95rem;
    max-width: 90%;
    margin: 0 auto 16px;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .hero-actions .btn-tienda {
    font-size: 0.8rem;
    padding: 10px 20px;
    width: auto;
    min-width: 140px;
  }

  .hero-meta {
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 16px;
  }

  .hero-meta .num {
    font-size: 1.8rem;
  }

  .hero-meta .lbl {
    font-size: 0.65rem;
  }

  .hero-art {
    display: none;
  }

  .hero .eyebrow {
    justify-content: center;
  }

  /* Horario en móvil */
  .hero-sidebar {
    align-items: center;
    margin-top: 20px;
  }

  .hero-horario-card {
    max-width: 100%;
    text-align: center;
  }

  .hero-horario-header {
    justify-content: center;
  }

  .hero-horario-footer {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }

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

  .stats-band {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .section-head {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .section-head .eyebrow {
    justify-content: center;
  }

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

  .navlinks {
    display: none;
  }

  #menu-toggle {
    display: flex;
  }

  #mobile-nav.open {
    display: flex;
  }
}

/* === MÓVILES ( < 768px ) === */
@media (max-width: 768px) {
  .wrap {
    padding: 0 16px;
  }

  .hero {
    padding: 70px 0 30px;
    min-height: auto;
    height: auto;
  }

  .hero .wrap {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.1;
  }

  .hero-title-fluyen {
    font-size: 1.2em;
    display: inline-block;
  }

  .hero p {
    font-size: 0.85rem;
    max-width: 100%;
    margin: 0 auto 12px;
    padding: 0 4px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .hero-actions .btn-tienda {
    width: 100%;
    max-width: 280px;
    text-align: center;
    justify-content: center;
    font-size: 0.75rem;
    padding: 12px 16px;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .hero-meta .num {
    font-size: 1.5rem;
  }

  .hero-meta .lbl {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .hero-grid {
    padding: 20px 0;
    min-height: auto;
    gap: 16px;
  }

  .hero .eyebrow {
    font-size: 0.7rem;
    justify-content: center;
    text-align: center;
  }

  .hero-horario-card {
    padding: 16px 20px;
  }

  .hero-horario-text {
    font-size: 14px;
  }

  .hero-horario-text strong {
    font-size: 16px;
  }

  .hero-horario-footer {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  #site-header .brand img {
    height: 36px;
  }

  .nav {
    gap: 12px;
  }

  .cta-btn {
    font-size: 0.65rem;
    padding: 6px 14px;
  }

  #translate-btn {
    font-size: 10px;
    padding: 4px 10px;
  }

  section {
    padding: 40px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head h2 {
    font-size: 1.6rem;
  }

  .section-head p {
    font-size: 0.9rem;
  }

  .btn-primary,
  .btn-secondary,
  .btn-accent {
    padding: 10px 20px;
    font-size: 0.8rem;
    width: 100%;
    text-align: center;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service {
    padding: 16px;
  }

  .service .service-icon {
    width: 36px;
    height: 36px;
  }

  .service .service-header {
    gap: 10px;
  }

  .service .service-number {
    font-size: 0.65rem;
  }

  .service h3 {
    font-size: 0.9rem;
  }

  .service p {
    font-size: 0.8rem;
  }

  .sector-card {
    flex: 0 0 150px;
    padding: 14px 16px;
    min-height: 90px;
  }

  .sector-card h4 {
    font-size: 0.85rem;
  }

  .stats-band {
    padding: 24px 16px;
    gap: 16px;
  }

  .stat .num {
    font-size: 1.8rem;
  }

  .stat .lbl {
    font-size: 0.7rem;
  }

  .proyectos-grid {
    gap: 16px;
  }

  .proyecto-card .body {
    padding: 14px;
  }

  .proyecto-card .body h4 {
    font-size: 0.9rem;
  }

  .proyecto-card .proyecto-imagen {
    height: 140px;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .team-card {
    padding: 14px 10px;
  }

  .team-card .avatar {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .team-card h4 {
    font-size: 0.8rem;
  }

  .team-card .role {
    font-size: 0.65rem;
  }

  .team-card .exp {
    font-size: 0.6rem;
  }

  .team-carousel-card {
    flex: 0 0 180px;
    padding: 16px 14px;
    min-height: 220px;
  }

  .team-carousel-card .avatar {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .team-carousel-card h4 {
    font-size: 0.8rem;
  }

  .team-carousel-track {
    gap: 16px;
    animation-duration: 30s;
  }

  .testimonial-slider .item {
    flex: 0 0 260px;
    padding: 16px;
  }

  details {
    padding: 14px 16px;
  }

  details summary {
    font-size: 0.9rem;
  }

  details p {
    font-size: 0.85rem;
  }

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

  .loc-card {
    padding: 16px;
  }

  .loc-card h3 {
    font-size: 0.9rem;
  }

  .loc-card p {
    font-size: 0.8rem;
  }

  .loc-links {
    flex-direction: column;
    gap: 6px;
  }

  .cta-band {
    padding: 24px 20px;
    flex-direction: column;
    text-align: center;
  }

  .cta-band h2 {
    font-size: 1.3rem;
  }

  .cta-band .btn-primary {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .footer-desc {
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    font-size: 0.7rem;
  }

  .map-container {
    height: 250px;
  }

  #mapa-zebol {
    min-height: 250px;
  }

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

  .pillar {
    padding: 20px 16px;
  }

  .pillar h3 {
    font-size: 1rem;
  }

  .pillar p {
    font-size: 0.85rem;
  }

  /* Mejoras táctiles */
  button,
  .btn-primary,
  .btn-secondary,
  .btn-accent,
  .btn-agregar-carrito,
  .filtro-btn,
  .paginacion-btn,
  .navlinks a,
  .cta-btn,
  #cart-toggle,
  #translate-btn,
  .btn-editar,
  .btn-eliminar,
  .btn-ver {
    min-height: 44px;
    min-width: 44px;
  }

  .navlinks a,
  .footer-grid a {
    padding: 8px 0;
  }

  .sector-row,
  .testimonial-slider {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
}

/* === MÓVILES MUY PEQUEÑOS ( < 480px ) === */
@media (max-width: 480px) {
  .wrap {
    padding: 0 12px;
  }

  .hero {
    padding: 60px 0 20px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-title-fluyen {
    font-size: 1.1em;
  }

  .hero p {
    font-size: 0.8rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .hero-actions .btn-tienda {
    font-size: 0.7rem;
    padding: 10px 14px;
    max-width: 100%;
  }

  .hero-meta {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero-meta .num {
    font-size: 1.2rem;
  }

  .hero-meta .lbl {
    font-size: 0.55rem;
  }

  .hero-horario-card {
    padding: 12px 16px;
  }

  .hero-horario-text {
    font-size: 13px;
  }

  .hero-horario-text strong {
    font-size: 14px;
  }

  .section-head h2 {
    font-size: 1.3rem;
  }

  .btn-primary,
  .btn-secondary,
  .btn-accent {
    font-size: 0.7rem;
    padding: 10px 16px;
  }

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

  .stats-band {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 16px 12px;
  }

  .stat .num {
    font-size: 1.4rem;
  }

  .stat .lbl {
    font-size: 0.6rem;
  }

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

  .team-card .avatar {
    width: 80px;
    height: 80px;
    font-size: 36px;
  }

  .team-carousel-card {
    flex: 0 0 160px;
    padding: 12px 10px;
    min-height: 190px;
  }

  .team-carousel-card .avatar {
    width: 50px;
    height: 50px;
    font-size: 20px;
    border-width: 2px;
  }

  .team-carousel-card h4 {
    font-size: 0.7rem;
  }

  .team-carousel-card .role {
    font-size: 0.6rem;
  }

  .team-carousel-card .exp {
    font-size: 0.6rem;
  }

  .team-carousel-track {
    gap: 12px;
    animation-duration: 25s;
  }

  .sector-card {
    flex: 0 0 120px;
    padding: 10px 12px;
    min-height: 70px;
  }

  .sector-card h4 {
    font-size: 0.7rem;
  }

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

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

  .map-container {
    height: 200px;
  }

  #mapa-zebol {
    min-height: 200px;
  }

  .loc-card {
    padding: 12px;
  }

  .loc-card h3 {
    font-size: 0.85rem;
  }

  .loc-card p {
    font-size: 0.75rem;
  }

  .cta-band {
    padding: 20px 16px;
  }

  .cta-band h2 {
    font-size: 1rem;
  }

  .product-grid {
    grid-template-columns: 1fr !important;
  }

  .product-card {
    padding: 14px;
  }

  .product-card h4 {
    font-size: 0.9rem;
  }

  .producto-precio {
    font-size: 1rem;
  }

  .btn-agregar-carrito {
    font-size: 0.6rem;
    padding: 6px 10px;
  }

  .paginacion-btn {
    padding: 4px 10px;
    font-size: 0.7rem;
  }
}

/* ============================================================
   AJUSTES PARA EL DISEÑO PDF 2026
   (Solo cambios mínimos, mantiene el diseño original)
   ============================================================ */

/* ===== 1. FUENTE POPPINS PARA TÍTULOS ===== */
h1, h2, h3, h4, h5, h6,
.section-head h2,
.section-head .eyebrow,
.navlinks a,
.brand,
.btn-primary,
.btn-secondary,
.btn-accent {
  font-family: 'Poppins', 'Americane Condensed', 'Arial', sans-serif;
}

body, p, a, span, div, li, input, textarea, select, button {
  font-family: 'Poppins', 'Arial', 'Helvetica', sans-serif;
}

/* ===== 2. HEADER ===== */
#site-header {
  background: #FFFFFF;
  border-bottom: none;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

#site-header .nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

#site-header .brand img {
  height: 56px;
}

/* Menú verde redondeado */
.navlinks {
  display: flex;
  gap: 4px;
  background: #005F4E;
  padding: 6px 12px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0, 95, 78, 0.2);
}

.navlinks a {
  color: #FFFFFF !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.navlinks a::after {
  display: none !important;
}

.navlinks a:hover {
  background: rgba(168, 232, 32, 0.15);
  color: #A8E820 !important;
}

.navlinks a.admin-link {
  color: rgba(255,255,255,0.6) !important;
  padding: 10px 14px;
}

.navlinks a.admin-link:hover {
  color: #A8E820 !important;
  background: transparent;
}

/* Redes sociales */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-links {
  display: flex;
  gap: 6px;
}

.social-links a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #005F4E;
  color: #FFFFFF;
  border-radius: 50%;
  transition: all 0.3s;
  text-decoration: none;
}

.social-links a:hover {
  background: #A8E820;
  color: #005F4E;
  transform: translateY(-2px);
}

/* Botón idioma */
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #005F4E;
  color: #FFFFFF;
  border: none;
  padding: 8px 16px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s;
}

.lang-btn:hover {
  background: #A8E820;
  color: #005F4E;
}

/* Responsive */
@media (max-width: 992px) {
  .navlinks {
    display: none !important;
  }
  
  .header-right {
    display: none;
  }
  
  #menu-toggle {
    display: flex;
  }
  
  #mobile-nav.open {
    display: flex;
  }
}

/* ===== 3. HERO CON VIDEO ===== */
.hero {
  position: relative !important;
  background: #005F4E !important;
  min-height: 100vh !important;
  height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 🎥 VIDEO DE FONDO */
.hero-video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Overlay sobre el video */
.hero-overlay-video {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(90deg, 
    rgba(0, 95, 78, 0.75) 0%,     /* Oscuro para el texto */
    rgba(0, 95, 78, 0.3) 40%,     /* Transición rápida */
    rgba(0, 95, 78, 0) 60%,       /* Nada a partir del 60% */
    rgba(0, 95, 78, 0) 100%       /* Video puro a la derecha */
  ) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}
/* Ocultar capas antiguas */
.hero-bg-image,
.hero-overlay {
  display: none !important;
}

/* Contenido encima del video */
.hero-content-wrapper {
  position: relative !important;
  z-index: 2 !important;
  max-width: 720px !important;
  padding: 60px 40px 60px 6% !important;
}

/* Resto de estilos del hero (mantener) */
.hero .eyebrow {
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0 0 20px 0;
  text-transform: none;
  display: block;
}

.hero h1 {
  color: #FFFFFF !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(3.5rem, 6vw, 5.5rem) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: -0.03em !important;
  margin: 0 0 24px 0 !important;
  padding: 0;
  text-transform: none !important;
}

.hero-title-soluciones {
  display: block;
  color: #FFFFFF !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-style: normal;
  line-height: 1;
  text-transform: none !important;
  letter-spacing: -0.02em;
  margin: 0;
  padding: 0;
}

.hero-title-fluyen {
  display: block;
  color: #A8E820 !important;
  font-family: 'Kalam', cursive;
  font-style: italic;
  font-weight: 700;
  font-size: 1.15em;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: none !important;
  transform: none;
  text-shadow: none;
  padding: 0;
  margin: 6px 0 0 0;
  animation: none;
  opacity: 1;
}

.hero p {
  color: rgba(255, 255, 255, 0.95) !important;
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  max-width: 540px;
  margin: 0 0 32px 0;
  padding: 0;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  padding: 14px 30px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50px;
  background: rgba(0, 95, 78, 0.4);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-transform: none;
  letter-spacing: 0;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.hero-actions .btn-primary:hover,
.hero-actions .btn-secondary:hover {
  background: #FFFFFF;
  color: #005F4E;
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.hero-actions .btn-tienda {
  padding: 14px 30px;
  background: #A8E820;
  color: #005F4E;
  border: 2px solid #A8E820;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-transform: none;
  letter-spacing: 0;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.hero-actions .btn-tienda:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #005F4E;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
  .hero {
    min-height: 80vh !important;
  }
  .hero-content-wrapper {
    max-width: 100%;
    padding: 60px 40px;
  }
  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 75vh !important;
  }
  .hero-content-wrapper {
    padding: 50px 24px;
    text-align: center;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero .eyebrow {
    text-align: center;
  }
  .hero p {
    font-size: 15px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 85vh !important;
  }
  .hero-content-wrapper {
    padding: 40px 20px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .hero-actions .btn-tienda {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   HERO EN MÓVIL - Ajuste del fondo
   ============================================================ */

@media (max-width: 768px) {
  /* Cambiar la posición del video/imagen para que se vea la parte importante */
  .hero-video {
    object-position: 75% center !important;
  }
  
  /* Overlay más oscuro en móvil para que el texto se lea bien */
  .hero-overlay-video {
    background: linear-gradient(
      180deg, 
      rgba(0, 95, 78, 0.85) 0%, 
      rgba(0, 95, 78, 0.75) 50%, 
      rgba(0, 95, 78, 0.9) 100%
    ) !important;
  }
  
  /* Reducir el padding para que el contenido quepa mejor */
  .hero-content-wrapper {
    padding: 100px 24px 60px 24px !important;
    text-align: center !important;
  }
  
  /* Título un poco más pequeño en móvil */
  .hero h1 {
    font-size: 2.5rem !important;
  }
  
  /* Botones a ancho completo */
  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }
  
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .hero-actions .btn-tienda {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 16px 24px !important;
  }
}

@media (max-width: 480px) {
  /* En móviles pequeños, alinear aún más a la derecha */
  .hero-video {
    object-position: 80% center !important;
  }
  
  /* Overlay aún más oscuro */
  .hero-overlay-video {
    background: rgba(0, 95, 78, 0.35) !important;
  }
  
  /* Reducir aún más el padding */
  .hero-content-wrapper {
    padding: 80px 20px 40px 20px !important;
  }
  
  /* Título más pequeño */
  .hero h1 {
    font-size: 2rem !important;
  }
  
  /* Párrafo más pequeño */
  .hero p {
    font-size: 14px !important;
  }
  
  /* Eyebrow centrado */
  .hero .eyebrow {
    text-align: center !important;
    font-size: 13px !important;
  }
}

/* ===== 4. SECCIÓN SOMOS (nueva) ===== */
#nosotros {
  background: #FFFFFF;
  padding: 80px 0;
}

#nosotros .section-head h2 {
  color: #005F4E;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
}

/* ===== 5. SERVICIOS - Fondo verde oscuro ===== */
#servicios {
  background: #005F4E !important;
  color: #FFFFFF;
  padding: 80px 0;
}

/* Encabezado con botón a la derecha */
.section-head-servicios {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 100% !important;
  margin-bottom: 60px;
}

.section-head-servicios .eyebrow {
  color: #A8E820 !important;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-head-servicios .eyebrow::before {
  content: '';
  width: 30px;
  height: 2px;
  background: #A8E820;
  display: inline-block;
}

.section-head-servicios h2 {
  color: #FFFFFF !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
  max-width: 800px;
  margin: 0 !important;
}

/* 🎯 BOTÓN ¡Solicítalos Ahora! */
.btn-solicitar {
  display: inline-block;
  background: #A8E820;
  color: #005F4E;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid #A8E820;
  align-self: flex-start;
  margin-top: 8px;
  box-shadow: 0 4px 15px rgba(168, 232, 32, 0.3);
}

.btn-solicitar:hover {
  background: #FFFFFF;
  color: #005F4E;
  border-color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(168, 232, 32, 0.5);
}

.btn-solicitar:active {
  transform: translateY(-1px);
}

/* Grid de servicios - 3 columnas con buen espacio */
#servicios .service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 48px;
  max-width: 100%;
  align-items: start;
}

/* Tarjeta de servicio */
#servicios .service {
  background: rgba(0, 95, 78, 0.4) !important;
  border: 2px solid rgba(168, 232, 32, 0.2) !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
  padding: 24px 20px !important;
  min-height: 180px !important;
  display: grid !important;
  grid-template-columns: 80px 1fr !important;
  gap: 20px !important;
  align-items: center !important;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

#servicios .service:hover {
  transform: translateY(-6px) !important;
  background: rgba(0, 95, 78, 0.6) !important;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25) !important;
  border-color: #A8E820 !important;
}

/* Ícono */
#servicios .service .service-header {
  width: 80px !important;
  height: 80px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #FFF9C4 !important;
  border: none !important;
  border-radius: 50% !important;
  padding: 0 !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

#servicios .service:hover .service-header {
  transform: scale(1.05) !important;
  box-shadow: 0 6px 20px rgba(255, 249, 196, 0.4) !important;
}

#servicios .service .service-icon {
  width: 40px !important;
  height: 40px !important;
  filter: brightness(0) saturate(100%) invert(23%) sepia(35%) saturate(1745%) hue-rotate(140deg) brightness(93%) contrast(101%) !important;
  object-fit: contain;
}

#servicios .service .service-number {
  display: none !important;
}

/* Contenedor de texto */
#servicios .service > div:last-child,
#servicios .service .service-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

#servicios .service h3 {
  color: #A8E820 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.2 !important;
}

#servicios .service h3::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(168, 232, 32, 0.3);
  margin-top: 8px;
}

#servicios .service h3:hover {
  color: #FFFFFF !important;
}

#servicios .service p {
  color: rgba(255, 255, 255, 0.95) !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  font-weight: 400 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  #servicios .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }

  .section-head-servicios {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .btn-solicitar {
    align-self: stretch;
    text-align: center;
  }
}

@media (max-width: 768px) {
  #servicios .service-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #servicios .service {
    grid-template-columns: 70px 1fr !important;
    gap: 16px !important;
  }

  #servicios .service .service-header {
    width: 70px !important;
    height: 70px !important;
  }

  #servicios .service .service-icon {
    width: 34px !important;
    height: 34px !important;
  }

  #servicios .service h3 {
    font-size: 16px !important;
  }

  #servicios .service p {
    font-size: 13px !important;
  }

  .section-head-servicios h2 {
    font-size: 1.6rem !important;
  }

  .btn-solicitar {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* ===== 6. SECTORES - Fondo verde brillante limpio ===== */
#sectores {
  background: #A8E820;
  background-image: 
    linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 30%),
    linear-gradient(90deg, transparent 0%, rgba(0, 95, 78, 0.03) 50%, transparent 100%);
  padding: 100px 0;
  position: relative;
}

/* Curva superior decorativa (como el PDF) */
#sectores::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: #005F4E;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  z-index: 1;
  pointer-events: none;
}

/* Curva inferior decorativa */
#sectores::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 40px;
  background: #005F4E;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 1;
  pointer-events: none;
}

/* Asegurar que el contenido quede arriba de las curvas */
#sectores .wrap {
  position: relative;
  z-index: 2;
}

/* ===== 7. STATS - Fondo verde oscuro ===== */
#numeros {
  background: #005F4E;
  padding: 60px 0;
}

.stats-band {
  background: transparent;
}

.stat .num {
  color: #A8E820;
}

.stat .lbl {
  color: rgba(255, 255, 255, 0.75);
}

.stats-note {
  color: rgba(255, 255, 255, 0.4);
}

/* ===== 8. PROYECTOS - Tarjetas verdes oscuras ===== */
#proyectos {
  background: #FFFFFF;
  padding: 80px 0;
}

#proyectos .section-head h2 {
  color: #005F4E;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  font-weight: 800;
}

#proyectos .proyecto-card {
  background: #005F4E;
  border: none;
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Imagen sin espacios ni bordes */
#proyectos .proyecto-card .proyecto-imagen {
  border-radius: 24px 24px 0 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #005F4E;
  display: block;
}

#proyectos .proyecto-card .proyecto-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
}

#proyectos .proyecto-card .body {
  padding: 24px 24px;
}

#proyectos .proyecto-card .body h4 {
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 6px;
}

#proyectos .proyecto-card .body h4:hover {
  color: #A8E820;
}

#proyectos .proyecto-card .body .loc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 10px;
}

#proyectos .proyecto-card .body .desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 14px;
}

#proyectos .proyecto-card .tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

#proyectos .proyecto-card .tags span {
  background: rgba(168, 232, 32, 0.15);
  color: #A8E820;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
}

/* ===== 9. EQUIPO - Fondo verde brillante con marcos ===== */
.equipo-section {
  background: #A8E820 !important;
  background-image: 
    linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 30%);
  padding: 100px 0 !important;
  position: relative;
  overflow: hidden;
}

.equipo-section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 50px;
  background: #FFFFFF;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  z-index: 1;
  pointer-events: none;
}

.equipo-section::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 50px;
  background: #FFFFFF;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 1;
  pointer-events: none;
}

.equipo-video-bg {
  display: none !important;
}

.equipo-content {
  position: relative;
  z-index: 2;
}

.equipo-section .section-head h2 {
  color: #005F4E !important;
  text-shadow: none !important;
  text-transform: uppercase;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
}

.equipo-section .section-head .eyebrow {
  color: #005F4E !important;
}

.equipo-section .section-head .eyebrow::before {
  background: #005F4E !important;
}

/* Carrusel */
.equipo-section .team-carousel-container {
  padding: 40px 0;
}

.equipo-section .team-carousel-track {
  gap: 28px;
}

/* Tarjeta con marco blanco completo */
.equipo-section .team-carousel-card {
  flex: 0 0 260px;
  background: #FFFFFF !important;
  border: 3px solid #005F4E !important;
  border-radius: 24px !important;
  box-shadow: 0 8px 30px rgba(0, 95, 78, 0.2) !important;
  padding: 30px 20px 24px !important;
  min-height: auto !important;
  transition: all 0.3s ease;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.equipo-section .team-carousel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 50px rgba(0, 95, 78, 0.35) !important;
  background: #FFFFFF !important;
  border-color: #A8E820 !important;
}

/* Foto con marco circular */
.equipo-section .team-carousel-card .avatar {
  width: 160px !important;
  height: 160px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  margin: 0 auto 20px !important;
  border: 5px solid #FFFFFF !important;
  background: #F0F0F0 !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 0 0 3px #005F4E;
  transition: all 0.3s ease;
  position: relative;
}

.equipo-section .team-carousel-card:hover .avatar {
  transform: scale(1.05);
  box-shadow: 0 0 0 3px #005F4E, 0 8px 24px rgba(0, 95, 78, 0.4);
}

/* Foto: ajustar posición para mostrar rostro + hombros */
.equipo-section .team-carousel-card .avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 25% !important;
  display: block !important;
  border-radius: 50% !important;
}

.equipo-section .team-carousel-card .avatar .initials {
  font-size: 60px !important;
  font-weight: 800;
  color: #005F4E;
  font-family: 'Poppins', sans-serif;
}

/* Nombre */
.equipo-section .team-carousel-card h4 {
  color: #005F4E !important;
  font-family: 'Poppins', sans-serif;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.3;
  text-align: center;
}

/* Cargo */
.equipo-section .team-carousel-card .role {
  color: #005F4E !important;
  font-family: 'Poppins', sans-serif;
  font-size: 13px !important;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 4px;
  line-height: 1.3;
  text-align: center;
}

/* Ubicación */
.equipo-section .team-carousel-card .exp {
  color: #005F4E !important;
  font-family: 'Poppins', sans-serif;
  font-size: 11px !important;
  opacity: 0.7;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* Teléfono y Email */
.equipo-section .team-carousel-card .contact {
  color: #005F4E !important;
  font-family: 'Poppins', sans-serif;
  font-size: 10px !important;
  opacity: 0.7;
  margin-top: 6px;
  text-align: center;
  word-break: break-all;
  width: 100%;
  line-height: 1.4;
}

/* Separador solo antes del primer contacto */
.equipo-section .team-carousel-card .contact:first-of-type {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 95, 78, 0.15);
}

/* Responsive */
@media (max-width: 1200px) {
  .equipo-section .team-carousel-track {
    gap: 20px;
  }
  
  .equipo-section .team-carousel-card {
    flex: 0 0 240px;
  }
  
  .equipo-section .team-carousel-card .avatar {
    width: 140px !important;
    height: 140px !important;
  }
}

@media (max-width: 768px) {
  .equipo-section {
    padding: 60px 0 !important;
  }
  
  .equipo-section .team-carousel-card {
    flex: 0 0 220px;
    padding: 24px 16px 20px !important;
  }
  
  .equipo-section .team-carousel-card .avatar {
    width: 120px !important;
    height: 120px !important;
    border-width: 4px !important;
  }
  
  .equipo-section .team-carousel-card h4 {
    font-size: 14px !important;
  }
  
  .equipo-section .team-carousel-card .role {
    font-size: 11px !important;
  }
  
  .equipo-section .team-carousel-card .exp {
    font-size: 10px !important;
  }
  
  .equipo-section .team-carousel-card .contact {
    font-size: 9px !important;
  }
}

@media (max-width: 480px) {
  .equipo-section .team-carousel-card {
    flex: 0 0 200px;
    padding: 20px 14px 18px !important;
  }
  
  .equipo-section .team-carousel-card .avatar {
    width: 100px !important;
    height: 100px !important;
  }
  
  .equipo-section .team-carousel-card h4 {
    font-size: 13px !important;
  }
}

/* ===== 10. TESTIMONIOS - Fondo verde oscuro con cards de colores ===== */
#testimonios {
  background: #005F4E;
  padding: 80px 0;
}

#testimonios .section-head h2 {
  color: #FFFFFF;
  text-transform: uppercase;
  font-weight: 800;
}

#testimonios .section-head .eyebrow {
  color: #A8E820 !important;
}

#testimonios .section-head .eyebrow::before {
  background: #A8E820 !important;
}

/* Cards de colores */
.testimonial-slider .item:nth-child(1) {
  background: #A8E820;
}

.testimonial-slider .item:nth-child(1) q,
.testimonial-slider .item:nth-child(1) strong,
.testimonial-slider .item:nth-child(1) span {
  color: #005F4E;
}

.testimonial-slider .item:nth-child(2) {
  background: #00876A;
}

.testimonial-slider .item:nth-child(2) q,
.testimonial-slider .item:nth-child(2) strong,
.testimonial-slider .item:nth-child(2) span {
  color: #FFFFFF;
}

.testimonial-slider .item:nth-child(3) {
  background: #2D8B72;
}

.testimonial-slider .item:nth-child(3) q,
.testimonial-slider .item:nth-child(3) strong,
.testimonial-slider .item:nth-child(3) span {
  color: #FFFFFF;
}

.testimonial-slider .item:nth-child(4) {
  background: #FFF5CC;
}

.testimonial-slider .item:nth-child(4) q,
.testimonial-slider .item:nth-child(4) strong,
.testimonial-slider .item:nth-child(4) span {
  color: #005F4E;
}

.testimonial-slider .item {
  border: none;
  border-radius: 24px;
  padding: 28px;
  min-height: 240px;
}

/* ===== 11. UBICACIONES - Mapa izquierda, texto derecha ===== */
#contacto {
  background: #FFFFFF !important;
  padding: 80px 0 !important;
}

#contacto .section-head h2 {
  color: #005F4E !important;
  text-transform: uppercase;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 40px;
}

#contacto .section-head .eyebrow {
  color: #005F4E !important;
}

#contacto .section-head .eyebrow::before {
  background: #005F4E !important;
}

/* Layout 2 columnas */
.ubicaciones-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 40px;
}

/* MAPA */
.ubicaciones-mapa {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 95, 78, 0.15);
  border: 1px solid rgba(0, 95, 78, 0.1);
  height: 650px;
  position: sticky;
  top: 100px;
}

#mapa-zebol {
  width: 100%;
  height: 100%;
  min-height: 650px;
  border-radius: 16px;
  z-index: 1;
  position: relative;
}

/* LISTA DE UBICACIONES */
.ubicaciones-lista {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Cada ubicación */
.ubicacion-item {
  padding-bottom: 28px;
  border-bottom: 3px solid #A8E820;
  position: relative;
}

.ubicacion-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Nombre de la sede */
.ubicacion-item h3 {
  color: #A8E820 !important;
  font-family: 'Poppins', sans-serif;
  font-size: 20px !important;
  font-weight: 700 !important;
  text-transform: none;
  letter-spacing: -0.01em;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

/* Descripción */
.ubicacion-item p {
  color: #005F4E !important;
  font-family: 'Poppins', sans-serif;
  font-size: 16px !important;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 12px 0;
}

/* Links de cada ubicación (teléfono + maps) */
.ubicacion-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
}

.ubicacion-links .contact-line {
  color: #005F4E !important;
  font-family: 'Poppins', sans-serif;
  font-size: 14px !important;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.ubicacion-links .contact-line:hover {
  color: #A8E820 !important;
}

.ubicacion-links .map-link {
  color: #005F4E !important;
  font-family: 'Poppins', sans-serif;
  font-size: 14px !important;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #A8E820;
  padding-bottom: 2px;
  transition: all 0.3s;
}

.ubicacion-links .map-link:hover {
  color: #A8E820 !important;
  border-color: #005F4E;
}

/* Horario */
.loc-hours {
  text-align: center;
  margin-top: 40px;
  font-size: 15px;
  color: #005F4E;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 95, 78, 0.15);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .ubicaciones-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ubicaciones-mapa {
    height: 400px;
    position: relative;
    top: 0;
  }

  #mapa-zebol {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  #contacto {
    padding: 60px 0 !important;
  }

  #contacto .section-head h2 {
    font-size: 1.8rem;
    margin-bottom: 32px;
  }

  .ubicaciones-mapa {
    height: 320px;
  }

  #mapa-zebol {
    min-height: 320px;
  }

  .ubicacion-item {
    padding-bottom: 24px;
    border-bottom-width: 2px;
  }

  .ubicacion-item h3 {
    font-size: 18px !important;
  }

  .ubicacion-item p {
    font-size: 14px !important;
  }

  .ubicacion-links {
    gap: 14px;
  }

  .ubicacion-links .contact-line,
  .ubicacion-links .map-link {
    font-size: 13px !important;
  }
}

@media (max-width: 480px) {
  .ubicaciones-mapa {
    height: 260px;
  }

  #mapa-zebol {
    min-height: 260px;
  }

  .ubicacion-item h3 {
    font-size: 16px !important;
  }

  .ubicacion-item p {
    font-size: 13px !important;
  }
}

/* ===== 12. CTA BAND ===== */
.cta-band {
  background: #005F4E;
  border-radius: 24px;
}

.cta-band h2 {
  color: #FFFFFF;
  text-transform: uppercase;
  font-weight: 800;
}

.cta-band .btn-primary {
  background: #A8E820;
  color: #005F4E;
  border-radius: 50px;
  font-weight: 700;
}

.cta-band .btn-primary:hover {
  background: #FFFFFF;
  color: #005F4E;
}

/* ===== 13. FOOTER ===== */
footer {
  background: #005F4E;
  border-top: 4px solid #A8E820;
}

.footer-grid h4 {
  color: #A8E820;
}

.footer-grid a:hover {
  color: #A8E820;
}

/* ===== 14. RESPONSIVE - Ajustes mínimos ===== */
@media (max-width: 992px) {
  .navlinks {
    display: none !important;
  }

  #menu-toggle {
    display: flex;
  }

  #mobile-nav.open {
    display: flex;
  }
}

/* ============================================================
   MODAL DE PROYECTO
   ============================================================ */

.modal-proyecto-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
    animation: fadeInModal 0.3s ease;
}

.modal-proyecto-overlay.active {
    display: flex;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-proyecto-content {
    background: #FFFFFF;
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUpModal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

@keyframes slideUpModal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-proyecto-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #005F4E;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-proyecto-close:hover {
    background: #005F4E;
    color: #FFFFFF;
    transform: rotate(90deg) scale(1.1);
}

/* Header */
.modal-proyecto-header {
    background: #005F4E;
    color: #FFFFFF;
    padding: 40px 40px 30px;
    border-radius: 24px 24px 0 0;
    position: relative;
}

.modal-proyecto-eyebrow {
    display: inline-block;
    background: #A8E820;
    color: #005F4E;
    padding: 4px 14px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.modal-proyecto-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #FFFFFF;
    text-transform: none;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0 0 8px 0;
}

.modal-proyecto-ubicacion {
    color: rgba(255, 255, 255, 0.75);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    margin: 0;
}

/* Body */
.modal-proyecto-body {
    padding: 32px 40px 40px;
}

/* Imagen principal */
.modal-proyecto-imagen-principal {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    background: #F8F9FA;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-proyecto-imagen-principal img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.modal-proyecto-imagen-principal .placeholder {
    font-size: 64px;
    color: #E9ECEF;
    padding: 80px 20px;
}

/* Tags */
.modal-proyecto-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.modal-proyecto-tags span {
    background: rgba(168, 232, 32, 0.15);
    color: #005F4E;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
}

/* Secciones */
.modal-proyecto-seccion {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid #E9ECEF;
}

.modal-proyecto-seccion:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.modal-proyecto-seccion h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #005F4E;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-proyecto-texto {
    color: #4A4A4A;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

.modal-proyecto-texto p {
    margin-bottom: 12px;
}

.modal-proyecto-texto ul,
.modal-proyecto-texto ol {
    margin-left: 24px;
    margin-bottom: 12px;
}

/* Testimonio */
.modal-proyecto-testimonio {
    background: linear-gradient(135deg, rgba(168, 232, 32, 0.1) 0%, rgba(168, 232, 32, 0.05) 100%);
    padding: 28px;
    border-radius: 16px;
    border-left: 4px solid #A8E820;
}

.modal-proyecto-testimonio blockquote {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-style: italic;
    color: #005F4E;
    line-height: 1.6;
    margin: 0;
    position: relative;
    padding-left: 40px;
}

.modal-proyecto-testimonio blockquote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-family: Georgia, serif;
    font-size: 60px;
    color: #A8E820;
    line-height: 1;
}

/* Galería */
.modal-proyecto-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.modal-proyecto-galeria img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.modal-proyecto-galeria img:hover {
    transform: scale(1.05);
    border-color: #A8E820;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Cursor pointer en proyectos */
.proyecto-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.proyecto-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .modal-proyecto-content {
        border-radius: 16px;
        max-height: 95vh;
    }
    
    .modal-proyecto-header {
        padding: 32px 24px 24px;
    }
    
    .modal-proyecto-header h2 {
        font-size: 22px;
    }
    
    .modal-proyecto-body {
        padding: 24px 24px 32px;
    }
    
    .modal-proyecto-close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    
    .modal-proyecto-galeria {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .modal-proyecto-overlay {
        padding: 0;
    }
    
    .modal-proyecto-content {
        border-radius: 0;
        max-height: 100vh;
        height: 100vh;
    }
    
    .modal-proyecto-header {
        padding: 28px 20px 20px;
    }
    
    .modal-proyecto-header h2 {
        font-size: 20px;
    }
    
    .modal-proyecto-body {
        padding: 20px 20px 40px;
    }
    
    .modal-proyecto-galeria {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   HORARIO EN EL HEADER
   ============================================================ */

.header-horario {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 95, 78, 0.06);
  border: 1px solid rgba(0, 95, 78, 0.15);
  border-radius: 50px;
  padding: 8px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: #005F4E;
  white-space: nowrap;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.header-horario:hover {
  background: rgba(0, 95, 78, 0.1);
  border-color: rgba(0, 95, 78, 0.25);
}

.header-horario-icon {
  font-size: 14px;
  line-height: 1;
}

.header-horario-text {
  letter-spacing: -0.01em;
}

/* ===== ESCRITORIO (>= 993px): mostrar el horario entre menú y redes ===== */
@media (min-width: 993px) {
  .header-horario {
    font-size: 11.5px;
    padding: 6px 14px;
    margin: 0 8px;
  }
  .header-horario-icon {
    font-size: 12px;
  }
  /* Ocultar "Lun a Vie ·" para que quepa mejor en escritorio */
  .header-horario-dias {
    display: none;
  }
}

/* ===== MÓVIL (<= 992px): centrar el horario en la franja blanca ===== */
@media (max-width: 992px) {
  #site-header .nav {
    position: relative; /* 👈 CLAVE: necesario para position absolute del horario */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 16px;
    min-height: 72px;
  }

  /* Logo a la izquierda */
  #site-header .brand {
    flex-shrink: 0;
    z-index: 2;
  }

  /* Horario CENTRADO absolutamente */
  .header-horario {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    border: none;
    padding: 0;
    font-size: 11.5px;
    font-weight: 600;
    color: #005F4E;
    white-space: nowrap;
    text-align: center;
    z-index: 1;
    pointer-events: none;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-horario-icon {
    font-size: 12px;
  }

  .header-horario-text {
    font-size: 11.5px;
  }

  /* Botón hamburguesa a la derecha */
  #menu-toggle {
    margin-left: auto;
    flex-shrink: 0;
    z-index: 2;
  }
}

/* ===== MÓVIL PEQUEÑO (<= 480px): compactar ===== */
@media (max-width: 480px) {
  .header-horario {
    font-size: 10px;
    gap: 4px;
    max-width: 50%;
  }
  .header-horario-icon {
    font-size: 11px;
  }
  .header-horario-text {
    font-size: 10px;
  }
  /* En pantallas muy pequeñas, ocultar los días */
  .header-horario-dias {
    display: none;
  }
}