/* =================================
   VARIABLES CSS PARA CONSISTENCIA
   ================================= */
:root {
  /* Colores principales */
  --primary-green: #7cb342;
  --primary-green-dark: #689f38;
  --primary-blue: #003366;
  --primary-blue-light: #004080;

  /* Colores de fondo */
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --bg-overlay: rgba(0, 40, 85, 0.75);

  /* Tipografía */
  --font-size-hero: 3.5rem;
  --font-size-section-title: 2.8rem;
  --font-size-card-title: 1.3rem;
  --font-size-body: 1.1rem;
  --font-size-small: 0.9rem;

  /* Espaciado */
  --spacing-xs: 10px;
  --spacing-sm: 15px;
  --spacing-md: 30px;
  --spacing-lg: 60px;
  --spacing-xl: 120px;

  /* Bordes */
  --border-radius-sm: 5px;
  --border-radius-md: 10px;
  --border-radius-lg: 15px;

  /* Sombras */
  --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.2);

  /* Transiciones */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Z-index layers */
  --z-navbar: 1000;
  --z-hero-overlay: 999;
  --z-swiper: 100;
  --z-about-card: 15;
  --z-services-slider: 4;
  --z-services-overlay: 3;
  --z-statistics: 2;
  --z-background: 1;

  /* Nuevas variables del footer */
  --footer-bg: #2c3e50;
  --footer-bg-dark: #1a252f;
  --text-light: #ecf0f1;
  --text-muted: #95a5a6;
}

/* =================================
   RESET Y CONFIGURACIÓN GLOBAL
   ================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  overflow-x: hidden;
}

/* =================================
   NAVBAR SECTION
   ================================= */
.navbar-custom {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white !important;
  font-weight: bold;
  font-size: 24px;
}

.navbar-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #7cb342 !important;
}

.navbar-toggler {
  border: 2px solid #59af47 !important;
  border-radius: 6px !important;
  padding: 6px 8px !important;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(89, 175, 71, 0.25) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2359AF47' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.btn-request {
  background: #7cb342;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-request:hover {
  background: #689f38;
  color: white;
  transform: translateY(-2px);
}

/* =================================
   HERO SECTION - SWIPER
   ================================= */
.hero-swiper {
  height: 100vh;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.hero-swiper .swiper-slide {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: visible;
}

.hero-swiper .swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 40, 85, 0.5),
    rgba(0, 60, 120, 0.4)
  );
  z-index: 1;
}

/* Slides individuales */
.hero-swiper .swiper-slide.slide-1 {
  background-image: url("./imagenes/hero-1.jpg");
}

.hero-swiper .swiper-slide.slide-2 {
  background-image: url("./imagenes/hero-2.jpg");
}

.hero-swiper .swiper-slide.slide-3 {
  background-image: url("./imagenes/hero-3.jpg");
}

/* Contenido del slide */
.hero-swiper .slide-content {
  position: absolute;
  top: 50%;
  left: 80px;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 650px;
  color: white;
  text-align: left;
  opacity: 0;
  animation: slideInLeft 0.8s ease-out 0.5s forwards;
}

