/* ==========================================================================
   Beauty Forum Landing — Main Stylesheet
   Design canvas: 1366px wide, content max ~1100px centered
   ========================================================================== */

/* ---------- Font Faces ---------- */
@font-face {
    font-family: 'Raleway';
    src: url('/fonts/Raleway-VariableFont_wght.ttf') format('truetype'),
         url('/fonts/Raleway-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('/fonts/Raleway-Italic-VariableFont_wght.ttf') format('truetype'),
         url('/fonts/Raleway-Italic-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* Great Vibes — loaded via Google Fonts CDN in <head> */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Colors — matched to design mockup */
    --color-hero-pink:      #F5E0DA;
    --color-hero-pink-end:  #FAEAE5;
    --color-coral:          #9B4558;
    --color-coral-hover:    #843A4B;
    --color-coral-light:    #B8707E;
    --color-dark:           #3D3D3D;
    --color-dark-section:   #E5E4E7;
    --color-text-muted:     #666666;
    --color-white:          #FFFFFF;
    --color-bg-light:       #F8F4F2;
    --color-partners-bg:    #E8E4E2;
    --color-location-pink:  #E5E4E7;
    --color-footer-bg:      #BE7584;
    --color-divider:        rgba(0, 0, 0, 0.1);
    --color-pink-circle:    #A65266;
    --color-bg-pink:        #F5E0DA;
    --color-bg-pink-light:  #FAF0EC;
    --color-bg-pink-dark:   #E8D0C8;
    --color-speakers-bg:    #474544;
    --color-awaits-bg:      #474544;

    /* Fonts */
    --font-main:   'Raleway', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-accent: 'Great Vibes', cursive;

    /* Layout */
    --max-width: 1100px;
    --header-height: 100px;

    /* Shadows */
    --shadow-sm:   0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md:   0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg:   0 8px 32px rgba(0, 0, 0, 0.10);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);

    /* Radii */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    color: var(--color-dark);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
    outline: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ---------- Utility ---------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: var(--radius-xl);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-coral {
    background: var(--color-coral);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(155, 69, 88, 0.30);
}

.btn-coral:hover {
    background: var(--color-coral-hover);
    box-shadow: 0 6px 24px rgba(155, 69, 88, 0.40);
    transform: translateY(-1px);
}

.btn-coral:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(155, 69, 88, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--color-coral);
    border: 2px solid var(--color-coral);
}

.btn-outline:hover {
    background: var(--color-coral);
    color: var(--color-white);
}


/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    height: var(--header-height);
    border-bottom: none;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
    background: transparent;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 12px 24px 0;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 48px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    border-radius: 60px;
    padding: 12px 36px;
}

.header-nav a {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: capitalize;
    color: rgba(90, 70, 75, 0.75);
    transition: color 0.2s ease;
    position: relative;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-coral);
    transition: width 0.25s ease;
}

.header-nav a:hover {
    color: var(--color-dark);
}

.header-nav a:hover::after {
    width: 100%;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    width: 36px;
    height: 36px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ==========================================================================
   HERO SECTION
   Design Y: 0–900, ~66vh on 1366px canvas
   ========================================================================== */
/* ---------- HERO — new design: composed bg from Photoshop render ---------- */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    padding-top: var(--header-height);
    min-height: 1612px;
    background: linear-gradient(to bottom, #b3afb0, #dedbdc);
}

/* Hero photo with gradient fade on left/right edges */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1366px;
    height: 1612px;
    background: url('/images/hero-bg.jpg') no-repeat center top / 1366px 1612px;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    z-index: 1;
    pointer-events: none;
}

/* Noise grain overlay on hero gradient */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/noise.png') repeat;
    opacity: 0.15;
    mix-blend-mode: overlay;
    z-index: 0;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 6vh 24px 0;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 660px;
}

.hero-title {
    margin: 24px 0 16px;
}

.hero-date {
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #4B4A4A;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-date div {
    display: block;
}

