:root {
  --bg: #eef3fb;
  --bg-deep: #0e1842;
  --bg-deeper: #121b52;
  --surface: #ffffff;
  --surface-soft: #f6f8fd;
  --text: #1b2340;
  --text-soft: #56627f;
  --line: rgba(27, 35, 64, 0.1);
  --primary: #232a8e;
  --primary-strong: #1d2372;
  --accent: #7f96cf;
  --white: #ffffff;
  --container: 1180px;
  --radius: 24px;
  --shadow: 0 24px 60px rgba(12, 17, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
}

img {
  display: block;
  max-width: 100%;
}

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

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  width: 250px;
  max-width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.site-nav a {
  font-weight: 700;
  color: var(--text);
}

.site-nav a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.9rem;
  cursor: pointer;
  color: var(--primary);
}

/* =========================
   HERO PREMIUM
========================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 130px 0 110px;
  background:
    linear-gradient(115deg, rgba(2, 8, 20, 0.88) 10%, rgba(4, 16, 34, 0.82) 45%, rgba(5, 18, 35, 0.90) 100%),
    url("assets/cubes.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #eaf4ff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(88, 199, 255, 0.16), transparent 0 26%),
    radial-gradient(circle at 78% 18%, rgba(37, 99, 235, 0.14), transparent 0 24%),
    linear-gradient(to bottom, rgba(255,255,255,0.02), rgba(255,255,255,0));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 64px;
  align-items: center;
}

.hero-left {
  max-width: 760px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(104, 214, 255, 0.18);
  background: rgba(15, 32, 56, 0.42);
  backdrop-filter: blur(12px);
  color: #8adfff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
  max-width: 900px;
  text-wrap: balance;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.hero h1 span {
  background: linear-gradient(90deg, #7ae0ff, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    text-shadow: 0 6px 30px rgba(0,0,0,0.5);
  
}



/* ===== PARRAFO ===== */
.hero-lead,
.hero p {
  margin: 0;
  max-width: 660px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(235, 244, 255, 0.92); /* mucho más visible */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 34px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(9, 22, 40, 0.58);
  border: 1px solid rgba(121, 213, 255, 0.22);
  color: #eef8ff;
  font-size: 0.92rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}



.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 42px rgba(37, 99, 235, 0.42),
    inset 0 1px 0 rgba(255,255,255,0.16);
}


.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;

  color: #f4fbff;
  border: 1px solid rgba(122, 224, 255, 0.75);
  background: rgba(8, 24, 45, 0.82);
  backdrop-filter: blur(10px);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  color: #ffffff;
  background: rgba(16, 42, 76, 0.96);
  border-color: #7ae0ff;
  box-shadow:
    0 0 24px rgba(122, 224, 255, 0.25),
    0 16px 36px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255,255,255,0.10);
}





/* =========================
   TARJETA DERECHA PREMIUM
========================= */
.hero-right {
  position: relative;
}

.hero-card {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,249,255,0.92));
  border: 1px solid rgba(255,255,255,0.68);
  box-shadow:
    0 26px 70px rgba(0,0,0,0.34),
    0 8px 24px rgba(8, 15, 26, 0.14);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #59d0ff, #3266ff, #59d0ff);
  opacity: 0.95;
}

.hero-card small {
  display: inline-block;
  margin-bottom: 10px;
  color: #6b7280;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-card h3 {
  margin: 0 0 12px;
  color: #102a56;
  font-size: 1.7rem;
  line-height: 1.15;
}

