/* ============================================================
   VETCO · landing-v2.css
   CSS único para nav + carrusel + modal + secciones. Se carga
   DESPUÉS de landing.css (que ya fue limpiado de reglas
   duplicadas en conflicto), así que estas reglas son la fuente
   de verdad del diseño.
   ============================================================ */

:root {
  --vc-navy: #0a1e42;
  --vc-navy-dark: #071530;
  --vc-yellow: #fbe03e;
  --vc-yellow-dark: #f3de4d;
  --vc-blue: #00bef2;
  --vc-blue-dark: #009ecb;
  --vc-blue-soft: #e6f9fe;
  --vc-ink: #1c2434;
  --vc-muted: #64708a;
  --vc-line: #e6e9f0;
  --vc-bg: #f6f8fb;
  --vc-radius-lg: 22px;
  --vc-radius-md: 14px;
  --vc-radius-sm: 10px;
  --vc-shadow: 0 12px 32px rgba(10, 30, 66, 0.14);
  --vc-shadow-sm: 0 4px 14px rgba(10, 30, 66, 0.08);
  --vc-container: 1200px;
}

body {
  background: var(--vc-bg);
  color: var(--vc-ink);
}

/* ============================================================
   1. BARRA DE NAVEGACIÓN
   ============================================================ */
.header.vetco-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #ffffff;
  border-bottom: 1px solid var(--vc-line);
  box-shadow: var(--vc-shadow-sm);
  padding: 0.75rem 1.5rem;
}

.vetco-header .vetco-nav-inner {
  max-width: var(--vc-container);
  margin: 0 auto;
}

.vetco-header .vetco-nav-logo img {
  width: 150px;
  max-width: 40vw;
  height: auto;
  display: block;
  transition: transform 0.2s ease;
}

.vetco-header .vetco-nav-logo:hover img {
  transform: scale(1.03);
}

.vetco-header .vetco-nav-actions {
  gap: 0.6rem !important;
  margin-right: 0 !important;
}

.vetco-header .iniciarSecion {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.vetco-header .iniciarSecion:hover {
  transform: translateY(-1px);
  box-shadow: var(--vc-shadow-sm);
}

.vetco-header .iniciarSecion:active {
  transform: translateY(0);
}

.vetco-header .iniciarSecion[style*="fbe03e"] {
  background: var(--vc-yellow) !important;
  color: var(--vc-navy) !important;
  font-weight: 700;
}

.vetco-header .iniciarSecion:not([style*="fbe03e"]) {
  background: var(--vc-blue);
  color: #ffffff;
}

@media screen and (max-width: 576px) {
  .header.vetco-header {
    padding: 0.6rem 1rem;
  }
  .vetco-header .vetco-nav-logo img {
    width: 120px;
  }
  .vetco-header .vetco-nav-actions {
    gap: 0.4rem !important;
  }
  .vetco-header .iniciarSecion {
    padding: 0.45rem 0.8rem;
    font-size: 0.72rem;
  }
}

/* ============================================================
   2. CARRUSEL — reglas compartidas por el hero (#carouselExampleIndicators)
      y por el carrusel del modal (#carousel_landing), vía .vc-carousel
   ============================================================ */
.vc-carousel {
  position: relative;
}

.vc-carousel .carousel-inner {
  border-radius: inherit;
  overflow: hidden;
  min-width: 0;
}

.vc-carousel .carousel-item img.landing {
  cursor: pointer;
  object-fit: cover;
}

/* --- Flechas prev/next: sutiles, chicas, dentro del marco --- */
.vc-carousel .carousel-control-prev,
.vc-carousel .carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(10, 30, 66, 0.08);
  box-shadow: 0 2px 8px rgba(10, 30, 66, 0.18);
  opacity: 1;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.vc-carousel .carousel-control-prev {
  left: 10px;
}

.vc-carousel .carousel-control-next {
  right: 10px;
}

.vc-carousel .carousel-control-prev:hover,
.vc-carousel .carousel-control-next:hover {
  background: var(--vc-navy);
}

.vc-carousel .carousel-control-prev:hover i,
.vc-carousel .carousel-control-next:hover i {
  color: #ffffff;
}

.vc-carousel .carousel-control-prev i,
.vc-carousel .carousel-control-next i {
  color: var(--vc-navy);
  font-size: 1.05rem;
  line-height: 1;
  transition: color 0.2s ease;
}

/* --- Indicadores: puntitos chicos y discretos --- */
.vc-carousel .carousel-indicators {
  position: static;
  margin: 0;
  padding: 0.75rem 0;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.vc-carousel .carousel-indicators [data-bs-target] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d7dce6;
  border: 0;
  opacity: 1;
  transition: width 0.2s ease, background 0.2s ease, border-radius 0.2s ease;
}

.vc-carousel .carousel-indicators [data-bs-target].active {
  width: 16px;
  border-radius: 4px;
  background: #00bef2;
}

@media screen and (max-width: 768px) {
  .vc-carousel .carousel-control-prev,
  .vc-carousel .carousel-control-next {
    width: 28px;
    height: 28px;
  }
  .vc-carousel .carousel-control-prev i,
  .vc-carousel .carousel-control-next i {
    font-size: 0.95rem;
  }
}

/* ============================================================
   3. HERO (carrusel principal de la landing)
   ============================================================ */
.vetco-hero {
  max-width: var(--vc-container);
  margin: 2rem auto 0;
  padding: 0 1.25rem;
}

.vetco-hero #carouselExampleIndicators {
  border-radius: var(--vc-radius-lg);
  overflow: hidden;
  box-shadow: var(--vc-shadow);
  background: var(--vc-navy);
}

