/* ==========================================================================
   OSOLMA Ayuda
   -----------------------------------------------------------------------
   Hereda los tokens de home.css (--primary, --ink, --muted, --border...).
   Aquí solo se define lo propio de la sección: un acento cálido que la
   distingue del resto de la plataforma sin salirse de la identidad azul.

   Criterio de tono: la sección habla de segundas oportunidades, no de
   tragedia. Fondos claros, mucho aire y un solo acento cálido.
   ========================================================================== */

.help-page {
    --help-accent: #be123c;
    --help-accent-soft: #fdecf1;
    --help-warm: #b45309;
    --help-radius: 20px;
    background: var(--bg);
}

/* --------------------------------------------------------------------------
   1. Hero
   -------------------------------------------------------------------------- */
.help-hero {
    position: relative;
    isolation: isolate;
    padding: 150px 0 90px;
    overflow: hidden;
    background:
        radial-gradient(1200px 520px at 12% -10%, rgba(50, 85, 215, 0.13), transparent 62%),
        radial-gradient(900px 460px at 92% 8%, rgba(190, 18, 60, 0.1), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.help-hero-glow {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.help-hero-glow-1 {
    top: -120px;
    left: -80px;
    width: 380px;
    height: 380px;
    background: rgba(84, 104, 234, 0.24);
}

.help-hero-glow-2 {
    right: -100px;
    bottom: -140px;
    width: 420px;
    height: 420px;
    background: rgba(190, 18, 60, 0.16);
}

.help-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
}

.help-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.95rem;
    border: 1px solid rgba(190, 18, 60, 0.18);
    border-radius: 999px;
    background: var(--help-accent-soft);
    color: var(--help-accent);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.01em;
}

.help-badge-light {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.help-hero-copy h1 {
    margin: 1.1rem 0 1rem;
    color: var(--ink);
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    font-weight: 950;
    line-height: 1.06;
    letter-spacing: -0.02em;
}

.help-hero-accent {
    display: block;
    background: linear-gradient(120deg, var(--primary), var(--help-accent) 78%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.help-hero-copy > p {
    max-width: 56ch;
    margin: 0 0 1.75rem;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    font-weight: 600;
    line-height: 1.7;
}

.help-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-help-ghost {
    border: 1px solid var(--border-strong);
    background: #fff;
    color: var(--ink);
    font-weight: 850;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-help-ghost:hover,
.btn-help-ghost:focus-visible {
    border-color: rgba(190, 18, 60, 0.32);
    color: var(--help-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-help-outline {
    width: 100%;
    padding: 0.62rem 1rem;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font-size: 0.85rem;
    font-weight: 900;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.btn-help-outline:hover,
.btn-help-outline:focus-visible {
    border-color: rgba(190, 18, 60, 0.35);
    background: var(--help-accent-soft);
    color: var(--help-accent);
    transform: translateY(-1px);
}

.help-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.2rem;
    margin: 1.8rem 0 0;
    padding: 0;
    list-style: none;
}

.help-hero-chips li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--muted);
    font-size: 0.83rem;
    font-weight: 800;
}

.help-hero-chips i { color: var(--primary); }

/* --- Visual del hero --- */
.help-hero-visual { position: relative; }

.help-hero-tag {
    position: absolute;
    right: -6px;
    bottom: 26px;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.help-hero-tag i {
    color: var(--help-accent);
    font-size: 1.1rem;
}

.help-hero-tag strong {
    display: block;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 950;
}

.help-hero-tag small {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 750;
}


.help-hero-tobby {
    position: relative;
    display: grid;
    place-items: end center;
    min-height: clamp(360px, 42vw, 520px);
    margin: 0;
    padding: clamp(1.2rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem) 0;
    overflow: hidden;
    border: 1px solid rgba(190, 18, 60, 0.12);
    border-radius: 30px;
    background:
        radial-gradient(360px 220px at 50% 30%, rgba(190, 18, 60, 0.16), transparent 72%),
        radial-gradient(520px 300px at 68% 18%, rgba(50, 85, 215, 0.16), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, #fff7fa 52%, #eef3ff 100%);
    box-shadow: 0 28px 70px rgba(42, 53, 120, 0.16);
}

.help-hero-tobby::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 4%;
    height: 42px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.14);
    filter: blur(16px);
    transform: scaleX(0.86);
}

.help-hero-tobby-orbit {
    position: absolute;
    width: min(82%, 420px);
    aspect-ratio: 1;
    top: 8%;
    border: 1px solid rgba(190, 18, 60, 0.18);
    border-radius: 50%;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.1)),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.4), transparent 68%);
}

.help-hero-tobby img {
    position: relative;
    z-index: 2;
    width: min(82%, 410px);
    max-height: 510px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 22px 26px rgba(15, 23, 42, 0.22));
}

