/* =========================================================
   Agenda de Temporada Rada Tilly 2026/2027
   Estilos del front público
   ========================================================= */

:root {
    --teal-900: #0f4c47;
    --teal-700: #0f766e;
    --teal-600: #0d9488;
    --teal-500: #14b8a6;
    --teal-050: #ecfdf9;
    --ink:      #0f2b2a;
    --ink-soft: #4b6462;
    --paper:    #f6faf9;
    --white:    #ffffff;
    --line:     #e2eceb;
    --shadow-sm: 0 2px 8px rgba(15, 76, 71, .08);
    --shadow-md: 0 12px 30px rgba(15, 76, 71, .12);
    --shadow-lg: 0 24px 60px rgba(15, 76, 71, .18);
    --radius:    18px;
    --radius-sm: 12px;
    --maxw:      1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.main { padding-block: 48px 72px; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 15px;
    padding: 12px 22px; border-radius: 999px;
    border: none; cursor: pointer; transition: .2s ease;
    white-space: nowrap;
}
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--primary { background: var(--teal-600); color: #fff; }
.btn--primary:hover { background: var(--teal-700); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; border: 1.5px solid rgba(15,118,110,.35); color: var(--teal-700); }
.btn--ghost:hover { background: var(--teal-050); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 62px; width: auto; display: block; }
.brand__mark {
    font-size: 20px; color: var(--teal-600); letter-spacing: -3px;
    background: var(--teal-050); width: 42px; height: 42px; border-radius: 12px;
    display: grid; place-items: center;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 16px; color: var(--ink); }
.brand__text small { font-size: 11px; color: var(--ink-soft); letter-spacing: .5px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { font-weight: 600; font-size: 15px; color: var(--ink-soft); }
.site-nav a:hover { color: var(--teal-700); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 380px; display: flex; align-items: center; overflow: hidden; }
.hero__bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    background-color: var(--teal-700);
}
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(6,42,40,.85) 0%, rgba(6,42,40,.55) 45%, rgba(6,42,40,.15) 100%);
}
.hero__content { position: relative; color: #fff; padding-block: 70px; }
.hero__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 3px; opacity: .9; }
.hero__title { font-size: clamp(34px, 6vw, 58px); font-weight: 800; line-height: 1.02; margin: 14px 0; }
.hero__title span { color: var(--teal-500); }
.hero__subtitle { font-size: 18px; opacity: .92; max-width: 520px; }
.hero__handwrite {
    position: absolute; right: 24px; top: 50%; transform: rotate(-8deg);
    font-family: 'Caveat', cursive; font-size: 40px; color: rgba(255,255,255,.85);
}

/* ---------- Filterbar / chips ---------- */
.filterbar { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 88px; z-index: 30; }
.filterbar__inner { display: flex; align-items: center; gap: 16px; padding-block: 16px; flex-wrap: wrap; }
.filterbar__label { font-weight: 700; color: var(--ink); font-size: 15px; }
.filterbar__temporada { margin-left: auto; font-weight: 600; color: var(--teal-700); font-size: 14px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px; border-radius: 999px;
    background: var(--paper); border: 1.5px solid var(--line);
    font-weight: 600; font-size: 14px; color: var(--ink-soft);
    transition: .18s ease;
}
.chip:hover { border-color: var(--chip-color, var(--teal-500)); color: var(--ink); }
.chip--active { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.chip__icon { width: 16px; height: 16px; display: inline-block; background: currentColor;
    -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }

/* Deja espacio para el header + barra de filtros fijos al saltar con anclas (#) */
#proximos, #categorias, #sponsors, #video {
    scroll-margin-top: 160px;
}

/* ---------- Section head ---------- */
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-head h2 { font-size: 22px; font-weight: 800; color: var(--ink); }
.section-head--center { flex-direction: column; text-align: center; gap: 8px; margin-bottom: 32px; }
.section-head--center h2 { font-size: 28px; }
.section-head--center p { color: var(--ink-soft); font-size: 16px; }

