/* ════════════════════════════════════════════════════════════
   RENATA · usarenata.com/gratis — promoción para microempresas
   Usa la base de ../renata.css; aquí solo lo propio de esta página.
════════════════════════════════════════════════════════════ */

body.promo-page { padding-bottom: 0; }

.back-link { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: .95rem; font-weight: 500; transition: background-color .2s, color .2s; }
.back-link .i { width: 18px; height: 18px; }
.back-link:hover { background: var(--ink); color: var(--paper); }

/* ═══ INICIO ═══ */
.p-hero { padding-top: 72px; padding-bottom: 32px; }
.p-hero-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 72px; align-items: center; }
.p-badge { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: var(--yellow); font-size: .84rem; font-weight: 600; white-space: nowrap; }
.p-hero h1 { font-size: clamp(2.6rem, 1rem + 4.2vw, 4.6rem); }
.p-free { padding-bottom: .02em; background: linear-gradient(var(--yellow), var(--yellow)) 0 92% / 100% .14em no-repeat; }
.p-hero .hero-cta { margin-top: 40px; }
.p-note { margin-top: 16px; font-size: .95rem; color: var(--muted); }

/* pase */
/* recorta el borde del pase girado y su sello para que nunca ensanchen la página */
.p-hero-art { display: grid; justify-items: center; gap: 28px; overflow: hidden; margin: -32px -24px; padding: 32px 24px; }
.pass-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: .05em; }
.pass-brand img { width: 26px; height: 26px; border-radius: 6px; }

