/* ================= VARIABLES ================= */
:root {
  --negro: #0D0D0D;
  --gris: #8C8C8C;
  --blanco: #F2F2F2;
  --amarillo-claro: #F2B705;
  --amarillo-oscuro: #F29F05;
}
.logo img {
  height: 50px;
}




/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--blanco);
  color: var(--negro);
  line-height: 1.6;
}


/* =====================================================
   TOP BAR (correo + dirección + redes)
===================================================== */

.sub-header {
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.container-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-left {
  display: flex;
  gap: 25px;
  color: #555;
}

.top-left span {
  display: flex;
  align-items: center;
}

.top-left i {
  color: #F29F05;
  margin-right: 6px;
}

.top-right {
  display: flex;
  gap: 12px;
}

.top-right a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #eee;
  color: #777;

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

  transition: all 0.3s ease;
}

.top-right a:hover {
  background-color: #F29F05;
  color: #000;
}


.top-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.top-bar-container {
  max-width: 1200px;
  margin: auto;
  padding: 10px 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-info {
  display: flex;
  gap: 25px;
  color: #555;
}

.top-info span {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.top-info i {
  color: #F29F05;
  margin-right: 6px;
}


/* =====================================================
   HEADER PRINCIPAL
===================================================== */

header {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 40px;

  display: flex;
  align-items: center;
}

/* LOGO */
.logo img {
  height: 48px;
  display: block;
}

/* NAV (CLON EXACTO DEL ORIGINAL) */
.nav-menu {
  margin-left: auto;        /* 🔥 empuja el menú a la derecha */
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-menu a {
  font-size: 15px;
  font-weight: 500;
  color: #1e1e1e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-menu a.active,
.nav-menu a:hover {
  color: #F29F05;
}

/* BOTÓN WHATSAPP */
.btn-whatsapp {
  margin-left: 35px;
  background-color: #1e1e1e;
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 30px;

  font-size: 14px;
  font-weight: 500;
  text-decoration: none;

  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-whatsapp:hover {
  background-color: #F29F05;
  color: #000;
}

/* =====================================================
   RESPONSIVE (igual al template original)
===================================================== */

@media (max-width: 992px) {

  .top-left span:last-child {
    display: none; /* oculta la dirección */
  }

  .nav-menu {
    display: none; /* menú oculto en tablet/mobile */
  }

  .btn-whatsapp {
    margin-left: auto;
  }
}




/* ================= HERO / CARRUSEL ================= */
.hero-carousel {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

/* CONTENEDOR SLIDES */
.slides {
  height: 100%;
  position: relative;
}

/* SLIDE INDIVIDUAL */
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active { opacity: 1; }

/* OVERLAY OSCURO */
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,.7);
}

/* CONTENIDO HERO */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 900px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--blanco);
}

.hero-tag {
  background: var(--amarillo-oscuro);
  color: var(--negro);
  padding: 6px 14px;
  width: fit-content;
  border-radius: 4px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero-content p {
  color: #ddd;
  max-width: 600px;
  font-size: 1.1rem;
}

/* INDICADORES */
.hero-controls {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-controls span {
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.hero-controls .active {
  background: var(--amarillo-claro);
}

/* ================= SECCIONES ================= */
section {
  padding: 80px 20px;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--gris);
  max-width: 700px;
  margin: auto;
  margin-bottom: 50px;
}

/* ================= QUIÉNES SOMOS ================= */
.about-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 35px;
}

.about-block {
  background: #fff;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

.about-block h3 {
  color: var(--amarillo-oscuro);
  margin-bottom: 15px;
}

.about-block p {
  color: var(--gris);
  margin-bottom: 12px;
}

/* ================= LICENCIAS ================= */
.licenses-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
  gap: 30px;
}

.license-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transition: .3s;
}

.license-card:hover {
  transform: translateY(-8px);
}

.license-card h3 {
  color: var(--amarillo-oscuro);
  margin-bottom: 10px;
}

/* ================= ESTADÍSTICAS ================= */
.stats-section {
  background: var(--negro);
  color: var(--blanco);
}

.stats-grid {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  text-align: center;
  gap: 30px;
}

.stat-box h3 {
  font-size: 2.6rem;
  color: var(--amarillo-claro);
}

/* ================= CONTACTO ================= */
.contact-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-info {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
}

.contact-grid iframe {
  width: 100%;
  min-height: 350px;
  border: none;
  border-radius: 12px;
}

/* ================= FOOTER ================= */
footer {
  background: var(--negro);
  color: var(--gris);
  text-align: center;
  padding: 20px;
}



/* ================= CARRUSEL HERO ================= */
/* ================= HERO CAROUSEL ================= */

.hero-carousel {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13,13,13,.75),
    rgba(13,13,13,.35)
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem;
  color: var(--blanco);
}

.hero-badge {
  display: inline-block;
  background: var(--amarillo-claro);
  color: var(--negro);
  padding: 6px 14px;
  font-size: .8rem;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 1rem;
}

.hero-overlay h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-overlay p {
  max-width: 600px;
  font-size: 1.1rem;
  color: #ddd;
}

/* Botón */
.hero-btn {
  margin-top: 1.5rem;
  background: var(--amarillo-oscuro);
  color: var(--negro);
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  transition: .3s;
  align-items: center;
}

.hero-btn:hover {
  background: var(--amarillo-claro);
  transform: translateY(-2px);
}

/* Flechas */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.4);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
}

