/* ============================================
   Baraband — Drum Show & School Website
   Dark theme with configurable accent colors
   ============================================ */

/* --- Base Variables + Default Orange Theme --- */
:root {
    /* Layout & typography */
    --bg-dark: #0A0A0A;
    --bg-card: #141414;
    --bg-section: rgba(15, 15, 15, 0.88);
    --bg-elevated: #1A1A1A;
    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;
    --border-color: rgba(255, 255, 255, 0.08);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Default theme: muted yellow (fallback when no data-theme set) */
    --primary: #FFC500;
    --primary-light: #FFD84D;
    --gold: #FFE680;
    --btn-text: #0A0A0A;
    --primary-glow: rgba(255, 197, 0, 0.3);
    --border-hover: rgba(255, 197, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(255, 197, 0, 0.15);
    --primary-a5: rgba(255, 197, 0, 0.05);
    --primary-a6: rgba(255, 197, 0, 0.06);
    --primary-a10: rgba(255, 197, 0, 0.1);
    --primary-a12: rgba(255, 197, 0, 0.12);
    --primary-a15: rgba(255, 197, 0, 0.15);
    --primary-a20: rgba(255, 197, 0, 0.2);
    --primary-a25: rgba(255, 197, 0, 0.25);
    --primary-a30: rgba(255, 197, 0, 0.3);
    --primary-a40: rgba(255, 197, 0, 0.4);
    --site-pattern-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23FFC500' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 24h42l-21 30zM120 24h42l-21 30zM54 126h72l-36 36z'/%3E%3Cpath d='M18 88c18-14 36-14 54 0s36 14 54 0 24-14 36-8'/%3E%3Cpath d='M28 68l18 18-18 18M152 68l-18 18 18 18M86 18v42M94 18v42M86 120v42M94 120v42'/%3E%3C/g%3E%3Cg fill='%23FFC500' opacity='.85'%3E%3Ccircle cx='30' cy='148' r='3'/%3E%3Ccircle cx='54' cy='148' r='3'/%3E%3Ccircle cx='126' cy='148' r='3'/%3E%3Ccircle cx='150' cy='148' r='3'/%3E%3Ccircle cx='90' cy='90' r='4'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---- THEME: Orange (Одержимость) ---- */
html[data-theme="orange"] {
    --primary: #E85D04;
    --primary-light: #F48C06;
    --gold: #FAA307;
    --btn-text: #fff;
    --primary-glow: rgba(232, 93, 4, 0.3);
    --border-hover: rgba(232, 93, 4, 0.4);
    --shadow-glow: 0 0 40px rgba(232, 93, 4, 0.15);
    --primary-a5: rgba(232, 93, 4, 0.05);
    --primary-a6: rgba(232, 93, 4, 0.06);
    --primary-a10: rgba(232, 93, 4, 0.1);
    --primary-a12: rgba(232, 93, 4, 0.12);
    --primary-a15: rgba(232, 93, 4, 0.15);
    --primary-a20: rgba(232, 93, 4, 0.2);
    --primary-a25: rgba(232, 93, 4, 0.25);
    --primary-a30: rgba(232, 93, 4, 0.3);
    --primary-a40: rgba(232, 93, 4, 0.4);
}

/* ---- THEME: Green (Амазонки) ---- */
html[data-theme="green"] {
    --primary: #059669;
    --primary-light: #10B981;
    --gold: #34D399;
    --btn-text: #fff;
    --primary-glow: rgba(5, 150, 105, 0.3);
    --border-hover: rgba(5, 150, 105, 0.4);
    --shadow-glow: 0 0 40px rgba(5, 150, 105, 0.15);
    --primary-a5: rgba(5, 150, 105, 0.05);
    --primary-a6: rgba(5, 150, 105, 0.06);
    --primary-a10: rgba(5, 150, 105, 0.1);
    --primary-a12: rgba(5, 150, 105, 0.12);
    --primary-a15: rgba(5, 150, 105, 0.15);
    --primary-a20: rgba(5, 150, 105, 0.2);
    --primary-a25: rgba(5, 150, 105, 0.25);
    --primary-a30: rgba(5, 150, 105, 0.3);
    --primary-a40: rgba(5, 150, 105, 0.4);
}

/* ---- THEME: Yellow (Основной сайт) ---- */
html[data-theme="yellow"] {
    --primary: #FFC500;
    --primary-light: #FFD84D;
    --gold: #FFE680;
    --btn-text: #1A1A1A;
    --primary-glow: rgba(255, 197, 0, 0.3);
    --border-hover: rgba(255, 197, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(255, 197, 0, 0.15);
    --primary-a5: rgba(255, 197, 0, 0.05);
    --primary-a6: rgba(255, 197, 0, 0.06);
    --primary-a10: rgba(255, 197, 0, 0.1);
    --primary-a12: rgba(255, 197, 0, 0.12);
    --primary-a15: rgba(255, 197, 0, 0.15);
    --primary-a20: rgba(255, 197, 0, 0.2);
    --primary-a25: rgba(255, 197, 0, 0.25);
    --primary-a30: rgba(255, 197, 0, 0.3);
    --primary-a40: rgba(255, 197, 0, 0.4);
}

/* ---- THEME: Red (Одержимость) ---- */
html[data-theme="red"] {
    --primary: #DC2626;
    --primary-light: #EF4444;
    --gold: #F87171;
    --btn-text: #fff;
    --primary-glow: rgba(220, 38, 38, 0.3);
    --border-hover: rgba(220, 38, 38, 0.4);
    --shadow-glow: 0 0 40px rgba(220, 38, 38, 0.15);
    --primary-a5: rgba(220, 38, 38, 0.05);
    --primary-a6: rgba(220, 38, 38, 0.06);
    --primary-a10: rgba(220, 38, 38, 0.1);
    --primary-a12: rgba(220, 38, 38, 0.12);
    --primary-a15: rgba(220, 38, 38, 0.15);
    --primary-a20: rgba(220, 38, 38, 0.2);
    --primary-a25: rgba(220, 38, 38, 0.25);
    --primary-a30: rgba(220, 38, 38, 0.3);
    --primary-a40: rgba(220, 38, 38, 0.4);
}

/* ---- THEME: Purple (Хиппи) ---- */
html[data-theme="purple"] {
    --primary: #9333EA;
    --primary-light: #A855F7;
    --gold: #C084FC;
    --btn-text: #fff;
    --primary-glow: rgba(147, 51, 234, 0.3);
    --border-hover: rgba(147, 51, 234, 0.4);
    --shadow-glow: 0 0 40px rgba(147, 51, 234, 0.15);
    --primary-a5: rgba(147, 51, 234, 0.05);
    --primary-a6: rgba(147, 51, 234, 0.06);
    --primary-a10: rgba(147, 51, 234, 0.1);
    --primary-a12: rgba(147, 51, 234, 0.12);
    --primary-a15: rgba(147, 51, 234, 0.15);
    --primary-a20: rgba(147, 51, 234, 0.2);
    --primary-a25: rgba(147, 51, 234, 0.25);
    --primary-a30: rgba(147, 51, 234, 0.3);
    --primary-a40: rgba(147, 51, 234, 0.4);
}

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

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

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

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: var(--site-pattern-svg);
    background-size: 180px 180px;
    opacity: 0.055;
}

body > * {
    position: relative;
    z-index: 1;
}

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

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

ul, ol {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section--alt {
    background: var(--bg-section);
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
}

h1 { font-size: 4.5rem; }
h2 { font-size: 3.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.3rem; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--primary);
}

.section-title {
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.7;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--btn-text);
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--primary-a40);
}

.btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-a5);
}

.btn--sm {
    padding: 10px 22px;
    font-size: 0.85rem;
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid var(--border-color);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn i {
    font-size: 1.1em;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

.header__logo-img {
    height: 58px;
    width: auto;
    display: block;
    opacity: 0;
}

.header__logo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #FFC500;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
    pointer-events: none;
    -webkit-mask: url('../img/logo-back-white.png') center / contain no-repeat;
    mask: url('../img/logo-back-white.png') center / contain no-repeat;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header__nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

.header__nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.header__nav a:hover,
.header__nav a.active {
    color: #fff;
}

.header__nav a:hover::after,
.header__nav a.active::after {
    width: 100%;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header__social {
    display: flex;
    gap: 8px;
}

.header__social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.header__social a:hover {
    background: var(--primary);
    color: var(--btn-text);
}

/* Mobile burger */
.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.header__burger span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
    border-radius: 2px;
}

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

.header__burger.active span:nth-child(2) {
    opacity: 0;
}

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

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__video-bg video,
.hero__video-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__video-bg img {
    transition: none;
}

.hero__video-bg.has-live-video img {
    opacity: 0;
}

.hero__screen-video {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: none;
}

.hero__screen-video.is-loaded {
    opacity: 1;
}

.hero__screen-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: max(100vw, 177.78vh);
    height: max(100vh, 56.25vw);
    border: 0;
    transform: translate(-50%, -50%);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 10, 10, 0.92) 0%,
        rgba(10, 10, 10, 0.72) 42%,
        rgba(10, 10, 10, 0.34) 70%,
        rgba(10, 10, 10, 0.72) 100%
    ),
    linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.15) 0%,
        rgba(10, 10, 10, 0.36) 58%,
        rgba(10, 10, 10, 1) 100%
    );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding-top: 120px;
}

