
:root {
  --white: #ffffff;
  --gray-light: #f2f2f2;
  --gray: #c7c7c7;
  --gray-dark: #8a8a8a;
  --black: #111111;
  --azul: #54ACBF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}


body {
  font-family: 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;

  padding-top: 80px; /* 🔥 IMPORTANTÍSIMO */
}

/* ============================================================
   NAV
   ============================================================ */
nav{
  position: fixed;       /* 🔥 clave para que se quede fija */
  top: 0;
  left: 0;
  width: 100%;

  background: rgb(253, 252, 252);     /* evita transparencia rara */
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;

  box-shadow: 0 5px 20px rgba(0,0,0,0.1); /* opcional pro */
  backdrop-filter: blur(10px);            /* opcional pro */
}


/* CONTENEDOR DERECHO */
.nav-right{
  display: flex;
  align-items: center;
  gap: 10px; /* espacio entre botones */
}

/* BOTÓN TEMA */
.tema-btn{
  cursor: pointer;
  font-size: 20px;
  background: none;
  border: none;
}

/* BOTÓN CERRAR */
.cerrar-btn{
  cursor: pointer;
}
.logo{
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.logo img{
  height: 45px;
  width: auto;
  object-fit: contain;
  display: block;


  transform: scale(2.5); 
  transform-origin: left center; 
}


.logo:hover{
  transform: scale(1.05);
}


.nav-menu-desktop {
  list-style: none;
  display: flex;
  gap: 22px;
  font-size: .72rem;
  letter-spacing: .6px;
}

nav a {
  text-decoration: none;
  color: var(--gray-dark);
  transition: .3s;
}

nav a:hover {
  color: var(--black);
}

nav ul li a:hover {
  animation: salto .4s ease;
}

.login {
  font-size: .72rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

nav ul li a:hover,
.login:hover {
  color: var(--azul) !important;
  border: 1.5px solid var(--azul);
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(84,172,191,.4);
  transition: .3s;

  
}

.tema-color .logo img{
  filter: brightness(0) invert(1); /* 🔥 vuelve el logo blanco */
}

.btn-tema {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 8px;
  flex-shrink: 0;
}



/* ============================================================
   HAMBURGUESA
   ============================================================ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: .3s ease;
}

.nav-toggle.activo span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.activo span:nth-child(2) { opacity: 0; }
.nav-toggle.activo span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   OVERLAY MENÚ
   ============================================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: #111;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  clip-path: circle(0% at calc(100% - 50px) 35px);
  transition: clip-path .6s cubic-bezier(.77, 0, .18, 1);
  pointer-events: none;
}

.nav-overlay.activo {
  clip-path: circle(150% at calc(100% - 50px) 35px);
  pointer-events: auto;
}

.nav-overlay__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  padding: 20px;
}

.nav-overlay__link {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  opacity: 0;
  transform: translateY(30px);
  transition: color .3s, transform .3s;
  display: block;
}

.nav-overlay.activo .nav-overlay__link {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay.activo .nav-overlay__link:nth-child(1)  { transition: opacity .4s .15s, transform .4s .15s, color .3s; }
.nav-overlay.activo .nav-overlay__link:nth-child(2)  { transition: opacity .4s .20s, transform .4s .20s, color .3s; }
.nav-overlay.activo .nav-overlay__link:nth-child(3)  { transition: opacity .4s .25s, transform .4s .25s, color .3s; }
.nav-overlay.activo .nav-overlay__link:nth-child(4)  { transition: opacity .4s .30s, transform .4s .30s, color .3s; }
.nav-overlay.activo .nav-overlay__link:nth-child(5)  { transition: opacity .4s .35s, transform .4s .35s, color .3s; }
.nav-overlay.activo .nav-overlay__link:nth-child(6)  { transition: opacity .4s .40s, transform .4s .40s, color .3s; }
.nav-overlay.activo .nav-overlay__link:nth-child(7)  { transition: opacity .4s .45s, transform .4s .45s, color .3s; }
.nav-overlay.activo .nav-overlay__link:nth-child(8)  { transition: opacity .4s .50s, transform .4s .50s, color .3s; }
.nav-overlay.activo .nav-overlay__link:nth-child(9)  { transition: opacity .4s .55s, transform .4s .55s, color .3s; }

.nav-overlay__link:hover {
  color: var(--azul);
  transform: translateX(10px);
}

.nav-overlay__login {
  font-size: 1rem !important;
  letter-spacing: 3px !important;
  color: rgba(255,255,255,.6) !important;
  border: 1px solid rgba(255,255,255,.3);
  padding: 12px 32px;
  border-radius: 30px;
  margin-top: 10px;
}

.nav-overlay__login:hover {
  color: white !important;
  border-color: var(--azul) !important;
  background: rgba(84,172,191,.15);
  transform: none !important;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #9c9c9c;
}

.cinta {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  gap: 26px;
  width: max-content;
  animation: mover 110s linear infinite;
}

.cinta img {
  width: 300px;
  height: 440px;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.15);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 2;
}

.hero-text {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  padding: 120px 100px 0;
  color: white;
}

.text-wrap {
  display: flex;
  gap: 40px;
}

.line {
  width: 3px;
  height: 180px;
  background: white;
  margin-top: 15px;
  flex-shrink: 0;
}

.content h1 {
  font-size: 7.2rem;
  letter-spacing: 7px;
  text-shadow: 0 0 25px rgba(84,172,191,.35);
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
}

.content h1::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  bottom: -22px;
  width: 65%;
  height: 14px;
  background: linear-gradient(to right, rgba(84,172,191,0.95) 0%, rgba(84,172,191,0.8) 40%, rgba(84,172,191,0.4) 70%, rgba(84,172,191,0.1) 100%);
  border-radius: 100px 40px 120px 20px;
  filter: blur(1.5px);
  box-shadow: 0 0 25px rgba(84,172,191,0.8);
}

.content h1::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  bottom: -18px;
  width: 40%;
  height: 6px;
  background: linear-gradient(to right, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.6) 40%, rgba(255,255,255,0.1) 100%);
  border-radius: 100px;
  filter: blur(1px);
  opacity: 0.8;
}

.content p {
  font-size: 1.15rem;
  color: #e0e0e0;
  max-width: 480px;
  margin-bottom: 35px;
}

.btn-principal {
  display: inline-block;
  padding: 16px 50px;
  background: transparent;
  border: 2px solid #54ACBF;
  color: white;
  font-size: .85rem;
  letter-spacing: 2px;
  text-decoration: none;
  transition: .3s ease;
  box-shadow: 0 0 8px rgba(84,172,191,.6), 0 0 18px rgba(84,172,191,.5);
}

.btn-principal:hover {
  background: white;
  color: black;
  transform: translateY(-4px);
}

/* ============================================================
   REDES SOCIALES — solo desktop
   ============================================================ */
.redes {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
}

.redes a {
  display: block;
  margin: 6px 0;
  background: #3b3b3b;
  padding: 10px;
  border-radius: 0 10px 10px 0;
  transition: 0.3s;
  text-decoration: none;
}

.redes i {
  color: white;
  font-size: 18px;
}

.redes a:hover {
  background: #00c3ff;
  transform: translateX(5px);
}

/* ============================================================
   SECCIÓN GENERAL
   ============================================================ */
.seccion {
  padding: 120px 100px;
  background: var(--white);
  border-top: 1px solid var(--gray-light);
}

.seccion h2 {
  font-size: 3rem;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

/* ============================================================
   SERVICIOS
   ============================================================ */
#servicios {
  padding: 120px 100px;
  background: #f2f2f2;
  color: #111;
}

#servicios .titulo {
  text-align: center;
  margin-bottom: 80px;
}

#servicios .titulo h2 {
  font-size: 2.8rem;
  letter-spacing: 2px;
}

.servicios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.servicio {
  background: white;
  padding: 40px 30px;
  text-align: center;
  border-radius: 14px;
  transition: .4s;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.servicio img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 18px;
}

.servicio i {
  font-size: 2.3rem;
  margin-bottom: 18px;
  color: var(--azul);
  transition: .4s;
}

.servicio h3 { margin-bottom: 10px; font-size: 1rem; letter-spacing: 1px; }
.servicio p  { font-size: .85rem; color: #666; }

.servicio:hover {
  transform: translateY(-10px);
  border: 1.5px solid var(--azul);
  box-shadow: 0 20px 45px rgba(84,172,191,.4);
}

.servicio:hover i { color: #111; }

/* ============================================================
   TESTS
   ============================================================ */
.tests-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tests-info h2 { font-size: 3rem; letter-spacing: 3px; margin-bottom: 20px; }
.tests-info p  { color: var(--gray-dark); margin-bottom: 40px; max-width: 420px; }

.tests-buttons { display: flex; flex-direction: column; gap: 18px; }

.tests-buttons button {
  padding: 18px 30px;
  background: transparent;
  border: 1.5px solid var(--black);
  font-size: .9rem;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: .4s;
}

.tests-buttons button:hover {
  background: var(--black);
  color: white;
  transform: translateY(-4px);
}

.tests-img {
  height: 420px;
  border-radius: 18px;
  overflow: hidden;
  background-image: url("img.jpg");
  background-size: cover;
}

.tests-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: 0.4s ease;
}

/* ============================================================
   TESTIMONIOS / CARRUSEL
   ============================================================ */
.testimonios-header { text-align: center; margin-bottom: 60px; }
.testimonios-header h2 { font-size: 3rem; letter-spacing: 4px; margin-bottom: 15px; }
.testimonios-header p  { color: var(--gray-dark); font-size: 1rem; }

.carousel { position: relative; max-width: 1000px; margin: auto; overflow: hidden; }
.carousel-track { display: flex; transition: transform .6s ease; }

.video-card { min-width: 100%; padding: 0 20px; }
.video-card iframe { width: 100%; height: 460px; border-radius: 18px; border: none; box-shadow: 0 20px 45px rgba(0,0,0,.15); }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.65);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: .3s;
  z-index: 10;
}

