/* ============================================================
   DAMAUTOR26 — main.css
   Sistema visual institucional · Blanco y negro · Editorial
   ============================================================ */

:root {
    --font-sans: "Söhne", "Inter Tight", "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Fraunces", "Times New Roman", serif;
    --ink: #0A0A0A;
    --paper: #FFFFFF;
    --hairline: rgba(10, 10, 10, 0.12);
    --hairline-strong: rgba(10, 10, 10, 0.2);
    --muted: #F5F5F5;
    --muted-fg: #6B6B6B;
    --max-w: 1440px;
    --gutter: 2rem;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.005em;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.font-serif { font-family: var(--font-serif); font-weight: 300; }
.max-w-8xl { max-width: var(--max-w); margin: 0 auto; }
.sr-only, .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; top: -40px; left: 0; background: var(--ink); color: var(--paper); padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { top: 0; }

/* Kickers y jerarquía */
.kicker { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(10,10,10,0.55); }
.muted { color: rgba(10,10,10,0.55); }
.h-display { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -0.025em; max-width: 22ch; text-wrap: balance; }

/* Focus AA */
*:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hairline); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem var(--gutter); }
.site-logo__text { font-family: var(--font-serif); font-size: 2rem; line-height: 1; letter-spacing: -0.02em; }
.site-logo__tag { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(var(--ink-rgb,10,10,10),0.5); margin-left: 0.5rem; }
.primary-menu { display: flex; gap: 2rem; list-style: none; padding: 0; margin: 0; font-size: 13px; }
.primary-menu a { color: rgba(var(--ink-rgb,10,10,10),0.7); position: relative; }
.primary-menu a:hover { color: var(--ink); }
.site-header__ctas { display: flex; align-items: center; gap: 1rem; }
/* CTAs del header · ambos botones con mismo tamaño y opción de hover degradado
 * (font-family / size / letter-spacing / text-transform se heredan del menú
 *  cuando "Heredar fuente del menú" está activado en Theme Options) */
.btn-hazte-socio,
.btn-socios {
    padding: 0.75rem 1.25rem;
    font-size: 12px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.35s ease;
    min-height: 44px;
}
.btn-hazte-socio { background: var(--accent); color: var(--ink); }
.btn-socios     { background: var(--ink);    color: var(--paper); }

/* Capa ::before con degradado · invisible por defecto, aparece en hover */
.btn-hazte-socio::before,
.btn-socios::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--dama-cta-hover-bg, linear-gradient(135deg, #0A0A0A 0%, #3F0F0F 100%));
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.35s ease;
    animation: dama-hover-shift 6s ease-in-out infinite alternate;
    animation-play-state: paused;
}
.btn-hazte-socio:hover,
.btn-socios:hover {
    background: transparent !important;
    color: var(--dama-cta-hover-text, var(--paper, #fff));
}
.btn-hazte-socio:hover::before,
.btn-socios:hover::before {
    opacity: 1;
    animation-play-state: running;
}
.lang-switcher { display: flex; gap: 0.25rem; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; }
.lang-switcher a { color: rgba(var(--ink-rgb,10,10,10),0.45); padding: 0 0.25rem; }
.lang-switcher .current-lang, .lang-switcher a.current-lang { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.mobile-toggle { display: none; background: transparent; border: 0; padding: 0.5rem; cursor: pointer; color: var(--ink); }
.mobile-toggle__icon { display: block; }

/* Marquee */
.marquee-wrap { background: var(--ink); color: var(--paper); overflow: hidden; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; }
.marquee-track { display: flex; align-items: center; white-space: nowrap; animation: marquee 60s linear infinite; width: max-content; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.marquee-item { display: inline-flex; align-items: center; gap: 1.5rem; padding: 0 2rem; height: 100%; font-size: 11px; letter-spacing: normal; text-transform: none; line-height: 1; color: inherit; text-decoration: none; }
.marquee-item .dot { width: 4px; height: 4px; background: currentColor; border-radius: 50%; flex-shrink: 0; }

/* Hero split */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--hairline); }
.hero-card { position: relative; display: block; overflow: hidden; background: var(--ink); min-height: 78vh; }
.hero-card:first-child { border-right: 1px solid var(--hairline); }
.hero-card__img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); opacity: 0.6; transition: opacity .6s ease, transform .9s ease; position: absolute; inset: 0; }
.hero-card:hover .hero-card__img { opacity: 0.75; transform: scale(1.02); }
.hero-card__overlay { position: absolute; inset: 0; padding: 2rem; color: var(--paper); display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.hero-card__top { display: flex; justify-content: space-between; }
.hero-card__top .kicker { color: rgba(255,255,255,0.8); }
.hero-card__title { font-size: clamp(3rem, 6vw, 5rem); line-height: 0.95; letter-spacing: -0.025em; text-wrap: balance; }
.hero-card__cta { display: inline-block; margin-top: 2rem; font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 2px; }

/* Section header */
.section-header { display: flex; justify-content: space-between; align-items: end; gap: 2.5rem; margin-bottom: 3rem; flex-wrap: wrap; }
.section-header h2 { margin: 1rem 0 0; }
.section-header--light { color: var(--paper); }

/* Que es DAMA */
.home-que-es .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.que-es__text h2 { font-size: clamp(2.5rem, 4vw, 3.75rem); line-height: 1.02; margin: 1.5rem 0; }
.que-es__text p { font-size: 1.125rem; color: rgba(var(--ink-rgb,10,10,10),0.7); max-width: 55ch; }
.ctas { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; }
.cta-line { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase; border-bottom: 1px solid var(--hairline-strong); padding-bottom: 4px; }
.cta-line:hover { border-color: var(--ink); }
.cta-solid { background: var(--ink); color: var(--paper); padding: 0.75rem 1.25rem; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.cta-solid:hover { background: rgba(var(--ink-rgb,10,10,10),0.85); }

/* Convocatorias grid */
.home-convocatorias-abiertas { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: #FAFAFA; }
.grid-convocatorias { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.conv-card { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; border: 1px solid var(--hairline); background: var(--paper); }
.conv-card:hover { border-color: var(--ink); }
.conv-card__top { display: flex; justify-content: space-between; align-items: start; }
.conv-card__estado { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.375rem 0.75rem; background: var(--ink); color: var(--paper); }
.conv-card--proxima .conv-card__estado { background: var(--paper); color: var(--ink); border: 1px solid var(--hairline-strong); }
.conv-card--cerrada .conv-card__estado { background: var(--paper); color: rgba(var(--ink-rgb,10,10,10),0.5); border: 1px solid var(--hairline); }
.conv-card__title { font-size: 1.75rem; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.conv-card__footer { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; border-top: 1px solid var(--hairline); padding-top: 1rem; }
.conv-card__cta { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; border-bottom: 1px solid var(--hairline-strong); align-self: start; padding-bottom: 2px; }

/* Servicios grid */
.servicios-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
.servicio-card { padding: 2.5rem; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 1rem; background: var(--bg); color: var(--text); transition: background .25s ease, color .25s ease; }
/* Hover: se convierte en "dark skin local" → hereda todas las vars de skin dark a la vez */
.servicio-card:hover { background: var(--ink); color: var(--paper); }
.servicio-card:hover h3, .servicio-card:hover .servicio-card__cta, .servicio-card:hover p { color: var(--paper); }
.servicio-card:hover .kicker { color: var(--paper); opacity: 0.55; }
.servicio-card h3 { font-size: 2rem; line-height: 1.05; margin: 1rem 0 0; }
.servicio-card__cta { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; margin-top: 2rem; }

/* Salas */
/* Salas (layout sólo — colores vienen del skin en data-skin) */
.home-salas { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.sala { padding: 3rem; display: flex; justify-content: space-between; align-items: end; background: var(--bg); color: var(--text); }
.sala:hover { opacity: 0.85; }
.sala__title { display: block; font-family: var(--font-serif); font-size: 3rem; line-height: 1; letter-spacing: -0.02em; color: var(--heading); }
.sala__addr { display: block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.55; margin-top: 0.75rem; }
.salas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.15); margin-top: 3rem; }

/* Events list */
.events-list { border-top: 1px solid var(--hairline); }
.event-row { display: grid; grid-template-columns: 2fr 2fr 6fr 2fr; gap: 1.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--hairline); align-items: baseline; }
.event-row:hover { background: rgba(var(--ink-rgb,10,10,10),0.02); }
.event-row__date { display: flex; align-items: baseline; gap: 0.5rem; }
.event-row__date .day { font-size: 3rem; line-height: 1; }
.event-row__date .ym { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(var(--ink-rgb,10,10,10),0.55); }
.event-row__city { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.event-row__main h3 { font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.01em; }
.event-row__cta { display: flex; align-items: center; gap: 0.5rem; justify-content: flex-end; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }

/* News grid */
.grid-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.news-card__image { aspect-ratio: 4/3; overflow: hidden; background: rgba(var(--ink-rgb,10,10,10),0.05); margin-bottom: 1.25rem; }
.news-card__image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter .6s ease, transform .6s ease; }
.news-card:hover .news-card__image img { filter: grayscale(0); transform: scale(1.03); }
.news-card__meta { display: flex; gap: 1rem; font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(var(--ink-rgb,10,10,10),0.55); margin-bottom: 0.75rem; }
.news-card__meta .dot { width: 4px; height: 4px; background: rgba(var(--ink-rgb,10,10,10),0.3); align-self: center; }
.news-card__title { font-size: 1.6rem; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; margin: 0 0 0.75rem; }
.news-card__excerpt { font-size: 0.9rem; color: rgba(var(--ink-rgb,10,10,10),0.65); }

/* Videos */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.video-card__thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--ink); position: relative; margin-bottom: 1rem; }
.video-card__thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); opacity: 0.85; transition: filter .6s ease, opacity .6s ease; }
.video-card:hover .video-card__thumb img { filter: grayscale(0); opacity: 1; }
.video-card__thumb .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--paper); font-size: 1.5rem; }
.video-card h3 { font-size: 1.4rem; line-height: 1.15; margin: 0.75rem 0 0; }

/* Boletines / newsletter (layout — colores del skin) */
.home-boletines { border-top: 1px solid var(--hairline); }
.boletines-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 3rem; align-items: center; }
.newsletter-form { display: flex; flex-direction: column; gap: 0.5rem; border-bottom: 1px solid currentColor; opacity: 0.95; }
.newsletter-form input { flex: 1; background: transparent; border: 0; padding: 0.75rem 0; color: inherit; font-size: 1rem; }
.newsletter-form input::placeholder { color: currentColor; opacity: 0.4; }
.newsletter-form button { background: transparent; border: 0; color: inherit; padding: 0.75rem 0; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; text-align: right; cursor: pointer; }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); background: var(--paper); font-size: 0.9rem; line-height: 1.5; }
.site-footer__inner { padding: 4rem var(--gutter) 2rem; }
.footer-grid { display: grid; grid-template-columns: 4fr 2fr 2fr 2fr 2fr; gap: 2.5rem; }
.footer-title { font-size: 2.5rem; line-height: 1; letter-spacing: -0.02em; font-family: var(--font-serif); }
.footer-kicker { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(var(--ink-rgb,10,10,10),0.5); margin-bottom: 1rem; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.9rem; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--hairline); font-size: 12px; color: rgba(var(--ink-rgb,10,10,10),0.5); }
.footer-legal { display: flex; gap: 1.5rem; }

