/* ================================
   FONTS
   ================================ */
@font-face {
    font-family: 'Benzin';
    src: url('fonts/Benzin-ExtraBold.woff2') format('woff2'),
         url('fonts/Benzin-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'BebasNeueCyrillic';
    src: url('fonts/BebasNeueCyrillic.woff2') format('woff2'),
         url('fonts/BebasNeueCyrillic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'FriskyWind';
    src: url('fonts/Frisky_Wind.woff2') format('woff2'),
         url('fonts/Frisky_Wind.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ================================
   ROOT — OLED DARK + STREET
   ================================ */
:root {
    --bg:           #0a0a0a;
    --bg-2:         #111111;
    --bg-3:         #181818;
    --bg-4:         #202020;
    --border:       rgba(255,255,255,0.07);
    --border-mid:   rgba(255,255,255,0.13);
    --purple:       #9b32ff;
    --purple-light: #b44fff;
    --purple-dim:   rgba(155,50,255,0.10);
    --purple-glow:  0 0 40px rgba(155,50,255,0.4);
    --text:         #f0f0f0;
    --text-2:       #b0b0b0;
    --text-3:       #707070;
    --font-d:       'BebasNeueCyrillic', 'Barlow Condensed', sans-serif;
    --font-b:       'Space Grotesk', sans-serif;
    --ease:         0.25s ease;
    --ease-out:     0.5s cubic-bezier(0.16,1,0.3,1);
    --max:          1200px;
    --pad:          clamp(24px, 5vw, 72px);
}

/* ================================
   RESET
   ================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-b);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ================================
   TYPOGRAPHY
   ================================ */
.section-title {
    font-family: var(--font-d);
    font-size: clamp(48px, 6vw, 88px);
    line-height: 1;
    color: var(--text);
    text-align: center;
}

.section-tag {
    font-family: var(--font-b);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--purple-light);
    text-align: center;
    display: block;
    margin-bottom: 14px;
}

.section-header {
    margin-bottom: 56px;
    text-align: center;
}
.section-header p {
    font-size: 16px;
    color: var(--text-2);
    margin-top: 16px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ================================
   LAYOUT
   ================================ */
.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
}
section { padding: clamp(80px, 10vw, 140px) 0; }

/* ================================
   BUTTONS
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 36px;
    font-family: var(--font-b);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    transition: all var(--ease);
    border-radius: 2px;
}
.btn-primary {
    background: var(--purple);
    color: #fff;
}
.btn-primary:hover {
    background: var(--purple-light);
    transform: translateY(-2px);
    box-shadow: var(--purple-glow);
}
.btn-glass {
    background: rgba(255,255,255,0.08);
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.btn-glass:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--text-2);
    border: 1px solid var(--border-mid);
}
.btn-outline:hover {
    color: var(--purple-light);
    border-color: rgba(155,50,255,0.5);
    transform: translateY(-2px);
}

/* ================================
   NAVIGATION
   ================================ */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background var(--ease), border-color var(--ease);
    border-bottom: 1px solid transparent;
}
#navbar.scrolled {
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border);
}

.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--pad);
    height: 88px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--ease);
}
.nav-logo:hover { opacity: 0.75; }
.nav-logo-img { height: 64px; width: auto; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}
.nav-links--left { justify-content: flex-start; }
.nav-links--right { justify-content: flex-end; }
.nav-links a {
    padding: 8px 14px;
    font-family: var(--font-b);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.6);
    border-radius: 2px;
    transition: color var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-phone {
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.02em;
}
.nav-links .nav-phone:hover { color: #fff; }
.nav-links .nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 9px 22px;
    margin-left: 8px;
    background: var(--purple);
    color: #fff;
    font-family: var(--font-b);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    border: none;
    cursor: pointer;
    transition: all var(--ease);
    border-radius: 2px;
}
.nav-links .nav-cta:hover { background: var(--purple-light); box-shadow: var(--purple-glow); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text);
    transition: all var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile fullscreen overlay menu */
.nav-mobile-overlay {
    display: none;
}
.mob-br { display: none; }

/* ================================
   HERO — FULLSCREEN
   ================================ */
#hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('images/hero-bg.jpg') center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0,0,0,0.25);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 120px var(--pad) 120px;
    max-width: 1000px;
}

.hero-title {
    font-family: var(--font-d);
    font-size: clamp(48px, 7.5vw, 120px);
    line-height: 1;
    color: #fff;
    margin-top: 40px;
    margin-bottom: 20px;
    text-shadow: 0 4px 40px rgba(0,0,0,0.5);
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-slogan {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.04em;
    margin-bottom: 44px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.hero-address {
    position: absolute;
    bottom: 36px;
    left: var(--pad);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.65);
    font-family: var(--font-b);
    font-size: 13px;
    transition: color var(--ease);
}
.hero-address:hover { color: rgba(255,255,255,0.9); }

.drums-address {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-family: var(--font-b);
    font-size: 13px;
    margin-bottom: 16px;
    transition: color var(--ease);
}
.drums-address:hover { color: var(--text-2); }

.hero-socials {
    position: absolute;
    bottom: 28px;
    right: var(--pad);
    z-index: 2;
    display: flex;
    gap: 10px;
}

.hero-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 4px;
    color: rgba(255,255,255,0.8);
    transition: all var(--ease);
}
.hero-social-btn:hover {
    border-color: var(--purple);
    color: #fff;
    background: rgba(155,50,255,0.15);
}


/* slider arrows + dots — desktop прихований */
.reviews-slider-wrap {
    position: relative;
}
.reviews-arrow { display: none; }
.reviews-dots  { display: none; }

/* ================================
   SERVICES
   ================================ */
#services { background: var(--bg-2); }

/* tabs — прибрані на десктопі, акордеон на мобайлі */
.tabs     { display: none; }
.tab-btn  { display: none; }

/* всі панелі видимі на десктопі */
.tab-panel { display: block; }

/* три колонки */
.tab-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.barber-info {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding: 16px 18px;
    background: var(--bg-3);
    border-top: 2px solid var(--purple);
    border-bottom: 1px solid var(--border);
}
.barber-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-4);
    flex-shrink: 0;
    border: 2px solid rgba(155,50,255,0.4);
}
.barber-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.barber-avatar--placeholder {
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-d); font-size: 18px; color: var(--purple);
}
.barber-name {
    font-family: var(--font-b);
    font-size: 16px; font-weight: 700;
    color: var(--text); margin-bottom: 2px;
}
.barber-role { font-size: 12px; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; }

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    background: transparent;
    border: none;
    counter-reset: service-counter;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 14px 14px 14px;
    background: var(--purple);
    border-radius: 0;
    border: none;
    cursor: default;
    counter-increment: service-counter;
    transition: filter var(--ease);
}
.service-card:hover { filter: brightness(1.1); }

/* номер — чорний квадрат зліва */
.service-card::before {
    content: counter(service-counter, decimal-leading-zero);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    background: #000;
    color: #fff;
    font-family: var(--font-b);
    font-size: 13px;
    font-weight: 700;
    border-radius: 2px;
    flex-shrink: 0;
    letter-spacing: 0.04em;
}

.service-name {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
}

/* ціна — білий прямокутник */
.service-price {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    background: #fff;
    color: var(--purple);
    padding: 8px 14px;
    border-radius: 2px;
    font-family: var(--font-b);
    font-size: 20px;
    font-weight: 800;
    white-space: nowrap;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}
.service-price small {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0.75;
}

.section-cta {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* accordion — прихований на десктопі */
.accordion-header { display: none; }
.accordion-body   { display: contents; }

/* ================================
   PORTFOLIO
   ================================ */
#portfolio { background: var(--bg); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.gallery-item {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--bg-3);
    cursor: pointer;
    position: relative;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0,0,0,0);
    transition: background var(--ease);
}
.gallery-item:hover::after { background: rgba(0,0,0,0.4); }

.gallery-item--video::before {
    content: '▶ ВІДЕО';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 3;
    padding: 48px 14px 13px;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.75);
    pointer-events: none;
}

.play-btn {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%) scale(0.8);
    z-index: 2;
    width: 58px; height: 58px;
    background: var(--purple);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0;
    transition: all var(--ease);
    border: none; border-radius: 50%;
}
.play-btn svg { width: 22px; height: 22px; margin-left: 3px; }
.gallery-item:hover .play-btn {
    opacity: 1;
    transform: translate(-50%,-50%) scale(1);
}

