/* =========================================================
   ASOCIACIÓN PEMPA — Stylesheet
   Aesthetic: Cinematográfico-Editorial · Ámbar tierra · Tinta cálida
   ========================================================= */

/* ============== RESET ============== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

::selection {
    background: var(--amber);
    color: var(--ink);
}

/* ============== VARIABLES ============== */
:root {
    /* Paleta principal */
    --ink: #1a0f08;              /* Negro tinta cálida */
    --ink-soft: #2d1f12;
    --cream: #f5efe2;            /* Fondo crema cálido */
    --cream-soft: #ede4d0;
    --paper: #faf6ec;            /* Papel editorial */
    --amber: #d4a64a;            /* Ámbar dorado dominante */
    --amber-light: #e8c878;
    --amber-dark: #b88930;
    --rust: #c44a32;             /* Rojo tinta cálido para urgencia */
    --rust-soft: #d56850;
    --sand: #c8b89a;
    --moss: #5e6b3e;             /* Verde tierra */

    /* Texto */
    --text-primary: #1a0f08;
    --text-secondary: #4a3a28;
    --text-muted: #8a7560;
    --text-inverse: #f5efe2;

    /* Tipografía */
    --font-display: 'Instrument Serif', 'Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(26, 15, 8, 0.06);
    --shadow-md: 0 12px 32px rgba(26, 15, 8, 0.10);
    --shadow-lg: 0 24px 60px rgba(26, 15, 8, 0.18);
    --shadow-xl: 0 40px 100px rgba(26, 15, 8, 0.25);

    /* Layout */
    --container: 1320px;
    --radius-sm: 6px;
    --radius: 14px;
    --radius-lg: 24px;

    /* Transiciones */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --duration: 0.6s;
}

/* ============== UTILS ============== */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container { padding: 0 48px; }
}

.section-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--amber-dark);
}

.section-num--light {
    color: var(--amber-light);
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-left: 16px;
    position: relative;
    padding-left: 30px;
}

.section-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--amber-dark);
}

.section-eyebrow--light {
    color: rgba(245, 239, 226, 0.7);
}

.section-eyebrow--light::before {
    background: var(--amber-light);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-top: 32px;
}

.section-title em {
    font-style: italic;
    color: var(--amber-dark);
}

.section-title--light {
    color: var(--cream);
}

.section-title--light em {
    color: var(--amber-light);
}

/* ============== PRELOADER ============== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease), visibility 0s 0.6s;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader__inner {
    text-align: center;
    color: var(--cream);
}

.preloader__text {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 400;
    letter-spacing: 0.2em;
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.preloader__text span {
    display: inline-block;
    animation: preloadLetter 0.6s var(--ease) forwards;
    opacity: 0;
    transform: translateY(20px);
}

.preloader__text span:nth-child(1) { animation-delay: 0.05s; }
.preloader__text span:nth-child(2) { animation-delay: 0.15s; }
.preloader__text span:nth-child(3) { animation-delay: 0.25s; }
.preloader__text span:nth-child(4) { animation-delay: 0.35s; }
.preloader__text span:nth-child(5) { animation-delay: 0.45s; }

@keyframes preloadLetter {
    to { opacity: 1; transform: translateY(0); }
}

.preloader__line {
    width: 0;
    height: 1px;
    background: var(--amber);
    margin: 0 auto 20px;
    animation: preloadLine 1.4s var(--ease) 0.6s forwards;
}

@keyframes preloadLine {
    to { width: 200px; }
}

.preloader__sub {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--amber);
    opacity: 0;
    animation: fadeIn 0.6s var(--ease) 1.2s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ============== SCROLL PROGRESS ============== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--amber);
    z-index: 999;
    width: 0;
    transition: width 0.1s linear;
}

/* ============== NAVIGATION ============== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.4s var(--ease);
    pointer-events: none;
}

.nav__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
}

@media (min-width: 768px) {
    .nav__inner { padding: 0 48px; }
}

.nav--scrolled {
    padding: 12px 0;
    background: rgba(245, 239, 226, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(26, 15, 8, 0.08);
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--cream);
    transition: color 0.3s var(--ease);
}

.nav--scrolled .nav__brand {
    color: var(--ink);
}

.nav__brand img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid currentColor;
}

.nav__brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.nav__brand-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.nav__brand-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    margin-top: 4px;
    opacity: 0.7;
}

.nav__menu-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 18px;
    background: rgba(245, 239, 226, 0.08);
    border: 1px solid rgba(245, 239, 226, 0.2);
    border-radius: 100px;
    color: var(--cream);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--ease);
}

.nav--scrolled .nav__menu-btn {
    color: var(--ink);
    background: rgba(26, 15, 8, 0.06);
    border-color: rgba(26, 15, 8, 0.15);
}

.nav__menu-btn:hover {
    background: var(--amber);
    color: var(--ink);
    border-color: var(--amber);
}

.nav__menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav__menu-icon span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

.nav.nav--open .nav__menu-icon span:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
}

.nav.nav--open .nav__menu-icon span:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
}

/* Nav Overlay */
.nav__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 200;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    background: var(--ink);
    transition: opacity 0.4s var(--ease), visibility 0s 0.4s;
}