.hero-btn {
    margin-bottom: 0;
    padding: 12px 36px;
    font-size: 1rem;
    border-radius: 9999px;
}

.hero-title-main {
    display: block;
    font-family: var(--font-main);
    font-size: clamp(2.5rem, 7.7vw, 6.6rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
    line-height: 1.05;
}

.hero-subtitle {
    font-family: var(--font-main);
    font-size: clamp(1.2rem, 3.5vw, 3rem);
    font-weight: 900;
    color: var(--color-coral);
    margin-top: 16px;
    letter-spacing: 0.05em;
}

.hero-desc {
    font-family: var(--font-main);
    font-size: clamp(1rem, 2.7vw, 2.3rem);
    font-weight: 400;
    color: #636261;
    margin-top: 8px;
    line-height: 1.5;
    letter-spacing: 0.03em;
}


/* ==========================================================================
   SPEAKER (inside hero)
   ========================================================================== */

/* Watermark "СПИКЕР" — positioned relative to speaker-single */
.speakers-watermark {
    position: absolute;
    font-family: var(--font-main);
    font-size: clamp(3rem, 8vw, 6.3rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    line-height: 1;
    z-index: 0;
    color: #FFFFFF;
    top: 0;
    left: -3rem;
    transform: translateY(-85%);
    opacity: 0.35;
}

/* Single speaker layout: vertical stack, left-aligned — inside hero */
.speaker-single {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 3;
    margin-top: 100px;
    max-width: 480px;
}

.speaker-single-title {
    font-family: var(--font-main);
    font-size: 1.8rem;
    font-weight: 900;
    color: #4B4A4A;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: -0.9em;
    margin-left: 3rem;
    position: relative;
    z-index: 2;
}

.speaker-single-photo {
    position: relative;
    width: 100%;
    max-width: 280px;
    margin-bottom: 20px;
    margin-left: 3rem;
}

.speaker-single-name,
.speaker-single-city,
.speaker-single-desc {
    margin-left: 3rem;
}

.speaker-single-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.speaker-single-name {
    font-family: var(--font-main);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-coral);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.speaker-single-city {
    font-size: 1.2rem;
    color: #4B4A4A;
    margin-bottom: 16px;
}

.speaker-single-desc {
    font-size: 1.2rem;
    color: #4B4A4A;
    line-height: 1.6;
    max-width: 480px;
}

.section-label {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 48px;
}


/* ==========================================================================
   WHAT AWAITS SECTION
   Design Y: 1562–2400, dark graphite #474544 background
   ========================================================================== */
.what-awaits {
    padding: 80px 0 60px;
    background: var(--color-awaits-bg);
    position: relative;
    overflow: hidden;
}

.what-awaits .section-title {
    text-align: left;
    margin-bottom: 48px;
}

.section-title {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.section-title-main {
    display: block;
    font-family: var(--font-main);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--color-white);
    margin-top: 0;
}

.section-title-accent {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    color: var(--color-white);
    font-weight: 400;
    margin-top: 4px;
    text-transform: none;
}

.awaits-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* Card — two columns: left (number+title), right (description) */
.awaits-card {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 24px 48px;
    text-align: left;
    padding: 16px 8px;
    align-items: start;
}

.awaits-card-left {
    display: flex;
}

/* Card header: two-column layout — digit | title, aligned at top */
.awaits-card-header {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    position: relative;
}

/* Circle — decorative bg, digit in upper-left quadrant */
.awaits-card-circle {
    position: absolute;
    top: -22px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #B8687A;
    z-index: 0;
    transition: transform 0.25s ease;
}

.awaits-card:hover .awaits-card-circle {
    transform: scale(1.08);
}

/* Number column — just the digit, minimal width */
.awaits-card-num {
    flex-shrink: 0;
}

/* Digit — positioned closer to center of circle (not at edge) */
.awaits-card-digit {
    position: relative;
    z-index: 1;
    display: block;
    font-family: var(--font-main);
    font-size: 2.7rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
    padding-top: 4px;
    padding-left: 4px;
}

.awaits-card-title {
    position: relative;
    z-index: 1;
    font-size: clamp(2rem, 3.5vw, 2.7rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.25;
}

/* Description — right column */
.awaits-card-desc {
    position: relative;
    z-index: 1;
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    padding-top: 4px;
}


/* ==========================================================================
   PROGRAM / TIMELINE SECTION
   Design Y: 2400–3460, light background #F8F4F2
   ========================================================================== */
.program {
    padding: 90px 0 100px;
    background: #E5E4E7;
    position: relative;
    overflow: hidden;
}

/* Decorative pink brush strokes — layer 5 from TIF (1764x1331, pos -206,2223) */
.program::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5%;
    width: 110%;
    height: 100%;
    background: url('/images/program-strokes.png') center center / cover no-repeat;
    pointer-events: none;
    z-index: 0;
    opacity: 0.22;
    mix-blend-mode: multiply;
}

/* White veil over strokes for airy, watercolor feel */
.program::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    pointer-events: none;
    z-index: 0;
}

.program .container {
    position: relative;
    z-index: 1;
}

.program .section-title {
    text-align: left;
    margin-bottom: 48px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.program-title-text {
    font-family: var(--font-main);
    font-size: clamp(5rem, 12vw, 9rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--color-white);
    display: inline-block;
    margin-left: -24px;
}

.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 0 24px;
    align-items: baseline;
    padding-bottom: 32px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-time {
    font-size: 1.8rem;
    font-weight: 400;
    color: #A55165;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.timeline-desc {
    font-size: 1.6rem;
    line-height: 1.45;
    color: #474544;
    font-weight: 400;
}

.timeline-desc strong {
    color: var(--color-dark);
    font-weight: 600;
}

/* Right column — speaker avatars, 2 per row */
.timeline-speakers {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-self: center;
}

.timeline-speaker {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Avatar wrapper — clips the zoomed-in face into a circle */
.timeline-speaker-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

/* Default face crop — override per speaker via classes */
.timeline-speaker-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    transform: scale(1.2);
    transform-origin: center 9%;
}

/* Stoyanov — face higher in the photo */
.timeline-speaker-avatar.avatar-stoyanov img {
    object-position: center 8%;
    transform: scale(1.4);
    transform-origin: center 12%;
}

/* Vlasenko — face in upper third */
.timeline-speaker-avatar.avatar-vlasenko img {
    object-position: center 15%;
    transform: scale(1.3);
    transform-origin: center 18%;
}

/* Khizhnyak — face in upper portion */
.timeline-speaker-avatar.avatar-khizhnyak img {
    object-position: center 10%;
    transform: scale(1.3);
    transform-origin: center 12%;
}

.timeline-speaker span {
    font-size: 1rem;
    line-height: 1.3;
    color: #A55165;
    font-weight: 400;
}


/* ==========================================================================
   SPONSORS / PARTNERS SECTION
   Design Y: 3467–3634, light gray strip #E8E4E2, ~167px tall
   ========================================================================== */
.sponsors {
    padding: 44px 0;
    background: #3D3D3D;
    background-image: url('/images/partners/strip-bg.png');
    background-size: cover;
    background-position: center;
}

.sponsors-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.sponsor-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.sponsor-logo:hover {
    opacity: 1;
}

.sponsor-placeholder {
    width: 120px;
    height: 40px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-sm);
    opacity: 0.5;
}


/* ==========================================================================
   LOCATION SECTION
   Design Y: 3634–4050, light pink bg #F5E0DA
   ========================================================================== */
.location {
    padding: 80px 0 60px;
    background: var(--color-location-pink);
    text-align: center;
}

.location-heading {
    font-family: var(--font-main);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    font-style: normal;
    text-transform: uppercase;
    color: #636261;
    margin-bottom: 32px;
    letter-spacing: 0.02em;
}

.location-city {
    font-family: var(--font-main);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 6px;
    line-height: 1.4;
}

.location-venue {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 36px;
    line-height: 1.4;
}

.location-address {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 36px;
}

.location-btn {
    padding: 14px 48px;
    font-size: 2rem;
    border-radius: 9999px;
    margin-bottom: 0;
}

/* Socials inside location block */
.socials-inline {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}


/* ==========================================================================
   SOCIALS SECTION
   Design Y: 4048–4180, white/light bg, centered icons (65px circles)
   ========================================================================== */
.socials-label {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--color-dark);
    margin-bottom: 24px;
}