/* Direcciones de sedes en footer · sin cursiva, jerarquía clara */
.site-footer address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0 0 1.5rem;
    color: rgba(var(--ink-rgb,10,10,10),0.78);
}
.site-footer address:last-child { margin-bottom: 0; }
.site-footer address strong {
    display: block;
    font-weight: 500;
    font-style: normal;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    color: var(--ink, #0a0a0a);
    margin-bottom: 0.4rem;
}
.site-footer address a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}
.site-footer address a:hover { border-bottom-color: currentColor; }
.site-footer .footer-horario {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: rgba(var(--ink-rgb,10,10,10),0.55);
    white-space: pre-line;
}
.site-footer .footer-col p { font-size: 0.9rem; line-height: 1.55; color: rgba(var(--ink-rgb,10,10,10),0.75); }
.site-footer .footer-social { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; gap: 1.25rem; font-size: 0.8rem; letter-spacing: 0.05em; }
.site-footer .footer-social a { color: rgba(var(--ink-rgb,10,10,10),0.6); text-decoration: none; }
.site-footer .footer-social a:hover { color: var(--ink, #0a0a0a); }

/* Archives / pages */
.archive-header { padding: 3rem 0; }
.archive-title { font-size: clamp(3rem, 6vw, 6rem); line-height: 0.95; letter-spacing: -0.03em; text-wrap: balance; }
.single-title { font-size: clamp(2.5rem, 5vw, 5rem); line-height: 0.98; letter-spacing: -0.025em; text-wrap: balance; margin: 0.5rem 0 1.5rem; }
.single-body { font-size: 1.1rem; line-height: 1.6; color: rgba(var(--ink-rgb,10,10,10),0.8); max-width: 70ch; }
.grid-event, .grid-conv { display: grid; grid-template-columns: 7fr 5fr; gap: 4rem; }
.event-meta, .conv-meta { border: 1px solid var(--hairline); padding: 2rem; align-self: start; position: sticky; top: 7rem; }
.event-meta dl, .conv-meta dl { margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.event-meta dt, .conv-meta dt { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(var(--ink-rgb,10,10,10),0.55); display: inline; }
.event-meta dd, .conv-meta dd { margin: 0; display: inline; }
.event-meta div, .conv-meta div { display: flex; justify-content: space-between; padding-bottom: 0.75rem; border-bottom: 1px solid var(--hairline); }
.btn { display: inline-block; background: var(--ink); color: var(--paper); padding: 0.85rem 1.5rem; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; margin-top: 1rem; }

/* 404 */
.error-404__code { font-size: 12rem; line-height: 1; letter-spacing: -0.04em; }
.link-back { margin-top: 2rem; display: inline-block; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; border-bottom: 1px solid var(--hairline-strong); padding-bottom: 2px; }

/* Responsive */
@media (max-width: 1024px) {
    .primary-menu, .site-header__ctas .lang-switcher { display: none; }
    .mobile-toggle { display: block; }
    .hero-split, .home-que-es .grid-2, .servicios-grid, .grid-convocatorias, .grid-news, .video-grid, .footer-grid, .salas-grid, .boletines-grid, .grid-event, .grid-conv { grid-template-columns: 1fr; }
    .hero-card { min-height: 55vh; }
    .hero-card:first-child { border-right: 0; border-bottom: 1px solid var(--hairline); }
    .event-row { grid-template-columns: 1fr; gap: 0.5rem; }
    .footer-title { font-size: 2rem; }
}

/* ============================================================
   v1.3.0 — EVENTOS con thumbnail + GALERÍA + CONVOCATORIA EDITORIAL
   ============================================================ */

/* Event row MIXTO con thumbnail */
.event-row--mixto {
    grid-template-columns: 140px 1.5fr 1.5fr 5fr 2fr;
    align-items: center;
}
.event-row__thumb {
    width: 140px;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--muted,#f5f5f5);
    border-radius: var(--card-radius, 0);
}
.event-row__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter .6s ease, transform .6s ease;
}
.event-row--mixto:hover .event-row__thumb img {
    filter: grayscale(0);
    transform: scale(1.04);
}

/* Event card (layout grid) */
.event-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}
.event-card__thumb {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--muted,#f5f5f5);
    border-radius: var(--card-radius, 0);
}
.event-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter .6s ease, transform .6s ease;
}
.event-card:hover .event-card__thumb img {
    filter: grayscale(0);
    transform: scale(1.03);
}
.event-card__meta {
    display: flex;
    gap: 0.5rem;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(10,10,10,0.55);
}
.event-card__title {
    font-size: 1.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-wrap: balance;
    margin: 0;
}
.event-card__footer {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--hairline);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Single event hero full width */
.single-evento__hero {
    width: 100%;
    margin: 0;
    overflow: hidden;
    max-height: 70vh;
}
.single-evento__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(20%);
}
.single-lead {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.35;
    color: rgba(10,10,10,0.75);
    margin: 2rem 0;
    max-width: 40ch;
    text-wrap: balance;
    font-weight: 300;
}

/* Gallery */
.single-gallery { margin-top: 4rem; border-top: 1px solid var(--hairline); padding-top: 3rem; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.gallery-item {
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--muted,#f5f5f5);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter .6s ease, transform .9s ease;
}
.gallery-item:hover img { filter: grayscale(0); transform: scale(1.03); }

/* ========== CONVOCATORIA EDITORIAL ========== */
.conv-hero {
    position: relative;
    background: #0A0A0A;
    color: #fff;
    min-height: 60vh;
    display: flex;
    overflow: hidden;
}
.conv-hero--full { min-height: 90vh; }
.conv-hero__bg { position: absolute; inset: 0; opacity: 0.5; }
.conv-hero__bg img {
    width: 100%; height: 100%; object-fit: cover; filter: grayscale(60%);
}
.conv-hero__overlay {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    align-items: flex-end;
}
.conv-hero__top {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}
.conv-hero__top .kicker { color: rgba(255,255,255,0.75); }
.conv-hero__estado {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 0.4rem 0.75rem;
    background: #fff;
    color: #0A0A0A;
}
.conv-hero__estado--proxima { background: transparent; color: #fff; border: 1px solid #fff; }
.conv-hero__estado--cerrada { background: transparent; color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.3); }
.conv-hero__estado--resultados { background: transparent; color: #fff; border: 1px solid #fff; }
.conv-hero__title {
    font-size: clamp(2.75rem, 6.5vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -0.025em;
    margin: 0;
    max-width: 18ch;
    text-wrap: balance;
}
.conv-hero__lead {
    font-size: 1.25rem;
    line-height: 1.45;
    color: rgba(255,255,255,0.8);
    margin: 1.5rem 0 0;
    max-width: 50ch;
}
.conv-hero__dates {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    font-size: 13px;
}
.conv-hero__dates div { display: flex; flex-direction: column; gap: 0.25rem; }
.conv-hero__dates .kicker { color: rgba(255,255,255,0.55); }
.conv-hero__cta {
    display: inline-block;
    margin-top: 2.5rem;
    background: #fff;
    color: #0A0A0A;
    padding: 1rem 1.75rem;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.conv-body { padding: var(--section-py, 5rem) 0; }
.conv-block { margin: 3rem 0; }
.conv-block h2 { font-size: clamp(2rem, 3vw, 2.5rem); letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.conv-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--hairline); }
.conv-list li { display: flex; gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--hairline); }
.conv-list .num { color: rgba(10,10,10,0.4); font-family: monospace; min-width: 2rem; }

/* FAQ */
.faq-list { border-top: 1px solid var(--hairline); }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    list-style: none;
    font-size: clamp(1.1rem, 1.75vw, 1.5rem);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
    font-weight: 300;
    font-size: 1.5rem;
    transition: transform .3s ease;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-answer {
    padding: 0 0 1.5rem;
    color: rgba(10,10,10,0.7);
    max-width: 70ch;
    line-height: 1.6;
}

/* CTA final convocatoria */
.conv-cta-final {
    background: #0A0A0A;
    color: #fff;
    border-top: 1px solid var(--hairline);
}
.conv-cta-final__btn {
    display: inline-block;
    margin-top: 2.5rem;
    background: #fff;
    color: #0A0A0A;
    padding: 1.25rem 2rem;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .event-row--mixto {
        grid-template-columns: 100px 1fr;
        grid-template-areas: "thumb main" "thumb meta";
        gap: 0.75rem;
    }
    .event-row--mixto .event-row__thumb { grid-area: thumb; width: 100%; aspect-ratio: 1; }
    .event-row--mixto .event-row__main { grid-area: main; }
    .event-row--mixto .event-row__date,
    .event-row--mixto .event-row__city,
    .event-row--mixto .event-row__cta { display: none; }
    .conv-hero__dates { gap: 1.5rem; flex-wrap: wrap; }
}

/* Redux Theme Options · logo imagen + footer social + header variants */
.site-logo__img { max-height: 40px; width: auto; display: block; }
.site-header--sticky { position: sticky; top: 0; z-index: 50; background: var(--paper); }
.site-header--transparent { background: transparent; }
.footer-social { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.footer-social a { border-bottom: 1px solid var(--hairline); padding-bottom: 2px; }
.footer-social a:hover { border-color: var(--ink); }
.site-footer--cols-3 .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }

/* =============================================================================
 * FASE B · Home polish: Grid Convocatorias + Presenta Proyecto + Marquee modular
 * ============================================================================= */

/* --- Grid Convocatorias (estilo museo) ------------------------------------- */
.home-dc .section-header { margin-bottom: 3rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.home-dc .section-header .kicker { margin-bottom: 0.75rem; }
.home-dc .section-header h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0; max-width: 22ch; text-wrap: balance; }
.dc-card { display: flex; flex-direction: column; position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--hairline); transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), border-color 0.3s; color: var(--ink); text-decoration: none; }
.dc-card:hover { border-color: var(--ink); }
.dc-card__media { position: relative; background-color: var(--muted); overflow: hidden; transition: filter 0.6s; }
.dc-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.dc-card:hover .dc-card__media img { transform: scale(1.03); }
.dc-card__placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--muted) 0%, rgba(var(--ink-rgb,10,10,10),0.08) 100%); color: var(--muted-fg); }
.dc-card__placeholder span { font-size: clamp(3rem, 6vw, 6rem); letter-spacing: -0.04em; opacity: 0.3; }
.dc-card--lg .dc-card__media { aspect-ratio: 4/5; }
.dc-card--md .dc-card__media { aspect-ratio: 3/4; }
.dc-card--sm .dc-card__media { aspect-ratio: 4/3; }
.dc-card:hover .dc-card__media { filter: brightness(0.92); }

.dc-card__tag { position: absolute; top: 1rem; left: 1rem; padding: 0.35rem 0.75rem; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); }

.dc-card__body { display: flex; flex-direction: column; gap: 0.85rem; padding: 1.5rem 1.5rem 1.75rem; flex: 1; }
.dc-card__title { font-size: 1.35rem; line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
.dc-card--lg .dc-card__title { font-size: clamp(1.75rem, 2.5vw, 2.5rem); }
.dc-card__excerpt { font-size: 0.95rem; color: var(--muted-fg); line-height: 1.55; margin: 0; max-width: 55ch; }
.dc-card__meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; gap: 1rem; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-fg); }
.dc-card__cta { color: var(--ink); }
.dc-card:hover .dc-card__cta { text-decoration: underline; text-underline-offset: 4px; }

/* Layout: mosaico (1 grande + 4 pequeños). Altura compartida. */
.dc-mosaic { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--card-gap, 1.5rem); align-items: stretch; }
.dc-mosaic > .dc-card--lg { height: 100%; }
.dc-mosaic > .dc-card--lg .dc-card__media { aspect-ratio: auto; flex: 1; min-height: 320px; }
.dc-mosaic__small { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: var(--card-gap, 1.5rem); }
.dc-mosaic__small .dc-card { height: 100%; }
.dc-mosaic__small .dc-card__media { aspect-ratio: auto; flex: 1; min-height: 160px; }
@media (max-width: 900px) {
    .dc-mosaic { grid-template-columns: 1fr; }
    .dc-mosaic__small { grid-template-columns: 1fr 1fr; }
    .dc-mosaic > .dc-card--lg .dc-card__media { aspect-ratio: 16/10; min-height: unset; }
    .dc-mosaic__small .dc-card__media { aspect-ratio: 4/3; min-height: unset; }
}

/* Layout: duo (2 grandes) */
.dc-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--card-gap, 1.5rem); }
@media (max-width: 900px) { .dc-duo { grid-template-columns: 1fr; } }

/* Layout: grid3 (3 uniformes) */
.dc-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--card-gap, 1.5rem); }
@media (max-width: 900px) { .dc-grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .dc-grid3 { grid-template-columns: 1fr; } }

