/* Jembreando · Home editorial · 0.5.1
   Código mobile-first, tipografía e iconos locales y sin dependencias externas. */
@font-face {
    font-family: Inter;
    src: url('../fonts/inter-400.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: Inter;
    src: url('../fonts/inter-600.woff2') format('woff2');
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: Inter;
    src: url('../fonts/inter-700.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: Inter;
    src: url('../fonts/inter-800.woff2') format('woff2');
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}
:root {
    color-scheme: light;
    --background: #faf9fc;
    --surface: #ffffff;
    --surface-alt: #f7f3fa;
    --ink: #261b32;
    --muted: #766d7e;
    --line: #ebe4ef;
    --pink: #f82e7b;
    --coral: #ff8c65;
    --violet: #7c4bf2;
    --plum: #241530;
    --shadow: 0 24px 64px rgb(66 30 76 / 9%);
    --radius: 28px;
    --page-max: 1180px;
}
*, *::before, *::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}
body {
    margin: 0;
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
    background: var(--background);
    color: var(--ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
button, input, select {
    font: inherit;
}
button {
    cursor: pointer;
}
a {
    color: inherit;
    text-decoration: none;
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
    outline: 3px solid var(--violet);
    outline-offset: 3px;
}
img {
    display: block;
    max-width: 100%;
}
.icon {
    width: 20px;
    height: 20px;
    flex: none;
}
.container {
    width: min(calc(100% - 40px), var(--page-max));
    margin-inline: auto;
}
.skip-link {
    position: fixed;
    top: -70px;
    left: 12px;
    z-index: 1000;
    background: #fff;
    padding: 10px 16px;
    border-radius: 12px;
}
.skip-link:focus {
    top: 10px;
}
h1, h2, h3, p {
    margin-top: 0;
}
h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.12;
}
h1 {
    font-size: clamp(3.1rem, 7vw, 6.5rem);
}
h2 {
    font-size: clamp(2.3rem, 5vw, 4rem);
}
h3 {
    font-size: 1.28rem;
}
p {
    color: var(--muted);
}
strong {
    color: var(--ink);
}
/* Cabecera: clara, útil y discreta. */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgb(250 249 252 / 87%);
    border-bottom: 1px solid rgb(229 221 233 / 70%);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}
.header-inner {
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
/* Marca original: nombre en degradado fucsia/coral/violeta y corazón SVG local. */
.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -.075em;
    line-height: 1.15;
}
.brand-name {
    background-image: linear-gradient(110deg, #fb2b7b 0%, #e0419b 52%, #754bf8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #d93694;
}
.ticket-heart {
    display: inline-block;
    flex-shrink: 0;
    width: 19px;
    height: 19px;
    background-color: var(--pink);
    -webkit-mask: url('../icons/heart.svg') center / contain no-repeat;
    mask: url('../icons/heart.svg') center / contain no-repeat;
}
.brand-heart {
    display: block;
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    object-fit: contain;
    transform: rotate(10deg);
}
.desktop-links {
    display: none;
    align-items: center;
    gap: 25px;
}
.desktop-links a {
    font-size: .83rem;
    font-weight: 700;
    color: #665c6b;
}
.desktop-links a:hover {
    color: var(--pink);
}
/* Elementos repetibles de composición. */
.button {
    min-height: 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 700;
    font-size: .9rem;
    line-height: 1.25;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.button .icon {
    width: 18px;
    height: 18px;
}
.button:hover {
    transform: translateY(-2px);
}
.button-primary {
    background: linear-gradient(110deg, #f72a7a, #ff6670);
    color: white;
    box-shadow: 0 10px 24px #f82e7b29;
}
.button-primary .icon, .button-white .icon {
    filter: brightness(0) invert(1);
}
.button-subtle {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
}
.button-quiet {
    border: 0;
    background: transparent;
    color: #c22b78;
}
.button-white {
    background: white;
    color: #bb236d;
}
.button-white .icon {
    filter: none;
}
.button-small {
    padding: 12px 15px;
    min-height: 43px;
    font-size: .77rem;
}
.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}
.kicker {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .7rem;
    color: #cb2b7a;
    margin-bottom: 19px;
}
.kicker-light {
    color: #ffb4d2;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .77rem;
    color: #bb347c;
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 100px;
    background: #fff9fd;
    border: 1px solid #fff;
}
.eyebrow .icon {
    width: 17px;
    height: 17px;
}
.gradient-text, h1 em, .product-intro h2 em {
    font-style: normal;
    background: linear-gradient(100deg, #f82e7b, #ff7b6e 55%, #8a53ef);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.lead {
    font-size: clamp(1.03rem, 1.5vw, 1.2rem);
    line-height: 1.8;
}
.small-note, .fine-print {
    font-size: .76rem;
    line-height: 1.7;
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #c52b75;
    font-weight: 800;
    font-size: .88rem;
}
.text-link .icon {
    width: 18px;
    height: 18px;
}
.center {
    text-align: center;
}
.section {
    padding: 90px 0;
}
.section-cream {
    background: #fff;
}
.section-soft {
    background: #f6f1fa;
}
.section-intro {
    max-width: 780px;
    margin: 0 auto 40px;
}
.section-intro h2 {
    margin-bottom: 18px;
}
.section-intro p {
    max-width: 680px;
    margin-inline: auto;
    font-size: 1rem;
}
.section-end {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 28px;
}
/* Primer capítulo: primero la historia, luego la invitación. */
.hero-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 88px 0 100px;
    background: #faf7fc;
}
.hero-section::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: url('../images/ambient-gradient.webp') right center / auto 100% no-repeat;
    opacity: .8;
}
.hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 45px;
}
.hero-copy h1 {
    max-width: 770px;
    margin: 26px 0;
}
.hero-copy > p {
    max-width: 590px;
}
.hero-copy .lead {
    color: #5c5167;
}
.hero-copy .small-note {
    margin: 23px 0 0;
}
.hero-aside {
    min-width: 0;
}
.club-ticket {
    max-width: 470px;
    margin-inline: auto;
    min-height: 395px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    padding: 30px;
    border-radius: 35px;
    background: linear-gradient(145deg, #361c50, #7532a3 58%, #f45197);
    color: #fff;
    box-shadow: 0 38px 85px rgb(73 31 88 / 22%);
}
.club-ticket::before {
    content: '';
    width: 290px;
    height: 290px;
    position: absolute;
    right: -100px;
    top: -80px;
    border: 1px solid #ffffff60;
    border-radius: 50%;
    box-shadow: 0 0 0 44px #ffffff09, 0 0 0 90px #ffffff09;
}
.ticket-top {
    font-weight: 800;
    letter-spacing: .14em;
    font-size: .64rem;
    color: #f5ddef;
}
.ticket-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    border-radius: 25px;
    background: #ffffff2b;
}
.ticket-symbol .icon {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}
.club-ticket h2 {
    color: white;
    font-size: clamp(2rem, 3vw, 2.9rem);
    max-width: 380px;
    margin: 0;
}
.club-ticket p {
    color: #f6e5f2;
    margin-bottom: 0;
}
.ticket-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .68rem;
    color: #f4d5e7;
}
.ticket-heart {
    width: 23px;
    height: 23px;
    background-color: #ffa3ca;
}
.mini-note {
    margin: 19px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: .78rem;
    color: #7b6585;
}
.mini-note .icon {
    width: 18px;
    height: 18px;
}
/* Beneficios compactos: una sola zona de premios. */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}
.benefit-card {
    min-height: 265px;
    padding: 29px;
    border: 1px solid #ebe5ef;
    border-radius: 28px;
    background: #fcfafc;
}
.benefit-featured {
    background: #2a1737;
    color: #fff;
    border-color: #2a1737;
}
.benefit-icon {
    width: 57px;
    height: 57px;
    display: grid;
    place-items: center;
    border-radius: 19px;
    background: #ffffff29;
    margin-bottom: 22px;
}
.benefit-icon .icon {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
}
.benefit-icon.gold {
    background: #fff1d3;
}
.benefit-icon.gold .icon {
    filter: none;
}
.benefit-icon.pink {
    background: #ffe5ee;
}
.benefit-icon.pink .icon {
    filter: none;
}
.benefit-icon.coral {
    background: #ffe5db;
}
.benefit-icon.coral .icon {
    filter: none;
}
.benefit-category {
    letter-spacing: .12em;
    font-size: .67rem;
    font-weight: 800;
    color: #c93685;
    margin-bottom: 13px;
}
.benefit-featured .benefit-category {
    color: #ffb5d3;
}
.benefit-card h3 {
    font-size: 1.65rem;
    margin-bottom: 10px;
}
.benefit-card p {
    margin: 0;
    font-size: .88rem;
}
.benefit-featured p {
    color: #dacbdf;
}
/* Explicación y pasos de inscripción. */
.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 35px;
}
.split-heading h2 {
    max-width: 570px;
    margin-bottom: 20px;
}
.split-heading p {
    max-width: 540px;
}
.split-heading .button, .split-heading .text-link {
    margin-top: 12px;
}
.step-list {
    display: grid;
    gap: 14px;
}
.step-row {
    display: grid;
    grid-template-columns: 28px 49px 1fr;
    align-items: start;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
    background: #fff;
}
.step-number {
    font-size: .76rem;
    font-weight: 800;
    color: #b69ab9;
    padding-top: 14px;
}
.step-icon {
    display: grid;
    place-items: center;
    width: 49px;
    height: 49px;
    border-radius: 15px;
    background: #ffecf3;
}
.step-icon .icon {
    width: 23px;
    height: 23px;
}
.step-row h3 {
    margin-bottom: 6px;
    font-size: 1rem;
}
.step-row p {
    margin: 0;
    font-size: .83rem;
}
/* El Hub se presenta, no se replica dentro de la landing. */
.club-card {
    padding: 29px;
    background: linear-gradient(145deg, #fff, #faf5ff);
    border-radius: 30px;
    border: 1px solid #e8ddea;
    box-shadow: var(--shadow);
}
.club-card-top {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .72rem;
    font-weight: 800;
    color: #b92f77;
    letter-spacing: .09em;
}
.club-card-top span {
    margin-left: auto;
    color: #85758e;
    font-size: .64rem;
}
.club-card h3 {
    font-size: 1.8rem;
    margin: 35px 0 25px;
    max-width: 330px;
}
.club-feature {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 17px 0;
    border-top: 1px solid #ebe1ef;
    font-size: .86rem;
    font-weight: 700;
}
.club-feature span {
    flex: 1;
}
.club-feature > .icon:last-child {
    width: 16px;
    height: 16px;
    opacity: .6;
}
/* Referidos como detalle, no otra gran landing. */
.section-dark {
    background: var(--plum);
    color: #fff;
}
.section-dark p {
    color: #d9cbdf;
}
.referral-layout {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 42px;
}
.referral-layout h2 {
    max-width: 590px;
}
.referral-layout p {
    max-width: 540px;
}
.light-link {
    color: #ffaad1;
}
.light-link .icon {
    filter: brightness(0) invert(1);
}
.milestone-list {
    padding: 12px 29px;
    border-radius: 30px;
    background: #ffffff0b;
    border: 1px solid #ffffff22;
}
.milestone-list > div {
    display: grid;
    gap: 2px;
    padding: 17px 0;
    border-bottom: 1px solid #ffffff22;
}
.milestone-list span {
    color: #ffadd3;
    font-size: .78rem;
    font-weight: 800;
}
.milestone-list strong {
    color: #fff;
    font-size: .96rem;
}
.milestone-list p {
    margin-top: 17px;
    font-size: .72rem;
}
/* Puente editorial entre el Club y la red social. */
.transition-section {
    background: #fff;
    padding: 53px 0;
}
.transition-inner {
    text-align: center;
}
.transition-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0 auto 12px;
    background: #f6e9ff;
    border-radius: 17px;
}
.transition-icon .icon {
    width: 24px;
    height: 24px;
}
.transition-inner p {
    color: #766682;
    margin-bottom: 6px;
}
.transition-inner a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #bd2c77;
    font-size: 1rem;
    font-weight: 800;
}
.transition-inner a .icon {
    width: 19px;
    height: 19px;
}
/* Segundo capítulo: la propuesta de Jembreando sin mockups de teléfonos. */
.product-intro {
    text-align: center;
    background: radial-gradient(ellipse at 50% 90%, #ffe7ec, transparent 65%), #faf7fc;
}
.product-intro-inner {
    max-width: 820px;
}
.product-intro h2 {
    font-size: clamp(3rem, 7.5vw, 6.2rem);
    margin: 21px auto 24px;
}
.product-intro p {
    font-size: clamp(1.03rem, 1.65vw, 1.25rem);
    line-height: 1.8;
    max-width: 710px;
    margin: 0 auto 28px;
}
.modes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.mode-card {
    padding: 29px;
    min-height: 230px;
    border-radius: 28px;
}
.mode-date {
    background: #ffdfeb;
}
.mode-friends {
    background: #eae1ff;
}
.mode-talk {
    background: #ffebdc;
}
.mode-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: #ffffffaa;
    margin-bottom: 24px;
}
.mode-icon .icon {
    width: 28px;
    height: 28px;
}
.mode-card h3 {
    font-size: 1.67rem;
}
.mode-card p {
    color: #62546b;
    font-size: .91rem;
    max-width: 290px;
    margin: 0;
}
.values-stack {
    display: grid;
    gap: 13px;
}
.value-item {
    display: flex;
    align-items: flex-start;
    gap: 19px;
    padding: 21px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
}
.value-item > .icon {
    width: 25px;
    height: 25px;
}
.value-item div {
    display: grid;
    gap: 4px;
}
.value-item strong {
    font-size: .98rem;
}
.value-item span {
    color: var(--muted);
    font-size: .84rem;
}
.privacy-art {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
    border-radius: 33px;
    background: linear-gradient(145deg, #241530, #512974);
    color: #fff;
    padding: 35px;
    text-align: center;
    box-shadow: var(--shadow);
}
.privacy-art > span {
    max-width: 300px;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -.05em;
    line-height: 1.25;
}
.privacy-glow {
    display: grid;
    place-items: center;
    width: 91px;
    height: 91px;
    background: #ffffff20;
    border-radius: 27px;
}
.privacy-glow .icon {
    width: 46px;
    height: 46px;
    filter: brightness(0) invert(1);
}
.privacy-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
}
.privacy-pills span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 90px;
    padding: 9px 12px;
    background: #ffffff1f;
    font-size: .72rem;
}
.privacy-pills .icon {
    width: 15px;
    height: 15px;
    filter: brightness(0) invert(1);
}
.safety-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.safety-item {
    padding: 25px;
    border-radius: 24px;
    border: 1px solid var(--line);
}
.safety-item > .icon {
    width: 30px;
    height: 30px;
    margin-bottom: 22px;
}
.safety-item h3 {
    font-size: 1.15rem;
}
.safety-item p {
    font-size: .84rem;
    margin: 0;
}
.closing-section {
    margin: 0 12px;
    border-radius: 30px;
    background: linear-gradient(118deg, #f82e7b, #ff7474 65%, #ff986a);
    color: #fff;
    text-align: center;
    padding: 74px 20px;
}
.closing-inner {
    max-width: 790px;
}
.closing-inner h2 {
    color: white;
}
.closing-inner p {
    color: #fffafc;
}
.closing-inner .button {
    margin-top: 16px;
}
.faq-section {
    padding: 72px 0 95px;
}
.faq-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
}
.faq-layout h2 {
    margin-bottom: 8px;
}
.faq-items details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}
.faq-items summary {
    cursor: pointer;
    font-weight: 700;
    font-size: .95rem;
}
.faq-items details p {
    padding-top: 13px;
    font-size: .86rem;
    margin-bottom: 0;
}
.site-footer {
    border-top: 1px solid var(--line);
    padding: 35px 0;
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.site-footer span {
    color: var(--muted);
    font-size: .76rem;
}
.site-footer .wordmark .brand-name {
    font-size: inherit;
    color: #d93694;
}
.site-footer .wordmark .brand-heart {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
}
/* Navegación móvil con área segura para iOS. */
.mobile-nav {
    position: fixed;
    z-index: 105;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid #eae4eb;
    background: rgb(255 255 255 / 94%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}
.mobile-nav a {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 13px;
    color: #82778c;
    font-weight: 700;
    font-size: .65rem;
}
.mobile-nav a.active {
    background: #fff0f6;
    color: #bf2c78;
}
.mobile-nav .icon {
    width: 23px;
    height: 23px;
}
/* Diálogos funcionales de demostración. */
.modal-layer[hidden], .form-step[hidden] {
    display: none !important;
}
.modal-layer {
    position: fixed;
    z-index: 300;
    inset: 0;
    display: grid;
    place-items: end center;
}
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgb(26 12 37 / 68%);
    backdrop-filter: blur(9px);
}
.modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 96dvh;
    overflow: auto;
    overscroll-behavior: contain;
    border-radius: 29px 29px 0 0;
    background: white;
    padding: 23px 23px calc(22px + env(safe-area-inset-bottom));
    box-shadow: 0 25px 100px #170a2552;
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 23px;
}
.modal-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .9rem;
    font-weight: 800;
}
.modal-brand .icon {
    width: 23px;
    height: 23px;
}
.icon-button {
    display: grid;
    place-items: center;
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f6f0f8;
}
.progress-track {
    background: #f1e8f3;
    height: 5px;
    border-radius: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}
