/* fondo */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #ffffff, #ffffff);
  overflow-x: hidden;
  overflow-y: auto;
  
  /* Tipografía y color actualizados */
  font-family: 'Montserrat', sans-serif;
  font-weight: 400; /* Peso normal */
  font-size: 14px;
  color: #666666;
  line-height: 1.80857;
}




/* ===== RESET CRÍTICO ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
}

/* ===== HEADER BASE ===== */
.header {
  width: 100%;
  padding: 0px 20px;
  background: linear-gradient(45deg, #000000, #000000d4, #000000af, #0000008b, #00000091);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  color: rgb(255, 255, 255);
  height: 60px;
}

/* LOGO */
.logo img {
  width: 100px;
  height: 100px;
}

/* MENÚ DESKTOP */
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 17px;
  padding: 8px 12px;
  border-radius: 6px;
}

/* HOVER */
nav ul li a:hover {
  background: rgba(255, 255, 255, 0);
}

/* OCULTOS POR DEFECTO */
.menu-btn,
.close-btn {
  display: none;
}

/* ================== MÓVIL ================== */
@media (max-width: 900px) {

  .header {
    justify-content: center;
  }

  /* HAMBURGUESA IZQUIERDA */
  .menu-btn {
    display: block;
    position: absolute;
    left: 15px;
    font-size: 30px;
    color: white;
    cursor: pointer;
  }

  /* LOGO CENTRADO */
  .logo img {
    width: 90px;
  }

  /* MENÚ OCULTO ARRIBA */
nav ul {
  position: fixed;
  inset: 0;
  height: 100dvh; /* IMPORTANTE */
  background: linear-gradient(45deg, #000000, #1f1e1e, #616161, #616161d0, #616161b8);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: transform 0.4s ease;
  transform: translateY(-100%);
  pointer-events: none;
  z-index: 999;
}


nav ul.show {
  transform: translateY(0);
  pointer-events: auto;
}


  /* BOTÓN CERRAR */
  .close-btn {
    display: block;
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 34px;
    color: white;
    cursor: pointer;
  }

  nav ul li a {
    font-size: 22px;
  }
}

/* ================== TELÉFONOS PEQUEÑOS ================== */
@media (max-width: 360px) {

  .menu-btn {
    font-size: 26px;
  }

  .logo img {
    width: 80px;
  }

  nav ul li a {
    font-size: 20px;
  }
}












/* --- Carrusel: base --- */
.carousel-container {
  position: relative;
  width: 100%;
  height: 75vh;               /* ocupa la mayor parte de la pantalla */
  max-height: 900px;
  overflow: hidden;
  display: block;
  background:#000;
}

.carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}

/* cada slide ocupa todo el contenedor y se apilan */
.carousel-slide {
  position: absolute;
  inset: 0 0 0 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* cubre todo el espacio, recorta si es necesario */
  display: block;
}

/* Flechas */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.35);
  color: #fff;
  border: none;
  padding: 12px 14px;
  font-size: 28px;
  line-height: 1;
  border-radius: 8px;
  cursor: pointer;
  z-index: 10;
  transition: transform .18s ease, background .18s;
}

.carousel-btn:hover { transform: translateY(-50%) scale(1.06); background: rgba(0,0,0,0.55); }

.carousel-btn.prev { left: 18px; }
.carousel-btn.next { right: 18px; }

/* Indicadores (puntos) */
.carousel-indicators {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 12;
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: transform .18s, background .18s;
}

.carousel-indicators button.active {
  background: #ffffff;
  transform: scale(1.25);
}

/* Responsive: altura menor en móviles */
@media (max-width: 900px) {
  .carousel-container { height: 55vh; }
  .carousel-btn { font-size: 24px; padding: 10px 12px; }
}

@media (max-width: 480px) {
  .carousel-container { height: 45vh; }
  .carousel-btn { font-size: 20px; padding: 8px 10px; }
  .carousel-indicators { bottom: 12px; gap: 6px; }
  .carousel-indicators button { width: 8px; height: 8px; }
}







/* ===============================
   1. ESTRUCTURA BASE
================================ */
.mvv-section {
    width: 100%;
    padding: 60px 5%;
    display: flex;
    flex-direction: column;
    gap: 70px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.mvv-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Dirección */
.mvv-normal { flex-direction: row !important; }
.mvv-reverse { flex-direction: row-reverse !important; }

/* ===============================
   2. COLUMNAS (REGRESAMOS A NORMAL)
================================ */
.mvv-text, .mvv-img {
    width: 50%;
    box-sizing: border-box;
}

.mvv-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mvv-text h2 {
    font-size: 32px;
    color: #52bec0;
    margin-bottom: 20px;
    font-weight: 700;
}

.mvv-text p {
    font-size: 17px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
}

/* ===============================
   3. VALORES (SOLO AQUÍ 🔥)
================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px; /* 🔥 menos espacio entre cuadros */

    width: 100%;
    max-width: 620px; /* 🔥 crece sin afectar layout */
    margin: 20px auto;
}

