:root {
  --bg: #050816;
  --card: #0f172a;
  --accent: #38bdf8;
  --text-light: #e0f7fa;
  --text-muted: #94a3b8;
  --border: rgba(255,255,255,0.08);
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-light);
  line-height: 1.75;
  overflow-x: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -2;
  opacity: 0.55;
  pointer-events: none;
}

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

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(20px);
  background: rgba(5,8,22,0.96);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.logo {
  font-size: clamp(24px, 4.5vw, 30px);
  font-weight: 900;
  letter-spacing: -1.6px;
  text-decoration: none;
  color: var(--text-light);
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-light); }

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #07111f;
  padding: 14px 28px;
  border-radius: 9999px;
  font-weight: 800;
  font-size: clamp(15px, 2.2vw, 17px);
  box-shadow: 0 16px 40px rgba(56,189,248,0.35);
  transition: all 0.35s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 55px rgba(56,189,248,0.45);
}
.nav-cta {
  padding: 11px 22px !important;
  font-size: 15px !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.4rem;
  cursor: pointer;
}

/* HERO */
.hero-section {
  padding: 140px 0 90px;
  text-align: center;
  position: relative;
}

.badge {
  display: inline-block;
  background: rgba(56,189,248,0.12);
  color: #38bdf8;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: 0.03em;
}

.hero-section h1 {
  margin: 20px 0 28px;
  font-size: clamp(34px, 7.5vw, 62px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -1.5px;
}
.hero-section h1 .gradient {
  background: linear-gradient(90deg, #38bdf8, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: clamp(17px, 2.8vw, 21px);
  max-width: 820px;
  margin: 0 auto 40px;
  color: #cbd5e1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-light);
  border: 1.5px solid rgba(255,255,255,0.18);
  background: transparent;
  text-decoration: none;
  transition: all 0.3s;
}
.secondary-btn:hover {
  border-color: var(--accent);
  background: rgba(56,189,248,0.08);
}

/* SEARCH */
.search-section {
  padding: 0 0 60px;
  position: relative;
  z-index: 5;
}
.search-card {
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(56,189,248,0.25);
  border-radius: 24px;
  padding: 28px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  max-width: 780px;
  margin: 0 auto;
}
.search-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
  color: var(--accent);
}
.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}
.search-input-wrap { position: relative; }
.search-input-wrap input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(5,8,22,0.8);
  color: var(--text-light);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.search-input-wrap input:focus { border-color: var(--accent); }
.search-input-wrap input::placeholder { color: #64748b; }

.suggestions {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #0f172a;
  border: 1px solid rgba(56,189,248,0.3);
  border-radius: 12px;
  margin-top: 6px;
  max-height: 280px;
  overflow-y: auto;
  z-index: 50;
  display: none;
}
.suggestions.show { display: block; }
.suggestion-item {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s;
}
.suggestion-item:hover,
.suggestion-item.active {
  background: rgba(56,189,248,0.12);
  color: var(--accent);
}
.suggestion-item:last-child { border-bottom: none; }

.search-hint {
  text-align: center;
  margin-top: 14px;
  font-size: 0.85rem;
  color: #64748b;
}

/* PREMIUM MESSAGE */
.premium-message {
  background: linear-gradient(135deg, #0f172a, #1e2937);
  color: #e0f2fe;
  padding: 28px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: clamp(16px, 2.1vw, 19px);
  text-align: center;
  border: 2px solid #38bdf8;
  box-shadow: 0 12px 40px rgba(56,189,248,0.3);
  margin: 30px auto 50px;
  max-width: 1000px;
  position: relative;
  overflow: hidden;
}
.premium-message::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  transform: rotate(30deg);
  pointer-events: none;
}

/* SECTIONS */
section { padding: 100px 0; position: relative; }
.section-alt { background: rgba(255,255,255,0.015); }
.section-dark { background: #0a1324; }

.section-title h2 {
  font-size: clamp(30px, 5.5vw, 48px);
  letter-spacing: -2px;
  text-align: center;
  margin-bottom: 18px;
  line-height: 1.15;
  font-weight: 900;
}
.section-subtitle {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
  font-size: 17.5px;
  color: #94a3b8;
}

.card-base {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 22px;
  padding: 36px 28px;
  transition: all 0.35s ease;
  height: 100%;
}
.card-base:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  background: rgba(255,255,255,0.055);
}

.eco-header {
  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
}
.eco-list {
  list-style: none;
  line-height: 2.1;
  color: #cbd5e1;
  font-size: 0.95rem;
}
.eco-list li::before {
  content: "• ";
  color: var(--accent);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.text-center { text-align: center; }
.accent { color: var(--accent); margin-bottom: 14px; }
.muted { color: #cbd5e1; }
.mt-40 { margin-top: 40px; }

/* LEVELS */
.level-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s;
}
.level-card:hover { border-color: rgba(56,189,248,0.4); }
.level-card.select {
  border-color: rgba(56,189,248,0.45);
  background: linear-gradient(180deg, rgba(56,189,248,0.08) 0%, rgba(15,23,42,0.6) 50%);
}
.level-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  width: fit-content;
}
.level-card.select .level-badge {
  background: rgba(56,189,248,0.15);
  color: #38bdf8;
}
.level-card.local .level-badge {
  background: rgba(255,255,255,0.06);
  color: #94a3b8;
}
.level-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.level-tagline {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 22px;
}
.level-list { flex: 1; margin-bottom: 24px; list-style: none; }
.level-list li {
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.95rem;
  color: #cbd5e1;
}
.level-list li:last-child { border-bottom: none; }
.level-list li::before {
  content: "• ";
  color: var(--accent);
  font-weight: 700;
}
.level-price {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.level-price span {
  font-size: 1rem;
  font-weight: 600;
  color: #94a3b8;
}
.level-price-note {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 20px;
}

/* ZONE */
.zone-box {
  background: rgba(15,23,42,0.8);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 20px;
  padding: 32px;
  max-width: 560px;
  margin: 0 auto;
}
.zone-box h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--accent);
}
.zone-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.95rem;
}
.zone-row:last-child { border-bottom: none; }
.status {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}
.status-taken { background: rgba(34,197,94,0.15); color: #4ade80; }
.status-free { background: rgba(255,255,255,0.06); color: #94a3b8; }
.zone-note {
  text-align: center;
  max-width: 560px;
  margin: 28px auto 0;
  color: #94a3b8;
  font-size: 0.95rem;
}

/* GUIDE */
.guide-img-wrap { text-align: center; margin-bottom: 40px; }
.guide-img {
  max-width: 100%;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.55);
}
.guide-text {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 20px;
  color: #cbd5e1;
}

.flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 420px;
  margin: 30px auto 0;
}
.flow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  font-weight: 500;
}
.flow-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(56,189,248,0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.flow-line {
  width: 2px;
  height: 16px;
  background: rgba(255,255,255,0.1);
  margin-left: 16px;
}

/* CATEGORIES */
.cat-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 40px 0 36px;
}
.cat-tag {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #cbd5e1;
  transition: all 0.2s;
  cursor: default;
}
.cat-tag:hover {
  border-color: var(--accent);
  background: rgba(56,189,248,0.1);
  color: var(--accent);
}