/* --- Presenta tu proyecto (hero editorial) -------------------------------- */
.dpp { position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; overflow: hidden; isolation: isolate; }
.dpp__overlay { position: absolute; inset: 0; z-index: 1; }
.dpp--dark .dpp__overlay { background: linear-gradient(115deg, rgba(var(--ink-rgb,10,10,10),0.78) 0%, rgba(var(--ink-rgb,10,10,10),0.55) 55%, rgba(var(--ink-rgb,10,10,10),0.25) 100%); }
.dpp--light .dpp__overlay { background: linear-gradient(115deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.65) 55%, rgba(255,255,255,0.35) 100%); }
.dpp--dark { color: #fff; }
.dpp--light { color: var(--ink); }
.dpp__inner { position: relative; z-index: 2; max-width: 1200px; }
.dpp--center .dpp__inner { text-align: center; margin-left: auto; margin-right: auto; }

.dpp__kicker { color: currentColor; opacity: 0.85; margin-bottom: 1.75rem; }
.dpp__title { font-size: clamp(3rem, 7vw, 6.5rem); line-height: 0.95; letter-spacing: -0.03em; margin: 0 0 1.5rem; max-width: 18ch; text-wrap: balance; }
.dpp--center .dpp__title { margin-left: auto; margin-right: auto; }
.dpp__lead { font-size: clamp(1.05rem, 1.25vw, 1.375rem); line-height: 1.45; max-width: 60ch; opacity: 0.92; margin: 0 0 2.75rem; color: currentColor; }
.dpp--center .dpp__lead { margin-left: auto; margin-right: auto; }

.dpp__ctas { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.dpp--center .dpp__ctas { justify-content: center; }
.dpp--dark .cta-solid { background: #fff; color: #000; border-color: #fff; }
.dpp--dark .cta-solid:hover { background: transparent; color: #fff; }
.dpp--dark .cta-line { color: #fff; border-color: rgba(255,255,255,0.5); }
.dpp--dark .cta-line:hover { border-color: #fff; }

@media (max-width: 768px) {
    .dpp__title { font-size: clamp(2.25rem, 9vw, 3.5rem); }
    .dpp__lead { font-size: 1rem; }
}

/* --- Marquee modular (hereda estilos de .marquee-wrap existentes) --------- */
.marquee-item span.dot { background: var(--ink); }

/* Grid Convocatorias · empty state */
.dc-empty { text-align: center; padding: 4rem 2rem; border: 1px solid var(--hairline); }
.dc-empty .kicker { margin-bottom: 1rem; }
.dc-empty__lead { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; margin: 0 auto 1.5rem; max-width: 30ch; color: var(--muted-fg); }

/* Presenta tu proyecto · fondo fallback cuando no hay imagen */
.dpp--no-image.dpp--dark { background-color: var(--ink); }
.dpp--no-image.dpp--light { background-color: var(--muted, #F5F2EC); }
.dpp--no-image .dpp__overlay { background: transparent; }
.dpp { min-height: 60vh; display: flex; align-items: center; }

/* =============================================================================
 * Acordeón editorial (details/summary nativos)
 * ============================================================================= */
.dama-accordion { max-width: 860px; margin: 0 auto; padding: var(--section-py, 4rem) var(--gutter, 2rem); }
.dama-accordion__header { margin-bottom: 2.5rem; }
.dama-accordion__title { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0.75rem 0 0; }
.dama-accordion__list { border-top: 1px solid var(--hairline); }

.dama-acc-item { border-bottom: 1px solid var(--hairline); }
.dama-acc-item summary {
    display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
    padding: 1.5rem 0; cursor: pointer; list-style: none;
}
.dama-acc-item summary::-webkit-details-marker { display: none; }
.dama-acc-item__title { font-size: clamp(1.1rem, 1.4vw, 1.35rem); line-height: 1.3; letter-spacing: -0.01em; }
.dama-acc-item__icon { font-size: 1.5rem; font-weight: 300; transition: transform 0.3s; color: var(--muted-fg); }
.dama-acc-item[open] .dama-acc-item__icon { transform: rotate(45deg); color: var(--ink); }
.dama-acc-item__body { padding: 0 0 1.75rem; font-size: 1rem; line-height: 1.6; color: var(--muted-fg); max-width: 65ch; }
.dama-acc-item__body p:first-child { margin-top: 0; }
.dama-acc-item:hover summary .dama-acc-item__title { color: var(--accent, var(--ink)); }

/* =============================================================================
 * Convocatorias Image Accordion horizontal (hero "Now showing")
 * ============================================================================= */
.conv-accordion { position: relative; }
.conv-accordion__header h2 { margin-top: 0.75rem; }
.conv-accordion__panels {
    display: flex;
    gap: 4px;
    height: 65vh;
    min-height: 520px;
    max-height: 720px;
    padding: 0 var(--gutter, 2rem) var(--section-py, 4rem);
    box-sizing: border-box;
}
.conv-panel {
    flex: 1;
    position: relative;
    overflow: hidden;
    background-color: rgba(var(--ink-rgb,10,10,10), 0.92);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    min-width: 0;
}
.conv-panel:hover,
.conv-panel--active { flex: 3.2; }
.conv-panel:hover ~ .conv-panel--active,
.conv-accordion__panels:hover .conv-panel--active:not(:hover) { flex: 1; }

.conv-panel__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.85) 100%);
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 2rem 1.75rem;
}
.conv-panel__top { display: flex; justify-content: space-between; align-items: flex-start; }
.conv-panel__kicker {
    font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.9;
    border: 1px solid rgba(255,255,255,0.5); padding: 0.35rem 0.65rem;
}

/* Título vertical cuando el panel está comprimido (editorial) */
.conv-panel__title-compact {
    position: absolute; bottom: 2rem; left: 1.75rem;
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-size: clamp(1.15rem, 1.4vw, 1.45rem);
    letter-spacing: -0.01em; line-height: 1.1;
    max-height: calc(100% - 6rem);
    white-space: nowrap; text-overflow: ellipsis; overflow: hidden;
    opacity: 0.95;
    transition: opacity 0.3s;
    pointer-events: none;
}
.conv-accordion--vertical .conv-panel__title-compact { display: block; }
.conv-accordion:not(.conv-accordion--vertical) .conv-panel__title-compact { display: none; }

/* Al expandir, ocultamos el título vertical y mostramos el horizontal */
.conv-panel:hover .conv-panel__title-compact,
.conv-panel--active .conv-panel__title-compact { opacity: 0; }

.conv-panel__bottom {
    transform: translateY(24px); opacity: 0;
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1) 0.1s, opacity 0.4s ease 0.1s;
    position: relative; z-index: 2;
}
.conv-panel:hover .conv-panel__bottom,
.conv-panel--active .conv-panel__bottom { transform: translateY(0); opacity: 1; }

.conv-panel__title {
    font-size: clamp(1.5rem, 2.2vw, 2.25rem); line-height: 1.1;
    letter-spacing: -0.02em; margin: 0 0 0.75rem; max-width: 22ch; color: #fff;
}
.conv-panel__meta { font-size: 13px; opacity: 0.8; margin: 0 0 1.25rem; color: #fff; }
.conv-panel__cta {
    display: inline-block;
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.55); padding-bottom: 3px;
    transition: border-color 0.3s;
}
.conv-panel:hover .conv-panel__cta { border-bottom-color: #fff; }

/* Responsive · stack vertical en móvil */
@media (max-width: 768px) {
    .conv-accordion__panels {
        flex-direction: column;
        height: auto !important;
        min-height: unset; max-height: unset;
        padding-bottom: var(--section-py-mobile, 3rem);
    }
    .conv-panel { min-height: 260px; flex: none !important; }
    .conv-panel__title-compact { display: none !important; }
    .conv-panel__bottom { transform: none; opacity: 1; }
}

/* =============================================================================
 * v2.5 · RESPONSIVE COMPLETO (mobile + tablet)
 * - Tipografía fluida (clamp)
 * - Spacing fluido (clamp)
 * - Mobile drawer nav
 * - Image Accordion y Grid adaptados
 * - Touch targets 44x44
 * ============================================================================= */

/* --- Tipografía fluida global -------------------------------------------- */
h1, .h-display { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -0.025em; }
h2             { font-size: clamp(1.6rem, 4vw, 3rem);  line-height: 1.1;  letter-spacing: -0.02em; }
h3             { font-size: clamp(1.3rem, 3vw, 2rem);  line-height: 1.15; letter-spacing: -0.015em; }
h4             { font-size: clamp(1.1rem, 2.5vw, 1.5rem); line-height: 1.25; }
body           { font-size: clamp(0.95rem, 1.3vw, 1.05rem); }
.kicker        { font-size: clamp(9px, 1.1vw, 11px); }

/* iOS no-zoom on focus inputs */
input, select, textarea { font-size: 16px; }
@media (min-width: 768px) { input, select, textarea { font-size: 15px; } }

/* --- Spacing fluido ------------------------------------------------------- */
:root {
    --section-py: clamp(3rem, 8vw, 6rem);
    --section-py-mobile: clamp(2.5rem, 6vw, 4rem);
    --gutter: clamp(1rem, 4vw, 2rem);
    --card-gap: clamp(1rem, 2vw, 2rem);
}

/* --- Touch targets ≥ 44x44 ----------------------------------------------- */
.btn-socios, .cta-solid, .cta-line, .btn,
.mobile-toggle, .mobile-drawer__close, .mobile-menu a,
.conv-panel__cta, .servicio-card__cta { min-height: 44px; display: inline-flex; align-items: center; }

/* --- MOBILE DRAWER ------------------------------------------------------- */
.mobile-drawer {
    position: fixed; inset: 0; z-index: 999;
    visibility: hidden; pointer-events: none;
    opacity: 0; transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.mobile-drawer.is-open { visibility: visible; pointer-events: auto; opacity: 1; transition-delay: 0s; }
.mobile-drawer__backdrop {
    position: absolute; inset: 0;
    background: rgba(var(--ink-rgb,10,10,10), 0.55);
    cursor: pointer;
}
.mobile-drawer__panel {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: min(90%, 420px);
    background: var(--paper);
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    padding: 1.5rem 1.75rem 2rem;
    box-shadow: -20px 0 60px rgba(var(--ink-rgb,10,10,10), 0.15);
}
.mobile-drawer.is-open .mobile-drawer__panel { transform: translateX(0); }
.mobile-drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; }
.mobile-drawer__logo { font-size: 1.75rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.mobile-drawer__close {
    width: 44px; height: 44px; background: transparent; border: 1px solid var(--hairline);
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.mobile-drawer__nav { flex: 1; }
.mobile-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.mobile-menu li { position: relative; border-bottom: 0; }
.mobile-menu > li:first-child { border-top: 0; }
.mobile-menu a {
    display: flex; align-items: center; padding: 1.1rem 0;
    font-family: var(--font-serif); font-size: 1.35rem;
    color: var(--ink); text-decoration: none; line-height: 1.2;
}
.mobile-menu a:hover { opacity: 0.7; }
.mobile-menu__expand {
    position: absolute; right: 0; top: 0.5rem; width: 44px; height: 44px;
    background: transparent; border: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--muted-fg);
    transition: transform 0.3s;
}
.mobile-menu li.is-expanded > .mobile-menu__expand { transform: rotate(45deg); }
.mobile-menu .sub-menu { list-style: none; padding: 0 0 0 1rem; margin: 0 0 0.5rem; max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.mobile-menu li.is-expanded > .sub-menu { max-height: 400px; }
.mobile-menu .sub-menu a { font-size: 1rem; padding: 0.65rem 0; font-family: var(--font-sans); color: var(--muted-fg); }
.mobile-drawer__foot { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--hairline); }
.mobile-drawer__foot .btn-socios { justify-content: center; text-align: center; }
.mobile-drawer__langs { display: flex; gap: 1rem; justify-content: center; }
.mobile-drawer__langs ul { display: flex; gap: 1rem; list-style: none; padding: 0; margin: 0; }

body.has-drawer-open { overflow: hidden; }

/* --- Site header mobile -------------------------------------------------- */
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--hairline); }
.mobile-toggle { min-width: 44px; min-height: 44px; display: none; align-items: center; justify-content: center; }

@media (max-width: 1024px) {
    .site-header__ctas .btn-socios,
    .site-header__ctas .btn-hazte-socio { display: none; } /* movido al drawer y sticky bar móvil */
    .primary-menu { display: none; }
    .mobile-toggle { display: inline-flex; }
    .site-header__inner { padding-block: 0.75rem; }
}

/* --- Image Accordion · mobile stack vertical ----------------------------- */
@media (max-width: 767px) {
    .conv-accordion__panels {
        flex-direction: column !important;
        height: auto !important; min-height: 0 !important; max-height: none !important;
        gap: 1rem !important;
        padding-bottom: var(--section-py-mobile);
    }
    .conv-panel { flex: none !important; min-height: 280px !important; }
    .conv-panel__title-compact { display: none !important; }
    .conv-panel__bottom { transform: none !important; opacity: 1 !important; }
    .conv-panel__overlay {
        background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.85) 100%);
    }
}

/* En tablet: sin expand, paneles iguales pero visibles */
@media (min-width: 768px) and (max-width: 1024px) {
    .conv-panel:hover, .conv-panel--active { flex: 1; }
    .conv-panel__bottom { transform: none; opacity: 1; }
    .conv-panel__title-compact { display: none; }
    .conv-accordion__panels { min-height: 440px; height: 50vh; }
}

/* --- Grid convocatorias mobile · 1 col siempre --------------------------- */
@media (max-width: 767px) {
    .dc-mosaic, .dc-mosaic__small, .dc-duo, .dc-grid3 { grid-template-columns: 1fr !important; }
    .dc-mosaic__small { grid-template-rows: auto !important; }
    .dc-card__media { aspect-ratio: 16/10 !important; min-height: 0 !important; }
    .dc-card__title { font-size: 1.5rem; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .dc-grid3 { grid-template-columns: 1fr 1fr !important; }
}

/* --- Hero split mobile: stacked, altura ajustada ------------------------- */
@media (max-width: 767px) {
    .hero-split { grid-template-columns: 1fr; }
    .hero-card { min-height: 50vh; }
    .hero-card__title { font-size: clamp(2rem, 8vw, 3rem); }
}

/* --- Que es DAMA mobile -------------------------------------------------- */
@media (max-width: 767px) {
    .home-que-es .grid-2 { display: flex !important; flex-direction: column; gap: 2rem !important; }
    .home-que-es figure img { aspect-ratio: 4/3 !important; }
    .home-que-es h2 { font-size: clamp(1.8rem, 6vw, 2.5rem) !important; }
    .home-que-es .ctas { flex-direction: column; align-items: flex-start; }
    .home-que-es .ctas a { width: 100%; justify-content: center; }
}

/* --- Servicios / salas / boletines mobile -------------------------------- */
@media (max-width: 767px) {
    .servicios-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }
    .servicio-card { padding: 1.75rem !important; }
    .salas-grid { grid-template-columns: 1fr !important; gap: 1rem; }
    .boletines-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .home-boletines h2 { font-size: clamp(1.75rem, 6vw, 2.25rem) !important; }
    .newsletter-form { flex-direction: column; gap: 0.75rem; }
    .newsletter-form input, .newsletter-form button { width: 100%; }
}

/* --- Programación / eventos mobile --------------------------------------- */
@media (max-width: 767px) {
    .event-row, .event-row--mixto {
        grid-template-columns: 100px 1fr !important;
        grid-template-areas: "thumb main" "thumb city" "thumb cta" !important;
        gap: 0.5rem 1rem;
        padding: 1.25rem 0;
    }
    .event-row__thumb { grid-area: thumb; width: 100px !important; aspect-ratio: 1/1 !important; }
    .event-row__date { display: none !important; }
    .event-row__city { grid-area: city; font-size: 11px; }
    .event-row__main { grid-area: main; }
    .event-row__main h3 { font-size: 1.1rem !important; }
    .event-row__cta { grid-area: cta; justify-content: flex-start; font-size: 11px; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* --- News grid mobile ---------------------------------------------------- */
@media (max-width: 767px) {
    .grid-news { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
    .news-card__title { font-size: 1.25rem !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .grid-news { grid-template-columns: 1fr 1fr !important; }
}

/* --- Videos grid mobile -------------------------------------------------- */
@media (max-width: 767px) { .video-grid { grid-template-columns: 1fr !important; } }
@media (min-width: 768px) and (max-width: 1024px) { .video-grid { grid-template-columns: 1fr 1fr !important; } }

/* --- Presenta tu proyecto mobile ----------------------------------------- */
@media (max-width: 767px) {
    .dpp { min-height: 70vh; }
    .dpp__title { font-size: clamp(2.25rem, 10vw, 3.5rem) !important; }
    .dpp__lead { font-size: 1rem !important; }
    .dpp__ctas { flex-direction: column; align-items: flex-start; width: 100%; }
    .dpp__ctas a { width: 100%; justify-content: center; }
}

/* --- Footer mobile: todo apilado con separadores ------------------------- */
@media (max-width: 767px) {
    .footer-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
    .footer-col { padding: 2rem 0; border-bottom: 1px solid var(--hairline); }
    .footer-col:last-child { border-bottom: 0; }
    .footer-col--intro { padding-top: 0; }
    .footer-title { font-size: 1.75rem !important; }
    .footer-bottom { flex-direction: column !important; gap: 1.5rem; text-align: center; align-items: center; padding-top: 2rem !important; }
    .footer-legal { flex-wrap: wrap; justify-content: center; gap: 1rem !important; }
    .footer-social { justify-content: flex-start; gap: 1rem; }
}

/* --- Single evento / single convocatoria mobile -------------------------- */
@media (max-width: 1024px) {
    .grid-event, .grid-conv { grid-template-columns: 1fr !important; gap: 3rem !important; }
    .event-meta, .conv-meta { position: static !important; }
}
@media (max-width: 767px) {
    .single-title, .conv-hero__title { font-size: clamp(2rem, 8vw, 3rem) !important; }
    .conv-hero { min-height: 50vh !important; }
    .conv-hero--full { min-height: 70vh !important; }
    .single-gallery .gallery-grid { grid-template-columns: 1fr 1fr !important; }
}

/* --- Marquee mobile ------------------------------------------------------ */
@media (max-width: 767px) {
    .marquee-item { font-size: 12px; padding: 0 1rem; }
}

/* --- Evitar scroll horizontal -------------------------------------------- */
img, video, iframe { max-width: 100%; height: auto; }

/* --- Contenedor siempre con padding lateral mínimo ----------------------- */
.max-w-8xl { padding-left: max(var(--gutter), 1rem); padding-right: max(var(--gutter), 1rem); box-sizing: border-box; }

/* =============================================================================
 * Tratamiento de imagen · Grid Convocatorias + Image Accordion
 * ============================================================================= */

/* Grid Convocatorias */
.home-dc.dc-style--color .dc-card__media img { filter: none; }

.home-dc.dc-style--color_overlay .dc-card__media { position: relative; }
.home-dc.dc-style--color_overlay .dc-card__media::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}
.home-dc.dc-style--color_overlay .dc-card__tag { z-index: 2; }

.home-dc.dc-style--bw .dc-card__media img { filter: grayscale(100%) contrast(1.02); }

.home-dc.dc-style--bw_hover .dc-card__media img { filter: grayscale(100%); transition: filter 0.55s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.home-dc.dc-style--bw_hover .dc-card:hover .dc-card__media img { filter: grayscale(0%); }

/* Image Accordion */
.conv-accordion.conv-accordion--color .conv-panel__overlay { background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.85) 100%); }
.conv-accordion.conv-accordion--color .conv-panel:hover .conv-panel__overlay,
.conv-accordion.conv-accordion--color .conv-panel--active .conv-panel__overlay { background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.75) 100%); }

.conv-accordion.conv-accordion--coloroverlay .conv-panel__overlay,
.conv-accordion.conv-accordion--color_overlay .conv-panel__overlay { background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.85) 100%); }