/* cajas */
.values-grid .val-box {
    aspect-ratio: 1 / 1;

    background: transparent;
    border: none;
    box-shadow: none;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0; /* 🔥 sin espacio interno */
}

/* SOLO imágenes de valores */
.values-grid .val-box img {
    width: 100%;   /* 🔥 agranda sin tocar otras imágenes */
    height: 100%;
    object-fit: contain;
    transform: scale(1.05);
}

/* ===============================
   4. IMÁGENES GRANDES (INTOCABLE)
================================ */
.mvv-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ===============================
   5. RESPONSIVE
================================ */
@media (max-width: 850px) {

    .mvv-section {
        padding: 40px 20px;
        gap: 40px;
    }

    .mvv-row,
    .mvv-normal,
    .mvv-reverse {
        flex-direction: column !important;
        text-align: center;
    }

    .mvv-text,
    .mvv-img {
        width: 100% !important;
    }

    .mvv-text p {
        text-align: center;
        font-size: 16px;
    }

    .values-grid {
        max-width: 280px;
        gap: 8px;
    }

    .values-grid .val-box img {
        width: 110%;
        height: 110%;
    }
}

















/* ===== FOOTER ===== */
.footer {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 25px 0 15px;
  font-family: 'Gotham', sans-serif;
}

/* CONTENEDOR */
.footer-contenido {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

/* COLUMNAS */
.footer-col {
  width: 260px;
  font-size: 14px;
}

/* ===== BRAND ===== */
.footer-brand img {
  width: 85px;
  margin-bottom: 10px;
  border-radius: 10%;
}

.footer-brand h3 {
  font-size: 18px;
  margin: 0;
}

.footer-brand .slogan {
  display: block;
  font-size: 13px;
  color: #00FFFF;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.4;
  color: #ccc;
}

/* TITULOS */
.footer-col h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

/* LINKS */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin: 6px 0;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #fff;
}

/* CONTACTO */
.footer-col p {
  margin: 6px 0;
  color: #ccc;
}

/* COPY */
.footer-copy {
  text-align: center;
  font-size: 13px;
  color: #aaa;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-contenido {
    justify-content: center;
    text-align: center;
  }

  .footer-col {
    width: 100%;
  }

  .footer-brand img {
    margin: auto;
  }
}



/* Responsive */
@media (max-width: 900px) {
  .footer-contenido {
    justify-content: center;
    text-align: center;
  }
  .footer-col {
    width: 80%;
  }
}





/* =========================
 REDES SOCIALES
========================= */
.social-bar {
  position: fixed;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 999;
}

/* IZQUIERDA */
.social-left {
  left: 20px;
}

/* DERECHA */
.social-right {
  right: 20px;
}

/* ICONOS */
.social-icon {
  width: 25px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;   /* ✅ totalmente transparente */
  border-radius: 0;           /* opcional: elimina forma circular */
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: none;           /* ✅ elimina halo/blanco */
}


.social-icon img {
  width: 40px;
  height: 40px;
  transition: 0.3s;
}

/* HOVER */
.social-icon:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.social-icon:hover img {
  transform: scale(1.15);
}

/* 🎵 TIKTOK – fondo blanco */
.social-icon.tiktok {
  background: transparent;
  box-shadow: none;
}

/* =========================
   WHATSAPP FLOTANTE
========================= */
.floating_btn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  width: 90px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* BOTÓN */
.contact_icon {
  background-color: #52BEC0;
  color: #fff;
  width: 60px;
  height: 60px;
  font-size: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  box-shadow: 0 0 0 0 #52BEC0;
  animation: pulsing 1.4s infinite;
  transition: transform 0.3s ease;
}

.contact_icon:hover {
  transform: scale(1.12);
}

/* TEXTO */
.text_icon {
  margin-top: 8px;
  color: #555555;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Gotham', sans-serif;
}