.socials-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}

.social-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.social-link:hover img {
    transform: scale(1.05);
}

.social-link:hover {
    transform: scale(1.08);
}


/* ==========================================================================
   FOOTER
   Design Y: 4222–4563, dark gray bg #3D3D3D
   ========================================================================== */
.site-footer {
    position: relative;
    padding: 48px 0;
    color: var(--color-white);
    font-size: 1rem;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/footer-bg.png') no-repeat center center / cover;
    z-index: 0;
}

.footer-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

.footer-left {
    text-align: left;
}

.footer-collab {
    color: var(--color-white);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.footer-tg-link {
    display: inline-block;
    transition: opacity 0.2s ease;
}

.footer-tg-link:hover {
    opacity: 0.8;
}

.footer-tg-icon {
    width: 48px;
    height: 48px;
}

.footer-right {
    text-align: right;
}

.footer-brand {
    font-weight: 400;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.85);
}

.footer-address {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.footer-contacts {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.footer-phone {
    color: inherit;
    text-decoration: none;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: flex-start;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
    font-size: 1.1rem;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.95);
}


/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-dark);
    padding: 12px 24px;
    border-radius: 9999px;
    align-items: center;
    gap: 14px;
    z-index: 10000;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.cookie-banner.cookie-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner a {
    color: var(--color-dark);
    opacity: 0.6;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.cookie-banner a:hover {
    opacity: 1;
}

.cookie-btn {
    background: rgba(255, 255, 255, 0.45);
    color: var(--color-dark);
    border: none;
    padding: 6px 20px;
    border-radius: 9999px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.cookie-btn:hover {
    background: rgba(255, 255, 255, 0.7);
}


/* ==========================================================================
   TICKET MODAL
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    max-width: 880px;
    width: 100%;
    max-height: 92vh;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1;
    padding-bottom: 2px;
    color: var(--color-dark);
    z-index: 10;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: var(--color-bg-pink-dark);
}

/* Modal header — step indicators */
.modal-header {
    padding: 20px 28px 0;
    flex-shrink: 0;
}

.modal-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.modal-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: #bbb;
    transition: color 0.2s;
}

.modal-step.active {
    color: var(--color-coral);
    font-weight: 600;
}

.modal-step.done {
    color: var(--color-text-muted);
    cursor: pointer;
}

.modal-step.done:hover {
    color: var(--color-coral);
}

.modal-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    background: #eee;
    color: #bbb;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.modal-step.active .modal-step-num {
    background: var(--color-coral);
    color: #fff;
}

