/* ─────────────── DESIGN TOKENS ─────────────── */
:root {
  --navy-900:   #0a1f3d;   /* azul marino profundo — background dark */
  --navy-800:   #10284d;
  --navy-700:   #1a3560;
  --navy-600:   #2a4a7f;
  --navy-500:   #3e5f9a;
  --navy-400:   #6b85b8;

  --white:      #ffffff;
  --off-white:  #f7f9fc;
  --gray-100:   #eef1f6;
  --gray-300:   #c9d0dd;
  --gray-500:   #7d8699;
  --gray-700:   #3d4557;
  --gray-900:   #0f1116;

  --black:      #000000;

  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  22px;
  --radius-xl:  32px;

  --shadow-sm:  0 1px 2px rgba(10, 31, 61, 0.08);
  --shadow:     0 8px 24px rgba(10, 31, 61, 0.10);
  --shadow-lg:  0 24px 60px rgba(10, 31, 61, 0.18);

  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --max-width:  1120px;
}

/* ─────────────── RESET ─────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }

/* ─────────────── LAYOUT ─────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 90px 0;
}
.section--dark {
  background: var(--navy-900);
  color: var(--white);
}
.section--dark .section__prose {
  color: var(--gray-300);
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 800px) {
  .section { padding: 64px 0; }
  .grid-2 { grid-template-columns: 1fr; gap: 24px; }
}

/* ─────────────── TIPOGRAFÍA ─────────────── */
.section__eyebrow, .hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-500);
  margin-bottom: 14px;
}
.section--dark .section__eyebrow {
  color: var(--navy-400);
}
.section__title {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section__subtitle {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto;
}
.section--dark .section__subtitle {
  color: var(--gray-300);
}
.section__header {
  text-align: center;
  margin-bottom: 60px;
}

/* ─────────────── NAV ─────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(10, 31, 61, 0.08);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav__logo-img--footer {
  filter: brightness(0) invert(1);   /* logo blanco sobre fondo negro del footer */
  opacity: 0.85;
}
.nav__logo-text {
  font-size: 18px;
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
.nav__logo-text strong {
  font-weight: 800;
}
.nav__links {
  display: flex;
  gap: 32px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.2s;
}
.nav__links a:hover {
  color: var(--navy-900);
}
@media (max-width: 640px) {
  .nav__links { display: none; }
}

/* ─────────────── HERO ─────────────── */
.hero {
  position: relative;
  padding: 120px 0 100px;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: center;
}
.hero__eyebrow {
  color: var(--navy-600);
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  margin-bottom: 22px;
}
.hero__title em {
  font-style: normal;
  color: var(--navy-600);
  font-weight: 800;
}
.hero__lead {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--gray-700);
  max-width: 620px;
  margin: 0 auto 36px;
}
.hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  background: radial-gradient(circle at center, rgba(42, 74, 127, 0.10) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 800px) {
  .hero { padding: 80px 0 70px; }
}

/* ─────────────── BUTTONS ─────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.15s, background 0.2s, color 0.2s, box-shadow 0.2s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--black);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn--ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: rgba(10, 31, 61, 0.15);
}
.btn--ghost:hover {
  border-color: var(--navy-900);
  background: rgba(10, 31, 61, 0.04);
}
.btn--lg {
  padding: 16px 32px;
  font-size: 15px;
}

/* ─────────────── PRODUCTS ─────────────── */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  min-height: 320px;
}
.product:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-500);
}
.product__badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-500);
}
.product__badge--live {
  background: var(--navy-900);
  color: var(--white);
}
.product__name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.product__tagline {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.55;
}
.product__features {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product__features li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.5;
}
.product__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy-600);
}
.product__link {
  align-self: flex-start;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-900);
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.product__link:hover {
  border-bottom-color: var(--navy-900);
}
.product--coming {
  background: var(--off-white);
  border-style: dashed;
  border-color: var(--gray-300);
}
.product--coming:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--navy-500);
}
.product--coming .product__name {
  color: var(--gray-500);
}
.product__coming-icon {
  margin-top: auto;
  color: var(--gray-300);
  padding-top: 12px;
}
@media (max-width: 900px) {
  .products { grid-template-columns: 1fr 1fr; }
  .product--coming:nth-child(3) { display: none; }
}
@media (max-width: 620px) {
  .products { grid-template-columns: 1fr; }
  .product--coming:nth-child(3) { display: flex; }
  .product { min-height: auto; }
}

/* ─────────────── CTA CARD ─────────────── */
.cta-card {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-card__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.cta-card__text {
  font-size: 15px;
  color: var(--gray-300);
  max-width: 480px;
}
.cta-card .btn--primary {
  background: var(--white);
  color: var(--navy-900);
}
.cta-card .btn--primary:hover {
  background: var(--gray-100);
}
@media (max-width: 780px) {
  .cta-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
    align-items: center;
  }
}

/* ─────────────── FOOTER ─────────────── */
.footer {
  background: var(--black);
  color: var(--gray-300);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__brand .nav__logo-text {
  color: var(--white);
}
.footer__copy, .footer__tag {
  font-size: 13px;
  color: var(--gray-500);
}
@media (max-width: 640px) {
  .footer__inner { flex-direction: column; text-align: center; }
}