.hero-arrow.left { left: 20px; }
.hero-arrow.right { right: 20px; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dots .dot {
  width: 12px;
  height: 12px;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
}

.hero-dots .dot.active {
  background: var(--amarillo-claro);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-overlay {
    padding: 2rem;
  }

  .hero-overlay h1 {
    font-size: 2rem;
  }
}





/* ================= CURSOS PROFESIONALES ================= */

.courses-section {
  background: var(--blanco);
}

.courses-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Imagen */
.courses-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* Contenido */
.courses-tag {
  color: var(--amarillo-oscuro);
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.courses-content h2 {
  font-size: 2.8rem;
  margin: 10px 0 25px;
  line-height: 1.1;
}

.course-description {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  margin-bottom: 20px;
}

.course-description h3 {
  color: var(--amarillo-oscuro);
  margin-bottom: 10px;
}

.course-description p {
  color: var(--gris);
  line-height: 1.6;
}

/* Links centrales */
.course-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-links a {
  text-decoration: none;
  color: var(--negro);
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid #eee;
  transition: .3s;
}

.course-links a:hover {
  background: var(--amarillo-claro);
}

/* Cards derecha */
.courses-cards {
  background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.course-card {
  text-decoration: none;
  border-radius: 10px;
  padding: 18px;
  transition: .3s;
  border: 1px solid #eee;
}

.course-card h4 {
  margin-bottom: 5px;
  color: var(--negro);
}

.course-card p {
  color: var(--gris);
  font-size: 0.9rem;
}

.course-card:hover {
  background: var(--amarillo-oscuro);
}

.course-card:hover h4,
.course-card:hover p {
  color: var(--negro);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .courses-container {
    grid-template-columns: 1fr;
  }

  .courses-content h2 {
    font-size: 2.2rem;
  }
}



/* ================= CURSOS CARDS ================= */

.courses-cards-section {
  background: var(--blanco);
}

.courses-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

/* Card */
.course-box {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,.08);
  transition: .35s;
}

.course-box:hover {
  transform: translateY(-8px);
}

/* Imagen */
.course-image {
  position: relative;
}

.course-image img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.course-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(242,183,5,.9);
  color: var(--negro);
  padding: 6px 14px;
  font-size: .8rem;
  border-radius: 6px;
  font-weight: 600;
}

/* Contenido */
.course-content {
  padding: 25px;
}

.course-price {
  display: block;
  color: var(--amarillo-oscuro);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.course-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* Features */
.course-features {
  list-style: none;
  margin-bottom: 25px;
}

.course-features li {
  font-size: .95rem;
  color: var(--gris);
  margin-bottom: 6px;
}

/* Botón */
.course-btn {
  display: inline-block;
  background: var(--negro);
  color: var(--blanco);
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  transition: .3s;
}

.course-btn:hover {
  background: var(--amarillo-oscuro);
  color: var(--negro);
}

/* Responsive */
@media (max-width: 768px) {
  .course-image img {
    height: 200px;
  }
}



/* ================= BENEFICIOS ================= */

/* ================= BENEFICIOS ================= */

.beneficios-section {
  background: linear-gradient(
    to bottom,
    rgba(242,183,5,.08),
    #fff
  );
}

.beneficios-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.beneficio-card {
  background: #fff;
  padding: 38px 30px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  transition: all .35s ease;
  border-top: 4px solid var(--amarillo-claro);
}

.beneficio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0,0,0,.12);
}