/* ================================
   REVIEWS
   ================================ */
#reviews { background: var(--bg-2); }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}
.review-card {
    padding: 28px 24px;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 2px;
    position: relative;
    transition: transform var(--ease), box-shadow var(--ease);
}
.review-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(155,50,255,0.2); }
.review-card::before {
    content: '"';
    position: absolute; top: 12px; right: 16px;
    font-family: var(--font-d); font-size: 72px;
    color: rgba(155,50,255,0.12); line-height: 1;
    pointer-events: none;
}
.review-stars { color: var(--purple); font-size: 13px; letter-spacing: 3px; margin-bottom: 14px; }
.review-text {
    font-size: 14px; color: #1a1a1a;
    line-height: 1.7; font-style: italic; margin-bottom: 18px;
}
.review-author {
    font-family: var(--font-b);
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: #666;
}
.review-author::before { content: '— '; color: var(--purple); }

/* ================================
   DRUMS
   ================================ */
#drums { background: var(--bg); }

/* верх: текст | відео-слайдер */
.drums-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
    margin-bottom: 40px;
}


/* відео слайдер — висота встановлюється через JS */
.drums-video-slider {
    position: relative;
    display: flex;
    flex-direction: column;
}

.drums-slider-wrap {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.drums-nav-btn {
    position: absolute;
    top: calc(50% - 18px); /* центр відео (мінус половина висоти dots-ряду) */
    right: -48px;          /* виходить у проміжок праворуч від відео */
    transform: translateY(-50%);
    z-index: 3;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--purple);
    color: #fff;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--ease), transform var(--ease), opacity var(--ease);
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.drums-nav-btn:hover {
    background: var(--purple-light);
    transform: translateY(-50%) scale(1.08);
}

.drums-video-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: grab;
    user-select: none;
}
.drums-video-track:active { cursor: grabbing; }

.drums-video-track .gallery-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
}

.drums-video-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.drums-video-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all var(--ease);
    padding: 0;
}
.drums-video-dot.active {
    background: var(--purple);
    border-color: var(--purple);
}
.drums-text p {
    font-size: 15px; color: var(--text-2);
    line-height: 1.75; margin-bottom: 20px;
}
.drums-text p:first-of-type { color: var(--text); }
.drums-text strong { color: var(--purple-light); }

.drums-list {
    margin: 24px 0;
    display: flex; flex-direction: column; gap: 10px;
}
.drums-list li {
    font-size: 14px; color: var(--text-2);
    padding-left: 20px; position: relative; line-height: 1.5;
}
.drums-list li::before {
    content: '→';
    position: absolute; left: 0;
    color: var(--purple); font-size: 12px; top: 2px;
}

.drums-bonus {
    border-left: 3px solid var(--purple);
    padding: 14px 18px;
    background: var(--purple-dim);
    font-size: 14px; color: var(--text-2); line-height: 1.65;
    margin-top: 24px;
}

/* низ: 4 формати в рядок */
.drums-prices {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* білі картки форматів */
.price-card {
    padding: 20px 24px;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 2px;
    display: flex; flex-direction: column; gap: 4px;
    transition: transform var(--ease), box-shadow var(--ease);
}
.price-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(155,50,255,0.18); }

