:root {
  --bg-main: #0b0f1a;
  --bg-alt: #11162a;
  --bg-soft: #0e1322;
  --text-main: #e5e7eb;
  --accent-blue: #00d4ff;
  --accent-purple: #7c5cff;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(11, 15, 26, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 100;
}

.logo {
  font-weight: 700;
  font-size: 1.4rem;
}

.logo-primary { color: var(--accent-blue); }
.logo-secondary { color: var(--accent-purple); }

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  position: relative;
  transition: color 0.25s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  transition: width 0.3s var(--ease);
}

.nav a:hover::after {
  width: 100%;
}

.nav a:hover {
  color: var(--accent-blue);
}

.nav:active {
  color: var(--text-main) ;
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 6rem 2rem;
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Dividers */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.divider.angled {
  height: 80px;
  background: linear-gradient(135deg, var(--bg-main) 50%, var(--bg-alt) 50%);
}

/* Sections */
.section {
  padding: 4.5rem 2rem;
  text-align: center;
}

.section.alt {
  background: var(--bg-alt);
}

/* About */
.about-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 3rem;
}

.about-card {
  background: var(--bg-soft);
  padding: 2rem;
  border-radius: 18px;
}

.about-card span {
  font-size: 2.4rem;
  color: var(--accent-blue);
}

/* Plans */
.plans {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 3rem;
}

.plan-card {
  background: var(--bg-soft);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: left;
}

.plan-card.featured {
  position: relative;
}

/* CONTACT METHODS */
.contact-methods {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: var(--text-main);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border 0.35s var(--ease);
}

.contact-item svg {
  width: 22px;
  height: 22px;
  fill: #25d366;
}

.contact-item:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 211, 102, 0.5);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.18);
}

.contact-item:active {
  transform: scale(0.97);
}


.plan-card.featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background: linear-gradient(
    120deg,
    var(--accent-blue),
    var(--accent-purple)
  );
  opacity: 0.25;
  filter: blur(14px);
  z-index: -1;
}


.plan-card ul {
  margin-top: 1.2rem;
  padding-left: 1rem;
}

.plan-card li {
  margin-bottom: 0.6rem;
}

/* Coverage & Payments */
.coverage, .payments {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.coverage-item, .payment-item {
  text-align: center;
}

.coverage-item span,
.payment-item span {
  font-size: 2.2rem;
  color: var(--accent-blue);
}

/* FOOTER MINIMAL */
.site-footer {
  margin-top: 120px;
  padding: 40px 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.015),
    rgba(0, 0, 0, 0.25)
  );
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

/* Copy */
.footer-content p {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Divider */
.footer-divider {
  width: 120px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--accent-blue),
    transparent
  );
}

/* Links */
.footer-links {
  display: flex;
  gap: 26px;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  transition: color 0.25s var(--ease);
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--accent-blue);
  transition: width 0.25s var(--ease);
}

.footer-links a:hover {
  color: var(--accent-blue);
}

.footer-links a:hover::after {
  width: 100%;
}

/* Mobile */
@media (max-width: 480px) {
  .footer-links {
    gap: 18px;
  }
}

/* LEGAL PAGES */
.legal-section {
  padding: 140px 0 100px;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(32px, 5vw, 44px);
  margin-bottom: 6px;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal-content section {
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.legal-content p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 15.5px;
}


/* Responsive */
.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
  }

  .hero h1 {
    font-size: 1.9rem;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero más pequeño para subpáginas */
.hero-small {
  padding: 4.5rem 2rem;
  max-width: 800px;
}

/* Proceso */
.process {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 3rem;
}

.process-step {
  background: var(--bg-soft);
  padding: 2rem;
  border-radius: 18px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.08);
}

.process-step span {
  font-size: 2.4rem;
  color: var(--accent-blue);
  margin-bottom: 0.6rem;
}

/* Precios */
.price {
  margin: 1rem 0;
  font-weight: 600;
  color: var(--accent-blue);
  line-height: 1.5;
}

/* Contacto */
.contact-box {
  max-width: 600px;
  margin: 2.5rem auto 0;
  background: var(--bg-soft);
  padding: 2.5rem;
  border-radius: 20px;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.contact-methods span {
  font-size: 2rem;
  color: var(--accent-purple);
}

.note {
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

.contact-item {
  text-align: center;
}

.contact-item a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s var(--ease);
}

.contact-item a:hover {
  color: var(--accent-blue);
}

/* 404 SECTION (NORMAL PAGE STYLE) */
.error-section {
  padding: 140px 0 100px;
  text-align: center;
}

.error-content {
  max-width: 560px;
  margin: 0 auto;
  animation: fadeUp 0.7s ease forwards;
}

.error-code {
  font-size: clamp(90px, 15vw, 140px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(
    135deg,
    var(--accent-blue),
    var(--accent-purple)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.error-content h2 {
  font-size: 28px;
  margin-bottom: 14px;
}

.error-content p {
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