.modal-step.done .modal-step-num {
    background: var(--color-bg-pink-dark);
    color: var(--color-coral);
}

.modal-step-label {
    white-space: nowrap;
}

.modal-step-sep {
    width: 20px;
    height: 1px;
    background: #ddd;
    margin: 0 8px;
    flex-shrink: 0;
}

/* Modal body — fixed height container */
.modal-body {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 0;
}

/* Unified two-column layout */
.modal-columns {
    display: flex;
    align-items: stretch;
    padding: 24px 28px;
    gap: 0;
}

.modal-col-left,
.modal-col-right {
    position: relative;
    padding: 8px 0;
}

/* All steps: even 50/50 columns */
.modal-col-left {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 24px;
}

.modal-col-right {
    flex: 1;
    padding-left: 24px;
}

.modal-col-divider {
    width: 1px;
    background: var(--color-divider);
    flex-shrink: 0;
}

/* Content blocks — fade animation */
.col-content {
    display: none;
}

.col-content.active {
    display: block;
    animation: fadeSlideIn 0.35s ease;
}

.col-content.step1-sidebar.active {
    display: flex;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Step 1 "Далее" button inside right column */
.step1-next-wrap {
    margin-top: 24px;
    text-align: center;
    display: none;
}

.step1-next-wrap.visible {
    display: block;
}

.step1-next-wrap .btn {
    width: 100%;
}

/* Step 1 sidebar — unified layout (display set via .active override) */
.step1-sidebar {
    flex-direction: column;
    height: 100%;
    text-align: center;
}

.step1-header {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-divider);
    margin-bottom: 16px;
}