.nav.nav--open .nav__overlay {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.nav__overlay-bg {
    position: absolute;
    inset: 0;
    background: var(--ink);
    z-index: 0;
}

.nav__overlay-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 100px 24px 40px;
    color: var(--cream);
    max-width: var(--container);
    margin: 0 auto;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .nav__overlay-inner { padding: 120px 48px 60px; }
}

.nav__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav__item {
    overflow: hidden;
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.6s var(--ease);
}

.nav.nav--open .nav__item {
    transform: translateY(0);
    opacity: 1;
}

.nav.nav--open .nav__item:nth-child(1) { transition-delay: 0.2s; }
.nav.nav--open .nav__item:nth-child(2) { transition-delay: 0.27s; }
.nav.nav--open .nav__item:nth-child(3) { transition-delay: 0.34s; }
.nav.nav--open .nav__item:nth-child(4) { transition-delay: 0.41s; }
.nav.nav--open .nav__item:nth-child(5) { transition-delay: 0.48s; }
.nav.nav--open .nav__item:nth-child(6) { transition-delay: 0.55s; }
.nav.nav--open .nav__item:nth-child(7) { transition-delay: 0.62s; }

.nav__link {
    display: flex;
    align-items: baseline;
    gap: 24px;
    padding: 12px 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    transition: all 0.4s var(--ease);
}

.nav__link:hover {
    color: var(--amber);
    transform: translateX(20px);
}

.nav__num {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--amber);
    flex-shrink: 0;
}

.nav__word em {
    font-style: italic;
}

.nav__overlay-footer {
    border-top: 1px solid rgba(245, 239, 226, 0.15);
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 768px) {
    .nav__overlay-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.nav__quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--amber-light);
    max-width: 480px;
    line-height: 1.5;
}

.nav__social {
    display: flex;
    gap: 24px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav__social a {
    transition: color 0.3s var(--ease);
}

.nav__social a:hover {
    color: var(--amber);
}

/* ============== HERO ============== */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    color: var(--cream);
    display: flex;
    flex-direction: column;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.hero__media-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(26, 15, 8, 0.35) 0%, transparent 60%),
        linear-gradient(180deg,
            rgba(26, 15, 8, 0.55) 0%,
            rgba(26, 15, 8, 0.25) 35%,
            rgba(26, 15, 8, 0.6) 80%,
            rgba(26, 15, 8, 0.95) 100%);
}

.hero__media-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.4;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* Esquinas tipo revista */
.hero__corner {
    position: absolute;
    top: 100px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245, 239, 226, 0.75);
    opacity: 0;
    animation: fadeIn 0.8s var(--ease) 1.6s forwards;
}

.hero__corner--tl { left: 24px; }
.hero__corner--tr { right: 24px; }

