/* ================================================================
   MATZ GLOBAL ESPAÑA - Páginas internas
   Estilos compartidos por todas las páginas que no son home
   ================================================================ */

/* ============== PAGE HERO (cabecera reducida) ============== */
.page-hero {
    padding: 11rem 0 5rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at top right, rgba(251, 191, 36, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        var(--bg-primary);
    border-bottom: 1px solid var(--border);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(251, 191, 36, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(251, 191, 36, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--text-muted);
    transition: color 0.3s var(--ease);
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb-sep {
    color: var(--gold);
    font-weight: 700;
}

.breadcrumb-current {
    color: var(--gold);
    font-weight: 500;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.page-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ============== ACTIVE NAV LINK ============== */
.nav-link.is-active {
    color: var(--gold);
}

.nav-link.is-active::after {
    width: 100% !important;
}

/* ============== CONTENT BLOCKS ============== */
.content-block {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.content-block p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.content-block p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.content-block p .highlight-gold {
    color: var(--gold);
    font-weight: 600;
}

.content-block h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin: 3rem 0 1.5rem;
    color: var(--text-primary);
}

.content-block h4 {
    font-size: 1.25rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--gold);
    margin: 2rem 0 1rem;
    letter-spacing: 0.02em;
}

/* ============== BIG QUOTE / MANIFESTO ============== */
.manifesto {
    max-width: 1000px;
    margin: 5rem auto;
    padding: 4rem 3rem;
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.08) 0%, rgba(212, 175, 55, 0.02) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.manifesto::before {
    content: '"';
    position: absolute;
    top: -40px;
    left: 30px;
    font-family: var(--font-display);
    font-size: 15rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.15;
    pointer-events: none;
}

.manifesto-text {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.85rem);
    line-height: 1.5;
    color: var(--text-primary);
    font-style: italic;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.manifesto-cite {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-style: normal;
}

/* ============== INFO LIST (lo que nos define) ============== */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.info-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s var(--ease);
}

.info-list-item:hover {
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
    transform: translateX(6px);
}

.info-list-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-gold-soft);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    color: var(--gold);
    flex-shrink: 0;
    font-size: 1.5rem;
}

.info-list-icon svg {
    width: 22px;
    height: 22px;
}

.info-list-body h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.info-list-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ============== PILLARS (4 pilares: misión/valores) ============== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 4rem 0;
}

.pillar-card {
    padding: 2.5rem 2rem;
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.pillar-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
}

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

.pillar-card-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-gold-soft);
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    color: var(--gold);
    margin: 0 auto 1.5rem;
    transition: all 0.3s var(--ease);
}

.pillar-card:hover .pillar-card-icon {
    transform: rotate(-8deg) scale(1.08);
}

.pillar-card-icon svg {
    width: 32px;
    height: 32px;
}

.pillar-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: 0.03em;
}

.pillar-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ============== BIG STATEMENT (frases destacadas tipo poster) ============== */
.big-statement {
    text-align: center;
    padding: 5rem 2rem;
    margin: 4rem 0;
    background: var(--bg-secondary);
    border-radius: 28px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.big-statement::before,
.big-statement::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.big-statement::before {
    background: rgba(251, 191, 36, 0.25);
    top: -100px;
    left: -100px;
}

.big-statement::after {
    background: rgba(212, 175, 55, 0.15);
    bottom: -100px;
    right: -100px;
}

.big-statement-text {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin: 0 auto;
}

.big-statement-text .text-gold {
    display: inline-block;
}

/* ============== STEPS DETAIL (3 pasos clave del PDF) ============== */
.steps-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 4rem 0;
}

.step-detail-card {
    padding: 2.5rem 2rem;
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    position: relative;
    transition: all 0.4s var(--ease);
}

.step-detail-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold);
}

.step-detail-num {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.85;
}

.step-detail-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.step-detail-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.step-detail-card p strong {
    color: var(--gold);
    display: inline-block;
    margin-bottom: 0.25rem;
}

