/* =============================================
   LÁMINAS EL GÜERO – Estilos principales
   ============================================= */

/* Variables */
:root {
  --base-color: #E8560A;
  --base-color-dark: #C44400;
  --base-color-light: rgba(232, 86, 10, 0.12);
  --dark-bg: #111111;
  --dark-secondary: #1c1c1c;
  --text-dark: #1a1a1a;
  --text-muted-custom: #6b6b6b;
  --light-bg: #f5f5f5;
  --warm-bg: #fef5ee;
  --whatsapp-color: #25d366;
  --whatsapp-dark: #1eab56;
}

/* Base */
body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* =============================================
   Utilidades de fuente
   ============================================= */
.fs-13 { font-size: 13px; }
.fs-15 { font-size: 15px; }
.fs-17 { font-size: 17px; }
.fs-20 { font-size: 20px; }
.fs-22 { font-size: 22px; }

/* =============================================
   Utilidades de color
   ============================================= */
.text-base-color   { color: var(--base-color); }
.bg-base-color     { background-color: var(--base-color); }
.text-muted-custom { color: var(--text-muted-custom); }
.text-whatsapp     { color: var(--whatsapp-color); }
.text-yellow       { color: #ffd84b; }

/* =============================================
   Utilidades de iconos Font Awesome
   ============================================= */
.fa-icon-medium       { font-size: 1.4rem; }
.fa-icon-extra-medium { font-size: 1.8rem; }
.fa-icon-large        { font-size: 2.4rem; }

/* =============================================
   Botones globales
   ============================================= */
.btn-extra-large {
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.btn-extra-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp {
  background-color: var(--whatsapp-color);
  color: #fff;
  border: none;
}
.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  color: #fff;
}

.btn-base-color {
  background-color: var(--base-color);
  color: #fff;
  border: none;
}
.btn-base-color:hover {
  background-color: var(--base-color-dark);
  color: #fff;
}

.btn-outline-cta {
  background-color: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.45);
}
.btn-outline-cta:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-phone {
  background-color: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.25);
}
.btn-outline-phone:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-dark-pill {
  background-color: #111111;
  color: #fff;
  border: none;
}
.btn-dark-pill:hover {
  background-color: #000;
  color: #fff;
}

/* =============================================
   Navbar
   ============================================= */
.navbar-custom {
  background-color: transparent;
  padding-top: 14px;
  padding-bottom: 14px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.logo-desktop {
  height: 80px;
  width: auto;
  object-fit: contain;
}
.logo-mobile {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.btn-nav-phone,
.btn-nav-whatsapp {
  background-color: #242424;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-nav-phone:hover,
.btn-nav-whatsapp:hover {
  background-color: #333;
  color: #fff;
  transform: translateY(-1px);
}
.btn-nav-phone .fa-phone { color: var(--base-color); }
.btn-nav-whatsapp .fa-whatsapp { color: var(--whatsapp-color); }

/* Botón hamburguesa */
.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 8px 12px;
}
.navbar-toggler:focus {
  box-shadow: none;
}

/* Mobile: logo centrado e inmóvil, menú flotante */
@media (max-width: 991.98px) {
  /* Altura fija del contenedor para que el logo no se mueva */
  .navbar-custom .container {
    min-height: 88px;
    align-items: center;
  }

  /* Logo: centrado vertical y horizontalmente dentro del contenedor */
  .navbar-brand-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  /* El collapse flota por debajo sin expandir el navbar */
  .navbar-custom .navbar-collapse {
    position: absolute;
    top: calc(100% + 4px);
    left: 12px;
    right: 12px;
    z-index: 999;
  }

  /* Estilo del menú cuando está abierto */
  .navbar-custom .navbar-collapse.show,
  .navbar-custom .navbar-collapse.collapsing {
    background-color: rgba(17, 17, 17, 0.97);
    border-radius: 14px;
    padding: 8px 12px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
  }
}

/* =============================================
   Sección 1 – Hero
   ============================================= */
.hero-section {
  background-color: var(--dark-bg);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 80px;
}

/* Imagen de fondo hero (ancho completo) */
.hero-img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.hero-bg-product {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
/* Degradado oscuro sobre la imagen para legibilidad del texto */
.hero-img-fade-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(17, 17, 17, 0.92) 0%,
    rgba(17, 17, 17, 0.75) 40%,
    rgba(17, 17, 17, 0.30) 70%,
    rgba(17, 17, 17, 0.10) 100%
  );
  z-index: 1;
}

.hero-body {
  padding-top: 120px;
}

@media (min-width: 992px) {
  .hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 108px;
    padding-bottom: 60px;
  }
  .hero-body {
    padding-top: 0;
  }
}

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

