:root {
    --rosa: #f29fc5;
    --violeta: #312783;
    --azul-rosa: #001d7e;
    --crema: #f6f1ee;
    --blanco: #ffffff;
    --texto: #312783;
    --borde: #312783;
    --rosa-suave: rgba(242, 159, 197, 0.22);
    --violeta-suave: rgba(49, 39, 131, 0.10);
    --glow-rosa: rgba(242, 159, 197, 0.34);
    --glow-violeta: rgba(49, 39, 131, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--crema);
    color: var(--texto);
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.narrow {
    width: min(900px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(246, 241, 238, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--borde);
}

.topbar-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.brand-date {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--violeta);
}

.brand-title {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--azul-rosa);
}

.nav {
    display: flex;
    gap: 24px;
    font-size: 0.92rem;
    font-weight: 700;
}

.nav a {
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.nav a:hover::after {
    transform: scaleX(1);
}

.hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    grid-template-columns: 1fr 220px 1fr;
    border-bottom: 1px solid var(--borde);
    overflow: hidden;
}

.hero-split {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 92vh;
    padding: 48px;
    overflow: hidden;
}

.hero-panel-inner {
    position: relative;
    z-index: 2;
    max-width: 440px;
}

.hero-day {
    background: var(--rosa);
    color: var(--violeta);
}

.hero-night {
    background: var(--violeta);
    color: var(--blanco);
    justify-content: flex-end;
    text-align: right;
}

.hero-center {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, var(--rosa) 0 50%, var(--violeta) 50% 100%);
    overflow: hidden;
}

.hero-circle {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 1px solid var(--borde);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    overflow: hidden;
    animation: circlePulse 7s ease-in-out infinite;
    z-index: 2;
    box-shadow:
        0 0 0 1px rgba(49, 39, 131, 0.08),
        0 0 26px rgba(255, 255, 255, 0.25);
}

.hero-circle::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            var(--crema) 0%,
            var(--crema) 50%,
            var(--rosa) 50%,
            var(--rosa) 100%);
}

.hero-circle::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 1px solid rgba(49, 39, 131, 0.28);
}

.hero-circle-date {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--azul-rosa);
}

