:root {
  --bg-dark: #050816;
  --bg-darker: #02030a;
  --bg-alt: #070b1c;
  --accent-main: #00ff88;
  --accent-secondary: #ffd35c;
  --accent-soft: rgba(0, 255, 136, 0.12);
  --text-main: #f5f7ff;
  --text-muted: #9ea5c1;
  --border-subtle: #1b2238;
  --danger: #ff4f4f;
  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.4);
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-pill: 999px;
}

/* Reset básico */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #101732 10%, #02030a 55%, #000 100%);
  color: var(--text-main);
  line-height: 1.5;
}

/* Layout */

.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

/* Header */

.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(2, 3, 10, 0.96), rgba(2, 3, 10, 0.8), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

/* Logo */

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-main {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--accent-main);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Nav */

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.15s ease;
}

.main-nav a:hover {
  color: var(--accent-main);
  transform: translateY(-1px);
}

.main-nav .nav-cta {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 255, 136, 0.6);
  color: var(--accent-main);
}

/* Mobile menu button */

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.4rem;
}

/* Hero */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* oscurece un poco para que se lean los textos */
  backdrop-filter: blur(2px);
  z-index: -1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at top left, rgba(0, 255, 136, 0.24), transparent 60%);
}

.hero h1 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  margin: 1rem 0 0.8rem;
}

.hero p {
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.4rem;
}

/* Buttons */

.btn {
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-main), #00c86a);
  color: #02030a;
  box-shadow: 0 14px 30px rgba(0, 255, 136, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 35px rgba(0, 255, 136, 0.32);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(9, 14, 35, 0.9);
}

.btn-secondary {
  background: rgba(16, 23, 58, 0.9);
  border: 1px solid rgba(0, 255, 136, 0.4);
  color: var(--accent-main);
}

.btn-secondary:hover {
  background: rgba(20, 32, 82, 1);
}

.btn-full-width {
  width: 100%;
}

/* Hero actions */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

/* Countdown */

.hero-countdown p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.countdown-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.5rem 0 0.4rem;
}

.count-box {
  min-width: 70px;
  padding: 0.5rem 0.7rem;
  border-radius: 0.9rem;
  background: radial-gradient(circle at top, rgba(0, 255, 136, 0.18), rgba(7, 10, 35, 0.9));
  border: 1px solid rgba(0, 255, 136, 0.32);
  text-align: center;
}

.count-number {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
}

.count-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* Hero card */

.hero-card {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top, rgba(0, 255, 136, 0.24), rgba(2, 3, 10, 0.98));
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 255, 136, 0.35);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: -120px;
  background-image: radial-gradient(circle at 20% 0%, rgba(255, 211, 92, 0.35), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(0, 255, 136, 0.24), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.hero-card-header h2 {
  margin: 0.4rem 0 0.6rem;
}

.chip {
  display: inline-flex;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(0, 0, 0, 0.24);
}

.hero-list {
  list-style: none;
  padding-left: 0;
  margin: 0.6rem 0 1rem;
}

.hero-list li {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.hero-card-note {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Secciones generales */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, #070b1c, #02030a);
}

.section-accent {
  background: radial-gradient(circle at center, rgba(0, 255, 136, 0.05), rgba(3, 5, 20, 0.98));
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin: 0.4rem 0 0.4rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  max-width: 36rem;
  margin-inline: auto;
}

.section-badge {
  display: inline-flex;
  padding: 0.18rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

/* Cards */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.card {
  border-radius: var(--radius-lg);
  background: rgba(6, 10, 30, 0.96);
  border: 1px solid var(--border-subtle);
  padding: 1.3rem 1.4rem;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.35);
}

.card h3 {
  margin-top: 0.2rem;
}

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

.card-list {
  list-style: none;
  margin: 0.5rem 0 0.6rem;
  padding-left: 0;
}

.card-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.88rem;
  margin-bottom: 0.3rem;
}

.card-list li::before {
  content: "•";
  position: absolute;
  left: 0.3rem;
  top: 0.1rem;
  color: var(--accent-main);
}

.card-price {
  margin-top: 0.6rem;
  margin-bottom: 0.9rem;
}

/* Nota sección */

.section-footnote {
  margin-top: 1.2rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Experiencia */

.experiencia-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.pill {
  border-radius: 1rem;
  background: rgba(6, 10, 30, 0.96);
  border: 1px solid var(--border-subtle);
  padding: 0.9rem 1rem;
}

.pill h3 {
  font-size: 0.95rem;
  margin: 0 0 0.3rem;
}

.pill p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Highlight box */

.highlight-box {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(0, 255, 136, 0.12), rgba(2, 3, 10, 0.98));
  border: 1px solid rgba(0, 255, 136, 0.4);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.highlight-box h3 {
  margin-top: 0;
}

.highlight-box ul {
  list-style: none;
  padding-left: 0;
  margin: 0.4rem 0 0.8rem;
}

.highlight-box li {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Paquetes */

.packages-grid {
  align-items: stretch;
}

.paquete-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.paquete-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.18rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.paquete-label-hot {
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
}

.paquete-destacado {
  border: 1px solid rgba(0, 255, 136, 0.7);
  background: radial-gradient(circle at top, rgba(0, 255, 136, 0.28), rgba(6, 10, 30, 0.96));
  transform: translateY(-6px);
}

/* FAQ */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.faq-item {
  border-radius: 0.9rem;
  background: rgba(6, 10, 30, 0.96);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-main);
  padding: 0.9rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 0.95rem;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--accent-main);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  transition: max-height 0.22s ease, padding-bottom 0.22s ease;
}

.faq-answer p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0.3rem 0 0.9rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 0.7rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Contacto */

.contacto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.contacto-info p {
  color: var(--text-muted);
}

.contacto-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.contacto-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

/* Form */

.contact-form {
  border-radius: var(--radius-lg);
  background: rgba(6, 10, 30, 0.98);
  border: 1px solid var(--border-subtle);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.8rem;
}

.form-group label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

input,
select,
textarea {
  border-radius: 0.7rem;
  border: 1px solid rgba(154, 165, 205, 0.7);
  background: rgba(3, 6, 22, 0.95);
  color: var(--text-main);
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(158, 165, 193, 0.7);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-main);
  box-shadow: 0 0 0 1px rgba(0, 255, 136, 0.4);
}

textarea {
  resize: vertical;
  min-height: 90px;
}

/* Checkbox */

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.checkbox input[type="checkbox"] {
  margin-top: 0.2rem;
}

.form-footer {
  margin-top: 0.7rem;
}

.form-note {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Footer */

.main-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 1.6rem 0 2rem;
  background: var(--bg-darker);
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  margin: 0.25rem 0;
}

.footer-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Utilidades */

input.error,
textarea.error,
select.error {
  border-color: var(--danger);
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner,
  .experiencia-grid,
  .contacto-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 2rem;
  }

  .hero-card {
    max-width: 420px;
    margin-inline: auto;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pill-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    position: absolute;
    inset: 56px 0 auto;
    margin: 0 auto;
    width: min(1120px, 100% - 2.5rem);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    background: rgba(2, 3, 10, 0.98);
    padding: 0.8rem 0.4rem 0.9rem;
    border-radius: 0 0 16px 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    transform-origin: top;
    transform: scaleY(0.2);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.16s ease, opacity 0.16s ease;
  }

  .main-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-cta {
    margin-top: 0.3rem;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .header-inner {
    padding-inline: 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}