/* PRICE BOX */
.price-box {
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(56,189,248,0.3);
  border-radius: 24px;
  padding: 36px;
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
}
.price-box .amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.price-box .amount span {
  font-size: 1.1rem;
  font-weight: 600;
  color: #94a3b8;
}
.price-desc {
  margin-top: 10px;
  color: #94a3b8;
}
.price-alt {
  margin-top: 14px;
  font-size: 0.95rem;
  color: #94a3b8;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.price-box .primary-btn { margin-top: 22px; }

/* CITIES */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 40px;
}
.city-chip {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}
.city-chip:hover {
  border-color: var(--accent);
  background: rgba(56,189,248,0.08);
  color: var(--accent);
}
.cities-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.88rem;
  color: #64748b;
}

/* FORM */
.join-section {
  background: linear-gradient(135deg, #0c1224, #0a1324);
  padding: 110px 0 120px;
}
.form-wrap {
  max-width: 640px;
  margin: 40px auto 0;
  background: rgba(15,23,42,0.7);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 24px;
  padding: 36px;
}
.form-type {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}
.form-type label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.92rem;
  transition: all 0.2s;
}
.form-type input { accent-color: #38bdf8; }
.form-type label:has(input:checked) {
  border-color: var(--accent);
  background: rgba(56,189,248,0.1);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #94a3b8;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(5,8,22,0.6);
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}
.form-group textarea { min-height: 90px; resize: vertical; }

.btn-full {
  width: 100%;
  padding: 18px;
  font-size: 17px;
  margin-top: 8px;
}

/* FOOTER */
footer {
  background: #0a1324;
  padding: 70px 0 130px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}
footer p { color: #64748b; margin-bottom: 8px; }
footer a { color: #94a3b8; text-decoration: none; }
footer a:hover { color: var(--accent); }
.footer-brand {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #e0f7fa;
}
.footer-tagline {
  margin-top: 22px;
  font-size: 13px;
}

/* WHATSAPP */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
  z-index: 10000;
  transition: all 0.3s ease;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .search-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 12px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  section { padding: 70px 0; }
  .hero-section { padding: 100px 0 60px; }
  .premium-message {
    padding: 22px 24px;
    border-radius: 36px;
    margin: 24px 12px 40px;
  }
  footer { padding-bottom: 110px; }
  .wa-float {
    bottom: 18px;
    right: 18px;
    width: 54px;
    height: 54px;
    font-size: 26px;
  }
  .form-wrap { padding: 26px 18px; }
}
@media (max-width: 480px) {
  .grid-3 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .primary-btn,
  .hero-actions .secondary-btn {
    width: 100%;
    max-width: 320px;
  }
}

/* CROSS-SELL */
.cross-sell {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.cross-title {
  text-align: center;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: #e0f7fa;
}
.cross-lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
  color: #94a3b8;
  font-size: 1.05rem;
}
.cross-grid { margin-bottom: 28px; }
.cross-card { text-align: center; }
.cross-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.cross-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #38bdf8;
}
.cross-card p {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.65;
}
.cross-note {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.7;
}
.cross-note strong { color: #38bdf8; }

/* FORM SELECTS */
.form-group select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(5,8,22,0.6);
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group select:focus {
  border-color: var(--accent);
}
.form-group select option {
  background: #0f172a;
  color: #e0f7fa;
}
.tipo-hint {
  font-size: 0.85rem;
  color: #64748b;
  margin: -8px 0 18px;
  text-align: center;
}

/* Selects más visibles */
.form-group select {
  background-color: #0b1220 !important;
  color: #e0f7fa !important;
  min-height: 48px;
  cursor: pointer;
}
.form-group select option,
.form-group select optgroup {
  background: #0f172a;
  color: #e0f7fa;
}
.form-group select optgroup {
  font-weight: 700;
  color: #38bdf8;
}

/* Precio destacado */
#precios-select .card-base {
  min-height: 220px;
}


.form-group.cat-wrap { grid-column: 1 / -1; }
.form-group[hidden],
#wrapCatLocal[hidden],
#wrapCatSelect[hidden] { display: none !important; }