.conv-accordion.conv-accordion--bw .conv-panel { filter: grayscale(100%); }
.conv-accordion.conv-accordion--bw .conv-panel__overlay { background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 100%); }

.conv-accordion.conv-accordion--bw_hover .conv-panel,
.conv-accordion.conv-accordion--bwhover .conv-panel { filter: grayscale(100%); transition: filter 0.6s ease, flex 0.5s cubic-bezier(0.4,0,0.2,1); }
.conv-accordion.conv-accordion--bw_hover .conv-panel:hover,
.conv-accordion.conv-accordion--bwhover .conv-panel:hover,
.conv-accordion.conv-accordion--bw_hover .conv-panel--active,
.conv-accordion.conv-accordion--bwhover .conv-panel--active { filter: grayscale(0%); }

/* Image Accordion · Presets visuales + personalización avanzada (opt-in) */
/* Presets — overlay más denso/suave y colores base coherentes */
.conv-accordion--preset-dark  .conv-panel__overlay { background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.6) 45%, rgba(0,0,0,0.92) 100%); }
.conv-accordion--preset-light .conv-panel__overlay { background: linear-gradient(180deg, rgba(0,0,0,0)    0%, rgba(0,0,0,0.2)  55%, rgba(0,0,0,0.55) 100%); }

/* Alineación del contenido */
.conv-accordion--align-center .conv-panel__overlay { align-items: center; text-align: center; }
.conv-accordion--align-center .conv-panel__top     { width: 100%; justify-content: center; }
.conv-accordion--align-center .conv-panel__title,
.conv-accordion--align-center .conv-panel__meta    { margin-left: auto; margin-right: auto; }
.conv-accordion--align-right  .conv-panel__overlay { align-items: flex-end; text-align: right; }
.conv-accordion--align-right  .conv-panel__top     { width: 100%; justify-content: flex-end; }

/* Custom properties (solo aplican si el editor setea un valor vía style inline) */
.conv-accordion[style*="--ca-overlay:"] .conv-panel__overlay {
    background: linear-gradient(
        180deg,
        rgba(var(--ca-overlay, 0,0,0), calc(var(--ca-overlay-op, 0.55) * 0.18)) 0%,
        rgba(var(--ca-overlay, 0,0,0), calc(var(--ca-overlay-op, 0.55) * 0.55)) 50%,
        rgba(var(--ca-overlay, 0,0,0), var(--ca-overlay-op, 0.85)) 100%
    );
}
.conv-accordion[style*="--ca-kicker:"] .conv-panel__kicker,
.conv-accordion[style*="--ca-kicker:"] .conv-accordion__header .kicker { color: var(--ca-kicker); border-color: currentColor; }
.conv-accordion[style*="--ca-title:"]       .conv-accordion__header h2 { color: var(--ca-title); }
.conv-accordion[style*="--ca-title-card:"]  .conv-panel__title,
.conv-accordion[style*="--ca-title-card:"]  .conv-panel__title-compact { color: var(--ca-title-card); }
.conv-accordion[style*="--ca-text:"]   .conv-panel__meta             { color: var(--ca-text); }
.conv-accordion[style*="--ca-cta:"]    .conv-panel__cta              { color: var(--ca-cta); border-bottom-color: var(--ca-cta); }
.conv-accordion[style*="--ca-cta:"]    .conv-panel:hover .conv-panel__cta { border-bottom-color: var(--ca-cta); opacity: 0.9; }

/* Padding vertical extra al header cuando hay fondo personalizado (respira) */
.conv-accordion[style*="background-color:"],
.conv-accordion[style*="background-image:url"] { padding-bottom: 1rem; }

/* Presenta tu proyecto · tratamiento imagen */
.dpp.dpp--bw { filter: grayscale(100%); }
.dpp.dpp--bw .dpp__overlay { background: linear-gradient(115deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.5) 55%, rgba(0,0,0,0.25) 100%); }
.dpp.dpp--color .dpp__overlay { background: transparent; }
.dpp.dpp--color { text-shadow: 0 2px 12px rgba(0,0,0,0.45); }
.dpp.dpp--coloroverlay,
.dpp.dpp--color_overlay { /* ya usa el overlay por defecto de .dpp */ }

/* Hero split · tratamiento de imagen */
.hero-split.hero-split--color .hero-card__img { filter: none; }
.hero-split.hero-split--color .hero-card__overlay { background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.6) 100%); }

.hero-split.hero-split--coloroverlay .hero-card__overlay,
.hero-split.hero-split--color_overlay .hero-card__overlay { background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.8) 100%); }

.hero-split.hero-split--bw .hero-card__img { filter: grayscale(100%) contrast(1.02); }

.hero-split.hero-split--bw_hover .hero-card__img,
.hero-split.hero-split--bwhover .hero-card__img { filter: grayscale(100%); transition: filter 0.6s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.hero-split.hero-split--bw_hover .hero-card:hover .hero-card__img,
.hero-split.hero-split--bwhover .hero-card:hover .hero-card__img { filter: grayscale(0%); }

/* Hero split · overlay y colores configurables por WPBakery (opt-in vía CSS vars) */
.hero-split[style*="--hs-overlay:"] .hero-card__overlay {
    background: linear-gradient(
        180deg,
        rgba(var(--hs-overlay, 0,0,0), calc(var(--hs-overlay-op, 0.7) * 0.28)) 0%,
        rgba(var(--hs-overlay, 0,0,0), calc(var(--hs-overlay-op, 0.7) * 0.62)) 55%,
        rgba(var(--hs-overlay, 0,0,0), var(--hs-overlay-op, 0.7)) 100%
    );
}
.hero-split[style*="--hs-kicker:"] .hero-card__top .kicker { color: var(--hs-kicker); }
.hero-split[style*="--hs-title:"]  .hero-card__title       { color: var(--hs-title); }
.hero-split[style*="--hs-cta:"]    .hero-card__cta         { color: var(--hs-cta); border-bottom-color: var(--hs-cta); opacity: 0.9; }

/* =============================================================================
 * v2.9 · News filter AJAX + Reserva RGPD + Marquee styling hook
 * ============================================================================= */

/* News filter */
.dama-newsfilter { position: relative; }
.dama-newsfilter__tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; border-top: 1px solid var(--hairline); padding-top: 1.5rem; }
.dnf-tab { min-height: 40px; padding: 0.5rem 1.15rem; background: transparent; border: 1px solid var(--hairline); color: var(--ink); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.dnf-tab:hover { border-color: var(--ink); }
.dnf-tab.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dama-newsfilter__results { min-height: 200px; transition: opacity 0.25s; }
.dama-newsfilter__results.is-loading { opacity: 0.45; }
.dama-newsfilter__empty { padding: 3rem 0; text-align: center; color: var(--muted-fg); }

/* Reserva form RGPD */
.reserva-form { display: flex; flex-direction: column; gap: 1.25rem; }
.reserva-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.reserva-form__field { display: flex; flex-direction: column; gap: 0.35rem; }
.reserva-form__field span { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted-fg); }
.reserva-form__field input, .reserva-form__field select, .reserva-form__field textarea { border: 1px solid var(--hairline); padding: 0.85rem 0.9rem; background: var(--paper); font-family: inherit; color: var(--ink); transition: border-color 0.2s; }
.reserva-form__field input:focus, .reserva-form__field select:focus, .reserva-form__field textarea:focus { outline: none; border-color: var(--ink); }
.reserva-form__optin, .reserva-form__rgpd { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 13px; line-height: 1.45; color: var(--muted-fg); }
.reserva-form__optin input, .reserva-form__rgpd input { margin-top: 3px; }
.reserva-form__legal { border: 1px solid var(--hairline); padding: 0.85rem 1rem; background: var(--muted); font-size: 12px; }
.reserva-form__legal summary { cursor: pointer; font-weight: 500; color: var(--ink); padding: 0.25rem 0; }
.reserva-form__legal-body { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--hairline); color: var(--muted-fg); line-height: 1.55; }
.reserva-form__legal-body p { margin: 0 0 0.5rem; }
.reserva-form button[type="submit"] { align-self: flex-start; margin-top: 0.5rem; }

@media (max-width: 640px) {
    .reserva-form__row { grid-template-columns: 1fr; }
}

/* v2.10 · Marquee fixes */
.marquee-wrap { line-height: 1; }
@media (max-width: 767px) {
    .marquee-wrap { min-height: 32px !important; height: auto !important; }
    .marquee-wrap .marquee-item { padding: 0 1rem; }
}

/* =============================================================================
 * Single Sede · mini-home editorial
 * ============================================================================= */
.single-sede .kicker { display: block; }