@media (min-width: 768px) {
    .hero__corner { top: 110px; }
    .hero__corner--tl { left: 48px; }
    .hero__corner--tr { right: 48px; }
}

@media (max-width: 640px) {
    .hero__corner--tr { display: none; }
}

.hero__corner-divider {
    width: 16px;
    height: 1px;
    background: var(--amber);
}

.hero__corner-label {
    color: var(--amber);
    font-weight: 500;
}

.hero__content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 160px 24px 100px;
}

@media (min-width: 768px) {
    .hero__content { padding: 180px 48px 120px; }
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245, 239, 226, 0.85);
    margin-bottom: 32px;
    opacity: 0;
    animation: heroReveal 0.8s var(--ease) 1.8s forwards;
}

.hero__eyebrow-dot {
    width: 8px;
    height: 8px;
    background: var(--amber);
    border-radius: 50%;
    box-shadow: 0 0 16px var(--amber);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 12vw, 9rem);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.025em;
    margin-bottom: 60px;
    color: var(--cream);
}

.hero__title-line {
    display: block;
    overflow: hidden;
}

.hero__title-line span,
.hero__title-line {
    display: block;
    transform: translateY(110%);
    animation: heroLineUp 1s var(--ease) forwards;
}

.hero__title-line:nth-child(1) { animation-delay: 1.9s; }
.hero__title-line:nth-child(2) { animation-delay: 2.05s; }
.hero__title-line:nth-child(3) { animation-delay: 2.2s; }

@keyframes heroLineUp {
    to { transform: translateY(0); }
}

.hero__title em {
    font-style: italic;
    color: var(--amber-light);
    font-family: var(--font-display);
}

.hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(245, 239, 226, 0.2);
    opacity: 0;
    animation: heroReveal 0.8s var(--ease) 2.4s forwards;
}

.hero__meta-item {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.hero__meta-num {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 6px;
}

.hero__meta-num sup {
    font-size: 0.5em;
    color: var(--amber);
    margin-left: 2px;
}

.hero__meta-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(245, 239, 226, 0.65);
}

.hero__meta-divider {
    width: 1px;
    height: 36px;
    background: rgba(245, 239, 226, 0.2);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    opacity: 0;
    animation: heroReveal 0.8s var(--ease) 2.6s forwards;
}

@keyframes heroReveal {
    to { opacity: 1; }
}

/* CTA buttons */
.cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.4s var(--ease);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    transition: transform 0.4s var(--ease);
}

.cta:hover .cta__icon {
    transform: rotate(-45deg);
}

.cta--primary {
    background: var(--amber);
    color: var(--ink);
    box-shadow: 0 8px 30px rgba(212, 166, 74, 0.4);
}

.cta--primary:hover {
    background: var(--amber-light);
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(212, 166, 74, 0.55);
}

.cta--primary .cta__icon {
    background: rgba(26, 15, 8, 0.15);
}

.cta--ghost {
    background: rgba(245, 239, 226, 0.08);
    color: var(--cream);
    border: 1px solid rgba(245, 239, 226, 0.3);
    backdrop-filter: blur(10px);
}

.cta--ghost:hover {
    background: rgba(245, 239, 226, 0.15);
    border-color: var(--cream);
}

.cta--dark {
    background: var(--ink);
    color: var(--cream);
}

.cta--dark:hover {
    background: var(--ink-soft);
    transform: translateY(-2px);
}

.cta--dark .cta__icon {
    background: rgba(245, 239, 226, 0.15);
}

.cta--light {
    background: var(--cream);
    color: var(--ink);
}

.cta--light:hover {
    background: var(--amber);
    transform: translateY(-2px);
}

.cta--light .cta__icon {
    background: rgba(26, 15, 8, 0.1);
}

/* Hero marquee */
.hero__marquee {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(245, 239, 226, 0.12);
    border-bottom: 1px solid rgba(245, 239, 226, 0.12);
    padding: 18px 0;
    opacity: 0;
    animation: heroReveal 0.8s var(--ease) 2.8s forwards;
}

