/* ==========================================================================
   The Ponce Project — Base
   Colores y tipografía iguales al kit global del sitio anterior.
   ========================================================================== */

:root {
    --c-primary: #FF0000;
    --c-secondary: #000000;
    --c-text: #1C1C1C;
    --c-accent: #383838;
    --c-gray-555: #555555;
    --c-gray-c6: #C6C6C6;
    --c-gray-e2: #E2E2E2;
    --c-gray-ee: #EEEEEE;
    --c-gray-fa: #FAFAFA;
    --c-red: #E93F34;
    --c-black: #0F0F0F;
    --c-card: #0F0F0F;
    --c-card-2: #1C1C1C;
    --c-white: #FFFFFF;

    --font: 'Urbanist', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --container: 1300px;
    --gutter: 20px;
    --radius: 10px;

    --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

html.lang-pending body { visibility: hidden; }

body {
    margin: 0;
    background: #000;
    color: #333;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
img { border: 0; }
a { color: inherit; text-decoration: none; transition: color .3s ease, background-color .3s ease, border-color .3s ease, opacity .3s ease; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; line-height: 1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--c-red); outline-offset: 2px; }

.skip-link {
    position: absolute; left: -9999px; top: 8px; z-index: 100000;
    background: #fff; color: #000; padding: 8px 14px; border-radius: 4px;
}
.skip-link:focus { left: 8px; }

.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Palabras resaltadas en rojo dentro de títulos (clase "texto-rojo" del sitio anterior) */
.accent, .texto-rojo { color: var(--c-red); }

/* Contenido visible solo en un idioma (antes: clases cares / caren) */
html:not(.lang-es) [data-lang-only="es"],
html.lang-es [data-lang-only="en"] { display: none !important; }

/* Secciones ocultas desde el administrador */
[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   Contenedor
   -------------------------------------------------------------------------- */
.container {
    width: min(var(--container), 100% - 2 * var(--gutter));
    margin-inline: auto;
}

.section { background: #000; }

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font); font-size: 16px; font-weight: 400; line-height: 1;
    color: #fff; background: var(--c-red);
    padding: 15px 50px; border: 0; border-radius: 3px;
    transition: background-color .3s ease, color .3s ease, transform .3s ease;
}
.btn:hover { background: #c9362c; color: #fff; }
.btn--compact { padding: 15px 30px; }
.btn--dark { background: var(--c-accent); font-weight: 500; }
.btn--dark:hover { background: var(--c-red); }

.btn-donate {
    display: inline-flex; align-items: center; justify-content: center;
    width: 100%; height: 46px; padding: 0 20px;
    background: var(--c-primary); color: #fff; border-radius: 50px;
    font-size: 16px; font-weight: 600; line-height: 1;
}
.btn-donate:hover { background: var(--c-red); color: #fff; }
.btn-donate--sm { height: 40px; }

/* --------------------------------------------------------------------------
   Íconos sociales, selector de idioma y bloques de contacto
   -------------------------------------------------------------------------- */
.social-icons { display: flex; align-items: center; gap: 10px; }
.social-icons a {
    display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center;
    color: #fff; cursor: pointer;
}
.social-icons a[aria-disabled="true"] { cursor: default; }
.social-icons a:hover { color: var(--c-red); }
.social-icons svg { width: 16px; height: 16px; fill: currentColor; }

.lang-switcher {
    display: inline-flex; gap: 4px; padding: 3px;
    border: 1px solid currentColor; border-radius: 999px; align-items: center;
    color: #fff;
}
.lang-switcher button {
    display: inline-flex; align-items: center; gap: 4px;
    background: transparent; border: 0; border-radius: 999px;
    padding: 5px 9px; color: inherit; font-size: 14px; line-height: 1;
}
.lang-switcher button img { width: 14px; height: 14px; }
.lang-switcher button[aria-pressed="true"] { background: #fff; color: #171717; }

.info-box { display: flex; align-items: center; gap: 12px; color: #fff; }
.info-box .info-icon { width: 25px; height: 25px; flex: 0 0 25px; fill: currentColor; }
.info-box .info-icon--mail { width: 28px; height: 28px; flex-basis: 28px; }
.info-box strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.info-box span { display: block; font-size: 14px; font-weight: 400; line-height: 1.2; }
a.info-box:hover strong { color: var(--c-red); }

/* --------------------------------------------------------------------------
   Botón "volver arriba" con anillo de progreso (snippet Back To Top)
   -------------------------------------------------------------------------- */
#back-to-top {
    position: fixed; right: 25px; bottom: 25px; z-index: 9990;
    width: 42px; height: 42px; padding: 2px; border: 0; border-radius: 50%;
    background: conic-gradient(var(--c-red) var(--progress, 0deg), var(--c-black) var(--progress, 0deg));
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}
#back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top span {
    width: 100%; height: 100%; border-radius: 50%; background: var(--c-black);
    display: flex; align-items: center; justify-content: center;
}
#back-to-top svg {
    width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4;
    stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease;
}
#back-to-top:hover svg { transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   Animaciones sutiles al hacer scroll (hacia abajo y hacia arriba)
   -------------------------------------------------------------------------- */
.js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
.js [data-reveal].from-top { transform: translate3d(0, -28px, 0); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translate3d(-36px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(36px, 0, 0); }
.js [data-reveal="zoom"] { transform: scale(.96); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* --------------------------------------------------------------------------
   Puntos de quiebre usados en todo el sitio (iguales a los del sitio anterior):
   móvil ≤767 · móvil extra ≤880 · tablet ≤1024 · tablet extra ≤1200 · laptop ≤1366
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    :root { --gutter: 16px; }
    #back-to-top { bottom: 95px; right: 16px; }
}