/* calendario: los 12 meses se llenan en bucle (gratis.js) */
.year {
  position: relative; width: min(400px, 100%); padding: 26px 26px 24px; border: 1.5px solid var(--ink); border-radius: 24px;
  background: #fff; color: var(--ink); box-shadow: 10px 10px 0 var(--ink);
}
.year-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-right: 70px; font-size: .9rem; }
.year-count { color: var(--muted); white-space: nowrap; }
.year-count b { color: var(--ink); font-variant-numeric: tabular-nums; }
.year-title { margin-top: 22px; font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; letter-spacing: -.02em; }
.months { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
.months li {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 64px; padding: 9px 10px;
  border: 1.5px solid var(--yellow); border-radius: 10px; background: var(--yellow); font-size: .8rem; font-weight: 600;
}
.months .i { align-self: flex-end; width: 20px; height: 20px; }
.year-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1.5px dashed var(--ink); }
.year-total span { font-size: .95rem; }
.year-total b { font-family: var(--serif); font-size: 2.6rem; font-weight: 400; line-height: 1; }
.year-free {
  position: absolute; left: 50%; top: 52%; padding: 6px 20px; border: 4px solid var(--red); border-radius: 12px;
  background: rgba(255, 255, 255, .92); color: var(--red); font-family: var(--serif); font-size: 3.4rem; font-style: italic; line-height: 1;
  transform: translate(-50%, -50%) rotate(-10deg);
}
/* estados de la animación (solo con JavaScript) */
.year.is-live .months li { border-color: var(--rule); background: var(--paper); transition: background-color .25s ease, border-color .25s ease; }
.year.is-live .months .i { opacity: 0; transform: scale(.3); transition: opacity .2s ease, transform .3s cubic-bezier(.2, 1.6, .4, 1); }
.year.is-live .months li.is-on { border-color: var(--yellow); background: var(--yellow); }
.year.is-live .months li.is-on .i { opacity: 1; transform: none; }
.year.is-live .year-total b { opacity: .25; transition: opacity .3s ease; }
.year.is-live.is-full .year-total b { opacity: 1; }
.year.is-live .year-free { opacity: 0; transform: translate(-50%, -50%) rotate(-10deg) scale(2); transition: opacity .2s ease, transform .35s cubic-bezier(.2, 1.4, .4, 1); }
.year.is-live.is-full .year-free { opacity: 1; transform: translate(-50%, -50%) rotate(-10deg) scale(1); }
.pass-stamp {
  position: absolute; z-index: 1; top: -26px; right: -18px; display: grid; place-items: center; align-content: center;
  width: 96px; height: 96px; border-radius: 50%; background: var(--ink); color: var(--yellow); rotate: 12deg;
  box-shadow: 0 0 0 5px var(--paper);
}
.pass-stamp b { font-family: var(--serif); font-size: 2.3rem; font-weight: 400; line-height: 1; }
.pass-stamp span { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

.countdown { display: flex; align-items: center; gap: 16px; padding-top: 18px; border-top: 1.5px solid var(--ink); width: min(380px, 100%); }
.cd-num { font-family: var(--serif); font-size: 3.4rem; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cd-txt { font-size: .95rem; line-height: 1.4; color: var(--ink-2); }

/* ═══ TÍTULOS DE SECCIÓN ═══ */
.p-title { max-width: 900px; margin-bottom: 56px; }

/* ═══ 01 · CÓMO FUNCIONA ═══ */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.step { padding-top: 24px; border-top: 1.5px solid var(--ink); }
.step-n { display: block; font-family: var(--serif); font-size: clamp(4.5rem, 3rem + 3vw, 6.5rem); line-height: .85; letter-spacing: -.04em; color: var(--yellow); -webkit-text-stroke: 1.5px var(--ink); }
.step h3 { margin-top: 18px; font-size: 2rem; letter-spacing: -.02em; }
.step p { margin-top: 10px; font-size: 1.08rem; line-height: 1.6; color: var(--ink-2); }

/* ═══ 02 · FORMULARIO ═══ */
.p-form-sec { scroll-margin-top: var(--nav-h); }
.apply { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.apply-side { position: sticky; top: calc(var(--nav-h) + 24px); }
.apply-side .sec-sub { margin-top: 24px; }
.apply-side .numbered { margin-top: 36px; }
.apply-card { padding: 44px; border-radius: 28px; background: var(--yellow); }

.g-form { padding: 32px; border-radius: 18px; background: #fff; box-shadow: 0 30px 60px -40px rgba(70, 52, 0, .55); }
.g-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.g-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.g-field > label { font-size: .95rem; font-weight: 600; }
.g-hint { margin-top: -4px; font-size: .84rem; line-height: 1.45; color: var(--muted); }
.g-form input[type="text"], .g-form input[type="email"], .g-form input[type="tel"], .g-form select {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--line-2, #cfc8bb); border-radius: 10px;
  background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; scroll-margin-top: calc(var(--nav-h) + 80px);
  transition: border-color .15s, background-color .15s;
}
.g-form input::placeholder { color: var(--muted-2); opacity: 1; }
.g-form input:hover, .g-form select:hover { border-color: var(--muted); }
.g-form input:focus, .g-form select:focus { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); background: #fff; }
.g-form select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23151413' d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.g-form select:invalid { color: var(--muted-2); }
.g-form option { color: var(--ink); }
.g-tel { display: flex; border-radius: 10px; }
.g-tel-prefix { display: inline-flex; align-items: center; padding: 0 14px; border: 1.5px solid var(--line-2, #cfc8bb); border-right: 0; border-radius: 10px 0 0 10px; background: var(--paper-2); font-weight: 600; white-space: nowrap; }
.g-form .g-tel input { min-width: 0; border-radius: 0 10px 10px 0; }
.g-form .g-tel input:focus { outline: none; }
.g-tel:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.g-tel:focus-within .g-tel-prefix, .g-tel:focus-within input { border-color: var(--ink); }

.g-checks { display: grid; gap: 4px; margin: 26px 0 22px; padding-top: 20px; border-top: 1px solid var(--rule); }
.g-check { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.g-check input { width: 22px; height: 22px; margin: 9px 0 0; accent-color: var(--ink); cursor: pointer; }
.g-check label { padding: 8px 0; font-size: .95rem; line-height: 1.5; cursor: pointer; }
.g-check label a { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.g-check .g-error { grid-column: 2; }

.g-error { font-size: .86rem; font-weight: 600; line-height: 1.4; color: var(--red); }
.g-error:empty { display: none; }
.g-form input[aria-invalid="true"], .g-form select[aria-invalid="true"] { border-color: var(--red); background: #fff6f5; }
.g-tel:has([aria-invalid="true"]) .g-tel-prefix { border-color: var(--red); }
.g-check input[aria-invalid="true"] { outline: 2px solid var(--red); outline-offset: 2px; }

.g-submit { width: 100%; }
.g-submit:disabled { opacity: .6; cursor: progress; }
.g-form-status:not(:empty) { margin-top: 14px; padding: 12px 14px; border: 1px solid #efb7b2; border-radius: 10px; background: #fff3f2; color: var(--red); font-size: .92rem; font-weight: 600; text-align: center; }
.g-form-note { margin-top: 12px; font-size: .86rem; line-height: 1.5; text-align: center; color: var(--muted); }
.g-form-note a { text-decoration: underline; }
.g-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.g-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.g-success { padding: 56px 32px; border-radius: 18px; background: #fff; text-align: center; scroll-margin-top: calc(var(--nav-h) + 24px); }
.g-success:focus { outline: none; }
.g-success-ico { display: inline-grid; place-items: center; width: 84px; height: 84px; margin-bottom: 20px; border-radius: 50%; background: var(--yellow); }
.g-success-ico .i { width: 46px; height: 46px; }
.g-success h3 { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem); letter-spacing: -.03em; }
.g-success p { max-width: 460px; margin: 12px auto 0; font-size: 1.15rem; line-height: 1.6; color: var(--ink-2); }

/* ═══ 03 · QUÉ INCLUYE ═══ */
.incl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.incl .p-title { margin-bottom: 0; }
.incl-list { border-top: 1.5px solid var(--ink); margin-bottom: 36px; }
.incl-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); line-height: 1.2; letter-spacing: -.01em; }
.incl-n { font-size: 1rem; font-style: italic; color: var(--muted); }

/* ═══ 04 · PROPÓSITO ═══ */
.purpose { padding: 72px 64px; border-radius: 32px; background: var(--ink); color: #fff; }
.purpose p { max-width: 1000px; font-family: var(--serif); font-size: clamp(2.2rem, 1.2rem + 3vw, 4rem); line-height: 1.08; letter-spacing: -.03em; }
.purpose em { color: var(--yellow); }

/* ═══ 05 · PREGUNTAS ═══ */
.faq { padding-bottom: 120px; }
.faq-cta-btns { display: grid; gap: 10px; }
.btn-line-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-line-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ═══ BARRA FIJA "QUIERO POSTULAR" ═══ */
.p-sticky {
  position: fixed; z-index: 90; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 16px; width: min(760px, calc(100% - 24px)); padding: 10px 10px 10px 16px;
  border-radius: 18px; background: var(--yellow); color: var(--ink);
  box-shadow: 0 22px 44px -20px rgba(40, 30, 10, .6), 0 0 0 1px rgba(0, 0, 0, .06);
  transform: translate(-50%, 160%); transition: transform .3s ease;
}
.p-sticky.is-visible { transform: translate(-50%, 0); }
.p-sticky-txt { flex: 1; min-width: 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; }
.p-sticky .btn { flex: none; }

/* ═══ PANTALLAS MEDIANAS Y TABLETS ═══ */
@media (max-width: 1100px) {
  .p-hero-in, .apply, .incl { gap: 48px; }
  .apply-card { padding: 28px; }
}
@media (max-width: 900px) {
  .p-hero-in, .apply, .incl { grid-template-columns: minmax(0, 1fr); }
  .p-hero-art { justify-items: start; padding-top: 24px; }
  .apply-side { position: static; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .step { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 20px; align-items: start; }
  .step-n { grid-row: 1 / 3; font-size: 5rem; }
  .step h3 { margin-top: 0; }
  .purpose { padding: 52px 36px; }
}

/* ═══ CELULARES ═══ */
@media (max-width: 640px) {
  .back-link { min-height: 40px; padding: 0 14px; font-size: .88rem; }
  .back-long { display: none; }
  .p-hero { padding-top: 44px; }
  .p-hero h1 { font-size: clamp(2.4rem, 10.5vw, 3.2rem); }
  .p-hero .hero-cta .btn { width: 100%; }
  .p-hero-art { justify-items: center; margin: -24px -12px; padding: 24px 12px; }
  .year { padding: 22px 18px 20px; box-shadow: 6px 6px 0 var(--ink); }
  .months { gap: 6px; }
  .months li { min-height: 54px; padding: 7px 8px; font-size: .72rem; }
  .year-free { font-size: 2.6rem; }
  .pass-stamp { width: 82px; height: 82px; top: -22px; right: -8px; }
  .pass-stamp b { font-size: 1.9rem; }
  .p-title { margin-bottom: 40px; }
  .step { grid-template-columns: 72px minmax(0, 1fr); column-gap: 14px; }
  .step-n { font-size: 4rem; }
  .step h3 { font-size: 1.6rem; }
  .apply-card { margin: 0 calc(var(--gutter) * -1); padding: 16px; border-radius: 0; }
  .g-form { padding: 22px 18px; }
  .g-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .g-tel-prefix { padding: 0 12px; }
  .incl-list li { grid-template-columns: 44px minmax(0, 1fr); }
  .incl .btn { width: 100%; }
  .purpose { padding: 40px 24px; border-radius: 24px; }
  .faq { padding-bottom: 88px; }
  .p-sticky { gap: 10px; padding: 8px 8px 8px 12px; border-radius: 16px; }
  .p-sticky .p-badge { display: none; }
  .p-sticky-txt { font-size: 1.02rem; }
}

@media print { .p-sticky { display: none; } }
