:root {
    --blue: #0B3D91;
    --burgundy: #611232;
    --blue-dark: #081F45;
    --blue-mid: #123B73;
    --blue-soft: #EAF1FF;
    --gold: #D4AF37;
    --gold-soft: #FFF6D8;
    --white: #FFFFFF;
    --bg: #F5F7FB;
    --text: #172033;
    --muted: #667085;
    --border: #DFE7F2;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 112px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', Inter, system-ui, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

button, input, select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    text-decoration: none;
}

[hidden] {
    display: none !important;
}

.it-wrap {
    width: min(1190px, calc(100% - 48px));
    margin-inline: auto;
}

.it-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.it-skip {
    position: fixed;
    top: -80px;
    left: 20px;
    padding: 12px 16px;
    z-index: 2000;
    background: var(--gold);
    color: var(--blue-dark);
    border-radius: 12px;
    font-weight: 800;
}

    .it-skip:focus {
        top: 16px;
    }

.it-agenda button:focus-visible, .it-topbar a:focus-visible, .it-hero a:focus-visible, .it-back-top:focus-visible, .it-empty button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

/* CABECERA DE LA PÁGINA: opcional si ya usas un header institucional */
.it-topbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

.it-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
    gap: 24px;
}

.it-brand {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    color: var(--blue-dark);
}

.it-brand__mark {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 55px;
    height: 55px;
    border-radius: 15px;
    color: var(--white);
    background: linear-gradient(130deg, var(--blue-dark), var(--blue));
    font-family: Outfit, sans-serif;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.08em;
}

    .it-brand__mark span {
        color: var(--gold);
    }

.it-brand__name {
    font-size: 12px;
    line-height: 1.45;
    font-weight: 900;
    letter-spacing: .10em;
}

    .it-brand__name small {
        display: block;
        color: var(--muted);
        font-size: 10px;
        letter-spacing: .08em;
    }

.it-topbar__tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .07em;
}

    .it-topbar__tag .material-symbols-rounded {
        font-size: 19px;
        color: var(--burgundy);
    }

/* PORTADA */
.it-hero {
    isolation: isolate;
    position: relative;
    overflow: hidden;
    background: linear-gradient(115deg, var(--blue-dark) 0%, #0C2D60 58%, var(--blue-mid) 100%);
    color: var(--white);
    padding: 88px 0 0;
}

.it-hero__texture {
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    opacity: .42;
    background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: linear-gradient(90deg, transparent 10%, #000 90%);
}

.it-hero::before {
    content: '';
    pointer-events: none;
    position: absolute;
    z-index: -1;
    width: 740px;
    height: 740px;
    right: -260px;
    top: -230px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,175,55,.22), transparent 61%);
}

.it-hero__orb {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border: 1px solid rgba(212,175,55,.19);
    border-radius: 50%;
}

.it-hero__orb--a {
    width: 710px;
    height: 710px;
    right: -220px;
    top: -265px;
}

.it-hero__orb--b {
    width: 490px;
    height: 490px;
    right: -95px;
    top: -150px;
}

.it-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: center;
    gap: clamp(30px, 6vw, 92px);
    min-height: 410px;
}

.it-hero__copy {
    padding-bottom: 60px;
}

.it-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #E6D49B;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .21em;
}

.it-eyebrow__line {
    width: 28px;
    height: 2px;
    display: inline-block;
    background: var(--gold);
}

.it-hero h1 {
    font-family: Outfit, sans-serif;
    color: #fff;
    font-weight: 800;
    font-size: clamp(46px, 5.7vw, 78px);
    letter-spacing: -.057em;
    line-height: 1.045;
    margin: 25px 0 20px;
    max-width: 760px;
}

    .it-hero h1 span {
        color: var(--gold);
    }

.it-hero__copy > p {
    max-width: 550px;
    color: #D3DEEC;
    font-size: clamp(15px, 1.45vw, 18px);
    line-height: 1.83;
}

.it-hero__actions {
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.it-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 54px;
    padding: 0 23px;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 900;
    transition: transform .24s ease, box-shadow .24s ease;
}

    .it-btn:hover {
        transform: translateY(-3px);
    }

.it-btn--gold {
    color: var(--blue-dark);
    background: var(--gold);
    box-shadow: 0 12px 32px rgba(212,175,55,.15);
}

    .it-btn--gold:hover {
        box-shadow: 0 16px 35px rgba(212,175,55,.29);
    }

