:root {
    --surface: #f4f7fb;
    --surface-elevated: #ffffff;
    --surface-soft: #eaf0fa;
    --surface-dark: #081325;
    --surface-dark-soft: #12213f;
    --text: #122033;
    --muted: #617188;
    --line: rgba(20, 46, 89, 0.12);
    --primary: #1f6dff;
    --primary-dark: #1551bf;
    --primary-soft: #dbe7ff;
    --success: #17966b;
    --warning: #ffb648;
    --danger: #d95858;
    --shadow-sm: 0 14px 30px rgba(11, 24, 45, 0.08);
    --shadow-md: 0 22px 60px rgba(11, 24, 45, 0.14);
    --shadow-lg: 0 34px 90px rgba(5, 17, 37, 0.22);
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 34px;
    --container: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(31, 109, 255, 0.12), transparent 28%),
        linear-gradient(180deg, #f7faff 0%, #f3f7fb 34%, #eef3f9 100%);
    font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Sora", "Manrope", sans-serif;
    letter-spacing: -0.03em;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
}

img,
svg {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
    margin-left: 0;
    margin-right: 0;
    min-width: 0;
}

.header-outer {
    width: 100%;
    padding: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    background: var(--surface-dark);
    color: #fff;
    padding: 0.85rem 1rem;
    border-radius: 999px;
}

.skip-link:focus {
    top: 1rem;
}

.btn {
    --bs-btn-border-radius: 999px;
    border-radius: 999px;
    font-weight: 800;
    min-height: 46px;
    padding-inline: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-width: 1px;
    box-shadow: none;
}

.btn-sm {
    min-height: 40px;
    padding-inline: 1rem;
}

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary-dark);
    --bs-btn-hover-border-color: var(--primary-dark);
    --bs-btn-active-bg: #0f43a5;
    --bs-btn-active-border-color: #0f43a5;
    box-shadow: 0 16px 32px rgba(31, 109, 255, 0.24);
}

.btn-outline-primary {
    --bs-btn-color: var(--primary);
    --bs-btn-border-color: rgba(31, 109, 255, 0.26);
    --bs-btn-hover-bg: var(--primary);
    --bs-btn-hover-border-color: var(--primary);
    --bs-btn-hover-color: #fff;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
}

.btn-light,
.btn-soft {
    color: var(--text);
    background: var(--surface-elevated);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-sm);
}

.btn-glass {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.form-control,
.form-select {
    min-height: 50px;
    border-radius: 18px;
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.94);
    padding-inline: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(31, 109, 255, 0.55);
    box-shadow: 0 0 0 0.22rem rgba(31, 109, 255, 0.14);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
    opacity: 0.35;
}

.eyebrow-light {
    color: rgba(255, 255, 255, 0.9);
}

.site-header {
    padding: 10px 25px; 
    margin: 0;
    width: 100%;
    background: #ffffff;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(20, 46, 89, 0.08);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 24px rgba(11, 24, 45, 0.05);
    background: #ffffff;
}

.header-shell {
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    border-radius: 0;
    background: #ffffff;
    border: 0;
    box-shadow: none;
}

.header-main,
.header-nav,
.header-actions,
.header-search,
.hero-slide-content,
.overview-intro,
.agenda-row,
.category-card,
.promo-card {
    min-width: 0;
}

.header-main {
    display: grid;
    align-items: center;
    gap: 18px;
    grid-template-columns: auto minmax(0, 1fr) minmax(280px, 560px) auto;
    grid-template-areas: "brand nav search actions";
}

.brand-mark {
    grid-area: brand;
    display: inline-flex;
    align-items: center;
    color: var(--text);
    min-height: 62px;
}

.brand-logo {
    width: auto;
    height: 62px;
    max-width: none;
    display: block;
}

.brand-symbol,
.brand-avatar {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #2178ff, #0f3d9e);
    box-shadow: 0 18px 36px rgba(19, 88, 214, 0.28);
    flex: 0 0 auto;
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
}

.brand-copy {
    display: grid;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 1rem;
}