.step1-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.step1-event {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.step1-hint {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-coral);
}

.step1-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sidebar prompt (before sector selected) */
.sidebar-prompt {
    text-align: center;
    padding: 20px 8px;
    color: var(--color-text-muted);
}

.sidebar-prompt-icon {
    font-size: 1.6rem;
    margin-bottom: 8px;
    opacity: 0.3;
}

.sidebar-prompt-text {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
}

/* Sector info (after sector selected on step 1) */
.sector-info {
    text-align: center;
    display: none;
}

.sector-info.visible {
    display: block;
    animation: fadeSlideIn 0.3s ease;
}

.sector-info-letter {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #FCE4EC;
    border: 2.5px solid #E91E63;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: #333;
    margin: 0 auto 12px;
}

.sector-info-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.sector-info-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-coral);
    margin-bottom: 4px;
}

.sector-info-price small {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.sector-info-available {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* Hall map */
.hall-map-img {
    position: relative;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: visible;
}

.hall-map-img img {
    width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

/* Sector circle buttons */
.sector-circle {
    position: absolute;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid #E91E63;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 2;
    user-select: none;
}

.sector-circle:hover {
    border-color: #C2185B;
    box-shadow: 0 3px 12px rgba(233,30,99,0.3);
    background: #FFF0F3;
}

.sector-circle.selected {
    border-color: #C2185B;
    background: #FCE4EC;
    box-shadow: 0 3px 12px rgba(233,30,99,0.4);
}

.sector-circle.sold-out {
    opacity: 0.45;
    pointer-events: none;
    cursor: default;
    border-color: #ccc;
    background: #f0f0f0;
    box-shadow: none;
}

.sector-circle.sold-out .sector-circle-letter {
    color: #999;
}

.sector-circle.sold-out .sector-circle-price {
    font-size: 0.5rem;
}

.sector-circle-label {
    font-size: 0.45rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #999;
    text-transform: uppercase;
    line-height: 1;
}

.sector-circle-letter {
    font-size: 1.3rem;
    font-weight: 900;
    color: #333;
    line-height: 1.1;
}

.sector-circle-price {
    font-size: 0.58rem;
    font-weight: 700;
    color: #E91E63;
    line-height: 1.2;
}

/* Mobile sectors list */
.sectors-list-mobile {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.sector-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--color-bg-pink-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.sector-list-item:hover {
    border-color: var(--color-coral-light);
}

.sector-list-item.selected {
    border-color: var(--color-coral);
    background: var(--color-white);
}

.sector-list-item.sold-out {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}

.sector-list-item-soldout {
    font-size: 0.8rem;
    font-weight: 600;
    color: #999;
}

.sector-list-item-name {
    font-size: 0.95rem;
    font-weight: 600;
}

.sector-list-item-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

.sector-list-item-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-coral);
}

/* Column title — larger, centered */
.step-col-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    text-align: center;
}

/* Sector summary (step 2 left) */
.sector-summary {
    text-align: center;
}

.sector-summary-letter {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #FCE4EC;
    border: 2.5px solid #E91E63;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: #333;
    margin: 0 auto 12px;
}

.sector-summary-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.sector-summary-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-coral);
    margin-bottom: 4px;
}

