/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: #ffffff;
  display: flex;
  align-items: center;
  padding: 100px 80px 40px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-left: 40px;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--light-blue);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-label-line {
  width: 32px;
  height: 2.5px;
  background: var(--light-blue);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(34px, 7vw, 54px);
  font-weight: unset;
  color: var(--dark-blue);
  line-height: 0.85;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 1px;
  text-align: left;
}

.hero-desc {
  font-family: Plus Jakarta Sans, sans-serif;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 420px;
  margin: 22px 0 0;
}



/* Carrusel */
.hero-carousel {
  width: 100%;
  overflow: hidden;
  border-radius: 0; /* ← quita el borde redondeado */
  overflow: hidden;
  box-shadow: none; /* ← quita cualquier sombra */
  background: transparent; /* ← fondo transparente */
}

.hero-slides {
  display: grid;
  width: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 0.6s ease;
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  max-height: 600px;
}

.hero-dots {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  justify-content: center;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(11,58,98,0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.hero-dot.active {
  background: var(--gold);
  width: 28px;
}

/* ── SECCIÓN CANTIDADES (GLASSMORPHISM) ── */
.cantidades {
  background: linear-gradient(135deg, var(--dark-blue) 0%, #061524 100%);
  padding: 100px 40px; 
  position: relative; 
  overflow: hidden;
}

/* Efecto de luz difusa de fondo en cantidades */
.cantidades::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 20%;
  width: 400px;
  height: 400px;
  background: rgba(52, 174, 214, 0.15);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.cant-grid { 
  max-width: 960px; 
  margin: 0 auto; 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 24px; 
}

.cant-card { 
  background: rgba(255, 255, 255, 0.04); 
  border: 1px solid rgba(255, 255, 255, 0.07); 
  border-radius: 20px; 
  padding: 36px 20px; 
  text-align: center; 
  position: relative; 
  overflow: hidden; 
  transition: var(--transition-smooth); 
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cant-card:hover { 
  transform: translateY(-8px); 
  border-color: rgba(52, 174, 214, 0.5); 
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.cant-card::after { 
  content: ''; 
  position: absolute; 
  bottom: 0; 
  left: 0; 
  right: 0; 
  height: 4px; 
  background: linear-gradient(90deg, var(--light-blue), var(--gold)); 
  transform: scaleX(0); 
  transition: var(--transition-smooth); 
}
.cant-card:hover::after { 
  transform: scaleX(1); 
}

.cant-icon { 
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(52, 174, 214, 0.12);
  color: var(--light-blue);
  animation: float 3.5s ease-in-out infinite; 
}
.cant-icon svg {
  width: 24px;
  height: 24px;
}
.cant-card:nth-child(2) .cant-icon { animation-delay: 0.5s; } 
.cant-card:nth-child(3) .cant-icon { animation-delay: 1s; } 
.cant-card:nth-child(4) .cant-icon { animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.cant-num { 
  font-size: clamp(26px, 3.2vw, 40px); 
  font-weight: 900; 
  color: var(--light-blue); 
  display: block; 
  line-height: 1; 
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(52, 174, 214, 0.2);
  white-space: nowrap;
}

.cant-line {
  width: 32px;
  height: 3px;
  margin: 0 auto 14px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--light-blue), var(--gold));
}

.cant-name-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 40px;
  width: 100%;
}

.cant-name { 
  font-size: 13.5px; 
  font-weight: 800; 
  color: rgba(255, 255, 255, 0.9); 
  letter-spacing: 0.2px; 
  line-height: 1.4;
  margin: 0; 
}

.cant-units { 
  font-size: 12px; 
  color: rgba(255, 255, 255, 0.5); 
  font-weight: 600; 
  line-height: 1.4;
  margin-top: 6px;
}

.cant-cta { 
  text-align: center; 
  margin-top: 50px; 
}

.pulse-ring { 
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  width: 100%; 
  height: 100%; 
  border-radius: 30px; 
  background: rgba(255, 255, 255, 0.12); 
  animation: pRing 2s ease-out infinite; 
  pointer-events: none; 
}
@keyframes pRing {
  0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.12); opacity: 0; }
}

/* ── NUESTRA IDENTIDAD CAROUSEL ── */
.identidad { 
  background: #fff;
  padding: 100px 30px; 
}
.identidad-carousel { 
  max-width: 860px; 
  margin: 0 auto; 
  position: relative; 
}
.identidad-track-outer { 
  overflow: hidden; 
  border-radius: 24px; 
  box-shadow: 0 25px 60px rgba(11, 58, 98, 0.12); 
  border: 4px solid var(--white); 
}
.identidad-track { 
  display: flex; 
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); 
}
.identidad-slide { 
  min-width: 100%; 
}
.slide-video { 
  position: relative; 
  padding-bottom: 56.25%; 
  height: 0; 
  background: #000;
}
.slide-video iframe { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  border: none; 
}
.slide-photo { 
  width: 100%; 
  aspect-ratio: 16/9; 
  overflow: hidden; 
}
.slide-photo img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
}