.sede-hero { position: relative; min-height: 60vh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--ink); }
.sede-hero__media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.sede-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.85) 100%); }
.sede-hero__content { position: relative; z-index: 2; width: 100%; }
.sede-hero__content .kicker { color: rgba(255,255,255,0.75); margin-bottom: 1rem; }
.sede-hero__title { font-size: clamp(3rem, 8vw, 6.5rem); line-height: 0.95; letter-spacing: -0.03em; margin: 0 0 1.5rem; color: #fff; }
.sede-hero__lead { font-size: clamp(1rem, 1.3vw, 1.25rem); max-width: 55ch; margin: 0 0 2.5rem; color: rgba(255,255,255,0.88); line-height: 1.5; }
.sede-hero__cta { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.sede-hero .cta-solid { background: #fff; color: #000; border-color: #fff; }
.sede-hero .cta-solid:hover { background: transparent; color: #fff; }
.sede-hero .cta-line { color: #fff; border-color: rgba(255,255,255,0.5); }
.sede-hero .cta-line:hover { border-color: #fff; }

.sede-intro__grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--card-gap, 3rem); }
.sede-intro__content { font-size: 1.05rem; line-height: 1.65; color: var(--ink); }
.sede-intro__content p { margin: 0 0 1.25rem; max-width: 62ch; }
.sede-intro__info { display: flex; flex-direction: column; gap: 2rem; padding-left: 2rem; border-left: 1px solid var(--hairline); }
.sede-info__block .kicker { color: var(--muted-fg); margin-bottom: 0.5rem; }
.sede-info__block p { margin: 0; font-size: 1rem; line-height: 1.55; }
.sede-info__block a { color: var(--ink); border-bottom: 1px solid var(--hairline); }
.sede-info__block a:hover { border-color: var(--ink); }

.sede-section-title { font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0.75rem 0 2.5rem; max-width: 18ch; text-wrap: balance; }

.sede-gallery__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-auto-rows: 220px; gap: 8px; }
.sede-gallery__grid > :nth-child(1) { grid-row: span 2; }
.sede-gallery__grid > :nth-child(4) { grid-column: span 2; }
.sede-gallery__item { overflow: hidden; display: block; background: var(--muted); }
.sede-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22,1,0.36,1); display: block; }
.sede-gallery__item:hover img { transform: scale(1.04); }

.sede-events__list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--card-gap, 1.5rem); }
.sede-event { display: grid; grid-template-columns: 120px 1fr; gap: 1.25rem; padding: 1.5rem; border: 1px solid var(--hairline); background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color 0.3s, transform 0.4s; }
.sede-event:hover { border-color: var(--ink); transform: translateX(2px); }
.sede-event__thumb { aspect-ratio: 1/1; overflow: hidden; background: var(--muted); }
.sede-event__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sede-event__body { display: flex; flex-direction: column; gap: 0.35rem; }
.sede-event__date { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-fg); }
.sede-event__body h3 { font-size: 1.15rem; line-height: 1.25; margin: 0 0 0.5rem; letter-spacing: -0.01em; }
.sede-event__cta { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); margin-top: auto; }

.sede-map__wrap { aspect-ratio: 16/6; width: 100%; background: var(--muted); }
.sede-map__wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(100%) contrast(1.05); }

@media (max-width: 900px) {
    .sede-intro__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .sede-intro__info { padding-left: 0; border-left: 0; border-top: 1px solid var(--hairline); padding-top: 2rem; }
    .sede-events__list { grid-template-columns: 1fr; }
    .sede-gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
    .sede-gallery__grid > :nth-child(1) { grid-row: span 1; }
    .sede-gallery__grid > :nth-child(4) { grid-column: span 1; }
}
@media (max-width: 600px) {
    .sede-hero { min-height: 55vh; }
    .sede-hero__title { font-size: clamp(2.25rem, 11vw, 3.5rem) !important; line-height: 0.98; margin-bottom: 1rem; }
    .sede-hero__lead { font-size: 0.95rem; margin-bottom: 1.75rem; }
    .sede-hero__cta { flex-direction: column; align-items: stretch; width: 100%; }
    .sede-hero__cta a { width: 100%; justify-content: center; text-align: center; }
    .sede-gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
    .sede-event { grid-template-columns: 80px 1fr; padding: 1rem; }
    .sede-map__wrap { aspect-ratio: 4/5; }
}

/* =============================================================================
 * Single Sede v2.11 — layout compacto modular
 * ============================================================================= */

/* HEADER: hero compacto + contacto integrado en 2 columnas */
.sede-head { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.sede-head__media { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.55); }
.sede-head__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.65) 100%); }
.sede-head__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.sede-head__kicker { color: rgba(255,255,255,0.7); margin-bottom: 0.75rem; }
.sede-head__title { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 0.98; letter-spacing: -0.025em; margin: 0 0 1.25rem; color: #fff; max-width: 12ch; }
.sede-head__lead { font-size: 1.05rem; line-height: 1.5; max-width: 50ch; margin: 0 0 2rem; color: rgba(255,255,255,0.88); }
.sede-head__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.sede-head__cta .cta-solid { background: #fff; color: #000; border-color: #fff; }
.sede-head__cta .cta-solid:hover { background: transparent; color: #fff; }
.sede-head__cta .cta-line { color: #fff; border-color: rgba(255,255,255,0.5); }
.sede-head__cta .cta-line:hover { border-color: #fff; }

.sede-head__info-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; padding-top: 0.5rem; }
.sede-head__info-col .sede-info__block { color: #fff; }
.sede-head__info-col .sede-info__block .kicker { color: rgba(255,255,255,0.65); margin-bottom: 0.35rem; font-size: 10px; }
.sede-head__info-col .sede-info__block p { margin: 0; font-size: 0.95rem; line-height: 1.5; color: #fff; }
.sede-head__info-col .sede-info__block a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.3); }
.sede-head__info-col .sede-info__block a:hover { border-color: #fff; }

@media (max-width: 900px) {
    .sede-head__grid { grid-template-columns: 1fr; gap: 2rem; }
    .sede-head__info-col { grid-template-columns: 1fr 1fr; padding-top: 0; margin-top: 1rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.2); }
}
@media (max-width: 600px) {
    .sede-head__info-col { grid-template-columns: 1fr; gap: 1.25rem; }
    .sede-head__cta { flex-direction: column; align-items: stretch; width: 100%; }
    .sede-head__cta a { width: 100%; justify-content: center; text-align: center; }
}

/* FILAS MODULARES */
.sede-row__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--card-gap, 3rem); align-items: start; }
.sede-row__grid--split { grid-template-columns: 1.3fr 1fr; }
@media (max-width: 900px) { .sede-row__grid, .sede-row__grid--split { grid-template-columns: 1fr; } }

.sede-block__head { margin-bottom: 2rem; }
.sede-block__title { font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.1; letter-spacing: -0.015em; margin: 0.5rem 0 0; max-width: 18ch; text-wrap: balance; }
.sede-block__empty { padding: 2rem 0; color: var(--muted-fg); }
.sede-block__empty-gallery { display: flex; flex-direction: column; gap: 1rem; justify-content: center; align-items: flex-start; padding: 3rem 2rem; border: 1px dashed var(--hairline); background: var(--muted); min-height: 280px; }
.sede-block__more { display: inline-block; margin-top: 1.5rem; }

/* Eventos en la sede */
.sede-events__list { display: flex; flex-direction: column; gap: 1rem; }
.sede-event { display: grid; grid-template-columns: 100px 1fr; gap: 1.25rem; padding: 1.25rem; border: 1px solid var(--hairline); background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color 0.3s, transform 0.4s; }
.sede-event:hover { border-color: var(--ink); transform: translateX(2px); }
.sede-event__thumb { aspect-ratio: 1/1; overflow: hidden; background: var(--muted); }
.sede-event__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sede-event__body h3 { font-size: 1.05rem; line-height: 1.25; margin: 0 0 0.4rem; letter-spacing: -0.01em; }
.sede-event__date { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-fg); display: block; margin-bottom: 0.35rem; }
.sede-event__cta { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); }

/* Noticias en la sede */
.sede-news__list { display: flex; flex-direction: column; gap: 0.5rem; }
.sede-news-item { display: grid; grid-template-columns: 80px 1fr; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--hairline); color: var(--ink); text-decoration: none; transition: opacity 0.2s; }
.sede-news-item:hover { opacity: 0.7; }
.sede-news-item__thumb { aspect-ratio: 1/1; overflow: hidden; background: var(--muted); }
.sede-news-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sede-news-item__date { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-fg); }
.sede-news-item__body h3 { font-size: 1rem; line-height: 1.3; margin: 0.25rem 0 0; letter-spacing: -0.005em; }

/* Galería vertical para la columna */
.sede-gallery__grid--col { grid-template-columns: 1fr 1fr !important; grid-auto-rows: 200px; }
.sede-gallery__grid--col > :nth-child(1) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 600px) {
    .sede-gallery__grid--col { grid-template-columns: 1fr !important; grid-auto-rows: 230px; }
    .sede-gallery__grid--col > :nth-child(1) { grid-column: span 1; grid-row: span 1; }
}

/* CTA reservar sala */
.sede-salas-cta { padding: 3rem 2rem; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); min-height: 100%; display: flex; flex-direction: column; justify-content: center; }
.sede-salas-cta .kicker { color: rgba(255,255,255,0.7); margin-bottom: 1rem; }
.sede-salas-cta__title { font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 1rem; color: #fff; max-width: 15ch; }
.sede-salas-cta__text { font-size: 1rem; line-height: 1.5; margin: 0 0 2rem; color: rgba(255,255,255,0.88); max-width: 45ch; }
.sede-salas-cta .cta-solid { background: #fff; color: #000; border-color: #fff; align-self: flex-start; }
.sede-salas-cta .cta-solid:hover { background: transparent; color: #fff; }

/* =============================================================================
 * v2.12 · Consistencia WPBakery + pulido final
 * ============================================================================= */

/* Forzar que los wrappers de WPBakery hereden variables del theme */
.wpb_wrapper, .vc_row, .vc_column_container, .wpb_text_column { color: var(--ink); font-family: inherit; }
.wpb_wrapper p { font-family: inherit; line-height: 1.6; color: var(--ink); }
.wpb_wrapper h1, .wpb_wrapper h2, .wpb_wrapper h3, .wpb_wrapper h4, .wpb_wrapper h5, .wpb_wrapper h6 {
    font-family: var(--font-serif, "Fraunces", Georgia, serif); color: var(--ink);
}

/* Botones por defecto de WPBakery → coherentes con estilo DAMA */
.vc_btn3, .vc_general.vc_btn3-style-flat, .wpb_button {
    font-family: inherit !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 11px !important;
    font-weight: 500 !important;
    border-radius: 0 !important;
    padding: 1rem 1.75rem !important;
    min-height: 44px;
}

/* Quitar margin-bottom por defecto de .wpb_text_column que rompe ritmo vertical */
.wpb_text_column { margin-bottom: 0 !important; }
.vc_row + .vc_row, .wpb_row + .wpb_row { margin-top: 0; }

/* Evitar doble padding cuando WPBakery mete un row dentro de una sección del theme */
.home-dc .vc_row, .conv-accordion .vc_row, .sede-head .vc_row { padding-top: 0 !important; padding-bottom: 0 !important; }

/* Consistencia de botones del theme (.cta-solid / .cta-line) */
.cta-solid, .cta-line {
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    padding: 0.9rem 1.6rem; min-height: 44px;
    display: inline-flex; align-items: center; gap: 0.5rem;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
    text-decoration: none;
}
.cta-solid { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.cta-solid:hover { background: transparent; color: var(--ink); }
.cta-line { background: transparent; color: var(--ink); border: 1px solid var(--hairline); }
.cta-line:hover { border-color: var(--ink); }

/* Consistencia cards (las 4 familias) */
.dc-card, .news-card, .servicio-card, .event-card { background: var(--paper); transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), border-color 0.25s; }
.news-card__title, .dc-card__title, .servicio-card__title { letter-spacing: -0.015em; }

/* Anti-jump: cuando las fuentes Fraunces cargan, evita que se reajuste */
h1, h2, h3, h4, h5, .font-serif { font-display: swap; }

/* ===== Responsive último pulido ===== */
@media (max-width: 767px) {
    /* Menos padding en home en móvil */
    .home-dc, .home-que-es, .home-boletines, .conv-accordion { padding-top: 0 !important; padding-bottom: 0 !important; }
    /* Section headers en móvil: en columna, sin CTA pegado */
    .home-dc .section-header { flex-direction: column; align-items: flex-start; }
    /* Eventos en sede: títulos más pequeños en móvil */
    .sede-event__body h3 { font-size: 0.95rem; }
}

/* Evitar que font-size-base del body se aplique a elementos con tamaños ya definidos */
body { font-feature-settings: "kern", "liga", "calt"; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* =============================================================================
 * Mobile sticky CTA bar (Hazte socio + Área de socios)
 * ============================================================================= */
.dama-mobile-stickybar { display: none; }

@media (max-width: 768px) {
    .dama-mobile-stickybar {
        position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
        display: grid; grid-template-columns: 1fr 1fr;
        background: var(--ink); color: var(--paper);
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 -8px 24px rgba(0,0,0,0.12);
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
    .dama-mobile-stickybar__cta {
        display: flex; align-items: center; justify-content: center;
        padding: 1rem 0.75rem; min-height: 52px;
        font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
        text-decoration: none; font-weight: 500;
        position: relative; overflow: hidden; isolation: isolate;
        transition: color 0.35s ease;
    }
    /* Capa ::before con degradado configurado en Theme Options */
    .dama-mobile-stickybar__cta::before {
        content: '';
        position: absolute; inset: 0; z-index: -1;
        background: var(--dama-cta-hover-bg, linear-gradient(135deg, #0A0A0A 0%, #3F0F0F 100%));
        background-size: 200% 200%;
        opacity: 0;
        transition: opacity 0.35s ease;
        animation: dama-hover-shift 6s ease-in-out infinite alternate;
        animation-play-state: paused;
    }
    /* Hereda los colores configurados en Theme Options para los CTAs del header */
    .dama-mobile-stickybar__cta--primary {
        background: var(--accent); color: var(--ink);
    }
    .dama-mobile-stickybar__cta--secondary {
        background: var(--ink); color: var(--paper);
        border-left: 1px solid rgba(255,255,255,0.12);
    }
    .dama-mobile-stickybar__cta--primary:hover,
    .dama-mobile-stickybar__cta--primary:focus-visible,
    .dama-mobile-stickybar__cta--secondary:hover,
    .dama-mobile-stickybar__cta--secondary:focus-visible {
        background: transparent !important;
        color: var(--dama-cta-hover-text, #fff);
    }
    .dama-mobile-stickybar__cta:hover::before,
    .dama-mobile-stickybar__cta:focus-visible::before {
        opacity: 1;
        animation-play-state: running;
    }
    /* Hueco al final del body para no tapar el footer */
    body { padding-bottom: calc(52px + env(safe-area-inset-bottom, 0)); }
    /* Si el theme option está OFF, no se pinta el padding */
    body:not(:has(.dama-mobile-stickybar)) { padding-bottom: 0; }
}

/* =============================================================================
 * Video Archive · DAMA Habla + filtros + grid + lightbox
 * ============================================================================= */
.dama-videoarchive { display: block; }

/* Hero destacado */
.dama-videoarchive__hero { border-bottom: 1px solid var(--hairline); }
.dama-vhero {
    position: relative; display: block; width: 100%;
    min-height: 78vh; border: 0; padding: 0; margin: 0;
    background: var(--ink); background-size: cover; background-position: center;
    cursor: pointer; overflow: hidden; color: #fff; text-align: left;
}
.dama-vhero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.85) 100%);
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 2.5rem var(--gutter, 2rem);
}
.dama-vhero__kicker { display: flex; gap: 1rem; align-items: center; }
.dama-vhero__kicker .kicker { color: rgba(255,255,255,0.9); }
.dama-vhero__kicker .kicker--destacado {
    border: 1px solid rgba(255,255,255,0.5); padding: 0.3rem 0.65rem;
}
.dama-vhero__bottom { display: flex; flex-direction: column; gap: 1.5rem; max-width: 30ch; }
.dama-vhero__title { color: #fff !important; font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1; margin: 0; text-wrap: balance; }
.dama-vhero__cta { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.9); }
.dama-vhero__play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 96px; height: 96px; border-radius: 50%;
    background: rgba(255,255,255,0.95); color: var(--ink);
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; padding-left: 6px;
    transition: transform 0.3s ease, background 0.3s ease;
}
.dama-vhero:hover .dama-vhero__play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }

/* Tabs (reutilizamos estilos .dnf-tab del news-filter) */
.dama-videoarchive__tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2rem 0; border-top: 1px solid var(--hairline); padding-top: 1.5rem; }
.dama-videoarchive__results { min-height: 240px; transition: opacity 0.25s; }
.dama-videoarchive__results.is-loading { opacity: 0.4; }

/* Grid de vídeos */
.dama-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--card-gap, 1.5rem); }
@media (max-width: 900px) { .dama-video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dama-video-grid { grid-template-columns: 1fr; } }

