:root {
  --black: #000;
  --dark: #1C1C1C;
  --white: #fff;
  --lime: #A4E000;
  --gray: #E6E6E6;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  background: var(--black);
  color: var(--white);
}

h1,h2,h3 {
  font-family: "Montserrat", sans-serif;
}

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

.header {
  background: var(--black);
  border-bottom: 1px solid #333;
   position: relative;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
position: relative; /* 👈 ESTO */
}

.nav a {
  margin-left: 20px;
  color: white;
  text-decoration: none;

  display: flex;        /* Para centrar verticalmente */
  align-items: center;
  height: 48px;         /* Altura fija para alinear */
  padding: 0 16px;      /* Padding horizontal */
  margin-top: 0;        /* Elimina margen superior por defecto */
}


/* Ajustar botón para que no tenga margen superior */
.nav a.btn {
  padding: 0 28px;      /* Igual padding horizontal que tienes */
  height: 48px;         /* Igual altura */
  font-weight: bold;
  border-radius: 8px;
  background: var(--lime);
  color: black;
  margin-left: 20px;
  margin-top: 0;        /* quitar margen extra que desalineaba */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Si quieres que el primer enlace no tenga margin-left */
.nav a:first-child {
  margin-left: 0;
}

/* HERO */
.hero {
  height: 90vh;
  background: url("https://images.unsplash.com/photo-1558611848-73f7eb4001a1") center / cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.9), rgba(0,0,0,.3));
}

.hero-content {
  position: relative;
  max-width: 600px;
}

.hero h1 {
  font-size: 52px;
}

.section {
  padding: 96px 0;
}

.bg-dark {
  background: var(--dark);
}

/* GRID */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 {grid-template-columns: repeat(2,1fr);}
.grid-3 {grid-template-columns: repeat(3,1fr);}
.grid-4 {grid-template-columns: repeat(4,1fr);}

/* CARDS */
.card, .plan {
  background: #111;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}

.plan.featured {
  border: 2px solid var(--lime);
  transform: scale(1.05);
}

.price {
  font-size: 32px;
  color: var(--lime);
}

.section-subtitle {
  max-width: 700px;
  margin: 16px auto 48px;
  text-align: center;
  color: #ccc;
  font-size: 18px;
  line-height: 1.6;
}


/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 16px;
}

.btn-primary {
  background: var(--lime);
  color: black;
}

.btn-outline {
  border: 2px solid var(--lime);
  color: var(--lime);
}

/* CTA */
.cta-final {
  background: var(--lime);
  color: black;
  text-align: center;
  padding: 80px 20px;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-logo img {
  width: 230px;
}

.cta-slogan {
  display: block;
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 14px;
}


/* FORM */
.form input, .form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 16px;
  border-radius: 6px;
  border: none;
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  padding: 16px;
  border-radius: 50%;
  font-size: 24px;
  color: white;
  text-decoration: none;
}

/* FOOTER */
.footer {
  background: black;
  padding: 48px 0;
  text-align: center;
}

.footer-social img {
  width: 24px;
  margin: 8px;
}

/* RESPONSIVE */
@media(max-width:768px){
  .grid-2,.grid-3,.grid-4{
    grid-template-columns:1fr;
  }
  .hero h1{
    font-size:34px;
  }
}
/* LOGO */
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo img {
  height: 48px; /* ajustá según tu logo real */
  object-fit: contain;
}

.slogan {
  margin-top: 4px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700; /* Bold */
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lime);
}

.experience {
  background: #0d0d0d;
}

.experience-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.experience-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  filter: brightness(0.7);
  transition: .4s;
}

.experience-card span {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-weight: bold;
  font-size: 18px;
}

.experience-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

.class-card {
  background: #111;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
}

.class-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

.class-card h3 {
  margin: 12px 0 4px;
}

.class-card small {
  color: #aaa;
  display: block;
  margin-bottom: 12px;
}

.class-link {
  color: var(--lime);
  text-decoration: none;
  font-weight: bold;
}

/* HAMBURGER */
/* HAMBURGER */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;          /* 👈 CLAVE */
  z-index: 1001;          /* 👈 para que quede arriba */
}


.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: white;
  margin: 5px 0;
  transition: 0.3s;
}

/* MENÚ MOBILE */
.nav-menu {
  display: flex;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

 .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--black);
    flex-direction: column;
    width: 100%;
    text-align: center;
    display: none;
    padding: 24px 0;
    border-top: 1px solid #333;
    z-index: 1000;
  }

  .nav-menu a {
    margin: 16px 0;
    font-size: 18px;
  }

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

.btn-footer {
  display: inline-block;
  padding: 12px 24px;
  margin: 8px 12px 8px 0;
  background-color: #A4E000; /* color lima */
  color: black;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.btn-footer:hover {
  background-color: #8cc100; /* tono lima más oscuro al pasar el mouse */
}

.btn-footer.btn-whatsapp {
  background-color: #25D366; /* verde WhatsApp */
  color: white;
  box-shadow: 0 4px 6px rgba(0,128,0,0.3);
}

.btn-footer.btn-whatsapp:hover {
  background-color: #1ebe57; /* verde WhatsApp más oscuro al hover */
}