.marquee {
    overflow: hidden;
    width: 100%;
}

.marquee__track {
    display: flex;
    gap: 50px;
    white-space: nowrap;
    animation: marquee 50s linear infinite;
    width: max-content;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee__item {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--cream);
    flex-shrink: 0;
}

.hero__scroll-hint {
    position: absolute;
    bottom: 100px;
    right: 48px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245, 239, 226, 0.6);
    opacity: 0;
    animation: heroReveal 0.8s var(--ease) 3s forwards;
}

@media (max-width: 768px) {
    .hero__scroll-hint { display: none; }
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--amber) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(180deg, transparent 0%, var(--cream) 100%);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -60px; }
    100% { top: 100%; }
}

/* ============== MANIFIESTO ============== */
.manifiesto {
    background: var(--cream);
    padding: 140px 0 160px;
    position: relative;
    overflow: hidden;
}

.manifiesto__bg-text {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: clamp(8rem, 18vw, 16rem);
    font-weight: 400;
    color: var(--amber);
    opacity: 0.06;
    white-space: nowrap;
    pointer-events: none;
    line-height: 1;
    animation: manifiestoMarquee 60s linear infinite;
}

@keyframes manifiestoMarquee {
    from { transform: translate(0, -50%); }
    to { transform: translate(-50%, -50%); }
}

.manifiesto__header {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.manifiesto__text {
    position: relative;
    z-index: 1;
    margin-bottom: 80px;
    max-width: 1000px;
}

.manifiesto__line {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 12px;
}

.manifiesto__line em {
    font-style: italic;
    color: var(--rust);
}

.manifiesto__line--small {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-style: italic;
    color: var(--text-secondary);
    margin-top: 32px;
    letter-spacing: 0.02em;
    font-weight: 400;
}

.manifiesto__signature {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--amber-dark);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
}

/* ============== NOSOTROS ============== */
.nosotros {
    background: var(--paper);
    padding: 120px 0 140px;
    position: relative;
}

.nosotros__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 80px;
    max-width: 900px;
}

.nosotros__header > .section-num,
.nosotros__header > .section-eyebrow {
    display: inline;
}

.nosotros__header > .section-num {
    margin-bottom: 0;
}

.nosotros__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

@media (min-width: 1024px) {
    .nosotros__grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 100px;
    }
}

.nosotros__story {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.nosotros__chapter {
    position: relative;
    padding-left: 0;
}

@media (min-width: 768px) {
    .nosotros__chapter {
        padding-left: 0;
    }
}

.nosotros__year {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--amber-dark);
    padding: 6px 14px;
    border: 1px solid var(--amber-dark);
    border-radius: 100px;
    margin-bottom: 16px;
}

.nosotros__chapter-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.nosotros__chapter p {
    font-size: 1.075rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 16px;
    max-width: 620px;
}

.nosotros__chapter strong {
    color: var(--ink);
    font-weight: 600;
}

.nosotros__numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-content: start;
    position: sticky;
    top: 100px;
}

.num-card {
    background: var(--cream);
    padding: 32px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--sand);
    position: relative;
    transition: all 0.4s var(--ease);
    overflow: hidden;
}

.num-card:hover {
    transform: translateY(-4px);
    border-color: var(--amber);
    box-shadow: var(--shadow-md);
}

.num-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--amber);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}

.num-card:hover::before {
    transform: scaleX(1);
}

.num-card__big {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1;
    color: var(--ink);
    display: inline-block;
}

.num-card__plus {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--amber);
    margin-left: 4px;
}

.num-card__label {
    display: block;
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.4;
}

.num-card--accent {
    background: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
    grid-column: span 2;
    text-align: center;
    padding: 40px 24px;
}

.num-card--accent:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.num-card--accent::before {
    background: var(--amber);
}

.num-card__small {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(245, 239, 226, 0.65);
    letter-spacing: 0.05em;
}

