/* ================= VARIABLES ================= */
:root {
  --azul: #0a1f44;
  --azul2: #1e3c72;
  --dorado: #d4af37;
  --blanco: #ffffff;
  --gris: #f5f5f5;

  --radius: 12px;
  --shadow: 0 10px 25px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
}

/* ================= RESET ================= */
* {
  margin: 0;f
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

/* ================= CONTAINER ================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ================= HEADER ================= */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header.hide {
  transform: translateY(-100%);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

/* ================= LOGO ================= */
.logo img {
  height: 45px;
}

/* ================= MENU ================= */
.menu {
  display: flex;
  gap: 25px;
  list-style: none;
}

.menu li a {
  text-decoration: none;
  color: var(--blanco);
  font-weight: 500;
  transition: var(--transition);
}

.menu li a:hover {
  color: var(--dorado);
}

/* ================= SUBMENU ================= */
.submenu {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--azul);
  display: none;
  list-style: none;
  padding: 10px;
  border-radius: var(--radius);
}

.submenu.active .dropdown {
  display: block;
}

/* ================= HAMBURGUESA ================= */
.menu-icon {
  display: none;
  cursor: pointer;
}

.menu-icon span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  margin: 5px 0;
}

/* ================= HERO ================= */
section[class*="hero"] {
  height: auto;
  min-height: auto;
  padding: 0;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ================= CARDS ================= */
.card, .service-card, .beneficio, .job-card {
  background: white;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover,
.service-card:hover,
.beneficio:hover {
  transform: translateY(-8px);
}

/* ================= GRID ================= */
.cards, .services-grid, .beneficios-grid, .cards-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ================= BOTONES ================= */
.btn-principal, .btn-whatsapp {
  display: inline-block;
  background: var(--dorado);
  color: black;
  padding: 12px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
}

.btn-principal:hover,
.btn-whatsapp:hover {
  background: #b8962e;
}


/* ===== TIMELINE PRO ===== */

.timeline {
  position: relative;
  margin: 60px 0;
  padding-left: 30px;
}

/* línea vertical */
.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--dorado);
}

/* cada paso */
.step {
  position: relative;
  margin-bottom: 40px;
  padding-left: 60px;
}

/* circulo */
.step span {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--azul);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* texto */
.step p {
  margin-top: 5px;
  color: #555;
}

/* hover pro */
.step:hover span {
  background: var(--dorado);
  color: black;
}

/* ================= FOOTER ================= */
.footer {
  background: var(--azul);
  color: white;
  padding: 40px 20px;
}

.footer-container {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
}

.copy {
  text-align: center;
  margin-top: 20px;
}

/* ================= ANIMACIONES ================= */
.anim-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s;
}

.anim-show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

  section {
    padding: 30px 0; /* 👈 menos espacio en móvil */
  }

  section[class*="hero"] {
  height: auto;
  min-height: auto;
  padding: 0;
}

  .menu {
    display: none;
    flex-direction: column;
    background: var(--azul);
    position: absolute;
    top: 60px;
    width: 100%;
    left: 0;
  }

  .menu-icon {
    display: block;
  }

  .timeline {
    flex-direction: column;
    gap: 20px;
  }

  .overlay {
  display: none;
}



/* ===== FIX SUBMENU MOBILE ===== */

.dropdown {
  position: static;
  background: #102a5c;
  border-radius: 0;
  padding-left: 15px;
  width: 100%;
}

.dropdown li {
  padding: 8px 0;
}

.dropdown li a {
  font-size: 14px;
  color: #ddd;
}

/* separacion visual */
.submenu.active {
  padding-bottom: 10px;
}

}

/* ===== FIX HEADER ===== */
body {
  padding-top: 60px;
}

/* Ocultar checkbox */
#menu-toggle {
  display: none;
}

/* Header siempre visible */
.header {
  background: #0a1f44;
}

/* Espaciado básico */
section {
  padding: 50px 0;
}



/* ================= TARJETAS EQUIPO PRO ================= */

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.equipo-card {
  perspective: 1000px;
  cursor: pointer;
}

.equipo-card-inner {
  position: relative;
  width: 100%;
  height: 380px;
  transition: transform 0.7s;
  transform-style: preserve-3d;
}

.equipo-card.flip .equipo-card-inner {
  transform: rotateY(180deg);
}

/* CARAS */
.equipo-card-front,
.equipo-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  backface-visibility: hidden;
  overflow: hidden; /* 🔥 CLAVE */
}

