/*============================================================================
  Pantallas «estilo app» de la web (onboarding, login, registro...).

  Mismo lenguaje que la app Flutter (mobile/lib/core/theme): Poppins, títulos
  grandes alineados a la izquierda, botón principal ancho y pegado abajo en
  móvil, chips pill, tarjetas de radio 12-16 y el indicador de pasos con la
  barra activa de 22×6. Colores SIEMPRE de los tokens de design-system.css.

  Estructura:
    <body class="gp-as">
      <div class="gp-as__shell">
        <header class="gp-as__top"> logo · acción </header>
        <main class="gp-as__body"> ... </main>
        <footer class="gp-as__actions"> botones </footer>
      </div>
============================================================================*/

.gp-as {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--gp-bg-gray, #f7faf8);
    font-family: var(--gp-font);
    color: var(--gp-text);
    -webkit-font-smoothing: antialiased;
}

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

.gp-as__shell {
    min-height: 100vh;
    min-height: 100dvh;
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background: var(--gp-bg, #fff);
}

@media (min-width: 640px) {
    .gp-as__shell {
        min-height: auto;
        margin: 48px auto;
        border-radius: 22px;
        border: 1px solid var(--gp-border);
        box-shadow: 0 12px 40px rgba(15, 30, 26, .08);
        overflow: hidden;
    }
}

/* ---- Barra superior ---- */
.gp-as__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px 0;
    min-height: 56px;
}
.gp-as__logo img { height: 26px; width: auto; display: block; }
.gp-as__back,
.gp-as__skip {
    background: none;
    border: 0;
    padding: 8px 4px;
    font: 600 14px/1 var(--gp-font);
    color: var(--gp-text-secondary);
    cursor: pointer;
    text-decoration: none;
    border-radius: 8px;
}
.gp-as__back { display: inline-flex; align-items: center; gap: 4px; color: var(--gp-text); }
.gp-as__back:hover, .gp-as__skip:hover { color: var(--gp-text); text-decoration: none; }
.gp-as__back:focus-visible, .gp-as__skip:focus-visible { outline: 2px solid var(--gp-primary); outline-offset: 2px; }

/* ---- Cuerpo ---- */
.gp-as__body {
    flex: 1;
    padding: 20px 22px 24px;
}
.gp-as__title {
    font: 700 26px/1.2 var(--gp-font);
    letter-spacing: -.01em;
    margin: 14px 0 8px;
    color: var(--gp-text);
}
.gp-as__lead {
    font: 400 15px/1.5 var(--gp-font);
    color: var(--gp-text-secondary);
    margin: 0 0 20px;
}
.gp-as__label {
    display: block;
    font: 600 14px/1.3 var(--gp-font);
    color: var(--gp-text);
    margin: 22px 0 10px;
}

/* ---- Indicador de pasos (como la app) ---- */
.gp-as__dots { display: flex; gap: 6px; align-items: center; }
.gp-as__dots span {
    width: 6px; height: 6px; border-radius: 3px;
    background: var(--gp-border);
    transition: width .25s ease, background .25s ease;
}
.gp-as__dots span.is-active { width: 22px; background: var(--gp-primary); }
.gp-as__dots span.is-done { background: var(--gp-primary); opacity: .45; }

