/* RESET AJUSTADO */
* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: #e5e7eb;
  background: #0f172a;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.header {
  background: #020617;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  user-select: none;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: relative;
}

/* LOGO */
.logo {
  width: 140px;
  height: auto;
  user-select: none;
}

.logo img {
  pointer-events: none;
}

/* BOTON */
.btn-nav {
  background: #2e8b57;
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
}
/* HERO */
.hero {
  background: url("paisaje.jpg") center/cover no-repeat;
  min-height: 100vh; /* 🔥 ocupa toda la pantalla */
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.hero-overlay {
  position: absolute; /* 🔥 clave */
  inset: 0; /* 🔥 cubre todo */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  margin-bottom: 20px;
  color: #fff;

  /* efecto de sombra del texto */
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);

  /* fondo degradado suave */
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));

  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
}

.hero p {
  margin-bottom: 25px;
  color: #fff;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);

  background: rgba(0, 0, 0, 0.5); /* fondo negro suave */
  display: inline-block;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 20px;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* IMPORTANCIA */
.importancia {
  background: #111827;
  padding: 80px 0;
  text-align: center;
}

.importancia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  margin-top: 40px;
}

.importancia-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.importancia-img img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

/* PASOS */
.pasos {
  background: #111827;
  padding: 80px 0;
  text-align: center;
}

.pasos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: #1f2937;
  color: #e5e7eb;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
}
/* CONFERENCIAS */
.conferencias {
  background: #0f172a;
  padding: 80px 0;
  text-align: center;
}
.conferencias-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.conferencias h2 {
  font-size: 40px;
  margin-bottom: 40px;
  font-family: "Playfair Display", serif;
}

.conf-card {
  height: 200px;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
}

.conf1 {
  background-image: url("https://images.unsplash.com/photo-1551836022-d5d88e9218df");
}

.conf2 {
  background-image: url("https://images.unsplash.com/photo-1529333166437-7750a6dd5a70");
}

/* TESTIMONIOS */
.testimonios {
  background: #111827;
  padding: 80px 0;
  text-align: center;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.testimonio img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
}

/* FOOTER */
/* FOOTER BASE */
.footer {
  background: #000;
  color: #d1d5db;
  position: relative;
}

/* CINTA SUPERIOR */
.footer-ribbon {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.footer-ribbon span {
  background: #3aa0d8;
  color: white;
  padding: 10px 25px;
  font-size: 14px;
  border-radius: 4px;
}

/* GRID */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  padding: 80px 0 60px;
}

/* COLUMNAS */
.footer-col h4 {
  color: white;
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
}

/* PARTE INFERIOR */
.footer-bottom {
  background: #0a0a0a;
  padding: 20px 0;
  border-top: 1px solid #111;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  text-decoration: none;
  color: #d1d5db;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #2e8b57;
}
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-ribbon {
    position: static;
    text-align: center;
    margin-bottom: 20px;
  }
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .importancia-grid,
  .pasos-grid,
  .conferencias-grid,
  .testimonios-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .importancia-grid,
  .pasos-grid,
  .conferencias-grid,
  .testimonios-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  }
}

@media (max-width: 768px) {
  .conferencias h2 {
    font-size: 34px;
  }
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: #2e8b57;
}

/* HERO CONTENT AJUSTADO */
.hero-content {
  position: relative; /* 🔥 clave */
  text-align: center;
  z-index: 5;

  max-width: 700px;
  padding: 0 20px;
  margin: 0 auto;

  color: white;
}
/* CARRO ANIMADO */
.carro-animado {
  position: absolute;

  bottom: 0; /* 🔥 lo ancla abajo */
  left: 50%;
  transform: translateX(-50%) scale(0.8);

  width: 400px;

  animation: moverCarro 10s linear infinite;
  z-index: 4;
  pointer-events: none;
  opacity: 0.9;
}

