/* ============================================================
   Making Experience — Design System
   Base: design system ME (HubSpot styled). Lexend + Fraunces.
   ============================================================ */

:root {
  /* Colores principales */
  --hs-orange:    #FF7A59;
  --hs-orange-dk: #E8573A;
  --hs-orange-lt: #FFF0EC;
  --hs-navy:      #1F3444;
  --hs-navy-md:   #2B4860;
  --hs-cream:     #F5F0E8;
  --hs-cream-dk:  #EDE7DA;
  --hs-teal:      #00A4BD;
  --hs-teal-lt:   #E0F5F8;
  --hs-green:     #00BDA5;
  --hs-green-lt:  #E0F5F2;
  --white:        #FFFFFF;
  --gray-50:      #F7F8FA;
  --gray-100:     #EDF0F5;
  --gray-200:     #D6DCE8;
  --gray-500:     #7A8BA0;
  --gray-700:     #445568;
  --dark:         #0F1F2E;

  /* Tipografía */
  --font:   'Lexend', sans-serif;
  --serif:  'Fraunces', serif;

  /* Layout */
  --max:    1140px;
  --r-sm:   6px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-xl:   32px;
  --r-pill: 50px;

  /* Sombras */
  --sh-sm:  0 1px 6px rgba(15,31,46,.08);
  --sh-md:  0 4px 24px rgba(15,31,46,.12);
  --sh-lg:  0 16px 64px rgba(15,31,46,.18);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.65 }
a { text-decoration: none; color: inherit }
ul { list-style: none }
img { display: block; max-width: 100% }

h1,h2,h3,h4 { line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--hs-navy) }
h1 { font-size: 3rem }
h2 { font-size: 2.4rem }
h3 { font-size: 1.35rem }
p  { color: var(--gray-700) }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 36px }
.s    { padding: 88px 0 }
.s-cream { background: var(--hs-cream) }
.s-gray  { background: var(--gray-50) }
.center  { text-align: center }
.serif   { font-family: var(--serif) }

/* Section head */
.s-head { max-width: 640px; margin-bottom: 48px }
.s-head.center { margin-left: auto; margin-right: auto }
.s-head p { font-size: 1.08rem; margin-top: 14px }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--hs-orange); margin-bottom: 16px;
}
.eyebrow__line { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px }
.eyebrow--teal  { color: var(--hs-teal) }
.eyebrow--light { color: rgba(255,255,255,.55) }
.eyebrow--navy  { color: var(--hs-navy) }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .92rem; font-weight: 700; font-family: var(--font);
  padding: 14px 28px; border-radius: var(--r-pill);
  border: 2px solid transparent; transition: all .2s ease; cursor: pointer;
}
.btn svg { width: 18px; height: 18px }
.btn-orange { background: var(--hs-orange); color: #fff }
.btn-orange:hover { background: var(--hs-orange-dk); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,122,89,.35) }
.btn-ghost-w { background: transparent; color: #fff; border-color: rgba(255,255,255,.35) }
.btn-ghost-w:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7) }
.btn-outline { background: transparent; color: var(--hs-navy); border-color: var(--gray-200) }
.btn-outline:hover { background: var(--hs-navy); color: #fff; border-color: var(--hs-navy) }
.btn-wa { background: #25D366; color: #fff }
.btn-wa:hover { background: #1EBE5B; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,.32) }
.btn-lg { font-size: 1rem; padding: 17px 36px }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,31,46,.97); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 36px;
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.nav__brand { display: flex; align-items: center; gap: 12px }
.nav__brand img { width: 34px; height: 34px }
.nav__name { color: #fff; font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.05 }
.nav__badge {
  background: rgba(255,122,89,.15); border: 1px solid rgba(255,122,89,.3);
  border-radius: 20px; padding: 4px 12px; margin-left: 4px;
  font-size: .66rem; font-weight: 700; color: var(--hs-orange);
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.nav__links { display: flex; align-items: center; gap: 30px }
.nav__links a {
  color: rgba(255,255,255,.72); font-size: .92rem; font-weight: 500;
  transition: color .2s;
}
.nav__links a:hover, .nav__links a.active { color: #fff }
.nav__right { display: flex; align-items: center; gap: 16px }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 6px;
  flex-direction: column; gap: 5px;
}
.nav__toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .25s }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg) }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0 }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) }

/* ============================================================
   HERO
   ============================================================ */
.hero { background: var(--hs-navy); position: relative; overflow: hidden; padding: 104px 0 92px }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 80% 30%, rgba(0,164,189,.14) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 5% 90%, rgba(255,122,89,.10) 0%, transparent 60%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero .wrap { position: relative; z-index: 2 }
.hero h1 { color: #fff; font-size: 3.4rem; max-width: 15ch }
.hero h1 em { font-style: normal; color: var(--hs-orange) }
.hero__lead { color: rgba(255,255,255,.75); font-size: 1.18rem; max-width: 56ch; margin: 24px 0 34px }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap }
.hero--sm { padding: 84px 0 72px }
.hero--sm h1 { font-size: 2.9rem }