.carousel-btn:hover { background: black; transform: translateY(-50%) scale(1.1); }
.carousel-btn.left  { left: -25px; }
.carousel-btn.right { right: -25px; }

/* ============================================================
   MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: .4s;
  z-index: 999;
  overflow-y: auto;
}

.modal.activo { opacity: 1; pointer-events: auto; }

.modal-content {
  background: white;
  padding: 50px;
  width: 90%;
  max-width: 500px;
  border-radius: 16px;
  text-align: center;
}

.modal-content h3 { margin-bottom: 20px; letter-spacing: 2px; }
.modal-content p  { color: #666; margin-bottom: 30px; }
.modal-content button { padding: 12px 30px; border: none; background: var(--black); color: white; cursor: pointer; }

.modal-contenido {
  background: rgba(30,30,30,.9);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.2);
  color: white;
  padding: 40px;
  border-radius: 25px;
  width: 90%;
  max-width: 500px;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-contenido h3 { margin-bottom: 20px; letter-spacing: 2px; }
.modal-contenido ul li { margin-bottom: 10px; }

.cerrar {
  position: sticky;   /* 🔥 se queda fijo dentro del modal */
  top: 0;             /* se pega arriba */
  float: right;       /* lo manda a la derecha */
  
  font-size: 1.8rem;
  cursor: pointer;
  color: rgb(27, 179, 206);

  

}