/* KEYFRAMES ANIMACIÓN */
@keyframes moverCarro {
  0% {
    top: 55%;
    left: 50.5%;
    transform: translate(-50%, -50%) scale(0.08);
  }

  25% {
    top: 60%;
    left: 50.3%;
    transform: translate(-50%, -50%) scale(0.25);
  }

  50% {
    top: 65%;
    left: 50.1%;
    transform: translate(-50%, -50%) scale(0.55);
  }

  75% {
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
  }

  100% {
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* --- RESPONSIVE HERO --- */
/* --- RESPONSIVE HERO AJUSTADO --- */

/* TABLET */
@media (max-width: 992px) {
  .hero-content {
    top: 6%;
    max-width: 80%;
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 38px; /* ligeramente más grande */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  }

  .hero p {
    font-size: 16px;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
  }

  .carro-animado {
    width: 450px; /* más grande que antes */
  }
}

/* CELULAR */
@media (max-width: 768px) {
  .hero-content {
    top: 5%;
    max-width: 90%;
  }

  .hero h1 {
    font-size: 32px; /* aumenta visibilidad */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  }

  .hero p {
    font-size: 15px;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
  }

  .carro-animado {
    width: 350px; /* aumenta tamaño del carro */
  }
}

/* MÓVILES MUY PEQUEÑOS */
@media (max-width: 480px) {
  .hero-content {
    top: 4%;
  }

  .hero h1 {
    font-size: 28px; /* más grande para móviles pequeños */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  }

  .hero p {
    font-size: 13px;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
  }

  .carro-animado {
    width: 300px; /* más visible en pantallas pequeñas */
  }
}

/* RESPONSIVE MENU */

.conferencias-grid iframe {
  width: 100%;
  height: 315px;
  border-radius: 10px;
}

/* HAMBURGER ICON */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  display: block;
  border-radius: 3px;
}

/* MOBILE MENU */

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #020617; /* fondo negro */
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;

    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .btn-nav {
    display: none;
  }
}

/* footer  */
/* ===============================
   AISLADO SOLO A ESTE BLOQUE
=================================*/

.sedes-wrapper {
  font-family: "Segoe UI", system-ui, sans-serif;
}

/* CONTENEDOR */
.sedes-wrapper .sede-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 0px;

  max-width: 1200px; /* 🔥 IMPORTANTE */
  margin: 0 auto; /* 🔥 CENTRA TODO */
}

/* TARJETAS */
.sedes-wrapper .sede-card {
  width: 100%;
  max-width: none; /* 🔥 quitamos el límite */
  padding: 22px 20px;
  border-radius: 18px;

  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(8px);

  color: #ffffff;
  border: 2px solid;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);

  transition: all 0.25s ease;
}

.sedes-wrapper .sede-card:hover {
  transform: translateY(-6px);
}

/* TITULO */
.sedes-wrapper .sede-title {
  text-align: center;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.sedes-wrapper .sede-title::after {
  content: "";
  display: block;
  width: 35px;
  height: 2px;
  margin: 8px auto 0;
  background: currentColor;
  opacity: 0.4;
}

/* GRID */
.sedes-wrapper .sede-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ITEMS */
.sedes-wrapper .sede-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
}

.sedes-wrapper .sede-icon {
  font-size: 14px;
  margin-top: 2px;
  min-width: 16px;
  opacity: 0.85;
}

/* LINKS */
.sedes-wrapper .sede-item a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.85;
  transition: 0.2s;
}

.sedes-wrapper .sede-item a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* COLORES */
.sedes-wrapper .naranja {
  border-color: #ff6b3d;
  box-shadow: 0 0 18px rgba(255, 107, 61, 0.35);
}

.sedes-wrapper .azul {
  border-color: #00bfff;
  box-shadow: 0 0 18px rgba(0, 191, 255, 0.35);
}

.sedes-wrapper .verde {
  border-color: #00ff99;
  box-shadow: 0 0 18px rgba(0, 255, 153, 0.35);
}

.sedes-wrapper .morado {
  border-color: #a855f7;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.35);
}

.sedes-wrapper .rojo {
  border-color: #ff3d3d;
  box-shadow: 0 0 18px rgba(255, 61, 61, 0.35);
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .sedes-wrapper .sede-card {
    max-width: 100%;
    padding: 18px;
  }

  .sedes-wrapper .sede-title {
    font-size: 14px;
  }

  .sedes-wrapper .sede-item {
    font-size: 12px;
  }
}

.sedes-wrapper .sede-card {
  margin: 0 auto;
}

/* TABLET */
@media (max-width: 1200px) {
  .sedes-wrapper .sede-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* TABLET PEQUEÑA */
@media (max-width: 768px) {
  .sedes-wrapper .sede-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MÓVIL */
@media (max-width: 480px) {
  .sedes-wrapper .sede-container {
    grid-template-columns: 1fr;
  }
}

.sedes-wrapper .sede-item {
  word-break: break-word; /* 🔥 arregla correos largos */
}
