/* ACOL – landing. CSS propio, sin frameworks ni dependencias externas. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/jakarta-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/jakarta-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113;
}
@font-face {
  font-family: "Great Vibes";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/greatvibes-latin.woff2") format("woff2");
}

:root {
  --brand: #f5821f;
  --brand-dark: #e0700f;
  --ink: #1f2128;
  --ink-soft: #3d404a;
  --paper: #ffffff;
  --stone: #f5f5f4;
  --stone-line: #e7e5e4;
  --stone-text: #57534e;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script: "Great Vibes", "Brush Script MT", cursive;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 74rem; margin-inline: auto; padding-inline: var(--gutter); }
.accent { color: var(--brand); }
.dash { display: inline-block; width: 2rem; height: 2px; background: var(--brand); flex: none; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .75rem 1rem; background: var(--ink); color: #fff; border-radius: .5rem;
  transition: top .15s;
}
.skip:focus { top: 1rem; }

/* ---------- Botón ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .9rem;
  min-height: 3.5rem; padding: 0 2.25rem;
  border-radius: 999px;
  background: var(--brand); color: var(--ink);
  font-weight: 800; font-size: 1.125rem; line-height: 1; text-decoration: none;
  box-shadow: 0 10px 24px -8px rgb(245 130 31 / .55);
  transition: background-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline-color: var(--ink); }
.btn .ico { width: 1.5rem; height: 1.5rem; }
.btn-sm { min-height: 2.75rem; padding: 0 1.4rem; font-size: 1rem; box-shadow: none; }
.btn-lg { min-height: 4.5rem; width: 100%; font-size: clamp(1.25rem, 4.5vw, 1.5rem); }

.ico, .ico-xl {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ico-xl { width: 3rem; height: 3rem; stroke-width: 1.4; color: var(--brand); }

/* ---------- Header ---------- */
.site-header { background: var(--stone); }
.header-row { display: flex; align-items: center; gap: 1.5rem; padding-block: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-mark { height: 3.25rem; width: auto; mix-blend-mode: multiply; }
.brand-name { font-weight: 800; font-size: clamp(2rem, 7vw, 3rem); line-height: 1; letter-spacing: -.02em; }
.brand-full span { white-space: nowrap; }
.brand-full {
  display: none; flex-direction: column; margin-left: .35rem; padding-left: .75rem;
  border-left: 1px solid rgb(31 33 40 / .4); font-size: .875rem; line-height: 1.3;
}
.tagline { display: none; align-items: center; gap: 1rem; margin-left: auto; margin-right: .5rem; font-size: .9rem; color: var(--ink-soft); }
.header-cta { margin-left: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; }
.hero-img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: 72% center;
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgb(31 33 40 / .88), rgb(31 33 40 / .72) 60%, rgb(31 33 40 / .5));
}
.hero-body { padding-block: clamp(3.5rem, 12vw, 7rem); }
.hero-copy { max-width: 29rem; }
.eyebrow {
  display: flex; align-items: center; gap: .9rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1.6;
}
h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.1rem, 7.5vw, 3rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em;
  text-wrap: balance;
}
.lead { margin-top: 1.5rem; font-size: 1.0625rem; line-height: 1.65; color: rgb(255 255 255 / .92); text-wrap: pretty; }
.hero .btn { margin-top: 2rem; }