/* Overlay para fondo mobile */
.hero-img-fade-mobile {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.72);
  z-index: 1;
}

/* Imagen del producto – columna derecha */
.hero-img-right-col {
  position: relative;
  z-index: 2;
}
.hero-product-right {
  max-height: 520px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

@media (max-width: 991.98px) {
  .hero-product-right {
    max-height: 280px;
    margin-top: 8px;
  }
}

.badge-distribuidor {
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  color: #fff;
  line-height: 1.15;
  font-weight: 900;
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

.hero-feature-card {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 12px;
  height: 100%;
}
.hero-feature-icon {
  color: var(--base-color);
  font-size: 1.6rem;
  display: block;
}

/* =============================================
   Etiquetas de sección reutilizables
   ============================================= */
.section-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--base-color);
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.2;
}

/* =============================================
   Sección 2 – Ventajas
   ============================================= */
.ventajas-section {
  background-color: #fff;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

/* Imagen de fondo de la sección 2 (colocada en HTML) */
.seccion2-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
  pointer-events: none;
}

/* El contenido queda por encima de la imagen de fondo */
.ventajas-container {
  position: relative;
  z-index: 1;
}

.ventaja-card {
  background-color: #fff;
  border: 1.5px solid #ebebeb;
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.ventaja-card:hover {
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
  border-color: rgba(232, 86, 10, 0.25);
}

.ventaja-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: var(--base-color-light);
  flex-shrink: 0;
}
.ventaja-icon i {
  color: var(--base-color);
}

.ventajas-product-img {
  border-radius: 20px;
  object-fit: cover;
  width: 100%;
  height: 500px;
}

/* =============================================
   Sección 3 – Soluciones
   ============================================= */
.soluciones-section {
  background-color: var(--light-bg);
  padding: 90px 0;
}

.solucion-card {
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.solucion-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.solucion-img-wrapper {
  height: 220px;
  overflow: hidden;
}
.solucion-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.solucion-card:hover .solucion-img-wrapper img {
  transform: scale(1.04);
}

.solucion-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  background-color: rgba(0, 0, 0, 0.55);
  color: #fff;
  backdrop-filter: blur(4px);
}

.solucion-body {
  padding: 28px;
}

.solucion-check {
  list-style: none;
  padding: 0;
  margin: 0;
}
.solucion-check li {
  font-size: 15px;
  padding: 6px 0;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.solucion-check li i {
  color: var(--base-color);
  margin-top: 3px;
  flex-shrink: 0;
}

/* =============================================
   Sección 4 – Banner CTA
   ============================================= */
.banner-cta-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #b83900 0%, #e8530a 45%, #f07020 100%);
  position: relative;
  overflow: hidden;
}
.banner-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 12px
  );
  z-index: 0;
}

.badge-respuesta {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
}

.banner-cta-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}

.banner-feature-card {
  background-color: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 30px 24px;
  height: 100%;
  backdrop-filter: blur(6px);
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.banner-feature-card:hover {
  background-color: rgba(0, 0, 0, 0.32);
  transform: translateY(-3px);
}

.banner-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.18);
}
.banner-feature-icon i {
  color: #fff;
}

/* =============================================
   Sección 5 – Cobertura
   ============================================= */
.cobertura-section {
  background-color: #fff;
  padding: 90px 0;
}

.map-legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.map-legend-dot-secondary {
  background-color: #f5c5a0;
}

.cobertura-icon {
  color: var(--base-color);
}

.cobertura-divider {
  border-top: 1.5px solid #ebebeb;
  margin: 48px 0;
}