/* ---------- Strip de números ---------- */
.strip { background: var(--hs-orange); padding: 22px 0 }
.strip__inner { display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap }
.strip__item { display: flex; align-items: baseline; gap: 9px }
.strip__num { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -.02em }
.strip__txt { font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.92) }

/* ---------- Navy section ---------- */
.s-navy { background: var(--hs-navy); position: relative; overflow: hidden; color: #fff }
.s-navy::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0,164,189,.1) 0%, transparent 65%);
}
.s-navy .wrap { position: relative; z-index: 2 }
.s-navy h2 { color: #fff }
.s-navy p { color: rgba(255,255,255,.72) }

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.grid { display: grid; gap: 24px }
.grid-2 { grid-template-columns: repeat(2,1fr) }
.grid-3 { grid-template-columns: repeat(3,1fr) }
.grid-4 { grid-template-columns: repeat(4,1fr) }

.card {
  background: var(--white); border-radius: var(--r-md);
  border: 1px solid var(--gray-100); padding: 32px 28px;
  transition: all .25s; position: relative; overflow: hidden;
}
.card:hover { box-shadow: var(--sh-md); transform: translateY(-4px); border-color: transparent }
.card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--hs-orange); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.card:hover::after { transform: scaleX(1) }
.card h3 { margin-bottom: 10px }
.card p { font-size: .96rem }
.card__ico {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  background: var(--hs-orange-lt); color: var(--hs-orange);
  display: flex; align-items: center; justify-content: center;
}
.card__ico svg { width: 24px; height: 24px }
.card__ico--teal { background: var(--hs-teal-lt); color: var(--hs-teal) }

.card--glass {
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg); backdrop-filter: blur(10px); padding: 30px 28px;
}
.card--glass h3 { color: #fff }
.card--glass p { color: rgba(255,255,255,.7) }

/* Badge */
.badge {
  display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 20px; margin-bottom: 14px;
  background: var(--hs-orange-lt); color: var(--hs-orange-dk);
}
.badge--teal { background: var(--hs-teal-lt); color: var(--hs-teal) }
.badge--navy { background: var(--hs-cream-dk); color: var(--hs-navy) }
.badge--green{ background: var(--hs-green-lt); color: #009e8a }

/* ============================================================
   PROCESO — timeline de fases
   ============================================================ */
.phases { display: grid; gap: 20px }
.phase {
  display: grid; grid-template-columns: 66px 1fr; gap: 24px; align-items: start;
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--r-md);
  padding: 28px 30px; transition: all .25s;
}
.phase:hover { box-shadow: var(--sh-md); border-color: transparent }
.phase__n {
  width: 56px; height: 56px; border-radius: 14px; flex: none;
  background: var(--hs-navy); color: #fff; font-weight: 800; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.phase:nth-child(1) .phase__n { background: var(--hs-orange) }
.phase__tag { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 4px }
.phase h3 { margin-bottom: 8px }
.phase p { font-size: .96rem }
.phase__list { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px }
.phase__list span {
  font-size: .8rem; font-weight: 500; color: var(--gray-700);
  background: var(--gray-50); border: 1px solid var(--gray-100);
  padding: 5px 12px; border-radius: 20px;
}

/* ============================================================
   LISTAS de check / cross
   ============================================================ */
.checklist li, .crosslist li {
  display: flex; gap: 12px; align-items: flex-start; padding: 9px 0;
  font-size: .98rem; color: var(--gray-700);
}
.checklist li::before {
  content: '✓'; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--hs-green-lt); color: #009e8a; font-size: .8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.crosslist li::before {
  content: '✕'; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: #FADBD8; color: #C0392B; font-size: .75rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}

/* ============================================================
   LOGOS bar
   ============================================================ */
.logos { display: flex; align-items: center; justify-content: center; gap: 54px; flex-wrap: wrap }
.logos img { height: 40px; width: auto; opacity: .62; filter: grayscale(1); transition: .25s }
.logos img:hover { opacity: 1; filter: grayscale(0) }
.logos--label { text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 30px }

/* ============================================================
   TESTIMONIAL destacado
   ============================================================ */
.quote {
  background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--gray-100);
  padding: 44px 46px; box-shadow: var(--sh-sm); position: relative;
}
.quote__mark { font-family: var(--serif); font-size: 4rem; line-height: .5; color: var(--hs-orange); opacity: .3 }
.quote p { font-family: var(--serif); font-size: 1.35rem; font-style: italic; color: var(--hs-navy); line-height: 1.5; margin: 10px 0 22px }
.quote__by { display: flex; align-items: center; gap: 14px }
.quote__by img { height: 34px; width: auto }
.quote__by strong { color: var(--hs-navy); font-size: .95rem; display: block }
.quote__by span { color: var(--gray-500); font-size: .84rem }

/* Stat highlight */
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px }
.stat { text-align: center }
.stat__n { font-family: var(--serif); font-size: 2.8rem; font-weight: 700; color: var(--hs-orange); line-height: 1 }
.stat__l { font-size: .9rem; color: var(--gray-700); margin-top: 8px }
.s-navy .stat__l { color: rgba(255,255,255,.65) }

