/* ══════════════════════════════════════════════════
   ACSI — Héroes de la Fe  |  style.css
══════════════════════════════════════════════════ */

/* ── Trajan Pro 3 ───────────────────────────────── */
@font-face {
    font-family: 'Trajan Pro 3';
    src: url('fonts/Trajan-Pro-3-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ── Gotham font family ─────────────────────────── */
@font-face {
    font-family: 'Gotham';
    src: url('fonts/GothamLight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: url('fonts/GothamLightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: url('fonts/GothamBook.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: url('fonts/GothamBookItalic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: url('fonts/GothamMedium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: url('fonts/GothamMediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: url('fonts/GothamBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gotham';
    src: url('fonts/GothamBoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* ══════════════════════════════════════════════════
   DESIGN TOKENS
══════════════════════════════════════════════════ */
:root {
    font-size: 14pt;

    /* ── Brand: Primary blue ─── */
    --primary:        #125884;
    --primary-dark:   #0d3f5e;
    --primary-rgb:    18, 88, 132;   /* for rgba() usage */

    /* ── Brand: Gold ─── */
    --gold:           #CFA25E;
    --gold-dark:      #a88730;       /* hover state for gold CTAs */
    --gold-light:     #e8c45a;

    /* ── Brand: Dark brown ─── */
    --dark-brown:     #4D2918;       /* ticket prices, labels */
    --dark-warm:      #4a3728;       /* FAQ body text, warm variant */

    /* ── Schedule panel ─── */
    --schedule:       #007EB0;       /* schedule card background */
    --sidebar-dark:   #2F485E;       /* schedule sidebar gradient top */
    --sidebar-mid:    #4D6F8A;       /* schedule sidebar gradient middle */
    --sidebar-light:  #3E6787;       /* schedule sidebar gradient bottom */

    /* ── Footer ─── */
    --footer-bg:      #0076BC;       /* footer background */

    /* ── Text scale ─── */
    --text:           #2d2d2d;
    --text-muted:     #666;
    --text-faint:     #777;          /* footer copyright */
    --text-subtle:    #aaa;          /* footer secondary links */
    --text-tertiary:  #ccc;          /* footer body, nav social icons at rest */

    /* ── Backgrounds ─── */
    --white:          #ffffff;
    --bg-light:       #f7f7f7;       /* alternating section backgrounds */
    --surface-alt:    #f2f2f2;       /* agenda tabs, slightly off-white */
    --surface-warm:   #f0eeeb;       /* FAQ answer panels */

    /* ── Borders ─── */
    --border:         #e0e0e0;
    --border-alt:     #ddd;          /* slightly stronger border (agenda tabs) */

    /* ── UI indicators ─── */
    --indicator:      #B4B4B4;       /* inactive badge background */
    --indicator-label:#F1F1F1;       /* text inside inactive badge */
    --disabled:       #a0a0a0;

    /* ── Shape tokens ─── */
    --radius:         10px;
    --box-radius:     35px;
    --nav-height:     66px;
}

/* ══════════════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text);
    background: var(--white);
}

h1, h2, h3, h4 { margin: 0; }

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

img { max-width: 100%; display: block; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ══════════════════════════════════════════════════
   SHARED SECTION TYPOGRAPHY
══════════════════════════════════════════════════ */
.seccion-pretitulo {
    font-style: italic;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text);
    margin: 0 0 1rem;
    text-align: center;
}

.seccion-titulo-grande {
    font-family: 'Trajan Pro 3', serif;
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--text);
    text-align: center;
    margin: 0 0 0.4rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.seccion-titulo-grande strong { color: var(--text); }

.seccion-subtitulo {
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
    width: 62%;
    margin: 0 auto 2.5rem;
}

/* ══════════════════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════════════════ */
.site-header {
    position: relative;
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: transparent;
    padding: 0.7rem 10rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.menu--scrolled {
    background: var(--primary);
}

.menu--hidden {
    transform: translateY(-100%);
}

.menu-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.menu-logo img {
    height: 110px;
    width: auto;
}

.menu-inner > .menu-items {
    margin-left: auto;
    margin-right: auto;
}

.menu-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

.menu-items li {
    display: flex;
    align-items: center;
}

.menu-items li + li::before {
    content: "|";
    color: rgba(255, 255, 255, 0.35);
    padding: 0 1rem;
    font-weight: 300;
}

.menu-items a {
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.menu-items a:hover { color: var(--gold-light); }

.menu-btn-comprar {
    background: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    transition: background 0.2s !important;
}

.menu-btn-comprar:hover { background: var(--primary-dark) !important; }

.menu-social {
    display: flex;
    gap: 1.5rem;
    margin-left: 1rem;
}

.menu-social a {
    color: var(--text-tertiary);
    font-size: 1.5rem;
    transition: color 0.2s;
}

.menu-social a:hover { color: var(--gold-light); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    margin-left: auto;
}

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hero {
    position: relative;
    isolation: isolate;
    min-height: 1000px;
    margin-top: calc(-1 * var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 5rem 1.5rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(var(--primary-rgb), 0.78) 20%,
        rgba(var(--primary-rgb), 0.5) 50%,
        rgba(var(--primary-rgb), 0) 80%
    );
    z-index: 1;
}

.event-logo {
    margin-bottom: 1.5rem;
}

.event-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 1280px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2.8rem;
}

.hero-text {
    max-width: 43rem;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-dates-wrapper {
    display: flex;
    align-items: center;
    gap: 0.63rem;
    margin: 0 0 1.12rem;
}

.hero-dates {
    font-family: 'Gotham', sans-serif;
    font-size: 1.33rem;
    font-weight: 500;
    font-style: italic;
    color: var(--white);
    margin: 0;
    background-color: var(--gold);
    display: inline-block;
    padding: 0.45em 1.2em;
    border-radius: 25px;
}

.hero-flc {
    height: 2em;
    width: auto;
}

.hero-title {
    font-family: 'Gotham', serif;
    font-size: clamp(2.36rem, 8.4vw, 2.5rem);
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 1.26rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-family: 'Gotham', sans-serif;
    font-size: 1.68rem;
    font-weight: lighter;
    color: var(--white);
    margin: 0 0 1.4rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.hero-verse {
    position: relative;
    z-index: 3;
    font-style: italic;
    font-size: 1.96rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin: -126px auto 0;
    padding: 2.8rem 15.4rem;
    text-align: center;
    max-width: 1540px;
    background-color: var(--primary);
    border-radius: 77px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-verse cite {
    display: block;
    font-style: normal;
    font-size: 1.33rem;
    font-weight: 600;
    color: var(--bg-light);
    margin-top: 0.56rem;
}

.hero-cta {
    display: inline-block;
    background: var(--bg-light);
    color: var(--dark-brown);
    border: 2px solid var(--white);
    padding: 1.12rem 3.08rem;
    border-radius: 25px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: background 0.2s, color 0.2s;
}

.hero-cta:hover {
    background: var(--dark-brown);
    color: var(--bg-light);
}

/* ══════════════════════════════════════════════════
   DESCRIPCIÓN DEL EVENTO
══════════════════════════════════════════════════ */
.seccion-descripcion {
    padding: 4.5rem 0;
    background: var(--bg-light);
    margin-top: -85px;
    padding-top: 135px;
}

.descripcion-cuerpo {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.97rem;
}

.descripcion-cuerpo p { margin: 0 0 1rem; }
.descripcion-cuerpo p:last-child { margin: 0; }

/* ══════════════════════════════════════════════════
   AGENDA
══════════════════════════════════════════════════ */
.seccion-agenda {
    padding: 5rem 0 4rem;
    background: var(--white);
}

.seccion-agenda .seccion-titulo-grande { font-size: 3.17rem; }
.seccion-agenda .seccion-subtitulo    { font-size: 1.32rem; }

/* Date tab strip */
.agenda-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    font-family: 'Gotham', sans-serif;
}

.agenda-tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem;
    border: 3px solid var(--border-alt);
    border-radius: 35px;
    background: var(--surface-alt);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s;
    width: 350px;
    height: 350px;
    overflow: hidden;
    gap: 0.15rem;
    font-family: 'Gotham', sans-serif;
    box-shadow: none;
    opacity: 0.55;
    transform: scale(0.88);
    transform-origin: center;
}

.agenda-tab .tab-month {
    font-family: 'Gotham', sans-serif;
    font-size: 1.98rem;
    font-weight: lighter;
    color: var(--text);
    letter-spacing: 0.02em;
    margin-bottom: 0.1rem;
}

.agenda-tab .tab-day {
    font-family: 'Gotham', sans-serif;
    font-size: 9.9rem;
    font-weight: 500;
    line-height: 0.8;
    color: var(--text);
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.agenda-tab .tab-pill {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: var(--primary-dark);
    border-radius: 22px;
    padding: 0.4rem 1.2rem;
    font-family: 'Gotham', sans-serif;
}

.agenda-tab .tab-label {
    font-size: 1.31rem;
    font-weight: normal;
    color: var(--white);
    line-height: 0.9;
}

.agenda-tab .tab-time {
    font-size: 1.15rem;
    font-weight: lighter;
    color: var(--white);
    line-height: 0.9;
}

.agenda-tab:hover {
    border-color: var(--primary-dark);
    opacity: 0.8;
    transform: scale(0.92);
}

.agenda-tab.active {
    background: var(--surface-alt);
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 1px var(--primary-dark);
    opacity: 1;
    transform: scale(1);
}

.agenda-tab.active::after {
    content: '+';
    position: absolute;
    bottom: 2rem;
    right: 2.5rem;
    width: 25px;
    height: 25px;
    background: var(--indicator);
    border-radius: 6px;
    font-size: 1.5rem;
    font-weight: 200;
    color: var(--indicator-label);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 20px;
    text-align: center;
}

.agenda-tab.active .tab-month,
.agenda-tab.active .tab-day {
    color: var(--text);
}

.agenda-tab.active .tab-pill {
    background: var(--primary-dark);
}

/* Schedule panels */
.schedule-panel {
    display: none;
    background: #263C51;
    border-radius: var(--box-radius);

    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
}

.schedule-panel.active { display: flex; }

.schedule-sidebar {
    width: 150px;
    min-width: 70px;
    background: linear-gradient(to bottom, #2F485E 0%, #4D6F8A 50%, #3E6787 100%);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 0;
}

.sidebar-brand {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: 'Trajan Pro 3', serif;
    font-size: 2rem;
    font-weight: 500;
    color: #fff;
}

.sidebar-tagline {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: 'Gotham', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.schedule-content {
    flex: 1;
    padding: 3.1rem 4rem;
    min-width: 0;
}

.schedule-day-title {
    font-size: 3.2rem;
    font-weight: 900;
    font-style: normal;
    color: #fff;
    margin-bottom: 0;
    line-height: 1.05;
    text-transform: uppercase;
    font-family: 'Gotham', sans-serif;
    letter-spacing: 0.02em;
}

.schedule-day-title span {
    display: block;
    font-style: normal;
    font-weight: 900;
    font-size: 3.2rem;
    color: #fff;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.05;
}

.schedule-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}

.schedule-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    gap: 0 2rem;
    padding: 0.85rem 0;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.schedule-item:first-child { border-top: none; }

.schedule-dot { display: none; }

.schedule-time {
    font-size: 1.08rem;
    font-weight: 700;
    color: #fff;
    text-align: right;
}

.schedule-info {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem;
}

.schedule-session {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    margin: 0;
}

.session-type {
    font-family: 'Gotham', sans-serif;
    font-size: 1.21rem;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.3;
}

.session-title {
    font-family: 'Gotham', sans-serif;
    font-size: 1.21rem;
    font-weight: normal;
    color: #fff;
    line-height: 1.3;
}

.schedule-speaker {
    font-family: 'Gotham', sans-serif;
    font-size: 1.06rem;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    text-align: right;
    white-space: nowrap;
}


/* ══════════════════════════════════════════════════
   CONFERENCISTAS
══════════════════════════════════════════════════ */
.seccion-conferencistas {
    padding: 5rem 0 4rem;
    background: var(--bg-light);
}

.seccion-conferencistas .seccion-titulo-grande { font-size: 3.17rem; }
.seccion-conferencistas .seccion-subtitulo     { font-size: 1.32rem; }

.conferencistas-cta-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.conferencistas-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-conferencistas-todos {
    width: 105%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    font-family: 'Gotham', sans-serif;
    font-size: 1rem;
    font-weight: lighter;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.btn-conferencistas-todos:hover {
    background: var(--primary);
    color: var(--white);
}

.card-conferencista {
    position: relative;
    display: block;
    width: 380px;
    height: 380px;
    border-radius: 22px 22px 0 0;
    overflow: hidden;
    text-decoration: none;
    transform: scale(0.88);
    transform-origin: center;
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.card-conferencista img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.card-conferencista__nombre {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10%;
    background: var(--primary-dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    font-family: 'Gotham', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: background 0.2s;
}

.card-conferencista:hover {
    opacity: 0.8;
    transform: scale(0.92);
}

.card-conferencista:hover .card-conferencista__nombre {
    background: var(--primary);
}

/* ══════════════════════════════════════════════════
   COMPRAR BOLETOS
══════════════════════════════════════════════════ */
.seccion-boletos {
    padding: 2rem 0;
    background: var(--white);
}

.boletos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin: 2rem 8rem;
}

.boleto {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--box-radius);
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
    text-align: center;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

.boleto-destacado {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.12);
}

.boleto-titulo {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--gold);
    margin: 0;
}

.boleto-precio-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    margin: 0.3rem 0;
}

.boleto-precio {
    font-size: 5rem;
    font-weight: 600;
    color: var(--dark-brown);
}

.boleto-moneda {
    font-size: 1.5rem;
    font-weight: lighter;
    font-style: italic;
    color: var(--dark-brown);
}

.boleto-descripcion {
    font-size: 0.8rem;
    color: var(--dark-brown);
    font-style: italic;
    margin: 0;
}

.boleto-lista {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
    flex: 1;
    text-align: center;
    line-height: 0.8;
}

.boleto-lista li {
    font-size: 0.88rem;
    color: var(--dark-brown);
    padding: 0.3rem 0;
    font-weight: 600;
}

.boleto-lista li:last-child { border-bottom: none; }

.boton-boleto {
    margin-top: auto;
    padding: 0.75rem 1.5rem;
    background: var(--primary-dark);
    color: var(--white);
    border: none;
    border-radius: 22px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
}

.boton-boleto:hover    { background: var(--gold-dark); }
.boton-boleto:disabled { background: var(--disabled); }

/* Pre-Conferencia secondary ticket */
.boleto-secundario {
    background: var(--white);
    border-radius: var(--box-radius);
    padding: 1.2rem 1.8rem;
    margin: 1.2rem 8rem;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

.boleto-secundario-inner {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.boleto-secundario-info { flex: 1; }

.boleto-secundario-label {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--gold);
    margin: 0.7rem 0 0;
}

.boleto-secundario-desc {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-brown);
    margin: 0.3rem 0 0.2rem;
    max-width: 390px;
}

.boleto-secundario-cupos {
    font-size: 0.78rem;
    font-style: italic;
    color: var(--dark-brown);
    margin: 1.9rem 0 0;
}

.boleto-secundario-accion {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.boleto-secundario-precio {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    white-space: nowrap;
}

.boton-secundario {
    width: auto;
    padding: 0.65rem 1.8rem;
    background: var(--primary-dark);
    white-space: nowrap;
}

.boton-secundario:hover { background: var(--disabled); }

/* ══════════════════════════════════════════════════
   GALERÍA
══════════════════════════════════════════════════ */
.seccion-galeria {
    padding: 5rem 0;
    background: var(--bg-light);
}

.galeria-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 2.5rem;
}

.galeria-track-container {
    overflow: hidden;
    width: 100%;
}

.galeria-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.galeria-slide {
    flex: 0 0 calc(33.333% - 0.67rem);
    aspect-ratio: 4 / 3;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
}

.galeria-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.galeria-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.3s ease;
}

.galeria-slide:hover img {
    transform: scale(1.04);
}

.galeria-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 4rem;
    line-height: 1;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    font-weight: 100;
}


.galeria-arrow--prev { left: 0; }
.galeria-arrow--next { right: 0; }

.galeria-cta-wrapper {
    margin-top: 1.2rem;
}

.btn-galeria-completa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    font-family: 'Gotham', sans-serif;
    font-size: 1rem;
    font-weight: lighter;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    box-sizing: border-box;
}

.btn-galeria-completa:hover {
    background: var(--primary);
    color: var(--white);
}

.galeria-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.galeria-modal.open {
    display: flex;
}

.galeria-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.galeria-modal-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.galeria-modal-content img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 16px;
    object-fit: contain;
    display: block;
}

.galeria-modal-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 768px) {
    .galeria-slide {
        flex: 0 0 78vw;
        border-radius: 12px;
    }

    .galeria-slide img {
        border-radius: 12px;
    }

    .galeria-track-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .galeria-track-container::-webkit-scrollbar {
        display: none;
    }

    .galeria-track {
        transition: none;
    }

    .galeria-slide {
        scroll-snap-align: start;
    }

    .galeria-arrow {
        display: none;
    }
}

/* ══════════════════════════════════════════════════
   PATROCINADORES
══════════════════════════════════════════════════ */
.seccion-patrocinadores {
    padding: 5rem 0;
    background: var(--white);
}

.patrocinadores-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem 2rem;
}

.patrocinador {
    display: flex;
    align-items: center;
    justify-content: center;
}

.patrocinador img {
    height: 54px;
    width: auto;
    object-fit: contain;
    filter: grayscale(30%);
    mix-blend-mode: multiply;
    transition: filter 0.2s, transform 0.2s;
}

.patrocinador img:hover {
    filter: grayscale(0%);
    transform: scale(1.06);
}

/* ══════════════════════════════════════════════════
   LUGAR DEL EVENTO
══════════════════════════════════════════════════ */
.seccion-lugar {
    padding: 5rem 0;
    background: var(--bg-light);
}

.lugar-direccion {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.97rem;
    margin: -1.5rem 0 1.5rem;
}

.mapa-contenedor {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

/* ══════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════ */
.seccion-faq {
    padding: 2rem 0;
    background: var(--white);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 0.6rem;
    position: relative;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
    background: none;
    border: none;
    border-radius: 2rem;
    font-family: 'Gotham', sans-serif;
    font-size: 1.2rem;
    font-weight: lighter;
    color: var(--white);
    text-align: left;
    cursor: pointer;
    transition: opacity 0.2s;
    position: relative;
    z-index: 1;
}

.faq-question:hover { opacity: 0.9; }

.faq-chevron {
    color: var(--white);
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: transform 0.25s;
}

.faq-question.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    background: var(--surface-warm);
    border-radius: 0 0 1rem 1rem;
    margin-top: -1.5rem;
    padding-top: 1.5rem;
}

.faq-answer p {
    padding: 0.6rem 1.5rem 1rem;
    margin: 0;
    color: var(--dark-warm);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.footer {
    background: var(--footer-bg);
    color: var(--text-tertiary);
    padding: 3.5rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
}

.footer-col p {
    font-size: 0.87rem;
    line-height: 1.7;
    margin: 0 0 0.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li { margin-bottom: 0.5rem; }

.footer-col ul a {
    font-size: 0.87rem;
    color: var(--text-subtle);
    transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--gold-light); }

.footer-logo {
    margin-top: 1rem;
    max-height: 50px;
    width: auto;
}

.footer-tarjeta {
    margin-top: 1.2rem;
    max-width: 150px;
    height: auto;
}

.footer-social-icons {
    display: flex;
    gap: 0.9rem;
    margin-bottom: 1.2rem;
}

.footer-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 0.85rem;
    transition: background 0.2s;
}

.footer-social-icons a:hover { background: var(--gold); }

.footer-copy {
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-faint);
}

.footer-copy a       { color: var(--text-faint); }
.footer-copy a:hover { color: var(--text-subtle); }

/* ══════════════════════════════════════════════════
   RESPONSIVE — tablet (≤ 768px)
══════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Nav */
    .menu {
        transform: translateY(-100%);
        transition: background 0.3s ease, transform 0.3s ease;
        padding: 0;
    }

    .menu--scrolled {
        transform: translateY(0);
        background: var(--primary);
        padding: 0.3rem 1rem;
    }

    .menu-logo img { height: 70px; width: auto; }

    .menu-inner { flex-wrap: wrap; gap: 0; padding: 0; }

    .menu-toggle { display: block; }

    .menu-social {
        display: none;
        order: 5;
        width: 100%;
        justify-content: flex-end;
        padding: 0.6rem 1.5rem 1rem;
        gap: 1rem;
        background: var(--primary);
    }

    .menu-social a { font-size: 1.8rem; }

    .menu-items.show ~ .menu-social { display: flex; }

    .menu-items {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        order: 4;
        gap: 0;
        background: var(--primary);
        padding: 0.5rem 0 1rem;
        margin-left: 0;
    }

    .menu-items.show  { display: flex; }
    .menu-items li    { padding: 0.5rem 1.5rem; }
    .menu-items li + li::before { content: none; }
    .menu-btn-comprar { border-radius: 0; padding: 0.5rem 0; }

    /* Hero */
    .hero { min-height: 420px; padding: 4rem 1.2rem; }

    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-text { align-items: center; }

    .hero-verse {
        font-size: 0.9rem;
        margin: 0;
        padding: 1.5rem;
        border-radius: 0;
        background-color: var(--bg-light);
        color: var(--text);
    }

    .hero-verse cite { color: var(--text-muted); }

    .event-logo img {
        width: 100%;
        height: auto;
        display: block;
        margin-top: 5rem;
    }

    .seccion-descripcion { margin-top: 0; padding-top: 0; }

    /* Section titles */
    .seccion-titulo-grande                  { font-size: 1.8rem; }
    .seccion-agenda .seccion-titulo-grande  { font-size: 2.38rem; }

    /* Conferencistas cards */
    .card-conferencista          { width: 150px; height: 200px; }
    .card-conferencista__nombre  { font-size: 0.65rem; height: 15%; }

    /* Agenda tabs */
    .agenda-tab                        { width: 110px; height: 110px; padding: 0.9rem; }
    .agenda-tab .tab-day               { font-size: 2.8rem; text-align: center; width: 100%; }
    .agenda-tab .tab-month             { font-size: 1rem; text-align: center; width: 100%; margin-bottom: 0.4rem; }
    .agenda-tab .tab-pill              { display: none; }
    .agenda-tab.active::after          { display: none; }
    .schedule-sidebar                  { display: none; }
    .schedule-content                  { padding: 1.6rem 1.2rem; }
    .schedule-day-title,
    .schedule-day-title span           { font-size: 2rem; }
    .schedule-item                     { grid-template-columns: 64px 1fr; }
    .schedule-info                     { flex-direction: column; align-items: flex-start; }
    .schedule-speaker                  { text-align: left; }

    /* Tickets */
    .boletos-grid           { grid-template-columns: 1fr; margin: 2rem 1.2rem; gap: 1.5rem; }
    .boleto                 { width: 100%; }
    .boleto-secundario      { margin: 0.8rem 1.2rem; }
    .boleto-secundario-inner    { flex-direction: column; align-items: flex-start; }
    .boleto-secundario-accion   { width: 100%; align-items: stretch; }
    .boton-secundario           { width: 100%; }

    /* Gallery */
    .galeria-grid { grid-template-columns: repeat(2, 1fr); }
    .galeria-grid .galeria-thumb:last-child { display: none; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — mobile (≤ 480px)
══════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .galeria-grid                               { grid-template-columns: 1fr 1fr; }
    .agenda-tabs                                { gap: 0.6rem; }
    .boletos-grid                               { margin: 1.5rem 0.8rem; }
    .boleto-secundario                          { margin: 0.6rem 0.8rem; }
    .seccion-titulo-grande                      { font-size: 1.45rem; }
    .seccion-agenda .seccion-titulo-grande,
    .seccion-conferencistas .seccion-titulo-grande { font-size: 1.7rem; }
}