.help-hero-tobby figcaption {
    position: absolute;
    z-index: 3;
    left: clamp(1rem, 3vw, 1.6rem);
    bottom: clamp(1rem, 2.5vw, 1.35rem);
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.62rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
}

.help-hero-tobby figcaption strong {
    font-size: 0.92rem;
    font-weight: 950;
}

.help-hero-tobby figcaption span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

/* --------------------------------------------------------------------------
   Marcadores de fotografía
   Mientras no haya fotos reales, el hueco se dibuja como espacio reservado
   en lugar de rellenarse con una imagen que no pertenece al caso.
   -------------------------------------------------------------------------- */
.help-photo {
    display: grid;
    place-content: center;
    gap: 0.6rem;
    border: 1px dashed rgba(15, 23, 42, 0.16);
    border-radius: var(--help-radius);
    background:
        linear-gradient(135deg, rgba(50, 85, 215, 0.08), rgba(190, 18, 60, 0.07)),
        repeating-linear-gradient(135deg, rgba(15, 23, 42, 0.02) 0 12px, transparent 12px 24px);
    color: var(--muted);
    text-align: center;
}

.help-photo-hero {
    margin: 0;
    padding: 2rem;
    aspect-ratio: 4 / 3;
}

.help-photo-mark {
    display: grid;
    width: 62px;
    height: 62px;
    margin: 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    font-size: 1.3rem;
    box-shadow: var(--shadow-sm);
}

.help-photo figcaption {
    font-size: 0.82rem;
    font-weight: 800;
}

.help-photo-card {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
}

.help-photo-initial {
    font-size: 2.6rem;
    font-weight: 950;
    color: rgba(50, 85, 215, 0.35);
    letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   2. Comunidad: tres pilares
   -------------------------------------------------------------------------- */
.help-community { background: #fff; }

.help-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.1rem;
}

.help-pillar {
    position: relative;
    padding: 1.9rem 1.6rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--help-radius);
    background: linear-gradient(180deg, #ffffff, var(--surface-soft));
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.help-pillar:hover {
    transform: translateY(-4px);
    border-color: rgba(50, 85, 215, 0.22);
    box-shadow: var(--shadow-md);
}

.help-pillar-icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 1.05rem;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary), var(--teal));
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 12px 26px rgba(50, 85, 215, 0.24);
}

.help-pillar h3 {
    margin: 0 0 0.55rem;
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: 950;
}

.help-pillar p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.65;
}

.help-pillar-index {
    position: absolute;
    top: 0.9rem;
    right: 1.2rem;
    color: rgba(15, 23, 42, 0.06);
    font-size: 2.6rem;
    font-weight: 950;
}

/* --------------------------------------------------------------------------
   3. Maneras de ayudar
   -------------------------------------------------------------------------- */