.swiper-slide-active .slide-content {
  animation: slideInLeft 0.8s ease-out 0.5s forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translate(-50px, -50%);
  }
  to {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

.hero-swiper .slide-content h1 {
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-swiper .slide-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Botones del hero */
.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary-hero {
  background: #7cb342;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.btn-primary-hero:hover {
  background: #689f38;
  color: white;
  transform: translateY(-2px);
}

.btn-secondary-hero {
  background: transparent;
  color: white;
  padding: 15px 30px;
  border: 2px solid white;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}

.btn-secondary-hero:hover {
  background: white;
  color: #003366;
}

/* Tarjeta flotante del hero */
.hero-feature-card {
  position: absolute;
  bottom: -50px;
  right: 80px;
  background: #7cb342;
  color: white;
  padding: 30px 45px;
  border-radius: 5px;
  max-width: 500px;
  min-width: 420px;
  z-index: 999;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  transform: translateZ(0);
  opacity: 0;
  animation: slideInRight 0.8s ease-out 1s forwards;
}

.swiper-slide-active .hero-feature-card {
  animation: slideInRight 0.8s ease-out 1s forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translate(50px, 0);
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

.hero-feature-card .icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 24px;
}

.hero-feature-card h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.hero-feature-card p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Controles del Swiper */
.swiper-button-next,
.swiper-button-prev {
  width: 50px !important;
  height: 50px !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 50% !important;
  color: white !important;
  font-size: 18px !important;
  font-weight: bold !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: all 0.3s ease, opacity 0.3s ease, visibility 0.3s ease !important;
  backdrop-filter: blur(10px) !important;
}

.hero-swiper:hover .swiper-button-next,
.hero-swiper:hover .swiper-button-prev {
  opacity: 1 !important;
  visibility: visible !important;
  transition-delay: 0s !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(124, 179, 66, 0.8) !important;
  transform: scale(1.1) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px !important;
}

.swiper-button-next {
  right: 30px !important;
}

.swiper-button-prev {
  left: 30px !important;
}

/* Paginación del Swiper */
.swiper-pagination {
  bottom: 30px !important;
}

.swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background: rgba(255, 255, 255, 0.5) !important;
  opacity: 1 !important;
  margin: 0 8px !important;
  transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
  background: #7cb342 !important;
  transform: scale(1.3) !important;
}

/* =================================
   ABOUT SECTION
   ================================= */
.about-section {
  padding: 120px 0 100px 0;
  background: #f8f9fa;
  position: relative;
  z-index: 0;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-title {
  text-align: center;
  font-size: 2.8rem;
  color: #003366;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Contenedor de imagen con tarjeta */
.about-image-container {
  position: relative;
  overflow: visible;
}

.about-main-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-feature-card {
  position: absolute;
  top: 60%;
  right: -40px;
  transform: translateY(-50%);
  background: #7cb342;
  color: white;
  padding: 35px 40px;
  border-radius: 12px;
  max-width: 250px;
  min-width: 220px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  z-index: 15;
  text-align: center;
}

.about-feature-card h3 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 8px;
  line-height: 1;
}

.about-feature-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.2;
}

/* Contenido de texto del about */
.about-text-content {
  padding-left: 20px;
}

.about-description {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 35px;
}

.about-features-list {
  margin-bottom: 35px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
  gap: 12px;
}

.feature-checkmark {
  width: 24px;
  height: 24px;
  background: #7cb342;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-text {
  color: #003366;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
}

.btn-read-more {
  background: #003366;
  color: white;
  padding: 15px 35px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.btn-read-more::after {
  content: "→";
  font-size: 16px;
  transition: transform 0.3s;
}

.btn-read-more:hover {
  background: #004080;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 51, 102, 0.3);
}

.btn-read-more:hover::after {
  transform: translateX(3px);
}

/* =================================
   SERVICES SECTION - AJUSTES FINALES
   ================================= */
.services-section {
  position: relative;
  background: var(--bg-light);
  padding: 100px 0 0 0;
}

/* Título y párrafo */
.services-top {
  background: var(--bg-light);
  padding-bottom: 339px;
  position: relative;
}

.services-section h2 {
  font-size: var(--font-size-section-title);
  color: var(--primary-blue); /* Usando variable azul */
  font-weight: bold;
  margin-bottom: 25px;
  text-align: center;
}

.section-description {
  font-size: var(--font-size-body);
  color: #555; /* Más oscuro para mejor legibilidad */
  text-align: center;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

/* Contenedor del fondo Y slider */
.services-background {
  position: relative;
  background-image: url("./imagenes/fondo-service.webp");
  background-size: cover;
  background-position: center;
  height: 700px;
  padding-top: 0;
}

.services-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 40, 85, 0.5),
    /* Más suave - era 0.75 */ rgba(0, 60, 120, 0.4) /* Más suave - era 0.65 */
  );
  z-index: 1;
}

/* Slider */
.slider-container {
  position: absolute;
  top: -269px;
  left: 50%;
  transform: translateX(-50%);
  width: 1082px;
  max-width: 95%;
  z-index: var(--z-services-slider);
}

.services-carousel .carousel-inner {
  border-radius: 0;
  box-shadow: var(--shadow-heavy);
  overflow: hidden;
}

.services-slide {
  display: flex;
  background: var(--bg-white);
  height: 455px;
}

.services-slide .slide-image {
  flex: 0 0 721px;
  width: 721px;
  height: 455px;
  overflow: hidden;
}

.services-slide .slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-slide .slide-content {
  flex: 0 0 361px;
  width: 361px;
  height: 455px;
  padding: 40px 35px;
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-green), #8bc34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
  font-size: 1.2rem;
  color: white;
}

.services-slide .slide-content h3 {
  color: var(--primary-blue); /* Usando variable */
  font-size: var(--font-size-card-title);
  font-weight: bold;
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

.services-slide .slide-content p {
  color: #555; /* Más legible */
  font-size: var(--font-size-small);
  line-height: 1.6;
  margin-bottom: 0;
}

.services-indicators {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--spacing-xs);
  z-index: 3;
}

.services-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.4);
  transition: var(--transition-normal);
}

.services-indicators button.active {
  background-color: var(--primary-green);
  transform: scale(1.2);
}

.statistics-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 50px 0;
  z-index: var(--z-statistics);
}

.stat-item {
  text-align: center;
  color: white;
  margin-bottom: 0;
}

.stat-item h3 {
  font-size: 4.2rem; /* Aumentado de 3.5rem a 4.2rem */
  font-weight: bold;
  margin-bottom: 10px; /* Más espacio */
  color: var(--primary-green);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4); /* Sombra más fuerte */
}

.stat-item p {
  font-size: 1.1rem; /* Aumentado de 1rem */
  color: white;
  font-weight: 600; /* Más bold */
  margin-bottom: 0;
  letter-spacing: 0.5px; /* Mejor legibilidad */
}
/* =================================
   RESPONSIVE DESIGN
   ================================= */

/* Large tablets and small desktops (768px - 1200px) */
@media (max-width: 1200px) {
  .hero-swiper .slide-content {
    left: 80px;
    max-width: 550px;
  }

  .hero-swiper .slide-content h1 {
    font-size: 3rem;
  }

  .hero-feature-card {
    right: 40px;
    max-width: 380px;
    min-width: 320px;
  }
}