.vetco-hero #carouselExampleIndicators .carousel-item img.landing {
  aspect-ratio: 16 / 8;
  width: 100%;
}

.vetco-hero #carouselExampleIndicators .carousel-indicators {
  background: var(--vc-navy);
}

/* --- Botones de acción bajo el carrusel --- */
.vetco-hero-actions {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.vetco-hero-actions .vc-btn {
  flex: 1 1 220px;
}

@media screen and (max-width: 768px) {
  .vetco-hero {
    margin-top: 1.25rem;
    padding: 0 0.9rem;
  }
  .vetco-hero #carouselExampleIndicators .carousel-item img.landing {
    /* aspect-ratio: 4 / 5; */
  }
  .vetco-hero-actions .vc-btn {
    flex: 1 1 100%;
  }
}

/* ============================================================
   4. BOTONES (vc-btn) — usados en el hero y en el modal
   ============================================================ */
.vc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--vc-radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.vc-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--vc-shadow-sm);
}

/* Ver temario: contorno azul de marca */
.vc-btn-outline {
  background: #ffffff;
  color: var(--vc-blue-dark);
  border-color: var(--vc-blue);
}

.vc-btn-outline:hover {
  background: var(--vc-blue-soft);
  color: var(--vc-blue-dark);
}

.vc-btn-solid {
  background: var(--vc-blue);
  color: #ffffff;
}

.vc-btn-solid:hover {
  background: var(--vc-blue-dark);
  color: #ffffff;
}

.vc-btn-cta {
  background: var(--vc-yellow);
  color: var(--vc-navy);
  width: 100%;
}

.vc-btn-cta:hover {
  background: var(--vc-yellow-dark);
  color: var(--vc-navy);
}

/* ============================================================
   5. MODAL — rediseño completo
   ============================================================ */
.vc-modal.modal__container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(7, 21, 48, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: var(--z-modal);
}

.vc-modal.show-modal {
  visibility: visible;
  opacity: 1;
}

.vc-modal .vc-modal-content.modal__content {
  position: relative;
  width: 94%;
  max-width: 760px;
  
  background: #ffffff;
  border-radius: var(--vc-radius-lg);
  box-shadow: var(--vc-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
  padding: 0;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}

.vc-modal.show-modal .vc-modal-content.modal__content {
  transform: translateY(0) scale(1);
}

@media screen and (min-width: 576px) {
  .vc-modal .vc-modal-content.modal__content {
    width: 92%;
  }
}

.vc-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--vc-line);
  flex: 0 0 auto;
}

.vc-modal-title.modal__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--vc-navy);
  letter-spacing: 0.01em;
}

.vc-modal-close.modal__close {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  background: var(--vc-bg);
  color: var(--vc-navy);
  font-size: 1.3rem;
  font-weight: 400;
  border: 0;
  flex-shrink: 0;
}

.vc-modal-close.modal__close:hover {
  background: var(--vc-line);
}

.vc-modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  background: var(--vc-bg);
}

/* La imagen del temario se expande para ocupar bien el ancho del modal */
.vc-modal-media {
  width: 100%;
}

.vc-modal-media .vc-carousel .carousel-item img.landing {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  background: #ffffff;
  display: block;
  margin: 0 auto;
}

.vc-modal-media .vc-carousel {
  border-radius: var(--vc-radius-md);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--vc-shadow-sm);
}

.vc-modal-media .vc-carousel .carousel-indicators {
  background: #ffffff;
}

.vc-modal-footer {
  flex: 0 0 auto;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--vc-line);
  background: #ffffff;
}

