:root {
    --gold: #d4af37;
    --gold-light: #f7e49c;
    --gold-dark: #bfa133;
    --gray: #181818;
    --gray-light: #f5f5f5;
    --black: #000;
    --white: #fff;
    --dark-bg: #0a0a0a;
    --light-bg: #fafafa;
    --text-dark: #111;
    --text-light: #fff;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
  }
  body {
    font-family: "Poppins", sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    transition: background 0.4s ease, color 0.4s ease;
  }
  
  /* ======== HERO ======== */
  .hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
  }
  
  /* Fondo video */
  .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  
  /* Capa oscura */
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
  }
  
  /* ======== NAVBAR ======== */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    z-index: 3;
    transition: backdrop-filter 0.4s ease, background 0.4s ease;
  }

  /* ======== MOBILE MENU & HAMBURGER ======== */
  .mobile-header {
    display: none;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 20;
  }
  .hamburger-bar {
    width: 28px;
    height: 4px;
    background: var(--gold);
    margin: 3px 0;
    border-radius: 3px;
    transition: all 0.3s;
  }
  .hamburger[aria-expanded="true"] .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 80vw;
    max-width: 320px;
    height: 100vh;
    background: var(--gray);
    box-shadow: -2px 0 16px rgba(0,0,0,0.25);
    z-index: 50;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(.77,0,.18,1);
    padding: 2rem 1.5rem 1rem 1.5rem;
    gap: 2rem;
  }
  .mobile-menu.open {
    right: 0;
  }
  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
  }
  .close-mobile-menu {
    background: none;
    border: none;
    font-size: 2.2rem;
    color: var(--gold);
    cursor: pointer;
    line-height: 1;
  }
  .mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0;
    margin: 0;
  }
  .mobile-nav-links li a {
    color: var(--gold-light);
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.8rem 0;
    border-radius: 8px;
    background: none;
    transition: background 0.2s, color 0.2s;
  }
  .mobile-nav-links li a:hover {
    background: var(--gold);
    color: var(--black);
  }
  .mobile-logo img {
    width: 120px;
    height: auto;
  }

  .navbar.blur {
    backdrop-filter: blur(12px);
    background: rgba(212, 175, 55, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }
  
  .logo-img {
    width: 100px;
    height: auto;
  }
  .nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
  }
  .nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s;
  }
  .nav-links a:hover {
    color: var(--gold);
  }

  
  /* Botón modo oscuro/claro */
  .theme-toggle {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--gold);
    cursor: pointer;
    transition: transform 0.3s;
  }
  .theme-toggle:hover {
    transform: scale(1.2);
  }
  
  /* ======== HERO CONTENT ======== */
  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: auto;
    margin-bottom: 10%;
  }
  .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
  .btn {
    background: var(--gold);
    color: #000;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
  }
  .btn:hover {
    background: var(--gold-light);
  }
  
  /* ======== MODO CLARO ======== */
  body.light-mode {
    background: var(--light-bg);
    color: var(--text-dark);
  }
  body.light-mode .hero::before {
    background: rgba(255, 255, 255, 0.4);
  }
  body.light-mode .navbar {
    background: rgba(255,255,255,0.8);
  }
  body.light-mode .navbar.blur {
    background: rgba(255,255,255,0.6);
    box-shadow: 0 2px 10px rgba(212,175,55,0.1);
  }
  body.light-mode .logo span {
    color: var(--gold);
  }
  body.light-mode .nav-links a {
    color: var(--text-dark);
  }
  body.light-mode .nav-links a:hover {
    color: var(--gold);
  }
  body.light-mode .service-card {
    background: var(--gray-light);
    color: var(--text-dark);
  }
  body.light-mode .service-card h3 {
    color: var(--gold);
  }

body.light-mode .package-card p {
  color: var(--text-dark);
}
body.light-mode .package-card .icon {
  color: var(--gold-dark);
  background: #fff;
}

body.light-mode .package-card {
  background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

body.light-mode .package-card:hover {
  background: var(--gold-light);
  color: var(--black);
}
  body.light-mode .package-card:hover {
    background: var(--gold-light);
    color: var(--black);
  }
  body.light-mode .package-info {
    color: #666;
  }
  body.light-mode .contact {
    background: #fff;
  }
  body.light-mode .contact-form {
    background: var(--gray-light);
    color: var(--text-dark);
    border: 1px solid var(--gold);
    box-shadow: 0 0 20px rgba(212,175,55,0.08);
  }
  body.light-mode .form-group label {
    color: var(--gold);
  }
  body.light-mode .form-group input,
  body.light-mode .form-group textarea {
    background: #fff;
    color: var(--text-dark);
    border: 1px solid var(--gold);
  }
  body.light-mode .footer {
    background: var(--gray-light);
    color: var(--text-dark);
    border-top: 1px solid var(--gold);
  }
  body.light-mode .footer h3 {
    color: var(--gold);
  }
  body.light-mode .footer p {
    color: #888;
  }
  body.light-mode .btn {
    color: #fff;
    background: var(--gold);
  }
  body.light-mode .navbar.blur {
    background: rgba(255, 255, 255, 0.6);
  }
  body.light-mode .nav-links a {
    color: var(--text-dark);
  }
  body.light-mode .btn {
    color: #fff;
    background: var(--gold);
  }
  body.light-mode .hero::before {
    background: rgba(255, 255, 255, 0.4);
  }

  /* ============ MODO CLARO ============ */
body.light-mode .footer {
  background: var(--light-bg);
  color: var(--text-dark);
}
body.light-mode .footer-brand p {
  color: var(--text-dark);
}
body.light-mode .footer-contact li,
body.light-mode .footer-contact a {
  color: var(--text-dark);
}
body.light-mode .footer-social a {
  color: var(--gold-dark);
  border-color: var(--gold-dark);
  background: rgba(212, 175, 55, 0.1);
}

body.light-mode .footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--gold-dark);
}
body.light-mode .footer-brand li,
body.light-mode .footer-brand a {
  color: var(--text-dark);
}
  
  /* ABOUT */
  .about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 5rem 10%;
  }
  .about-text h2 {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  .about-text p {
    color: var(--text-light);
    line-height: 1.6;
    transition: color 0.4s;
  }
  body.light-mode .about-text p {
    color: var(--text-dark);
  }
  .about-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
  }
  
  /* SERVICES */
  .services {
    padding: 5rem 10%;
    text-align: center;
  }
  .services h2 {
    color: var(--gold);
    font-size: 2.2rem;
    margin-bottom: 3rem;
  }
  .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  .service-card {
    background: var(--gray);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(30px);
  }
  .service-card.show {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease-out;
  }
  .service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  .service-card h3 {
    padding: 1rem;
    color: var(--gold-light);
  }
  .service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  }
  
  /* PACKAGES */
  .packages {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--dark-bg);
  color: var(--text-light);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
  margin-top: 3rem;
}