.hero-label {
    margin: 0 0 18px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.hero-title {
    margin: 0;
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
    text-transform: uppercase;
}

.hero-subtitle,
.hero-side-title {
    margin: 18px 0 0;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    line-height: 1;
    font-weight: 700;
}

.hero-text {
    margin: 18px 0 1em 0;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 36ch;
}

.section {
    position: relative;
    overflow: hidden;
    padding: 88px 0;
    border-bottom: 1px solid var(--borde);
}

.section-light {
    background: var(--crema);
    color: var(--texto);
}

.section-day {
    background: var(--rosa);
    color: var(--violeta);
}

.section-night {
    background: var(--violeta);
    color: var(--blanco);
}

.section-day .artist-description {
    color: var(--violeta);
}

.section-night .artist-description {
    color: var(--blanco);
    opacity: 0.8;
}

.eyebrow {
    position: relative;
    z-index: 2;
    margin: 0 0 14px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.section-heading {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: 0.98;
}

.text-columns {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 28px;
}

.text-columns p,
.section-copy {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.85;
}

.two-col {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.stats {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 32px;
}

.stat {
    border: 1px solid currentColor;
    padding: 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(1px);
}

.section-day .stat {
    background: rgba(255, 255, 255, 0.18);
}

.section-night .stat {
    background: rgba(255, 255, 255, 0.08);
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    opacity: 0.75;
}

.stat-value {
    margin-top: 12px;
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 800;
}

.stat-value-small {
    font-size: 1.1rem;
    line-height: 1.35;
}

.cta-row {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(49, 39, 131, 0.14);
}

.button-day {
    background: var(--violeta);
    color: var(--blanco);
}

.button-night {
    background: var(--rosa);
    color: var(--violeta);
}

.button-footer {
    background: transparent;
    color: var(--blanco);
    border-color: rgba(255, 255, 255, 0.6);
}

.table-wrap {
    position: relative;
    z-index: 2;
    margin-top: 32px;
    overflow-x: auto;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: var(--blanco);
}

.schedule-table col.col-time {
    width: 26%;
}

.schedule-table col.col-talk,
.schedule-table col.col-workshop {
    width: 37%;
}

.schedule-table th,
.schedule-table td {
    border: 1px solid var(--borde);
    padding: 16px 18px;
    text-align: left;
    vertical-align: top;
    font-size: 1rem;
}

.schedule-table th {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

/* .schedule-table th:nth-child(1) {
    background: var(--crema);
    color: var(--violeta);
}

.schedule-table th:nth-child(2) {
    background: var(--rosa);
    color: var(--violeta);
}

.schedule-table th:nth-child(3) {
    background: var(--violeta);
    color: var(--blanco);
} */

.schedule-table-day th {
    background: var(--rosa);
    color: var(--violeta);
}

.schedule-table-night th {
    background: var(--violeta);
    color: var(--blanco);
}

/* .schedule-table td:nth-child(2) {
    background: var(--rosa-suave);
}

.schedule-table td:nth-child(3) {
    background: var(--violeta-suave);
} */

.lineup-header {
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
}

.lineup-block {
    position: relative;
    z-index: 2;
}

.lineup-block+.lineup-block {
    margin-top: 72px;
}

.divider-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 24px;
    color: var(--violeta);
}

.divider-title-night {
    color: var(--azul-rosa);
}

.divider-title::before,
.divider-title::after {
    content: "";
    height: 1px;
    flex: 1;
    background: currentColor;
}

.divider-title span {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.cards-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.artist-card {
    display: flex;
    flex-direction: column;
    background: var(--blanco);
    border: 1px solid var(--borde);
    overflow: hidden;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.artist-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(49, 39, 131, 0.12);
}

.artist-media {
    position: relative;
   aspect-ratio: 4 / 4.2;
    overflow: hidden;
    background: var(--rosa-suave);
}

.artist-media img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.artist-card:hover .artist-media img {
    transform: scale(1.04);
}

.artist-tag {
    position: absolute;
    left: 14px;
    top: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blanco);
}

.artist-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.artist-time {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.artist-name {
    margin: 10px 0 0;
    font-size: 1.55rem;
    line-height: 1.05;
}

.artist-title {
    margin: 10px 0 0;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
}

.artist-description {
    margin: 8px 0 0;
    font-size: 0.88rem;
    line-height: 1.5;
    opacity: 0.7;
    font-style: italic;
    opacity: 0.75;
}

.artist-actions {
    margin-top: auto;
}

.footer {
    background: var(--violeta);
    color: var(--blanco);
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-copy {
    margin: 8px 0 0;
    font-size: 0.95rem;
    opacity: 0.82;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button-footer {
    background: transparent;
    color: var(--blanco);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 28px;
}

.footer-logos img {
    height: 72px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* blancos */
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-logos img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translate3d(0, 90px, 0) scale(0.95);
    filter: blur(4px);
    transition:
        opacity 1.25s ease,
        transform 1.25s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.25s ease;
    will-change: transform, opacity, filter;
}

.reveal.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.reveal-left {
    opacity: 0;
    transform: translate3d(-90px, 44px, 0) scale(0.95);
    filter: blur(4px);
    transition:
        opacity 1.25s ease,
        transform 1.25s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.25s ease;
    will-change: transform, opacity, filter;
}

.reveal-right {
    opacity: 0;
    transform: translate3d(90px, 44px, 0) scale(0.95);
    filter: blur(4px);
    transition:
        opacity 1.25s ease,
        transform 1.25s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.25s ease;
    will-change: transform, opacity, filter;
}

.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.reveal-delay-1 {
    transition-delay: 0.14s;
}

.reveal-delay-2 {
    transition-delay: 0.26s;
}

/* PATTERNS */
.hero-day::after,
.hero-night::after,
.section-day::after,
.section-night::after {
    pointer-events: none;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        background-size 0.3s ease,
        filter 0.3s ease;
}

/* NIGHT = puntitos sueltos */
.hero-night::after,
.section-night::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--rosa) 1.3px, transparent 1.3px);
    background-size: 18px 18px;
    opacity: 0.24;
    filter: drop-shadow(0 0 4px var(--glow-rosa));
}

/* DAY = líneas de puntitos */
.hero-day::after,
.section-day::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(var(--violeta) 1.3px, transparent 1.3px),
        radial-gradient(var(--violeta) 1.3px, transparent 1.3px);
    background-size: 18px 18px, 18px 18px;
    background-position:
        0 0,
        0 34px;
    opacity: 0.22;
    filter: drop-shadow(0 0 4px var(--glow-violeta));
}

/* HOVER PATTERN */
.pattern-hover:hover::after {
    opacity: 0.33;
    background-size: 20px 20px, 20px 20px;
    filter:
        drop-shadow(0 0 7px var(--glow-violeta)) drop-shadow(0 0 7px var(--glow-rosa));
}

/* HERO EXTRA GRAPHIC */
.hero-day::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    left: 72%;
    top: 58%;
    transform: translate(-50%, -50%);
    background: repeating-conic-gradient(rgba(255, 255, 255, 0.92) 0deg 3deg,
            transparent 3deg 12deg);
    opacity: 0.42;
    pointer-events: none;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.24));
}

.hero-night::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -60px;
    top: 90px;
    border-radius: 50%;
    border: 1px solid rgba(242, 159, 197, 0.42);
    pointer-events: none;
    box-shadow: 0 0 18px rgba(242, 159, 197, 0.12);
}

/* ANIMATIONS */
@keyframes circlePulse {
    0% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.03) rotate(1.5deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

@media (max-width: 1100px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-center {
        min-height: 180px;
        background: linear-gradient(to right, var(--rosa) 0 50%, var(--violeta) 50% 100%);
    }

    .hero-split {
        min-height: auto;
    }

    .hero-night {
        justify-content: flex-start;
        text-align: left;
    }

    .hero-day::before {
        left: 50%;
        top: 50%;
        width: 320px;
        height: 320px;
    }

    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .two-col,
    .text-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .nav {
        display: none;
    }

    .topbar-inner {
        min-height: 64px;
    }

    .section {
        padding: 72px 0;
    }

    .hero-split {
        padding: 32px 20px;
    }

    .hero-circle {
        width: 150px;
        height: 150px;
    }

    .hero-circle-date {
        font-size: 1.6rem;
    }

    .hero-day::before,
    .hero-night::before {
        opacity: 0.2;
    }
}

@media (max-width: 640px) {

    .container,
    .narrow {
        width: min(1200px, calc(100% - 24px));
    }

    .cards-grid,
    .stats {
        grid-template-columns: 1fr;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 14px 12px;
        font-size: 0.92rem;
    }

    .footer-inner {
        align-items: flex-start;
    }

    .hero-day::before {
        width: 240px;
        height: 240px;
    }
}