.carousel-btn { 
  position: absolute; 
  top: 50%; 
  transform: translateY(-50%); 
  width: 46px; 
  height: 46px; 
  border-radius: 50%; 
  background: var(--white); 
  border: none; 
  box-shadow: 0 6px 20px rgba(11, 58, 98, 0.15); 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  transition: var(--transition-smooth); 
  z-index: 10; 
}
.carousel-btn:hover { 
  background: var(--light-blue); 
  transform: translateY(-50%) scale(1.1); 
  box-shadow: 0 8px 24px rgba(52, 174, 214, 0.3);
}
.carousel-btn:hover svg { 
  stroke: var(--white); 
}
.carousel-btn svg { 
  width: 20px; 
  height: 20px; 
  stroke: var(--dark-blue); 
  stroke-width: 3; 
  fill: none; 
  transition: var(--transition-smooth);
}
.btn-prev { left: -23px; } 
.btn-next { right: -23px; }

.carousel-dots { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 10px; 
  margin-top: 30px; 
}
.cdot { 
  width: 8px; 
  height: 8px; 
  border-radius: 4px; 
  background: var(--dark-blue); 
  opacity: 0.2; 
  border: none; 
  cursor: pointer; 
  transition: var(--transition-smooth); 
}
.cdot.active { 
  opacity: 1; 
  background: var(--light-blue); 
  width: 30px; 
}

/* ── CONTACTO (FORMULARIO MODERNIZADO) ── */
.contacto-section { 
  background: var(--white); 
  padding: 100px 30px; 
}
.contacto-inner { 
  max-width: 1040px; 
  margin: 0 auto; 
}
.contacto-underline { 
  width: 60px; 
  height: 4px; 
  background: var(--light-blue); 
  border-radius: 2px; 
  margin: 0 auto 60px; 
}
.contacto-grid { 
  display: grid; 
  grid-template-columns: 1fr 1.05fr; 
  gap: 50px; 
  align-items: start; 
}

.contacto-left-title { 
  font-size: 22px; 
  font-weight: 800; 
  color: var(--dark-blue); 
  margin-bottom: 30px; 
  letter-spacing: -0.3px;
}
.info-item { 
  display: flex; 
  align-items: center; 
  gap: 16px; 
  margin-bottom: 20px; 
  background: var(--bg-light);
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid rgba(52, 174, 214, 0.08);
  transition: var(--transition-smooth);
}
.info-item:hover {
  transform: translateX(5px);
  background: var(--white);
  box-shadow: 0 6px 20px rgba(52, 174, 214, 0.1);
  border-color: rgba(52, 174, 214, 0.25);
}

.info-icon { 
  width: 44px; 
  height: 44px; 
  border-radius: 50%; 
  background: rgba(52, 174, 214, 0.12); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  flex-shrink: 0; 
}
.info-icon svg { 
  width: 20px; 
  height: 20px; 
  stroke: var(--light-blue); 
  stroke-width: 2.2; 
  fill: none; 
}
.info-text { 
  font-size: 15px; 
  color: var(--dark-blue); 
  font-weight: 700; 
}