.brand-copy small {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.site-footer .brand-copy,
.site-footer .brand-copy small,
.site-footer .brand-copy strong {
    color: #fff;
}

.header-search {
    grid-area: search;
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    width: 100%;
    max-width: 510px;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 14px 8px 2.8rem;
    border-radius: 999px;
    background: rgba(234, 240, 250, 0.96);
    border: 1px solid rgba(31, 109, 255, 0.12);
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.header-search:focus-within {
    border-color: rgba(31, 109, 255, 0.28);
    background: #fff;
    box-shadow: 0 14px 28px rgba(19, 68, 156, 0.12);
}

.header-search .form-control {
    min-height: 42px;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
    font-weight: 700;
}

.search-icon {
    position: absolute;
    left: 1rem;
    width: 20px;
    height: 20px;
    fill: var(--muted);
}

.header-actions,
.header-nav,
.footer-contact-row,
.hero-actions,
.filter-pills,
.hero-dots,
.hero-slide-meta,
.detail-hero-pills,
.auth-highlights,
.success-actions,
.empty-state-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.header-actions {
    grid-area: actions;
    align-items: center;
    justify-content: end;
}

.header-nav {
    grid-area: nav;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.header-menu-toggle,
.header-mobile-panel {
    display: none;
}

.header-menu-toggle {
    grid-area: toggle;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(31, 109, 255, 0.16);
    border-radius: 16px;
    color: var(--primary);
    background: rgba(234, 240, 250, 0.92);
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(11, 24, 45, 0.08);
}

.header-menu-toggle svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.header-mobile-panel {
    grid-area: panel;
    border-radius: 24px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(20, 46, 89, 0.08);
    box-shadow: var(--shadow-sm);
}

.header-mobile-panel.is-open {
    display: grid;
    gap: 16px;
}

.header-mobile-nav,
.header-mobile-actions {
    display: grid;
    gap: 10px;
}

.header-mobile-nav .nav-link,
.header-mobile-actions .header-link {
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(234, 240, 250, 0.7);
}

.header-mobile-nav .nav-link.nav-link-organizer {
    background: #111;
    color: #fff;
    border: 1px solid #111;
}

.header-mobile-actions .btn {
    width: 100%;
}

.header-link,
.nav-link,
.footer-contact-row a {
    font-weight: 700;
    color: var(--muted);
}

.nav-link.active,
.nav-link:hover {
    color: var(--primary);
}

.nav-link-organizer {
    color: #fff;
    background: #111;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    border: 1px solid #111;
}

.nav-link-organizer:hover,
.nav-link-organizer.active {
    color: #fff;
    background: #000;
    border-color: #000;
}

.hero-carousel {
    position: relative;
    margin-top: 0;
}

.hero-carousel-track {
    position: relative;
    min-height: 620px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 620px;
    padding: 48px 0 92px;
    color: #fff;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.015);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
}

.hero-slide-content {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    justify-items: center;
    text-align: center;
}

.hero-slide h1,
.page-hero h1,
.hotsite-hero h1,
.event-detail-hero h1,
.auth-page h1,
.checkout-title h1 {
    font-size: clamp(2.35rem, 4vw, 4.6rem);
    line-height: 1.03;
    margin: 0.7rem 0 1rem;
}

.hero-slide p,
.page-hero p,
.hotsite-hero p,
.event-detail-hero p,
.overview-intro p,
.auth-copy p,
.checkout-title p {
    color: inherit;
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.92;
}

.institutional-hero {
    padding-bottom: clamp(46px, 5vw, 76px);
}

.institutional-hero h1 {
    max-width: 1180px;
    font-size: clamp(2.25rem, 4.8vw, 4.7rem);
}

.institutional-hero p {
    max-width: 1120px;
}

.hero-slide-meta span,
.detail-hero-pills span {
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    font-weight: 700;
}

.hero-slide-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    width: 100%;
}

.hero-slide-meta {
    flex: 0 1 auto;
    justify-content: center;
    gap: 1rem;
}

.hero-slide-meta span {
    padding-inline: 1.15rem;
}

.hero-actions {
    flex: 0 0 auto;
    justify-content: center;
    gap: 1rem;
}

.hero-carousel-controls {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-dots button {
    width: 12px;
    height: 12px;
    border: 0;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
}

.hero-dots button.is-active {
    width: 36px;
    background: #fff;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    justify-content: center;
    pointer-events: auto;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    pointer-events: auto;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-50%);
}

.hero-arrow svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.hero-arrow-prev {
    left: 0;
}

.hero-arrow-next {
    right: 0;
}

.home-overview,
.content-section,
.detail-content {
    padding: 56px 0;
}

.overview-grid,
.promo-grid,
.footer-grid,
.auth-shell,
.voucher-shell {
    display: grid;
    gap: 20px;
}

.overview-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: start;
}

.stats-grid,
.quick-city-grid,
.category-grid,
.hotsite-grid {
    display: grid;
    gap: 18px;
}

.category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card,
.quick-city-card,
.promo-card,
.category-card,
.search-panel,
.summary-panel,
.detail-panel,
.checkout-panel,
.ticket-row,
.links-profile,
.link-buttons .link-button,
.policy-stack section,
.not-found-panel,
.empty-state,
.campaign-panel {
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-sm);
}