.hero__logo-mark {
    width: 180px;
    height: auto;
    display: block;
    margin-bottom: 26px;
    opacity: 0.95;
    filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.55));
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--primary-a12);
    border: 1px solid var(--primary-a25);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero__badge i {
    font-size: 0.9rem;
}

.hero__title {
    margin-bottom: 18px;
    line-height: 1.08;
}

.hero__lead {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
    line-height: 1.35;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 34px;
    max-width: 600px;
    line-height: 1.6;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero__stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.hero__stat {
    text-align: left;
}

.hero__stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
    min-width: 4.2ch;
}

.hero__stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0;
    text-transform: uppercase;
    animation: pulse-down 2s ease infinite;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

@keyframes pulse-down {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(8px); }
}

/* --- Programs Section — Showcase Cards --- */
.programs {
    position: relative;
}

.prog-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.prog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.prog-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.prog-card__visual {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-elevated);
}

.prog-card__visual .img-placeholder {
    position: absolute;
    inset: 0;
}

.prog-card__visual img,
.custom-offer__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.prog-card__visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, transparent 60%);
    z-index: 1;
}

.prog-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 6px 14px;
    background: var(--primary);
    color: var(--btn-text);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
    border-radius: 100px;
}

.prog-card__play {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 2;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.prog-card__play:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.prog-card__body {
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.prog-card__title {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.prog-card__tagline {
    font-size: 1rem;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.prog-card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.prog-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.prog-card__tags span {
    padding: 5px 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.prog-card__tags span i {
    color: var(--primary);
    font-size: 0.7rem;
}

.prog-card__btn {
    align-self: flex-start;
}

/* Photo placeholder */
.img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 2rem;
}

/* --- Reviews ticker --- */
.reviews-ticker {
    margin-top: 48px;
    overflow: hidden;
    position: relative;
}

.reviews-ticker::before,
.reviews-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.reviews-ticker::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.reviews-ticker::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.section--alt .reviews-ticker::before {
    background: linear-gradient(to right, var(--bg-section), transparent);
}

.section--alt .reviews-ticker::after {
    background: linear-gradient(to left, var(--bg-section), transparent);
}

.reviews-ticker__track {
    display: flex;
    gap: 20px;
    animation: ticker 35s linear infinite;
    width: max-content;
}

.reviews-ticker__track:hover {
    animation-play-state: paused;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.review-chip {
    flex-shrink: 0;
    padding: 14px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 360px;
    line-height: 1.5;
}

.review-chip__author {
    display: block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--primary-light);
    font-weight: 600;
}

/* --- USP / Versus Comparison Table --- */
.comparison {
    position: relative;
}

.versus {
    margin-top: 48px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.versus__header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 16px;
}

.versus__col-label {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    text-align: center;
}

.versus__col-label--us {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--btn-text);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.versus__col-label--them {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.versus__row {
    display: grid;
    grid-template-columns: 1fr 48px 1fr;
    gap: 0;
    align-items: stretch;
    margin-bottom: 8px;
    min-height: 90px;
}

.versus__cell {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.versus__cell strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.versus__cell span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.versus__cell--us {
    background: var(--primary-a6);
    border: 1px solid var(--primary-a15);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.versus__cell--us:hover {
    background: var(--primary-a10);
    border-color: var(--primary-a30);
}

.versus__cell--us strong {
    color: #fff;
}

.versus__cell--them {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-left: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.versus__cell--them strong {
    color: var(--text-muted);
}

.versus__cell--them span {
    color: var(--text-muted);
    opacity: 0.7;
}

.versus__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-section);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 1rem;
}

.versus__icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-top: 2px;
}

.versus__icon--yes {
    background: var(--primary-a20);
    color: var(--primary);
}

.versus__icon--no {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* --- Show Formats --- */
.formats__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
    max-width: 1180px;
    margin: 56px auto 0;
}

.format-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    grid-column: span 2;
    width: 100%;
    min-width: 0;
    height: 260px;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px var(--border-color);
}

.format-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.format-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.format-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

.format-card__bg {
    position: absolute;
    inset: 0;
    background: var(--bg-card);
    transition: transform 0.6s ease;
}

.format-card__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.34) contrast(1.1) saturate(1.16);
}

.format-card:hover .format-card__bg {
    transform: scale(1.08);
}

.format-card__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(6, 6, 6, 0.92) 0%, rgba(8, 8, 8, 0.66) 46%, rgba(8, 8, 8, 0.18) 100%),
        linear-gradient(to right, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.06));
    z-index: 1;
    transition: var(--transition);
}