.num-card__italic {
    display: block;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.75rem;
    color: var(--amber-light);
    margin: 4px 0;
}

/* ============== MISIÓN ============== */
.mision {
    background: var(--ink);
    color: var(--cream);
    padding: 140px 0 160px;
    position: relative;
    overflow: hidden;
}

.mision::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--amber) 0%, transparent 70%);
    opacity: 0.06;
    transform: translateY(-50%);
    pointer-events: none;
}

.mision__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 80px;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.mision__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .mision__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

.pilar {
    padding: 48px 32px;
    background: rgba(245, 239, 226, 0.04);
    border: 1px solid rgba(245, 239, 226, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    position: relative;
    transition: all 0.5s var(--ease);
}

.pilar:hover {
    background: rgba(245, 239, 226, 0.07);
    border-color: var(--amber);
    transform: translateY(-8px);
}

.pilar__num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 4rem;
    color: var(--amber);
    line-height: 1;
    margin-bottom: 24px;
    opacity: 0.9;
}

.pilar__title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 20px;
    line-height: 1;
}

.pilar__text {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(245, 239, 226, 0.78);
    margin-bottom: 28px;
}

.pilar__line {
    width: 40px;
    height: 1px;
    background: var(--amber);
    transition: width 0.5s var(--ease);
}

.pilar:hover .pilar__line {
    width: 80px;
}

/* ============== CABALLOS / GALERÍA ============== */
.caballos {
    background: var(--cream);
    padding: 140px 0 100px;
    position: relative;
}

.caballos__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 60px;
    max-width: 900px;
}

.caballos__intro {
    margin-top: 24px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 620px;
}

.caballos__intro strong {
    color: var(--ink);
}

.gallery {
    columns: 2;
    column-gap: 8px;
    margin-top: 40px;
}

@media (min-width: 640px) {
    .gallery { columns: 3; column-gap: 10px; }
}

@media (min-width: 1024px) {
    .gallery { columns: 4; column-gap: 12px; }
}

@media (min-width: 1400px) {
    .gallery { columns: 5; column-gap: 12px; }
}

.gallery__item {
    break-inside: avoid;
    margin-bottom: 8px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: var(--sand);
    position: relative;
    transition: all 0.5s var(--ease);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
    .gallery__item { margin-bottom: 10px; }
}

@media (min-width: 1024px) {
    .gallery__item { margin-bottom: 12px; }
}

.gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(26, 15, 8, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}

.gallery__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.gallery__item:hover::after {
    opacity: 1;
}

.gallery__item img,
.gallery__item video {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s var(--ease);
}

.gallery__item:hover img,
.gallery__item:hover video {
    transform: scale(1.05);
}

.gallery__item--video {
    position: relative;
}

.gallery__item--video::before {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(245, 239, 226, 0.95);
    color: var(--ink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding-left: 4px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--ease);
    z-index: 2;
}

.gallery__item--video:hover::before {
    background: var(--amber);
    transform: translate(-50%, -50%) scale(1.1);
}

.caballos__cta {
    margin-top: 80px;
    text-align: center;
    padding: 60px 32px;
    border-top: 1px solid var(--sand);
}

.caballos__cta-line {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--amber-dark);
    margin: 0 auto 24px;
}

.caballos__cta p {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--ink);
    margin-bottom: 32px;
    line-height: 1.2;
}

.caballos__cta p em {
    font-style: italic;
    color: var(--amber-dark);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 10, 5, 0.97);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    animation: fadeIn 0.3s ease-out;
    backdrop-filter: blur(8px);
}

.lightbox__content {
    max-width: 90%;
    max-height: 85vh;
    position: relative;
}

.lightbox__content img,
.lightbox__content video {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xl);
}

.lightbox__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(245, 239, 226, 0.1);
    color: var(--cream);
    font-size: 32px;
    line-height: 1;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--ease);
}