.beneficio-icon {
  width: 60px;
  height: 60px;
  background: var(--amarillo-claro);
  color: var(--negro);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 18px;
}

.beneficio-card h3 {
  color: var(--negro);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.beneficio-card p {
  color: var(--gris);
  font-size: .95rem;
  line-height: 1.6;
}





/* ================= FORMULARIO INSCRIPCIÓN ================= */

.reserva-section {
  background: var(--blanco);
}

.reserva-form {
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 45px;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0,0,0,.1);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--negro);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: .95rem;
  transition: .3s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--amarillo-oscuro);
  box-shadow: 0 0 0 3px rgba(242,159,5,.2);
}

.btn-reserva {
  background: var(--negro);
  color: var(--blanco);
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: .3s;
}

.btn-reserva:hover {
  background: var(--amarillo-oscuro);
  color: var(--negro);
}
.btn-reserva-top {
  background: var(--amarillo-oscuro);
  color: var(--negro);
  position: absolute;
  right: 20px;
  padding: 12px 28px;
  font-weight: 600;
  transition: .3s;
  border-radius: 6px;
  margin-top: 1px;
}

.btn-reserva-top:hover {
  background: var(--blanco);
}

/* ================= CONTACTO ================= */

.contact-section {
  background: linear-gradient(
    to bottom,
    #fff,
    rgba(13,13,13,.03)
  );
}

.contact-info {
  background: #fff;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,.1);
}

.contact-info h3 {
  color: var(--amarillo-oscuro);
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 15px;
  color: var(--gris);
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  background: var(--amarillo-oscuro);
  color: var(--negro);
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: .3s;
}

.cta-button:hover {
  background: var(--amarillo-claro);
}



/* ================= QUIÉNES SOMOS SIMPLE ================= */

.about-simple-section {
  background: linear-gradient(
    to bottom,
    #fff,
    rgba(242,183,5,.08)
  );
}

.about-simple-container {
  max-width: 900px;
  margin: auto;
  text-align: center;
  padding: 20px;
}

.about-icon {
  width: 80px;
  height: 80px;
  background: var(--amarillo-claro);
  color: var(--negro);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 20px;
}

.about-simple-text {
  font-size: 1.05rem;
  color: var(--gris);
  line-height: 1.8;
}







/* =====================================================
   BOTÓN CHAT
===================================================== */

.top-chat {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #0b3d2e;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.top-chat:hover {
  background: #1ebe5d;
}





/* =====================================================
   WHATSAPP FLOAT
===================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;

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

  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
  transition: 0.3s;
  z-index: 999;
}

.whatsapp-float:hover {
  background: #1ebe5d;
  transform: scale(1.08);
}







/* ================= CONTACTO MODERNO ================= */

.contact-layout {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: stretch;
}

/* MAPA */
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border-radius: 20px;
  border: none;
}

/* FORM */
.contact-form-box {
  background: #fff;
  padding: 45px;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0,0,0,.08);
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 30px;
  border: none;
  background: #f3f3f3;
  font-size: .95rem;
}

.contact-form textarea {
  border-radius: 20px;
  min-height: 130px;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(242,159,5,.3);
}