.sector-summary-price small {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.sector-summary-available {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Order summary (step 3 left) */
.order-summary {
    font-size: 0.95rem;
    line-height: 1.6;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-divider);
}

.order-summary-row:last-child {
    border-bottom: none;
}

.order-summary-label {
    color: var(--color-text-muted);
}

.order-summary-value {
    font-weight: 700;
}

.order-summary-total {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 2px solid var(--color-divider);
    text-align: center;
}

.order-summary-total-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.order-summary-total-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-coral);
}

/* Quantity selector */
.quantity-wrap {
    text-align: center;
    padding-top: 20px;
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.quantity-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-bg-pink);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    border: 1px solid var(--color-divider);
}

.quantity-btn:hover {
    background: var(--color-bg-pink-dark);
}

.quantity-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.quantity-value {
    font-size: 1.8rem;
    font-weight: 700;
    min-width: 40px;
    text-align: center;
}

.total-line {
    margin-top: 20px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.total-amount {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-dark);
}

.total-line-final {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--color-divider);
}

/* Form fields */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--color-divider);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: var(--color-dark);
    background: var(--color-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-coral);
    box-shadow: 0 0 0 3px rgba(155, 69, 88, 0.12);
}

.form-group input::placeholder {
    color: #bbb;
}

.form-error {
    font-size: 0.8rem;
    color: var(--color-coral);
    margin-top: 4px;
    display: none;
}

.form-group.has-error input {
    border-color: var(--color-coral);
}

.form-group.has-error .form-error {
    display: block;
}

/* Navigation buttons — always in flow, invisible on step 1 */
.modal-nav {
    display: flex;
    gap: 12px;
    padding: 16px 28px 24px;
    flex-shrink: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.modal-nav.visible {
    visibility: visible;
    opacity: 1;
}

.modal-nav .btn {
    flex: 1;
}

.btn-back {
    background: var(--color-bg-pink);
    color: var(--color-dark);
}

.btn-back:hover {
    background: var(--color-bg-pink-dark);
}

/* Error / Loading states */
.modal-loading {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 20;
}

.modal-loading.active {
    display: flex;
}

.spinner {
    display: inline-block;
    width: 36px;
    height: 36px;
    border: 3px solid var(--color-bg-pink-dark);
    border-top-color: var(--color-coral);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.modal-error {
    text-align: center;
    padding: 12px 28px;
    background: #FFF0F0;
    color: var(--color-coral);
    font-size: 0.9rem;
    display: none;
}

.modal-error.visible {
    display: block;
}

/* Step 1 mobile header — hidden on desktop, shown above map on mobile */
.step1-mobile-header {
    display: none;
}

/* Step 3 mobile combined title — hidden on desktop */
.step3-mobile-title {
    display: none;
}


/* ==========================================================================
   PAYMENT RESULT PAGES
   ========================================================================== */
.payment-result {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-pink);
    padding: 40px 24px;
    text-align: center;
}

.payment-result-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 60px 48px;
    max-width: 520px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.payment-result-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
}

.payment-result-icon.success {
    background: #E8F5E9;
    color: #4CAF50;
}

.payment-result-icon.fail {
    background: #FFEBEE;
    color: var(--color-coral);
}