.help-way-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.help-way {
    display: flex;
    flex-direction: column;
    padding: 1.6rem 1.4rem;
    border: 1px solid var(--border);
    border-radius: var(--help-radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.help-way:hover,
.help-way:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(190, 18, 60, 0.24);
    box-shadow: var(--shadow-md);
}

.help-way-icon {
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 0.95rem;
    place-items: center;
    border-radius: 14px;
    background: var(--help-accent-soft);
    color: var(--help-accent);
    font-size: 1.05rem;
    transition: transform 0.24s ease;
}

.help-way:hover .help-way-icon { transform: rotate(-6deg) scale(1.06); }

.help-way h3 {
    margin: 0 0 0.45rem;
    color: var(--ink);
    font-size: 1.02rem;
    font-weight: 950;
}

.help-way p {
    margin: 0 0 1.1rem;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.6;
}

.help-way-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    color: var(--primary);
    font-size: 0.83rem;
    font-weight: 900;
}

.help-way-cta i { transition: transform 0.24s ease; }
.help-way:hover .help-way-cta i { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   4. Animales
   -------------------------------------------------------------------------- */
.help-animals { background: #fff; }

.help-animal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
    gap: 1.15rem;
}

.help-animal-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--help-radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.help-animal-card:hover {
    transform: translateY(-5px);
    border-color: rgba(50, 85, 215, 0.2);
    box-shadow: var(--shadow-lg);
}

.help-animal-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface-soft);
}

/* <picture> es inline por defecto: sin esto, el 100% del <img> se mediría
   contra la propia <picture> y no contra el marco de la tarjeta. */
.help-animal-media picture,
.help-shelter-media picture {
    display: block;
    width: 100%;
    height: 100%;
}

.help-animal-media img,
.help-shelter-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.help-animal-card:hover .help-animal-media img,
.help-shelter-card:hover .help-shelter-media img { transform: scale(1.05); }

/* --------------------------------------------------------------------------
   Fotos recortadas (.is-cutout)
   --------------------------------------------------------------------------
   Un recorte sobre fondo transparente no se puede tratar como una fotografía
   normal: recortarlo a 4/3 con object-fit: cover le cortaría la cabeza o las
   patas. Estas fichas usan un marco cuadrado, muestran al animal completo y
   dibujan un halo detrás para que la silueta no flote sobre un color plano.
   -------------------------------------------------------------------------- */
.help-animal-media.is-cutout {
    aspect-ratio: 1 / 1;
    background:
        radial-gradient(circle at 50% 62%, rgba(50, 85, 215, 0.16), transparent 62%),
        var(--surface-soft);
}

.help-animal-media.is-cutout img {
    object-fit: contain;
    padding: 0.6rem 0.6rem 0;
    filter: drop-shadow(0 12px 18px rgba(16, 30, 60, 0.16));
}

/* El zoom recorta por los bordes, que es justo lo que aquí no debe pasar:
   el recorte se levanta en lugar de acercarse. */
.help-animal-card:hover .help-animal-media.is-cutout img {
    transform: translateY(-6px) scale(1.03);
}

.help-status {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(6px);
}

/* is-home: el caso ya terminó bien. Es el único estado que celebra algo, así
   que lleva fondo propio en lugar de solo teñir el texto. */
.help-status.is-home {
    background: var(--green-soft);
    color: #15803d;
}

.help-status.is-open { color: var(--green); }
.help-status.is-temp { color: var(--primary); }
.help-status.is-care { color: var(--help-warm); }

.help-animal-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1.1rem 1.15rem 1.25rem;
}

.help-animal-body h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: 950;
}

.help-animal-species {
    margin: 0.1rem 0 0;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 750;
}

.help-animal-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0.35rem 0 0;
    padding: 0.6rem 0.7rem;
    border-radius: 12px;
    background: var(--surface-soft);
}