.it-btn .material-symbols-rounded {
    font-size: 21px;
}

.it-hero__dates {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #E2E9F5;
    font-size: 13px;
    font-weight: 650;
}

    .it-hero__dates .material-symbols-rounded {
        color: var(--gold);
        font-size: 20px;
    }

/* BLOQUE EDITORIAL DE FECHAS */
.it-hero__visual {
    position: relative;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 35px;
    border: 1px solid rgba(255,255,255,.19);
    border-radius: 28px 28px 0 0;
    background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.035));
    backdrop-filter: blur(12px);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,.11);
}

    .it-hero__visual::before {
        content: '';
        position: absolute;
        width: 240px;
        height: 240px;
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 50%;
        right: -110px;
        bottom: -110px;
        box-shadow: 0 0 0 45px rgba(255,255,255,.018), 0 0 0 90px rgba(255,255,255,.017);
    }

.it-hero__visual-label {
    color: #DDD5B3;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .22em;
}

.it-hero__visual-main {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 17px 0 9px;
    white-space: nowrap;
}

    .it-hero__visual-main span {
        font-family: Outfit, sans-serif;
        font-size: clamp(88px, 10.5vw, 150px);
        line-height: .95;
        font-weight: 700;
        letter-spacing: -.09em;
    }

    .it-hero__visual-main i {
        display: block;
        width: clamp(18px, 3vw, 42px);
        height: 4px;
        background: var(--gold);
        transform: rotate(-35deg);
        border-radius: 2px;
    }

    .it-hero__visual-main span:last-child {
        color: var(--gold);
    }

.it-hero__visual-foot {
    color: #F3F5FA;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

    .it-hero__visual-foot span {
        margin-inline: 16px;
        color: var(--gold);
    }

.it-hero__visual-side {
    position: absolute;
    bottom: 28px;
    right: 25px;
    writing-mode: vertical-rl;
    font-size: 8px;
    color: rgba(255,255,255,.38);
    letter-spacing: .14em;
}

.it-hero__stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    border-top: 1px solid rgba(255,255,255,.16);
}

    .it-hero__stats > div {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 27px 22px 29px;
    }

        .it-hero__stats > div + div {
            border-left: 1px solid rgba(255,255,255,.15);
        }

    .it-hero__stats .material-symbols-rounded {
        font-size: 26px;
        color: var(--gold);
    }

    .it-hero__stats strong {
        font-family: Outfit, sans-serif;
        font-size: 37px;
        font-weight: 700;
        line-height: 1;
        letter-spacing: -.045em;
    }

    .it-hero__stats small {
        max-width: 170px;
        color: #D5E0F1;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .09em;
        line-height: 1.55;
    }

/* PROGRAMA */
.it-agenda {
    padding: 91px 0 100px;
    background: radial-gradient(circle at 8% 14%, rgba(212,175,55,.075), transparent 28%), var(--bg);
}

.it-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 26px;
    margin-bottom: 32px;
}

.it-section-kicker {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-size: 11px;
    font-weight: 900;
    color: var(--burgundy);
    letter-spacing: .16em;
}

.it-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--burgundy);
}

.it-section-head h2 {
    color: var(--blue-dark);
    font-family: Outfit, sans-serif;
    font-size: clamp(36px, 4.4vw, 58px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.052em;
    margin: 12px 0 10px;
}

    .it-section-head h2 em {
        font-style: normal;
        color: var(--blue);
    }

.it-section-head p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.it-print {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 13px 17px;
    background: #fff;
    color: var(--blue-dark);
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 800;
    transition: transform .2s ease, border-color .2s ease;
}

    .it-print:hover {
        transform: translateY(-2px);
        border-color: var(--blue);
    }

    .it-print .material-symbols-rounded {
        font-size: 20px;
        color: var(--blue);
    }

/* FILTROS Y PESTAÑAS */
.it-controls {
    background: #fff;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 12px 38px rgba(8,31,69,.055);
}

.it-days {
    display: grid;
    grid-template-columns: 1.32fr 1fr 1fr 1fr;
    gap: 10px;
}

.it-day-tab {
    background: #F4F7FC;
    border: 1px solid transparent;
    text-align: left;
    border-radius: 15px;
    min-width: 0;
    min-height: 75px;
    padding: 16px 18px;
    color: var(--blue-dark);
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

    .it-day-tab:hover {
        background: var(--blue-soft);
        transform: translateY(-2px);
    }

    .it-day-tab.is-active {
        background: var(--blue-dark);
        color: #fff;
        box-shadow: 0 9px 20px rgba(8,31,69,.15);
    }

.it-day-tab__small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .15em;
    margin-bottom: 6px;
}

.it-day-tab strong {
    display: block;
    font-family: Outfit, sans-serif;
    font-size: clamp(14px, 1.5vw, 18px);
    letter-spacing: -.02em;
}

.it-day-tab.is-active .it-day-tab__small {
    color: var(--gold);
}

.it-controls__tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 12px;
    padding: 14px 2px 0;
}