.price-label {
    font-family: var(--font-b); font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em; color: #1a1a1a;
}
.price-duration { font-size: 13px; color: #777; }
.price-amount {
    font-family: var(--font-d); font-size: 40px;
    color: var(--purple); line-height: 1;
    margin-top: auto; /* притиснуто до низу картки */
    padding-top: 16px;
}

/* абонемент — фіолетова картка */
.price-card--featured {
    background: var(--purple);
}
.price-card--featured .price-label { color: #fff; }
.price-card--featured .price-duration { color: rgba(255,255,255,0.7); }

.abonement-list { display: flex; flex-direction: column; margin-top: 12px; }
.abonement-item {
    display: flex; justify-content: space-between;
    font-size: 15px; color: rgba(255,255,255,0.85);
    padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.18);
}
.abonement-item:last-child { border-bottom: none; padding-bottom: 0; }
.abonement-item--best {
    color: #fff;
    font-weight: 700; font-size: 16px;
}

.price-book-btn {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 12px;
    font-family: var(--font-b); font-size: 13px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--purple); transition: color var(--ease);
}
.price-book-btn:hover { color: #1a1a1a; }


/* ================================
   ABOUT
   ================================ */
#about { background: var(--bg-2); }

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    grid-template-areas:
        "img heading"
        "img body";
    column-gap: 72px;
    row-gap: 0;
}
.about-image {
    grid-area: img;
    position: relative;
    overflow: hidden;
    background: var(--bg-3);
    align-self: stretch;
}
.about-heading { grid-area: heading; align-self: end; padding-bottom: 28px; }
.about-body    { grid-area: body; }

.about-image img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center top; z-index: 1;
}
.about-image::after {
    content: '';
    position: absolute; inset: 0;
    border: 1px solid var(--border);
    pointer-events: none; z-index: 2;
}

.about-heading .section-title { text-align: left; margin-bottom: 0; margin-top: 6px; }
.about-heading .section-tag { text-align: left; }
.about-body p {
    font-size: 15px; color: var(--text-2);
    line-height: 1.75; margin-bottom: 16px;
}
.about-body strong { color: var(--text); }

.about-contacts { display: flex; flex-direction: column; gap: 8px; margin-top: 32px; }
.contact-link {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 20px;
    background: var(--bg-3);
    border-left: 2px solid var(--border-mid);
    font-size: 14px; font-weight: 500;
    color: var(--text-2);
    transition: all var(--ease);
}
.contact-link:hover { border-left-color: var(--purple); color: var(--text); }
.contact-link--instagram:hover { border-left-color: #c13584; color: #c13584; }
.contact-link--telegram:hover  { border-left-color: #2AABEE; color: #2AABEE; }
.contact-link--location:hover  { border-left-color: var(--purple-light); color: var(--purple-light); }

/* ================================
   FOOTER
   ================================ */
footer {
    background: #000;
    border-top: 1px solid var(--border);
    padding: 28px 0;
}
.footer-inner {
    display: flex; align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
}
.footer-brand {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-b); font-size: 14px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text); text-decoration: none; transition: opacity var(--ease);
}
.footer-brand:hover { opacity: 0.75; }
.footer-logo-img { height: 26px; width: auto; }
.footer-copy { font-size: 13px; color: var(--text-3); }

.footer-credit {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-3);
    text-align: center;
}
.footer-credit a {
    color: var(--text-3);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.2);
    transition: color var(--ease);
}
.footer-credit a:hover { color: var(--text-2); }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
    font-family: var(--font-b); font-size: 12px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--text-3); transition: color var(--ease);
}
.footer-links a:hover { color: var(--purple-light); }

/* ================================
   LESSON FORM MODAL
   ================================ */
.lesson-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: var(--pad);
}
.lesson-modal.active { display: flex; }

.lesson-modal-inner {
    position: relative;
    background: var(--bg-2);
    border: 1px solid var(--border-mid);
    border-top: 3px solid var(--purple);
    border-radius: 2px;
    padding: 40px 44px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-mid) transparent;
}

.lesson-modal-close {
    position: absolute;
    top: 16px; right: 20px;
    background: none; border: none;
    color: var(--text-3);
    font-size: 28px; line-height: 1;
    cursor: pointer;
    transition: color var(--ease);
    padding: 4px;
}
.lesson-modal-close:hover { color: var(--text); }

.lesson-modal-header { margin-bottom: 28px; }
.lesson-modal-header .section-tag { text-align: left; margin-bottom: 8px; }

.lesson-modal-title {
    font-family: var(--font-d);
    font-size: 40px;
    color: var(--text);
    line-height: 1;
}

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

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

.form-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-2);
}

.form-input {
    background: var(--bg-3);
    border: 1px solid var(--border-mid);
    border-radius: 2px;
    color: var(--text);
    font-family: var(--font-b);
    font-size: 15px;
    padding: 13px 16px;
    outline: none;
    transition: border-color var(--ease);
    width: 100%;
    -webkit-appearance: none;
}
.form-input::placeholder { color: var(--text-3); }
.form-input:focus { border-color: var(--purple); }

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