.help-animal-facts dt {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.help-animal-facts dd {
    margin: 0.1rem 0 0;
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 900;
}

.help-animal-place,
.help-animal-shelter {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.help-animal-place i,
.help-animal-shelter i { color: var(--primary); }

.help-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.15rem 0 0;
    padding: 0;
    list-style: none;
}

.help-tag-list li {
    padding: 0.24rem 0.6rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 800;
}

.help-animal-cta { margin-top: auto; }

.help-note {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    max-width: 760px;
    margin: 2rem auto 0;
    padding: 0.9rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.6;
}

.help-note i { color: var(--primary); margin-top: 0.15rem; }

/* --------------------------------------------------------------------------
   5. Refugios
   -------------------------------------------------------------------------- */
.help-shelter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.2rem;
}

.help-shelter-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--help-radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.help-shelter-card:hover {
    transform: translateY(-5px);
    border-color: rgba(50, 85, 215, 0.2);
    box-shadow: var(--shadow-lg);
}

.help-shelter-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-soft);
}

.help-verified {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.34rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--green);
    font-size: 0.73rem;
    font-weight: 900;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(6px);
}

.help-shelter-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.2rem 1.25rem 1.3rem;
}

.help-shelter-body h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1.18rem;
    font-weight: 950;
}

.help-shelter-place {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    color: var(--muted);
    font-size: 0.83rem;
    font-weight: 750;
}

.help-shelter-place i { color: var(--primary); }

/* La escala del proyecto se separa como dato propio: en dos líneas, un
   punto medio suelto al inicio de renglón se lee como error. */
.help-shelter-scale {
    padding: 0.16rem 0.55rem;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--ink);
    font-size: 0.76rem;
    font-weight: 850;
}

.help-shelter-copy {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.65;
}

.help-shelter-needs-label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--ink);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.help-shelter-foot {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border);
}

.help-shelter-foot .btn-help-outline { width: auto; flex: 1; }

.help-social {
    display: inline-flex;
    gap: 0.4rem;
}

.help-social a,
.help-social span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--muted);
    font-size: 0.85rem;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.help-social a:hover {
    color: var(--primary);
    border-color: rgba(50, 85, 215, 0.3);
    transform: translateY(-2px);
}

/* Red todavía sin enlace confirmado: se ve, pero no promete un clic. */
.help-social .is-pending {
    opacity: 0.42;
    cursor: default;
}

/* --------------------------------------------------------------------------
   6. Quiero formar parte
   -------------------------------------------------------------------------- */
.help-join {
    background:
        radial-gradient(900px 420px at 8% 0%, rgba(50, 85, 215, 0.1), transparent 60%),
        linear-gradient(180deg, var(--bg), #ffffff);
}

.help-join-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.help-join-intro {
    position: sticky;
    top: 110px;
    padding: 2rem 1.8rem;
    border-radius: 24px;
    background: linear-gradient(160deg, #16224a, #24347a 55%, #3b2350);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.help-join-intro h2 {
    margin: 1.1rem 0 0.9rem;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 950;
    line-height: 1.2;
}

.help-join-intro > p {
    margin: 0 0 1.3rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.7;
}

.help-join-list {
    display: grid;
    gap: 0.5rem;
    margin: 0 0 1.4rem;
    padding: 0;
    list-style: none;
}

.help-join-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    font-weight: 700;
}

.help-join-list i {
    margin-top: 0.2rem;
    color: #6ee7a8;
}

.help-join-legal {
    display: flex;
    gap: 0.55rem;
    margin: 0;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.6;
}

.help-join-form-wrap {
    padding: clamp(1.3rem, 3vw, 2rem);
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.help-form-success,
.help-form-alert {
    margin-bottom: 1.2rem;
    padding: 1rem 1.15rem;
    border-radius: 16px;
}

.help-form-success {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(22, 163, 74, 0.22);
    background: var(--green-soft);
    text-align: center;
}

.help-form-success span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 1.05rem;
}

.help-form-success h3 {
    margin: 0.3rem 0 0;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 950;
}

.help-form-success p {
    margin: 0;
    color: var(--muted);
    font-size: 0.87rem;
    font-weight: 650;
}

.help-form-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    border: 1px solid rgba(220, 38, 38, 0.22);
    background: var(--red-soft);
    color: #9f1239;
    font-size: 0.86rem;
    font-weight: 800;
}