.progress-track span {
    display: block;
    height: 100%;
    width: 33%;
    border-radius: inherit;
    background: linear-gradient(100deg, #f82e7b, #7c4bf2);
    transition: width .3s;
}
.modal-dialog h2 {
    font-size: 1.75rem;
    margin: 10px 0;
}
.modal-dialog p {
    font-size: .84rem;
}
.step-art {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 19px;
    background: #ffedf4;
    margin-bottom: 18px;
}
.step-art .icon {
    width: 30px;
    height: 30px;
}
.form-kicker {
    color: #c82a78;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.modal-dialog form > .form-step > label:not(.check-field), .modal-dialog form > label {
    display: block;
    margin: 16px 0 7px;
    font-size: .79rem;
    font-weight: 800;
}
.modal-dialog input:not([type=checkbox]), .modal-dialog select {
    width: 100%;
    min-height: 49px;
    border: 1px solid #e6dfe8;
    border-radius: 13px;
    padding: 10px 13px;
    background: white;
    color: var(--ink);
}
.check-field {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    margin: 15px 0;
    font-size: .83rem;
    color: #544c59;
}
.check-field input {
    width: 18px;
    height: 18px;
    flex: none;
    margin-top: 3px;
    accent-color: var(--pink);
}
.check-field a {
    color: #b72d77;
    text-decoration: underline;
}
.choice-group {
    border: 1px solid var(--line);
    padding: 13px 16px 1px;
    border-radius: 16px;
    margin-top: 18px;
}
.choice-group > span {
    font-size: .79rem;
    font-weight: 700;
}
.modal-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 24px;
}
.modal-actions .button {
    flex: 1;
}
.modal-note {
    margin: 15px 0 0;
    text-align: center;
    color: #847689;
    font-size: .7rem !important;
}
.form-feedback {
    padding-top: 10px;
    color: #702c73 !important;
}
.button-full {
    width: 100%;
    margin-top: 16px;
}
.modal-open {
    overflow: hidden;
}
/* Entrada suave, pero sin esconder contenido cuando JS no carga. */
.reveal {
    opacity: 1;
    transform: none;
}
.motion-ready .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .65s ease, transform .65s ease;
}
.motion-ready .reveal.visible {
    opacity: 1;
    transform: none;
}
@media (min-width: 620px) {
    .container {
        width: min(calc(100% - 60px), var(--page-max));
    }
    .benefits-grid, .modes-grid, .safety-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hero-aside {
        max-width: 560px;
        margin-inline: auto;
    }
    .section-end {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .closing-section {
        margin: 0 25px;
    }
    .modal-layer {
        place-items: center;
        padding: 20px;
    }
    .modal-dialog {
        width: min(100%, 510px);
        max-height: 90dvh;
        border-radius: 30px;
        padding: 30px;
    }
}
@media (min-width: 900px) {
    body {
        padding-bottom: 0;
    }
    .mobile-nav {
        display: none;
    }
    .desktop-links {
        display: flex;
    }
    .section {
        padding: 115px 0;
    }
    .hero-section {
        padding: 125px 0;
    }
    .hero-layout {
        grid-template-columns: 1.2fr .8fr;
        gap: 55px;
    }
    .club-ticket {
        min-height: 490px;
        padding: 37px;
    }
    .benefits-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .modes-grid, .safety-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .split-layout {
        grid-template-columns: 1fr 1fr;
        gap: 85px;
    }
    .reverse-align > :first-child {
        order: 2;
    }
    .reverse-align > :last-child {
        order: 1;
    }
    .referral-layout {
        grid-template-columns: 1.05fr .95fr;
        gap: 85px;
    }
    .faq-layout {
        grid-template-columns: .7fr 1.3fr;
        gap: 85px;
    }
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
@media (max-width: 450px) {
    .container {
        width: min(calc(100% - 30px), var(--page-max));
    }
    .wordmark {
        font-size: 1.28rem;
    }
    .header-inner > .button {
        font-size: .72rem;
        padding: 10px 12px;
    }
    .hero-section {
        padding: 64px 0 79px;
    }
    .hero-copy h1 {
        font-size: clamp(2.95rem, 12vw, 4.3rem);
    }
    .button-row .button {
        width: 100%;
    }
    .club-ticket {
        min-height: 365px;
        padding: 25px;
    }
    .section {
        padding: 72px 0;
    }
    .step-row {
        gap: 10px;
        grid-template-columns: 25px 44px 1fr;
        padding: 14px;
    }
    .step-icon {
        width: 44px;
        height: 44px;
    }
    .closing-section {
        padding: 60px 16px;
    }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
    .motion-ready .reveal {
        opacity: 1;
        transform: none;
    }
}
/* Formularios de registro: accesibilidad, legal y teléfono internacional. */
.field-error {
    display: block;
    min-height: 1.2em;
    color: #a71943;
    font-size: .75rem;
    font-weight: 600;
}
.field-hint {
    display: block;
    margin: 4px 0 8px;
    font-size: .74rem;
    color: #726577;
    line-height: 1.6;
}
.modal-dialog input[aria-invalid="true"] {
    border-color: #b81948;
    background: #fff7fa;
}
.legal-consents {
    border: 0;
    padding: 0;
    margin: 12px 0 20px;
    min-width: 0;
}
.legal-consents legend, .choice-group legend {
    font-size: .82rem;
    font-weight: 800;
    margin: 5px 0 10px;
    padding: 0 4px;
}
.choice-group {
    padding-top: 9px;
}
.choice-group .check-field {
    margin: 10px 0;
}
.form-step > select {
    cursor: pointer;
}
.modal-dialog label a:hover {
    text-decoration-thickness: 2px;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-links a {
    color: #6f5d78;
    font-size: .79rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.faq-items a {
    color: #b52a79;
    text-decoration: underline;
}
/* Documentos unificados: páginas legibles en móvil, tablet y escritorio. */
.legal-main {
    padding-block: 70px 100px;
    max-width: 940px;
}
.legal-main h1 {
    font-size: clamp(2.4rem, 7vw, 4.3rem);
    margin-top: 14px;
}
.legal-main .lead {
    max-width: 780px;
}
.legal-main section {
    padding-block: 32px;
    border-top: 1px solid var(--line);
    scroll-margin-top: 110px;
}
.legal-main h2 {
    font-size: clamp(1.45rem, 3vw, 2.25rem);
}
.legal-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 40px 0;
}
.legal-toc a {
    background: #fff1f8;
    border: 1px solid #f1d9e9;
    border-radius: 28px;
    padding: 10px 16px;
    font-weight: 700;
    font-size: .84rem;
}
.legal-warning {
    border: 1px solid #ecc7df;
    border-radius: 18px;
    padding: 20px;
    background: #fff4f9;
    color: #73345e;
    font-weight: 700;
}
.offline-page {
    min-height: 90dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}
.offline-page img {
    margin-bottom: 24px;
}
.offline-page h1 {
    font-size: clamp(2rem, 7vw, 3.7rem);
}
@media (max-width: 620px) {
    .footer-links {
        gap: 12px;
    }
    .legal-main {
        padding-block: 44px 90px;
    }
}
/* Fase 03.4: identidad editorial compartida para documentación legal. */
.legal-body .site-header {
    background: rgb(250 249 252 / 92%);
}
.legal-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(70px, 8vw, 110px) 0;
    background: #faf7fc;
    isolation: isolate;
}
.legal-hero::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: url('../images/ambient-gradient.webp') right center / auto 100% no-repeat;
    opacity: .85;
    pointer-events: none;
}
.legal-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: center;
}
.legal-hero-copy h1 {
    font-size: clamp(2.65rem, 6.6vw, 5.3rem);
    max-width: 790px;
    margin: 22px 0;
}
.legal-hero-copy .lead {
    max-width: 660px;
}
.legal-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.legal-hero-aside {
    background: linear-gradient(145deg, #3c2357 0%, #7e3eab 65%, #dc5595 100%);
    border-radius: 32px;
    padding: clamp(26px, 5vw, 42px);
    box-shadow: 0 24px 62px rgb(80 39 104 / 18%);
    color: #fff;
    overflow: hidden;
    position: relative;
}
.legal-hero-aside::after {
    content: '';
    width: 230px;
    height: 230px;
    border: 1px solid #ffffff40;
    border-radius: 50%;
    position: absolute;
    top: -70px;
    right: -95px;
    pointer-events: none;
}
.legal-hero-symbol {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    border-radius: 22px;
    background: #ffffff21;
}
.legal-hero-symbol img {
    width: 38px;
    height: 38px;
}
.legal-hero-badge {
    display: inline-flex;
    padding: 7px 12px;
    margin-top: 27px;
    border: 1px solid #ffffff60;
    border-radius: 40px;
    font-weight: 800;
    font-size: .7rem;
    letter-spacing: .05em;
}
.legal-hero-aside h2 {
    color: #fff;
    font-size: clamp(1.85rem, 3.2vw, 2.75rem);
    margin: 16px 0 10px;
}
.legal-hero-aside p {
    color: #f9e8f5;
    max-width: 380px;
}
.legal-hero-status {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-top: 1px solid #ffffff35;
    padding-top: 19px;
    font-size: .78rem;
    color: #f9e2f0;
    font-weight: 600;
}
.legal-hero-status .icon {
    filter: brightness(0) invert(1);
}
.legal-shell {
    background: linear-gradient(#fff, #fcf9fd);
    padding: clamp(68px, 8vw, 110px) 0 100px;
}
.legal-section-heading {
    max-width: 780px;
    margin-bottom: 42px;
}
.legal-section-heading h2 {
    font-size: clamp(2.2rem, 5vw, 3.65rem);
    margin-bottom: 16px;
}
.legal-section-heading h2 em, .legal-closing h2 em {
    font-style: normal;
    color: #da387e;
}
.legal-section-heading p {
    font-size: 1.04rem;
    line-height: 1.8;
}
.legal-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 25px;
    align-items: start;
}
.legal-sidebar {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 12px 34px rgb(67 29 77 / 5%);
}
.legal-sidebar-heading {
    font-size: .73rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 800;
    color: #8d7197;
    padding: 5px 10px 13px;
}
.legal-sidebar a {
    display: flex;
    align-items: center;
    gap: 11px;
    border-radius: 14px;
    padding: 12px 10px;
    color: #514159;
    font-size: .85rem;
    font-weight: 700;
}
.legal-sidebar a:hover, .legal-sidebar a:focus-visible {
    background: #fff2f9;
    color: #c72d79;
}
.legal-sidebar .icon {
    width: 18px;
    height: 18px;
}
.legal-sidebar .legal-chevron {
    width: 15px;
    height: 15px;
    margin-left: auto;
    opacity: .55;
}
.legal-sidebar .legal-sidebar-help {
    margin-top: 12px;
    border-top: 1px solid var(--line);
    border-radius: 0;
    color: #c52b75;
    justify-content: space-between;
}
.legal-articles {
    min-width: 0;
    display: grid;
    gap: 20px;
}
.legal-article {
    scroll-margin-top: 105px;
    background: white;
    border: 1px solid #eee4f0;
    border-radius: 26px;
    padding: clamp(23px, 4vw, 38px);
    box-shadow: 0 16px 45px rgb(66 30 76 / 5%);
}
.legal-article-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 19px;
}
.legal-number {
    display: inline-grid;
    place-items: center;
    height: 30px;
    min-width: 30px;
    border-radius: 10px;
    font-size: .7rem;
    font-weight: 800;
    background: #fff0f7;
    color: #cc357b;
}
.legal-article-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #f5eefe;
}
.legal-article-icon .icon {
    width: 17px;
    height: 17px;
}
.legal-article-kind {
    color: #b02b77;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-size: .68rem;
    font-weight: 800;
}
.legal-article h2 {
    font-size: clamp(1.48rem, 3vw, 2.05rem);
    margin-bottom: 19px;
    overflow-wrap: anywhere;
}
.legal-article p {
    font-size: .92rem;
    line-height: 1.94;
    color: #665971;
}
.legal-article p:last-child {
    margin-bottom: 0;
}
.legal-notice {
    display: flex;
    gap: 15px;
    border: 1px solid #f2d0df;
    background: #fff1f7;
    color: #703052;
    border-radius: 23px;
    padding: 23px;
}
.legal-notice > .icon {
    width: 23px;
    height: 23px;
}
.legal-notice strong {
    color: #7c2758;
}
.legal-notice p {
    margin: 5px 0 0;
    color: #75445d;
    line-height: 1.75;
    font-size: .85rem;
}
.legal-closing {
    margin: 0 0 32px;
    padding: 76px 0;
    background: linear-gradient(115deg, #34204e 0%, #7b36a1 65%, #db408b 100%);
    color: white;
}
.legal-closing-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
}
.legal-closing h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    max-width: 650px;
}
.legal-closing h2 em {
    color: #ffb5da;
}
.legal-closing p {
    color: #f2e1f1;
    max-width: 590px;
}
.legal-closing .kicker {
    color: #ffb5da;
}
@media (min-width: 850px) {
    .legal-hero-inner {
        grid-template-columns: 1.22fr .78fr;
        gap: 65px;
    }
    .legal-layout {
        grid-template-columns: 266px minmax(0,1fr);
        gap: 29px;
    }
    .legal-sidebar {
        position: sticky;
        top: 95px;
    }
    .legal-closing-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
@media (max-width: 620px) {
    .legal-hero {
        padding: 57px 0 66px;
    }
    .legal-hero-actions .button {
        width: 100%;
    }
    .legal-shell {
        padding: 67px 0 75px;
    }
    .legal-article {
        border-radius: 21px;
    }
    .legal-closing {
        padding: 65px 0;
        margin-bottom: 0;
    }
}
/* Fase 4.4: errores independientes y accesibles, sin alterar el tema premium. */
.modal-dialog .check-error {
    margin: -8px 0 10px 29px;
    min-height: 0;
}
.modal-dialog .check-field input[aria-invalid="true"] {
    outline: 2px solid #aa2351;
    outline-offset: 3px;
}
.modal-dialog input[aria-invalid="true"]:not([type="checkbox"]),
.modal-dialog select[aria-invalid="true"] {
    border-color: #aa2351;
    box-shadow: 0 0 0 3px rgba(170,35,81,.10);
}
.modal-dialog .field-error:empty {
    min-height: 0;
}
/* Los botones ocultos por el flujo de inscripción no deben ocupar espacio. */
.modal-actions .button[hidden] {
    display: none !important;
}
/* Founders Club: intereses independientes, seleccion múltiple. */
.founder-interests {
    margin-top: 18px;
    padding-bottom: 11px;
}
.founder-interests .field-hint {
    display: block;
    margin: 0 0 12px;
    color: #786b7c;
}
.founder-interests .check-field {
    min-height: 38px;
    padding: 7px 9px;
    border-radius: 12px;
    margin: 3px 0;
}
.founder-interests .check-field:has(input:checked) {
    background: #fff0f7;
    color: #9c205b;
    font-weight: 700;
}
.founder-interests .check-field:focus-within {
    outline: 2px solid #a86fea;
    outline-offset: 1px;
}

/* Fase 4.11.23: cuatro premios simétricos. Específico para no alterar otras rejillas. */
#beneficios .benefits-grid {
    display:grid;
    grid-template-columns:minmax(0, 1fr);
    gap:clamp(12px, 1.35vw, 18px);
    align-items:stretch;
}
#beneficios .benefits-grid > .benefit-card {
    box-sizing:border-box;
    min-width:0;
    width:100%;
    height:100%;
    padding:clamp(19px, 2.1vw, 29px);
}
#beneficios .benefit-card h3 {font-size:clamp(1.25rem, 1.85vw, 1.65rem);overflow-wrap:break-word;}
#beneficios .benefit-icon.coral {background:#ffe1d6;border:1px solid #eeb5a7;}
#beneficios .benefit-icon.coral img.icon {
    display:block;
    width:34px;
    height:34px;
    max-width:none;
    opacity:1!important;
    visibility:visible;
    filter:none!important;
}
@media (min-width:620px) {
    #beneficios .benefits-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (min-width:900px) {
    #beneficios .benefits-grid {grid-template-columns:repeat(4,minmax(0,1fr));}
}