.lightbox__close:hover {
    background: rgba(245, 239, 226, 0.2);
    transform: rotate(90deg);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(245, 239, 226, 0.1);
    color: var(--cream);
    font-size: 32px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__nav:hover {
    background: var(--amber);
    color: var(--ink);
}

.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

.lightbox__counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(245, 239, 226, 0.7);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    background: rgba(245, 239, 226, 0.08);
    padding: 8px 18px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

/* ============== AYUDAR ============== */
.ayudar {
    background: var(--paper);
    padding: 140px 0 160px;
    position: relative;
    overflow: hidden;
}

.ayudar__bg-text {
    position: absolute;
    bottom: 60px;
    left: 0;
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(8rem, 18vw, 16rem);
    color: var(--amber);
    opacity: 0.05;
    white-space: nowrap;
    pointer-events: none;
    line-height: 1;
}

.ayudar__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 80px;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.ayudar__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .ayudar__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .ayudar__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.ayuda {
    background: var(--cream);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--sand);
    transition: all 0.5s var(--ease);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.ayuda:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--amber);
}

.ayuda:target {
    border-color: var(--amber);
    box-shadow: 0 0 0 4px rgba(212, 166, 74, 0.25), var(--shadow-lg);
    animation: targetPulse 1.5s var(--ease);
}

@keyframes targetPulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 166, 74, 0.6), var(--shadow-lg); }
    50% { box-shadow: 0 0 0 16px rgba(212, 166, 74, 0), var(--shadow-lg); }
    100% { box-shadow: 0 0 0 4px rgba(212, 166, 74, 0.25), var(--shadow-lg); }
}

.ayuda__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--sand);
}

.ayuda__num {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.ayuda__tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber-dark);
    padding: 4px 10px;
    background: rgba(212, 166, 74, 0.12);
    border-radius: 100px;
}

.ayuda__title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 16px;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.ayuda__text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 28px;
    flex-grow: 1;
}

.ayuda__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--amber);
    color: var(--ink);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s var(--ease);
    text-align: center;
    border: none;
    cursor: pointer;
    width: 100%;
    font-family: inherit;
}

.ayuda__btn:hover {
    background: var(--ink);
    color: var(--amber);
    transform: translateY(-2px);
}

.ayuda__btn--alt {
    background: var(--ink);
    color: var(--cream);
}

.ayuda__btn--alt:hover {
    background: var(--amber);
    color: var(--ink);
}

.ayuda--featured {
    background: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
}

.ayuda--featured .ayuda__top {
    border-bottom-color: rgba(245, 239, 226, 0.15);
}

.ayuda--featured .ayuda__num {
    color: rgba(245, 239, 226, 0.5);
}

.ayuda--featured .ayuda__tag {
    color: var(--amber-light);
    background: rgba(232, 200, 120, 0.12);
}

.ayuda--featured .ayuda__title {
    color: var(--cream);
}

.ayuda--featured .ayuda__text {
    color: rgba(245, 239, 226, 0.78);
}

.ayuda__data {
    margin-top: 8px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.ayuda__data-row {
    padding: 12px 0;
    border-bottom: 1px solid var(--sand);
}

.ayuda__data-row:last-child {
    border-bottom: none;
}

.ayuda__data-row--copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ayuda__data-row--copy > div {
    flex: 1;
    min-width: 0;
}

.ayuda__data-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.ayuda__data-value {
    color: var(--ink);
    font-weight: 500;
    word-break: break-all;
}

.copy-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--cream);
    border: 1px solid var(--sand);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease);
}

.copy-btn:hover {
    background: var(--amber);
    color: var(--ink);
    border-color: var(--amber);
    transform: scale(1.05);
}

/* ============== CONTACTO ============== */
.contacto {
    background: var(--ink);
    color: var(--cream);
    padding: 140px 0 120px;
    position: relative;
}

.contacto__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 80px;
    max-width: 900px;
}

.contacto__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

@media (min-width: 1024px) {
    .contacto__grid {
        grid-template-columns: 1.4fr 1fr;
        gap: 100px;
    }
}

.contacto__main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contacto__block {
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(245, 239, 226, 0.12);
}