/* La trampa antirrobots no se muestra ni se tabula. */
.help-form-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.help-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.help-field {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.help-field.is-wide { grid-column: 1 / -1; }

.help-field > span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 900;
}

.help-field em {
    color: var(--muted);
    font-size: 0.74rem;
    font-style: normal;
    font-weight: 750;
}

.help-input {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0 0.85rem;
    border: 1px solid var(--border-strong);
    border-radius: 13px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.help-input:focus-within {
    border-color: rgba(50, 85, 215, 0.5);
    box-shadow: 0 0 0 4px rgba(50, 85, 215, 0.12);
}

.help-input > i:first-child { color: var(--muted); font-size: 0.9rem; }

.help-input input,
.help-input select {
    width: 100%;
    padding: 0.72rem 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
    outline: none;
    appearance: none;
}

.help-input select { padding-right: 1.4rem; cursor: pointer; }

.help-input-caret {
    position: absolute;
    right: 0.85rem;
    color: var(--muted);
    font-size: 0.72rem;
    pointer-events: none;
}

.help-input.is-enhanced-select {
    min-height: 48px;
    padding-right: 0.45rem;
}

.help-input.is-enhanced-select select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

.help-custom-select {
    position: relative;
    z-index: 2;
    width: 100%;
    min-width: 0;
}

.help-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    padding: 0.72rem 2.1rem 0.72rem 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: left;
    outline: none;
}

.help-select-trigger.is-placeholder {
    color: #8a94a6;
    font-weight: 750;
}

.help-select-options {
    position: absolute;
    top: calc(100% + 8px);
    left: -2.35rem;
    right: -0.45rem;
    z-index: 30;
    display: grid;
    gap: 0.25rem;
    max-height: 260px;
    padding: 0.45rem;
    overflow: auto;
    border: 1px solid rgba(50, 85, 215, 0.18);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
    visibility: hidden;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.help-custom-select.is-open .help-select-options {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.help-select-option {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.68rem 0.78rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 820;
    line-height: 1.35;
    text-align: left;
    transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.help-select-option:hover,
.help-select-option:focus-visible {
    background: var(--surface-soft);
    color: var(--primary-dark);
    outline: none;
}

.help-select-option.is-selected {
    background: #eef2ff;
    color: var(--primary-dark);
}

.help-select-option.is-selected::after {
    content: "\f00c";
    margin-left: auto;
    color: var(--primary);
    font-family: "Font Awesome 6 Free";
    font-size: 0.72rem;
    font-weight: 900;
}

.help-select-option.is-placeholder {
    color: var(--muted);
}

.help-input:has(.is-invalid),
.help-field textarea.is-invalid,
.help-check input.is-invalid + span {
    border-color: rgba(220, 38, 38, 0.5);
}
.help-field textarea {
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--border-strong);
    border-radius: 13px;
    background: #fff;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.6;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.help-field textarea:focus {
    border-color: rgba(50, 85, 215, 0.5);
    box-shadow: 0 0 0 4px rgba(50, 85, 215, 0.12);
}

.help-field-foot {
    justify-self: end;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
}

.help-field-foot.is-near-limit { color: var(--help-warm); }

.help-field-error {
    color: var(--red);
    font-size: 0.77rem;
    font-weight: 800;
}

/* --- Necesidades: chips seleccionables --- */
.help-needs {
    margin: 1.2rem 0;
    padding: 0;
    border: 0;
}

.help-needs legend {
    padding: 0;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 900;
}

.help-needs-hint {
    margin: 0.15rem 0 0.7rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.help-needs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.help-need-chip {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.help-need-chip input {
    position: absolute;
    opacity: 0;
    inset: 0;
    cursor: pointer;
}

.help-need-chip span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.help-need-chip span::before {
    content: "\f067"; /* plus */
    font-family: "Font Awesome 6 Free";
    font-size: 0.66rem;
    font-weight: 900;
    opacity: 0.6;
}

.help-need-chip input:checked + span {
    border-color: rgba(50, 85, 215, 0.4);
    background: #eef2ff;
    color: var(--primary-dark);
    transform: translateY(-1px);
}

.help-need-chip input:checked + span::before {
    content: "\f00c"; /* check */
    opacity: 1;
}

.help-need-chip input:focus-visible + span {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(50, 85, 215, 0.14);
}

.help-check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0.4rem 0 1.1rem;
    color: var(--muted);
    font-size: 0.83rem;
    font-weight: 650;
    line-height: 1.6;
}

.help-check input {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    flex: 0 0 auto;
}

.help-check a { color: var(--primary); font-weight: 800; text-decoration: underline; }

.help-form-submit {
    width: 100%;
    padding: 0.85rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 900;
}

.help-form-submit.is-sending { opacity: 0.75; pointer-events: none; }

.help-form-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0.85rem 0 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 750;
}

/* --------------------------------------------------------------------------
   Modal de historia
   -------------------------------------------------------------------------- */
.help-story-modal .modal-content {
    border: 0;
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
}

.help-story-modal .modal-header {
    align-items: flex-start;
    border-bottom: 1px solid var(--border);
    padding: 1.3rem 1.4rem 1rem;
}

.help-story-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--help-accent);
    font-size: 0.73rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.help-story-modal h2 {
    margin: 0.25rem 0 0.15rem;
    color: var(--ink);
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
    font-weight: 950;
}

.help-story-subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 750;
}

