:root {
  --bg-black: #0a0a0c;
  --bg-dark-gray: #141418;
  --bg-card: #1b1b20;
  --border-gray: #2c2c34;
  --text-white: #f4f4f6;
  --text-muted: #a1a1aa;
  --gold-primary: #d4af37;
  --gold-light: #f3d06b;
  --wa-green: #25d366;
  --wa-dark: #1ebe5d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-black);
  color: var(--text-white);
  line-height: 1.6;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar (Fondo claro sutil para que el logo con letras oscuras resalte con nitidez) */
.navbar {
  background-color: #f4f4f6;
  border-bottom: 2px solid var(--gold-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 52px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

/* Botones */
.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  text-align: center;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  color: #0a0a0c;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(212, 175, 55, 0.45);
}

.btn-outline-gold {
  background-color: transparent;
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.btn-outline-gold:hover {
  background-color: rgba(212, 175, 55, 0.14);
  color: #ffffff;
}

.btn-whatsapp {
  background-color: var(--wa-green);
  color: #07190e;
  font-weight: 700;
}

.btn-whatsapp:hover {
  background-color: var(--wa-dark);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 90px 0 80px;
  background: radial-gradient(circle at top center, #211d12 0%, var(--bg-black) 68%);
  text-align: center;
  border-bottom: 1px solid var(--border-gray);
}

.hero-content {
  max-width: 850px;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.4);
  background-color: rgba(212, 175, 55, 0.08);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.text-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Servicios */
.services-section {
  padding: 85px 0;
  background-color: var(--bg-dark-gray);
}

.section-header {
  text-align: center;
  margin-bottom: 54px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-gray);
  border-radius: 18px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
}

.card-number {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.3;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 26px;
  flex-grow: 1;
}

/* Precio / Inversión */
.pricing-section {
  padding: 85px 0;
  background-color: var(--bg-black);
}

.pricing-box {
  background: linear-gradient(145deg, var(--bg-card) 0%, #121216 100%);
  border: 1px solid var(--gold-primary);
  border-radius: 22px;
  padding: 46px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.badge-gold {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #0a0a0c;
  background-color: var(--gold-primary);
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.pricing-info h2 {
  font-size: 1.85rem;
  margin-bottom: 14px;
}

.pricing-info p {
  color: var(--text-muted);
  margin-bottom: 22px;
}

.benefits-list {
  list-style: none;
  color: var(--text-white);
  font-size: 0.95rem;
}

.benefits-list li {
  margin-bottom: 10px;
}

.pricing-action {
  background-color: var(--bg-black);
  border: 1px solid var(--border-gray);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.price-tag {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 10px;
}

.price-tag .currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.price-tag .period {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted);
}

.price-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-gray);
  padding: 32px 0;
  background-color: var(--bg-dark-gray);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Botón Flotante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--wa-green);
  color: #07190e;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  z-index: 90;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 999;
  overflow-y: auto;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-gray);
  border-radius: 20px;
  max-width: 540px;
  width: 100%;
  padding: 34px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  max-height: 92vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.9rem;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--gold-light);
}

.modal-box h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: var(--text-white);
}

/* Recuadro de respuesta limpio sin línea dorada */
.modal-desc {
  font-size: 0.93rem;
  color: var(--text-white);
  margin-bottom: 20px;
  background-color: var(--bg-black);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--border-gray);
}

.modal-desc ul {
  margin-top: 10px;
  padding-left: 18px;
  color: var(--text-muted);
}

.modal-desc li {
  margin-bottom: 6px;
}

.form-divider {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--border-gray);
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-white);
}

.form-group input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-gray);
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.94rem;
}

.form-group input:focus {
  outline: none;
  border-color: var(--gold-primary);
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 768px) {
  .pricing-box {
    grid-template-columns: 1fr;
    padding: 30px 22px;
  }
  .brand-logo {
    height: 42px;
    max-width: 210px;
  }
}
