/* fondo */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;  
  background: linear-gradient(135deg, #ffffff, #ffffff);
  overflow-x: hidden;
  overflow-y: auto;
  font-family: 'Gotham', sans-serif;
}





/* ===== 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;
  }
}




/* VIDEO */
.hero-video {
  width: 100%;
  height: 75vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);

}

/* VIDEO ELEMENT */
.hero-video video {
  width: 100%;
  max-width: 1200px;   /* 🔥 evita zoom exagerado */
  height: 100%;
  object-fit: contain; /* ✅ NO recorta el video */
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}



/*titulo*/
.hero-text {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 50px 0 70px;
}

.split-text-container {
  display: flex;
  font-size: 4.5rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #000;
  overflow: hidden;
  gap: 20px;
}

.text-part {
  display: inline-block;
  animation-duration: 1.8s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

.text-part.left {
  transform: translateX(-200%);
  animation-name: slide-in-left;
}

.text-part.right {
  transform: translateX(200%);
  animation-name: slide-in-right;
}
@keyframes slide-in-left {
  to { transform: translateX(0); }
}

@keyframes slide-in-right {
  to { transform: translateX(0); }
}


@media (max-width: 768px) {
  .hero-video {
    height: 60vh;
  }

  .hero-video video {
    width: 95%;
  }

  .split-text-container {
    font-size: 2.8rem;
    flex-direction: column;
    text-align: center;
  }
}




/* MARCO */
.marco {
  aspect-ratio: 3 / 2;
  border: 4px solid;
  background-color: #fff;
  position: relative;
  transition: 0.15s ease;
  cursor: pointer;
  padding: 5% 5% 15% 5%;
  
}

.marco::before,
.marco::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 4px solid;
  background-color: #fff;
  z-index: -1;
  transition: 0.15s ease;
}

.marco::before {
  transform: translateY(-2%) rotate(-6deg);
}

.marco::after {
  transform: translateY(2%) rotate(6deg);
}

/* IMAGEN */
.image {
  width: 100%;
  height: 100%;
  border: 4px solid;
  background-color: #eee;
  aspect-ratio: 1 / 1;
}

/* WARNING */
.browser-warning {
  margin-bottom: 4rem;
}

@supports (aspect-ratio: 1 / 1) {
  .browser-warning {
    display: none;
  }
}

@media (max-width: 768px) {
  .stack-container {
    flex-direction: column;
    align-items: center;
  }

  .stack {
    width: 90%;
    max-width: 320px;
  }
}




/* TARJETA BRUTALISTA */
.brutalist-card {
  width: 320px;
  border: 2px solid #52bec0b7;
  background-color: #fff;
  padding: 1.5rem;
  box-shadow: 2x 1px 0 #52bec0b7;
  font-family: 'Gotham', sans-serif;
}

.brutalist-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #52bec0b7;
  padding-bottom: 1rem;
}

.brutalist-card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #52bec0b7;
  padding: 0.5rem;
}

.brutalist-card__icon svg {
  height: 1.5rem;
  width: 1.5rem;
  fill: #fff;
}

.brutalist-card__alert {
  font-weight: 900;
  color: #000;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.brutalist-card__message {
  margin-top: 1rem;
  color: #000;
  font-size: 0.9rem;
  line-height: 1.4;
  border-bottom: 2px solid #52bec0b7;
  padding-bottom: 1rem;
  font-weight: 600;
}

.brutalist-card__actions {
  margin-top: 1rem;
}

.brutalist-card__button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  border: 3px solid #52bec0b7;
  background-color: #fff;
  color: #000;
  position: relative;
  transition: all 0.2s ease;
  box-shadow: 5px 5px 0 #52bec0b7;
  overflow: hidden;
  text-decoration: none;
  margin-bottom: 1rem;
}

.brutalist-card__button--read {
  background-color: #000;
  color: #fff;
}

.brutalist-card__button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: all 0.6s;
}

.brutalist-card__button:hover::before {
  left: 100%;
}

.brutalist-card__button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 #000;
}

.brutalist-card__button--mark:hover {
  background-color: #52BEC0;
  border-color: #52BEC0;
  color: #fff;
  box-shadow: 7px 7px 0 #000000;
}

.brutalist-card__button:active {
  transform: translate(5px, 5px);
  box-shadow: none;
}
.brutalist-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .brutalist-grid {
    flex-direction: column;
    align-items: center;
  }
}











/*contenido*/
.card {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  line-height: 1.6;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);

  
}


.content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 36px;
  border-radius: 22px;
  color: #ffffff;
  overflow: hidden;
  background: #52BEC0;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
  
}

.content::before {
  position: absolute;
  content: "";
  top: -4%;
  left: 50%;
  width: 90%;
  height: 90%;
  transform: translate(-50%);
  background: #ced8ff;
  z-index: -1;
  transform-origin: bottom;


  border-radius: inherit;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.content::after {
  position: absolute;
  content: "";
  top: -8%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%);
  background: #e7ecff;
  z-index: -2;
  transform-origin: bottom;
  border-radius: inherit;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);

}

.content svg {
  width: 48px;
  height: 48px;
}

.content .para {
  z-index: 1;
  opacity: 1;
  font-size: 18px;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.content .link {
  z-index: 1;
  color: #fea000;
  text-decoration: none;
  font-family: inherit;
  font-size: 16px;
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.content .link:hover {
  text-decoration: underline;
}

.card:hover {
  transform: translate(0px, -16px);
}

.card:hover .content::before {
  rotate: -8deg;
  top: 0;
  width: 100%;
  height: 100%;
}

.card:hover .content::after {
  rotate: 8deg;
  top: 0;
  width: 100%;
  height: 100%;
}
/* ===== SECCIÓN ÉXITOS ===== */
.exitos-section {
  width: 100%;
  max-width: 1200px;
  margin: 100px auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 0 20px;
}

/* FILA */
.exito-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}



/* INVERTIR ORDEN */
.exito-row.reverse {
  flex-direction: row-reverse;
}


.video-box {
  width: 100%;
  max-width: 4480px;   /* ligeramente menor que la card */
  height: 240px; 
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;

}





/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .exito-row,
  .exito-row.reverse {
    flex-direction: column;
  }

  .video-box,
  .exito-row .card {
    width: 100%;
  }

  .video-box video {
    height: 220px;
  }
}







/* =========================
 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;
  }
}










/* ===== 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;
  }
}