.help-story-modal .modal-body {
    display: grid;
    gap: 0.9rem;
    padding: 1.2rem 1.4rem 1.5rem;
}

.help-story-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.7rem;
}

.help-story-meta > span {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    background: var(--surface-soft);
}

.help-story-meta i { color: var(--primary); margin-top: 0.2rem; }
.help-story-meta small { display: block; color: var(--muted); font-size: 0.73rem; font-weight: 800; }
.help-story-meta strong { color: var(--ink); font-size: 0.88rem; font-weight: 900; }

.help-story-text {
    margin: 0;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.75;
}

.help-story-note {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-soft);
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.6;
}

.help-story-note i { color: var(--primary); margin-top: 0.15rem; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .help-hero { padding: 120px 0 70px; }

    .help-hero-grid,
    .help-join-grid { grid-template-columns: 1fr; }

    .help-join-intro { position: static; }

    /* En una sola columna manda el titular: la foto va después, no antes. */
    .help-hero-tag { right: 12px; bottom: 14px; }
    .help-hero-tobby { min-height: 420px; }
}

@media (max-width: 640px) {
    .section-pad { padding: 62px 0; }

    .help-hero { padding: 104px 0 56px; }

    .help-hero-actions { flex-direction: column; align-items: stretch; }
    .help-hero-actions .btn { width: 100%; justify-content: center; }

    .help-form-grid { grid-template-columns: 1fr; }

    .help-shelter-foot { flex-direction: column; align-items: stretch; }
    .help-shelter-foot .help-social { justify-content: center; }
    .help-shelter-foot .btn-help-outline { width: 100%; }

    .help-photo-hero { aspect-ratio: 3 / 2; padding: 1.4rem; }

    /* Flotando encima taparía el pie del marcador de foto: en móvil baja
       al flujo, centrada bajo la imagen. */
    .help-hero-tag {
        position: static;
        display: flex;
        justify-content: center;
        margin-top: 0.85rem;
    }

    .help-join-intro { padding: 1.5rem 1.25rem; }
    .help-join-form-wrap { border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .help-pillar,
    .help-way,
    .help-animal-card,
    .help-shelter-card,
    .help-way-icon,
    .help-animal-media img,
    .help-shelter-media img,
    .btn-help-ghost,
    .btn-help-outline { transition: none !important; }

    .help-pillar:hover,
    .help-way:hover,
    .help-animal-card:hover,
    .help-shelter-card:hover { transform: none; }
}

/* ==========================================================================
   Cómo funciona un rescate — recorrido a pantalla completa
   --------------------------------------------------------------------------
   Dos modos, un mismo marcado:

     · Sin la clase .is-enhanced (lo que llega del servidor, y lo que se queda
       en móvil o con movimiento reducido) las cuatro etapas son bloques
       apilados que se leen bajando normalmente.

     · Con .is-enhanced, que añade help-journey.js, la pista mide una pantalla
       por etapa, el escenario se fija arriba y cada etapa entra desde la
       derecha tapando a la anterior conforme se baja.

   Nada de esto secuestra la rueda del ratón: el desplazamiento sigue siendo
   el del navegador, así que la página nunca se siente atascada.
   ========================================================================== */

.help-journey {
    --hj-dark: #0b1220;
    padding: 90px 0 0;
    background: linear-gradient(180deg, var(--bg) 0%, #ffffff 100%);
}

/* --- Pista y escenario --- */
.hj-track {
    position: relative;
    margin-top: 2.5rem;
}

.hj-stage {
    position: relative;
    overflow: hidden;
}

.hj-slides {
    position: relative;
}

/* --- Etapa --- */
.hj-slide {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: min(78vh, 620px);
    overflow: hidden;
    background: var(--hj-dark);
    /* --hj-x lo escribe el script en el modo fijo; apilado siempre vale 0. */
    transform: translate3d(var(--hj-x, 0), 0, 0);
}

.hj-slide-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hj-slide-media picture,
.hj-slide-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
}

/* Velo: sin él, el texto blanco compite con la foto y deja de leerse. */
.hj-slide-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 13, 26, 0.94) 0%, rgba(6, 13, 26, 0.78) 34%, rgba(6, 13, 26, 0.18) 68%, rgba(6, 13, 26, 0.05) 100%),
        linear-gradient(0deg, rgba(6, 13, 26, 0.72) 0%, transparent 46%);
}