@media screen and (max-width: 576px) {
  .vc-modal-head {
    padding: 1rem 1.1rem;
  }
  .vc-modal-body {
    padding: 1rem 1.1rem;
  }
  .vc-modal-footer {
    padding: 0.9rem 1.1rem;
  }
  .vc-modal-title.modal__title {
    font-size: 1rem;
  }
}

/* ============================================================
   5b. ZOOM (lightbox) de la imagen del temario
   ============================================================ */
.vc-modal-media .vc-carousel .carousel-item img.landing.vc-zoomable {
  cursor: zoom-in;
}

.vc-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 100010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(5, 12, 26, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.vc-lightbox.show-lightbox {
  opacity: 1;
  visibility: visible;
}

.vc-lightbox img {
  max-width: 95vw;
  max-height: 95vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  touch-action: pinch-zoom;
}

.vc-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
}

.vc-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   6. NOSOTROS
   ============================================================ */
.vc-about.quienesSomos {
  background: #ffffff;
  border-radius: var(--vc-radius-lg);
  max-width: var(--vc-container);
  margin: 2.5rem auto;
  padding: 2.75rem 2.5rem;
  display: flex;
  gap: 3rem;
  height: auto;
}

.vc-about .vc-about-media {
  flex: 1 1 380px;
  width: auto;
  height: auto;
}

.vc-about .vc-about-media img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--vc-radius-md);
  box-shadow: var(--vc-shadow-sm);
}

.vc-about .vc-about-content {
  flex: 1 1 420px;
  width: auto;
  height: auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.vc-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--vc-blue-dark);
  background: var(--vc-blue-soft);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.vc-about-content h1 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  color: var(--vc-navy);
  margin: 0 0 0.9rem;
  line-height: 1.2;
}

.vc-about-content p {
  color: var(--vc-muted);
  line-height: 1.65;
  text-align: left;
  font-size: 1rem;
  margin: 0 0 1.25rem;
}

.vc-about .vc-about-stat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: auto;
  padding: 0.7rem 1rem;
  background: var(--vc-bg);
  border-radius: var(--vc-radius-sm);
  color: var(--vc-navy);
  font-size: 0.9rem;
  text-align: left;
}

.vc-about-stat i {
  font-size: 1.3rem;
  color: var(--vc-blue);
}

@media screen and (max-width: 800px) {
  .vc-about.quienesSomos {
    flex-direction: column;
    padding: 2rem 1.25rem;
    margin: 1.5rem auto;
    gap: 1.5rem;
  }
  .vc-about .vc-about-media {
    flex: 0 1 auto;
  }
  .vc-about .vc-about-content {
    flex: 0 1 auto;
    height: auto;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
  }
  .vc-about .vc-about-media img {
    max-height: 260px;
  }
}

/* ============================================================
   7. BENEFICIOS
   ============================================================ */
.vc-benefits.fondobeneficios {
  border-radius: var(--vc-radius-lg);
  max-width: var(--vc-container);
  margin: 0 auto 2.5rem;
  padding: 3rem 1.5rem;
}

.tituloBeneficio h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin: 0;
}

.vc-eyebrow-light {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.beneficiosGlobla {
  width: 100%;
  max-width: 1100px;
  box-sizing: border-box;
  align-self: stretch;
  margin: 0 auto;
  box-shadow: var(--vc-shadow-sm);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.75rem 1.25rem;
  padding: 2.25rem;
}

.vc-benefit-card.uno {
  width: auto;
  height: auto;
  min-height: 0;
  border-left: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.vc-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--vc-radius-sm);
  background: var(--vc-blue-soft);
  color: var(--vc-blue-dark);
  font-size: 1.7rem;
  margin-bottom: 0;
}

.vc-benefit-card p {
  text-align: left;
  color: var(--vc-muted);
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
  align-self: center;
}

@media screen and (max-width: 480px) {
  .beneficiosGlobla {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem 1.25rem;
  }
  .vc-benefit-icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
}

/* ============================================================
   8. FOOTER
   ============================================================ */
.fotter {
  background: var(--vc-navy) !important;
}

.fotter .links h4 {
  color: #ffffff;
}

.fotter .links a {
  color: #cfd6e4;
  text-decoration: none;
}

.fotter .links a:hover {
  color: var(--vc-yellow);
}

.fotter .icon__red {
  transition: transform 0.15s ease;
}

.fotter .icon__red:hover {
  transform: translateY(-2px);
}

@media screen and (max-width: 576px) {
  .fotter {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
    padding: 2rem 1rem;
  }
}