/* FRENTE (IMAGEN COMPLETA) */
.equipo-card-front {
  background-size: cover;      /* 🔥 LLENA TODO */
  background-position: center; /* 🔥 CENTRADA */
  background-repeat: no-repeat;
}

/* ATRÁS */
.equipo-card-back {
  background: white;
  transform: rotateY(180deg);
  padding: 20px;
  box-shadow: var(--shadow);

  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

/* ===== INTRO HOME PRO ===== */
.intro-home {
  text-align: center;
  max-width: 800px;
  margin: 60px auto;
}

.intro-home h1 {
  font-size: 36px;
  color: var(--azul);
  margin-bottom: 15px;
}

.intro-home p {
  font-size: 18px;
  margin-bottom: 25px;
  color: #555;
}

.intro-home .buttons {
  justify-content: center;
}

/* ===== PORQUE PRO ===== */
.porque {
  background: var(--gris);
  text-align: center;
}

.porque h2 {
  font-size: 32px;
  color: var(--azul);
  margin-bottom: 40px;
}

.porque-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.porque-card {
  background: white;
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.porque-card i {
  font-size: 35px;
  color: var(--dorado);
  margin-bottom: 15px;
}

.porque-card h3 {
  margin-bottom: 10px;
  color: var(--azul);
}

.porque-card p {
  font-size: 15px;
  color: #555;
}

.porque-card:hover {
  transform: translateY(-10px);
}

/* ===== STATS PRO ===== */
.stats {
  background: var(--azul);
  color: white;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stat h3 {
  font-size: 40px;
  color: var(--dorado);
}

.stat p {
  font-size: 16px;
  opacity: 0.9;
}

/* ===== CHAT PRO ===== */

.chat-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 280px;
  font-size: 14px;
  z-index: 999;
}

/* CABECERA */
.chat-header {
  background: linear-gradient(135deg, var(--azul), var(--azul2));
  color: white;
  padding: 12px;
  border-radius: 15px 15px 0 0;
  cursor: pointer;
  font-weight: bold;
  box-shadow: var(--shadow);
}

/* CUERPO */
.chat-body {
  display: none;
  background: white;
  border-radius: 0 0 15px 15px;
  padding: 15px;
  box-shadow: var(--shadow);
  animation: fadeIn 0.3s ease;
  max-height: 300px;
  overflow-y: auto;
}

/* MENSAJES */
.bot-message {
  background: #f1f1f1;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 10px;
  max-width: 85%;
}

/* MENSAJE USUARIO */
.user-message {
  background: var(--dorado);
  color: black;
  align-self: flex-end;
}

/* BOTONES */
.chat-body button {
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: var(--azul);
  color: white;
  cursor: pointer;
  transition: var(--transition);
}

.chat-body button:hover {
  background: var(--dorado);
  color: black;
}

/* ANIMACIÓN */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}

/* BOTÓN CHAT PRO */
.btn-chat {
  display: inline-block;
  background: var(--dorado);
  color: black;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
}

.btn-chat:hover {
  background: #b8962e;
}

/* ===== SERVICIOS PRO ===== */

.intro {
  text-align: center;
  max-width: 800px;
  margin: 60px auto;
}

.intro p {
  font-size: 18px;
  color: #555;
  margin-bottom: 15px;
}

/* TITULOS */
.services h2,
.valor h2,
.extra-servicios h2 {
  text-align: center;
  font-size: 32px;
  color: var(--azul);
  margin-bottom: 40px;
}

/* CARDS SERVICIOS */
.service-card {
  border-left: 5px solid var(--dorado);
  transition: var(--transition);
}

.service-card h3 {
  margin-bottom: 10px;
  color: var(--azul);
}

.service-card p {
  color: #555;
  font-size: 15px;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
}

/* VALOR */
.valor {
  background: linear-gradient(135deg, var(--azul), var(--azul2));
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.valor h2 {
  color: var(--dorado);
}

.valor p {
  max-width: 700px;
  margin: 10px auto;
  opacity: 0.9;
}

/* DIFERENCIADORES */
.grid-diferenciadores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 30px;
  margin-top: 40px;
}

.grid-diferenciadores div {
  background: white;
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.grid-diferenciadores div:hover {
  transform: translateY(-10px);
}

/* SERVICIOS EXTRA */
.extra-servicios {
  background: var(--gris);
  text-align: center;
}

.extra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
  gap: 20px;
  margin-top: 30px;
}

.extra-card {
  background: white;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 500;
  transition: var(--transition);
}

.extra-card:hover {
  background: var(--azul);
  color: white;
}

/* ===== NOSOTROS PRO ===== */

.titulo-nosotros {
  text-align: center;
  font-size: 32px;
  color: var(--azul);
  margin-bottom: 20px;
}

.descripcion {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: #555;
}

/* BLOQUE LEGAL */
.legal {
  background: var(--gris);
  padding: 25px;
  border-left: 5px solid var(--dorado);
  border-radius: var(--radius);
  margin-bottom: 40px;
}

/* MISION Y VISION */
.mission-vision {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 30px;
  margin-top: 30px;
}

.card-mv {
  background: white;
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card-mv:hover {
  transform: translateY(-10px);
}

.card-mv h2 {
  color: var(--azul);
  margin-bottom: 10px;
}

/* VALORES */
.valores {
  background: var(--gris);
  text-align: center;
}

.valores h2 {
  font-size: 32px;
  color: var(--azul);
  margin-bottom: 40px;
}

.valores .card {
  text-align: center;
}

.valores .card h3 {
  color: var(--azul);
  margin-bottom: 10px;
}

/* HISTORIA */
.historia {
  text-align: center;
  max-width: 800px;
  margin: 60px auto;
}

.historia h2 {
  color: var(--azul);
  margin-bottom: 15px;
}


/* ===== CONTACTO PRO ===== */

.contacto {
  margin-top: 40px;
}

.grid-contacto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* INFO IZQUIERDA */
.contact-info {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.titulo-contacto {
  color: var(--azul);
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.info-item i {
  font-size: 22px;
  color: var(--dorado);
  margin-top: 5px;
}

.info-item h3 {
  margin-bottom: 5px;
  color: var(--azul);
}

.info-item a {
  text-decoration: none;
  color: #333;
  transition: var(--transition);
}

.info-item a:hover {
  color: var(--dorado);
}

/* CTA DERECHA */
.contact-cta {
  background: linear-gradient(135deg, var(--azul), var(--azul2));
  color: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-cta h2 {
  margin-bottom: 15px;
}

.contact-cta p {
  margin-bottom: 20px;
}

/* BOTÓN WHATSAPP PRO */
.btn-whatsapp {
  display: inline-block;
  background: #25D366;
  color: white;
  padding: 14px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: scale(1.05);
}

.extra {
  margin-top: 15px;
  font-size: 14px;
  opacity: 0.9;
}

/* MAPA */
.mapa {
  margin-top: 50px;
  text-align: center;
}

.mapa h2 {
  color: var(--azul);
  margin-bottom: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .grid-contacto {
    grid-template-columns: 1fr;
  }

  .contact-cta {
    text-align: center;
  }

}
.contact-info:hover,
.contact-cta:hover {
  transform: translateY(-5px);
}

/* ===== TRABAJA CON NOSOTROS PRO ===== */

.trabajo-intro {
  text-align: center;
  max-width: 800px;
  margin: 60px auto;
}

.trabajo-intro h1 {
  font-size: 32px;
  color: var(--azul);
  margin-bottom: 15px;
}

.trabajo-intro p {
  font-size: 18px;
  color: #555;
}

/* GRID DE VACANTES */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

/* TARJETA DE EMPLEO */
.job-card {
  border-left: 5px solid var(--dorado);
  position: relative;
}

.job-card h3 {
  color: var(--azul);
  margin-bottom: 10px;
}

.job-card p {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
}

/* BOTÓN POSTULARSE */
.btn-postular {
  display: inline-block;
  background: var(--azul);
  color: white;
  padding: 10px 15px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
}

.btn-postular:hover {
  background: var(--dorado);
  color: black;
}

/* BLOQUE REQUISITOS */
.requisitos {
  background: var(--gris);
  padding: 40px 20px;
  margin-top: 60px;
  text-align: center;
}

.requisitos h2 {
  color: var(--azul);
  margin-bottom: 20px;
}

.requisitos ul {
  list-style: none;
  max-width: 600px;
  margin: auto;
}

.requisitos li {
  margin-bottom: 10px;
  font-size: 16px;
}

/* CTA FINAL */
.trabajo-cta {
  text-align: center;
  margin: 60px auto;
}

.trabajo-cta h2 {
  color: var(--azul);
  margin-bottom: 15px;
}

.trabajo-cta a {
  margin-top: 15px;
}

/* ===== METODOLOGIA PRO ===== */

/* INTRO */
.metodologia-intro {
  text-align: center;
  max-width: 900px;
  margin: 60px auto;
}

.metodologia-intro h1 {
  font-size: 36px;
  color: var(--azul);
  margin-bottom: 15px;
}

.metodologia-intro p {
  font-size: 18px;
  color: #555;
  margin-bottom: 10px;
}

/* GRID TARJETAS */
.metodologia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 30px;
  padding: 0 5%;
  margin-top: 40px;
}

/* TARJETAS */
.met-card {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border-top: 4px solid var(--dorado);
}

.met-card i {
  font-size: 40px;
  color: var(--dorado);
  margin-bottom: 15px;
}

.met-card h3 {
  color: var(--azul);
  margin-bottom: 10px;
}

.met-card p {
  color: #555;
  font-size: 15px;
}

.met-card:hover {
  transform: translateY(-10px) scale(1.03);
}

/* TEXTO */
.metodologia-texto {
  text-align: center;
  max-width: 800px;
  margin: 60px auto;
}

.metodologia-texto p {
  font-size: 18px;
  color: #555;
  margin-bottom: 10px;
}

.highlight {
  color: var(--azul);
  font-weight: bold;
  font-size: 20px;
}

/* TRINOMIO */
.trinomio {
  background: linear-gradient(135deg, var(--azul), var(--azul2));
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.trinomio h2 {
  color: var(--dorado);
  margin-bottom: 40px;
}

.trinomio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 20px;
}

/* CARDS TRINOMIO */
.tri-card {
  background: rgba(255,255,255,0.1);
  padding: 25px;
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: bold;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.tri-card:hover {
  background: var(--dorado);
  color: black;
  transform: translateY(-10px);
}

/* HEADER CLICKABLE */
.tri-header {
  cursor: pointer;
  font-size: 18px;
}

/* CONTENIDO OCULTO */
.tri-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  text-align: left;
  margin-top: 15px;
  font-size: 14px;
}

/* ACTIVO */
.tri-card.active .tri-content {
  max-height: 500px;
}

/* MEJOR ESPACIADO */
.tri-content h4 {
  margin-top: 10px;
  color: var(--dorado);
}

.tri-content ul {
  padding-left: 20px;
}

/* ===== POR QUÉ GTRI PRO ===== */

/* INTRO */
.intro-asociarse {
  margin-top: 60px;
}

.intro-box {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: auto;
  text-align: center;
  border-top: 4px solid var(--dorado);
}

.intro-box p {
  font-size: 18px;
  color: #444;
}

.intro-box strong {
  color: var(--azul);
}

/* TITULOS MÁS PRO */
.diferencial h2,
.equipo h2,
.beneficios-asociarse h2,
.compromiso h2,
.cta-asociarse h2 {
  font-size: 32px;
  color: var(--azul);
  text-align: center;
  margin-bottom: 40px;
}

/* ===== DIFERENCIAL ===== */
.diferencial {
  background: var(--gris);
  padding: 60px 20px;
}

.diferencial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 25px;
}

.dif-card {
  background: white;
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}

.dif-card i {
  font-size: 30px;
  color: var(--dorado);
  margin-bottom: 10px;
}

.dif-card:hover {
  transform: translateY(-10px);
  border-bottom: 4px solid var(--dorado);
}

/* ===== EQUIPO (MEJORA SUTIL, NO ROMPE) ===== */
.equipo h2 {
  margin-bottom: 30px;
}

.equipo-card {
  transition: transform 0.3s ease;
}

.equipo-card:hover {
  transform: scale(1.03);
}

/* ===== BENEFICIOS ===== */
.beneficios-asociarse {
  background: var(--gris);
  padding: 60px 20px;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 20px;
  margin-top: 30px;
}

.beneficio-card {
  background: white;
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.beneficio-card i {
  font-size: 25px;
  color: var(--dorado);
  margin-bottom: 10px;
}

.beneficio-card:hover {
  transform: translateY(-8px);
  background: var(--azul);
  color: white;
}

/* ===== COMPROMISO ===== */
.compromiso {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--azul), var(--azul2));
  color: white;
  text-align: center;
}

.compromiso-box {
  max-width: 700px;
  margin: auto;
}

.compromiso p {
  opacity: 0.9;
  margin-top: 10px;
}

/* ===== CTA FINAL ===== */
.cta-asociarse {
  text-align: center;
  padding: 60px 20px;
}

.cta-asociarse p {
  margin-bottom: 20px;
  color: #555;
}

.cta-asociarse .btn-whatsapp {
  font-size: 16px;
  padding: 14px 25px;
}

/* ===== HERO PRO RESPONSIVE ===== */


