:root {
  --bg: #06101d;
  --bg-soft: #0b1728;
  --panel: rgba(255,255,255,0.06);
  --panel-strong: rgba(37, 99, 235, 0.12);
  --line: rgba(255,255,255,0.12);
  --blue: #2563eb;
  --blue-strong: #1d4ed8;
  --cyan: #22d3ee;
  --text: #f8fbff;
  --muted: #a7b4c8;
  --silver: #94a3b8;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(37,99,235,0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(34,211,238,0.12), transparent 25%),
    linear-gradient(180deg, #07101d 0%, #081321 30%, #06101d 100%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
  opacity: 0.5;
}

body::before {
  width: 320px;
  height: 320px;
  background: rgba(37, 99, 235, 0.22);
  top: -80px;
  left: -80px;
}

body::after {
  width: 380px;
  height: 380px;
  background: rgba(34, 211, 238, 0.12);
  right: -120px;
  top: 120px;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(6, 16, 29, 0.72);
  border-bottom: 1px solid var(--line);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  min-height: 76px;
  overflow: visible;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  width: 322px;
  height: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 18px rgba(37,99,235,0.25));
}

.brand-title {
  font-size: 1.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #4ea0ff;
  line-height: 0.9;
  display: inline-block;
  margin-bottom: 1px;
}

.brand-subtitle {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--silver);
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  color: #d8e4f5;
  font-size: 0.92rem;
  transition: 0.25s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--cyan);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: white;
  padding: 10px 14px;
  border-radius: 14px;
  cursor: pointer;
}

.hero {
  padding: 90px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  border: 1px solid rgba(78, 160, 255, 0.28);
  background: rgba(37, 99, 235, 0.11);
  color: #8bc1ff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 18px;
}

.hero-badge-wrap .badge {
  margin-bottom: 0;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.08;
  font-weight: 900;
  margin-bottom: 18px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 700px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 18px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.22s ease, opacity 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  color: #04111d;
  box-shadow: 0 14px 40px rgba(37,99,235,0.28);
}

.btn-secondary {
  background: rgba(255,255,255,0.04);
  border-color: var(--line);
  color: white;
}

.btn-secondary:hover {
  border-color: rgba(34,211,238,0.4);
  background: rgba(37,99,235,0.08);
}

.hero-card,
.card,
.contact-card,
.contact-form,
.plan-card,
.service-card,
.story-card,
.mission-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-card {
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,99,235,0.14), transparent 40%, rgba(34,211,238,0.08));
  pointer-events: none;
}

.panel-screen {
  position: relative;
  background: linear-gradient(145deg, rgba(13, 27, 47, 0.95), rgba(9, 17, 31, 0.96));
  border: 1px solid rgba(78, 160, 255, 0.16);
  border-radius: 24px;
  padding: 28px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.mini-tag {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(37,99,235,0.14);
  color: #8cc4ff;
  border: 1px solid rgba(78, 160, 255, 0.2);
  font-size: 0.82rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 22px;
}

.stat-box strong {
  display: block;
  font-size: 2rem;
  color: #62a6ff;
  margin-top: 8px;
}

.full {
  grid-column: span 2;
}

.progress {
  width: 100%;
  height: 12px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
  margin: 12px 0 10px;
}

.progress span {
  display: block;
  width: 82%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: inherit;
  animation: pulseBar 2.8s infinite alternate;
}

@keyframes pulseBar {
  from { width: 76%; }
  to { width: 88%; }
}

section {
  padding: 26px 0;
}

.section-head {
  margin-bottom: 24px;
}

.eyebrow {
  color: #8fc6ff;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  margin-bottom: 10px;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.15;
}

.story-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 20px;
}

.story-card,
.mission-card {
  padding: 34px;
}

.story-card p,
.mission-card p,
.contact-card p {
  color: var(--muted);
  margin-top: 14px;
  font-size: 1.05rem;
}

.services-grid,
.plans-grid,
.contact-grid {
  display: grid;
  gap: 20px;
}

.services-grid {
  grid-template-columns: repeat(4, 1fr);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  padding: 28px;
  transition: 0.25s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.28);
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #04111d;
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 18px;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
}

.why-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.why-card p {
  color: var(--muted);
}

.service-card {
  padding: 28px;
  transition: 0.25s ease;
}

.service-card:hover,
.plan-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34,211,238,0.28);
}

.service-card h3,
.plan-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-card p,
.plan-card p,
.contact-form p,
.plan-features li,
.contact-list li {
  color: var(--muted);
}