/* Tablets (768px - 992px) */
@media (max-width: 992px) {
  /* Navbar tablets */
  .navbar-custom {
    background: rgba(0, 51, 102, 0.98);
    padding: 12px 0;
  }

  .navbar-collapse {
    background: rgba(89, 175, 71, 0.98);
    margin-top: 15px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .navbar-nav {
    text-align: center;
    margin: 0;
  }

  .navbar-nav .nav-item {
    margin: 5px 0;
  }

  .navbar-nav .nav-link {
    margin: 0;
    padding: 12px 20px;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  .btn-request {
    display: block;
    margin: 20px auto 0;
    text-align: center;
    max-width: 200px;
    background: #003366;
    border: 2px solid #003366;
  }

  .btn-request:hover {
    background: #004080;
    border: 2px solid #004080;
    color: white;
  }

  /* About tablets */
  .about-content-wrapper {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .about-title {
    font-size: 2.3rem;
    margin-bottom: 50px;
  }

  .about-text-content {
    padding-left: 0;
    order: -1;
  }

  .about-feature-card {
    position: static;
    transform: none;
    margin: 30px auto 0;
    max-width: 380px;
  }

  .about-main-image {
    height: 350px;
  }

  /* Services tablets - Layout vertical */
  .services-section {
    padding: 80px 0 0 0;
  }

  .services-top {
    padding-bottom: 840px;
  }

  .services-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    padding: 0 20px;
  }

  .section-description {
    font-size: 1rem;
    padding: 0 30px;
    line-height: 1.7;
    margin-bottom: 0;
  }

  .services-background {
    height: auto;
    min-height: 550px;
    padding-top: 20px;
    padding-bottom: 60px;
  }

  .slider-container {
    position: absolute;
    top: -280px;
    left: 50%;
    transform: translateX(-50%);
    width: 88%;
    max-width: 600px;
    z-index: 10;
  }

  .services-slide {
    flex-direction: column;
    height: 800px;
    min-height: 800px;
  }

  .services-slide .slide-image {
    flex: none;
    width: 100%;
    height: 240px;
  }

  .services-slide .slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .services-slide .slide-content {
    flex: none;
    width: 100%;
    height: 400px;
    padding: 35px 30px 40px;
  }

  .services-slide .slide-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.3;
  }

  .services-slide .slide-content p {
    font-size: 0.93rem;
    line-height: 1.65;
    color: #666;
  }

  .services-indicators {
    bottom: -42px;
  }

  .services-indicators button {
    width: 11px;
    height: 11px;
  }

  /* Statistics en tablets - Grid 2x2 */
  .statistics-overlay {
    position: relative;
    padding: 80px 0 80px;
  }

  .statistics-overlay .row {
    max-width: 600px;
    margin: 0 auto;
  }

  .stat-item {
    margin-bottom: 60px;
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    margin-bottom: 0;
  }

  .stat-item h3 {
    font-size: 5rem;
    margin-bottom: 15px;
    font-weight: bold;
  }

  .stat-item p {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.5px;
  }
}
/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  /* Navbar mobile */
  .navbar-brand {
    font-size: 20px;
  }

  .navbar-logo {
    height: 45px;
  }

  .navbar-custom {
    background: rgba(0, 51, 102, 0.98);
    padding: 10px 0;
  }

  .navbar-collapse {
    margin-top: 10px;
    padding: 15px;
  }

  .navbar-nav .nav-link {
    font-size: 1rem;
    padding: 10px 15px;
  }

  /* Hero mobile */
  .hero-swiper {
    height: 100vh;
    min-height: 500px;
  }

  .hero-swiper .swiper-slide {
    background-size: cover;
    background-position: center center;
  }

  .hero-swiper .swiper-slide.slide-1 {
    background-position: center 30%;
  }

  .hero-swiper .swiper-slide.slide-2 {
    background-position: center 40%;
  }

  .hero-swiper .swiper-slide.slide-3 {
    background-position: center 35%;
  }

  .hero-swiper .slide-content {
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    max-width: calc(100% - 60px);
    padding: 0;
  }

  .hero-swiper .slide-content h1 {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
    max-width: 280px;
  }

  .hero-swiper .slide-content p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.4;
    opacity: 0.9;
    max-width: 300px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .btn-primary-hero,
  .btn-secondary-hero {
    width: auto;
    min-width: 160px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 5px;
  }

  .hero-feature-card {
    display: none !important;
  }

  /* About mobile */
  .about-section {
    padding: 80px 0 60px 0;
  }

  .about-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .about-description {
    font-size: 1rem;
    text-align: center;
  }

  .about-features-list {
    margin-bottom: 30px;
  }

  .feature-item {
    margin-bottom: 15px;
  }

  .feature-text {
    font-size: 0.95rem;
  }

  .about-feature-card {
    padding: 20px 25px;
  }

  .about-feature-card h4 {
    font-size: 1.1rem;
  }

  .about-main-image {
    height: 300px;
  }

  .btn-read-more {
    display: block;
    text-align: center;
    margin: 0 auto;
    max-width: 200px;
  }

  /* Services mobile */
  .services-section {
    padding: 60px 0 0 0;
  }

  .services-section h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

  .section-description {
    font-size: 1rem;
    padding: 0 20px;
  }

  .services-background {
    min-height: 700px;
    margin-top: -100px;
  }

  .slider-container {
    top: -700px;
  }

  .services-slide {
    flex-direction: column;
    min-height: auto;
  }

  .services-slide .slide-image {
    flex: none;
    height: 400px;
  }

  .services-slide .slide-content {
    flex: none;
    padding: 30px 25px;
  }

  .statistics-overlay {
    position: relative;
    margin-top: 250px;
    padding: 50px 0;
  }

  .stat-item {
    margin-bottom: 30px;
  }

  .stat-item h3 {
    font-size: 4rem;
  }

  /* Swiper controls mobile */
  .swiper-button-next,
  .swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
    margin-top: -20px !important;
  }

  .swiper-button-next {
    right: 15px !important;
  }

  .swiper-button-prev {
    left: 15px !important;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 14px !important;
  }

  .swiper-pagination {
    bottom: 30px !important;
  }

  .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    margin: 0 6px !important;
  }

  .swiper-pagination-bullet-active {
    transform: scale(1.4) !important;
  }
}