.hj-slide-body {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: clamp(2rem, 5vw, 4.5rem) 0;
}

.hj-slide-copy {
    width: min(1180px, 100% - 2.5rem);
    max-width: 1180px;
    margin: 0 auto;
    color: #ffffff;
}

.hj-slide-copy > * {
    max-width: 34rem;
}

.hj-slide-step {
    display: block;
    margin-bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.38);
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.03em;
}

.hj-slide-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.34rem 0.8rem;
    margin-bottom: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    backdrop-filter: blur(8px);
}

.hj-slide-copy h3 {
    margin: 0 0 0.9rem;
    color: #ffffff;
    font-size: clamp(1.6rem, 3.6vw, 2.6rem);
    font-weight: 950;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.hj-slide-copy p {
    margin: 0 0 1.35rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(0.98rem, 1.5vw, 1.1rem);
    font-weight: 550;
    line-height: 1.72;
}

.hj-slide-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hj-slide-facts li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.83rem;
    font-weight: 750;
    backdrop-filter: blur(8px);
}

.hj-slide-facts i { color: #6ee7a8; }

/* --------------------------------------------------------------------------
   Modo fijo
   -------------------------------------------------------------------------- */
.help-journey.is-enhanced .hj-track {
    /* Una pantalla por etapa: la primera entra y quedan --hj-steps - 1
       pantallas de recorrido para las demás. */
    height: calc(var(--hj-steps, 4) * 100vh);
    height: calc(var(--hj-steps, 4) * 100svh);
}

.help-journey.is-enhanced .hj-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
}

.help-journey.is-enhanced .hj-slides {
    position: absolute;
    inset: 0;
}

.help-journey.is-enhanced .hj-slide {
    position: absolute;
    inset: 0;
    min-height: 0;
    will-change: transform;
}