.form-radio-group { display: flex; gap: 12px; }

.form-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 13px 20px;
    background: var(--bg-3);
    border: 1px solid var(--border-mid);
    border-radius: 2px;
    transition: all var(--ease);
    flex: 1;
    justify-content: center;
    user-select: none;
}
.form-radio input[type="radio"] { display: none; }
.form-radio-mark {
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border-mid);
    flex-shrink: 0;
    transition: all var(--ease);
    position: relative;
}
.form-radio-mark::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--purple);
    opacity: 0;
    transition: opacity var(--ease);
}
.form-radio:has(input:checked) {
    border-color: var(--purple);
    background: var(--purple-dim);
}
.form-radio:has(input:checked) .form-radio-mark { border-color: var(--purple); }
.form-radio:has(input:checked) .form-radio-mark::after { opacity: 1; }
.form-radio:has(input:checked) .form-radio-label { color: var(--purple-light); }

.form-radio-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-2);
    transition: color var(--ease);
}

.lesson-form-submit { width: 100%; margin-top: 4px; justify-content: center; }
.lesson-form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.lesson-form-error {
    font-size: 13px;
    color: #ff6b6b;
    text-align: center;
    line-height: 1.5;
}

/* Success state */
.lesson-form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 0 8px;
    color: var(--purple-light);
    text-align: center;
}
.lesson-form-success p {
    font-family: var(--font-d);
    font-size: 32px;
    color: var(--text);
}
.lesson-success-sub {
    font-family: var(--font-b) !important;
    font-size: 15px !important;
    color: var(--text-2) !important;
}

@media (max-width: 640px) {
    .lesson-modal-inner { padding: 32px 24px; }
    .lesson-modal-title { font-size: 32px; }
}

/* ================================
   LIGHTBOX
   ================================ */
.lightbox {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.97); z-index: 200;
    align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox video {
    max-width: 92vw; max-height: 88vh; outline: none; border-radius: 2px;
}
.lightbox-close {
    position: absolute; top: 20px; right: 24px;
    background: none; border: none; color: var(--text);
    font-size: 36px; cursor: pointer; line-height: 1;
    opacity: 0.4; transition: opacity var(--ease);
}
.lightbox-close:hover { opacity: 1; }