.cerrar:hover { color: var(--azul); }

/* ============================================================
   BENEFICIOS
   ============================================================ */
.beneficios {
  background: url('../img/beneficios.jpg') center/cover fixed;
  position: relative;
  color: rgb(241, 238, 238);
}

.beneficios::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.65); backdrop-filter: grayscale(100%); }
.beneficios-overlay { position: relative; z-index: 2; padding: 100px 5%; }
.beneficios-header  { text-align: center; margin-bottom: 70px; }
.beneficios-header h2 { font-size: 3rem; letter-spacing: 4px; margin-bottom: 15px; }
.beneficios-header p  { color: #f7f0f0; }

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.beneficio-card {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(12px);
  padding: 35px 30px;
  border-radius: 22px;
  box-shadow: 0 15px 40px rgba(0,0,0,.3);
  transition: .4s;
}

.beneficio-card h3 { font-size: 1.3rem; margin-bottom: 15px; }
.beneficio-card p  { font-size: .95rem; color: #0c0c0c; line-height: 1.6; }

.beneficio-card:hover {
  transform: translateY(-10px) scale(1.03);
  background: rgba(255,255,255,.22);
  border: 1.5px solid var(--azul);
  box-shadow: 0 20px 45px rgba(84,172,191,.4);
}

/* ============================================================
   PAQUETES
   ============================================================ */
.paquetes {
  background: url('../img/paquetes.jpg') center/cover fixed;
  position: relative;
  color: white;
}

.paquetes::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.65); backdrop-filter: grayscale(100%); }
.paquetes-overlay { position: relative; z-index: 2; padding: 100px 5%; }
.paquetes-header  { text-align: center; margin-bottom: 60px; }
.paquetes-header h2 { font-size: 3rem; letter-spacing: 4px; }
.paquetes-header p  { color: #ccc; }

.paquetes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: auto;
}

