/* ============================================================
   FEELDAY — Tattoo Studio & Barbershop
   Redesign 2026 — modern dark bento layout
   ============================================================ */

:root {
  --brand: #da77f2;
  --brand-2: #b857d4;
  --brand-gradient: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);

  --bg: #08080b;
  --bg-2: #0d0d12;
  --panel: #121218;
  --panel-2: #17171f;
  --panel-hover: #1d1d27;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(218, 119, 242, 0.28);

  --text: #f4f4f7;
  --muted: #a6a6b3;
  --muted-2: #71717f;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  --glow: 0 0 40px rgba(218, 119, 242, 0.25);

  --container: 1240px;
}

* , *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(218, 119, 242, 0.10), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(184, 87, 212, 0.08), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
hr { display: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

.text-brand { color: var(--brand); }
.accent { color: var(--brand); }

/* ---------- Section headings ---------- */
.section {
  padding: 70px 0;
  position: relative;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.section-title {
  font-size: clamp(26px, 3.4vw, 40px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.section-title .accent { color: var(--brand); }
.section-sub {
  color: var(--muted);
  font-size: 15px;
  max-width: 560px;
  margin: 12px 0 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--brand-gradient);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-transform: uppercase;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 10px 30px rgba(218, 119, 242, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(218, 119, 242, 0.5); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(218, 119, 242, 0.12); border-color: var(--line-strong); transform: translateY(-3px); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 30px; font-size: 16px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  backdrop-filter: blur(14px);
  background: rgba(8, 8, 11, 0.72);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 74px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  font-size: 20px;
}
.brand-logo img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line-strong), var(--glow);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav-cta { margin-left: 6px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text);
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 20px;
  cursor: pointer;
}

/* ============================================================
   HERO / BENTO
   ============================================================ */
.hero {
  padding: 34px 0 20px;
}
.bento {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 20px;
  align-items: start;
}
.bento-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 560px;
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.bento-main video,
.bento-main .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.bento-main::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 8, 11, 0.92) 0%, rgba(8, 8, 11, 0.55) 45%, rgba(8, 8, 11, 0.15) 100%),
    linear-gradient(0deg, rgba(8, 8, 11, 0.9) 0%, transparent 55%);
}
.hero-inner {
  padding: 46px 44px 42px;
  max-width: 620px;
}
.hero-title {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.hero-title .grad {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-text {
  color: var(--muted);
  font-size: 16px;
  margin: 20px 0 28px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges {
  display: flex;
  gap: 22px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero-badge { display: flex; flex-direction: column; }
.hero-badge b { font-size: 24px; color: var(--brand); }
.hero-badge span { font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.05em; }

.social-corner {
  position: absolute;
  top: 22px;
  right: 22px;
  display: flex;
  gap: 10px;
  z-index: 3;
}
.social-corner a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 17px;
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}
.social-corner a:hover { background: var(--brand-gradient); transform: translateY(-3px); }

/* Bento side column */
.bento-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mini-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  flex: 0 0 auto;
}
.mini-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.mini-card-head h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mini-card-head a {
  font-size: 11px;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.mini-grid a {
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.mini-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.mini-grid a:hover img { transform: scale(1.12); }

.why-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.why-list li { display: flex; align-items: center; gap: 12px; }
.why-list .why-ic {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: rgba(218, 119, 242, 0.12);
  color: var(--brand);
  font-size: 16px;
}
.why-list b { display: block; font-size: 14px; }
.why-list span { font-size: 12px; color: var(--muted-2); }

/* ============================================================
   SERVICE CARDS (Tattoo / Barber)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.5s ease;
}
.service-card:hover img { transform: scale(1.06); }
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(8, 8, 11, 0.95) 10%, rgba(8, 8, 11, 0.35) 60%, rgba(8, 8, 11, 0.1) 100%);
}
.service-card .sc-body { padding: 30px; }
.service-icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--brand-gradient);
  color: #fff; font-size: 24px;
  margin-bottom: 16px;
  box-shadow: var(--glow);
}
.service-card h3 { font-size: 26px; text-transform: uppercase; }
.service-card p { color: var(--muted); font-size: 15px; margin: 10px 0 18px; max-width: 420px; }
.service-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--brand);
}
.service-link i { transition: transform 0.25s ease; }
.service-link:hover i { transform: translateX(6px); }

/* ============================================================
   MASTERS
   ============================================================ */
.masters-swiper { padding: 8px 4px 44px; }
.masters-swiper .swiper-slide { height: auto; display: flex; }
.masters-swiper .swiper-slide > .master-card { width: 100%; }
.master-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.master-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.master-photo { position: relative; aspect-ratio: 3/4; overflow: hidden; flex: none; }
.master-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.master-card:hover .master-photo img { transform: scale(1.07); }
.master-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(18, 18, 24, 0.9), transparent 45%);
}
.master-body { padding: 16px 18px 20px; flex: 1 1 auto; }
.master-body h3 { font-size: 17px; }
.master-body p {
  font-size: 13px; color: var(--muted); margin: 8px 0 0;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}

/* ============================================================
   GALLERY SWIPERS
   ============================================================ */
.gallery-swiper { padding: 6px 4px 40px; }
.gallery-swiper .swiper-slide {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}
.gallery-swiper .swiper-slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
  cursor: zoom-in;
}
.gallery-swiper .swiper-slide:hover img { transform: scale(1.06); }

.tabs {
  display: inline-flex;
  gap: 6px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 6px;
  border-radius: 14px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 20px;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  border: none;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
}
.tab-btn.active { background: var(--brand-gradient); color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.4s ease; }

.masters-tab-btn {
  padding: 10px 20px;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  border: none;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
}
.masters-tab-btn.active { background: var(--brand-gradient); color: #fff; }
.masters-panel { display: none; }
.masters-panel.active { display: block; animation: fadeIn 0.4s ease; }

.gallery-note {
  color: var(--muted);
  font-size: 15px;
  max-width: 780px;
  margin: 6px auto 0;
  text-align: center;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.stat-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.stat-ic {
  width: 56px; height: 56px; margin: 0 auto 14px;
  border-radius: 16px; display: grid; place-items: center;
  background: rgba(218, 119, 242, 0.12); color: var(--brand); font-size: 22px;
}
.stat-num {
  font-size: 38px; font-weight: 900;
  background: var(--brand-gradient);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--muted); font-size: 13px; margin: 6px 0 0; }

.highlight-card {
  margin: 34px auto 0;
  max-width: 720px;
  text-align: center;
  background: linear-gradient(135deg, rgba(218, 119, 242, 0.10), rgba(184, 87, 212, 0.04));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 34px;
}
.highlight-card .stat-ic { margin-bottom: 16px; }
.highlight-card h3 { color: var(--brand); font-size: 24px; }
.highlight-card p { color: var(--muted); margin: 10px 0 0; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-swiper { padding: 8px 4px 48px; }
.review-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 26px;
  height: 100%;
}
.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.review-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand-gradient);
  display: grid; place-items: center;
  font-weight: 800; font-size: 20px; color: #fff;
  overflow: hidden; flex: none;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-name { font-size: 16px; }
.review-stars { color: #ffd24d; font-size: 14px; letter-spacing: 2px; }
.review-text { color: var(--muted); font-size: 14px; margin: 0; }

.review-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }
.review-links a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px;
  background: var(--panel); border: 1px solid var(--line);
  color: var(--text); font-weight: 600; font-size: 14px;
  transition: all 0.25s ease;
}
.review-links a:hover { border-color: var(--line-strong); color: var(--brand); transform: translateY(-3px); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
details[open] { border-color: var(--line-strong); }
summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  font-size: 24px;
  color: var(--brand);
  transition: transform 0.25s ease;
  flex: none;
}
details[open] summary::after { transform: rotate(45deg); }
.faq-content { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }
.faq-content ul, .price-list { margin: 0; padding-left: 20px; }
.faq-content li, .price-list li { margin: 6px 0; }
.faq-content a { color: var(--brand); }