.stat-card,
.quick-city-card,
.promo-card,
.category-card {
    padding: 24px;
}

.stat-card strong {
    font-size: 2rem;
    display: block;
}

.stat-card span,
.quick-city-card span,
.promo-card p,
.event-card-text,
.event-card-details,
.results-bar span,
.footer-brand p,
.policy-stack p,
.policy-list,
.links-profile p,
.auth-event-card span {
    color: var(--muted);
}

.quick-city-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.quick-city-card strong,
.promo-card h2,
.section-heading h2,
.ticket-row h2,
.detail-panel h2,
.summary-panel h2,
.campaign-panel strong,
.empty-state h2,
.not-found-panel h1 {
    margin: 0 0 0.45rem;
}

.quick-city-card:hover,
.promo-card:hover,
.category-card:hover,
.link-button:hover,
.agenda-row:hover,
.ticket-row:hover,
.event-card:hover {
    transform: translateY(-4px);
}

.category-card {
    color: var(--text);
}

.tone-royal {
    background: linear-gradient(135deg, rgba(31, 109, 255, 0.16), rgba(21, 81, 191, 0.06));
}

.tone-sky {
    background: linear-gradient(135deg, rgba(67, 190, 255, 0.18), rgba(31, 109, 255, 0.06));
}

.tone-violet {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.18), rgba(175, 140, 255, 0.06));
}

.tone-amber {
    background: linear-gradient(135deg, rgba(255, 182, 72, 0.2), rgba(255, 214, 127, 0.08));
}

.soft-band {
    background: linear-gradient(180deg, rgba(220, 232, 255, 0.52), rgba(244, 247, 251, 0));
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-heading h2 {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.featured-grid {
    row-gap: 1.5rem;
}

.event-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-art {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    padding: 20px;
    color: #fff;
    background-size: cover;
    background-position: center;
}

.event-art:hover {
    color: #fff;
}

.event-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.event-date-chip,
.status-badge,
.meta-pill,
.ticket-note,
.sector-tag {
    width: fit-content;
    max-width: 100%;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    font-size: 0.77rem;
    font-weight: 800;
}

.event-date-chip {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
}

.status-badge {
    color: #fff;
}

.status-available {
    background: rgba(23, 150, 107, 0.9);
}

.status-soldout {
    background: rgba(217, 88, 88, 0.92);
}

.status-ended {
    background: rgba(97, 113, 136, 0.92);
}

.event-art-copy strong {
    display: block;
    font-size: 1.55rem;
    line-height: 1.18;
}

.event-art-copy small {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    font-weight: 800;
    opacity: 0.9;
}

.event-card-body {
    display: grid;
    gap: 0.9rem;
    padding: 20px;
}

.event-meta-top,
.event-card-details,
.event-card-footer,
.results-bar,
.panel-heading,
.ticket-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.meta-pill {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.ticket-note {
    background: rgba(31, 109, 255, 0.08);
    color: var(--primary);
}

.event-card-details {
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.92rem;
}

.agenda-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.agenda-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-sm);
    color: var(--text);
    transition: transform 0.2s ease;
}

.agenda-date {
    min-width: 86px;
    padding: 14px;
    border-radius: 20px;
    background: var(--surface-soft);
    text-align: center;
}

.agenda-copy {
    display: grid;
}

.agenda-copy span,
.agenda-date span {
    color: var(--muted);
}

.agenda-price {
    font-weight: 800;
    color: var(--primary);
}

.promo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.promo-card a {
    font-weight: 800;
}

.cta-band {
    padding: 68px 0;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(13, 59, 154, 0.96), rgba(31, 109, 255, 0.82)),
        url("https://images.unsplash.com/photo-1492684223066-81342ee5ff30?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.cta-band .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.page-hero,
.page-hero-dark {
    padding: 52px 0 42px;
}

.page-hero-dark {
    color: #fff;
    background:
        linear-gradient(135deg, rgba(10, 24, 52, 0.98), rgba(20, 62, 145, 0.88)),
        url("https://images.unsplash.com/photo-1505236858219-8359eb29e329?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.breadcrumb-wrap {
    margin-bottom: 1rem;
}

.breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
}

.breadcrumb-item,
.breadcrumb-item a {
    color: rgba(97, 113, 136, 0.92);
    font-weight: 700;
}

.page-hero-dark .breadcrumb-item,
.page-hero-dark .breadcrumb-item a,
.hotsite-hero .breadcrumb-item,
.hotsite-hero .breadcrumb-item a,
.event-detail-cover .breadcrumb-item,
.event-detail-cover .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.84);
}