/* CSP 6.2.2: step progress without inline style attributes. */
#joinProgress.join-progress-step-1{width:33.333333%}
#joinProgress.join-progress-step-2{width:66.666667%}
#joinProgress.join-progress-step-3{width:100%}

/* Fase 6.5.1: campos Nombre y Apellido integrados al estilo original del modal.
   No se usa una rejilla especial: el selector existente .form-step > label
   conserva el espaciado, altura, tipografía y ancho de todos los campos. */

/* 6.5.4 — Editorial notices: distinct from per-field validation hints. */
.modal-dialog .join-info-notices {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}
.modal-dialog .join-info-notice {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 13px 14px;
    border: 1px solid #eadce8;
    border-radius: 15px;
    background: #fcf8fc;
    box-shadow: 0 3px 12px rgb(95 48 83 / 4%);
}
.modal-dialog .join-info-notice--referral {
    border-color: #ecd5e6;
    background: #fff6fa;
}
.modal-dialog .join-info-notice__icon {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 9px;
    background: #f8e5f1;
    color: #9f286c;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}
.modal-dialog .join-info-notice p {
    margin: 0;
    color: #554a58;
    font-size: .79rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.modal-dialog .join-info-notice strong {
    color: #622247;
    font-weight: 800;
}
@media (max-width: 420px) {
    .modal-dialog .join-info-notice { padding: 12px; gap: 8px; }
}