.format-card:hover .format-card__overlay {
    background:
        linear-gradient(to top, rgba(4, 4, 4, 0.92) 0%, rgba(7, 7, 7, 0.7) 48%, rgba(7, 7, 7, 0.24) 100%),
        linear-gradient(to right, rgba(0, 0, 0, 0.38), var(--primary-a12));
}

.format-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
}

.format-card__play {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    color: var(--btn-text);
    background: var(--primary);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.36), 0 0 26px var(--primary-a30);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.format-card__play i {
    font-size: 1rem;
}

.format-card:hover .format-card__play,
.format-card:focus-visible .format-card__play {
    transform: scale(1.08);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.44), 0 0 34px var(--primary-a40);
}

.format-card__title {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: #fff;
}

.format-card__desc {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.5;
    font-weight: 500;
}

/* --- CTA Marketing Block --- */
.cta-block {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.cta-block__inner {
    position: relative;
    background: linear-gradient(135deg, var(--primary), #c44000);
    border-radius: var(--radius-xl);
    padding: 64px;
    overflow: hidden;
}

.cta-block__inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    border-radius: 50%;
}

.cta-block__inner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.2), transparent 70%);
    border-radius: 50%;
}

.cta-block__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.cta-block__title {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 16px;
}

.cta-block__text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.cta-block__steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    backdrop-filter: blur(8px);
}

.cta-step__num {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: #fff;
}

.cta-step__text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- Statistics Section --- */
.stats {
    position: relative;
}

.stats__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 48px;
}

.stat-card {
    flex: 1 1 200px;
    max-width: 240px;
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition:
        border-color 2s ease,
        background-color 2s ease,
        box-shadow 2s ease,
        transform 2s ease;
}

.stat-card:hover {
    border-color: var(--border-hover);
    background: var(--primary-a6);
    box-shadow: 0 12px 34px var(--primary-a10);
    transform: translateY(-4px);
    transition-duration: 0.08s;
    transition-timing-function: ease-out;
}