/* ---------- Feature grid (destacado + próximos) ---------- */
.feature-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; margin-bottom: 64px; align-items: start; }
.feature-grid__highlight { min-width: 0; }
.feature-grid__upcoming { min-width: 0; } /* permite que el carrusel se encoja sin aplastar al destacado */
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }

/* Highlight card */
.highlight-card {
    position: relative; display: block; min-height: 360px; border-radius: var(--radius);
    overflow: hidden; background-size: cover; background-position: center;
    background-color: var(--teal-800); box-shadow: var(--shadow-md); color: #fff;
    transition: .25s ease;
}
.highlight-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.highlight-card__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,42,40,.1) 0%, rgba(6,42,40,.9) 100%); }
.highlight-card__date {
    position: absolute; top: 18px; left: 18px; z-index: 2;
    background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px;
    display: flex; flex-direction: column; align-items: center; line-height: 1; box-shadow: var(--shadow-sm);
}
.highlight-card__date .dow { font-size: 11px; font-weight: 700; color: var(--teal-700); }
.highlight-card__date .dia { font-size: 26px; font-weight: 800; }
.highlight-card__date .mes { font-size: 11px; font-weight: 700; color: var(--ink-soft); }
.highlight-card__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 24px; }
.highlight-card__body h3 { font-size: 26px; font-weight: 800; margin: 10px 0 6px; }
.highlight-card__sub { opacity: .9; margin-bottom: 8px; }
.highlight-card__meta { font-size: 14px; opacity: .85; margin-bottom: 16px; }

/* ---------- Badges ---------- */
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
    color: #fff; letter-spacing: .2px;
}
.badge--soft { background: var(--c); color: #fff; }

/* ---------- Carousel ---------- */
.carousel { overflow: hidden; }
.carousel__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-behavior: smooth; padding-bottom: 8px; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel-nav { display: flex; gap: 8px; }
.carousel-nav__btn {
    width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line);
    background: #fff; font-size: 20px; color: var(--teal-700); cursor: pointer; transition: .18s;
}
.carousel-nav__btn:hover { background: var(--teal-600); color: #fff; border-color: var(--teal-600); }

/* Event card */
.event-card {
    flex: 0 0 258px; scroll-snap-align: start; background: #fff; border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    transition: .22s ease; display: flex; flex-direction: column;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.event-card__media { position: relative; height: 165px; background-size: cover; background-position: center; background-color: var(--teal-050); }
.event-card__date {
    position: absolute; top: 12px; left: 12px; background: #fff; border-radius: 12px;
    padding: 8px 10px; display: flex; flex-direction: column; align-items: center; line-height: 1; box-shadow: var(--shadow-sm);
}
.event-card__date .dow { font-size: 10px; font-weight: 700; color: var(--teal-700); }
.event-card__date .dia { font-size: 20px; font-weight: 800; }
.event-card__date .mes { font-size: 10px; font-weight: 700; color: var(--ink-soft); }
.event-card__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.event-card__body h3 { font-size: 16px; font-weight: 700; line-height: 1.25; }
.event-card__meta { font-size: 13px; color: var(--ink-soft); margin-top: auto; }

/* ---------- Grilla de categorías ---------- */
.cat-grid { margin-bottom: 72px; }
.cat-grid__items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .cat-grid__items { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-grid__items { grid-template-columns: 1fr; } }
.cat-card {
    position: relative; min-height: 190px; border-radius: var(--radius); overflow: hidden;
    background-size: cover; background-position: center; background-color: var(--c);
    box-shadow: var(--shadow-sm); transition: .25s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-card__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 20%, transparent) 0%, color-mix(in srgb, var(--c) 92%, black 10%) 100%); }