.dama-vcard {
    display: flex; flex-direction: column; gap: 1rem;
    background: transparent; border: 0; padding: 0; margin: 0;
    cursor: pointer; text-align: left; color: inherit;
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.dama-vcard:hover { transform: translateY(-3px); }
.dama-vcard__thumb {
    position: relative; display: block; width: 100%;
    aspect-ratio: 16/9; background: var(--ink) center/cover no-repeat;
    overflow: hidden;
}
.dama-vcard__play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(255,255,255,0.92); color: var(--ink);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; padding-left: 3px;
    transition: transform 0.3s, background 0.3s;
}
.dama-vcard:hover .dama-vcard__play { background: #fff; transform: translate(-50%, -50%) scale(1.1); }
.dama-vcard__duration {
    position: absolute; bottom: 0.5rem; right: 0.5rem;
    background: rgba(0,0,0,0.7); color: #fff;
    padding: 0.25rem 0.5rem; font-size: 11px; letter-spacing: 0.05em;
    font-variant-numeric: tabular-nums;
}
.dama-vcard__body { display: flex; flex-direction: column; gap: 0.4rem; }
.dama-vcard__title { font-size: 1.25rem; line-height: 1.2; margin: 0; letter-spacing: -0.01em; }

/* Lightbox */
.dama-video-lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.92); display: none;
    align-items: center; justify-content: center;
    padding: 2rem;
}
.dama-video-lightbox.is-open { display: flex; }
.dama-video-lightbox__close {
    position: absolute; top: 1.5rem; right: 1.5rem;
    width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,0.12); color: #fff;
    font-size: 28px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.dama-video-lightbox__close:hover { background: rgba(255,255,255,0.25); }
.dama-video-lightbox__frame {
    width: 100%; max-width: 1280px; aspect-ratio: 16/9;
    background: #000; overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.7);
}
.dama-video-lightbox__frame iframe,
.dama-video-lightbox__frame video { width: 100%; height: 100%; border: 0; object-fit: contain; }
.dama-video-lightbox__loading { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #fff; font-size: 32px; letter-spacing: 0.3em; }
body.dama-video-lb-open { overflow: hidden; }

/* =============================================================================
 * Salas · listado + formulario de solicitud
 * ============================================================================= */
.dama-salas-listado { display: block; }
.dama-salas-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--card-gap, 1.5rem);
}
@media (max-width: 900px) { .dama-salas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dama-salas-grid { grid-template-columns: 1fr; } }

.dama-sala-card {
    display: flex; flex-direction: column;
    border: 1px solid var(--hairline);
    background: var(--bg, var(--paper));
    transition: border-color .25s ease, transform .35s cubic-bezier(0.22,1,0.36,1);
}
.dama-sala-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.dama-sala-card__img {
    aspect-ratio: 4/3; background: var(--muted) center/cover no-repeat;
}
.dama-sala-card__img--empty { background: linear-gradient(135deg, #f0ece4 0%, #e8e5df 100%); }
.dama-sala-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.dama-sala-card__title { margin: 0; font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.01em; }
.dama-sala-card__meta { margin: 0; }
.dama-sala-card__features {
    margin: 0; padding: 0; list-style: none;
    display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem;
    font-size: 0.9rem; opacity: 0.75;
}
.dama-sala-card__features li { position: relative; padding-left: 1rem; }
.dama-sala-card__features li::before {
    content: ''; position: absolute; left: 0; top: 0.55em;
    width: 4px; height: 4px; border-radius: 50%; background: currentColor;
}
.dama-sala-card__cta {
    margin-top: 0.5rem; border: 0; background: transparent;
    padding: 0; cursor: pointer; text-align: left;
    font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--link); border-bottom: 1px solid var(--hairline-strong);
    padding-bottom: 4px; align-self: flex-start;
}
.dama-sala-card__cta:hover { color: var(--link-hover); border-color: var(--link-hover); }

/* Formulario */
.dama-reserva { background: var(--muted); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); scroll-margin-top: 2rem; }
.dama-reserva__header { max-width: 60ch; margin-bottom: 2.5rem; }
.dama-reserva__header h2 { margin: 0.5rem 0 1rem; }
.dama-reserva__lead { font-size: 1rem; line-height: 1.5; }

.dama-reserva-form { display: grid; gap: 1.5rem; max-width: 840px; }
.dama-reserva-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.dama-reserva-form__row--3 { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 700px) {
    .dama-reserva-form__row,
    .dama-reserva-form__row--3 { grid-template-columns: 1fr; }
}

