/* Fuentes Adidas */
@font-face {
    font-family: "adidasFG";
    src: url("../fonts/adidasFG-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "adidasFG";
    src: url("../fonts/adidasFG-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "adidasFG Compressed";
    src: url("../fonts/adidasFG-CompressedBold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "adidasFG Compressed";
    src: url("../fonts/adidasFG-CompressedBoldIt.woff2") format("woff2");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

:root {
    --black: #000;
    --grey: #9d9d9c;
    --font-base: "adidasFG", "Helvetica Neue", Arial, sans-serif;
    --font-display: "adidasFG Compressed", "Arial Narrow", Impact, sans-serif;
}

body {
    font-family: var(--font-base);
    color: var(--black);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

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

/* Una sola columna centrada en todos los tamaños */
.page {
    max-width: 560px;
}

/* ---------- Cabecera ---------- */
.hero__inner {
    container-type: inline-size;
    padding-top: 5.9cqw;
}
.hero__logo {
    width: 17.3cqw;
    height: auto;
    margin-left: 7.6cqw;
}
.hero__art {
    position: relative;
    margin-top: 19.3cqw;
}
.hero__title {
    position: absolute;
    top: -15.8cqw;
    left: 7.6cqw;
    margin: 0;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    font-size: 10.18cqw; /* 40px sobre 393px */
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0;
    white-space: nowrap;
}

/* ---------- Agenda (medidas del Figma sobre 393px) ---------- */
.agenda {
    padding-top: 1.6rem;
}
.agenda__list {
    list-style: none;
    margin: 0 0 0 24px; /* las líneas nacen a 24px y llegan al borde derecho */
    padding: 0;
    border-bottom: 1px solid var(--grey);
}
.agenda__item {
    display: grid;
    grid-template-columns: 110px 1fr;
    column-gap: 11.5px;
    align-items: start;
    padding: 10px 16px 12px 3.5px;
    border-top: 1px solid var(--grey);
}
.agenda__time {
    font-weight: 700;
    font-size: 36px;
    line-height: normal;
    text-align: center;
}
.agenda__text {
    margin: 5px 0 0;
    font-size: 16px;
    line-height: normal;
}
.agenda__text strong {
    font-weight: 700;
}
.agenda__note {
    margin: 0;
    font-size: 10px;
    line-height: normal;
    letter-spacing: -0.01em;
    color: var(--grey);
}
.agenda__note--place {
    display: grid;
    grid-template-columns: 14px 1fr;
}
.agenda__note a {
    color: inherit;
    text-decoration: underline;
}
.agenda__note a:hover {
    color: var(--black);
}
.agenda__note strong {
    font-weight: 700;
}
.agenda__pin {
    width: 9px;
    height: 12px;
    margin-top: 0.5px;
    fill: currentColor;
}

.calendar-btn {
    display: inline-block;
    margin: 1.25rem 0 0 24px;
    padding: 0.7rem 1.25rem;
    border: 1px solid var(--black);
    border-radius: 999px;
    color: var(--black);
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background-color 0.15s, color 0.15s;
}
.calendar-btn:hover,
.calendar-btn:focus-visible {
    background: var(--black);
    color: #fff;
}

/* ---------- Mapa ---------- */
.map {
    margin-top: 1.5rem;
}
.map img {
    width: 100%;
}

/* ---------- Leyenda y pie ---------- */
.legend-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 27px 20px 18px;
}
.legend {
    flex: none;
    width: 219px;
    padding: 12.5px 0 4px;
    border: 1px solid var(--grey);
    border-radius: 8px;
}
.legend__title {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    line-height: normal;
    text-align: center;
    text-transform: uppercase;
}
.legend__list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
}
.legend__list li {
    display: grid;
    grid-template-columns: 79px 1fr;
    align-items: center;
    height: 33px;
}
.legend__icon {
    display: flex;
    justify-content: center;
}
.legend-wrap__logo {
    flex: none;
    width: 101px;
    margin-bottom: 14px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}