/* Extra small mobile (max-width: 576px) */
@media (max-width: 576px) {
  .hero-swiper {
    min-height: 450px;
  }

  .hero-swiper .swiper-slide {
    min-height: 450px;
  }

  .hero-swiper .slide-content {
    left: 20px;
    max-width: calc(100% - 40px);
  }

  .hero-swiper .slide-content h1 {
    font-size: 1.9rem;
    margin-bottom: 18px;
    max-width: 260px;
  }

  .hero-swiper .slide-content p {
    font-size: 0.9rem;
    margin-bottom: 22px;
    max-width: 280px;
  }

  .btn-primary-hero,
  .btn-secondary-hero {
    min-width: 150px;
    padding: 11px 20px;
    font-size: 0.85rem;
  }

  .hero-buttons {
    gap: 10px;
  }

  .about-container {
    padding: 0 15px;
  }

  .about-title {
    font-size: 1.8rem;
  }

  .about-content-wrapper {
    gap: 40px;
  }

  .about-main-image {
    height: 280px;
  }

  .services-section h2 {
    font-size: 1.8rem;
  }

  .services-background {
    min-height: 700px;
  }

  .services-slide .slide-image {
    height: 350px;
  }

  .services-slide .slide-content {
    padding: 25px 20px;
  }

  .services-slide .slide-content h3 {
    font-size: 1.1rem;
  }

  .services-slide .slide-content p {
    font-size: 0.85rem;
  }

  .stat-item h3 {
    font-size: 3.5rem;
  }

  .stat-item p {
    font-size: 1rem;
  }

  .swiper-pagination {
    bottom: 25px !important;
  }

  .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    margin: 0 5px !important;
  }

  /* Ajuste fino para pantallas muy pequeñas */
  .hero-swiper .swiper-slide.slide-1 {
    background-position: center 25%;
  }

  .hero-swiper .swiper-slide.slide-2 {
    background-position: center 35%;
  }

  .hero-swiper .swiper-slide.slide-3 {
    background-position: center 30%;
  }
}

/* =================================
   UTILIDADES Y HELPER CLASSES
   ================================= */

/* Clase para ocultar elementos en mobile */
.mobile-hidden {
  display: none;
}

@media (min-width: 769px) {
  .mobile-hidden {
    display: block;
  }
}

/* Clase para mostrar solo en mobile */
.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }
}

/* Transiciones suaves para elementos interactivos */
.smooth-transition {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sombras consistentes */
.shadow-light {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.shadow-medium {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.shadow-heavy {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Bordes redondeados consistentes */
.rounded-small {
  border-radius: 5px;
}

.rounded-medium {
  border-radius: 10px;
}

.rounded-large {
  border-radius: 15px;
}

/* Espaciado consistente */
.spacing-small {
  margin-bottom: 15px;
}

.spacing-medium {
  margin-bottom: 30px;
}

.spacing-large {
  margin-bottom: 60px;
}

/* =================================
   OPTIMIZACIONES DE PERFORMANCE
   ================================= */

/* Hardware acceleration para animaciones críticas */
.hero-feature-card,
.swiper-slide,
.about-feature-card {
  will-change: transform;
  transform: translateZ(0);
}

/* Optimización de carga de imágenes */
.about-main-image,
.services-slide .slide-image img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* =================================
       PARTNERS SECTION
       ================================= */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.partners-section {
  position: relative;
  padding: var(--spacing-xl) 0;
  background: var(--bg-white);
  overflow: hidden;
}

/* Wave backgrounds */
.partners-wave-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: var(--z-background);
  pointer-events: none;
}

.partners-wave-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.partners-wave-bg-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: var(--z-background);
  pointer-events: none;
}

.partners-wave-bg-bottom svg {
  width: 100%;
  height: 100%;
  display: block;
}

.partners-section .container {
  position: relative;
  z-index: var(--z-statistics);
}

/* Header */
.partners-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.partners-header h2 {
  font-size: var(--font-size-section-title);
  color: var(--primary-blue);
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
}

.partners-header p {
  font-size: var(--font-size-body);
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Carousel Container */
.partners-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.carousel-row {
  display: flex;
  gap: 40px;
  animation: scroll-left 40s linear infinite;
  width: fit-content;
}

.carousel-row.reverse {
  animation: scroll-right 40s linear infinite;
  margin-top: var(--spacing-md);
}

/* Pause animation on hover */
.partners-carousel-wrapper:hover .carousel-row {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Partner Card */
.partner-card {
  background: var(--bg-white);
  padding: var(--spacing-md) 40px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 140px;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-light);
  border: 1px solid #e8e8e8;
  flex-shrink: 0;
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: var(--primary-green);
}

.partner-card img {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all var(--transition-normal);
  filter: none;
  opacity: 1;
}

.partner-card:hover img {
  transform: scale(1.05);
}

/* Gradient overlays for seamless loop effect */
.partners-carousel-wrapper::before,
.partners-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: var(--z-statistics);
  pointer-events: none;
}

.partners-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-white), transparent);
}

