/* ============================================================
   VELA STUDIO — styles.css
   Paleta: --navy #0F1E3D · --navy-dark #0A1530 · --cream #F5EDDC
   Tipografía: Inter 400/500 únicamente
   ============================================================ */

:root {
  --navy:      #0F1E3D;
  --navy-dark: #0A1530;
  --cream:     #F5EDDC;
  --white:     #FFFFFF;
  --font:      'Inter', sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

/* ---- Contenedor ---- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   ETIQUETA (label)
   ============================================================ */
.label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 237, 220, 0.5);
  margin-bottom: 24px;
}

.label--dark {
  color: rgba(15, 30, 61, 0.5);
}

/* ============================================================
   NAVEGACIÓN
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(245, 237, 220, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  gap: 24px;
}

.nav-logo {
  font-size: 13px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.12em;
  flex-shrink: 0;
}

.nav-links {
  display: none;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  color: rgba(245, 237, 220, 0.7);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--cream);
}

.nav-cta {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  background: var(--cream);
  padding: 9px 18px;
  border-radius: 100px;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  opacity: 0.82;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .nav-cta {
    font-size: 14px;
    padding: 10px 22px;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--navy);
  padding: 64px 0 72px;
}

.hero .label {
  letter-spacing: 0.22em;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(26px, 5.5vw, 50px);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.13;
  max-width: 580px;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 16px;
  color: rgba(245, 237, 220, 0.8);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

@media (min-width: 520px) {
  .hero-ctas {
    flex-direction: row;
    align-items: center;
  }
}

.btn-primary {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  background: var(--cream);
  padding: 14px 28px;
  border-radius: 100px;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  opacity: 0.84;
}

.hero-email {
  font-size: 15px;
  color: var(--cream);
  text-decoration: underline;
  text-decoration-color: rgba(245, 237, 220, 0.35);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease;
}

.hero-email:hover {
  text-decoration-color: var(--cream);
}

.hero-small {
  font-size: 13px;
  color: rgba(245, 237, 220, 0.45);
  margin-top: 8px;
}

/* ============================================================
   PARA QUIÉN ES
   ============================================================ */
.para-quien {
  background: var(--cream);
  padding: 64px 0;
}

.para-quien h2 {
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.18;
  max-width: 600px;
  margin-bottom: 16px;
}

.para-quien .section-desc {
  font-size: 16px;
  color: rgba(15, 30, 61, 0.65);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 52px;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 560px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 32px;
  }
}

@media (min-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 40px;
  }
}

.card-border {
  border-top: 1px solid rgba(15, 30, 61, 0.18);
  padding: 20px 16px 28px 0;
}

.card-border h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
}

.card-border p {
  font-size: 14px;
  color: rgba(15, 30, 61, 0.58);
  line-height: 1.55;
}

/* Stagger grid-4 fade-in */
.grid-4 .card-border:nth-child(1) { transition-delay: 0s;     }
.grid-4 .card-border:nth-child(2) { transition-delay: 0.09s;  }
.grid-4 .card-border:nth-child(3) { transition-delay: 0.18s;  }
.grid-4 .card-border:nth-child(4) { transition-delay: 0.27s;  }

/* ============================================================
   PROCESO
   ============================================================ */
.proceso {
  background: var(--navy);
  padding: 64px 0;
}

.proceso h2 {
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.18;
  margin-bottom: 48px;
}

.steps {
  display: flex;
  flex-direction: column;
}

.step {
  display: flex;
  gap: 28px;
  border-top: 1px solid rgba(245, 237, 220, 0.13);
  padding: 28px 0;
}

.step:last-child {
  border-bottom: 1px solid rgba(245, 237, 220, 0.13);
}

.step-num {
  font-size: 12px;
  font-weight: 400;
  color: rgba(245, 237, 220, 0.38);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  min-width: 28px;
  padding-top: 3px;
}

.step-content h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 15px;
  color: rgba(245, 237, 220, 0.65);
  line-height: 1.65;
  max-width: 560px;
}

/* Stagger steps fade-in */
.steps .step:nth-child(1) { transition-delay: 0s;    }
.steps .step:nth-child(2) { transition-delay: 0.1s;  }
.steps .step:nth-child(3) { transition-delay: 0.2s;  }

/* ============================================================
   PRECIOS
   ============================================================ */
.precios {
  background: var(--cream);
  padding: 64px 0;
}

.precios h2 {
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 48px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.pricing-card {
  padding: 32px;
  border-radius: 16px;
  position: relative;
}

.pricing-card--white {
  background: var(--white);
  color: var(--navy);
}

.pricing-card--navy {
  background: var(--navy);
  color: var(--cream);
}

.pricing-card h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 20px;
}

.price {
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 6px;
}

.pricing-card--white .price { color: var(--navy); }
.pricing-card--navy  .price { color: var(--cream); }

.price span {
  font-size: 20px;
  font-weight: 400;
}

.price-detail {
  font-size: 12px;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  opacity: 0.45;
}

.pricing-card p {
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.72;
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--navy);
  background: var(--cream);
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

/* Stagger pricing cards fade-in */
.grid-3 .pricing-card:nth-child(1) { transition-delay: 0s;    }
.grid-3 .pricing-card:nth-child(2) { transition-delay: 0.1s;  }
.grid-3 .pricing-card:nth-child(3) { transition-delay: 0.2s;  }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  background: var(--navy);
  padding: 64px 0 72px;
}

.cta-final h2 {
  font-size: clamp(28px, 5.5vw, 50px);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.13;
  max-width: 560px;
  margin-bottom: 16px;
}

.cta-final .section-desc {
  font-size: 16px;
  color: rgba(245, 237, 220, 0.7);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}

.cta-email {
  margin-top: 20px;
  font-size: 15px;
}

.cta-email a {
  color: rgba(245, 237, 220, 0.6);
  text-decoration: underline;
  text-decoration-color: rgba(245, 237, 220, 0.25);
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.cta-email a:hover {
  color: var(--cream);
  text-decoration-color: rgba(245, 237, 220, 0.6);
}

/* Stagger CTA fade-in */
.cta-final .fade-in:nth-child(1) { transition-delay: 0s;    }
.cta-final .fade-in:nth-child(2) { transition-delay: 0.08s; }
.cta-final .fade-in:nth-child(3) { transition-delay: 0.16s; }
.cta-final .fade-in:nth-child(4) { transition-delay: 0.24s; }
.cta-final .fade-in:nth-child(5) { transition-delay: 0.32s; }

/* ============================================================
   PADDING VERTICAL — desktop (restaura valores generosos)
   ============================================================ */
@media (min-width: 768px) {
  .hero       { padding: 80px 0 100px; }
  .para-quien { padding: 88px 0; }
  .proceso    { padding: 88px 0; }
  .precios    { padding: 88px 0; }
  .cta-final  { padding: 100px 0 108px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(245, 237, 220, 0.1);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer p,
.footer a {
  font-size: 13px;
  color: rgba(245, 237, 220, 0.45);
}

.footer a:hover {
  color: rgba(245, 237, 220, 0.75);
}

/* ============================================================
   ANIMACIONES FADE-IN (Intersection Observer)
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
