/* ========================
   BASE
======================== */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #1e3a3a; /* fondo verde consistente */
  color: #F0ECE7;
  scroll-behavior: smooth;
}

/* ========================
   NAVBAR / HEADER
======================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  background-color: #1e3a3a;
  z-index: 999;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: #F0ECE7;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #fff;
}

/* Dropdown */
.nav-links .dropdown {
  position: relative;
  display: inline-block;
}

.nav-links .dropbtn {
  cursor: pointer;
  color: #F0ECE7;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
  padding: 0 5px;
}

.nav-links .dropbtn:hover {
  color: #fff;
}

.nav-links .dropbtn::after {
  content: " ▼";
  font-size: 0.7em;
  margin-left: 4px;
}

.nav-links .dropdown-content {
  display: none;
  position: absolute;
  background-color: #1e3a3a;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
  border-radius: 8px;
  overflow: hidden;
  z-index: 1000;
  top: 100%;
  left: 0;
  flex-direction: column;
}

.nav-links .dropdown-content a {
  color: #F0ECE7;
  text-decoration: none;
  display: block;
  padding: 12px 16px;
  transition: background 0.2s, color 0.2s;
}

.nav-links .dropdown-content a:hover {
  background-color: #224948;
  color: #fff;
}

/* Dropdown hover desktop */
@media (min-width: 769px) {
  .nav-links .dropdown:hover .dropdown-content {
    display: flex;
  }
}

/* ========================
   LOGO
======================== */
.logo-img {
  height: auto;
  max-height: 25px;
}

/* ========================
   SOCIAL ICONS
======================== */
.social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.social-icons a {
  color: #fff;
  font-size: 28px; /* tamaño iconos */
  transition: opacity 0.2s ease;
}

.social-icons a:hover {
  opacity: 0.7;
}

/* ========================
   HERO PICTURE
======================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
}

.hero-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #F0ECE7;
  z-index: 2;
  padding: 20px;
  background: rgba(0,0,0,0.45);
}

.hero-btn {
  padding: 15px 30px;
  background: #cfd152;
  color: #471915;
  font-size: 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 20px;
  display: inline-block;
  cursor:pointer; 
}

/* ========================
   SECCIONES
======================== */
.section {
  padding: 60px 20px;
  max-width: 1100px;
  line-height: 1.7;
  margin: 0 auto;
  text-align: center;
}

.section a {
  color: #471915;
  font-weight: 600;
  transition: color 0.2s ease;
}

.section a:hover {
  color: #fff;
}

h2 {
  color: #CCBB9A;
}

/* ========================
   TESTIMONIALS
======================== */
.testimonial-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial {
  background: #1e3a3a;
  padding: 15px;
  border-radius: 12px;
  max-width: 300px;
  color: #fff;
}

/* ========================
   FOOTER
======================== */
.footer-pro {
  background-color: #1e3a3a;
  color: #F0ECE7;
  padding: 50px 0px 30px;
  font-size: 0.95rem;
  border-top: 2px solid rgba(255,255,255,0.1);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-pro h3 {
  line-height: 1.3;
  margin-bottom: 12px;
}

.footer-pro a {
  display: block;
  color: #F0ECE7;
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.footer-pro a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 30px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ========================
   STICKY BUTTONS (FREE CLASS + CHAT)
======================== */
.floating-buttons {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  z-index: 9999;
}

.sticky-cta {
  background: linear-gradient(135deg, #d4af37, #f1d87a);
  color: #000;
  padding: 16px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  z-index: 2;
}

.sticky-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

.chat-btn {
  background: #25D366;
  color: #fff;
  padding: 12px 18px;
  border-radius: 40px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  z-index: 1;
}

.chat-btn:hover {
  transform: scale(1.05);
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    display: none !important;
    flex-direction: column;
    width: 100%;
    background: #1e3a3a;
    padding: 10px 0;
    max-height: 60vh;
    overflow-y: auto;
    font-size: 16px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
  }

  .nav-links.show {
    display: flex !important;
  }

  .nav-links a {
    margin: 5px 0;
  }

  .social-icons a {
    font-size: 20px;
  }

  .floating-buttons {
    right: 15px;
    bottom: 90px;
  }

  .sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 0;
    text-align: center;
    font-size: 18px;
    padding: 18px;
    z-index: 9998;
  }

  .chat-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .chat-btn span {
    display: none;
  }

  /* Dropdown móvil */
  .nav-links .dropdown-content {
    position: relative;
    top: 0;
    left: 0;
    box-shadow: none;
    min-width: 100%;
    border-radius: 0;
  }

  .nav-links .dropdown-content a {
    padding: 12px 20px;
    font-size: 16px;
  }

  .nav-links .dropdown .dropbtn {
    width: 100%;
    text-align: left;
    padding: 12px 20px;
  }

  .nav-links .dropdown-content.show-mobile {
    display: flex;
    flex-direction: column;
  }
}

/* PULSE ANIMATION */
.pulse-cta {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,73,72, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(34,73,72,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,73,72,0); }
}

/* SEO HIDDEN */
.seo-hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ========================
   OCULTAR FLOATING BUTTONS EN SIGN-UP
======================== */

.no-floating-cta .floating-buttons {
  display: none !important;
}

/* =========================
   Hide ONLY Free Class Button
   (Request a Trial Page)
========================= */
/* Hide only Free Class button */
.hide-free-class .floating-buttons .sticky-cta {
  display: none !important;
}

/* Teacher Button Variation */
.teacher-btn {
  background: #e29145; 
}

.teacher-btn:hover {
  background: #e29145;
  transform: translateY(-2px);
}

/* Student Button Variation */
.student-btn {
  background: #f3cd26; 
}
.student-btn:hover {
  background: #f3cd26;
  transform: translateY(-2px);
}



/* =========================
   FOOTER COMPACTO
========================= */
footer {
  background: #0f172a;      /* mismo color que el body/tema */
  color: #94a3b8;           /* gris claro para texto */
  padding: 15px 20px;       /* compacto arriba/abajo */
  font-size: 0.85rem;       /* un poquito más pequeño */
  line-height: 1.4;         /* más compacto */
}

footer .footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}

footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px; /* columnas y separación horizontal */
}

footer .footer-links .column {
  flex: 1 1 200px; /* cada columna mínimo 200px, se adapta */
}

footer .footer-links h4 {
  margin-bottom: 6px; /* menos espacio bajo título */
  font-size: 1rem;
}

footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px; /* espacio entre enlaces */
}

footer .footer-links li a {
  color: #94a3b8;
  text-decoration: none;
  padding: 0;
  margin: 0;
  display: block;
  line-height: 1.3;
  font-size: 0.85rem;
  transition: color 0.2s;
}

footer .footer-links li a:hover {
  color: #ffffff;
}

footer .footer-bottom {
  text-align: center;
  margin-top: 12px;
  font-size: 0.8rem;
  color: #64748b;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  footer .footer-container {
    flex-direction: column;
    align-items: center;
  }
  footer .footer-links {
    flex-direction: column;
    gap: 12px 0;
  }
  footer .footer-links .column {
    flex: 1 1 100%;
  }
}
@media (max-width: 768px) {
  .footer-links ul {
    grid-template-columns: 1fr;
  }
}