.partners-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-white), transparent);
}

/* Responsive Design */
@media (max-width: 992px) {
  .partners-section {
    padding: 80px 0;
  }

  .partners-header h2 {
    font-size: 2.3rem;
  }

  .partner-card {
    min-width: 200px;
    height: 120px;
    padding: 25px var(--spacing-md);
  }

  .partner-card img {
    max-height: 60px;
  }

  .carousel-row {
    gap: var(--spacing-md);
  }
}

@media (max-width: 768px) {
  .partners-section {
    padding: var(--spacing-lg) 0;
  }

  .partners-header {
    margin-bottom: 40px;
  }

  .partners-header h2 {
    font-size: 2rem;
  }

  .partners-header p {
    font-size: 1rem;
    padding: 0 20px;
  }

  .partner-card {
    min-width: 180px;
    height: 110px;
    padding: 20px 25px;
  }

  .partner-card img {
    max-height: 55px;
  }

  .carousel-row {
    gap: 25px;
  }

  .carousel-row.reverse {
    margin-top: 25px;
  }

  .partners-wave-bg,
  .partners-wave-bg-bottom {
    height: 120px;
  }

  .partners-carousel-wrapper::before,
  .partners-carousel-wrapper::after {
    width: 80px;
  }
}

@media (max-width: 576px) {
  .partners-section {
    padding: 50px 0;
  }

  .partners-header h2 {
    font-size: 1.8rem;
  }

  .partner-card {
    min-width: 160px;
    height: 100px;
    padding: var(--spacing-sm) 20px;
  }

  .partner-card img {
    max-height: 50px;
  }

  .carousel-row {
    gap: 20px;
    animation-duration: 30s;
  }

  .carousel-row.reverse {
    margin-top: 20px;
    animation-duration: 30s;
  }

  .partners-wave-bg,
  .partners-wave-bg-bottom {
    height: 80px;
  }

  .partners-carousel-wrapper::before,
  .partners-carousel-wrapper::after {
    width: 50px;
  }
}

/* PROJECTS SECTION */
.projects-section {
  padding: 100px 0 80px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
  position: relative;
  z-index: 1;
}

.projects-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.projects-header {
  text-align: center;
  margin-bottom: 60px;
}

.projects-header h2 {
  font-size: 2.8rem;
  color: var(--primary-blue);
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.projects-header h2::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), transparent);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.projects-header p {
  font-size: 1rem;
  color: #666;
  max-width: 700px;
  margin: 40px auto 0;
  line-height: 1.6;
}

/* Filter Buttons */
.projects-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.filter-btn {
  padding: 12px 28px;
  border: 2px solid var(--primary-blue);
  background: transparent;
  color: var(--primary-blue);
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-green);
  color: white;
  border-color: var(--primary-green);
}

/* Gallery Grid */
.projects-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  margin-bottom: 60px;
}

/* Masonry layout - different sizes */
.project-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.4s ease;
  opacity: 1;
  animation: fadeIn 0.5s ease-out;
}

.project-item.hidden {
  display: none;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* First row - 2 rectangles */
.project-item:nth-child(1) {
  grid-column: span 3;
  grid-row: 1;
  height: 300px;
}

.project-item:nth-child(2) {
  grid-column: span 3;
  grid-row: 1;
  height: 300px;
}

/* Second row - 3 squares */
.project-item:nth-child(3) {
  grid-column: span 2;
  grid-row: 2;
  height: 280px;
}

.project-item:nth-child(4) {
  grid-column: span 2;
  grid-row: 2;
  height: 280px;
}

.project-item:nth-child(5) {
  grid-column: span 2;
  grid-row: 2;
  height: 280px;
}

.project-item:nth-child(6) {
  display: none;
}

/* Image */
.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-item:hover .project-image {
  transform: scale(1.08);
}

/* Overlay */
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 51, 102, 0.85),
    rgba(124, 179, 66, 0.7)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 30px;
  text-align: center;
  color: white;
  opacity: 0;
  transition: all 0.4s ease;
}

.project-item:hover .project-overlay {
  opacity: 1;
}