.search-panel {
    padding: 22px;
}

.search-panel label,
.filter-label {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.search-panel-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.filter-bar {
    display: grid;
    gap: 1.25rem;
    padding: 22px;
    margin-bottom: 1rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-sm);
}

.filter-pills a {
    padding: 0.66rem 1rem;
    border-radius: 999px;
    background: rgba(234, 240, 250, 0.9);
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 800;
}

.filter-pills a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 12px 28px rgba(31, 109, 255, 0.22);
}

.results-bar {
    margin-bottom: 1.4rem;
}

.results-bar strong {
    font-size: 1rem;
}

.hotsite-hero,
.event-detail-cover,
.voucher-main {
    color: #fff;
    background-size: cover;
    background-position: center;
}

.hotsite-hero {
    padding: 56px 0 52px;
}

.campaign-panel {
    padding: 24px;
    color: var(--text);
}

.campaign-panel span {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 800;
}

.hotsite-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hotsite-card {
    min-height: 340px;
    padding: 28px;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 0.8rem;
    color: #fff;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-md);
}

.event-detail-cover {
    padding: 56px 0 72px;
}

.detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 420px);
    gap: 24px;
    align-items: end;
}

.floating-buy-card {
    padding: 24px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    box-shadow: var(--shadow-lg);
}

.floating-buy-card strong {
    display: block;
    margin: 0.4rem 0 0.8rem;
    font-size: 2rem;
}

.status-alert {
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.alert-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 18px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-sm);
}

.detail-stack,
.policy-stack,
.links-stack,
.ticket-list {
    display: grid;
    gap: 18px;
}

.detail-panel,
.policy-stack section,
.links-profile,
.not-found-panel,
.empty-state {
    padding: 28px;
}

.sector-list {
    display: grid;
    gap: 14px;
}

.sector-list article,
.sector-list label,
.review-list li,
.checkout-auth-grid article {
    display: grid;
    gap: 0.55rem;
    padding: 18px 20px;
    border-radius: 22px;
    background: var(--surface-soft);
}

.sector-list article,
.sector-list label {
    grid-template-columns: 1fr auto;
    align-items: center;
}

.sector-list label {
    cursor: pointer;
}

.sector-list label input {
    display: none;
}

.sector-list label span {
    display: grid;
}

.sector-list label small,
.review-list span {
    color: var(--muted);
    font-weight: 700;
}

.sector-list label em {
    font-style: normal;
    color: var(--muted);
}

.sector-list label b {
    font-size: 1rem;
}

.selectable label:has(input:checked) {
    border: 2px solid rgba(31, 109, 255, 0.22);
    background: rgba(219, 231, 255, 0.72);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.tag-list span {
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(31, 109, 255, 0.08);
    color: var(--primary-dark);
    font-weight: 800;
}

.check-list {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.75rem;
}

.summary-panel {
    padding: 26px;
}

.summary-panel dl,
.voucher-info dl {
    display: grid;
    gap: 0.9rem;
    margin: 1rem 0 1.2rem;
}

.summary-panel dl div,
.voucher-info dl div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--line);
}

.summary-panel dt,
.voucher-info dt {
    color: var(--muted);
    font-weight: 700;
}

.sticky-summary {
    position: sticky;
    top: 128px;
}