.dama-reserva-form__field { display: flex; flex-direction: column; gap: 0.4rem; }
.dama-reserva-form__field label {
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
    font-weight: 500; opacity: 0.8;
}
.dama-reserva-form__field input[type="text"],
.dama-reserva-form__field input[type="email"],
.dama-reserva-form__field input[type="date"],
.dama-reserva-form__field select,
.dama-reserva-form__field textarea {
    background: var(--paper); border: 1px solid var(--hairline);
    padding: 0.85rem 1rem; font: inherit; color: var(--text);
    border-radius: 0; transition: border-color .2s ease;
}
.dama-reserva-form__field input:focus,
.dama-reserva-form__field select:focus,
.dama-reserva-form__field textarea:focus {
    outline: 0; border-color: var(--ink);
}
.dama-reserva-form__hint { font-size: 11px; opacity: 0.55; margin-top: 2px; letter-spacing: 0.05em; text-transform: uppercase; }
.dama-reserva-form__consent label {
    display: flex; align-items: flex-start; gap: 0.6rem;
    font-size: 0.85rem; letter-spacing: normal; text-transform: none;
    opacity: 1; font-weight: 400;
}
.dama-reserva-form__consent input { margin-top: 3px; }
.dama-reserva-form__actions { margin-top: 0.5rem; }
.dama-reserva-form__actions .cta-solid { border: 0; cursor: pointer; font: inherit; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.9rem 1.5rem; }
.dama-reserva-form__actions .cta-solid:disabled { opacity: 0.5; cursor: wait; }
.dama-reserva-form__feedback { min-height: 1.5em; font-size: 0.95rem; }
.dama-reserva-form__feedback.is-ok    { color: #2d7a4f; }
.dama-reserva-form__feedback.is-error { color: #b14a3a; }

/* =============================================================================
 * Eventos · subtítulo + lugar + entrada libre / CTA reserva
 * ============================================================================= */
.event-row__lugar { font-weight: 500; }
.event-row__subtitle,
.event-card__subtitle {
    font-size: 0.9rem; margin: 0.35rem 0 0; line-height: 1.5; opacity: 0.7;
    max-width: 60ch;
}
.event-row__libre,
.event-card__free {
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    opacity: 0.65;
}
.event-row__cta .cta-line {
    font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
}
.event-card__tipo { margin-top: 0.5rem; }
.event-card__title a, .event-row__main h3 a { color: inherit; }
.event-card__title a:hover, .event-row__main h3 a:hover { opacity: 0.7; }

/* =============================================================================
 * Convocatorias · card y hero · estados Abierta/Cerrada
 * ============================================================================= */
.conv-card { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.5rem; border: 1px solid var(--hairline); background: var(--bg); transition: border-color 0.25s, transform 0.35s cubic-bezier(0.22,1,0.36,1); color: inherit; text-decoration: none; }
.conv-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.conv-card__top { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.conv-card__tipo { letter-spacing: 0.18em; }
.conv-card__estado { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.3rem 0.6rem; border: 1px solid currentColor; border-radius: 999px; white-space: nowrap; }
.conv-card__estado--abierta { color: #2d7a4f; }
.conv-card__estado--cerrada { color: var(--muted-fg); opacity: 0.7; }
.conv-card__title { margin: 0.5rem 0 0; font-size: 1.6rem; line-height: 1.1; }
.conv-card__excerpt { margin: 0; font-size: 0.95rem; line-height: 1.5; opacity: 0.7; }
.conv-card__footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--hairline); }
.conv-card__cierre { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.6; }
.conv-card__cta { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; margin-top: 0.5rem; align-self: flex-start; border-bottom: 1px solid var(--hairline-strong); padding-bottom: 3px; }

/* Hero del single convocatoria — overlay siempre legible */
.conv-hero { position: relative; overflow: hidden; min-height: 50vh; }
.conv-hero__bg { position: absolute; inset: 0; z-index: 0; }
.conv-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.conv-hero__overlay {
    position: relative; z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.65) 60%, rgba(0,0,0,0.85) 100%);
    color: #fff;
    min-height: 50vh; display: flex; align-items: flex-end;
}
/* Sin imagen — fondo sólido oscuro */
.conv-hero:not(:has(.conv-hero__bg)) .conv-hero__overlay { background: var(--ink); }
.conv-hero__top { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; }
.conv-hero__tipo, .conv-hero .kicker { color: #fff; opacity: 0.9; }
.conv-hero__estado { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.4rem 0.8rem; border: 1px solid rgba(255,255,255,0.5); border-radius: 999px; }
.conv-hero__estado--abierta { background: rgba(45,122,79,0.18); border-color: #6fcf97; color: #d4f6e0; }
.conv-hero__estado--cerrada { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.85); }
.conv-hero__title { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 0.98; letter-spacing: -0.02em; color: #fff; margin: 0; max-width: 22ch; text-wrap: balance; }
.conv-hero__lead { font-size: 1.15rem; line-height: 1.5; opacity: 0.85; max-width: 60ch; margin-top: 1.25rem; color: #fff; }
.conv-hero__dates { display: flex; gap: 3rem; margin-top: 2rem; flex-wrap: wrap; }
.conv-hero__dates > div { display: flex; flex-direction: column; gap: 0.25rem; }
.conv-hero__cta { display: inline-block; margin-top: 2rem; padding: 1rem 1.5rem; background: #fff; color: var(--ink); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; text-decoration: none; transition: background 0.25s; }
.conv-hero__cta:hover { background: var(--accent); }

@media (max-width: 700px) {
    .conv-hero, .conv-hero__overlay { min-height: 60vh; }
    .conv-hero__dates { gap: 1.5rem; }
}

/* Sede · CTA salas con preview */
.sede-salas-cta__preview { list-style: none; padding: 0; margin: 1.5rem 0; display: flex; flex-direction: column; gap: 0.75rem; }
.sede-salas-cta__preview li { display: flex; align-items: center; gap: 1rem; padding: 0.75rem; border: 1px solid var(--hairline); background: var(--paper); }
.sede-salas-cta__preview-img { display: block; width: 64px; height: 64px; flex-shrink: 0; background: var(--muted) center/cover no-repeat; }
.sede-salas-cta__preview-info { display: flex; flex-direction: column; gap: 0.2rem; }
.sede-salas-cta__preview-name { font-size: 1.05rem; line-height: 1.1; }
.sede-salas-cta__actions { display: flex; gap: 1.25rem; align-items: center; margin-top: 1rem; flex-wrap: wrap; }
.sede-salas-cta__actions .cta-solid { display: inline-block; padding: 0.85rem 1.25rem; text-decoration: none; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; }
.sede-salas-cta__actions .cta-line { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; }

/* section-header lead (texto descriptivo bajo el título de sección) */
.section-header__lead {
    max-width: 70ch; font-size: 1rem; line-height: 1.6;
    margin-top: 1.25rem; opacity: 0.75;
}


/* =============================================================================
 * Pre-footer Nav · 3 columnas de menús (entre boletín y footer)
 * ========================================================================== */
.prefooter-nav {
    background: var(--ink, #111);
    color: var(--paper, #f7f5f0);
    padding: 5rem var(--gutter, 2rem) 4rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.prefooter-nav__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: var(--container-max, 1400px);
    margin: 0 auto;
}
.prefooter-nav__col { min-width: 0; }
.prefooter-nav__title {
    font-family: var(--font-serif, "Fraunces", Georgia, serif);
    font-weight: 400;
    font-size: clamp(1.75rem, 2.4vw, 2.5rem);
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: none;
    margin: 0 0 2rem;
    color: var(--paper, #fff);
}
.prefooter-nav__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.prefooter-nav__menu li { margin: 0; padding: 0; }
.prefooter-nav__menu a {
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.35;
    letter-spacing: 0.01em;
    display: inline-block;
    transition: color 0.2s ease, transform 0.2s ease;
    position: relative;
}
.prefooter-nav__menu a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -3px;
    height: 1px;
    background: currentColor;
    transition: right 0.25s ease;
}
.prefooter-nav__menu a:hover,
.prefooter-nav__menu a:focus-visible {
    color: #fff;
}
.prefooter-nav__menu a:hover::after,
.prefooter-nav__menu a:focus-visible::after { right: 0; }

@media (max-width: 900px) {
    .prefooter-nav { padding: 3.5rem var(--gutter, 1.25rem) 3rem; }
    .prefooter-nav__inner { grid-template-columns: 1fr; gap: 2.5rem; }

/* =============================================================================
 * "Qué es DAMA" · Lead + cuerpo editorial
 * ========================================================================== */
.home-que-es__lead {
    font-family: var(--font-serif, "Fraunces", Georgia, serif);
    font-weight: 300;
    font-size: clamp(1.35rem, 1.6vw, 1.65rem);
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--ink, #111);
    max-width: 38ch;
    margin: 1.25rem 0 1.75rem;
    text-wrap: balance;
}
.home-que-es__body {
    max-width: 55ch;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(var(--ink-rgb, 10,10,10), 0.82);
}
.home-que-es__body p {
    margin: 0 0 1.1em;
}
.home-que-es__body p:last-child { margin-bottom: 0; }
.home-que-es__body strong { color: var(--ink, #111); font-weight: 500; }
.home-que-es__body em { font-style: italic; }
.home-que-es__body a {
    color: var(--ink, #111);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    transition: opacity 0.2s ease;
}
.home-que-es__body a:hover { opacity: 0.7; }
.home-que-es__body ul, .home-que-es__body ol { margin: 0 0 1.1em 1.25em; padding: 0; }
.home-que-es__body li { margin: 0 0 0.4em; }

/* Separador sutil entre lead y body para reforzar la jerarquía */
.home-que-es__lead + .home-que-es__body {
    padding-top: 1.25rem;
    border-top: 1px solid rgba(var(--ink-rgb, 10,10,10), 0.12);
}

@media (max-width: 768px) {
    .home-que-es__lead { font-size: 1.2rem; margin: 1rem 0 1.25rem; }
    .home-que-es__body { font-size: 1rem; }
}

/* Datos destacados (stats row) */
.home-que-es__stats {
    list-style: none;
    margin: 2.5rem 0 0;
    padding: 2rem 0 0;
    border-top: 1px solid rgba(var(--ink-rgb, 10,10,10), 0.12);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 2rem;
}
.home-que-es__stat {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}
.home-que-es__stat-value {
    font-size: clamp(2rem, 3.2vw, 2.85rem);
    line-height: 1;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--ink, #0a0a0a);
}
.home-que-es__stat-label {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(var(--ink-rgb, 10,10,10), 0.55);
    line-height: 1.3;
}
@media (max-width: 640px) {
    .home-que-es__stats { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; padding-top: 1.5rem; }
    .home-que-es__stat { flex-direction: row; align-items: baseline; gap: 0.9rem; }
    .home-que-es__stat-value { font-size: 1.85rem; }
    .home-que-es__stat-label { font-size: 10.5px; }
}

    .prefooter-nav__title { margin-bottom: 1.25rem; font-size: 1.65rem; }
}

/* =============================================================================
 * Página Equipo · /equipo/
 * ========================================================================== */
.page-equipo { background: var(--paper, #f7f5f0); color: var(--ink, #0a0a0a); }
.equipo-hero { border-bottom: 1px solid var(--hairline, rgba(0,0,0,0.12)); }
.equipo-hero__title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: -0.025em;
    margin: 1rem 0 1.5rem;
    text-wrap: balance;
    max-width: 22ch;
}
.equipo-hero__lead {
    max-width: 70ch;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(var(--ink-rgb, 10,10,10), 0.78);
}
.equipo-hero__lead p { margin: 0 0 1em; }
.equipo-hero__lead p:last-child { margin-bottom: 0; }

.equipo-group { border-bottom: 1px solid var(--hairline, rgba(0,0,0,0.08)); }
.equipo-group:last-child { border-bottom: 0; }
.equipo-group__header { margin-bottom: 3rem; max-width: 60ch; }
.equipo-group__title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 0.75rem 0 0.75rem;
}
.equipo-group__desc {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(var(--ink-rgb, 10,10,10), 0.7);
}

/* Destacados (presidencia, dirección general...) */
.equipo-destacados {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--hairline, rgba(0,0,0,0.08));
}
.equipo-card--featured .equipo-card__photo {
    aspect-ratio: 3/4;
    background: rgba(0,0,0,0.05);
    overflow: hidden;
}
.equipo-card--featured .equipo-card__cargo {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(var(--ink-rgb, 10,10,10), 0.55);
    margin-bottom: 0.5rem;
}
.equipo-card--featured .equipo-card__name {
    font-size: clamp(1.5rem, 2.2vw, 1.85rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0 0 1rem;
}
.equipo-card--featured .equipo-card__bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(var(--ink-rgb, 10,10,10), 0.75);
    max-width: 45ch;
}
.equipo-card--featured .equipo-card__bio p { margin: 0 0 0.8em; }

/* Grid normal del resto del equipo */
.equipo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem 2rem;
}
.equipo-card { min-width: 0; }
.equipo-card__photo {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: rgba(0,0,0,0.05);
    margin-bottom: 1rem;
}
.equipo-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.4s ease, transform 0.6s ease;
}
.equipo-card:hover .equipo-card__photo img { filter: grayscale(0%); transform: scale(1.02); }
.equipo-card__body { display: flex; flex-direction: column; gap: 0.3rem; }
.equipo-card__name {
    font-size: 1.1rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0;
    font-weight: 400;
}
.equipo-card__cargo {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(var(--ink-rgb, 10,10,10), 0.55);
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .equipo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .equipo-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.25rem; }
    .equipo-destacados { gap: 2rem; padding-bottom: 2rem; margin-bottom: 2.5rem; }
}
@media (max-width: 480px) {
    .equipo-grid { grid-template-columns: 1fr 1fr; }
}


/* =============================================================================
 * Página Sala de Prensa · /sala-de-prensa/
 * ========================================================================== */
.page-prensa { background: var(--paper, #f7f5f0); color: var(--ink, #0a0a0a); }
.prensa-hero { border-bottom: 1px solid var(--hairline, rgba(0,0,0,0.12)); }
.prensa-hero__title { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 0.98; letter-spacing: -0.025em; margin: 1rem 0 1.5rem; max-width: 22ch; text-wrap: balance; }
.prensa-hero__lead { max-width: 70ch; font-size: 1.0625rem; line-height: 1.65; color: rgba(var(--ink-rgb, 10,10,10), 0.78); }

.prensa-contacto { background: var(--ink, #0a0a0a); color: var(--paper, #fff); padding: 5rem var(--gutter, 2rem); }
.prensa-contacto[data-skin="light"] { background: var(--paper, #f7f5f0); color: var(--ink, #0a0a0a); }
.prensa-contacto__inner { display: grid; grid-template-columns: 5fr 7fr; gap: 4rem; align-items: center; max-width: var(--container-max, 1400px); }
.prensa-contacto .kicker, .prensa-contacto__kicker { color: rgba(255,255,255,0.55); }
.prensa-contacto[data-skin="light"] .kicker, .prensa-contacto[data-skin="light"] .prensa-contacto__kicker { color: rgba(var(--ink-rgb,10,10,10),0.55); }
.prensa-contacto__title { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; margin: 1rem 0 0; letter-spacing: -0.025em; font-weight: 300; }
.prensa-contacto__col--info { display: flex; flex-direction: column; gap: 0.85rem; align-items: flex-start; }
.prensa-contacto__person { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin: 0 0 0.4rem; }
.prensa-contacto[data-skin="light"] .prensa-contacto__person { color: rgba(var(--ink-rgb,10,10,10),0.55); }
.prensa-contacto__link { font-family: var(--font-serif, "Fraunces", serif); font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.15; color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; transition: opacity 0.25s, border-color 0.25s; padding-bottom: 0.15rem; }
.prensa-contacto__link:hover { opacity: 0.7; }
.prensa-contacto__link--phone { font-size: clamp(1.3rem, 2.2vw, 1.8rem); opacity: 0.85; }

.prensa-descargas__header { margin-bottom: 2.5rem; max-width: 60ch; }
.prensa-descargas__title { font-size: clamp(2rem, 3vw, 2.5rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0.5rem 0 0; }
.prensa-descargas__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.prensa-descarga { display: flex; flex-direction: column; gap: 0.8rem; padding: 2rem 1.5rem 1.5rem; border: 1px solid var(--hairline, rgba(0,0,0,0.12)); color: var(--ink, #0a0a0a); text-decoration: none; transition: background 0.25s, transform 0.25s; min-height: 220px; }
.prensa-descarga:hover { background: var(--ink, #0a0a0a); color: var(--paper, #fff); transform: translateY(-2px); }
.prensa-descarga:hover .prensa-descarga__ext, .prensa-descarga:hover .prensa-descarga__desc { color: rgba(255,255,255,0.65); }
.prensa-descarga__meta { display: flex; justify-content: space-between; align-items: center; }
.prensa-descarga__ext { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(var(--ink-rgb,10,10,10),0.5); }
.prensa-descarga__title { font-size: 1.3rem; line-height: 1.15; margin: 0; letter-spacing: -0.01em; flex: 1; }
.prensa-descarga__desc { font-size: 0.85rem; line-height: 1.5; color: rgba(var(--ink-rgb,10,10,10),0.65); margin: 0; }
.prensa-descarga__cta { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; margin-top: auto; }

.prensa-notas__header { display: flex; justify-content: space-between; align-items: end; margin-bottom: 2.5rem; gap: 2rem; flex-wrap: wrap; }
.prensa-notas__title { font-size: clamp(2rem, 3vw, 2.5rem); margin: 0.5rem 0 0; letter-spacing: -0.02em; }
.prensa-notas__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.prensa-nota { border-top: 1px solid var(--hairline, rgba(0,0,0,0.12)); }
.prensa-nota:last-child { border-bottom: 1px solid var(--hairline, rgba(0,0,0,0.12)); }
.prensa-nota__link { display: grid; grid-template-columns: 1fr 4fr 1fr; gap: 2rem; padding: 1.75rem 0; text-decoration: none; color: var(--ink, #0a0a0a); align-items: baseline; transition: opacity 0.2s; }
.prensa-nota__link:hover { opacity: 0.7; }
.prensa-nota__date { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(var(--ink-rgb,10,10,10),0.55); }
.prensa-nota__title { font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.15; margin: 0; letter-spacing: -0.01em; font-weight: 400; }
.prensa-nota__cta { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; text-align: right; color: rgba(var(--ink-rgb,10,10,10),0.55); }

@media (max-width: 900px) {
    .prensa-contacto { padding: 3rem var(--gutter, 1.25rem); }
    .prensa-contacto__inner { grid-template-columns: 1fr; gap: 2rem; }
    .prensa-descargas__grid { grid-template-columns: 1fr 1fr; }
    .prensa-nota__link { grid-template-columns: 1fr; gap: 0.4rem; padding: 1.25rem 0; }
}
@media (max-width: 520px) {
    .prensa-descargas__grid { grid-template-columns: 1fr; }
}

/* =============================================================================
 * Página El Foco está en ti · /foco-esta-en-ti/
 * ========================================================================== */
.page-foco { background: var(--paper, #f7f5f0); color: var(--ink, #0a0a0a); overflow-x: hidden; }
.foco-hero { border-bottom: 1px solid var(--hairline, rgba(0,0,0,0.12)); }
.foco-hero__inner { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.foco-hero__kicker { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(var(--ink-rgb,10,10,10),0.55); }
.foco-hero__title { font-size: clamp(3rem, 9vw, 8rem); line-height: 0.92; letter-spacing: -0.04em; margin: 0; font-weight: 300; text-wrap: balance; }
.foco-hero__rule { border: 0; height: 1px; background: var(--ink, #0a0a0a); margin: 0; width: 6rem; }
.foco-hero__lead { font-family: var(--font-serif, "Fraunces", serif); font-weight: 300; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.3; max-width: 28ch; margin: 0; color: var(--ink, #0a0a0a); }

.foco-section { position: relative; padding: 3rem 0 0; }
.foco-section--s2 { background: var(--ink, #0a0a0a); color: var(--paper, #fff); margin-top: 4rem; }
.foco-section--s2 .foco-card__num { color: rgba(255,255,255,0.4); }
.foco-section--s2 .foco-card__body { color: rgba(255,255,255,0.75); }
.foco-section--s2 .foco-marquee__item { color: rgba(255,255,255,0.85); }

.foco-marquee { overflow: hidden; padding: 1.5rem 0; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; opacity: 0.18; }
.foco-section--s2 .foco-marquee { opacity: 0.25; }
.foco-marquee__track { display: flex; gap: 2.5rem; animation: foco-marquee 30s linear infinite; white-space: nowrap; will-change: transform; }
.foco-marquee__item { font-size: clamp(2rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.02em; flex-shrink: 0; }
@keyframes foco-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.foco-section__title { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; margin: 0 0 3rem; letter-spacing: -0.02em; max-width: 32ch; }
.foco-cards { display: flex; flex-direction: column; gap: 0; }
.foco-card { display: grid; grid-template-columns: 1fr 7fr; gap: 3rem; padding: 3rem 0; border-top: 1px solid currentColor; opacity: 1; }
.foco-section--s2 .foco-card { border-color: rgba(255,255,255,0.15); }
.foco-card:last-child { border-bottom: 1px solid currentColor; }
.foco-section--s2 .foco-card:last-child { border-bottom-color: rgba(255,255,255,0.15); }
.foco-card__num { font-family: var(--font-serif, "Fraunces", serif); font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1; color: rgba(var(--ink-rgb,10,10,10),0.35); font-weight: 300; }
.foco-card__content { display: flex; flex-direction: column; gap: 1.25rem; max-width: 60ch; }
.foco-card__title { font-size: clamp(1.5rem, 2.5vw, 2.25rem); line-height: 1.12; letter-spacing: -0.015em; margin: 0; font-weight: 400; }
.foco-card__body { font-size: 1.0625rem; line-height: 1.65; color: rgba(var(--ink-rgb,10,10,10),0.78); }
.foco-card__body p { margin: 0 0 0.9em; }
.foco-card__body p:last-child { margin-bottom: 0; }

.foco-descargas__title { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0.5rem 0 2.5rem; max-width: 30ch; }
.foco-descargas__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.foco-descarga { display: flex; flex-direction: column; gap: 0.6rem; padding: 2rem 1.5rem; border: 1px solid var(--hairline, rgba(0,0,0,0.12)); text-decoration: none; color: var(--ink, #0a0a0a); transition: background 0.25s, color 0.25s; }
.foco-descarga:hover { background: var(--ink, #0a0a0a); color: var(--paper, #fff); }
.foco-descarga__title { font-size: 1.35rem; line-height: 1.15; margin: 0; }
.foco-descarga__desc { font-size: 0.9rem; line-height: 1.55; opacity: 0.7; margin: 0; }
.foco-descarga__cta { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; margin-top: 0.8rem; }

@media (max-width: 768px) {
    .foco-card { grid-template-columns: 1fr; gap: 1rem; padding: 2rem 0; }
    .foco-section--s2 { margin-top: 2rem; }
}


/* =============================================================================
 * Footer · Bloque "El Foco está en ti"
 * ========================================================================== */
.footer-foco {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 2.5rem;
    padding: 1.5rem 1.25rem;
    background: var(--ink, #0a0a0a);
    color: #fff;
    text-decoration: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    width: 100%;
    max-width: 360px;
}
.footer-foco:hover { opacity: 0.85; transform: translateY(-2px); }
.footer-foco__title {
    font-family: var(--font-display, "Anton", "Bebas Neue", "Impact", sans-serif);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #fff;
}
/* Fallback elegante: si no carga Anton, usar serif gruesa */
.footer-foco__title { font-family: "Anton", "Bebas Neue", "Oswald", "Impact", "Arial Narrow Bold", sans-serif; }
.footer-foco__logos {
    display: block;
    width: 100%;
    height: auto;
    max-width: 320px;
}

@media (max-width: 768px) {
    .footer-foco { max-width: 100%; }
}

/* Footer copyright tipografía */
.footer-copyright {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(var(--ink-rgb,10,10,10),0.55);
}


/* =============================================================================
 * Servicios a socios · Fondo personalizado (color sólido o degradado)
 * Cuando hay bg custom, las cards se vuelven semi-transparentes para que el
 * fondo respire y el texto hereda el color del contenedor.
 * ========================================================================== */
.home-servicios--custom-bg .servicios-grid {
    border-color: rgba(255,255,255,0.12);
}
.home-servicios--custom-bg .servicio-card {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.12);
    color: inherit;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.home-servicios--custom-bg .servicio-card h3,
.home-servicios--custom-bg .servicio-card p,
.home-servicios--custom-bg .servicio-card .kicker,
.home-servicios--custom-bg .servicio-card__cta { color: inherit; }
.home-servicios--custom-bg .servicio-card .kicker,
.home-servicios--custom-bg .servicio-card p { opacity: 0.78; }
.home-servicios--custom-bg .servicio-card:hover {
    background: rgba(255,255,255,0.12);
    color: inherit;
}
.home-servicios--custom-bg .servicio-card:hover .kicker,
.home-servicios--custom-bg .servicio-card:hover p { opacity: 0.95; }

/* Sutil animación del degradado (≤ 18s, casi imperceptible) sin ser intrusiva */
.home-servicios--gradient {
    background-size: 200% 200%;
    animation: dama-grad-shift 18s ease-in-out infinite alternate;
}
@keyframes dama-grad-shift {
    0%   { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* Si el usuario tiene reduced-motion activado, no animar */
@media (prefers-reduced-motion: reduce) {
    .home-servicios--gradient { animation: none; }
}


/* =============================================================================
 * Sistema reutilizable · Hover personalizado (Light/Dark/Sólido/Degradado)
 *
 * Para activar en cualquier bloque con cards:
 *  1. Añadir clase .has-hover-custom al contenedor (lo hace dama_hover_styles).
 *  2. Las variables --dama-hover-bg y --dama-hover-text se inyectan inline.
 *  3. La regla CSS aplica al hover de las cards-objetivo.
 *
 * Cards soportadas: .servicio-card, .video-card, .news-card, .event-card,
 * .equipo-card, .prensa-descarga, .conv-card, .dc-card, .salas-card.
 * Para extender a otros, añadir el selector aquí.
 * =========================================================================== */
.has-hover-custom .servicio-card,
.has-hover-custom .video-card,
.has-hover-custom .dama-vcard,
.has-hover-custom .news-card,
.has-hover-custom .event-card,
.has-hover-custom .equipo-card,
.has-hover-custom .prensa-descarga,
.has-hover-custom .conv-card,
.has-hover-custom .dc-card,
.has-hover-custom .sala,
.has-hover-custom .salas-card {
    --dama-hover-text: var(--paper, #f7f5f0);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.35s ease, background 0.35s ease;
}
.has-hover-custom .servicio-card::before,
.has-hover-custom .video-card::before,
.has-hover-custom .dama-vcard::before,
.has-hover-custom .news-card::before,
.has-hover-custom .event-card::before,
.has-hover-custom .equipo-card::before,
.has-hover-custom .prensa-descarga::before,
.has-hover-custom .conv-card::before,
.has-hover-custom .dc-card::before,
.has-hover-custom .sala::before,
.has-hover-custom .salas-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--dama-hover-bg, var(--ink, #0a0a0a));
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}
.has-hover-custom .servicio-card > *,
.has-hover-custom .video-card > *,
.has-hover-custom .dama-vcard > *,
.has-hover-custom .news-card > *,
.has-hover-custom .event-card > *,
.has-hover-custom .equipo-card > *,
.has-hover-custom .prensa-descarga > *,
.has-hover-custom .conv-card > *,
.has-hover-custom .dc-card > *,
.has-hover-custom .sala > *,
.has-hover-custom .salas-card > * { position: relative; z-index: 1; }

.has-hover-custom .servicio-card:hover,
.has-hover-custom .video-card:hover,
.has-hover-custom .dama-vcard:hover,
.has-hover-custom .news-card:hover,
.has-hover-custom .event-card:hover,
.has-hover-custom .equipo-card:hover,
.has-hover-custom .prensa-descarga:hover,
.has-hover-custom .conv-card:hover,
.has-hover-custom .dc-card:hover,
.has-hover-custom .sala:hover,
.has-hover-custom .salas-card:hover {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: var(--dama-hover-text) !important;
}
.has-hover-custom .servicio-card:hover *,
.has-hover-custom .video-card:hover *,
.has-hover-custom .dama-vcard:hover *,
.has-hover-custom .news-card:hover *,
.has-hover-custom .event-card:hover *,
.has-hover-custom .equipo-card:hover *,
.has-hover-custom .prensa-descarga:hover *,
.has-hover-custom .conv-card:hover *,
.has-hover-custom .dc-card:hover *,
.has-hover-custom .sala:hover *,
.has-hover-custom .salas-card:hover * { color: var(--dama-hover-text) !important; }

.has-hover-custom .servicio-card:hover::before,
.has-hover-custom .video-card:hover::before,
.has-hover-custom .dama-vcard:hover::before,
.has-hover-custom .news-card:hover::before,
.has-hover-custom .event-card:hover::before,
.has-hover-custom .equipo-card:hover::before,
.has-hover-custom .prensa-descarga:hover::before,
.has-hover-custom .conv-card:hover::before,
.has-hover-custom .dc-card:hover::before,
.has-hover-custom .sala:hover::before,
.has-hover-custom .salas-card:hover::before { opacity: 1; }

/* Movimiento sutil cuando el hover es degradado */
.has-hover-custom--gradient .servicio-card::before,
.has-hover-custom--gradient .video-card::before,
.has-hover-custom--gradient .dama-vcard::before,
.has-hover-custom--gradient .news-card::before,
.has-hover-custom--gradient .event-card::before,
.has-hover-custom--gradient .equipo-card::before,
.has-hover-custom--gradient .prensa-descarga::before,
.has-hover-custom--gradient .conv-card::before,
.has-hover-custom--gradient .dc-card::before,
.has-hover-custom--gradient .sala::before,
.has-hover-custom--gradient .salas-card::before {
    animation: dama-hover-shift 6s ease-in-out infinite alternate;
    animation-play-state: paused;
}
.has-hover-custom--gradient .servicio-card:hover::before,
.has-hover-custom--gradient .video-card:hover::before,
.has-hover-custom--gradient .dama-vcard:hover::before,
.has-hover-custom--gradient .news-card:hover::before,
.has-hover-custom--gradient .event-card:hover::before,
.has-hover-custom--gradient .equipo-card:hover::before,
.has-hover-custom--gradient .prensa-descarga:hover::before,
.has-hover-custom--gradient .conv-card:hover::before,
.has-hover-custom--gradient .dc-card:hover::before,
.has-hover-custom--gradient .sala:hover::before,
.has-hover-custom--gradient .salas-card:hover::before {
    animation-play-state: running;
}
@keyframes dama-hover-shift {
    0%   { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .has-hover-custom--gradient .servicio-card::before { animation: none; }
}