.project-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.project-category {
  font-size: 0.85rem;
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-description {
  font-size: 0.9rem;
  opacity: 0.95;
  line-height: 1.5;
}

/* View More Button */
.projects-view-more {
  text-align: center;
}

.view-more-btn {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-green-dark)
  );
  color: white;
  padding: 15px 45px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(124, 179, 66, 0.3);
}

.view-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(124, 179, 66, 0.4);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.lightbox-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.lightbox-info {
  background: white;
  padding: 30px;
  border-radius: 0 0 8px 8px;
  min-width: 300px;
}

.lightbox-title {
  font-size: 1.8rem;
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 10px;
}

.lightbox-category {
  font-size: 0.9rem;
  color: var(--primary-green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.lightbox-location {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 8px;
}

.lightbox-year {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 15px;
}

.lightbox-description {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  font-weight: 300;
  transition: all 0.3s;
}

.lightbox-close:hover {
  transform: scale(1.2);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .projects-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }

  .project-item:nth-child(1) {
    grid-column: span 2;
    grid-row: 1;
    height: 250px;
  }

  .project-item:nth-child(2) {
    grid-column: span 2;
    grid-row: 1;
    height: 250px;
  }

  .project-item:nth-child(3) {
    grid-column: span 1;
    grid-row: 2;
    height: 250px;
  }

  .project-item:nth-child(4) {
    grid-column: span 1;
    grid-row: 2;
    height: 250px;
  }

  .project-item:nth-child(5) {
    grid-column: span 2;
    grid-row: 2;
    height: 250px;
  }

  .project-item:nth-child(6) {
    display: none;
  }

  .projects-header h2 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .projects-section {
    padding: 80px 0 60px;
  }

  .projects-gallery {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto;
    gap: 12px;
  }

  .project-item:nth-child(1) {
    grid-column: span 3;
    grid-row: 1;
    height: 220px;
  }

  .project-item:nth-child(2) {
    grid-column: span 3;
    grid-row: 1;
    height: 220px;
  }

  .project-item:nth-child(3) {
    grid-column: span 2;
    grid-row: 2;
    height: 200px;
  }

  .project-item:nth-child(4) {
    grid-column: span 2;
    grid-row: 2;
    height: 200px;
  }

  .project-item:nth-child(5) {
    grid-column: span 2;
    grid-row: 2;
    height: 200px;
  }

  .project-item:nth-child(6) {
    display: none;
  }

  .projects-header h2 {
    font-size: 2rem;
  }

  .projects-header p {
    font-size: 0.95rem;
    margin-top: 25px;
  }

  .projects-filters {
    gap: 10px;
    margin-bottom: 40px;
  }

  .filter-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .lightbox-info {
    min-width: auto;
    padding: 20px;
  }

  .lightbox-title {
    font-size: 1.4rem;
  }

  .lightbox-description {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .projects-section {
    padding: 60px 0 50px;
  }

  .projects-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 10px;
  }

  .project-item:nth-child(1) {
    grid-column: span 1;
    grid-row: auto;
    height: 220px;
  }

  .project-item:nth-child(2) {
    grid-column: span 1;
    grid-row: auto;
    height: 220px;
  }

  .project-item:nth-child(3) {
    grid-column: span 1;
    grid-row: auto;
    height: 200px;
  }

  .project-item:nth-child(4) {
    grid-column: span 1;
    grid-row: auto;
    height: 200px;
  }

  .project-item:nth-child(5) {
    grid-column: span 1;
    grid-row: auto;
    height: 200px;
  }

  .project-item:nth-child(6) {
    display: none;
  }

  .projects-header h2 {
    font-size: 1.8rem;
  }

  .projects-header h2::after {
    width: 40px;
    height: 2px;
  }

  .projects-header p {
    font-size: 0.9rem;
  }

  .projects-filters {
    margin-bottom: 30px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .project-overlay {
    padding: 20px;
  }

  .project-title {
    font-size: 1.1rem;
  }

  .project-description {
    font-size: 0.8rem;
  }

  .lightbox-close {
    top: -35px;
    font-size: 2rem;
  }

  .lightbox-info {
    padding: 15px;
  }

  .lightbox-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .lightbox-description {
    font-size: 0.9rem;
  }
}
/* PRODUCTS SECTION */
.products-section {
  padding: 100px 0;
  background: var(--bg-white);
  position: relative;
}

/* Header */
.products-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.products-header h2 {
  font-size: var(--font-size-section-title);
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.products-header p {
  font-size: var(--font-size-body);
  color: #666;
  line-height: 1.6;
}

/* Swiper Container - Sin padding extra */
.products-swiper-container {
  position: relative;
  margin: 0 auto 60px;
  max-width: 100%;
}

.products-swiper {
  overflow: visible;
  padding: 10px 0;
  width: 100%;
}

.products-swiper .swiper-wrapper {
  align-items: stretch;
}

.products-swiper .swiper-slide {
  height: auto;
  display: flex;
}

/* Product Card */
.product-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all var(--transition-normal);
  border: 2px solid #f0f0f0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
  border-color: var(--primary-green);
}

.product-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
  padding: 15px;
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-name {
  padding: 20px 18px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-blue);
  background: var(--bg-white);
  border-top: 1px solid #f0f0f0;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
}

/* Navigation Buttons - Flechas discretas */
.products-swiper-button-prev,
.products-swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  color: var(--primary-blue);
}