.payment-result-card h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.payment-result-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.payment-result-card .btn + .btn {
    margin-left: 12px;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Large tablets / small desktops */
@media (max-width: 1100px) {
    .speaker-card {
        width: 240px;
    }

    .speaker-photo {
        width: 240px;
        height: 320px;
        border-radius: 34px;
    }

    .speakers-heading {
        padding-left: 5%;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .hero {
        min-height: 100vh;
        min-height: 100svh;
    }

    .hero-inner {
        padding: 10vh 24px 0;
        padding-top: 10svh;
    }

    .hero-title {
        margin: 16px 0 12px;
    }

    .speaker-card {
        width: 200px;
    }

    .speaker-photo {
        width: 200px;
        height: 268px;
        border-radius: 30px;
    }

    .speakers-watermark {
        font-size: clamp(4rem, 10vw, 7rem);
    }

    .timeline-item {
        grid-template-columns: 80px 1fr;
        gap: 0 16px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --header-height: 56px;
    }

    .header-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .header-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .header-nav a {
        display: block;
        padding: 14px 24px;
        font-size: 0.85rem;
    }

    .header-nav a::after {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-inner {
        justify-content: center;
        position: relative;
    }

    .hero {
        min-height: auto;
        padding-top: var(--header-height);
        padding-bottom: 40px;
        background: linear-gradient(to bottom, #b3afb0, #dedbdc);
    }

    .hero::before {
        display: none;
    }

    .hero-inner {
        padding: 20px 20px 0;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-date {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .hero-btn {
        font-size: 0.85rem;
        padding: 10px 28px;
    }

    .hero-title {
        margin: 16px 0 12px;
    }

    .hero-title-main {
        font-size: clamp(2.2rem, 9vw, 3.5rem);
    }

    .hero-subtitle {
        font-size: 1.3rem;
        margin-top: 10px;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .speakers-watermark {
        font-size: 3rem;
        left: 50%;
        transform: translateX(-50%) translateY(-85%);
    }

    .speaker-single {
        align-items: center;
        margin-top: 3rem;
        max-width: 100%;
    }

    .speaker-single-title {
        margin-left: 0;
    }

    .speaker-single-photo {
        max-width: 200px;
        margin-left: 0;
    }

    .speaker-single-name,
    .speaker-single-city,
    .speaker-single-desc {
        margin-left: 0;
        text-align: center;
    }

    .section-title-accent {
        font-size: 2.4rem;
    }

    .what-awaits {
        padding: 60px 0 80px;
    }

    .awaits-card {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 380px;
    }

    .awaits-card-desc {
        font-size: 1.05rem;
        margin-left: 38px;
    }

    .program {
        padding: 60px 0 80px;
    }

    .program-title-text {
        font-size: clamp(2.8rem, 10vw, 5rem);
        margin-left: 0;
    }

    .timeline-item {
        grid-template-columns: 65px 1fr;
        gap: 2px 10px;
        padding-bottom: 20px;
    }

    .timeline-time {
        font-size: 1.1rem;
    }

    .timeline-desc {
        font-size: 0.95rem;
    }

    .timeline-speakers {
        grid-column: 1 / -1;
        margin-top: 8px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .timeline-speaker {
        gap: 6px;
    }

    .timeline-speaker-avatar {
        width: 36px;
        height: 36px;
    }

    .timeline-speaker span {
        font-size: 0.75rem;
    }

    .location {
        padding: 60px 0 80px;
    }

    /* Modal — single column on mobile */
    .modal {
        max-width: 100%;
        max-height: 100vh;
        max-height: 100dvh;
        border-radius: var(--radius-md);
        margin: 0;
    }

    .modal-body {
        height: auto !important;
        overflow-y: auto;
    }

    .modal-columns {
        flex-direction: column;
        padding: 12px 16px;
    }

    .modal-header {
        padding: 14px 16px 0;
    }

    /* Hide step labels — only numbers on mobile */
    .modal-step-label {
        display: none;
    }

    .modal-nav {
        padding: 10px 16px 16px;
    }

    .modal-nav .btn {
        padding: 11px 16px;
        font-size: 0.85rem;
    }

    /* Show map on mobile (was hidden) */
    .hall-map-img {
        display: block;
    }

    /* Hide sectors list — map is shown with clickable sectors */
    .sectors-list-mobile {
        display: none !important;
    }

    /* Show mobile header above map, hide desktop sidebar header */
    .step1-mobile-header {
        display: block;
        text-align: center;
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: 1px solid var(--color-divider);
    }

    .step1-sidebar .step1-header {
        display: none;
    }

    /* Smaller sector circles on mobile */
    .sector-circle {
        width: 50px;
        height: 50px;
    }

    .sector-circle-label {
        font-size: 0.38rem;
    }

    .sector-circle-letter {
        font-size: 1rem;
    }

    .sector-circle-price {
        font-size: 0.48rem;
    }

    /* Hide arrow on mobile (content is below, not left) */
    .sidebar-prompt-icon {
        display: none;
    }

    /* Compact step1 mobile header text */
    .step1-mobile-header .step1-title {
        font-size: 1rem;
    }

    .step1-mobile-header .step1-event {
        margin-bottom: 6px;
        font-size: 0.8rem;
    }

    .step1-mobile-header .step1-hint {
        font-size: 0.75rem;
    }

    .step1-body {
        padding: 4px 0;
    }

    .step1-next-wrap {
        margin-top: 12px;
    }

    /* Compact sector info on mobile */
    .sector-info-letter {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .sector-info-name {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }

    .sector-info-price {
        font-size: 1.05rem;
        margin-bottom: 1px;
    }

    .sector-info-available {
        font-size: 0.78rem;
        margin-top: 1px;
    }

    /* Step 3: combined mobile title, hide individual titles */
    .step3-mobile-title {
        display: block;
        font-size: 0.95rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--color-text-muted);
        margin-bottom: 12px;
        text-align: center;
    }

    [data-col="left-3"] .step-col-title,
    [data-col="right-3"] .step-col-title {
        display: none;
    }

    /* Compact form on mobile step 3 */
    .form-group {
        margin-bottom: 10px;
    }

    .form-group label {
        font-size: 0.76rem;
        margin-bottom: 3px;
    }

    .form-group input {
        padding: 9px 12px;
        font-size: 0.9rem;
    }

    /* Compact order summary on mobile */
    .order-summary-row {
        padding: 5px 0;
        font-size: 0.88rem;
    }

    .order-summary-total {
        margin-top: 8px;
        padding-top: 8px;
    }

    .order-summary-total-value {
        font-size: 1.15rem;
    }

    /* Compact quantity on mobile */
    .quantity-wrap {
        padding-top: 12px;
    }

    .quantity-value {
        font-size: 1.4rem;
    }

    .quantity-btn {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .total-line {
        margin-top: 12px;
    }

    .total-amount {
        font-size: 1.15rem;
    }

    .modal-col-left,
    .modal-col-right {
        flex: none !important;
        max-width: 100% !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .modal-col-left {
        padding-bottom: 12px;
    }

    .modal-col-divider {
        width: 100%;
        height: 1px;
    }

    .modal-col-right {
        padding-top: 12px;
    }

    .sponsors-row {
        gap: 20px;
    }

    .sponsor-logo {
        height: 32px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: left;
    }

    .footer-left,
    .footer-right {
        text-align: left;
    }

    .footer-links {
        align-items: flex-start;
    }

    .payment-result-card {
        padding: 40px 24px;
    }

    .payment-result-card .btn {
        display: block;
        width: 100%;
    }

    .payment-result-card .btn + .btn {
        margin-left: 0;
        margin-top: 12px;
    }
}

/* Small mobile */
@media (max-width: 420px) {
    .container {
        padding: 0 16px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.78rem;
    }

    .awaits-card-circle {
        width: 50px;
        height: 50px;
    }

    .awaits-card-digit {
        font-size: 1.2rem;
    }

    .awaits-card-desc {
        margin-left: 28px;
    }
}

/* Print */
@media print {
    .site-header,
    .modal-overlay,
    .btn-coral {
        display: none !important;
    }
}