/* ============================================================
   PROMO / BANNERS
   ============================================================ */
.promo-banner {
  display: flex; align-items: center; gap: 18px;
  max-width: 640px; margin: 22px auto;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.14), rgba(247, 147, 30, 0.06));
  border: 1px solid rgba(255, 147, 60, 0.4);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}
.promo-banner-icon { font-size: 34px; }
.promo-banner-text strong { display: block; font-size: 16px; }
.promo-banner-text span { color: var(--muted); font-size: 14px; }
.promo-img-link { display: block; max-width: 640px; margin: 0 auto 18px; }
.promo-img-link img { width: 100%; border-radius: var(--radius-sm); }
.banner-wide img { width: 100%; border-radius: var(--radius); }

.instagram-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 12px;
  background: linear-gradient(135deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
  color: #fff; font-weight: 700; font-size: 14px;
  margin-bottom: 24px;
}
.instagram-btn:hover { transform: translateY(-3px); }

/* ============================================================
   CTA + CONTACTS
   ============================================================ */
.cta-band {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  background:
    radial-gradient(600px 300px at 80% 20%, rgba(218, 119, 242, 0.18), transparent 60%),
    linear-gradient(135deg, var(--panel-2), var(--bg-2));
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); text-transform: uppercase; }
.cta-band h2 .accent { color: var(--brand); }
.cta-band p { color: var(--muted); margin: 12px 0 0; max-width: 440px; }

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 22px;
}
.contacts-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.contacts-card h2 { font-size: 24px; margin-bottom: 8px; }
.contacts-card .muted { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-row:first-of-type { border-top: none; }
.contact-row .c-ic {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
  background: rgba(218, 119, 242, 0.12); color: var(--brand); font-size: 18px;
}
.contact-row .c-label { font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-row .c-val { font-size: 16px; font-weight: 600; }
.contact-socials { display: flex; gap: 12px; margin-top: 20px; }
.contact-socials a {
  width: 50px; height: 50px; border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
  color: var(--text); font-size: 20px;
  transition: all 0.25s ease;
}
.contact-socials a:hover { background: var(--brand-gradient); transform: translateY(-3px); }

.branches { margin-top: 24px; }
.branches h4 { color: var(--brand); font-size: 15px; text-transform: uppercase; margin-bottom: 12px; }
.branch { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 15px; color: var(--muted); }
.branch i { color: var(--brand); }

.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 470px;
  background: var(--panel);
}
.map-card iframe, .map-card > div { width: 100%; height: 100%; min-height: 470px; border: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  margin-top: 40px;
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-content { color: var(--muted); font-size: 14px; line-height: 1.8; }
.footer-content strong { color: var(--text); }
.footer-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 14px;
  padding: 12px 20px; border-radius: 12px;
  border: 1px solid var(--line);
  transition: all 0.25s ease;
}
.footer-link:hover { color: var(--brand); border-color: var(--line-strong); }

/* ============================================================
   VK VIDEO
   ============================================================ */
.video-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.video-embed iframe { display: block; width: 100%; }

/* ============================================================
   SWIPER + LIGHTBOX TWEAKS
   ============================================================ */
.swiper-pagination-bullet { background: var(--muted-2); opacity: 0.5; }
.swiper-pagination-bullet-active { background: var(--brand); opacity: 1; }
.swiper-button-next, .swiper-button-prev { color: var(--brand); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============================================================
   LIGHTBOX (просмотр фото с листанием)
   ============================================================ */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(4px);
}
.lb-overlay.open { display: flex; animation: fadeIn 0.25s ease; }
.lb-img {
  max-width: 90vw;
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  user-select: none;
  -webkit-user-drag: none;
}
.lb-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.lb-close:hover { opacity: 1; }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lb-nav:hover { background: rgba(255, 255, 255, 0.28); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-counter {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
@media (max-width: 560px) {
  .lb-nav { width: 42px; height: 42px; font-size: 18px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-close { top: 10px; right: 14px; font-size: 34px; }
  .lb-img { max-width: 94vw; max-height: 80vh; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr; }
  .bento-main { min-height: 460px; }
  .bento-side { flex-direction: row; flex-wrap: wrap; }
  .bento-side .mini-card { flex: 1 1 300px; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta.desktop-only { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 22px 20px;
    background: rgba(8, 8, 11, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open a { padding: 14px; font-size: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contacts-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 26px; }
}

@media (max-width: 560px) {
  .section { padding: 50px 0; }
  .hero-inner { padding: 32px 24px; }
  .bento-side { flex-direction: column; }
  .bento-side .mini-card { flex: 0 0 auto; }
  .mini-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-swiper .swiper-slide img { height: 230px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .tabs {
    max-width: 100%;
    gap: 5px;
    padding: 5px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab-btn, .masters-tab-btn {
    padding: 8px 14px;
    font-size: 12px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    flex: 0 0 auto;
  }
}