.auth-page,
.checkout-page,
.voucher-page,
.links-page {
    padding: 46px 0 74px;
}

.auth-shell {
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 460px);
    padding: 26px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-md);
}

.auth-copy {
    padding: 12px 10px 12px 6px;
}

.auth-highlights span,
.auth-event-card {
    padding: 0.8rem 1rem;
    border-radius: 18px;
    background: rgba(219, 231, 255, 0.6);
    font-weight: 800;
}

.auth-form {
    display: grid;
    gap: 12px;
    padding: 24px;
    border-radius: 28px;
    background: var(--surface);
}

.auth-form label {
    font-weight: 800;
}

.auth-switch {
    color: var(--muted);
    font-weight: 700;
    text-align: center;
}

.checkout-title {
    margin-bottom: 1.3rem;
}

.checkout-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.checkout-steps li {
    display: grid;
    gap: 0.45rem;
    padding: 14px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.72);
}

.checkout-steps li span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--surface-soft);
    font-weight: 800;
}

.checkout-steps li.active {
    background: rgba(219, 231, 255, 0.72);
    border-color: rgba(31, 109, 255, 0.24);
}

.checkout-steps li.active span,
.checkout-steps li.done span {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.checkout-panel {
    padding: 28px;
}

.checkout-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.payment-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.payment-options label {
    padding: 0.85rem 1rem;
    border-radius: 18px;
    background: var(--surface-soft);
    font-weight: 700;
}

.payment-form {
    display: grid;
    gap: 0.2rem;
}

.payment-form .form-label {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.payment-alert {
    margin: 0 0 1rem;
    padding: 14px 16px;
    border-radius: 18px;
    color: #7a2e0f;
    background: #fff2e7;
    border: 1px solid rgba(245, 131, 31, 0.28);
    font-weight: 700;
}

.payment-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 16px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(31, 109, 255, 0.1), rgba(123, 92, 255, 0.08));
    border: 1px solid rgba(31, 109, 255, 0.12);
}

.payment-callout span {
    color: var(--primary-dark);
    font-weight: 900;
}

.payment-result-card {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(26px, 4vw, 48px);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-lg);
}

.payment-result-card h1 {
    margin: 0.6rem 0 0.9rem;
    font-size: clamp(2rem, 4vw, 3.8rem);
}

.payment-result-card.is-success {
    border-color: rgba(23, 150, 107, 0.24);
}

.payment-result-card.is-danger {
    border-color: rgba(214, 67, 67, 0.22);
}

.payment-result-card.is-pending {
    border-color: rgba(245, 165, 36, 0.26);
}

.payment-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 1.4rem 0;
}

.payment-result-grid div {
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--surface-soft);
}