.paquete-btn {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(12px);
  color: white;
  padding: 30px;
  border-radius: 25px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: .4s;
}

.paquete-btn:hover {
  transform: translateY(-8px) scale(1.05);
  background: rgba(255,255,255,.28);
  border-color: var(--azul);
  box-shadow: 0 20px 45px rgba(84,172,191,.4);
}

.btn-solicitar {
  width: 100%;
  padding: 12px;
  background: var(--azul);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 20px;
  transition: 0.3s;
}

.btn-solicitar:hover { background: #3a8fa0; }

/* ============================================================
   NOSOTROS
   ============================================================ */
.nosotros {
  background: url('../img/sobrenosotros.jpg') center/cover fixed;
  position: relative;
  color: white;
}

.nosotros::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: grayscale(100%); }
.nosotros-overlay { position: relative; z-index: 2; padding: 100px 5%; }
.nosotros-header  { text-align: center; margin-bottom: 60px; }
.nosotros-header h2 { font-size: 3rem; letter-spacing: 3px; }
.nosotros-header p  { color: #ccc; }

.nosotros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

.nosotros-card {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.3);
  padding: 40px 30px;
  border-radius: 25px;
  text-align: center;
  transition: .4s;
}

.nosotros-card h3 { font-size: 1.6rem; margin-bottom: 15px; }
.nosotros-card p  { color: #e0e0e0; line-height: 1.6; }

.nosotros-card:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,.25);
  border: 1.5px solid var(--azul);
  box-shadow: 0 20px 45px rgba(84,172,191,.4);
}

/* ============================================================
   BLOGS
   ============================================================ */
