/* Inter (SIL Open Font License) servida desde este dominio: sin llamadas a Google Fonts */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/site/fonts/inter-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/site/fonts/inter-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* entradasasturias.es — portal público (tema claro, azul de marca #060DFF) */
:root {
  --bg: #f5f6fa;
  --surface: #ffffff;
  --surface-2: #f0f2f8;
  --line: #e3e6ef;
  --line-strong: #cfd4e2;
  --text: #12131a;
  --muted: #5f6576;
  --primary: #060DFF;
  --primary-dark: #0008c4;
  --primary-soft: #eef0ff;
  --navy: #0b0d2a;
  --success: #138a52;
  --warning: #9a6500;
  --danger: #c62f34;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 20, 60, .05), 0 6px 20px rgba(16, 20, 60, .06);
  --shadow-hover: 0 2px 4px rgba(16, 20, 60, .06), 0 14px 32px rgba(16, 20, 60, .12);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; font-feature-settings: 'cv11', 'ss01'; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
.container { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-wrap { display: flex; justify-content: space-between; align-items: center; padding: .65rem 0; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .35rem; font-weight: 800; font-size: 1.3rem; color: var(--primary); letter-spacing: -.02em; }
.brand:hover { color: var(--primary); }
.brand img { width: 42px; height: 42px; }
.brand b { font-weight: 600; }
.main-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a { color: var(--text); font-weight: 700; font-size: .95rem; }
.main-nav a:hover { color: var(--primary); }
.site-main { padding: 1.6rem 0 3rem; }

/* Portada */
.hero { background: linear-gradient(120deg, #060DFF 0%, #2f44ff 55%, #4c6fff 100%); color: #fff; border-radius: var(--radius); padding: 1.6rem 1.6rem; margin-bottom: 1.2rem; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -40px; top: -40px; width: 240px; height: 240px; background: url(/img/logo.svg) center/contain no-repeat; filter: brightness(0) invert(1); opacity: .12; transform: rotate(12deg); }
.hero h1 { margin: 0 0 .35rem; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.02em; line-height: 1.15; max-width: 760px; }
.hero p { margin: .2rem 0; color: #e3e7ff; max-width: 720px; }
.hero .eyebrow { color: #c9d1ff; }

.featured-slider { position: relative; margin-bottom: 1.2rem; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); background: var(--navy); }
.featured-slider-track { display: flex; transition: transform .6s ease; will-change: transform; }
.featured-slide { min-width: 100%; position: relative; height: 430px; }
.featured-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,10,40,.86) 12%, rgba(8,10,40,.42) 52%, rgba(8,10,40,.15) 100%); }
.featured-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.4rem 4.25rem; max-width: 760px; color: #fff; }
.featured-kicker { display: inline-flex; margin: 0 0 .45rem; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; color: #fff; background: var(--primary); padding: .2rem .55rem; border-radius: 6px; }
.featured-content h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.15; }
.featured-meta { margin: .45rem 0; color: #e3e7ff; font-weight: 700; }
.featured-description { margin: .25rem 0 .9rem; color: #e8ebff; max-width: 90%; }
.featured-actions { display: flex; gap: .55rem; flex-wrap: wrap; }
.featured-actions .btn-outline { border-color: rgba(255,255,255,.8); color: #fff; background: rgba(255,255,255,.08); }
.featured-actions .btn-outline:hover { background: rgba(255,255,255,.18); color: #fff; }
.featured-actions .btn-outline, .featured-actions .ticket-link { min-height: 40px; padding: .6rem 1rem; }
.featured-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 999px; border: none; background: rgba(255,255,255,.92); color: var(--text); font-size: 1.35rem; z-index: 3; padding: 0; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.featured-nav:hover { background: #fff; }
.featured-nav.prev { left: .8rem; } .featured-nav.next { right: .8rem; }
.featured-dots { position: absolute; left: 50%; bottom: .6rem; transform: translateX(-50%); z-index: 4; display: flex; gap: .45rem; }
.featured-dot { width: 10px; height: 10px; border-radius: 999px; border: none; background: rgba(255,255,255,.45); padding: 0; }
.featured-dot.is-active { background: #fff; width: 22px; }
/* Banner que ya incluye su propio texto: sin sombra ni título encima; en móvil se ve entero */
.featured-slide.has-text { background: #1f233e; }
.featured-slide.has-text .featured-overlay { background: linear-gradient(0deg, rgba(8,10,40,.55) 0%, rgba(8,10,40,0) 30%); }
.featured-slide.has-text .featured-content { padding-bottom: 1.6rem; }
.featured-slide > a { display: block; height: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 740px) {
  /* En móvil el banner con texto se muestra entero, centrado sobre su color de fondo */
  .featured-slide.has-text img { object-fit: contain; }
  .featured-slide.has-text .featured-content { padding: .8rem 1rem 1.7rem; }
}

.eyebrow { color: var(--primary); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; font-weight: 800; margin: 0 0 .4rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; margin-bottom: 1.2rem; box-shadow: var(--shadow); }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.section-head h2 { margin: .6rem 0; font-size: 1.45rem; letter-spacing: -.01em; }
.section-head p { color: var(--muted); margin: 0; }

/* Formularios y botones */
.search-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .8rem; }
label { display: block; margin-bottom: .35rem; font-weight: 700; font-size: .9rem; color: var(--text); }
input, select, textarea, button { width: 100%; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; color: var(--text); padding: .68rem .8rem; font-size: .95rem; font-family: inherit; }
input::placeholder { color: #9aa0b1; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(6,13,255,.18); border-color: var(--primary); }
button, .btn { cursor: pointer; background: var(--primary); border: 1px solid var(--primary); font-weight: 800; color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background .15s; }
button:hover, .btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
button:disabled { opacity: .6; cursor: default; }
.btn-outline { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line-strong); padding: .62rem .9rem; border-radius: 10px; color: var(--text); font-weight: 700; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.search-grid .actions { display: flex; align-items: end; gap: .5rem; }

/* Tarjetas de eventos */
.concert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1.1rem; }
.concert-card { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.concert-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.concert-card.featured { border-color: rgba(6,13,255,.35); }
.concert-card-link { display: block; background: var(--surface-2); }
.concert-card img { width: 100%; height: 175px; object-fit: cover; display: block; }
.concert-card .content { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.concert-card h3 { margin: .35rem 0 .2rem; font-size: 1.08rem; line-height: 1.25; }
.concert-card p { margin: .25rem 0; color: var(--muted); font-size: .92rem; }
.concert-card .date { color: var(--text); font-weight: 700; }
.card-title-link { color: var(--text); }
.card-title-link:hover { color: var(--primary); }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: auto; padding-top: .75rem; }
.card-actions .btn-outline, .card-actions .ticket-link, .event-detail-actions .btn-outline, .event-detail-actions .ticket-link { width: auto; min-height: 38px; padding: .55rem .95rem; font-size: .9rem; line-height: 1; border-radius: 10px; }
.btn-small { width: auto; padding: .42rem .65rem; font-size: .85rem; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tags span { background: var(--primary-soft); color: var(--primary); border-radius: 999px; padding: .14rem .55rem; font-size: .74rem; font-weight: 700; }

/* Botón de entradas */
.ticket-link { display: inline-flex; align-items: center; justify-content: center; padding: .5rem .9rem; border-radius: 10px; background: var(--primary); border: 1px solid var(--primary); color: #fff; font-weight: 800; }
.ticket-link:hover { background: var(--primary-dark); color: #fff; }
.ticket-link.soon { background: #fff6e0; border-color: #f1d79a; color: var(--warning); cursor: default; }
.ticket-link.soldout { background: #fdeaea; border-color: #f3c2c4; color: var(--danger); cursor: default; }
.price { font-weight: 800; color: var(--text); }
.tags span.days, .facts .days { background: #fff1e0; color: #a14e00; }
.facts .days { display: inline-block; margin-left: .4rem; padding: .1rem .5rem; border-radius: 999px; font-size: .75rem; font-weight: 800; vertical-align: 1px; }
.card-price { color: var(--text) !important; font-weight: 800; font-size: 1.05rem !important; margin-top: .45rem !important; }
.price-box { display: inline-flex; flex-direction: column; gap: .15rem; margin-top: 1.1rem; padding: .85rem 1.3rem; border-radius: 14px; background: var(--primary); color: #fff; box-shadow: 0 8px 22px rgba(6,13,255,.25); }
.price-box span { color: #c9d1ff; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }
.price-box strong { color: #fff; font-size: 2rem; line-height: 1.1; letter-spacing: -.02em; font-weight: 800; }
.location { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.location .location-separator { opacity: .5; }
.map-link { display: inline-flex; align-items: center; justify-content: center; width: 1.45rem; height: 1.45rem; border-radius: 999px; background: var(--primary-soft); font-size: .8rem; line-height: 1; }

/* Calendario */
.panel-calendar { max-width: 760px; margin-inline: auto; }
.panel-calendar .section-head { margin-bottom: .45rem; align-items: baseline; }
.panel-calendar .section-head h2 { font-size: 1.1rem; margin: 0; }
.panel-calendar .section-head p { margin: 0; font-size: .82rem; }
.calendar-controls { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; gap: .45rem; margin-top: .4rem; }
.calendar-controls button { width: 36px; height: 36px; padding: 0; border-radius: 999px; background: #fff; border: 1px solid var(--line-strong); color: var(--text); font-size: 1.2rem; font-weight: 600; line-height: 1; }
.calendar-controls button:hover { border-color: var(--primary); color: var(--primary); background: #fff; }
#calendarTitle { text-align: center; margin: 0; font-size: .95rem; font-weight: 800; }
.calendar-grid { margin-top: .6rem; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .25rem; }
.calendar-cell { min-height: 34px; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 600; background: #fff; }
.calendar-cell.header { background: transparent; border: none; color: var(--muted); font-weight: 800; min-height: 20px; font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; }
.calendar-cell.day { cursor: pointer; color: var(--text); position: relative; padding: 0; width: auto; }
.calendar-cell.day:hover { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.calendar-cell.day.has-events { border-color: rgba(6,13,255,.35); background: var(--primary-soft); color: var(--primary); font-weight: 800; }
.calendar-cell.day.has-events::after { content: ''; position: absolute; bottom: 4px; left: 50%; width: 5px; height: 5px; border-radius: 999px; transform: translateX(-50%); background: var(--primary); }
.calendar-cell.day.selected { background: var(--primary); border-color: var(--primary); color: #fff; }
.calendar-cell.day.selected::after { background: #fff; }
.calendar-cell.muted { background: transparent; border-color: transparent; }
.day-events { margin-top: .6rem; background: var(--surface-2); border-radius: 10px; padding: .7rem .8rem; font-size: .88rem; }
.day-events h4 { margin: 0 0 .35rem; font-size: .9rem; }
.day-events ul { margin: .15rem 0 0; padding-left: 1rem; } .day-events li { margin-bottom: .3rem; } .day-events p { margin: 0; color: var(--muted); }
.day-events span { color: var(--muted); }

/* Pie */
.site-footer { background: var(--navy); color: #c9cde0; margin-top: 2.5rem; }
.footer-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); padding: 2rem 0 1.4rem; }
.footer-grid h3 { margin: .2rem 0 .7rem; color: #fff; font-size: 1.05rem; }
.footer-grid p { color: #aab0c8; margin: .3rem 0; }
.site-footer a { color: #dfe3ff; }
.site-footer a:hover { color: #fff; }
.site-footer input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; }
.site-footer input::placeholder { color: #8d93ad; }
.newsletter-form { display: grid; gap: .5rem; }
.footer-links { list-style: none; padding: 0; margin: 0; } .footer-links li { margin-bottom: .45rem; }
.copyright { text-align: center; padding: 1rem 0 1.2rem; color: #8d93ad; font-size: .88rem; border-top: 1px solid rgba(255,255,255,.08); }
.checkbox-inline { display: flex; align-items: center; gap: .55rem; font-size: .88rem; color: var(--muted); font-weight: 600; }
.site-footer .checkbox-inline { color: #aab0c8; }
.checkbox-inline input { width: auto; }
.small-note { color: var(--muted); font-size: .84rem; }
.site-footer .small-note { color: #8d93ad; }
.alert { border-radius: 10px; padding: .7rem .9rem; margin-bottom: 1rem; border: 1px solid transparent; }
.prose { max-width: 860px; margin-inline: auto; }
.prose h1 { margin-top: .3rem; letter-spacing: -.02em; } .prose h2 { font-size: 1.2rem; margin-top: 1.4rem; } .prose h3 { font-size: 1.05rem; }
.prose p, .prose li { color: #2e3240; }

/* Ficha del evento */
.event-detail-grid { display: grid; grid-template-columns: minmax(260px, 430px) 1fr; gap: 1.6rem; align-items: start; }
.event-detail-media img { width: 100%; border-radius: 12px; max-height: 440px; object-fit: cover; box-shadow: var(--shadow); }
.event-detail-content h1 { margin: 0 0 .3rem; letter-spacing: -.02em; line-height: 1.15; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.event-detail-content .lead { color: var(--muted); font-size: 1.08rem; margin: 0 0 .7rem; }
.facts { display: grid; gap: .65rem; margin: 1rem 0; padding: .9rem 1rem; background: var(--surface-2); border-radius: 12px; }
.facts div { font-weight: 600; }
.facts div b { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; display: block; font-weight: 800; }
.desc { white-space: pre-line; color: #2e3240; }
.event-detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1rem; }

/* Compra / emisión de entradas */
.reg { margin-top: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; background: #fff; box-shadow: var(--shadow); }
.reg h2 { margin: 0 0 .8rem; }
.types { display: grid; gap: .6rem; }
.type { display: flex; align-items: center; gap: .8rem; border: 1px solid var(--line); border-radius: 10px; padding: .7rem .9rem; }
.type .n { flex: 1; } .type .n b { font-size: 1rem; } .type .n small { display: block; color: var(--muted); }
.type select { width: auto; min-width: 72px; }
.type .n small.type-price { color: var(--primary); font-weight: 700; font-size: .95rem; }
.holders { margin-top: .8rem; display: grid; gap: .6rem; }
.holder { border: 1px dashed var(--line-strong); border-radius: 10px; padding: .7rem .9rem; background: var(--surface-2); }
.holder .t { font-size: .76rem; color: var(--muted); font-weight: 800; margin-bottom: .4rem; }
.holder .r { display: grid; gap: .5rem; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .holder .r { grid-template-columns: 1fr 1fr; } }
.reg label { margin-top: .9rem; }
.err { color: var(--danger); font-weight: 700; min-height: 22px; margin-top: .6rem; }
.hp { position: absolute; left: -9999px; }
.btn-primary { padding: .85rem 1.2rem; font-size: 1.05rem; border-radius: 10px; }
.pill { display: inline-block; font-size: .8rem; font-weight: 800; padding: .22rem .65rem; border-radius: 999px; }
.pill.ok { background: #e3f6ec; color: var(--success); } .pill.bad { background: #fdeaea; color: var(--danger); } .pill.wait { background: #fff6e0; color: var(--warning); }

/* Mis entradas */
.tickets { display: grid; gap: 1rem; }
.ticket { display: grid; grid-template-columns: 1fr; gap: 1rem; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--primary); border-radius: 14px; padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
@media (min-width: 600px) { .ticket { grid-template-columns: 1fr 180px; } }
.ticket .qr { text-align: center; } .ticket .qr img { width: 180px; height: 180px; image-rendering: pixelated; }
.ticket .code { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; letter-spacing: .08em; }
.ticket .k { color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.ticket.used, .ticket.void { opacity: .55; border-left-color: var(--line-strong); }
.ticket button { width: auto; background: #fff; color: var(--danger); border: 1px solid #f3c2c4; font-size: .85rem; padding: .5rem .8rem; }
.ticket button:hover { background: #fdeaea; color: var(--danger); border-color: #f3c2c4; }
.notice { background: var(--primary-soft); border: 1px solid #c8cdff; border-radius: 10px; padding: .75rem .95rem; font-size: .95rem; margin-bottom: 1rem; }

@media (max-width: 740px) {
  .nav-wrap { flex-wrap: wrap; row-gap: .3rem; padding: .5rem 0; }
  .main-nav { width: 100%; justify-content: flex-start; gap: 1.2rem; font-size: .92rem; }
  .brand { font-size: 1.15rem; } .brand img { width: 34px; height: 34px; }
  .featured-slide { height: 340px; }
  .featured-content { padding: 1rem 3rem; }
  .featured-description { display: none; }
  .featured-nav { width: 34px; height: 34px; font-size: 1.05rem; }
  .event-detail-grid { grid-template-columns: 1fr; }
  .calendar-cell { min-height: 28px; font-size: .72rem; }
  .hero::after { width: 150px; height: 150px; }
}

/* ---------- Tarjetas de evento (rediseño) ---------- */
.ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.ev-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.ev-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.ev-media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--surface-2); overflow: hidden; }
.ev-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.ev-card:hover .ev-media img { transform: scale(1.03); }
.ev-date { position: absolute; left: 12px; top: 12px; background: #fff; color: var(--text); border-radius: 10px; padding: .35rem .6rem .3rem; text-align: center; min-width: 54px; box-shadow: 0 4px 14px rgba(0,0,0,.18); line-height: 1; }
.ev-date b { display: block; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.ev-date small { display: block; margin-top: .2rem; font-size: .66rem; font-weight: 700; letter-spacing: .08em; color: var(--primary); }
.ev-media .cat { position: absolute; right: 12px; top: 12px; }
.cat { display: inline-block; padding: .28rem .6rem; border-radius: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: #475569; line-height: 1.2; }
.cat-sport { background: #059669; } .cat-music { background: #7c3aed; } .cat-stage { background: #db2777; }
.cat-party { background: #ea580c; } .cat-family { background: #0891b2; } .cat-other { background: #475569; }
.ev-body { padding: 1rem 1.05rem 1.05rem; display: flex; flex-direction: column; flex: 1; }
.ev-body h3 { margin: 0 0 .55rem; font-size: 1.08rem; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.ev-body h3 a { color: var(--text); }
.ev-body h3 a:hover { color: var(--primary); }
.ev-meta { display: flex; align-items: center; gap: .45rem; margin: .2rem 0; color: var(--muted); font-size: .88rem; font-weight: 500; }
.ev-meta .ic { color: var(--primary); }
.ev-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: auto; padding-top: .95rem; border-top: 1px solid var(--line); margin-top: 1rem; }
.price-tag { display: inline-flex; flex-direction: column; justify-content: center; background: var(--primary-soft); border: 1px solid #d3d7ff; border-radius: 10px; padding: .32rem .75rem; line-height: 1.05; }
.price-tag small { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); }
.price-tag b { font-size: 1.35rem; font-weight: 800; color: var(--primary); letter-spacing: -.02em; }
.ev-foot .ticket-link { min-height: 42px; padding: .6rem 1.1rem; font-size: .92rem; }
.ev-more { font-weight: 600; font-size: .9rem; color: var(--muted); }
.ev-more:hover { color: var(--primary); }
.featured-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.featured-meta .ic { color: #c9d1ff; }
.featured-meta .ic:not(:first-child) { margin-left: .6rem; }
.tags .cat { font-size: .68rem; }
.tags span.cat { color: #fff; border-radius: 6px; padding: .22rem .55rem; }
.tags span.cat.cat-sport { background: #059669; } .tags span.cat.cat-music { background: #7c3aed; } .tags span.cat.cat-stage { background: #db2777; }
.tags span.cat.cat-party { background: #ea580c; } .tags span.cat.cat-family { background: #0891b2; } .tags span.cat.cat-other { background: #475569; }
.event-detail-actions .ticket-link { min-height: 50px; padding: .8rem 1.6rem; font-size: 1.05rem; }
.event-detail-actions .btn-outline { min-height: 50px; padding: .8rem 1.2rem; }

/* Franja de fecha y hora encima de la imagen (estilo agenda) */
.ev-when { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .62rem .95rem; background: var(--navy); color: #fff; font-size: .86rem; font-weight: 700; letter-spacing: .01em; }
.ev-when span { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.ev-when .ic { width: 15px; height: 15px; color: #8fa2ff; }
.ev-when-time { color: #c9d1ff; font-weight: 600; }
.ev-media .cat { left: 12px; right: auto; }

.price-tag b, .price-tag small { white-space: nowrap; }
.ev-foot .ticket-link { white-space: nowrap; }
.ev-when { flex-wrap: wrap; row-gap: .2rem; }
.ev-when-date { white-space: normal !important; }
.ev-foot .ticket-link.soon, .ev-foot .ticket-link.soldout { white-space: normal; text-align: center; font-size: .8rem; line-height: 1.2; padding: .45rem .7rem; }
.ev-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.ev-when { flex-wrap: nowrap; font-size: .84rem; padding: .62rem .9rem; }
.ev-when-date { white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 360px) { .ev-when { font-size: .76rem; } .ev-when .ic { display: none; } }

.fact-row { display: flex; flex-wrap: wrap; gap: .65rem 2.2rem; }
.facts .ic { width: 15px; height: 15px; color: var(--primary); vertical-align: -2px; margin-right: .35rem; }

/* Botón AGOTADAS en naranja */
.ticket-link.soldout { background: #ea580c !important; border-color: #ea580c !important; color: #fff !important; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; cursor: default; }
.ticket-link.soon { background: #fff6e0; border-color: #f1d79a; color: #9a6500; }

/* ---- Ayuda */
.help .lead { color: var(--muted); font-size: 1.08rem; margin: 0 0 1.1rem; }
.help-search input { width: 100%; font-size: 1.05rem; padding: .85rem 1rem; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; min-height: 52px; }
.help-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(6, 13, 255, .12); }
.help-topics { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 .4rem; }
.help-topics a { font-size: .9rem; font-weight: 600; padding: .5rem .85rem; border-radius: 999px; background: var(--primary-soft); color: var(--primary); text-decoration: none; }
.help-topics a:hover { background: var(--primary); color: #fff; }
.help-sec { scroll-margin-top: 80px; }
.help-sec h2 { margin: 1.8rem 0 .6rem; }
.faq { border: 1px solid var(--line); border-radius: 12px; margin-bottom: .55rem; background: #fff; scroll-margin-top: 80px; }
.faq summary { cursor: pointer; list-style: none; padding: .95rem 2.6rem .95rem 1.05rem; font-weight: 700; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 1.1rem; top: 50%; width: .55rem; height: .55rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq[open] summary { color: var(--primary); }
.faq .faq-a { padding: 0 1.05rem .95rem; }
.faq .faq-a p:first-child { margin-top: 0; }
.faq .faq-a ul { padding-left: 1.2rem; margin: .4rem 0; }
.faq .faq-a li { margin: .25rem 0; }
.help-none { padding: 1.2rem; text-align: center; color: var(--muted); }
.help-contact { margin-top: 2rem; padding: 1.2rem 1.3rem; border-radius: 14px; background: var(--primary-soft); border: 1px solid #c9ceff; }
.help-contact h2 { margin-top: 0; }
.main-nav a[aria-current="page"] { color: var(--primary); }
#eventos, #calendario { scroll-margin-top: 90px; }
.rgpd-note { margin: .8rem 0 0; line-height: 1.5; color: var(--muted); font-size: .8rem; }
.refund-note { margin: .5rem 0 0; padding: .55rem .75rem; border-radius: 8px; background: #FFF7ED; color: #9A3412; font-size: .82rem; }