/* ---- Acciones abajo: pegadas al borde en móvil ---- */
.gp-as__actions {
    position: sticky;
    bottom: 0;
    padding: 14px 22px calc(8px + env(safe-area-inset-bottom));
    /* Fondo blanco sólido: el contenido que pasa por debajo no asoma pegado al botón. */
    background: var(--gp-bg, #fff);
    border-top: 1px solid var(--gp-border);
    box-shadow: 0 -8px 20px rgba(15, 30, 26, .06);
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 5;
}
/* El secundario de abajo («Saltar este paso»): discreto y sin alto de más. */
.gp-as__actions .gp-as-btn--ghost { min-height: 38px; font-size: 13.5px; padding-top: 6px; padding-bottom: 6px; }

/* ---- Botones ---- */
.gp-as-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 14px;
    border: 0;
    font: 600 16px/1 var(--gp-font);
    cursor: pointer;
    text-decoration: none;
    transition: background .15s ease, opacity .15s ease, transform .1s ease;
    -webkit-tap-highlight-color: transparent;
}
.gp-as-btn:active:not(:disabled) { transform: scale(.985); }
.gp-as-btn:focus-visible { outline: 3px solid var(--gp-primary-light); outline-offset: 2px; }
.gp-as-btn--primary { background: var(--gp-primary-dark); color: #fff; }
.gp-as-btn--primary:hover:not(:disabled) { background: #1a4f24; color: #fff; text-decoration: none; }
.gp-as-btn--ghost { background: transparent; color: var(--gp-text-secondary); min-height: 44px; font-weight: 600; font-size: 14px; }
.gp-as-btn--ghost:hover:not(:disabled) { color: var(--gp-text); }
.gp-as-btn--outline { background: var(--gp-bg, #fff); color: var(--gp-text); border: 1.5px solid var(--gp-border); }
.gp-as-btn--outline:hover:not(:disabled) { border-color: var(--gp-text-secondary); text-decoration: none; color: var(--gp-text); }
.gp-as-btn:disabled { opacity: .45; cursor: not-allowed; }

/* Cargando: el texto se oculta, el ancho no salta y aparece el spinner */
.gp-as-btn.is-loading { cursor: progress; opacity: 1; }
.gp-as-btn.is-loading > * { visibility: hidden; }
.gp-as-btn.is-loading::after {
    content: "";
    position: absolute;
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 2.5px solid currentColor;
    border-right-color: transparent;
    animation: gp-as-spin .7s linear infinite;
}
@keyframes gp-as-spin { to { transform: rotate(360deg); } }

/* ---- Tarjeta «Usar mi ubicación» (verde suave, como la app) ---- */
.gp-as-geo {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1.5px solid var(--gp-primary);
    background: var(--gp-primary-light);
    color: var(--gp-primary-dark);
    text-align: left;
    cursor: pointer;
    font-family: var(--gp-font);
}
.gp-as-geo:disabled { cursor: progress; }
.gp-as-geo__icon { font-size: 20px; line-height: 1; flex: none; }
.gp-as-geo__txt { flex: 1; min-width: 0; }
.gp-as-geo__txt strong { display: block; font-size: 15px; font-weight: 600; }
.gp-as-geo__txt small { display: block; font-size: 12.5px; opacity: .8; }
.gp-as-geo__end { flex: none; width: 18px; height: 18px; }
.gp-as-geo.is-loading .gp-as-geo__end {
    border-radius: 50%;
    border: 2px solid currentColor;
    border-right-color: transparent;
    animation: gp-as-spin .7s linear infinite;
}

/* ---- Campo pill con buscador ---- */
.gp-as-search { position: relative; margin-top: 12px; }
.gp-as-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    min-height: 50px;
    border-radius: 999px;
    border: 1.5px solid var(--gp-border);
    background: var(--gp-bg, #fff);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.gp-as-field:focus-within { border-color: var(--gp-primary); box-shadow: 0 0 0 3px var(--gp-primary-light); }
.gp-as-field i, .gp-as-field svg { color: var(--gp-text-secondary); flex: none; }
.gp-as-field input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font: 400 16px/1.2 var(--gp-font); /* 16px: iOS no hace zoom */
    color: var(--gp-text);
    padding: 12px 0;
}
.gp-as-field input::placeholder { color: var(--gp-text-secondary); }
.gp-as-field__clear {
    border: 0; background: none; padding: 6px; cursor: pointer;
    color: var(--gp-text-secondary); font-size: 18px; line-height: 1;
}

.gp-as-results {
    list-style: none;
    margin: 8px 0 0;
    padding: 6px;
    border-radius: 14px;
    border: 1px solid var(--gp-border);
    background: var(--gp-bg, #fff);
    box-shadow: 0 10px 30px rgba(15, 30, 26, .10);
}
.gp-as-results[hidden] { display: none; }
.gp-as-results li { margin: 0; }
.gp-as-results button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px;
    border: 0;
    border-radius: 10px;
    background: none;
    text-align: left;
    cursor: pointer;
    font-family: var(--gp-font);
}
.gp-as-results button:hover,
.gp-as-results button.is-active { background: var(--gp-bg-gray, #f7faf8); }
.gp-as-results__pin {
    flex: none; width: 34px; height: 34px; border-radius: 10px;
    display: grid; place-items: center;
    background: var(--gp-primary-light); color: var(--gp-primary-dark); font-size: 16px;
}
.gp-as-results__name { display: block; font-size: 15px; font-weight: 600; color: var(--gp-text); }
.gp-as-results__name mark, .gp-as-results__name em { background: none; color: var(--gp-primary-dark); font-style: normal; padding: 0; }
.gp-as-results__sub { display: block; font-size: 12.5px; color: var(--gp-text-secondary); }
.gp-as-results__msg { padding: 14px 12px; font-size: 14px; color: var(--gp-text-secondary); }

/* Zona elegida */
.gp-as-picked {
    display: flex; align-items: center; gap: 12px;
    margin-top: 14px; padding: 14px 16px;
    border-radius: 12px;
    background: var(--gp-text, #0f1e1a);
    color: #fff;
}
.gp-as-picked[hidden] { display: none; }
.gp-as-picked__check {
    flex: none; width: 26px; height: 26px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--gp-primary-on-dark, #6db33f); color: var(--gp-text); font-weight: 700; font-size: 14px;
}
.gp-as-picked__txt { flex: 1; min-width: 0; }
.gp-as-picked__txt small { display: block; font-size: 12px; opacity: .7; }
.gp-as-picked__txt strong { display: block; font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-as-picked button { border: 0; background: none; color: #fff; opacity: .8; font: 600 13px var(--gp-font); cursor: pointer; padding: 6px; }

/* ---- Gustos: tarjetas con foto ---- */
.gp-as-tastes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
@media (min-width: 480px) { .gp-as-tastes { gap: 12px; } }
.gp-as-taste {
    position: relative;
    aspect-ratio: 1 / 1.05;
    border-radius: 14px;
    overflow: hidden;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: linear-gradient(135deg, var(--gp-ink-elevated, #1a332c), var(--gp-text, #0f1e1a));
    -webkit-tap-highlight-color: transparent;
    transition: transform .12s ease;
}
.gp-as-taste:active { transform: scale(.97); }
.gp-as-taste img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gp-as-taste::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(15,30,26,0) 35%, rgba(15,30,26,.85));
}
.gp-as-taste__name {
    position: absolute; left: 9px; right: 9px; bottom: 8px; z-index: 1;
    color: #fff; font: 600 13px/1.2 var(--gp-font); text-align: left;
    overflow-wrap: normal; hyphens: manual; letter-spacing: -.01em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gp-as-taste__check {
    position: absolute; top: 8px; right: 8px; z-index: 1;
    width: 24px; height: 24px; border-radius: 50%;
    display: grid; place-items: center;
    border: 2px solid rgba(255,255,255,.85);
    background: rgba(15,30,26,.25);
    color: transparent; font-size: 13px; font-weight: 700;
    transition: background .15s ease, border-color .15s ease;
}
.gp-as-taste.is-selected { box-shadow: 0 0 0 3px var(--gp-primary); }
.gp-as-taste.is-selected .gp-as-taste__check { background: var(--gp-primary); border-color: var(--gp-primary); color: #fff; }
.gp-as-taste:focus-visible { outline: 3px solid var(--gp-primary); outline-offset: 2px; }
.gp-as-taste.is-blocked { opacity: .5; }

.gp-as-counter { font-size: 13px; color: var(--gp-text-secondary); margin: 10px 0 0; }

/* ---- Chips pill (presupuesto, etc.) ---- */
.gp-as-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.gp-as-chip {
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1.5px solid var(--gp-border);
    background: var(--gp-bg, #fff);
    font: 400 14px/1.2 var(--gp-font);
    color: var(--gp-text);
    cursor: pointer;
}
.gp-as-chip b { font-weight: 700; }
.gp-as-chip.is-selected {
    border-color: var(--gp-gold-dark, #7c621c);
    background: var(--gp-gold-light, #fdf3e0);
    color: var(--gp-gold-dark, #7c621c);
    font-weight: 600;
}

/* ---- Final ---- */
.gp-as-done { text-align: center; padding: 28px 0 8px; }
.gp-as-done__badge {
    width: 88px; height: 88px; margin: 0 auto 18px;
    border-radius: 28px;
    display: grid; place-items: center;
    background: var(--gp-primary-light);
    color: var(--gp-primary-dark);
    font-size: 42px;
}
.gp-as-done .gp-as__title { text-align: center; }
.gp-as-done .gp-as__lead { text-align: center; }
.gp-as-perks { list-style: none; padding: 0; margin: 8px 0 0; text-align: left; }
.gp-as-perks li {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 12px 0; border-top: 1px solid var(--gp-border-light);
    font-size: 14.5px; color: var(--gp-text-secondary);
}
.gp-as-perks li strong { display: block; color: var(--gp-text); font-weight: 600; }
.gp-as-perks__ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--gp-bg-gray); font-size: 18px; }

/* ---- Campos con label (formularios) ---- */
.gp-as-form-row { margin-top: 18px; }
.gp-as-form-row > label {
    display: block;
    font: 600 14px/1.3 var(--gp-font);
    color: var(--gp-text);
    margin: 0 0 8px;
}
.gp-as-form-row .gp-as-opt { font-weight: 400; color: var(--gp-text-secondary); }
.gp-as-input {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1.5px solid var(--gp-border);
    background: var(--gp-bg, #fff);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.gp-as-input:focus-within { border-color: var(--gp-primary); box-shadow: 0 0 0 3px var(--gp-primary-light); }
.gp-as-input.is-invalid { border-color: #b3261e; }
.gp-as-input input {
    flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
    font: 400 16px/1.2 var(--gp-font); color: var(--gp-text); padding: 14px 0;
}
.gp-as-input input::placeholder { color: var(--gp-text-secondary); }
.gp-as-input__prefix {
    flex: none; font: 600 15px var(--gp-font); color: var(--gp-text-secondary);
    padding-right: 10px; border-right: 1px solid var(--gp-border);
}
.gp-as-help { margin: 6px 2px 0; font-size: 12.5px; color: var(--gp-text-secondary); }
.gp-as-error { margin: 6px 2px 0; font-size: 13px; color: #b3261e; }
.gp-as-error:empty, .gp-as-error[hidden] { display: none; }

/* ---- Avisos ---- */
.gp-as-alert {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    background: var(--gp-cta-light, #fef2f2);
    color: #8f1820;
}
.gp-as-alert[hidden] { display: none; }

/* ---- Pasos con transición ---- */
.gp-as-step[hidden] { display: none; }
.gp-as-step { animation: gp-as-in .28s cubic-bezier(.2,.8,.2,1); }
@keyframes gp-as-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .gp-as-step, .gp-as-btn, .gp-as-taste { animation: none; transition: none; }
}

.gp-as-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* `hidden` siempre gana, aunque la clase ponga display (botones, barra) */
.gp-as [hidden] { display: none !important; }
/* El título recibe el foco al cambiar de paso (lectores de pantalla); sin marco visible */
.gp-as__title[tabindex="-1"]:focus { outline: none; }

/* ==== Entrar / crear cuenta (templates/account/login.html, phone_login_*.html) ==== */
.gp-as-auth-hero {
    display: flex; gap: 8px; margin: 4px 0 22px;
}
.gp-as-auth-hero img {
    flex: 1; min-width: 0; height: 92px; object-fit: cover; border-radius: 14px; background: var(--gp-bg-gray);
}
.gp-as-auth-hero img:nth-child(2) { transform: translateY(10px); }
.gp-as-idfield .iti { display: block; width: 100%; }
.gp-as-idfield .iti__search-input { font-size: 16px; }
.gp-as-idfield .iti.gp-id-email .iti__country-container { display: none; }
.gp-as-idfield .iti.gp-id-email input { padding-left: 16px !important; }
.gp-as-idfield input.gp-as-textinput {
    display: block; width: 100%; min-height: 54px; padding: 0 16px;
    border-radius: 14px; border: 1.5px solid var(--gp-border); background: #fff;
    font: 400 16px/1.2 var(--gp-font); color: var(--gp-text);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.gp-as-idfield input.gp-as-textinput:focus { outline: 0; border-color: var(--gp-primary); box-shadow: 0 0 0 3px var(--gp-primary-light); }
.gp-as-idfield input.gp-as-textinput.is-invalid { border-color: #b3261e; }
.gp-as-fine { margin: 16px 2px 0; font-size: 12.5px; line-height: 1.5; color: var(--gp-text-secondary); text-align: center; }
.gp-as-fine a { color: var(--gp-text-secondary); text-decoration: underline; }
.gp-as-link {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px;
    background: none; border: 0; padding: 0 6px; cursor: pointer;
    font: 600 14px var(--gp-font); color: var(--gp-primary-dark); text-decoration: none;
}
.gp-as-link[disabled] { color: var(--gp-text-secondary); cursor: default; }
.gp-as-center { text-align: center; }
.gp-as-dest { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--gp-text); }
.gp-as-otp {
    display: block; width: 100%; min-height: 64px; margin-top: 22px;
    border-radius: 16px; border: 1.5px solid var(--gp-border); background: #fff;
    font: 700 30px/1 var(--gp-font); letter-spacing: .42em; text-indent: .42em; text-align: center;
    color: var(--gp-text); caret-color: var(--gp-primary);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.gp-as-otp::placeholder { color: #d8dcda; letter-spacing: .42em; }
.gp-as-otp:focus { outline: 0; border-color: var(--gp-primary); box-shadow: 0 0 0 3px var(--gp-primary-light); }
.gp-as-otp.is-invalid { border-color: #b3261e; }
.gp-as-notice { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; font-size: 14px; background: var(--gp-primary-light); color: var(--gp-primary-dark); }
.gp-as-options { display: grid; gap: 12px; margin-top: 22px; }
.gp-as-option {
    position: relative; display: flex; align-items: center; gap: 14px; width: 100%;
    min-height: 72px; padding: 14px 16px; text-align: left; cursor: pointer;
    border-radius: 16px; border: 1.5px solid var(--gp-border); background: #fff;
    font: 600 16px/1.3 var(--gp-font); color: var(--gp-text);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.gp-as-option:hover { border-color: var(--gp-primary); }
.gp-as-option small { display: block; margin-top: 2px; font-weight: 400; font-size: 13px; color: var(--gp-text-secondary); }
.gp-as-option__ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gp-bg-gray); }
.gp-as-option__ico svg { width: 24px; height: 24px; }
.gp-as-option--wa .gp-as-option__ico { background: #e7f9ee; color: #128c4b; }
.gp-as-option.is-featured { border-color: var(--gp-primary); box-shadow: 0 0 0 3px var(--gp-primary-light); }
.gp-as-option__end { margin-left: auto; color: var(--gp-text-secondary); }
.gp-as-option.is-loading .gp-as-option__end { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--gp-primary); border-right-color: transparent; animation: gp-as-spin .7s linear infinite; }
.gp-as-option.is-loading .gp-as-option__end > * { display: none; }
.gp-as-option[aria-disabled="true"] { pointer-events: none; opacity: .6; }
.gp-as-option.is-loading { opacity: 1; }
.gp-as-owner { display: block; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--gp-bg-gray); font-size: 14px; color: var(--gp-text-secondary); text-decoration: none; }
.gp-as-owner strong { color: var(--gp-text); }

/*============================================================================
  Entrar (templates/account/_auth_base.html): foto + marca y formulario.
  Móvil: la foto arriba y el formulario en una hoja que sube por encima.
  Escritorio (≥960): pantalla partida, foto a la izquierda.
============================================================================*/
.gp-au { background: var(--gp-brand-ink, #0F1E1A); }
.gp-au__wrap { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }

.gp-au__hero {
    position: relative;
    isolation: isolate;
    height: 46vh; height: 46svh;
    min-height: 300px; max-height: 420px;
    color: #fff;
    overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: calc(18px + env(safe-area-inset-top)) 22px 50px;
}
.gp-au--compact .gp-au__hero { height: 30vh; height: 30svh; min-height: 210px; max-height: 280px; }
.gp-au__hero picture, .gp-au__photo {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
}
.gp-au__photo { animation: gp-au-zoom 18s ease-out both; }
@keyframes gp-au-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.gp-au__shade {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(10,20,17,.55) 0%, rgba(10,20,17,0) 30%),
        linear-gradient(0deg, rgba(10,20,17,.92) 0%, rgba(10,20,17,.55) 38%, rgba(10,20,17,0) 70%);
}
.gp-au__logo img { height: 28px; width: auto; display: block; }
.gp-au__eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: #fff; background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    padding: 6px 11px; border-radius: 999px;
}
.gp-au__eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gp-primary-on-dark, #6db33f); }
.gp-au__headline {
    margin: 12px 0 0;
    font-size: 30px; line-height: 1.12; font-weight: 700; letter-spacing: -.02em;
    text-wrap: balance;
}
.gp-au__sub { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.86); max-width: 34ch; }
.gp-au--compact .gp-au__sub, .gp-au--compact .gp-au__eyebrow { display: none; }
.gp-au--compact .gp-au__headline { font-size: 24px; }
.gp-au__perks, .gp-au__stats { display: none; }

/* La hoja del formulario */
.gp-au__panel {
    position: relative;
    flex: 1;
    margin-top: -28px;
    background: var(--gp-bg, #fff);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,.18);
    animation: gp-au-up .5s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes gp-au-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.gp-au__panel::before {
    content: ''; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
    width: 40px; height: 5px; border-radius: 3px; background: var(--gp-border);
}
.gp-au__panel-in {
    max-width: 440px; margin: 0 auto;
    padding: 26px 22px calc(28px + env(safe-area-inset-bottom));
}
.gp-au__bar { display: flex; align-items: center; gap: 8px; min-height: 8px; margin-bottom: 6px; }
.gp-au__panel-logo { display: none; }
.gp-au__back {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; margin-left: -10px; border-radius: 50%;
    color: var(--gp-text);
}
.gp-au__back:hover { background: var(--gp-bg-gray, #f3f5f4); }
.gp-au .gp-as__title { margin-top: 4px; }

@media (prefers-reduced-motion: reduce) {
    .gp-au__photo, .gp-au__panel { animation: none; }
}

@media (min-width: 960px) {
    .gp-au { background: var(--gp-bg, #fff); }
    .gp-au__wrap { flex-direction: row; }
    .gp-au__hero, .gp-au--compact .gp-au__hero {
        position: sticky; top: 0;
        flex: 0 0 52%;
        height: 100vh; height: 100dvh; min-height: 0; max-height: none;
        padding: 40px 48px 44px;
    }
    .gp-au__shade {
        background:
            linear-gradient(180deg, rgba(10,20,17,.6) 0%, rgba(10,20,17,0) 26%),
            linear-gradient(0deg, rgba(10,20,17,.94) 0%, rgba(10,20,17,.6) 42%, rgba(10,20,17,.05) 75%);
    }
    .gp-au__logo img { height: 34px; }
    .gp-au__pitch { max-width: 560px; }
    .gp-au__headline, .gp-au--compact .gp-au__headline { font-size: clamp(36px, 3.4vw, 52px); }
    .gp-au__sub, .gp-au--compact .gp-au__sub { display: block; font-size: 17px; max-width: 42ch; margin-top: 12px; }
    .gp-au--compact .gp-au__eyebrow { display: inline-flex; }
    .gp-au__perks {
        display: grid; gap: 12px; list-style: none; margin: 26px 0 0; padding: 0;
        font-size: 15px; color: rgba(255,255,255,.92);
    }
    .gp-au__perks li { display: flex; align-items: center; gap: 12px; }
    .gp-au__perks span {
        flex: none; width: 34px; height: 34px; border-radius: 10px;
        display: inline-flex; align-items: center; justify-content: center;
        background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
        backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    }
    .gp-au__perks svg { width: 17px; height: 17px; color: var(--gp-primary-on-dark, #6db33f); }
    .gp-au__stats {
        display: flex; gap: 0; margin: 30px 0 0; padding-top: 22px;
        border-top: 1px solid rgba(255,255,255,.18);
    }
    .gp-au__stats div { padding: 0 26px; border-left: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column-reverse; }
    .gp-au__stats div:first-child { padding-left: 0; border-left: 0; }
    .gp-au__stats dd { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
    .gp-au__stats dt { font-size: 12px; color: rgba(255,255,255,.75); margin-top: 3px; }

    .gp-au__panel {
        margin: 0; border-radius: 0; box-shadow: none;
        display: flex; align-items: center;
        animation-name: gp-au-in;
    }
    @keyframes gp-au-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
    .gp-au__panel::before { display: none; }
    .gp-au__panel-in { width: 100%; padding: 48px 40px; }
    .gp-au__bar { min-height: 44px; margin-bottom: 26px; }
    .gp-au__panel-logo { display: block; margin-left: auto; }
    .gp-au__bar:has(.gp-au__back) .gp-au__panel-logo { margin-left: auto; }
    .gp-au__panel-logo img { height: 26px; width: auto; display: block; }
    .gp-au .gp-as__title { font-size: 30px; }
}
/* Nombres largos («Hamburguesas») sin partir con guion en móvil */
@media (max-width: 420px) { .gp-as-taste__name { font-size: 12px; } }
@media (min-width: 960px) {
    /* El logo ya está sobre la foto */
    .gp-au__panel-logo { display: none !important; }
    .gp-au__bar { min-height: 0; margin-bottom: 18px; }
}

/* Login: «¿No tienes cuenta? Crear cuenta nueva» y pestañas (static/css/login-phone.css) */
.gp-au-switch { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--gp-border); text-align: center; }
.gp-au-switch > span { display: block; margin-bottom: 10px; font-size: 14px; color: var(--gp-text-secondary); }
.gp-au-form .gp-login-tabs { margin: 18px 0 14px; }
.gp-au-form .gp-login-tabs label { min-height: 40px; display: flex; align-items: center; justify-content: center; font-size: 14px; }

/* Dato verificado (wizard: teléfono) */
.gp-as-label { display: block; font-size: 14px; font-weight: 600; color: var(--gp-text); margin-bottom: 6px; }
.gp-as-verified { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; padding: 12px 14px; border: 1.5px solid var(--gp-border); border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--gp-text); }
.gp-as-verified__ok { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--gp-primary-light); color: var(--gp-primary-dark); font-size: 13px; }
.gp-as-verified__tag { font-size: 12px; font-weight: 600; color: var(--gp-primary-dark); background: var(--gp-primary-light); padding: 2px 8px; border-radius: 999px; }
.gp-as-verified .gp-as-link { margin-left: auto; }
/* «Crear cuenta nueva» / «Entrar»: secundario bien visible */
.gp-au-switch .gp-as-btn--outline { border: 2px solid var(--gp-primary-dark); color: var(--gp-primary-dark); }
.gp-au-switch .gp-as-btn--outline:hover { background: var(--gp-primary-light); }