.blogs { background: #111; color: white; text-align: center; }

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

.blog-card {
  background: rgba(255,255,255,.425);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(14px);
  border-radius: 25px;
  overflow: hidden;
  cursor: pointer;
  transition: .4s;
  padding-bottom: 15px;
}

.blog-card h3 { padding: 15px; font-size: 1.2rem; }
.blog-card p  { padding: 0 15px; color: #ccc; }
.blog-card img { width: 100%; height: 240px; object-fit: cover; }
.blog-card:hover { transform: translateY(-10px); border: 1px solid var(--azul); }

/* Modal revista */
.blog-modal { max-width: 900px; width: 95%; max-height: 90vh; overflow-y: auto; }

.blog-revista  { text-align: left; color: #fff; line-height: 1.6; }
.blog-titulo   { text-align: center; font-size: 1.8rem; margin-bottom: 20px; font-weight: bold; }
.blog-categoria { font-size: .8rem; color: #aaa; margin-bottom: 10px; }
.blog-subtitulo { font-weight: bold; margin-bottom: 20px; }
.blog-intro    { text-align: center; color: #ccc; margin-bottom: 30px; font-size: 16px; }
.blog-final    { margin-top: 20px; font-style: italic; text-align: center; color: var(--azul); font-weight: bold; }

.blog-img-principal img { width: 100%; height: 250px; object-fit: cover; border-radius: 15px; margin-bottom: 20px; }

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.blog-col h3 { color: var(--azul); margin-top: 15px; font-size: 1rem; }
.blog-col p  { color: #e0e0e0; font-size: .95rem; }
.blog-col ul { padding-left: 20px; }

.blog-img img { width: 100%; border-radius: 12px; margin-top: 15px; }

.blog-frase {
  margin-top: 30px;
  padding: 20px;
  background: rgba(84,172,191,.15);
  border-left: 4px solid var(--azul);
  border-radius: 12px;
  text-align: center;
}

.blog-columnas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.blog-columnas h3 { margin-top: 15px; font-size: 1rem; color: var(--azul); }
.blog-columnas p  { font-size: .9rem; margin-bottom: 10px; }

/* Cards dentro de blog */
.contenedor-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  overflow: hidden;
  transition: .4s;
  text-align: left;
  padding-bottom: 15px;
}

.card:hover { transform: translateY(-8px); border: 1px solid var(--azul); box-shadow: 0 10px 30px rgba(84,172,191,.3); }
.card img   { width: 100%; height: 180px; object-fit: cover; }
.card h3    { font-size: 1rem; padding: 15px 15px 5px; }
.card p     { font-size: .85rem; color: #ccc; padding: 0 15px; }
.card button { margin: 15px; padding: 8px 15px; border: none; background: var(--azul); color: white; border-radius: 5px; cursor: pointer; }

.subcards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.subcard { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; overflow: hidden; transition: .3s; }
.subcard:hover { transform: translateY(-5px) scale(1.02); border: 1px solid var(--azul); }
.subcard img { width: 100%; height: 120px; object-fit: cover; }
.subcard h4  { font-size: .9rem; padding: 8px; }
.subcard p   { font-size: .8rem; padding: 0 8px 10px; }

.formula {
  background: #000;
  border: 1px solid var(--azul);
  padding: 15px;
  text-align: center;
  border-radius: 10px;
  margin-top: 15px;
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

#modal-subcard .modal-contenido { max-width: 700px; width: 90%; }

/* ============================================================
   CURSOR
   ============================================================ */
body { cursor: none; }

.cursor-azul {
  position: fixed;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: rgba(84,172,191,.45);
  border: none;
  transition: transform .08s ease, background .2s ease;
}

.cursor-azul.activo {
  transform: translate(-50%, -50%) scale(1.6);
  background: rgba(84,172,191,.65);
}

/* ============================================================
   HOVER GLOBALES
   ============================================================ */
.servicio:hover   { border: 1.5px solid var(--azul); box-shadow: 0 20px 45px rgba(84,172,191,.4); }
.beneficio-card:hover { border: 1.5px solid var(--azul); box-shadow: 0 20px 45px rgba(84,172,191,.4); }
.nosotros-card:hover  { border: 1.5px solid var(--azul); box-shadow: 0 20px 45px rgba(84,172,191,.4); }

/* ============================================================
   ANIMACIONES
   ============================================================ */
@keyframes mover {
  from { transform: translateX(0) translateY(-50%); }
  to   { transform: translateX(-50%) translateY(-50%); }
}

@keyframes salto {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* ============================================================
   TEMA COLOR
   ============================================================ */
body.tema-color {
  background: #0c0c0c;
  color: #2a3b47;
  --white: #768daf;
  --gray-light: #fcf0f0;
  --gray: #f3dfcf;
  --gray-dark: #f1ecec;
  --black: #23445f;
  --azul: #23445f;
}


body.tema-color nav { background: rgba(19, 67, 99, 0.616); backdrop-filter: blur(10px); } 
body.tema-color nav a { color: #fdfcfc; }
body.tema-color nav a:hover { color: #eef1f1; }
body.tema-color .logo { border-color: #f7f2f2; color: #eff2f3; }
body.tema-color .logo:hover { background: #f7f2f2; color: white; }
body.tema-color .overlay { background: rgba(98, 104, 109, 0.192); }
body.tema-color .hero-text { color: #1b1b1b; }
body.tema-color .cinta img { filter: brightness(1) saturate(1.05); }
body.tema-color .content h1 { color: #142b4e; text-shadow: 0 0 5px rgba(253, 253, 255, 0.945), 0 0 10px rgba(19, 67, 99, 0.616); }
body.tema-color section { background: #ffffff; }
body.tema-color #servicios { background: #bec8d3; }
body.tema-color #tests { background: #ffffff; }
body.tema-color #testimonios { background: #bec8d3; }
body.tema-color #beneficios { background: #feffff; }
body.tema-color #paquetes { background: #a8bace ; } 
body.tema-color #blogs { background: #ffffff; }
body.tema-color #nosotros { background: #a8bace; }

body.tema-color .servicio,
body.tema-color .blog-card,
body.tema-color .card,
body.tema-color .nosotros-card,
body.tema-color .beneficio-card,
body.tema-color .paquete-btn {
  border: 1.5px solid #5864cf;
  border-radius: 18px;
  background: #fdfdfd;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  transition: .4s;
}

body.tema-color .servicio:hover,
body.tema-color .blog-card:hover,
body.tema-color .card:hover,
body.tema-color .nosotros-card:hover,
body.tema-color .beneficio-card:hover,
body.tema-color .paquete-btn:hover {
  border: 1.5px solid #0b537c;
  box-shadow: 0 15px 35px rgba(33, 171, 226, 0.87);
  transform: translateY(-8px) scale(1.02);
}

body.tema-color .servicios::before,
body.tema-color .testimonios::before,
body.tema-color .paquetes::before,
body.tema-color .nosotros::before { background: #bec8d3; } 
body.tema-color .beneficios::before { background: #ffffff; } 

body.tema-color .blogs { background: #eef7ff; color: #141414; }
body.tema-color .blog-card { background: #a8bace; border: 1px solid #174e5c; }
body.tema-color .blog-card p { color: #161616; }
body.tema-color .blog-revista { color: #2a3b47; }
body.tema-color .blog-columnas h3 { color: #2c7da0; }
body.tema-color .formula { background: #fff9f4; border: 1px solid #7cc6e6; color: #2c7da0; }
body.tema-color .modal { background: rgba(10, 143, 231, 0.397); }
body.tema-color .modal-contenido { background: white; color: #2a3b47; }
body.tema-color h2, body.tema-color h3 { color: #1f2d3d; }
body.tema-color .redes a { background: #2c7da0; }
body.tema-color .redes a:hover { background: #94cdf3; }
body.tema-color .cursor-azul { background: rgba(94,203,255,.5); }
body.tema-color .cursor-azul.activo { background: rgba(94,203,255,.8); }

body.tema-color .btn-principal {
  background: #2c7da0;
  color: #ffffff;
  border: none;
  border-radius: 25px;
  padding: 12px 25px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgb(122, 198, 243);
}

body.tema-color .btn-principal:hover { background: #2c7da0; transform: scale(1.05); }
body.tema-color .paquete-btn { background: #2c7da0; color: white; border: none; }

body,
nav,
.seccion,
.card,
.blog-card,
.servicio,
.paquete-btn {
  transition: background .5s ease, color .5s ease;
}

body.tema-color .tests-img img {
  filter: grayscale(0%);
}


/* ============================================================
   RESPONSIVO — DESKTOP (solo nav)
   ============================================================ */
@media (min-width: 969px) {
  .nav-toggle  { display: none !important; }
  .nav-overlay { display: none !important; }
  .nav-menu-desktop { display: flex; }
}

/* ============================================================
   RESPONSIVO — TABLET Y MÓVIL
   ============================================================ */
@media (max-width: 968px) {

  /* NAV */
  nav {
    padding: 12px 20px;
  }

  .nav-menu-desktop { display: none; }
  nav > .login      { display: none; }
  .nav-toggle       { display: flex; }

  /* Redes laterales — ocultar */
  .redes { display: none; }

  /* Hero */
  .hero-text { padding: 90px 30px 40px; align-items: flex-end; }
  .text-wrap { gap: 20px; }
  .line      { height: 120px; }
  .content h1 { font-size: 3.5rem; letter-spacing: 3px; }
  .cinta img  { width: 220px; height: 320px; }

  /* Servicios */
  #servicios { padding: 80px 20px; }
  .servicios { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }

  /* Tests */
  .seccion { padding: 80px 24px; }
  .tests-container { grid-template-columns: 1fr; gap: 30px; }
  .tests-img { height: 260px; }

  /* Carrusel */
  .carousel-btn.left  { left: 0; }
  .carousel-btn.right { right: 0; }
  .video-card iframe  { height: 280px; }

  /* Secciones con fondo fijo */
  .beneficios,
  .paquetes,
  .nosotros {
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
  }

  .beneficios-overlay,
  .paquetes-overlay,
  .nosotros-overlay { padding: 60px 20px; }

  .beneficios-grid   { grid-template-columns: 1fr; }
  .nosotros-grid     { grid-template-columns: 1fr; gap: 20px; }
  .paquetes-grid     { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* Blogs */
  .blogs-grid        { grid-template-columns: 1fr; gap: 24px; padding: 0 16px; }
  .blog-card img     { height: 180px; }
  .blog-grid         { grid-template-columns: 1fr; }
  .blog-columnas     { grid-template-columns: 1fr; }
  .contenedor-cards  { grid-template-columns: 1fr; padding: 0 16px; }
  .subcards          { grid-template-columns: 1fr 1fr; }

  /* Modal */
  .modal-contenido   { padding: 24px 16px; }
  .blog-modal        { width: 95%; }

  /* Overlay links */
  .nav-overlay__link { font-size: 1.5rem; letter-spacing: 2px; }
  .nav-overlay__content { gap: 20px; }
}

@media (max-width: 480px) {

  /* Hero */
  .hero-text { padding: 70px 16px 40px; align-items: center; }
  .line { display: none; }
  .content h1 { font-size: 2.6rem; letter-spacing: 2px; }
  .content h1::after, .content h1::before { display: none; }
  .cinta img { width: 160px; height: 260px; }
  .btn-principal { padding: 12px 28px; font-size: .78rem; }

  /* Servicios */
  .servicios { grid-template-columns: 1fr 1fr; gap: 14px; }
  .servicio  { padding: 24px 14px; }

  /* Secciones */
  .seccion { padding: 60px 16px; }
  .beneficios-header h2,
  .paquetes-header h2,
  .nosotros-header h2 { font-size: 1.8rem; letter-spacing: 2px; }

  .paquetes-grid { grid-template-columns: 1fr; }
  .paquete-btn   { padding: 20px; font-size: 1rem; }
  .beneficio-card { padding: 24px 16px; }
  .nosotros-card  { padding: 28px 16px; }

  /* Blogs */
  .blogs-grid    { grid-template-columns: 1fr; padding: 0 12px; }
  .subcards      { grid-template-columns: 1fr; }
  .subcard img   { height: 100px; }
  .blog-titulo   { font-size: 1.2rem; }
  .formula       { font-size: 1rem; padding: 12px; }

  /* Modal */
  .modal-contenido { padding: 20px 14px; border-radius: 16px; }
  .cerrar { font-size: 1.5rem; top: 10px; right: 14px; }
  .btn-solicitar { font-size: 14px; padding: 10px; }

  /* Overlay */
  .nav-overlay__link    { font-size: 1.2rem; letter-spacing: 1.5px; }
  .nav-overlay__content { gap: 16px; }
}

body.tema-color .hero-text h1 {
  font-family: Arial, sans-serif; 
}

body.tema-color .hero-text p {
  color: #727475 !important;
  font-family: 'Pacifico', cursive;
}

body.tema-color p {
  color: #0a0a0a !important;
}

body.tema-color .paquete p,
body.tema-color .nosotros p {
  color: #2a3b47 !important;
}

.video-card{
  display:flex;
  justify-content:center;
  align-items:center;
}

.video-card video{
  width:100%;
  max-width:800px; /* 👈 más grande */
  height:auto;
  border-radius:15px;
}

body.tema-color .tests-img img {
  filter: grayscale(0%) !important;
}

.tests-img img {
  filter: grayscale(100%) !important;
}