/* ---------- Beneficios ---------- */
.benefits { background: var(--paper); }
.benefits-grid { display: grid; gap: 2.5rem; padding-block: 3.5rem; }
.benefits h2 { font-size: clamp(1.6rem, 5vw, 1.9rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.benefit-list { display: grid; grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
.benefit-list li { display: flex; flex-direction: column; align-items: center; text-align: center; padding-inline: .75rem; }
.benefit-list li:nth-child(even) { border-left: 1px solid var(--stone-line); }
.benefit-list h3 { margin-top: 1rem; font-size: .9375rem; font-weight: 700; line-height: 1.35; text-wrap: balance; }
.benefit-list p { margin-top: .6rem; font-size: .9375rem; line-height: 1.5; color: var(--stone-text); }

/* ---------- Pasos ---------- */
.steps { background: var(--stone); padding-block: clamp(3rem, 8vw, 4.5rem); }
.steps h2 { font-size: clamp(1.6rem, 5vw, 2.1rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.step-list { display: grid; gap: 1.25rem; margin-top: 2rem; counter-reset: paso; }
.step-list li {
  position: relative; padding: 1.5rem 1.5rem 1.5rem 4.75rem;
  background: var(--paper); border: 1px solid var(--stone-line); border-radius: 1rem;
}
.step-n {
  position: absolute; left: 1.25rem; top: 1.4rem;
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--brand); color: var(--ink); font-weight: 800; font-size: 1.125rem;
}
.step-list h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.step-list p { margin-top: .4rem; color: var(--stone-text); }

/* ---------- Únete ---------- */
.join { display: grid; }
.join-panel { position: relative; isolation: isolate; overflow: hidden; background: var(--brand); color: var(--ink); }
.join-img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: right center; opacity: .55; mix-blend-mode: multiply; filter: grayscale(1);
}
.join-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, var(--brand), rgb(245 130 31 / .82) 55%, rgb(245 130 31 / .2)); }
.join-copy { display: flex; flex-direction: column; min-height: 32rem; padding: 4rem var(--gutter); }
.bar { display: block; width: 2.5rem; height: 2px; background: var(--ink); }
.join-copy h2 { margin-top: 1.5rem; max-width: 22rem; font-size: clamp(1.75rem, 6vw, 1.95rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.join-copy p:not(.script) { margin-top: 1.5rem; max-width: 21rem; font-size: 1.0625rem; line-height: 1.65; font-weight: 500; }
.script {
  margin-top: auto; padding-top: 3rem; transform: rotate(-12deg); transform-origin: left bottom;
  font-family: var(--script); font-size: 3.25rem; line-height: .95;
}
.script span:nth-of-type(1) { padding-left: 1.5rem; }
.script span:nth-of-type(2) { padding-left: 3.5rem; }
.join-cta { display: flex; flex-direction: column; justify-content: center; padding: 4rem var(--gutter); background: var(--stone); }
.join-cta h2 { font-size: clamp(2rem, 7vw, 2.75rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.join-cta p:not(.note) { margin-top: 1.75rem; max-width: 24rem; font-size: 1.125rem; line-height: 1.65; color: var(--ink-soft); }
.join-cta .btn { margin-top: 2.25rem; }
.note { margin-top: 1.25rem; text-align: center; font-size: .875rem; color: var(--stone-text); }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(3rem, 8vw, 4.5rem); }
.faq h2 { font-size: clamp(1.6rem, 5vw, 2.1rem); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.faq-list { margin-top: 1.75rem; border-top: 1px solid var(--stone-line); }
.faq details { border-bottom: 1px solid var(--stone-line); }
.faq summary {
  position: relative; display: block; padding: 1.15rem 2.5rem 1.15rem 0;
  font-weight: 700; font-size: 1.0625rem; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .25rem; top: 50%; width: .6rem; height: .6rem;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 2.5rem 1.25rem 0; color: var(--stone-text); max-width: 46rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgb(255 255 255 / .9); }
.footer-row { display: flex; flex-direction: column; align-items: flex-start; gap: 1.75rem; padding-block: 3rem 1.5rem; }
.brand-dark { color: #fff; }
.brand-dark .brand-name { font-size: 1.9rem; }
.brand-dark .brand-full { display: flex; font-size: .6875rem; border-left-color: rgb(255 255 255 / .5); }
.logo-chip { display: grid; place-items: center; padding: .25rem; background: #fff; border-radius: .4rem; }
.logo-chip img { height: 2.5rem; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .9375rem; }
.footer-nav a { text-decoration: none; padding-block: .35rem; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tagline-foot { display: flex; align-items: center; gap: 1rem; font-size: .75rem; }
.copy { padding-bottom: 2rem; font-size: .8125rem; color: rgb(255 255 255 / .6); }

/* ---------- Tablet / escritorio ---------- */
@media (min-width: 48rem) {
  .brand-full { display: flex; }
  .hero-shade { background: linear-gradient(to right, rgb(31 33 40 / .9), rgb(31 33 40 / .6) 55%, rgb(31 33 40 / .05)); }
  .benefit-list { grid-template-columns: repeat(4, 1fr); }
  .benefit-list li + li { border-left: 1px solid var(--stone-line); }
  .step-list { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .step-list li { padding: 5.25rem 1.5rem 1.75rem; }
  .step-n { left: 1.5rem; top: 1.5rem; }
  .join { grid-template-columns: 53% 47%; }
  .join-copy { padding-right: 2rem; }
  .footer-row { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
}

@media (min-width: 64rem) {
  .tagline { display: flex; }
  .header-cta { margin-left: 0; }
  .join-shade { background: linear-gradient(to right, var(--brand), rgb(245 130 31 / .8) 50%, rgb(245 130 31 / .1)); }
  .benefits-grid { grid-template-columns: 15.5rem minmax(0, 1fr); align-items: start; gap: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
}

@media print {
  .site-header .btn, .hero-img, .join-img, .skip { display: none; }
}

/* ---------- 404 ---------- */
.nf { min-height: 100vh; display: grid; align-content: center; justify-items: center; gap: 1rem; padding: 2rem var(--gutter); text-align: center; }
.nf-code { font-size: clamp(5rem, 22vw, 9rem); font-weight: 800; line-height: 1; color: var(--brand); letter-spacing: -.04em; }
.nf h1 { margin: 0; color: var(--ink); font-size: clamp(1.6rem, 6vw, 2.2rem); }
.nf p { color: var(--ink-soft); }
.nf-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1rem; }
.btn-alt { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-alt:hover { background: var(--ink); color: #fff; }