.cat-card__body { position: absolute; inset: 0; z-index: 2; padding: 22px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.cat-card__body h3 { font-size: 22px; font-weight: 800; }
.cat-card__body p { font-size: 14px; opacity: .92; min-height: 2.6em; display: flex; align-items: flex-start; }
.cat-card__icon { width: 30px; height: 30px; background: #fff; display: inline-block; margin-bottom: auto;
    -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.cat-card__arrow { position: absolute; top: 20px; right: 20px; width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 20px; }

/* ---------- Sponsors ---------- */
.sponsors { margin-bottom: 40px; }
.sponsors__row { overflow: hidden; padding: 14px 0; position: relative; }
.sponsors__row::before, .sponsors__row::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.sponsors__row::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.sponsors__row::after { right: 0; background: linear-gradient(270deg, var(--paper), transparent); }
/* Sin movimiento (pocos sponsors): una sola vez, centrados. main.js agrega .is-moving solo si no entran en el ancho */
.sponsors__track { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.sponsors__row:not(.is-moving)::before, .sponsors__row:not(.is-moving)::after { display: none; }
.sponsors__row.is-moving .sponsors__track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: marquee 34s linear infinite; }
.sponsors__row--common.is-moving .sponsors__track { animation-duration: 44s; }
.sponsors__row[data-reverse] .sponsors__track { animation-direction: reverse; }
.sponsors__row:hover .sponsors__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.sponsor {
    display: grid; place-items: center; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); transition: .18s;
    font-weight: 700; color: var(--ink-soft); text-align: center; padding: 0 26px;
}
.sponsor:hover { box-shadow: var(--shadow-md); color: var(--teal-700); }

/* Principales: ventana 250x250, logo fijo 200x200 */
.sponsor--main { width: 250px; height: 250px; font-size: 18px; }
.sponsor--main img { width: 200px; height: 200px; object-fit: contain; }

/* Comunes: ventana 200x200, logo fijo 150x150 */
.sponsor--common { width: 200px; height: 200px; font-size: 15px; }
.sponsor--common img { width: 150px; height: 150px; object-fit: contain; }

/* ---------- Empty box ---------- */
.empty-box {
    background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
    padding: 30px; text-align: center; color: var(--ink-soft);
}
.empty-box--lg { padding: 60px 30px; display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* ---------- Detalle de evento (mismo estilo que el hero del inicio) ---------- */
.evento-hero { position: relative; min-height: 380px; display: flex; align-items: center; overflow: hidden;
    background-size: cover; background-position: center; background-color: var(--teal-700); }
.evento-hero__overlay { position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(6,42,40,.85) 0%, rgba(6,42,40,.55) 45%, rgba(6,42,40,.15) 100%); }
.evento-hero__content { position: relative; z-index: 2; color: #fff; padding-block: 60px;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; width: 100%; }
.evento-hero__main { flex: 1; min-width: 0; }
.evento-hero__back { display: inline-block; margin-bottom: 18px; font-weight: 600; opacity: .9; }
.evento-hero__back:hover { opacity: 1; }
.evento-hero__content h1 { font-size: clamp(30px, 5vw, 50px); font-weight: 800; line-height: 1.05; margin: 14px 0 8px; }
.evento-hero__sub { font-size: 18px; opacity: .92; max-width: 560px; }
.evento-hero .badge { vertical-align: middle; }
.evento-hero__brand { text-align: right; line-height: 1.05; flex: 0 0 auto; }
.evento-hero__brand span { display: block; font-size: 28px; font-weight: 800; opacity: .95; }
.evento-hero__brand strong { display: block; font-size: 44px; font-weight: 800; color: var(--teal-500); margin-top: 4px; }
@media (max-width: 720px) { .evento-hero__brand { display: none; } }

/* Carrusel del detalle */
.ev-carousel { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: #000; }
.ev-carousel__stage { position: relative; width: 100%; aspect-ratio: 16 / 10; background: #0b1f1e; }
.ev-carousel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; cursor: zoom-in; }
.ev-carousel__img.is-active { opacity: 1; }
.ev-carousel__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(0,0,0,.45); color: #fff; font-size: 24px; display: grid; place-items: center; transition: .15s; }
.ev-carousel__nav:hover { background: rgba(0,0,0,.7); }
.ev-carousel__nav--prev { left: 14px; }
.ev-carousel__nav--next { right: 14px; }
.ev-carousel__caption { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 10px 16px;
    background: linear-gradient(0deg, rgba(0,0,0,.6), transparent); color: #fff; font-size: 14px; width: 100%; }
.ev-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.ev-thumb { border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; padding: 0;
    width: 92px; height: 66px; background: var(--teal-050); transition: .15s; }
.ev-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-thumb.is-active { border-color: var(--teal-600); }
.ev-thumb:hover { border-color: var(--teal-500); }
.evento-desc { margin-top: 28px; }

.evento-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; }
@media (max-width: 860px) { .evento-layout { grid-template-columns: 1fr; } }
.evento-desc { font-size: 17px; color: var(--ink); line-height: 1.7; }
.evento-desc--muted { color: var(--ink-soft); font-style: italic; }
.evento-galeria { margin-top: 40px; }
.evento-galeria h2 { font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 520px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery__item { border: none; padding: 0; cursor: pointer; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; background: var(--teal-050); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.gallery__item:hover img { transform: scale(1.06); }

.evento-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); position: sticky; top: 90px; }
.evento-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.evento-info { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.evento-info li { display: flex; gap: 12px; }
.evento-info__ico { font-size: 20px; }
.evento-info strong { display: block; font-size: 14px; color: var(--ink); font-weight: 800; }
.evento-info p { font-size: 16px; color: var(--ink); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,42,40,.92); display: grid; place-items: center; padding: 30px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 20px; right: 26px; background: none; border: none; color: #fff; font-size: 40px; cursor: pointer; line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-700); color: #fff; margin-top: 40px; }
.site-footer__inner { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 60px; padding-block: 44px; flex-wrap: wrap; }
@media (max-width: 560px) { .site-footer__inner { flex-direction: column; gap: 28px; } }
.site-footer__brand { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.site-footer__logo { height: 66px; width: auto; display: block; }
.site-footer__social { display: flex; gap: 14px; justify-content: center; width: 100%; }
.site-footer__social a {
    width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255,255,255,.15); color: #fff; transition: .15s;
}
.site-footer__social a:hover { background: #fff; color: var(--teal-700); }
.site-footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; text-align: center; }
@media (max-width: 560px) { .site-footer__cols { grid-template-columns: 1fr; gap: 30px; } }
.site-footer__cols--single { grid-template-columns: 1fr; }
.site-footer__cols h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; opacity: .8; }
.site-footer__cols p { font-size: 14px; opacity: .9; margin-bottom: 4px; }
.site-footer__bar { border-top: 1px solid rgba(255,255,255,.15); padding-block: 16px; font-size: 13px; }
.site-footer__bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer__bar-inner > span { opacity: .8; }
.site-footer__access { opacity: .6; border-bottom: 1px solid rgba(255,255,255,.3); transition: opacity .15s; }
.site-footer__access:hover { opacity: 1; }
@media (max-width: 560px) { .site-footer__bar-inner { justify-content: center; } }

/* =========================================================
   Calendario
   ========================================================= */
.cal-hero { background: linear-gradient(120deg, var(--teal-900), var(--teal-700)); color: #fff; padding-block: 46px; }
.cal-hero h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
.cal-hero p { opacity: .9; margin-top: 6px; font-size: 17px; }

.cal-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 880px) { .cal-layout { grid-template-columns: 1fr; } }

.cal-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px; }
.cal-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-title { font-size: 20px; font-weight: 800; color: var(--ink); text-transform: capitalize; }
.cal-nav {
    width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line);
    display: grid; place-items: center; font-size: 22px; color: var(--teal-700); transition: .15s;
}
.cal-nav:hover { background: var(--teal-600); color: #fff; border-color: var(--teal-600); }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-grid--head { margin-bottom: 6px; }
.cal-dow { text-align: center; font-size: 12px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; padding: 4px 0; }

.cal-day {
    position: relative; aspect-ratio: 1 / 1; border-radius: 12px; background: var(--paper);
    border: 1px solid transparent; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 5px; color: var(--ink); transition: .15s;
}
.cal-day--empty { background: transparent; }
.cal-day__num { font-size: 15px; font-weight: 600; }
.cal-day--has { cursor: pointer; background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.cal-day--has:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--teal-500); }
.cal-day--has .cal-day__num { font-weight: 800; color: var(--teal-800); }
.cal-day--today { outline: 2px solid var(--teal-500); outline-offset: 0; }
.cal-day__dots { display: flex; gap: 3px; }
.cal-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }

.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.cal-legend__item { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-soft); font-weight: 600; }

/* Panel de eventos del mes */
.cal-events h3 { font-size: 20px; font-weight: 800; margin-bottom: 16px; text-transform: capitalize; }
.cal-dayblock { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.cal-dayblock:last-child { border-bottom: none; }
.cal-dayblock__date {
    flex: 0 0 52px; height: 52px; border-radius: 12px; background: var(--teal-050);
    display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
}
.cal-dayblock__date .dia { font-size: 20px; font-weight: 800; color: var(--teal-800); }
.cal-dayblock__date .mes { font-size: 11px; font-weight: 700; color: var(--teal-700); }
.cal-dayblock__list { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.cal-event {
    display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line);
    border-radius: 12px; padding: 10px 12px; transition: .15s;
}
.cal-event:hover { border-color: var(--teal-500); box-shadow: var(--shadow-sm); transform: translateX(2px); }
.cal-event__bar { width: 4px; align-self: stretch; border-radius: 4px; }
.cal-event__body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.cal-event__title { font-weight: 700; font-size: 15px; }
.cal-event__meta { font-size: 13px; color: var(--ink-soft); }

/* =========================================================
   Video destacado
   ========================================================= */
.video-section { margin-bottom: 64px; }
.video-frame {
    position: relative; width: 100%; max-width: 900px; margin: 0 auto;
    aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-md); background: #000;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =========================================================
   Página de contacto
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-bottom: 40px; }
.contact-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); padding: 24px; transition: .2s;
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-card h3 { font-size: 19px; font-weight: 800; color: var(--teal-800); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--teal-050); }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.contact-list li { display: flex; gap: 10px; font-size: 15px; color: var(--ink); align-items: flex-start; }
.contact-list a { color: var(--teal-700); font-weight: 600; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; }
.contact-ico { flex: 0 0 auto; }
.contact-social { display: flex; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.contact-social a {
    font-size: 13px; font-weight: 700; color: #fff; background: var(--teal-600);
    padding: 6px 14px; border-radius: 999px; transition: .15s;
}
.contact-social a:hover { background: var(--teal-700); }
.contact-general { text-align: center; background: var(--teal-050); border-radius: var(--radius); padding: 26px; }
.contact-general h2 { font-size: 20px; font-weight: 800; color: var(--teal-800); margin-bottom: 6px; }
.contact-general p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Avisos por mail (suscripción) ---------- */
.site-nav__avisos { color: var(--teal-700) !important; }
@media (max-width: 720px) { .site-nav__avisos { display: none; } }

.footer-avisos {
    display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
    padding-block: 28px; border-bottom: 1px solid rgba(255,255,255,.18);
}
.footer-avisos strong { display: block; font-size: 18px; margin-bottom: 2px; }
.footer-avisos span { font-size: 14px; opacity: .9; }
.footer-avisos .btn { background: #fff; color: var(--teal-700); }

.sub-card {
    max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 30px;
}
@media (max-width: 520px) { .sub-card { padding: 22px 18px; } }
.sub-form { display: flex; flex-direction: column; gap: 20px; }
.sub-field { display: flex; flex-direction: column; gap: 8px; font-weight: 700; }
.sub-field input {
    font: inherit; font-weight: 500; padding: 13px 16px; border: 1.5px solid var(--line);
    border-radius: var(--radius-sm); background: #fff;
}
.sub-field input:focus { outline: none; border-color: var(--teal-600); }
.sub-cats { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sub-cats legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
@media (max-width: 420px) { .sub-cats { grid-template-columns: 1fr; } }
.sub-cat {
    display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer;
    border: 1.5px solid var(--line); border-left: 6px solid var(--cat, var(--teal-600));
    border-radius: var(--radius-sm); font-weight: 600; transition: .15s;
}
.sub-cat:has(input:checked) { background: color-mix(in srgb, var(--cat, #0d9488) 10%, #fff); border-color: var(--cat, var(--teal-600)); }
.sub-cat input { width: 18px; height: 18px; accent-color: var(--cat, var(--teal-600)); }
.sub-btn { align-self: flex-start; }
.sub-hint { font-size: 13px; color: var(--ink-soft); }
.sub-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sub-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 14px; }
.sub-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 14px; font-weight: 600; }
.sub-ok { text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.sub-ok__ico { font-size: 44px; }
.sub-ok h2 { font-size: 22px; }
.sub-ok a { color: var(--teal-700); text-decoration: underline; }
.sub-baja-form { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 18px; }
.sub-link { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--ink-soft); text-decoration: underline; cursor: pointer; }

/* =========================================================
   Prestadores de Servicios Turísticos
   ========================================================= */
.site-nav a.is-active { color: var(--teal-700); }
@media (max-width: 980px) {
    .site-header__inner { height: auto; padding-block: 10px; flex-wrap: wrap; gap: 6px; }
    .brand__logo { height: 50px; }
    .site-nav { width: 100%; gap: 18px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
    .site-nav::-webkit-scrollbar { display: none; }
    .site-nav a { flex: 0 0 auto; font-size: 14px; }
    .filterbar { top: 0; position: relative; }
}
.pr-ico { width: 18px; height: 18px; display: inline-block; flex: 0 0 auto; background: currentColor;
    -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
#disfruta { scroll-margin-top: 160px; }

/* Sección del inicio: «Disfrutá Rada Tilly» */
.disfruta { background: var(--teal-050); border-radius: calc(var(--radius) + 6px); padding: 40px 32px; margin-bottom: 72px; }
@media (max-width: 620px) { .disfruta { padding: 30px 16px; border-radius: var(--radius); } }
.disfruta__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .disfruta__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .disfruta__grid { grid-template-columns: 1fr; } }
.pcat-card { background: #fff; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; transition: .22s ease; }
.pcat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pcat-card__img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: var(--teal-050); }
.pcat-card__body { padding: 14px 16px 18px; }
.pcat-card__body h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; }
.pcat-card__body h3 .pr-ico { color: var(--teal-600); }
.pcat-card__body p { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.disfruta__cta { text-align: center; margin-top: 28px; }

/* Llamado para prestadores */
.prest-cta { background: var(--teal-900); color: #fff; border-radius: var(--radius); padding: 30px 32px; margin-top: 48px;
    display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.prest-cta h2 { font-size: 22px; font-weight: 800; }
.prest-cta p { opacity: .9; max-width: 720px; }
.prest-cta .btn { background: #fff; color: var(--teal-900); margin-top: 6px; }
.prest-cta .btn:hover { background: var(--teal-050); transform: translateY(-1px); }
@media (max-width: 520px) { .prest-cta { padding: 24px 18px; } .prest-cta .btn { white-space: normal; } }

/* Directorio */
.prest-toolbar { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.prest-search { display: flex; gap: 10px; max-width: 560px; }
.prest-search input { flex: 1; min-width: 0; font: inherit; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.prest-search input:focus { outline: none; border-color: var(--teal-600); }
.prest-result { color: var(--ink-soft); font-size: 14px; margin-bottom: 14px; }
.prest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.prest-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: .22s ease; }
.prest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.prest-card__media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--teal-050); }
.prest-card__img { width: 100%; height: 100%; object-fit: cover; }
.prest-card__logo { position: absolute; left: 14px; bottom: -22px; width: 52px; height: 52px; border-radius: 12px; background: #fff;
    object-fit: contain; padding: 4px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.prest-card__star { position: absolute; top: 12px; right: 12px; background: #f59e0b; color: #fff; font-size: 12px; font-weight: 700;
    padding: 4px 10px; border-radius: 999px; }
.prest-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prest-card__body--logo { padding-top: 30px; }
.prest-card__cat { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--teal-700);
    text-transform: uppercase; letter-spacing: .4px; }
.prest-card__cat .pr-ico { width: 14px; height: 14px; }
.prest-card__body h3 { font-size: 18px; font-weight: 800; line-height: 1.25; }
.prest-card__body p { font-size: 14px; color: var(--ink-soft); }
.prest-card__body .btn { margin-top: auto; align-self: flex-start; }

/* Ficha individual */
.prest-ficha { padding-top: 28px; }
.breadcrumb { font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a:hover { color: var(--teal-700); text-decoration: underline; }
.prest-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.prest-head__logo { width: 72px; height: 72px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
    object-fit: contain; padding: 6px; box-shadow: var(--shadow-sm); flex: 0 0 auto; }
.prest-head h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; color: var(--teal-900); line-height: 1.1; }
.prest-head p { color: var(--ink-soft); margin-top: 4px; }
.prest-block { margin-top: 32px; }
.prest-block h2 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.prest-servicios { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 18px; }
.prest-servicios li { display: flex; gap: 8px; align-items: flex-start; }
.prest-servicios li::before { content: "\2713"; color: var(--teal-600); font-weight: 800; }
.prest-mapa { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 16 / 9; background: var(--teal-050); }
.prest-mapa iframe { width: 100%; height: 100%; border: 0; display: block; }
.evento-info__ico.pr-ico { width: 20px; height: 20px; color: var(--teal-600); margin-top: 2px; }
.evento-info a { color: var(--teal-700); font-weight: 600; word-break: break-word; }
.evento-info a:hover { text-decoration: underline; }
.prest-acciones { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.btn--outline-teal { background: #fff; border: 1.5px solid var(--teal-600); color: var(--teal-700); justify-content: center; }
.btn--outline-teal:hover { background: var(--teal-050); }
.prest-share { background: none; border: 0; font: inherit; font-size: 14px; color: var(--ink-soft); cursor: pointer; text-decoration: underline; margin-top: 4px; }

/* Prestadores en la ficha de un evento */
.ev-prestadores { margin-top: 36px; }
.ev-prestadores h2 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.ev-prestadores__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.ev-prest { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 12px 14px; transition: .15s; }
.ev-prest:hover { border-color: var(--teal-500); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.ev-prest img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: var(--teal-050); flex: 0 0 auto; }
.ev-prest strong { display: block; font-size: 15px; }
.ev-prest small { color: var(--ink-soft); }

/* Formulario de solicitud */
.sol-card { max-width: 820px; }
.sol-card h2 { font-size: 17px; font-weight: 800; color: var(--teal-700); margin: 6px 0 -4px; }
.sol-card .sub-field textarea, .sol-card .sub-field select {
    font: inherit; font-weight: 500; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.sol-card .sub-field textarea { min-height: 110px; resize: vertical; }
.sol-card .sub-field input[type=file] { padding: 10px; border-style: dashed; }
.sol-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .sol-row { grid-template-columns: 1fr; } }
.sub-field small { font-weight: 500; color: var(--ink-soft); font-size: 13px; }
.sol-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.sol-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--teal-600); flex: 0 0 auto; }
.ev-prest small { display: block; }