/* ============================================================
   CTA final
   ============================================================ */
.cta-final { text-align: center; padding: 92px 0 }
.cta-final h2 { color: #fff; font-size: 2.6rem; max-width: 18ch; margin: 0 auto 16px }
.cta-final p { color: rgba(255,255,255,.75); font-size: 1.12rem; max-width: 48ch; margin: 0 auto 30px }
.cta-final .hero__cta { justify-content: center }

/* ============================================================
   FORMULARIO (contacto)
   ============================================================ */
.form { background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--gray-100); padding: 38px; box-shadow: var(--sh-md) }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px }
.field { margin-bottom: 18px }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--hs-navy); margin-bottom: 7px }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font); font-size: .95rem; color: var(--dark);
  padding: 13px 15px; border: 1px solid var(--gray-200); border-radius: var(--r-sm);
  background: var(--gray-50); transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--hs-orange); background: #fff; box-shadow: 0 0 0 3px rgba(255,122,89,.12);
}
.field textarea { resize: vertical; min-height: 110px }
.form__note { font-size: .8rem; color: var(--gray-500); margin-top: 14px; text-align: center }

/* Contact option cards */
.copt { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--r-md); border: 1px solid var(--gray-100); background: #fff; transition: .25s }
.copt:hover { box-shadow: var(--sh-md); transform: translateY(-3px) }
.copt__ico { width: 46px; height: 46px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center }
.copt__ico svg { width: 24px; height: 24px }
.copt h3 { font-size: 1.1rem; margin-bottom: 4px }
.copt p { font-size: .9rem; margin-bottom: 12px }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); color: rgba(255,255,255,.6); padding: 62px 0 30px }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px }
.footer__brand img { width: 38px; margin-bottom: 16px }
.footer__brand p { color: rgba(255,255,255,.55); font-size: .92rem; max-width: 34ch }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700 }
.footer li { margin-bottom: 10px }
.footer li a, .footer__brand a { font-size: .92rem; color: rgba(255,255,255,.6); transition: color .2s }
.footer li a:hover { color: var(--hs-orange) }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; color: rgba(255,255,255,.4) }

/* ============================================================
   CHIPS (verticales)
   ============================================================ */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .95rem; font-weight: 600; color: var(--hs-navy);
  background: var(--white); border: 1px solid var(--gray-200);
  padding: 11px 20px; border-radius: var(--r-pill); transition: .2s;
}
.chip:hover { border-color: var(--hs-orange); color: var(--hs-orange-dk); transform: translateY(-2px); box-shadow: var(--sh-sm) }
.chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--hs-orange) }

/* ============================================================
   FAQ (details/summary, sin JS)
   ============================================================ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 14px }
.faq details {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--r-md);
  padding: 4px 26px; transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--sh-md) }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0;
  font-weight: 700; font-size: 1.06rem; color: var(--hs-navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none }
.faq summary::after {
  content: '+'; font-size: 1.5rem; font-weight: 400; color: var(--hs-orange);
  transition: transform .25s; line-height: 1; flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg) }
.faq details p { padding: 0 0 22px; font-size: .98rem }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .55s ease, transform .55s ease }
.rv.in { opacity: 1; transform: translateY(0) }
.rv-d1 { transition-delay: .08s } .rv-d2 { transition-delay: .16s } .rv-d3 { transition-delay: .24s }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr) }
  .footer__grid { grid-template-columns: 1fr 1fr }
}
@media(max-width:840px) {
  h1 { font-size: 2.5rem } h2 { font-size: 2rem }
  .hero h1 { font-size: 2.6rem } .hero--sm h1 { font-size: 2.3rem }
  .nav__links, .nav__badge { display: none }
  .nav__toggle { display: flex }
  .nav__links.mobile {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(15,31,46,.99); padding: 12px 36px 24px; border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav__links.mobile a { padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.06) }
  .grid-2, .grid-3, .grid-4, .stats { grid-template-columns: 1fr }
  .form__row { grid-template-columns: 1fr }
  .phase { grid-template-columns: 1fr; gap: 14px }
  .footer__grid { grid-template-columns: 1fr 1fr }
  .cta-final h2 { font-size: 2rem }
}
@media(max-width:560px) {
  .wrap { padding: 0 20px } .s { padding: 60px 0 }
  h1, .hero h1 { font-size: 2.1rem } h2 { font-size: 1.7rem }
  .footer__grid { grid-template-columns: 1fr }
  .quote { padding: 30px 26px } .quote p { font-size: 1.15rem }
  .form { padding: 26px 22px }
}