.it-search, .it-select {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    border-radius: 13px;
    background: #F8FAFD;
    border: 1px solid var(--border);
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .it-search:focus-within, .it-select:focus-within {
        border-color: var(--blue);
        box-shadow: 0 0 0 3px rgba(11,61,145,.10);
    }

    .it-search > .material-symbols-rounded {
        margin-left: 13px;
        color: var(--blue);
        font-size: 21px;
    }

    .it-search input {
        border: 0;
        outline: 0;
        width: 100%;
        min-width: 0;
        height: 46px;
        padding: 0 12px;
        background: transparent;
        color: var(--text);
        font-size: 13px;
    }

        .it-search input::placeholder {
            color: var(--muted);
        }

    .it-select select {
        appearance: none;
        border: 0;
        outline: 0;
        width: 100%;
        height: 46px;
        padding: 0 39px 0 15px;
        color: var(--blue-dark);
        background: transparent;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
    }

    .it-select > .material-symbols-rounded {
        position: absolute;
        pointer-events: none;
        right: 12px;
        color: var(--blue);
    }

.it-result-bar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    padding: 23px 4px 13px;
}

    .it-result-bar > span:first-child {
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }

    .it-result-bar .material-symbols-rounded {
        font-size: 19px;
        color: var(--blue);
    }

    .it-result-bar strong {
        color: var(--blue-dark);
    }

/* CADA DÍA */
.it-day-group {
    margin-top: 26px;
}

    .it-day-group + .it-day-group {
        margin-top: 70px;
    }

.it-day-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 27px;
    padding: 0 4px;
}

.it-day-heading__date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 0 0 77px;
    height: 84px;
    border-radius: 17px;
    background: var(--blue-dark);
    color: #fff;
    box-shadow: 0 12px 27px rgba(8,31,69,.15);
}

    .it-day-heading__date strong {
        font-family: Outfit, sans-serif;
        font-size: 38px;
        line-height: 1;
        font-weight: 700;
        letter-spacing: -.08em;
    }

    .it-day-heading__date span {
        font-size: 10px;
        font-weight: 900;
        letter-spacing: .2em;
        color: var(--gold);
        margin-top: 6px;
    }

.it-day-heading__copy > span {
    color: var(--burgundy);
    font-size: 11px;
    letter-spacing: .13em;
    font-weight: 900;
}