/* ================================
   SCROLL REVEAL
   ================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-scroll { animation: none; }
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
    .drums-top    { grid-template-columns: 1fr; gap: 40px; }
    .drums-prices { grid-template-columns: repeat(2, 1fr); }
    .about-inner {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .about-heading { order: 1; padding-bottom: 0; align-self: stretch; }
    .about-image   { order: 2; min-height: 280px; }
    .about-body    { order: 3; }
    .about-image img { position: static; height: auto; width: 100%; object-fit: cover; }
    .about-heading .section-title { text-align: center; }
    .about-heading .section-tag   { text-align: center; }
    .about-contacts { max-width: 480px; margin-left: auto; margin-right: auto; }
    .gallery-grid   { grid-template-columns: repeat(2,1fr); }
    .reviews-grid   { grid-template-columns: repeat(2,1fr); }
    .drums-videos   { grid-template-columns: repeat(2,1fr); }
    .hero-stat      { padding: 0 24px; }
}

@media (max-width: 640px) {
    /* Nav layout: logo centered, burger on right */
    .nav-inner {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        height: 72px;
    }
    .nav-links--left,
    .nav-links--right { display: none !important; }
    .nav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .nav-logo-img { height: 48px; }
    .nav-toggle {
        display: flex;
        position: absolute;
        right: var(--pad);
        z-index: 200;
    }

    /* Fullscreen mobile menu */
    .nav-mobile-overlay {
        display: none;
        position: fixed; inset: 0;
        background: rgba(10,10,10,0.98);
        backdrop-filter: blur(20px);
        z-index: 99;
        align-items: center;
        justify-content: center;
    }
    .nav-mobile-overlay.open { display: flex; }
    .nav-mobile-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
    .nav-mobile-list a {
        display: block;
        padding: 12px 32px;
        font-family: var(--font-b);
        font-size: 22px;
        font-weight: 500;
        letter-spacing: 0.04em;
        color: rgba(255,255,255,0.75);
        text-align: center;
        transition: color var(--ease);
    }
    .nav-mobile-list a:hover { color: #fff; }
    .nav-mobile-list .nav-cta-mobile {
        display: block;
        margin-top: 16px;
        padding: 14px 44px;
        background: var(--purple);
        color: #fff !important;
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 0.06em;
        border-radius: 2px;
        text-align: center;
    }

    /* Hero mobile */
    .hero-bg { background-image: url('images/hero-bg-mobile.jpg'); }
    .hero-content {
        align-items: center;
        text-align: center;
        padding: 100px var(--pad) 120px;
        width: 100%;
    }
    .hero-title {
        font-size: clamp(44px, 14vw, 72px);
        white-space: normal;
    }
    .mob-br { display: inline; }
    .hero-slogan { display: block; }
    .hero-btns  { flex-direction: column; width: 100%; }
    .hero-btns .btn { width: 100%; justify-content: center; }
    .hero-address { font-size: 12px; bottom: 28px; }
    .hero-socials { display: none; }

    /* три колонки → одна колонка на мобайлі */
    .tab-content { grid-template-columns: 1fr; gap: 0; }

    /* accordion header — видимий на мобайлі */
    .accordion-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 20px;
        background: var(--bg-3);
        border: 1px solid var(--border);
        border-bottom: none;
        cursor: pointer;
        transition: background var(--ease);
        gap: 12px;
    }
    .accordion-header[aria-expanded="true"] { border-color: var(--purple); }
    .accordion-header:hover { background: var(--bg-4); }

    .accordion-header-info {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .accordion-avatar {
        width: 40px; height: 40px;
        border-radius: 50%;
        overflow: hidden;
        border: 2px solid rgba(155,50,255,0.35);
        flex-shrink: 0;
    }
    .accordion-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
    .accordion-name {
        font-family: var(--font-b); font-size: 15px; font-weight: 700;
        color: var(--text); margin-bottom: 2px; text-align: left;
    }
    .accordion-role {
        font-size: 11px; color: var(--text-3);
        text-transform: uppercase; letter-spacing: 0.06em; text-align: left;
    }
    .accordion-chevron {
        width: 20px; height: 20px;
        color: var(--text-3); flex-shrink: 0;
        transition: transform 0.3s ease;
    }
    .accordion-header[aria-expanded="true"] .accordion-chevron {
        transform: rotate(180deg);
        color: var(--purple);
    }

    /* accordion body — collapse/expand */
    .accordion-body {
        display: block;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.4s ease;
    }
    .accordion-body.open,
    .accordion-header[aria-expanded="true"] + .accordion-body {
        max-height: 2000px;
    }

    /* barber-info на мобайлі — ховаємо, є в заголовку акордеону */
    .barber-info { display: none; }

    /* портфоліо — 2 в ряд */
    .gallery-grid { grid-template-columns: repeat(2,1fr); gap: 4px; }

    /* відгуки — горизонтальний scroll-snap слайдер */
    .reviews-slider {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding-bottom: 8px;
        scrollbar-width: none;
        grid-template-columns: unset;
    }
    .reviews-slider::-webkit-scrollbar { display: none; }
    .reviews-slider .review-card {
        flex: 0 0 88vw;
        scroll-snap-align: start;
    }

    /* dots */
    .reviews-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }
    .reviews-dot {
        width: 10px; height: 10px;
        border-radius: 50%;
        background: transparent;
        border: 2px solid rgba(255,255,255,0.3);
        cursor: pointer;
        transition: border-color var(--ease), background var(--ease);
        padding: 0;
    }
    .reviews-dot.active {
        background: var(--purple);
        border-color: var(--purple);
    }

    .services-grid { grid-template-columns: 1fr; gap: 6px; }
    .drums-prices { grid-template-columns: 1fr; }
    .drums-nav-btn { display: none; } /* на мобайлі — свайп */

    .section-cta { flex-direction: column; align-items: stretch; }
    .section-cta .btn { width: 100%; justify-content: center; }

    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}
