@charset "UTF-8";
/* ========================================
   HERO CAROUSEL - VARIABLES ESPECÍFICAS
   ======================================== */
:root {
  --hero-height: 75vh;
  --hero-overlay-opacity: 0.3;
  --hero-content-max-width: 600px;
  --hero-transition-duration: 0.8s;
}

/* ========================================
   HERO CAROUSEL CONTAINER - SWIPER
   ======================================== */
.hero-carousel-wrapper {
  position: relative;
  width: 100%;
  height: var(--hero-height);
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  height: 100%;
  position: relative;
}

.swiper-wrapper {
  height: 100%;
}

.swiper-slide {
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* ========================================
   BACKGROUND SIN OVERLAY PROBLEMÁTICO
   ======================================== */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
}
.hero-bg.hero-bg-default {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
  background: var(--projects-header-bg);
}

.hero-overlay {
  display: none;
}

/* ========================================
   HERO CONTENT - TARJETA LIMPIA
   ======================================== */
.hero-content {
  position: relative;
  z-index: 3;
  padding: 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-content .hero-text-wrapper {
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08), 0 10px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.5);
  max-width: var(--hero-content-max-width);
  width: 100%;
  position: relative;
}

/* ========================================
   HERO TYPOGRAPHY
   ======================================== */
.hero-subtitle {
  font-family: var(--font-text);
  font-weight: var(--font-semibold);
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  color: var(--color-primary);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}
.hero-subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: var(--color-secondary);
  border-radius: 2px;
}
.hero-subtitle i {
  font-size: 1.1em;
  color: var(--color-secondary);
  margin-right: 0.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin-bottom: 1.5rem;
  text-wrap: balance;
  position: relative;
  background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-primary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 2px;
}

.hero-description {
  font-family: var(--font-text);
  font-weight: var(--font-regular);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: var(--lh-relaxed);
  color: var(--color-gray-700);
  margin-bottom: 2rem;
  max-width: 90%;
}

/* ========================================
   HERO CTA BUTTONS - ELEGANTE Y PROPORCIONADO
   ======================================== */
.hero-cta-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.hero-carousel-wrapper .btn-hero,
.hero-carousel-wrapper .btn.btn-hero,
.hero-carousel-wrapper .btn-hero.btn-outline,
.hero-carousel-wrapper .btn.btn-hero.btn-outline,
.hero-carousel-wrapper .btn-hero.btn-primary,
.hero-carousel-wrapper .btn.btn-hero.btn-primary,
.hero-carousel-wrapper .btn-hero.btn-secondary,
.hero-carousel-wrapper .btn.btn-hero.btn-secondary {
  padding: 0.8rem 2rem !important;
  font-family: var(--font-text) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.5px !important;
  background: var(--color-primary) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 25px !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 180px !important;
  cursor: pointer !important;
  position: relative !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(93, 163, 160, 0.25) !important;
}
.hero-carousel-wrapper .btn-hero:hover, .hero-carousel-wrapper .btn-hero:focus,
.hero-carousel-wrapper .btn.btn-hero:hover,
.hero-carousel-wrapper .btn.btn-hero:focus,
.hero-carousel-wrapper .btn-hero.btn-outline:hover,
.hero-carousel-wrapper .btn-hero.btn-outline:focus,
.hero-carousel-wrapper .btn.btn-hero.btn-outline:hover,
.hero-carousel-wrapper .btn.btn-hero.btn-outline:focus,
.hero-carousel-wrapper .btn-hero.btn-primary:hover,
.hero-carousel-wrapper .btn-hero.btn-primary:focus,
.hero-carousel-wrapper .btn.btn-hero.btn-primary:hover,
.hero-carousel-wrapper .btn.btn-hero.btn-primary:focus,
.hero-carousel-wrapper .btn-hero.btn-secondary:hover,
.hero-carousel-wrapper .btn-hero.btn-secondary:focus,
.hero-carousel-wrapper .btn.btn-hero.btn-secondary:hover,
.hero-carousel-wrapper .btn.btn-hero.btn-secondary:focus {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(93, 163, 160, 0.35) !important;
  background: var(--color-primary-dark) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}
.hero-carousel-wrapper .btn-hero:active,
.hero-carousel-wrapper .btn.btn-hero:active,
.hero-carousel-wrapper .btn-hero.btn-outline:active,
.hero-carousel-wrapper .btn.btn-hero.btn-outline:active,
.hero-carousel-wrapper .btn-hero.btn-primary:active,
.hero-carousel-wrapper .btn.btn-hero.btn-primary:active,
.hero-carousel-wrapper .btn-hero.btn-secondary:active,
.hero-carousel-wrapper .btn.btn-hero.btn-secondary:active {
  transform: translateY(0px) !important;
}