.hero-card p {
  margin: 0;
  color: hsl(214, 17%, 39%);
  line-height: 1.75;
  font-size: 0.98rem;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.mini-card {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff, #eef4fb);
  border: 1px solid rgba(16, 42, 86, 0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

.mini-card strong {
  display: block;
  margin-bottom: 6px;
  color: #1b5fd3;
  font-size: 1.04rem;
  font-weight: 800;
}

.mini-card span {
  display: block;
  color: #617083;
  font-size: 0.92rem;
  line-height: 1.45;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px) {
  .hero {
    padding: 110px 0 90px;
    background-position: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-left {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 90px 0 72px;
  }

  .hero h1 {
    font-size: 2.45rem;
    line-height: 1.02;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    padding: 22px;
    border-radius: 22px;
  }
}



.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: rgba(35, 42, 142, 0.08);
  color: var(--primary);
}

.kicker-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #cdd7ff;
}

.kicker-plain {
  background: rgba(255, 255, 255, 0.12);
  color: #d7deff;
}

.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 span {
  color: var(--primary);
  display: block;
}

.hero-lead {
  max-width: 720px;
  font-size: 1.14rem;
  line-height: 1.75;
  color: var(--text-soft);
}

.hero-points,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-points span {
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(35, 42, 142, 0.08);
  border: 1px solid rgba(35, 42, 142, 0.1);
  color: var(--primary-strong);
  font-weight: 700;
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(35, 42, 142, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 28px;
}

.stat-card h2 {
  margin: 10px 0 14px;
  font-size: 1.8rem;
}

.stat-card p {
  margin: 0;
  line-height: 1.75;
  color: var(--text-soft);
}

.mini-label {
  margin: 0;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.metrics-grid {
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.metrics-grid div {
  padding: 18px;
  border-radius: 20px;
  background: var(--surface-soft);
}

.metrics-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.3rem;
  color: var(--primary);
}

.metrics-grid span {
  color: var(--text-soft);
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s ease;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-strong);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;

  color: #f4fbff;
  border: 1px solid rgba(122, 224, 255, 0.72);
  background: rgba(8, 24, 45, 0.82);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  color: #ffffff;
  background: rgba(16, 42, 76, 0.96);
  border-color: #7ae0ff;
  box-shadow:
    0 0 24px rgba(122, 224, 255, 0.25),
    0 16px 36px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

.btn-block {
  width: 100%;
}

.section {
  padding: 92px 0;
}

.section-light {
  background: var(--surface);
}

.section-soft {
  background: var(--surface-soft);
}

.section-dark {
  background: linear-gradient(135deg, #0f1742 0%, #161f59 100%);
  color: var(--white);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading.narrow {
  max-width: 640px;
}

.section-heading h2 {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.section-heading p {
  margin: 0;
  line-height: 1.75;
  color: var(--text-soft);
}

.cards {
  display: grid;
  gap: 22px;
}

.three-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.service-card,
.contact-form,
.vision-box,
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.06);
}

.card,
.service-card {
  padding: 28px;
}

.card h3,
.service-card h3,
.step h3,
.vision-box h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.card p,
.service-card p,
.step p,
.vision-box p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.about-grid,
.contact-grid,
.cta-box,
.footer-wrap {
  display: grid;
  gap: 28px;
}

.about-grid,
.contact-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.about-grid p:not(.kicker) {
  color: #dfe6ff;
  line-height: 1.8;
}

.vision-box {
  padding: 28px;
  background: rgba(255, 255, 255, 0.97);
}

.check-list {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.check-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step {
  padding: 28px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(35, 42, 142, 0.08);
  color: var(--primary);
  font-weight: 800;
  font-size: 1rem;
}

.cta-section {
  background: linear-gradient(180deg, #eef3fb 0%, #dde6fb 100%);
}

.cta-box {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 36px;
  background: linear-gradient(135deg, #1a2381 0%, #232a8e 100%);
  color: var(--white);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.cta-box p {
  color: #dbe1ff;
  line-height: 1.75;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.contact-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-form {
  padding: 28px;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(86, 98, 127, 0.28);
  font: inherit;
  color: var(--text);
  background: #fff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(35, 42, 142, 0.12);
  border-color: rgba(35, 42, 142, 0.35);
}

.form-note {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--primary);
  font-weight: 800;
}

.site-footer {
  background: #f4f7ff;
  border-top: 1px solid var(--line);
  padding: 26px 0;
}

.footer-wrap {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.footer-logo {
  width: 190px;
  height: auto;
}

.footer-copy p {
  margin: 6px 0 0;
  color: var(--text-soft);
}

@media (max-width: 1024px) {
  .hero-grid,
  .three-cols,
  .timeline,
  .about-grid,
  .contact-grid,
  .cta-box,
  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 72px 0;
  }
}

@media (max-width: 860px) {
  .site-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 86px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .nav-wrap {
    min-height: 78px;
  }

  .brand-logo {
    width: 185px;
  }

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

  .metrics-grid {
    grid-template-columns: 1fr;
  }
}


.vision-box {
  background: #ffffff;
  color: #0f172a;
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.vision-box h3 {
  margin-top: 0;
  margin-bottom: 14px;
  color: #0f172a;
}

.vision-box p {
  color: #334155 !important;
  line-height: 1.75;
}

.vision-box .check-list {
  margin: 18px 0 0;
  padding-left: 18px;
}

.vision-box .check-list li {
  color: #475569;
  margin-bottom: 10px;
}