/* BOTÓN */
.contact-btn {
  margin-top: 25px;
  background: #111;
  color: #fff;
  padding: 14px 36px;
  border-radius: 30px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
}

.contact-btn:hover {
  background: var(--amarillo-oscuro);
  color: var(--negro);
}

/* TARJETAS */
.contact-cards {
  max-width: 900px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.contact-card {
  background: #fff;
  padding: 25px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

.contact-card i {
  font-size: 1.8rem;
  color: #ff5722;
}

.contact-card span {
  display: block;
  font-size: .85rem;
  color: #777;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-map iframe {
    min-height: 350px;
  }
}

















/* ================= TOP BAR ================= */
.top-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}

.top-bar-container {
  max-width: 1200px;
  margin: auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info {
  display: flex;
  gap: 25px;
  color: #555;
}

.top-info span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-info i {
  color: #F29F05;
}

.top-social {
  display: flex;
  gap: 10px;
}

.social-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
}

.social-circle.fb { background: #1877f2; }
.social-circle.ig {
  background: linear-gradient(45deg,#f09433,#dc2743,#bc1888);
}





/* BOTÓN RESERVAR DENTRO DEL NAV */
.nav-btn {
  margin-left: 20px;
  background: var(--amarillo-oscuro);
  color: var(--negro);
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #111;
  border-radius: 2px;
}

/* ================= MOBILE ================= */

@media (max-width: 992px) {

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 25px;
    gap: 15px;
    display: none;
    box-shadow: 0 15px 30px rgba(0,0,0,.15);
  }

  .nav-menu a {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }

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

  .nav-btn {
    margin-left: 0;
    text-align: center;
    align-items: center;
  }
}
















/* ================= FIX NAV RESPONSIVE ================= */

/* BOTÓN RESERVAR */
.nav-btn {
  margin-left: 30px;
  background: var(--amarillo-oscuro);
  color: var(--negro);
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  align-items: center;
}

.nav-btn:hover {
  background: var(--negro);
  transform: translateY(-2px);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #111;
  border-radius: 2px;
}

/* ================= MOBILE ================= */

@media (max-width: 992px) {

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;

    flex-direction: column;
    gap: 0;
    padding: 20px;

    display: none; /* 👈 clave */
    box-shadow: 0 15px 30px rgba(0,0,0,.15);
    z-index: 999;
  }

  .nav-menu.active {
    display: flex; /* 👈 se abre */
  }

  .nav-menu a {
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    width: 100%;
  }

  .nav-menu a:last-child {
    border-bottom: none;
  }

  /* BOTÓN RESERVAR EN MOBILE */
  .nav-btn {
    margin-left: 0;
    margin-top: 15px;
    text-align: center;
    width: 100%;
  }
}


















/* ================= FIX DEFINITIVO MENU MOBILE ================= */

/* Header referencia */
header {
  position: relative;
}

/* MOBILE */
@media (max-width: 992px) {

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    

    flex-direction: column;
    padding: 20px;
    gap: 0;

    display: none !important; /* 👈 pisa todo */
    box-shadow: 0 15px 30px rgba(0,0,0,.2);
    z-index: 9999;
  }

  .nav-menu.active {
    display: flex !important; /* 👈 CLAVE */
  }

  .nav-menu a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
  }

  .nav-btn {
    margin: 15px 0 0;
    width: 100%;
    text-align: center;
  }
}




/* ================= TOP CONTACT ================= */
.top-contact {
  position: absolute;
  top: 12px;
  right: 20px;

  display: flex;
  align-items: center;
  gap: 18px;

  font-size: 14px;
  color: #000;
  z-index: 1000;
}

/* Correo / dirección */
.contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* Íconos */
.contact-item i {
  color: #f5a300;
  font-size: 15px;
}

/* Redes */
.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f5a300;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 15px;
  transition: 0.3s ease;
}

.social-icons a:hover {
  background: #000;
  color: #fff;
}


























@media (max-width: 768px) {
  .top-contact {
    top: 8px;
    right: 10px;
    gap: 12px;
    font-size: 12px;
  }

  .social-icons a {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }
}