.payment-result-grid dt {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.payment-result-grid dd {
    margin: 0.3rem 0 0;
    font-weight: 800;
    word-break: break-word;
}

.review-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.review-list li {
    grid-template-columns: 1fr auto;
    align-items: center;
}

.success-state {
    text-align: center;
    display: grid;
    gap: 1rem;
}

.success-icon {
    width: 68px;
    height: 68px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #fff;
    background: linear-gradient(135deg, var(--success), #0c7651);
    font-weight: 800;
    box-shadow: 0 20px 36px rgba(23, 150, 107, 0.24);
}

.checkout-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.ticket-row {
    display: grid;
    grid-template-columns: 170px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 18px;
}

.ticket-thumb {
    min-height: 130px;
    border-radius: 22px;
    background-size: cover;
    background-position: center;
}

.ticket-status-paid {
    color: var(--success);
}

.ticket-status-pending {
    color: #9a6500;
}

.ticket-status-cancelled,
.ticket-status-refunded {
    color: #b3261e;
}

.voucher-shell {
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 380px);
    align-items: stretch;
}

.voucher-main,
.voucher-info {
    padding: 28px;
    border-radius: 32px;
    box-shadow: var(--shadow-md);
}

.voucher-main {
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.voucher-info {
    background: rgba(255, 255, 255, 0.94);
}

.voucher-code {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 6px;
    align-items: end;
    width: min(320px, 100%);
    margin-top: 1rem;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.14);
}

.voucher-code span {
    height: 72px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
}

.voucher-code small {
    grid-column: 1 / -1;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.links-page .container {
    max-width: 860px;
}

.links-profile {
    text-align: center;
}

.links-profile h1 {
    margin: 0.9rem 0 0.8rem;
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.brand-avatar {
    margin: 0 auto 1rem;
}

.link-buttons {
    display: grid;
    gap: 12px;
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    color: var(--text);
    transition: transform 0.2s ease;
}

.link-button.style-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.link-button svg,
.empty-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.not-found-page .container {
    max-width: 860px;
}

.institutional-content {
    padding-top: clamp(24px, 3.2vw, 44px);
}

.institutional-content .container {
    width: 100%;
    max-width: none;
}

.institutional-content .policy-stack {
    width: 100%;
    max-width: none;
}

.links-stack section h2,
.policy-stack section h2 {
    margin-bottom: 0.85rem;
}

.institutional-content .policy-stack section {
    width: 100%;
    padding: clamp(24px, 2.35vw, 42px);
}

.policy-stack section h2 {
    max-width: 1180px;
    font-size: clamp(1.45rem, 2.25vw, 2.15rem);
    line-height: 1.18;
}

.policy-stack section p,
.policy-list {
    max-width: 1180px;
}

.policy-stack section p {
    font-size: 1rem;
    line-height: 1.78;
}

.policy-list {
    display: grid;
    gap: 0.75rem;
    margin: 1rem 0 0;
    padding-left: 1.25rem;
}

.policy-list li {
    line-height: 1.72;
    padding-left: 0.1rem;
}

.empty-state,
.not-found-panel {
    text-align: center;
}

.empty-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 1rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 109, 255, 0.08);
    color: var(--primary);
}

.site-footer {
    padding: 0;
    width: 100%;
    margin: 0;
    background: rgba(7, 19, 37, 0.98);
}

.footer-outer {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.skeleton-card {
    min-height: 260px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.74);
    box-shadow: var(--shadow-sm);
}

.skeleton-card span,
.skeleton-card strong,
.skeleton-card em,
.skeleton-card small {
    display: block;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(219, 231, 255, 0.5), rgba(234, 240, 250, 0.96), rgba(219, 231, 255, 0.5));
    background-size: 200% 100%;
    animation: shimmer 1.8s linear infinite;
}

.skeleton-card span {
    width: 34%;
    height: 18px;
    margin-bottom: 18px;
}

.skeleton-card strong {
    width: 100%;
    height: 28px;
    margin-bottom: 12px;
}

.skeleton-card em {
    width: 78%;
    height: 18px;
    margin-bottom: 12px;
}