.it-day-heading__copy h3 {
    font-family: Outfit, sans-serif;
    color: var(--blue-dark);
    margin: 3px 0;
    font-size: clamp(26px, 3vw, 37px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.04em;
}

.it-day-heading__copy p {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.it-day-heading__meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 30px;
    color: var(--blue);
    padding: 9px 13px;
    font-size: 11px;
    font-weight: 800;
    margin-left: auto;
    white-space: nowrap;
}

/* LÍNEA DE TIEMPO */
.it-timeline {
    list-style: none;
    margin: 0;
    padding: 2px 0 1px;
    position: relative;
}

    .it-timeline::before {
        content: '';
        position: absolute;
        top: 28px;
        bottom: 30px;
        left: 136px;
        width: 2px;
        background: linear-gradient(var(--gold), rgba(11,61,145,.12));
    }

.it-event {
    position: relative;
    display: grid;
    grid-template-columns: 108px minmax(0,1fr);
    gap: 50px;
    align-items: stretch;
    margin-bottom: 13px;
}

    .it-event:last-child {
        margin-bottom: 0;
    }

    .it-event::before {
        content: '';
        position: absolute;
        z-index: 1;
        top: 38px;
        left: 130px;
        width: 14px;
        height: 14px;
        border: 4px solid var(--blue);
        border-radius: 50%;
        background: var(--white);
        box-shadow: 0 0 0 6px var(--bg);
    }

.it-event__time {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-top: 31px;
}

    .it-event__time span {
        color: var(--blue-dark);
        font-family: Outfit, sans-serif;
        font-size: 21px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: -.045em;
        font-variant-numeric: tabular-nums;
    }

    .it-event__time small {
        color: var(--muted);
        margin-top: 7px;
        font-size: 12px;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
    }

.it-event__card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 126px;
    padding: 23px 30px;
    border-radius: 19px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 10px 28px rgba(8,31,69,.035);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

    .it-event__card:hover {
        transform: translateX(5px);
        border-color: rgba(11,61,145,.28);
        box-shadow: 0 16px 35px rgba(8,31,69,.085);
    }

.it-event__card--featured {
    border-left: 4px solid var(--gold);
    padding-left: 27px;
    background: linear-gradient(110deg, #fff 60%, #FFFCF3 100%);
}

.it-event__card--break {
    background: #F0F4FA;
    border-style: dashed;
    box-shadow: none;
}

.it-event__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 15px;
    flex: 0 0 54px;
    color: var(--blue);
    background: var(--blue-soft);
}

    .it-event__icon .material-symbols-rounded {
        font-size: 27px;
    }

.it-event__card--featured .it-event__icon {
    background: var(--gold-soft);
    color: var(--burgundy);
}

.it-event__card--break .it-event__icon {
    background: #E0E8F3;
    color: var(--muted);
}

.it-event__body {
    min-width: 0;
    padding-right: 28px;
}

.it-event__category {
    display: block;
    text-transform: uppercase;
    color: var(--burgundy);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .135em;
    margin-bottom: 7px;
}

.it-event__body h4 {
    color: var(--blue-dark);
    font-family: Outfit, sans-serif;
    font-size: clamp(17px, 2vw, 21px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.017em;
    margin: 0 0 8px;
}

.it-event__duration {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--muted);
    font-weight: 700;
}

    .it-event__duration .material-symbols-rounded {
        font-size: 15px;
    }

.it-event__star {
    position: absolute;
    top: 22px;
    right: 24px;
    color: var(--gold);
}

    .it-event__star .material-symbols-rounded {
        font-size: 21px;
        font-variation-settings: 'FILL' 1;
    }

/* VACÍO Y CIERRE */
.it-empty {
    padding: 70px 20px;
    text-align: center;
    border: 1px dashed var(--border);
    border-radius: 24px;
    background: #fff;
    margin-top: 30px;
}

    .it-empty > .material-symbols-rounded {
        font-size: 46px;
        color: var(--gold);
    }

    .it-empty h3 {
        font-family: Outfit, sans-serif;
        margin: 12px 0 7px;
        font-size: 24px;
        color: var(--blue-dark);
    }

    .it-empty p {
        color: var(--muted);
        font-size: 14px;
    }

    .it-empty button {
        background: var(--blue);
        color: #fff;
        border: 0;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 800;
        padding: 13px 17px;
        margin-top: 18px;
    }

.it-closing {
    background: linear-gradient(110deg, var(--burgundy), #491027);
    color: #fff;
}

.it-closing__inner {
    display: flex;
    align-items: center;
    gap: 19px;
    padding-block: 32px;
}

.it-closing .material-symbols-rounded {
    color: var(--gold);
    font-size: 30px;
}

.it-closing p {
    font-family: Outfit, sans-serif;
    font-size: clamp(17px, 2vw, 23px);
    letter-spacing: -.02em;
}

.it-closing strong {
    color: #F3D478;
}

.it-closing__date {
    margin-left: auto;
    flex: 0 0 auto;
    font-size: 11px;
    letter-spacing: .15em;
    font-weight: 900;
}

.it-footer {
    padding: 25px 0;
    background: var(--blue-dark);
    color: #BCCADD;
}

    .it-footer .it-wrap {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .11em;
    }

.it-back-top {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 10;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--blue-dark);
    border: 0;
    border-radius: 14px;
    box-shadow: 0 12px 25px rgba(8,31,69,.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

    .it-back-top.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

@media (max-width: 980px) {
    .it-hero {
        padding-top: 72px;
    }

    .it-hero__grid {
        grid-template-columns: 1.05fr .95fr;
        gap: 30px;
    }

    .it-hero__visual {
        padding: 25px;
        min-height: 300px;
    }

    .it-hero__visual-main {
        gap: 12px;
    }

        .it-hero__visual-main span {
            font-size: clamp(65px, 10vw, 95px);
        }

    .it-hero__stats > div {
        gap: 12px;
        padding-inline: 15px;
    }

    .it-hero__stats strong {
        font-size: 30px;
    }

    .it-hero__stats small {
        font-size: 9px;
    }

    .it-event__card {
        padding: 22px 23px;
    }

    .it-event__card--featured {
        padding-left: 20px;
    }
}

@media (max-width: 740px) {
    .it-wrap {
        width: min(100% - 32px, 1190px);
    }

    .it-topbar__inner {
        min-height: 75px;
    }

    .it-hero {
        padding-top: 65px;
    }

    .it-hero__grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 9px;
    }

    .it-hero__copy {
        padding-bottom: 26px;
    }

    .it-hero h1 {
        font-size: clamp(43px, 10vw, 66px);
        max-width: 550px;
    }

    .it-hero__visual {
        border-radius: 22px 22px 0 0;
        min-height: 230px;
        padding: 24px;
    }

    .it-hero__visual-main span {
        font-size: clamp(75px, 16vw, 120px);
    }

    .it-hero__stats {
        grid-template-columns: repeat(3, 1fr);
    }

        .it-hero__stats > div {
            flex-direction: column;
            align-items: flex-start;
            gap: 6px;
        }

        .it-hero__stats .material-symbols-rounded {
            font-size: 23px;
        }

        .it-hero__stats strong {
            font-size: 28px;
        }

    .it-agenda {
        padding: 67px 0 72px;
    }

    .it-section-head {
        align-items: flex-start;
    }

        .it-section-head p {
            max-width: 390px;
        }

    .it-days {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .it-controls__tools {
        grid-template-columns: 1fr;
    }

    .it-result-bar > span:last-child {
        display: none;
    }

    .it-closing__date {
        display: none;
    }
}

@media (max-width: 520px) {
    .it-wrap {
        width: min(100% - 28px, 1190px);
    }

    .it-brand__mark {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        font-size: 18px;
    }

    .it-brand__name {
        font-size: 10px;
        letter-spacing: .035em;
    }

        .it-brand__name small {
            font-size: 9px;
            letter-spacing: 0;
        }

    .it-topbar__tag {
        display: none;
    }

    .it-hero {
        padding-top: 51px;
    }

        .it-hero h1 {
            font-size: clamp(42px, 11vw, 57px);
            margin: 18px 0;
        }

    .it-hero__copy > p {
        font-size: 15px;
    }

    .it-hero__actions {
        align-items: flex-start;
        gap: 17px;
    }

    .it-hero__visual {
        min-height: 214px;
    }

    .it-hero__visual-main span {
        font-size: clamp(68px, 18vw, 91px);
    }

    .it-hero__visual-side {
        display: none;
    }

    .it-hero__stats {
        margin-inline: 0;
        width: 100%;
        padding-inline: 14px;
    }

        .it-hero__stats > div {
            padding: 17px 8px;
        }

        .it-hero__stats strong {
            font-size: 25px;
        }

        .it-hero__stats small {
            font-size: 8px;
            letter-spacing: .035em;
        }

    .it-section-head {
        flex-direction: column;
        gap: 17px;
        margin-bottom: 23px;
    }

        .it-section-head h2 {
            font-size: 39px;
        }

    .it-print {
        padding: 11px 14px;
    }

    .it-controls {
        padding: 10px;
        border-radius: 19px;
    }

    .it-days {
        gap: 7px;
    }

    .it-day-tab {
        min-height: 66px;
        padding: 12px;
        border-radius: 11px;
    }

        .it-day-tab strong {
            font-size: 15px;
        }

    .it-day-tab__small {
        font-size: 9px;
        letter-spacing: .08em;
    }

    .it-controls__tools {
        padding-top: 11px;
    }

    .it-result-bar {
        padding: 21px 2px 7px;
    }

    .it-day-group {
        margin-top: 22px;
    }

        .it-day-group + .it-day-group {
            margin-top: 51px;
        }

    .it-day-heading {
        gap: 12px;
        margin-bottom: 22px;
    }

    .it-day-heading__date {
        flex-basis: 64px;
        height: 70px;
        border-radius: 13px;
    }

        .it-day-heading__date strong {
            font-size: 32px;
        }

    .it-day-heading__copy h3 {
        font-size: 26px;
    }

    .it-day-heading__copy p {
        font-size: 11px;
    }

    .it-day-heading__meta {
        display: none;
    }

    .it-timeline::before {
        left: 10px;
        top: 22px;
        bottom: 25px;
    }

    .it-event {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        margin-left: 30px;
        margin-bottom: 13px;
    }

        .it-event::before {
            left: -26px;
            top: 15px;
            width: 14px;
            height: 14px;
        }

    .it-event__time {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        padding: 0 0 10px 2px;
        gap: 9px;
    }

        .it-event__time::after {
            content: '→';
            color: var(--gold);
            order: 1;
            font-size: 12px;
        }

        .it-event__time span {
            font-size: 15px;
            order: 0;
        }

        .it-event__time small {
            margin: 0;
            font-size: 13px;
            order: 2;
        }

    .it-event__card {
        align-items: flex-start;
        gap: 12px;
        border-radius: 15px;
        min-height: 0;
        padding: 18px 13px;
    }

    .it-event__card--featured {
        padding-left: 10px;
    }

    .it-event__icon {
        flex-basis: 39px;
        height: 39px;
        width: 39px;
        border-radius: 12px;
    }

        .it-event__icon .material-symbols-rounded {
            font-size: 22px;
        }

    .it-event__body {
        padding-right: 10px;
    }

    .it-event__category {
        font-size: 9px;
        letter-spacing: .075em;
        margin-bottom: 5px;
    }

    .it-event__body h4 {
        font-size: 16px;
        line-height: 1.25;
    }

    .it-event__duration {
        font-size: 10px;
    }

    .it-event__star {
        top: 12px;
        right: 10px;
    }

        .it-event__star .material-symbols-rounded {
            font-size: 16px;
        }

    .it-closing__inner {
        gap: 10px;
        padding-block: 27px;
    }

    .it-closing p {
        font-size: 17px;
    }

    .it-footer .it-wrap {
        flex-direction: column;
        gap: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

@media print {
    :root {
        color-scheme: light;
    }

    html {
        scroll-behavior: auto;
    }

    body {
        background: white !important;
    }

    .it-topbar, .it-hero, .it-controls, .it-print, .it-closing, .it-footer, .it-back-top, .it-skip, .it-result-bar, .it-empty {
        display: none !important;
    }

    .it-agenda {
        padding: 0;
        background: #fff;
    }

    .it-wrap {
        width: 100%;
    }

    .it-section-head {
        margin: 0 0 22px;
    }

        .it-section-head h2 {
            font-size: 31px;
        }

    .it-day-group {
        margin-top: 25px;
    }

        .it-day-group + .it-day-group {
            margin-top: 25px;
        }

    .it-day-heading, .it-event {
        break-inside: avoid;
    }

    .it-event__card {
        min-height: 0;
        padding: 12px 16px;
        box-shadow: none;
    }

    .it-event__time {
        padding-top: 18px;
    }

    .it-event__body h4 {
        font-size: 16px;
    }

    .it-event__icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

        .it-event__icon .material-symbols-rounded {
            font-size: 22px;
        }

    .it-timeline::before, .it-event::before {
        display: none;
    }

    .it-event {
        grid-template-columns: 75px 1fr;
        gap: 15px;
    }

    .it-event__time span {
        font-size: 15px;
    }

    .it-day-heading__date {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}
/* Seguridad extra para teléfonos compactos (320px) y fuentes externas bloqueadas. */
.it-hero__stats > div {
    min-width: 0;
    overflow: hidden;
}

.it-hero__stats small {
    min-width: 0;
    overflow-wrap: anywhere;
}

.it-hero__stats .material-symbols-rounded {
    max-width: 100%;
    overflow: hidden;
}

.it-closing p {
    min-width: 0;
    overflow-wrap: anywhere;
}