.products-swiper-button-prev {
  left: 0px;
}

.products-swiper-button-next {
  right: 0px;
}

.products-swiper-button-prev:hover,
.products-swiper-button-next:hover {
  background: var(--primary-green);
  color: white;
  box-shadow: 0 4px 12px rgba(124, 179, 66, 0.25);
}

.products-swiper-button-prev.swiper-button-disabled,
.products-swiper-button-next.swiper-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* View Catalog Button */
.products-cta {
  text-align: center;
  margin-top: 50px;
}

.btn-view-catalog {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-green-dark)
  );
  color: white;
  padding: 16px 45px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(124, 179, 66, 0.25);
}

.btn-view-catalog::after {
  content: "→";
  font-size: 1.2rem;
  transition: transform var(--transition-normal);
}

.btn-view-catalog:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(124, 179, 66, 0.35);
}

.btn-view-catalog:hover::after {
  transform: translateX(4px);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .products-section {
    padding: 80px 0;
  }

  .products-header h2 {
    font-size: 2.2rem;
  }

  .product-image {
    height: 260px;
  }
}

@media (max-width: 992px) {
  .products-section {
    padding: 70px 0;
  }

  .products-header h2 {
    font-size: 2rem;
  }

  .product-image {
    height: 240px;
  }

  .product-name {
    font-size: 0.9rem;
    padding: 18px 15px;
  }

  .products-swiper-button-prev {
    left: -15px;
  }

  .products-swiper-button-next {
    right: -15px;
  }
}

@media (max-width: 768px) {
  .products-section {
    padding: 60px 0;
  }

  .products-header {
    margin-bottom: 40px;
  }

  .products-header h2 {
    font-size: 1.8rem;
  }

  .products-header p {
    font-size: 0.95rem;
  }

  .product-image {
    height: 240px;
  }

  .product-name {
    font-size: 0.85rem;
    padding: 16px 12px;
  }

  .products-swiper-button-prev,
  .products-swiper-button-next {
    width: 36px;
    height: 36px;
  }

  .products-swiper-button-prev {
    left: 10px;
  }

  .products-swiper-button-next {
    right: 10px;
  }

  .products-swiper-button-prev svg,
  .products-swiper-button-next svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 576px) {
  .products-section {
    padding: 50px 0;
  }

  .products-header {
    padding: 0 20px;
    margin-bottom: 40px;
  }

  .products-header h2 {
    font-size: 1.6rem;
  }

  .products-header p {
    font-size: 0.9rem;
  }

  .products-swiper-container {
    margin: 0 0 60px 0;
    padding: 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }

  .products-swiper {
    overflow: visible;
    padding: 10px 50px 10px 20px;
    width: 100%;
  }

  .product-image {
    height: 300px;
  }

  .product-name {
    font-size: 0.8rem;
    padding: 14px 10px;
    min-height: 60px;
  }

  .products-swiper-button-prev,
  .products-swiper-button-next {
    width: 36px;
    height: 36px;
  }

  .products-swiper-button-prev {
    left: 8px;
  }

  .products-swiper-button-next {
    right: 8px;
  }

  .products-cta {
    padding: 0 20px;
  }
}

/* CONTACT SECTION */
.contact-section {
  position: relative;
  padding: 120px 0;
  background-image: url("./imagenes/contacto.webp");
  background-size: cover;
  background-position: center;
  overflow: hidden;
  min-height: 700px;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 40, 85, 0.75),
    rgba(0, 60, 120, 0.65)
  );
  z-index: 1;
}

.contact-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* LEFT SIDE - INFO */
.contact-info {
  color: white;
  text-align: left;
}

.contact-info-label {
  font-size: 0.9rem;
  color: var(--primary-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: block;
}

.contact-info h2 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 25px;
  color: white;
}

.contact-info p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  opacity: 0.95;
}

.contact-info-list {
  margin-top: 40px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.info-item-icon {
  width: 45px;
  height: 45px;
  background: rgba(124, 179, 66, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  border: 2px solid var(--primary-green);
}

.info-item-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--primary-green);
}

.info-item-content p {
  font-size: 0.95rem;
  margin: 0;
  opacity: 0.9;
}

/* RIGHT SIDE - FORM */
.contact-form-wrapper {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 45px;
  box-shadow: var(--shadow-heavy);
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 30px;
  font-weight: 700;
}

.form-group {
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-row .form-group {
  margin-bottom: 22px;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: "Arial", sans-serif;
  transition: all var(--transition-normal);
  background: #f9f9f9;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  background: white;
  box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.1);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-group {
  margin: 28px 0;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  cursor: pointer;
  font-weight: 500;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary-green);
}

.form-note {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
  margin-top: 25px;
  padding: 15px;
  background: #f5f5f5;
  border-left: 3px solid var(--primary-green);
  border-radius: 3px;
}

.submit-btn {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-green-dark)
  );
  color: white;
  padding: 14px 40px;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-normal);
  margin-top: 15px;
  box-shadow: 0 8px 20px rgba(124, 179, 66, 0.25);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(124, 179, 66, 0.35);
}