.contacto__block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contacto__label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber-light);
    margin-bottom: 12px;
}

.contacto__value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--cream);
    line-height: 1.4;
    transition: color 0.3s var(--ease);
}

.contacto__value--link:hover {
    color: var(--amber);
}

.contacto__note {
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: rgba(245, 239, 226, 0.55);
    font-style: italic;
    line-height: 1.5;
}

.contacto__side {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contacto__phones {
    background: rgba(245, 239, 226, 0.04);
    border: 1px solid rgba(245, 239, 226, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.contacto__phones-title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber-light);
    margin-bottom: 16px;
}

.contacto__phones-title--mt {
    margin-top: 28px;
}

.phone-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(245, 239, 226, 0.08);
}

.phone-row:last-child {
    border-bottom: none;
}

.phone-row__name {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--cream);
}

.phone-row__num {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: rgba(245, 239, 226, 0.85);
    transition: color 0.3s var(--ease);
}

.phone-row__num:hover {
    color: var(--amber);
}

/* ============== FOOTER ============== */
.footer {
    background: var(--ink-soft);
    color: rgba(245, 239, 226, 0.7);
    padding: 100px 0 32px;
    position: relative;
    overflow: hidden;
}

.footer__big {
    text-align: center;
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(245, 239, 226, 0.1);
    overflow: hidden;
}

