:root{
  --bg: #0b1220;
  --bg2:#0a4da3;
  --text:#eaf2ff;
  --muted: rgba(234,242,255,.78);
  --card: rgba(255,255,255,.06);
  --line: rgba(255,255,255,.10);
  --accent:#60a5fa;
  --accent2:#ff6b4a;
}

*{ box-sizing: border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--text);
}

a{ color: inherit; text-decoration: none; }
.container{
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.site-header{
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(11,18,32,.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  font-weight: 800;
}
.brand-icon{ width: 34px; height: 34px; color: var(--accent); }
.brand-text{ letter-spacing:.2px; }

.nav{
  display:flex;
  gap: 16px;
  align-items:center;
}
.nav a{
  color: rgba(234,242,255,.85);
  font-weight: 650;
  padding: 10px 10px;
  border-radius: 12px;
}
.nav a:hover{
  background: rgba(255,255,255,.06);
  color: #fff;
}

.menu-btn{
  display:none;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 14px;
  cursor:pointer;
  font-weight: 800;
  align-items:center;
  gap:10px;
}
.menu-icon{
  width: 18px;
  height: 2px;
  background: currentColor;
  display:inline-block;
  position: relative;
}
.menu-icon::before,
.menu-icon::after{
  content:"";
  position:absolute;
  left:0;
  width:100%;
  height:2px;
  background: currentColor;
}
.menu-icon::before{ top:-6px; }
.menu-icon::after{ top:6px; }

/* HERO */
.hero{
  background:
    radial-gradient(circle at 15% 20%, rgba(96,165,250,.25), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(255,107,74,.18), transparent 40%),
    linear-gradient(135deg, #0a4da3, #0b1220 55%);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: center;
}
.hero h1{
  margin:0;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.lead{
  margin: 14px 0 0;
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.05rem;
}
.hero-badges{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.badge{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 750;
  font-size: .92rem;
}
.hero-cta{
  display:flex;
  gap: 12px;
  margin-top: 22px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-weight: 800;
}
.btn-primary{
  background: var(--accent);
  color: #081126;
  border-color: transparent;
}
.btn-ghost{
  background: rgba(255,255,255,.04);
}

.hero-card{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  border-radius: 18px;
  padding: 18px;
}
.hero-card h3{ margin: 0 0 10px; }
.hero-card ul{ margin: 0; padding-left: 18px; color: rgba(234,242,255,.85); }
.hero-card li{ margin: 8px 0; }

/* SECTIONS */
.section{
  padding: 56px 0;
}
.section h2{
  margin: 0 0 10px;
}
.section p{
  margin: 0;
  color: var(--muted);
}

/* FOOTER */
.footer{
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.footer-muted{ color: var(--muted); }

/* RESPONSIVE */
@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; }
  .menu-btn{ display:inline-flex; }
  .nav{ display:none; width:100%; flex-direction:column; align-items:flex-start; padding: 12px 0 0; }
  .nav.nav-open{ display:flex; }
  .header-inner{ flex-wrap: wrap; }
}
.footer{
  background: #0b1220;
}
/* =========================
   FOOTER
========================= */

.footer{
  background: #0b1220;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: auto;
}

.footer-container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

/* BLOQUES */
.footer-block{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-title{
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
}

/* BRAND */
.footer-logo{
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-icon{
  color: #60a5fa;
}

.footer-logo-text{
  font-size: 1.05rem;
  font-weight: 900;
}

.footer-brand-text{
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
}

/* LISTAS */
.footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-item{
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.footer-link{
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 600;
}

.footer-link:hover{
  color: #ffffff;
  text-decoration: underline;
}

/* DOT */
.dot{
  width: 6px;
  height: 6px;
  background: #60a5fa;
  border-radius: 50%;
  flex-shrink: 0;
}

/* FOOTER BOTTOM */
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 24px;
}

.footer-bottom-inner{
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

.copyright-icon{
  font-weight: 900;
}

/* RESPONSIVE */
@media (max-width: 640px){
  .footer-container{
    gap: 24px;
  }

  .footer-bottom-inner{
    text-align: center;
    flex-direction: column;
  }
}
/* =========================
   PLANES
========================= */

.plans-wrapper{
  padding: 64px 0;
}

.plans{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.plan{
  position: relative;
  background: #ffffff;
  color: #0b1220;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 12px 24px rgba(13,99,197,0.18);
}

.plan h3{
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.plan p{
  margin: 6px 0 0;
  color: #475569;
}

.price{
  margin-top: 14px;
  font-size: 1.6rem;
  font-weight: 900;
  color: #0d63c5;
}

.price span{
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
}

.plan ul{
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan li{
  font-weight: 600;
  color: #334155;
}

/* CTA */
.cta{
  margin-top: auto;
}

.button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  background: #0d63c5;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.button:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(13,99,197,0.35);
}

/* PLAN DESTACADO */
.plan.profesional{
  border: 2px solid #0d63c5;
  background: linear-gradient(180deg, #ffffff, #f0f6ff);
  box-shadow: 0 18px 48px rgba(13,99,197,0.28);
}

.chip{
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  background: rgba(13,99,197,0.1);
  color: #0d63c5;
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: 999px;
}

/* RESPONSIVE */
@media (max-width: 600px){
  .plans{
    gap: 18px;
  }
}
/* =========================
   PLANES PAGE (estilo tipo Hostinger)
========================= */

.plans-page{
  background: #0b1220;
  color: #eaf2ff;
}

/* Topbar */
.plans-topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 8, 38, 0.65);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.plans-topbar-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.topbar-brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.topbar-logo{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed, #60a5fa);
  box-shadow: 0 10px 22px rgba(124,58,237,0.30);
}

.topbar-links{
  display: inline-flex;
  gap: 14px;
  align-items: center;
}

.topbar-links a{
  color: rgba(234,242,255,0.85);
  font-weight: 650;
  padding: 10px 10px;
  border-radius: 12px;
}

.topbar-links a:hover{
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.topbar-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(234,242,255,0.28);
  background: rgba(255,255,255,0.04);
  font-weight: 850;
}

/* Hero */
.plans-hero{
  background:
    radial-gradient(circle at 25% 20%, rgba(124,58,237,0.40), transparent 55%),
    radial-gradient(circle at 75% 15%, rgba(96,165,250,0.25), transparent 50%),
    linear-gradient(180deg, #1b0f3f, #0b1220 70%);
  padding: 70px 0 46px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.plans-hero-inner{
  text-align: center;
  max-width: 980px;
}

.plans-hero h1{
  margin: 0;
  font-size: clamp(2.2rem, 4.3vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.plans-chips{
  margin-top: 22px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-pill{
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(234,242,255,0.90);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.chip-pill.is-active{
  background: #ffffff;
  color: #111827;
  border-color: transparent;
}

/* Section header */
.plans-main{
  padding: 44px 0 64px;
}

.plans-heading{
  text-align: center;
  margin-bottom: 26px;
}

.plans-heading h2{
  margin: 0;
  font-size: 2.1rem;
}

.plans-sub{
  margin: 10px 0 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(234,242,255,0.78);
  font-weight: 650;
}

.plans-filters{
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 360px));
  gap: 14px;
  justify-content: center;
}

.select{
  text-align: left;
  display: grid;
  gap: 8px;
}

.select span{
  color: rgba(234,242,255,0.78);
  font-weight: 700;
  font-size: 0.92rem;
}

.select select{
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: #eaf2ff;
  outline: none;
}

/* Pricing cards */
.pricing-grid{
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-card{
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.card-top{
  padding: 18px 18px 12px;
}

.discount{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  font-weight: 850;
  font-size: 0.82rem;
  color: rgba(234,242,255,0.90);
}

.pricing-card h3{
  margin: 14px 0 6px;
  font-size: 1.2rem;
  font-weight: 900;
}

.card-tagline{
  margin: 0;
  color: rgba(234,242,255,0.72);
}

.price-row{
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.currency{
  color: rgba(234,242,255,0.80);
  font-weight: 850;
}

.amount{
  font-size: 2.05rem;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.per{
  color: rgba(234,242,255,0.70);
  font-weight: 750;
}

.card-btn{
  margin-top: 14px;
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.03);
  color: #eaf2ff;
  font-weight: 900;
}

.card-btn:hover{
  background: rgba(255,255,255,0.06);
}

.card-btn.primary{
  border-color: transparent;
  background: linear-gradient(135deg, #7c3aed, #60a5fa);
  color: #0b1220;
}

.tiny-note{
  margin: 10px 0 0;
  color: rgba(234,242,255,0.65);
  font-size: 0.88rem;
}

.card-list{
  margin: 0;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(255,255,255,0.10);
  list-style: none;
  display: grid;
  gap: 10px;
  color: rgba(234,242,255,0.82);
  font-weight: 650;
}

.card-list li::before{
  content: "✓";
  margin-right: 10px;
  color: rgba(96,165,250,0.95);
}

/* Featured */
.pricing-card.featured{
  border-color: rgba(124,58,237,0.55);
  background:
    radial-gradient(circle at 30% 10%, rgba(124,58,237,0.28), transparent 55%),
    rgba(255,255,255,0.05);
  transform: translateY(-8px);
}

.featured-badge{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 10px 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  background: rgba(124,58,237,0.28);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

/* Responsive */
@media (max-width: 980px){
  .pricing-grid{
    grid-template-columns: 1fr;
  }
  .pricing-card.featured{
    transform: none;
  }
  .plans-filters{
    grid-template-columns: 1fr;
  }
  .topbar-links{
    display: none;
  }
}
/* =========================
   GRID DE PLANES
========================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch; /* 🔑 misma altura */
}

/* =========================
   CARD BASE
========================= */
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
}

/* =========================
   CONTENIDO SUPERIOR
========================= */
.pricing-card .card-top {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
}

/* =========================
   LISTA + CTA ABAJO
========================= */
.pricing-card .card-list {
  margin-top: auto;           /* 🔑 empuja al fondo */
  padding: 1.4rem 1.6rem;
}

/* =========================
   BOTÓN UNIFORME
========================= */
.card-btn {
  margin-top: 1.2rem;
}

/* =========================
   DESTACADO (PROFESIONAL)
========================= */
.pricing-card.featured {
  padding-top: 2.2rem;        /* reserva espacio visual */
}

/* Badge "MÁS VENDIDO" */
.featured-badge {
  position: absolute;
  top: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