.stat-card__number {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.stat-card__label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* --- Custom Offer Section --- */
.custom-offer {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
    margin-top: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.custom-offer__visual {
    aspect-ratio: 4/3;
    background: var(--bg-elevated);
    position: relative;
}

.custom-offer__content {
    padding: 40px 40px 40px 0;
}

.custom-offer__title {
    font-size: 2rem;
    margin-bottom: 16px;
}

.custom-offer__text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* --- Capability Cards --- */
.capabilities {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.capability-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.capability-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.capability-card:hover::before {
    transform: scaleX(1);
}

.capability-card__icon {
    width: 56px;
    height: 56px;
    background: var(--primary-a10);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.capability-card__title {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.capability-card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.capability-card__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.capability-card__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.capability-card__list li i {
    color: var(--primary);
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    min-width: 18px;
    background: var(--primary-a15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Work Process --- */
.process__timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-top: 48px;
    position: relative;
}

.process-step {
    position: relative;
    text-align: center;
}

.process-step__num {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-a15), var(--primary-a5));
    border: 2px solid var(--primary-a30);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary);
}

.process-step__title {
    font-size: 1rem;
    margin-bottom: 8px;
}

.process-step__desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Partners --- */
.partners__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
}

.partners__grid--chips {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.partner-chip {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.2;
    transition:
        color 2s ease,
        border-color 2s ease,
        background-color 2s ease,
        box-shadow 2s ease,
        transform 2s ease;
}

.partner-chip:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: var(--primary-a10);
    box-shadow: 0 10px 28px var(--primary-a10);
    transform: translateY(-2px);
    transition-duration: 0.08s;
    transition-timing-function: ease-out;
}

.partners__grid img {
    height: 48px;
    filter: grayscale(1) brightness(2);
    transition: var(--transition);
}

.partners__grid img:hover {
    filter: grayscale(0) brightness(1);
    opacity: 1;
}

/* --- Gallery --- */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 190px;
    gap: 12px;
    margin-top: 36px;
}

.gallery__item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery__item:nth-child(1) {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
}

.gallery__item:nth-child(2) {
    grid-column: 3 / span 2;
    grid-row: 1;
}

.gallery__item:nth-child(3) {
    grid-column: 5 / span 2;
    grid-row: 1;
}

.gallery__item:nth-child(4) {
    grid-column: 3 / span 2;
    grid-row: 2;
}

.gallery__item:nth-child(5) {
    grid-column: 5 / span 2;
    grid-row: 2;
}

.gallery__item:nth-child(6) {
    grid-column: 1 / span 2;
    grid-row: 3;
}

.gallery__item:nth-child(7) {
    grid-column: 3 / span 2;
    grid-row: 3;
}

.gallery__item:nth-child(8) {
    grid-column: 5 / span 2;
    grid-row: 3;
}

.gallery__item:nth-child(9) {
    grid-column: 1 / span 2;
    grid-row: 4;
}

.gallery__item:nth-child(10) {
    grid-column: 3 / span 2;
    grid-row: 4;
}

.gallery__item:nth-child(11) {
    grid-column: 5 / span 2;
    grid-row: 4;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery__item:hover .gallery__item__overlay {
    opacity: 1;
}

.gallery__item__overlay i {
    font-size: 1.5rem;
    color: #fff;
}

/* --- Contact Section --- */
.contact {
    position: relative;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-top: 48px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239CA3AF' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-select option {
    background: var(--bg-card);
    color: #fff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-submit {
    margin-top: 8px;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Contact info side */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--primary-a10);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
}

.contact-info__text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-info__text p,
.contact-info__text a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-info__text a:hover {
    color: var(--primary);
}

.contact-info__socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.contact-info__socials a {
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.contact-info__socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* --- Footer --- */
.footer {
    padding: 48px 0 24px;
    border-top: 1px solid var(--border-color);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

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

.footer__links {
    display: flex;
    gap: 24px;
}

.footer__links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

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

/* --- Floating Contact Widget --- */
.float-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.float-widget__items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: var(--transition);
}

.float-widget.active .float-widget__items {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.float-widget__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.float-widget__item:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.float-widget__item i {
    font-size: 1.1rem;
}

.float-widget__toggle {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--btn-text);
    cursor: pointer;
    box-shadow: 0 4px 20px var(--primary-glow);
    transition: var(--transition);
    border: none;
}

.float-widget__toggle:hover {
    transform: scale(1.1);
}

.float-widget.active .float-widget__toggle {
    transform: rotate(45deg);
}

/* --- Form Success/Error Messages --- */
.form-message {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.form-message--success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-message--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* --- Video Modal --- */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    pointer-events: all;
}

.video-modal__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-modal__close:hover {
    background: var(--primary);
}

.video-modal__body {
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16/9;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.video-modal__body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Mobile Navigation Overlay --- */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition);
}

.mobile-nav a:hover {
    color: var(--primary);
}

.mobile-nav__socials {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.mobile-nav__socials a {
    font-size: 1.2rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Map placeholder --- */
.contact__map {
    margin-top: 32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 21/9;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.contact__map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(1) invert(1) brightness(0.6);
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.preloader__spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .header__nav {
        display: none;
    }

    .header__burger {
        display: flex;
    }

    .header__social {
        display: none;
    }

    .header__actions .btn {
        display: none;
    }

    .header__burger {
        margin-left: auto;
    }

    .prog-showcase {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .versus__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .versus__header {
        grid-template-columns: 1fr 1fr;
    }

    .versus__divider {
        display: none;
    }

    .versus__cell--us {
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }

    .versus__cell--them {
        border-left: 1px solid var(--border-color);
        border-top: none;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }

    .custom-offer {
        grid-template-columns: 1fr;
    }

    .custom-offer__content {
        padding: 0 32px 32px;
    }

    .capabilities {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 820px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-block__content {
        grid-template-columns: 1fr;
    }

    .cta-block__inner {
        padding: 48px 32px;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .formats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 820px;
    }

    .format-card {
        grid-column: auto;
        height: 230px;
    }

    .format-card:nth-child(4),
    .format-card:nth-child(5) {
        grid-column: auto;
    }

    .format-card:nth-child(5) {
        grid-column: 1 / -1;
        justify-self: center;
        width: min(100%, 398px);
    }

    .gallery__grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
    }

    .gallery__grid .gallery__item {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery__item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.55rem; }

    .section {
        padding: 64px 0;
    }

    .header__actions .btn {
        display: none;
    }

    .hero__content {
        padding-top: 100px;
    }

    .hero__logo-mark {
        width: 132px;
    }

    .hero__lead {
        font-size: 1.12rem;
    }

    .hero__stats {
        gap: 32px;
    }

    .hero__stat-number {
        font-size: 2rem;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__buttons .btn {
        width: 100%;
    }

    .prog-card__title {
        font-size: 1.3rem;
    }

    .versus__col-label {
        font-size: 1rem;
        padding: 12px 16px;
    }

    .versus__cell {
        padding: 14px;
    }

    .formats__grid {
        grid-template-columns: 1fr;
    }

    .format-card,
    .format-card:nth-child(5) {
        grid-column: auto;
        width: 100%;
        height: 220px;
    }

    .stats__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card {
        max-width: none;
        min-width: 0;
    }

    .custom-offer {
        grid-template-columns: 1fr;
    }

    .custom-offer__content {
        padding: 0 24px 24px;
    }

    .custom-offer__visual {
        aspect-ratio: 16/9;
    }

    .capabilities {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .process__timeline {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 170px;
    }

    .gallery__grid .gallery__item {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery__item:nth-child(1) {
        grid-column: span 2;
    }

    .gallery__item:nth-child(5) {
        grid-column: span 2;
    }

    .gallery__item:nth-child(8) {
        grid-column: span 2;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-block__inner {
        padding: 36px 24px;
    }

    .cta-block__title {
        font-size: 1.9rem;
    }

    .custom-offer__title {
        font-size: 1.55rem;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .float-widget {
        bottom: 16px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.45rem; }
    h2 { font-size: 1.9rem; }

    .container {
        padding: 0 16px;
    }

    .header__logo-img {
        height: 48px;
    }

    .hero__stat-number {
        font-size: 1.6rem;
    }

    .stats__grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .stat-card__number {
        font-size: 2.4rem;
    }

    .gallery__grid {
        grid-template-columns: 1fr;
    }

    .gallery__item:nth-child(1),
    .gallery__item:nth-child(5),
    .gallery__item:nth-child(8) {
        grid-column: span 1;
    }
}

/* --- Utility animations --- */
[data-aos] {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Smooth reveal for lazy images */
.lazy-img {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lazy-img.loaded {
    opacity: 1;
}

/* ============================================
   SVG BACKGROUND PATTERNS
   ============================================ */

.page-pattern {
    position: relative;
}

.page-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    pointer-events: none;
    z-index: 1;
    background-image: var(--pattern-svg);
    background-repeat: repeat;
    background-size: var(--pattern-size, 120px 120px);
}

.page-pattern > .container,
.page-pattern > .hero__content,
.page-pattern > .hero__scroll {
    position: relative;
}

.page-pattern > .hero__video-bg,
.page-pattern > .hero__overlay {
    position: absolute;
}

/* Orange (main page) — no pattern, video background instead */

/* Red — aggressive tribal diagonal slashes */
html[data-theme="red"] .page-pattern::before {
    --pattern-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60 L60 0' stroke='%23DC2626' stroke-width='2' fill='none'/%3E%3Cpath d='M15 60 L60 15' stroke='%23DC2626' stroke-width='1' fill='none'/%3E%3Cpath d='M0 45 L45 0' stroke='%23DC2626' stroke-width='1' fill='none'/%3E%3C/svg%3E");
    --pattern-size: 60px 60px;
    opacity: 0.05;
}

/* Green — flowing organic leaf curves */
html[data-theme="green"] .page-pattern::before {
    --pattern-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cpath d='M20 80 Q50 10 80 80' fill='none' stroke='%23059669' stroke-width='1'/%3E%3Cpath d='M50 10 L50 80' fill='none' stroke='%23059669' stroke-width='0.5'/%3E%3Cpath d='M30 50 Q50 30 70 50' fill='none' stroke='%23059669' stroke-width='0.5'/%3E%3C/svg%3E");
    --pattern-size: 100px 100px;
}

/* Purple — peace sign symbol */
html[data-theme="purple"] .page-pattern::before {
    --pattern-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Ccircle cx='45' cy='45' r='36' fill='none' stroke='%239333EA' stroke-width='1'/%3E%3Cline x1='45' y1='9' x2='45' y2='81' stroke='%239333EA' stroke-width='1'/%3E%3Cline x1='45' y1='45' x2='20' y2='70' stroke='%239333EA' stroke-width='1'/%3E%3Cline x1='45' y1='45' x2='70' y2='70' stroke='%239333EA' stroke-width='1'/%3E%3C/svg%3E");
    --pattern-size: 90px 90px;
}

/* Yellow — sun rays */
html[data-theme="yellow"] .page-pattern::before {
    --pattern-svg: var(--site-pattern-svg);
    --pattern-size: 180px 180px;
    opacity: 0.08;
}

/* ============================================
   CTA gradient overrides per theme
   ============================================ */
html[data-theme="red"] .cta-block__inner {
    background: linear-gradient(135deg, var(--primary), #991b1b);
}
html[data-theme="green"] .cta-block__inner {
    background: linear-gradient(135deg, var(--primary), #065f46);
}
html[data-theme="purple"] .cta-block__inner {
    background: linear-gradient(135deg, var(--primary), #6b21a8);
}
html[data-theme="yellow"] .cta-block__inner {
    background: linear-gradient(135deg, var(--primary), #8A650B);
}

/* ============================================
   Amazonki sub-program 4-column grid
   ============================================ */
.prog-showcase--4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1024px) {
    .prog-showcase--4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .prog-showcase--4col {
        grid-template-columns: 1fr;
    }
}

/* Sub-page back button ghost style */
.btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}
.btn--ghost:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
}