.skeleton-card small {
    width: 55%;
    height: 18px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.footer-grid {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    padding: 34px 24px 40px;
    border-radius: 0;
    background: rgba(7, 19, 37, 0.98);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: none;
    margin: 0;
}

.footer-title {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.7rem;
}

.footer-links a,
.footer-contact-row a,
.footer-brand p,
.footer-cnpj {
    color: rgba(255, 255, 255, 0.7);
}

.footer-cnpj {
    margin-top: 1rem;
    font-size: 0.85rem;
}

.art-celebration,
.art-stage,
.art-classic,
.art-samba,
.art-lounge,
.art-sunset {
    background-size: cover;
    background-position: center;
}

@media (max-width: 1199px) {
    .header-main {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas:
            "brand search actions"
            "nav nav nav";
    }

    .header-nav {
        justify-content: start;
        flex-wrap: wrap;
    }

    .header-search {
        max-width: none;
        margin: 0;
    }

    .quick-city-grid,
    .stats-grid,
    .promo-grid,
    .hotsite-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .agenda-list,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .overview-grid,
    .detail-hero-grid,
    .auth-shell,
    .voucher-shell,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .checkout-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-carousel-track {
        min-height: 560px;
    }
}

@media (max-width: 991px) {
    .header-main {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "brand toggle"
            "search search"
            "panel panel";
        gap: 14px;
    }

    .brand-logo {
        height: 56px;
    }

    .header-nav,
    .header-actions {
        display: none;
    }

    .header-menu-toggle {
        display: inline-flex;
    }

    .header-search {
        max-width: none;
        margin: 0;
    }

    .header-subnav,
    .cta-band .container,
    .alert-panel,
    .ticket-row {
        grid-template-columns: 1fr;
    }

    .header-subnav,
    .cta-band .container,
    .alert-panel,
    .ticket-row,
    .ticket-actions {
        display: grid;
    }

    .hero-slide {
        min-height: 540px;
        padding: 52px 0 78px;
    }

    .hero-carousel-track {
        min-height: 540px;
    }

    .hero-slide-toolbar {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-carousel-controls {
        inset: 0;
    }

    .quick-city-grid,
    .promo-grid,
    .stats-grid,
    .hotsite-grid,
    .checkout-auth-grid {
        grid-template-columns: 1fr;
    }

    .search-panel-row,
    .agenda-row,
    .ticket-row {
        grid-template-columns: 1fr;
    }

    .agenda-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sticky-summary {
        position: static;
    }
}

@media (max-width: 767px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header-outer {
        padding: 0;
    }

    .site-header {
        padding: 10px 16px 14px;
    }

    .header-shell,
    .auth-shell,
    .summary-panel,
    .detail-panel,
    .checkout-panel,
    .page-hero,
    .page-hero-dark,
    .links-profile,
    .policy-stack section,
    .ticket-row,
    .voucher-main,
    .voucher-info {
        border-radius: 24px;
    }

    .brand-mark {
        min-height: 48px;
    }

    .brand-logo {
        height: 48px;
    }

    .header-search {
        padding-right: 14px;
    }

    .header-search .form-control {
        font-size: 0.95rem;
    }

    .hero-slide {
        min-height: 500px;
    }

    .hero-carousel-track {
        min-height: 500px;
    }

    .hero-slide h1,
    .page-hero h1,
    .hotsite-hero h1,
    .event-detail-hero h1,
    .auth-page h1,
    .checkout-title h1 {
        font-size: clamp(1.95rem, 8vw, 2.8rem);
    }

    .institutional-hero h1 {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .institutional-hero {
        padding-bottom: 36px;
    }

    .institutional-content .policy-stack section {
        padding: 22px;
    }

    .policy-stack section p,
    .policy-list li {
        font-size: 0.96rem;
        line-height: 1.72;
    }

    .content-section,
    .home-overview,
    .detail-content {
        padding: 56px 0;
    }

    .hero-slide-toolbar {
        gap: 1rem;
    }

    .hero-slide-meta {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0.7rem;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-arrow {
        width: 44px;
        height: 44px;
    }

    .hero-arrow-prev {
        left: 0;
    }

    .hero-arrow-next {
        right: 0;
    }

    .category-grid,
    .agenda-list {
        grid-template-columns: 1fr;
    }

    .checkout-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .checkout-actions {
        flex-direction: column;
    }

    .checkout-actions .btn {
        width: 100%;
    }

    .payment-callout,
    .payment-result-grid {
        grid-template-columns: 1fr;
    }

    .payment-callout {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Institutional documents: full-width cards with readable text lines. */
.institutional-hero {
    padding-top: clamp(40px, 4vw, 64px);
    padding-bottom: clamp(34px, 4vw, 56px);
}

.institutional-content {
    padding-top: clamp(22px, 2.6vw, 38px);
}

.institutional-content .container {
    width: 100%;
    max-width: none !important;
}

.institutional-content .policy-stack {
    width: 100% !important;
    max-width: none !important;
    display: grid;
    gap: clamp(16px, 1.5vw, 22px);
}

.institutional-content .policy-stack section {
    width: 100% !important;
    max-width: none !important;
    border-radius: 24px;
    padding: clamp(24px, 2.4vw, 44px);
}

.institutional-content .policy-stack section h2,
.institutional-content .policy-stack section p,
.institutional-content .policy-list {
    max-width: 1280px;
}

.institutional-content .policy-stack section h2 {
    margin-bottom: 0.85rem;
}

.institutional-content .policy-stack section p {
    margin-bottom: 1rem;
}

.institutional-content .policy-list {
    margin-top: 1rem;
}

@media (min-width: 1200px) {
    .institutional-content .policy-stack section {
        padding-right: clamp(44px, 4vw, 80px);
    }
}

@media (max-width: 767px) {
    .institutional-hero {
        padding-top: 32px;
        padding-bottom: 28px;
    }

    .institutional-content {
        padding-top: 18px;
    }

    .institutional-content .policy-stack {
        gap: 14px;
    }

    .institutional-content .policy-stack section {
        border-radius: 20px;
        padding: 20px;
    }
}