/* ============== WHAT-YOU-GAIN (¿Qué ganas tú?) ============== */
.gain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 4rem 0;
}

.gain-card {
    padding: 2.5rem 2rem;
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.4s var(--ease);
}

.gain-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
}

.gain-card-label {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: var(--grad-gold);
    color: var(--bg-primary);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.25rem;
}

.gain-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.gain-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============== EVENT TIMELINE / detalles eventos ============== */
.event-detail-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    padding: 2.5rem;
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    transition: all 0.4s var(--ease);
}

.event-detail-card:hover {
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
}

.event-detail-date {
    text-align: center;
    padding: 1.5rem;
    background: var(--grad-gold-soft);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    align-self: start;
}

.event-detail-day {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.event-detail-month {
    display: block;
    font-size: 0.85rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    margin-top: 0.5rem;
}

.event-detail-year {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

.event-detail-body h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.event-detail-body .event-detail-time {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    font-size: 0.8rem;
    color: var(--gold-light);
    font-weight: 500;
    margin-bottom: 1rem;
}

.event-detail-body p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.event-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.event-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.event-detail-meta svg {
    color: var(--gold);
}

/* ============== TESTIMONIAL DETAIL (página testimonios) ============== */
.testimonial-detail {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 950px;
    margin: 0 auto 2.5rem;
    padding: 3rem;
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    position: relative;
    transition: all 0.4s var(--ease);
}

.testimonial-detail::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-family: var(--font-display);
    font-size: 10rem;
    line-height: 1;
    color: var(--gold);
    opacity: 0.2;
    pointer-events: none;
}

.testimonial-detail:hover {
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
}

.testimonial-detail-text {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.65;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-detail-author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
}

.testimonial-detail-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--grad-gold);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.testimonial-detail-author h4 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.testimonial-detail-author span {
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 500;
}

/* ============== TEASER GRID (en home, enlaces a páginas) ============== */
.teasers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.teaser-card {
    padding: 2.5rem 2rem;
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    min-height: 280px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.teaser-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.teaser-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-card-hover);
}

.teaser-card:hover::after {
    transform: scaleX(1);
}

.teaser-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-gold-soft);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.teaser-card-icon svg {
    width: 28px;
    height: 28px;
}

.teaser-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.teaser-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1.5rem;
}

.teaser-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.3s var(--ease);
}

.teaser-card:hover .teaser-card-link {
    gap: 0.85rem;
}

.teaser-card-link svg {
    transition: transform 0.3s var(--ease);
}

/* ============== CTA INLINE ============== */
.cta-inline {
    max-width: 900px;
    margin: 5rem auto 0;
    padding: 3.5rem 3rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-inline::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 60%);
    border-radius: 50%;
}

.cta-inline > * {
    position: relative;
    z-index: 1;
}

.cta-inline h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 1rem;
}

.cta-inline p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-inline-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============== DIVERSIFY PILLS BIG ============== */
.diversify-big {
    text-align: center;
    margin: 4rem 0;
}

.diversify-big-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.diversify-big-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.diversify-big-pill {
    padding: 1rem 2rem;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: 999px;
    color: var(--gold-light);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s var(--ease);
}

.diversify-big-pill:hover {
    background: rgba(251, 191, 36, 0.18);
    transform: translateY(-4px);
    color: var(--text-primary);
}

/* ============== CONTACT GRID (página contacto completa) ============== */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-block h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info-block p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.contact-channels-vertical {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.social-grid-vertical {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

/* ============== IMAGE COMPONENTS ============== */

/* Imagen destacada grande con marco dorado */
.image-feature {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-gold);
}

.image-feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(5, 8, 22, 0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

.image-feature img {
    width: 100%;
    height: auto;
    display: block;
}

.image-feature-caption {
    position: absolute;
    bottom: 1.5rem;
    left: 2rem;
    right: 2rem;
    z-index: 2;
    color: var(--text-primary);
}

.image-feature-caption h4 {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-bottom: 0.35rem;
    color: var(--gold);
}

.image-feature-caption p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Imagen con marco simple (uso general) */
.image-frame {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: all 0.4s var(--ease);
}

.image-frame:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}

.image-frame:hover img {
    transform: scale(1.05);
}

/* Foto con etiqueta (region cards mejoradas) */
.region-photo-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease);
    cursor: pointer;
}