/* El texto termina de asentarse cuando la etapa acaba de entrar. --hj-in va
   de 0 (fuera, a la derecha) a 1 (colocada) y lo escribe el script. */
.help-journey.is-enhanced .hj-slide-copy {
    opacity: calc(var(--hj-in, 1) * var(--hj-in, 1));
    transform: translate3d(calc((1 - var(--hj-in, 1)) * -2.2rem), 0, 0);
}

/* --- Controles --- */
.hj-hud {
    position: absolute;
    z-index: 5;
    right: clamp(1rem, 3vw, 2.5rem);
    top: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform: translateY(-50%);
}

.hj-dots {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hj-dots button {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.3rem 0.5rem;
    border: 0;
    border-radius: 999px;
    background: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.76rem;
    font-weight: 850;
    cursor: pointer;
    transition: color 0.25s ease;
}

.hj-dots button:hover { color: #ffffff; }

.hj-dot-mark {
    width: 9px;
    height: 9px;
    flex: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.34);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

/* El nombre de la etapa solo se muestra en la activa: cuatro etiquetas a la
   vez taparían la fotografía. */
.hj-dot-label {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    transition: max-width 0.3s ease, opacity 0.25s ease;
}

.hj-dots li.is-current button { color: #ffffff; }

.hj-dots li.is-current .hj-dot-mark {
    background: #6ee7a8;
    box-shadow: 0 0 0 4px rgba(110, 231, 168, 0.22);
    transform: scale(1.15);
}

.hj-dots li.is-current .hj-dot-label {
    max-width: 12rem;
    opacity: 1;
}

.hj-rail {
    width: 3px;
    height: 84px;
    margin-left: 0.62rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
}

.hj-rail span {
    display: block;
    width: 100%;
    height: 0%;
    border-radius: 999px;
    background: #6ee7a8;
}

.hj-hint {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.74rem;
    font-weight: 800;
    transition: opacity 0.3s ease;
}

.hj-hint.is-gone {
    opacity: 0;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Invitación
   -------------------------------------------------------------------------- */
.hj-invite {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
    margin: clamp(2.5rem, 6vw, 4.5rem) 0 0;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 1px dashed var(--border-strong);
    border-radius: var(--help-radius);
    background: var(--surface);
}

.hj-invite-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    flex: none;
    border-radius: 16px;
    background: var(--help-accent-soft);
    color: var(--help-accent);
    font-size: 1.3rem;
}

.hj-invite-copy h3 {
    margin: 0 0 0.4rem;
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: 900;
}

.hj-invite-copy p {
    margin: 0;
    max-width: 52ch;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.hj-invite .btn { white-space: nowrap; }

/* --------------------------------------------------------------------------
   Pantallas pequeñas
   --------------------------------------------------------------------------
   Debajo de 992px el modo fijo no se activa (help-journey.js lo comprueba),
   así que aquí solo se ajusta la versión apilada.
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .help-journey { padding-top: 70px; }

    .hj-slide {
        min-height: 0;
        border-radius: var(--help-radius);
    }

    .hj-slides {
        display: grid;
        gap: 1rem;
        width: min(1180px, 100% - 2.5rem);
        margin: 0 auto;
    }

    /* Apiladas, la foto necesita su propio espacio: el velo lateral dejaría
       la imagen escondida detrás del texto. */
    .hj-slide-media {
        position: relative;
        aspect-ratio: 4 / 3;
    }

    .hj-slide {
        display: block;
    }

    .hj-slide-veil {
        background: linear-gradient(0deg, rgba(6, 13, 26, 0.9) 0%, rgba(6, 13, 26, 0.15) 62%);
    }

    .hj-slide-body { padding: 1.5rem 0 1.75rem; }

    .hj-slide-copy {
        width: calc(100% - 2.5rem);
    }

    .hj-invite {
        grid-template-columns: minmax(0, 1fr);
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .help-journey.is-enhanced .hj-slide-copy {
        opacity: 1;
        transform: none;
    }
}