/* =============================================
   Sección 6 – Galería de Plastitejas
   ============================================= */
.galeria-section {
  background-color: var(--dark-bg);
  padding: 90px 0;
  overflow: hidden;
  position: relative;
}

.galeria-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}

.galeria-container {
  position: relative;
  z-index: 1;
}

.badge-galeria {
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.swiper-galeria {
  width: 100%;
  padding: 20px 0 60px !important;
  position: relative;
  z-index: 1;
}
.swiper-galeria .swiper-slide {
  width: 100%;
  max-width: 760px;
  border-radius: 18px;
  opacity: 0.55;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.swiper-galeria .swiper-slide-active {
  opacity: 1;
}
.swiper-galeria .swiper-slide img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  display: block;
  border-radius: 18px;
}

/* Flechas de navegación */
.swiper-galeria .swiper-button-prev,
.swiper-galeria .swiper-button-next {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}
.swiper-galeria .swiper-button-prev:hover,
.swiper-galeria .swiper-button-next:hover {
  background-color: var(--base-color);
}
.swiper-galeria .swiper-button-prev::after,
.swiper-galeria .swiper-button-next::after {
  font-size: 16px;
  font-weight: 900;
}

/* Paginación */
.swiper-galeria .swiper-pagination-bullet {
  background-color: rgba(255, 255, 255, 0.35);
  opacity: 1;
  width: 10px;
  height: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.swiper-galeria .swiper-pagination-bullet-active {
  background-color: var(--base-color);
  transform: scale(1.3);
}

@media (max-width: 767.98px) {
  .swiper-galeria .swiper-slide {
    width: 88%;
  }
  .swiper-galeria .swiper-slide img {
    max-height: 220px;
  }
}

/* =============================================
   Sección 7 – Formulario de cotización
   ============================================= */
.contacto-section {
  background-color: var(--warm-bg);
  padding: 90px 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}
.contact-info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--base-color);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-icon i {
  color: #fff;
  font-size: 1.1rem;
}

.mascot-img {
  border-radius: 18px;
  max-height: 320px;
  object-fit: contain;
}

.form-card {
  background-color: #fff;
  border-radius: 22px;
  padding: 44px 40px;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.08);
}

.form-control-custom,
.form-select-custom {
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  color: var(--text-dark);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #fafafa;
}
.form-control-custom:focus,
.form-select-custom:focus {
  border-color: var(--base-color);
  box-shadow: 0 0 0 3px rgba(232, 86, 10, 0.12);
  background-color: #fff;
  outline: none;
}
.form-control-custom::placeholder {
  color: #aaa;
  font-size: 14px;
}

/* =============================================
   Footer
   ============================================= */
.footer-section {
  background-color: var(--dark-bg);
  padding: 44px 0;
}
.logo-footer {
  height: 80px;
  width: auto;
  object-fit: contain;
}
.footer-contact-link {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
}
.footer-contact-link:hover {
  color: #fff;
}
.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 28px 0;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 0;
    padding-bottom: 60px;
    min-height: 100svh;
  }
  .hero-body {
    padding-top: 100px;
  }
  /* El wrapper ocupa todo el alto de la sección en mobile */
  .hero-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
  }
  .hero-bg-product {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  /* Overlay mobile más oscuro para legibilidad */
  .hero-img-fade-mobile {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, 0.70);
    z-index: 1;
  }
  .seccion2-bg {
    object-position: center center;
  }
  .ventajas-section,
  .soluciones-section,
  .banner-cta-section,
  .cobertura-section,
  .contacto-section {
    padding: 64px 0;
  }
  .form-card {
    padding: 32px 24px;
  }
}

@media (max-width: 575.98px) {
  .btn-extra-large {
    padding: 13px 20px;
    font-size: 14px;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .banner-cta-title {
    font-size: 1.7rem;
  }
  .btn-nav-phone,
  .btn-nav-whatsapp {
    font-size: 12px;
    padding: 8px 12px;
  }
}

/* Monitores grandes: limitar el contenido a 1280px */
@media (min-width: 1400px) {
  .container {
    max-width: 1280px;
  }
}