.footer__big span {
    font-family: var(--font-display);
    font-size: clamp(8rem, 22vw, 22rem);
    font-weight: 400;
    line-height: 0.85;
    color: var(--cream);
    letter-spacing: -0.04em;
    display: inline-block;
    background: linear-gradient(180deg, var(--cream) 30%, var(--amber-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

@media (min-width: 640px) {
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 60px;
    }
}

.footer__col-title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 20px;
}

.footer__col-text {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__col a {
    font-size: 0.95rem;
    transition: color 0.3s var(--ease);
}

.footer__col a:hover {
    color: var(--amber);
}

.footer__bottom {
    border-top: 1px solid rgba(245, 239, 226, 0.08);
    padding-top: 28px;
    padding-bottom: 90px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    color: rgba(245, 239, 226, 0.5);
}

@media (min-width: 640px) {
    .footer__bottom {
        padding-bottom: 100px;
    }
}

.footer__credit {
    text-align: center;
}

.footer__credit a {
    color: var(--amber);
    transition: color 0.3s var(--ease);
}

.footer__credit a:hover {
    color: var(--amber-light);
}

/* ============== BOTONES FLOTANTES ============== */
.floats {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.float {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 600;
    transition: all 0.4s var(--ease);
    cursor: pointer;
    border: none;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.float--share {
    background: var(--ink);
    color: var(--cream);
    font-size: 0.85rem;
    padding: 12px 20px;
}

.float--share:hover {
    background: var(--amber);
    color: var(--ink);
    transform: translateY(-3px);
}

.float--donate {
    background: var(--amber);
    color: var(--ink);
    font-size: 1rem;
    padding: 16px 26px;
    box-shadow: 0 12px 40px rgba(212, 166, 74, 0.5), var(--shadow-lg);
}

.float--donate:hover {
    transform: translateY(-4px) scale(1.04);
    background: var(--amber-light);
    box-shadow: 0 16px 50px rgba(212, 166, 74, 0.65), var(--shadow-xl);
}

.float__icon {
    font-size: 1.15rem;
    line-height: 1;
}

.float__pulse {
    position: absolute;
    inset: -2px;
    border-radius: 100px;
    background: var(--amber);
    z-index: -1;
    animation: floatPulse 2.5s infinite;
    opacity: 0;
}

@keyframes floatPulse {
    0% { transform: scale(0.95); opacity: 0.6; }
    100% { transform: scale(1.3); opacity: 0; }
}

@media (max-width: 480px) {
    .floats { bottom: 16px; right: 16px; gap: 10px; }
    .float--donate { padding: 14px 22px; font-size: 0.9rem; }
    .float--share { padding: 10px 18px; font-size: 0.78rem; }
    .float--share span { display: none; }
    .float--share { padding: 12px; }
}

/* ============== MODAL ============== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s var(--ease);
}

.modal__bg {
    position: absolute;
    inset: 0;
    background: rgba(15, 10, 5, 0.7);
    backdrop-filter: blur(12px);
    cursor: pointer;
}

.modal__panel {
    position: relative;
    background: var(--cream);
    border-radius: var(--radius-lg);
    max-width: 480px;
    width: 100%;
    padding: 40px 36px;
    box-shadow: var(--shadow-xl);
    animation: modalIn 0.5s var(--ease);
    max-height: 90vh;
    overflow-y: auto;
}

.modal__panel--share {
    max-width: 580px;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    background: var(--cream-soft);
    color: var(--ink);
    font-size: 22px;
    line-height: 1;
    border-radius: 50%;
    transition: all 0.3s var(--ease);
}

.modal__close:hover {
    background: var(--ink);
    color: var(--cream);
    transform: rotate(90deg);
}

.modal__head {
    text-align: center;
    margin-bottom: 28px;
}

.modal__eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber-dark);
    margin-bottom: 8px;
}

.modal__title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.modal__title em {
    font-style: italic;
    color: var(--rust);
}

.modal__sub {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 360px;
    margin: 0 auto;
}

.modal__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal__opt {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: var(--paper);
    border-radius: var(--radius);
    border: 1px solid var(--sand);
    transition: all 0.4s var(--ease);
    color: var(--ink);
}

.modal__opt:hover {
    border-color: var(--amber);
    background: var(--cream-soft);
    transform: translateX(4px);
}

.modal__opt-num {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--amber-dark);
    flex-shrink: 0;
}

.modal__opt-body {
    flex-grow: 1;
}

.modal__opt-body strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 2px;
    font-weight: 600;
}

.modal__opt-body small {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.modal__opt-arrow {
    font-size: 1.4rem;
    color: var(--text-muted);
    transition: all 0.3s var(--ease);
}

.modal__opt:hover .modal__opt-arrow {
    color: var(--amber-dark);
    transform: translateX(4px);
}

/* Share preview */
.share-preview {
    background: var(--paper);
    border: 1px solid var(--sand);
    border-radius: var(--radius);
    padding: 20px 22px;
    margin-bottom: 24px;
}

.share-preview__label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.share-preview__text {
    font-size: 0.92rem;
    color: var(--ink);
    line-height: 1.5;
    margin-bottom: 14px;
    font-style: italic;
}

.share-preview__copy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--cream);
    border: 1px solid var(--sand);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ink);
    transition: all 0.3s var(--ease);
}

.share-preview__copy:hover {
    background: var(--amber);
    border-color: var(--amber);
}

.share-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (min-width: 480px) {
    .share-grid { grid-template-columns: repeat(3, 1fr); }
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--paper);
    border: 1px solid var(--sand);
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
    transition: all 0.3s var(--ease);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.share-btn--whatsapp:hover {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

.share-btn--facebook:hover {
    background: #1877F2;
    color: white;
    border-color: #1877F2;
}

.share-btn--twitter:hover {
    background: #000;
    color: white;
    border-color: #000;
}

.share-btn--telegram:hover {
    background: #229ED9;
    color: white;
    border-color: #229ED9;
}

.share-btn--email:hover {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
}

.share-btn--link:hover {
    background: var(--amber);
    border-color: var(--amber);
}

/* ============== TOAST ============== */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--ink);
    color: var(--cream);
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s var(--ease);
    z-index: 110;
    border: 1px solid var(--amber);
}

.toast.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============== ACCESSIBILITY ============== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html { scroll-behavior: auto; }

    .marquee__track,
    .manifiesto__bg-text {
        animation: none !important;
    }
}

:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 4px;
    border-radius: 4px;
}

[hidden] { display: none !important; }

.no-scroll {
    overflow: hidden;
}