.submit-btn:active {
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .contact-section {
    padding: 80px 0;
    min-height: auto;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-info h2 {
    font-size: 2.2rem;
  }

  .contact-form-wrapper {
    padding: 35px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-info-label {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
  }

  .contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .contact-info p {
    font-size: 1rem;
  }

  .contact-info-list {
    margin-top: 30px;
  }

  .info-item {
    margin-bottom: 20px;
  }

  .info-item-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .info-item-content h3 {
    font-size: 0.95rem;
  }

  .contact-form-wrapper {
    padding: 30px;
  }

  .contact-form-wrapper h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
  }

  .form-group {
    margin-bottom: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .submit-btn {
    padding: 12px 35px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .contact-section {
    padding: 50px 0;
  }

  .contact-container {
    padding: 0 15px;
  }

  .contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 18px;
  }

  .contact-info p {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .info-item {
    margin-bottom: 18px;
  }

  .info-item-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .contact-form-wrapper {
    padding: 25px;
  }

  .contact-form-wrapper h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  label {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  textarea {
    min-height: 100px;
  }

  .checkbox-group {
    margin: 20px 0;
  }

  .form-note {
    font-size: 0.8rem;
    padding: 12px;
    margin-top: 20px;
  }

  .submit-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.85rem;
  }
}

/* FOOTER SECTION */
.footer {
  background: linear-gradient(
    180deg,
    var(--footer-bg) 0%,
    var(--footer-bg-dark) 100%
  );
  color: var(--text-light);
  padding: 50px 0 30px;
  position: relative;
  margin-top: 0px;
}

.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-green),
    transparent
  );
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

/* MAIN FOOTER CONTENT */
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

/* BRAND SECTION */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.footer-brand-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-brand-text strong {
  color: var(--primary-green);
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all var(--transition-normal);
  font-size: 1.1rem;
  font-weight: 700;
}

.social-link:hover {
  background: var(--primary-green-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(124, 179, 66, 0.3);
}

/* FOOTER COLUMNS */
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--primary-green);
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-link::before {
  content: "●";
  color: var(--primary-green);
  font-size: 0.5rem;
}

.footer-link:hover {
  color: var(--primary-green);
  padding-left: 3px;
}

/* CONTACT INFO SECTION */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-contact h4 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  position: relative;
  padding-bottom: 10px;
}

.footer-contact h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--primary-green);
}

.contact-phone {
  margin-bottom: 0;
}

.contact-items-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(124, 179, 66, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1.5px solid var(--primary-green);
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-content p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-content a {
  color: var(--primary-green);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.contact-content a:hover {
  color: var(--primary-green-dark);
  text-decoration: underline;
}

/* FOOTER BOTTOM */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-bottom-content {
  text-align: center;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.footer-copyright strong {
  color: var(--primary-green);
}

.footer-developed {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.developer-link {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 700;
  transition: color var(--transition-normal);
}

.developer-link:hover {
  color: var(--primary-green-dark);
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .footer {
    padding: 40px 0 25px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 35px;
    margin-bottom: 35px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-logo {
    height: 50px;
  }

  .footer-brand-text {
    flex: 1;
    font-size: 0.85rem;
  }

  .footer-social {
    align-self: flex-start;
  }

  .contact-items-row {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 35px 0 20px;
    margin-top: 50px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    flex-direction: column;
    border-bottom: none;
    padding-bottom: 0;
    gap: 15px;
  }

  .footer-brand-text {
    max-width: 100%;
    font-size: 0.8rem;
  }

  .footer-column h4,
  .footer-contact h4 {
    font-size: 0.9rem;
    padding-bottom: 8px;
  }

  .footer-column h4::after,
  .footer-contact h4::after {
    width: 20px;
  }

  .footer-link {
    font-size: 0.8rem;
  }

  .contact-phone {
    margin-bottom: 12px;
  }

  .contact-items-row {
    flex-direction: column;
    gap: 12px;
  }

  .contact-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .contact-content p {
    font-size: 0.8rem;
  }

  .footer-copyright,
  .footer-developed {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 30px 0 15px;
    margin-top: 40px;
  }

  .footer-container {
    padding: 0 15px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }

  .footer-brand {
    gap: 12px;
  }

  .footer-logo {
    height: 45px;
  }

  .footer-brand-text {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .footer-social {
    gap: 10px;
  }

  .social-link {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .footer-column,
  .footer-contact {
    gap: 12px;
  }

  .footer-column h4,
  .footer-contact h4 {
    font-size: 0.85rem;
    padding-bottom: 6px;
  }

  .footer-column h4::after,
  .footer-contact h4::after {
    width: 18px;
    height: 1.5px;
  }

  .footer-link {
    font-size: 0.75rem;
  }

  .contact-phone {
    margin-bottom: 12px;
  }

  .contact-items-row {
    flex-direction: column;
    gap: 10px;
  }

  .contact-item {
    gap: 10px;
  }

  .contact-icon {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .contact-content p {
    font-size: 0.75rem;
  }

  .footer-bottom {
    padding-top: 15px;
  }

  .footer-copyright {
    font-size: 0.7rem;
    margin-bottom: 4px;
  }

  .footer-developed {
    font-size: 0.7rem;
  }
}