.plans-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.plan-card {
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.plan-card.featured {
  background: linear-gradient(180deg, rgba(37,99,235,0.18), rgba(34,211,238,0.08));
  border-color: rgba(78,160,255,0.35);
  box-shadow: 0 20px 70px rgba(37,99,235,0.18);
}

.featured-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.12);
  color: #bfe1ff;
  border: 1px solid rgba(255,255,255,0.16);
}

.price {
  font-size: 2.4rem;
  font-weight: 900;
  color: #85c1ff;
  margin: 18px 0 4px;
}

.price small {
  font-size: 1rem;
  color: var(--silver);
  font-weight: 400;
}

.plan-features {
  list-style: none;
  margin: 22px 0 26px;
  display: grid;
  gap: 12px;
}

.plan-features li {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.12);
  padding: 12px 14px;
  border-radius: 14px;
}

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-card,
.contact-form {
  padding: 34px;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-toggle {
  min-width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,0.12);
  color: #8cc4ff;
  font-size: 1.2rem;
  font-weight: 900;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  color: var(--muted);
  padding: 0 26px 24px;
}

.faq-item.active {
  border-color: rgba(34, 211, 238, 0.28);
}

.faq-item.active .faq-toggle {
  color: var(--cyan);
}

form {
  display: grid;
  gap: 16px;
}

input,
textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 15px 16px;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: rgba(34,211,238,0.42);
  box-shadow: 0 0 0 4px rgba(34,211,238,0.08);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.92rem;
  color: var(--silver);
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding: 26px 0 36px;
  text-align: center;
  color: var(--silver);
  font-size: 0.95rem;
}

/*.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}*/

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.success-message {
  display: none;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.18);
  color: #c6f5ff;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1fb655);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255,255,255,0.18);
  z-index: 999;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 20px 42px rgba(37, 211, 102, 0.35);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

.section-description {
  color: var(--muted);
  max-width: 820px;
  margin-top: 12px;
  font-size: 1.02rem;
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.domain-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  padding: 28px;
  transition: 0.25s ease;
}

.domain-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.28);
}

.domain-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #04111d;
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 18px;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
}

.domain-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.domain-card p {
  color: var(--muted);
}

.domain-cta {
  margin-top: 24px;
}

.domain-cta-card {
  background: linear-gradient(180deg, rgba(37,99,235,0.14), rgba(34,211,238,0.06));
  border: 1px solid rgba(78,160,255,0.25);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.domain-cta-card p {
  color: var(--muted);
  margin-top: 10px;
  max-width: 720px;
}

.domain-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.domain-pricing {
  margin-top: 32px;
}

.domain-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.domain-price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: 0.25s ease;
}

.domain-price-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.28);
}

.domain-price-card.featured {
  background: linear-gradient(180deg, rgba(37,99,235,0.18), rgba(34,211,238,0.08));
  border-color: rgba(78,160,255,0.35);
  box-shadow: 0 20px 70px rgba(37,99,235,0.18);
}

.domain-price-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.domain-price-card p {
  color: var(--muted);
}

.plan-note {
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}

.plan-note p {
  color: var(--muted);
}

/*MEDIA CONFIGURACIONES PARA TELEFONOS MOVILES*/

@media (max-width: 1080px) {
  .hero-grid,
  .story-layout,
  .contact-grid,
  .plans-grid,
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
  grid-template-columns: 1fr 1fr;
  }

  .story-layout,
  .contact-grid,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .domains-grid {
  grid-template-columns: 1fr 1fr;
  }

  .domain-pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    right: 20px;
    top: calc(100% + 10px);
    width: min(280px, calc(100vw - 40px));
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    border-radius: 18px;
    background: rgba(6, 16, 29, 0.96);
    border: 1px solid var(--line);
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .topbar .container {
    position: relative;
  }

  .services-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
  grid-template-columns: 1fr;
  }

  .full {
    grid-column: span 1;
  }

  .brand-logo {
    width: 220px;
  }

  .domains-grid {
  grid-template-columns: 1fr;
  }

  .domain-pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--max), calc(100% - 24px));
  }

  .hero {
    padding-top: 68px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .topbar .container {
    padding: 6px 0;
    min-height: 68px;
  }

  .brand-logo {
    width: 170px;
  }

  .story-card,
  .mission-card,
  .service-card,
  .plan-card,
  .contact-card,
  .contact-form,
  .panel-screen {
    padding: 22px;
  }
}