.hero-carousel-wrapper .btn-hero i,
.hero-carousel-wrapper .btn.btn-hero i,
.hero-carousel-wrapper .btn-hero.btn-outline i,
.hero-carousel-wrapper .btn.btn-hero.btn-outline i,
.hero-carousel-wrapper .btn-hero.btn-primary i,
.hero-carousel-wrapper .btn.btn-hero.btn-primary i,
.hero-carousel-wrapper .btn-hero.btn-secondary i,
.hero-carousel-wrapper .btn.btn-hero.btn-secondary i {
  font-size: 0.9rem !important;
  color: #ffffff !important;
  margin-right: 0.6rem !important;
  transition: all 0.3s ease !important;
  opacity: 1 !important;
  display: inline-block !important;
}

.hero-carousel-wrapper .btn-hero:hover i {
  transform: translateX(2px) !important;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .hero-carousel-wrapper .btn-hero,
  .hero-carousel-wrapper .btn.btn-hero {
    padding: 0.7rem 1.5rem !important;
    font-size: 0.8rem !important;
    min-width: 160px !important;
  }
  .hero-carousel-wrapper .btn-hero i,
  .hero-carousel-wrapper .btn.btn-hero i {
    font-size: 0.8rem !important;
    margin-right: 0.5rem !important;
  }
}
/* ========================================
   HERO VISUAL CONTENT - IMAGEN COMPLETA
   ======================================== */
.hero-visual {
  position: relative;
  z-index: 3;
  padding: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-visual .hero-image-wrapper .hero-main-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

/* ========================================
   SWIPER NAVEGACIÓN Y PAGINACIÓN EN LÍNEA
   ======================================== */
.hero-navigation-container {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  z-index: 10;
}

.hero-swiper-next,
.hero-swiper-prev {
  position: static;
  width: 23px;
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  background: none;
  border: none;
  transform: translateY(10px);
  border-radius: 50%;
}
.hero-swiper-next:hover,
.hero-swiper-prev:hover {
  transform: translateY(10px);
  background-color: white;
}
.hero-swiper-next i,
.hero-swiper-prev i {
  font-size: 24px;
  color: var(--color-neutral);
  transition: all 0.2s ease;
}
.hero-swiper-next:hover i,
.hero-swiper-prev:hover i {
  color: var(--color-neutral);
}
.hero-swiper-next::after,
.hero-swiper-prev::after {
  display: none;
}

.hero-swiper-pagination {
  position: static !important;
  width: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin: 0 !important;
}
.hero-swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  opacity: 1;
  margin: 0;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.hero-swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--color-white);
  background: var(--color-neutral);
  border-color: var(--color-white);
  transform: scale(1.15);
}
.hero-swiper-pagination .swiper-pagination-bullet:hover {
  border-color: var(--color-neutral);
  background: rgba(255, 255, 255, 0.7);
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */
@media (max-width: 768px) {
  :root {
    --hero-height: 90vh;
  }
  .swiper-slide {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }
  .hero-visual {
    display: block !important;
    height: 50vh;
    width: 100%;
    order: 1;
    flex-shrink: 0;
  }
  .hero-content {
    height: 50vh;
    order: 2;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
  }
  .hero-content .hero-text-wrapper {
    padding: 2rem 1.5rem;
    margin: 0;
    border-radius: 0;
  }
  .hero-subtitle {
    padding-left: 0;
    text-align: center;
  }
  .hero-subtitle::before {
    display: none;
  }
  .hero-cta-wrapper {
    justify-content: center;
    flex-direction: column;
  }
  .hero-cta-wrapper .btn-hero {
    width: 100%;
    max-width: 280px;
  }
  .hero-navigation-container {
    display: flex !important;
    bottom: 1rem;
    z-index: 20;
  }
  .hero-swiper-next,
  .hero-swiper-prev {
    display: none !important;
  }
  .hero-swiper-pagination {
    position: static !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}
@media (max-width: 480px) {
  .hero-visual {
    height: 45vh;
  }
  .hero-content {
    height: auto;
    padding: 0;
    margin: 0;
    border-radius: 0;
  }
  .hero-content .hero-text-wrapper {
    padding: 1.5rem 1rem;
  }
  .hero-navigation-container {
    bottom: 0.5rem;
  }
}/*# sourceMappingURL=hero-carousel.css.map */