.package-card {
  background: var(--gray);
  border-radius: 16px;
  padding: 2rem 1.5rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: visible; /* 🔑 permite que el icono se salga */
  max-width: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* 🔰 ICONO flotante */
.package-card .icon {
  position: absolute;
  top: -30px; /* sobresale del borde */
  left: 50%;
  transform: translateX(-50%);
  background: var(--gray);
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
  color: var(--gold);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.package-card:hover .icon {
  transform: translateX(-50%) scale(1.1);
}

/* Texto */
.package-card h3 {
  margin-top: 2rem; /* espacio porque el icono ocupa arriba */
  color: var(--gold);
  font-size: 1.2rem;
}

.package-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.package-info {
  margin-top: 2.5rem;
  color: var(--gold-light);
  max-width: 700px;
  margin-inline: auto;
}
  
  /* CONTACT */
  .contact {
    padding: 5rem 10%;
    text-align: center;
    background-color: #0f0f0f;
  }
  .contact h2 {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  .contact p {
    color: #ddd;
    margin-bottom: 2rem;
    transition: color 0.4s;
  }
  body.light-mode .contact p {
    color: var(--text-dark);
  }
  .contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--gray);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--gold-dark);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    opacity: 0;
    transform: translateY(30px);
  }
  .contact-form.show {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease-out;
  }
  .form-group {
    text-align: left;
    margin-bottom: 1.5rem;
  }
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gold-light);
  }
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 10px;
    border: 1px solid var(--gold-dark);
    background: #111;
    color: var(--white);
    font-size: 1rem;
  }
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 5px var(--gold);
  }
  
  /* FOOTER */
  .footer {
    background: var(--gray);
    color: var(--text-light);
    padding: 3rem 2rem 1rem;
    text-align: center;
    position: relative;
    z-index: 5;
    transition: background 0.4s ease, color 0.4s ease;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
  }
  
  .footer-brand h2 {
    font-size: 1.8rem;
    font-weight: 700;
  }
  .footer-brand span {
    color: var(--gold);
  }
  .footer-brand p {
    margin-top: 0.5rem;
    color: var(--gold-light);
    font-size: 0.95rem;
  }

  .footer-brand ul {
    list-style: none;
    padding: 0;
  }
  .footer-brand li {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem;
    color: var(--text-light);
    transition: margin-left 0.3s ease-in-out;
  }

  .footer-brand li:hover{
    margin-left: 0.6rem;
  }

  .footer-brand i {
    margin-right: 0.8rem;
    color: var(--gold);
    font-size: 1.1rem;
  }
  .footer-brand a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  .footer-brand a:hover {
    color: var(--gold-light);
  }
  
  /* Contacto */
  .footer-contact h3,
  .footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--gold);
  }
  
  .footer-contact ul {
    list-style: none;
    padding: 0;
  }
  .footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem;
    color: var(--text-light);
  }
  .footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem;
    color: var(--text-light);
    gap: 0.8rem;
  }
  .footer-contact a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  .footer-contact a:hover {
    color: var(--gold-light);
  }
  
  /* Redes sociales */
  .footer-social .social-icons {
    display: flex;
    gap: 1rem;
  }
  .footer-social a {
    color: var(--white);
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: all 0.3s ease;
  }

  .footer-social img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .footer-social a:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
  }
  
  /* Footer inferior */
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 0.9rem;
    color: var(--gold-light);
  }
  
  
  /* RESPONSIVE */
  @media (max-width: 900px) {
    .about {
      grid-template-columns: 1fr;
      text-align: center;
      }
    .navbar {
      flex-direction: column;
      gap: 1rem;
      padding: 1rem 1.5rem;
    }
    .nav-links {
      display: flex;
    }
    .mobile-header {
      display: none;
    }
    .footer-container {
      flex-direction: column;
      text-align: center;
      align-items: center;
    }
    .footer-contact li {
      justify-content: center;
    }
    
  }

  @media (max-width: 475px) {

    .logo{
      display: none;
    }
    .nav-links {
      display: none;
    }
    .mobile-header {
      display: flex;
    }
    .mobile-menu {
      width: 100vw;
      max-width: none;
      padding: 1.5rem 1rem 1rem 1rem;
    }
    .footer{
      padding: 1rem;
      }
    .footer-container{
      margin: 0;
      padding: 0;
      text-align: left;
      align-items: start;
    }
  }