.map-wrap { 
  margin-top: 30px; 
  border-radius: 20px; 
  overflow: hidden; 
  box-shadow: 0 10px 30px rgba(11, 58, 98, 0.08); 
  border: 4px solid var(--white); 
  height: 240px; 
}
.map-wrap iframe { 
  width: 100%; 
  height: 100%; 
  border: none; 
  display: block; 
}

/* Formulario */
.form-box { 
  background: var(--white); 
  border-radius: 24px; 
  padding: 44px 38px; 
  box-shadow: 0 15px 45px rgba(11, 58, 98, 0.08); 
  border: 1px solid rgba(11, 58, 98, 0.06); 
}
.form-box-title { 
  font-size: 24px; 
  font-weight: 800; 
  color: var(--dark-blue); 
  margin-bottom: 8px; 
}
.form-box-sub { 
  font-size: 15px; 
  color: var(--text-muted); 
  line-height: 1.6; 
  margin-bottom: 30px; 
}
.form-group { 
  margin-bottom: 18px; 
}

.form-alert {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 22px;
  line-height: 1.5;
}
.form-alert-exito {
  background: #e3f7ea;
  color: #1e7d43;
  border: 1px solid rgba(30, 125, 67, 0.2);
}
.form-alert-error {
  background: #fdecec;
  color: #b3261e;
  border: 1px solid rgba(179, 38, 30, 0.2);
}
.form-input { 
  width: 100%; 
  padding: 16px 20px; 
  border: 1.5px solid #dce7ee; 
  border-radius: 12px; 
  font-size: 15px; 
  font-family: 'Nunito', sans-serif; 
  color: var(--dark-blue); 
  background: #fbfdfe; 
  outline: none; 
  transition: var(--transition-smooth); 
}
.form-input:focus { 
  border-color: var(--light-blue); 
  box-shadow: 0 0 0 4px rgba(52, 174, 214, 0.12); 
  background: var(--white); 
}
.form-input::placeholder { 
  color: #a0b6c6; 
}
textarea.form-input { 
  resize: vertical; 
  min-height: 120px; 
}

.form-submit { 
  width: 100%; 
  padding: 16px; 
  background: var(--dark-blue); 
  color: var(--white); 
  font-size: 15px; 
  font-weight: 800; 
  font-family: 'Nunito', sans-serif; 
  border: none; 
  border-radius: 12px; 
  cursor: pointer; 
  margin-top: 10px; 
  transition: var(--transition-smooth); 
  box-shadow: 0 4px 15px rgba(11, 58, 98, 0.15);
}
.form-submit:hover { 
  background: var(--light-blue); 
  transform: translateY(-2px); 
  box-shadow: 0 8px 24px rgba(52, 174, 214, 0.25);
}

/* ── RESPONSIVIDAD GENERAL HOMEPAGE ── */

@media(max-width: 900px) {
  body {
    overflow-x: hidden;
  }

  .hero {
    min-height: auto;
    padding: 110px 24px 40px;
    overflow: hidden;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-right {
    order: -1;
    margin-top: 10px;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-carousel {
    width: 100%;
  }

  .hero-left {
    align-items: center;
    text-align: center;
    padding-left: 0;
  }

  .hero-label {
    justify-content: center;
    width: fit-content;
    margin: 0 auto 14px;
  }
  .hero-label-line {
    display: none;
  }

  .hero-title {
    text-align: center;
    font-size: clamp(28px, 8vw, 42px);
  }

  .btn-cotiza {
    padding: 14px 30px;
    font-size: 16px;
    margin-top: 20px;
  }

  .hero-slide img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
  }

  .cant-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-box {
    padding: 30px 24px;
  }
}

@media(max-width: 480px) {
  .cant-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
@keyframes btnPulse {
  0% { box-shadow: 0 0 0 0 rgba(249, 178, 51, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(249, 178, 51, 0); }
  100% { box-shadow: 0 0 0 0 rgba(249, 178, 51, 0); }
}

.btn-cotiza {
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 14px 40px;
  font-size: 18px;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  animation: btnPulse 2s ease-in-out infinite;
  margin-top: 28px;
}

.btn-cotiza:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

#heroCategory {
  color: var(--dark-blue);
  transition: opacity 0.3s ease;
  display: inline-block;
}