.region-photo-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-6px);
}

.region-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.region-photo-card:hover img {
    transform: scale(1.08);
}

.region-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(5, 8, 22, 0.55) 60%, rgba(5, 8, 22, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
    z-index: 1;
}

.region-photo-flag {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.region-photo-overlay h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.region-photo-overlay p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Galería tipo masonry */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-auto-rows: 240px;
    gap: 1rem;
    margin: 3rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.4s var(--ease);
    background: var(--bg-card);
}

.gallery-item:hover {
    border-color: var(--border-gold);
    transform: scale(1.02);
    z-index: 2;
    box-shadow: var(--shadow-card-hover);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(5, 8, 22, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay h5 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.gallery-item-overlay p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Tamaños especiales en gallery (masonry effect) */
.gallery-item-wide { grid-column: span 2; }
.gallery-item-tall { grid-row: span 2; }
.gallery-item-big {
    grid-column: span 2;
    grid-row: span 2;
}

/* Poster (para flyers verticales de eventos) */
.poster-frame {
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-card);
}

.poster-frame:hover {
    transform: translateY(-6px) rotate(-1deg);
    box-shadow: var(--shadow-gold-strong);
}

.poster-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Image + Text side-by-side */
.image-text-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 4rem 0;
}

.image-text-split.reverse {
    direction: rtl;
}

.image-text-split.reverse > * {
    direction: ltr;
}

.image-text-split .image-frame {
    aspect-ratio: 4 / 3;
}

/* Logos partners reales */
.partner-logo-img {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 8px;
    flex-shrink: 0;
    border: 1px solid var(--border-gold);
}

.partner-logo-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Pre-events poster strip */
.poster-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

/* Hero image (large featured image al inicio de página) */
.page-hero-image {
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-gold);
    box-shadow: 0 40px 100px -30px rgba(251, 191, 36, 0.3);
    aspect-ratio: 16 / 9;
}

.page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Banner image (full-width, gold accent) */
.banner-image {
    max-width: 1100px;
    margin: 4rem auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.banner-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive images */
@media (max-width: 768px) {
    .image-text-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .image-text-split.reverse {
        direction: ltr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-auto-rows: 180px;
    }

    .gallery-item-wide,
    .gallery-item-tall,
    .gallery-item-big {
        grid-column: span 1;
        grid-row: span 1;
    }

    .image-feature-caption {
        bottom: 1rem;
        left: 1.25rem;
        right: 1.25rem;
    }

    .page-hero-image {
        margin-top: 2rem;
    }
}

/* ============== RESPONSIVE PAGES ============== */
@media (max-width: 1024px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 9rem 0 4rem;
    }

    .manifesto {
        padding: 2.5rem 1.5rem;
        margin: 3rem auto;
    }

    .manifesto::before {
        font-size: 8rem;
        top: -20px;
    }

    .event-detail-card {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 1.25rem;
    }

    .event-detail-date {
        justify-self: start;
        padding: 1rem 1.25rem;
        display: inline-flex;
        align-items: baseline;
        gap: 0.75rem;
    }

    .event-detail-day {
        font-size: 2rem;
    }

    .testimonial-detail {
        padding: 2.5rem 1.75rem;
    }

    .big-statement {
        padding: 3.5rem 1.5rem;
    }

    .cta-inline {
        padding: 2.5rem 1.5rem;
    }

    .social-grid-vertical {
        grid-template-columns: 1fr;
    }

    .info-list-item {
        padding: 1.25rem 1.25rem;
    }
}