/* ANIMACIÓN PULSO */
@keyframes pulsing {
  0% {
    box-shadow: 0 0 0 0 #52BEC0;
  }
  70% {
    box-shadow: 0 0 0 22px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* =========================
   RESPONSIVE
========================= */

/* Tablets */
@media (max-width: 768px) {
  .floating_btn {
    bottom: 30px;
    right: 20px;
  }

  .contact_icon {
    width: 56px;
    height: 56px;
    font-size: 30px;
  }
}

/* Celulares */
@media (max-width: 480px) {
  .floating_btn {
    bottom: 25px;
    right: 15px;
  }

  .contact_icon {
    width: 52px;
    height: 52px;
    font-size: 28px;
  }

  .text_icon {
    font-size: 12px;
  }
}


/* =========================
   RESPONSIVE
========================= */

/* Tablets */
@media (max-width: 768px) {
  .social-bar {
    bottom: 30px;
    gap: 14px;
  }

  .social-left {
    left: 18px;
  }

  .social-right {
    right: 18px;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .social-icon img {
    width: 46px;
    height: 46px;
  }
}

/* Celulares */
@media (max-width: 480px) {
  .social-bar {
    bottom: 25px;
    gap: 10px;
  }

  .social-left {
    left: 12px;
  }

  .social-right {
    right: 12px;
  }

  .social-icon {
    width: 48px;
    height: 48px;
  }

  .social-icon img {
    width: 44px;
    height: 44px;
  }
}

/* Celulares pequeños */
@media (max-width: 360px) {
  .social-icon {
    width: 34px;
    height: 44px;
  }

  .social-icon img {
    width: 42px;
    height: 42px;
  }
}



/* =========================
   ECOSISTEMA 
========================= */

.ecosistema-section{
  width:100%;
  padding:100px 20px;
  background:linear-gradient(135deg,#020909,#071414);
  color:#fff;
}

/* HEADER */
.ecosistema-header{
  text-align:center;
  margin-bottom:60px;
}

.header-eyebrow{
  font-size:11px;
  letter-spacing:4px;
  color:#52BEC0;
}

.header-title{
  font-size:42px;
  font-weight:700;
}

.header-title span{
  color:#52BEC0;
}

.header-sub{
  font-size:14px;
  color:#aaa;
}

/* CONTENEDOR */
.ecosistema-container{
  max-width:1000px;
  margin:auto;
}

/* =========================
   BOTONES DE FASE 🔥
========================= */

.phase-track{
  display:flex;
  justify-content:center;
  gap:25px;
  margin-bottom:50px;
  flex-wrap:wrap;
}

/* BOTÓN */
.phase-btn{
  background:#0e1a1a;
  border:1px solid #1f3a3a;
  border-radius:16px;
  padding:18px 22px;
  min-width:110px;

  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;

  cursor:pointer;
  transition:all .3s ease;
}

/* HOVER */
.phase-btn:hover{
  transform:translateY(-6px);
  border-color:#52BEC0;
  box-shadow:0 10px 25px rgba(0,255,255,0.15);
}

/* ACTIVO */
.phase-btn.active{
  background:#52BEC0;
  color:#FFFFFF;
  box-shadow:0 10px 30px rgba(0,255,255,0.3);
}

/* =========================
   CÍRCULO (NÚMEROS)
========================= */

.phase-dot{
  width:50px;
  height:50px;
  border-radius:50%;

  background:#071414;
  border:2px solid #52BEC0;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:18px;
  font-weight:bold;
  color:#52BEC0;

  transition:all .3s ease;
}

/* ACTIVO */
.phase-btn.active .phase-dot{
  background:#000;
  color:#52BEC0;
  transform:scale(1.1);
}

/* TEXTO */
.phase-label{
  font-size:14px;
  font-weight:500;
}

/* BOTÓN REINICIO */
.return-btn{
  opacity:.6;
}

.return-btn:hover{
  opacity:1;
}

/* =========================
   PANEL
========================= */

.panel{
  background:linear-gradient(135deg,#0e1a1a,#162626);
  padding:35px;
  border-radius:18px;
  margin-bottom:30px;

  box-shadow:0 15px 40px rgba(0,0,0,0.4);
}

.panel h3{
  font-size:24px;
  margin-bottom:10px;
}

.panel-note{
  color:#ccc;
  margin-bottom:20px;
}

/* BLOQUES */
.panel-block{
  margin-top:20px;
}

.panel-block h4{
  font-size:15px;
  margin-bottom:10px;
  color:#52BEC0;
}

/* LISTA */
.panel-block ul{
  list-style:none;
  padding:0;
}

.panel-block li{
  margin-bottom:8px;
  font-size:14px;
}

/* TAGS */
.panel-tags{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.panel-tags span{
  background:#52BEC0;
  color:#000;
  padding:6px 12px;
  border-radius:20px;
  font-size:12px;
  font-weight:600;
}

/* =========================
   NAVEGACIÓN
========================= */

.nav-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.nav-btn{
  background:transparent;
  border:1px solid #52BEC0;
  color:#52BEC0;

  padding:10px 18px;
  border-radius:10px;

  cursor:pointer;
  transition:.3s;
}

.nav-btn:hover{
  background:#52BEC0;
  color:#000;
}

.step-counter{
  font-size:14px;
  color:#aaa;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:768px){

  .header-title{
    font-size:30px;
  }

  .phase-track{
    gap:15px;
  }

  .phase-btn{
    padding:12px;
    min-width:90px;
  }

  .phase-dot{
    width:40px;
    height:40px;
  }

  .panel{
    padding:25px;
  }
}