/* TVG — авторские ножи. Тёмная тема, золотой акцент, адаптивная вёрстка. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-dark: #090C10;
  --bg-panel: #090C10;
  --bg-card: #090C10;

  --accent-gold: #D4AF37;
  --accent-steel: #8A99AD;

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --border-thin: #1E2530;
  --border-gold: #3A3220;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition: 0.25s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none !important;
}

/* Disable text selection on buttons & interactive UI controls */
button,
.btn-v2,
.nav-v2,
.nav-tab-v2,
.logo-v2,
.mobile-burger-btn,
.slider-btn,
.slider-dot,
.lightbox-close {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

/* Disable selection and drag on all images */
img {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
  user-drag: none !important;
}

/* Hide scrollbar universally while preserving smooth scrolling */
html, body, div, section {
  -ms-overflow-style: none !important;  /* IE and Edge */
  scrollbar-width: none !important;  /* Firefox */
}

::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #FFF;
}

p, span, label, input, textarea, button {
  font-family: var(--font-family);
}

.mono {
  font-family: var(--font-family);
  letter-spacing: 0.05em;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 28px;
}

.btn-v2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-family);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none !important;
  min-height: 44px;
}

.btn-v2 .material-symbols-outlined {
  font-size: 1.15rem;
  line-height: 1;
}

.btn-v2-gold {
  background: var(--accent-gold);
  color: #090C10;
}

.btn-v2-gold:hover {
  background: #C5A028;
}

.btn-v2-outline {
  background: transparent;
  color: #FFF;
  border: 1px solid var(--border-gold);
}

.btn-v2-outline:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Header V2 - 3-Column Grid for Desktop */
.header-v2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-thin);
  background: #090C10;
}

.nav-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo-v2 {
  justify-self: start;
  font-family: var(--font-family);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #FFF;
  text-decoration: none !important;
}

.nav-v2 {
  justify-self: center;
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-v2 a {
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  transition: var(--transition);
  padding: 8px 14px;
  border-radius: 4px;
  text-decoration: none !important;
  border: none !important;
}

.nav-v2 a:hover, .nav-v2 a.active {
  color: #FFF;
  background: #151C24;
}

.header-actions-v2 {
  justify-self: end;
}

.mobile-burger-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-thin);
  color: #FFF;
  font-size: 1.3rem;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
}

/* Hero Section V2 - 100% Identical Pixel Dimensions across all 3 tabs */
.hero-v2 {
  min-height: 600px;
  padding-top: 130px;
  padding-bottom: 70px;
  background: #090C10;
  display: flex;
  align-items: center;
}

.hero-v2-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: stretch;
  width: 100%;
}

.hero-v2-left-col {
  height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-v2-subtitle {
  font-family: var(--font-family);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-v2-title {
  font-size: 3.2rem;
  line-height: 1.08;
  margin-bottom: 16px;
  font-weight: 800;
}

.hero-v2-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 580px;
  line-height: 1.6;
}

.hero-v2-actions {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}

.hero-v2-specs-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-thin);
}

.v2-spec-box h4 {
  font-family: var(--font-family);
  font-size: 1.4rem;
  color: #FFF;
  margin-bottom: 2px;
  font-weight: 800;
}

.v2-spec-box p {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero-v2-image-frame {
  height: 440px;
  border: 1px solid var(--border-thin);
  padding: 12px;
  background: #090C10;
  box-sizing: border-box;
}

.hero-v2-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-card-box-hero {
  height: 440px;
  border: 1px solid var(--border-gold);
  padding: 32px;
  background: #090C10;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Sections Generous Spacing */
.section-v2 {
  padding: 100px 0;
  background: #090C10;
  border-top: 1px solid var(--border-thin);
}

.section-v2-header {
  margin-bottom: 50px;
  border-bottom: 1px solid var(--border-thin);
  padding-bottom: 20px;
}

.section-v2-title {
  font-size: 2.2rem;
}

/* What TVG Brand Creates Section */
.brand-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}

.brand-card {
  background: #090C10;
  border: 1px solid var(--border-thin);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.brand-card:hover {
  border-color: var(--border-gold);
}

.brand-card-icon {
  margin-bottom: 18px;
}

.brand-card-icon .material-symbols-outlined {
  font-size: 2.2rem;
  color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.08);
  padding: 12px;
  border: 1px solid var(--border-gold);
  border-radius: 4px;
}

.brand-card h3 {
  font-size: 1.25rem;
  color: #FFF;
  margin-bottom: 10px;
}

.brand-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.brand-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-card-tags span {
  font-family: var(--font-family);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: #090C10;
  border: 1px solid var(--border-thin);
  padding: 3px 8px;
}

.custom-banner-box {
  background: #090C10;
  border: 1px solid var(--border-gold);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

/* About the Master Section Styling */
.master-quote-box {
  background: #090C10;
  border-left: 3px solid var(--accent-gold);
  padding: 16px 20px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.master-feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.master-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.master-feature-item .material-symbols-outlined {
  color: var(--accent-gold);
  font-size: 1.6rem;
  background: rgba(212, 175, 55, 0.08);
  padding: 8px;
  border: 1px solid var(--border-gold);
  border-radius: 4px;
}

.master-feature-item strong {
  display: block;
  font-size: 0.92rem;
  color: #FFF;
  margin-bottom: 2px;
}

.master-feature-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Checkerboard Gallery V2 Generous Spacing */
.checkerboard-v2-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.checker-v2-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 36px;
  background: #090C10;
  border: 1px solid var(--border-thin);
}

.checker-v2-item.reverse {
  grid-template-areas: "img text";
}

.checker-v2-item.reverse .checker-v2-img-col { grid-area: img; }
.checker-v2-item.reverse .checker-v2-text-col { grid-area: text; }

/* Multi-Image Knife Slider - Transparent Default & Hover Overlay */
.checker-v2-img-wrap {
  width: 100%;
  height: 340px;
  border: 1px solid var(--border-thin);
  background: #000;
  position: relative;
  overflow: hidden;
}

.checker-v2-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease;
}

.slider-btn {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 48px;
  background: transparent;
  color: var(--text-primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.slider-btn:hover {
  background: rgba(9, 12, 16, 0.65);
  color: var(--accent-gold);
}

.slider-prev {
  left: 0;
}

.slider-next {
  right: 0;
}

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  padding: 5px 10px;
  border-radius: 12px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--accent-gold);
  transform: scale(1.3);
}

.checker-v2-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 16px;
  background: #090C10;
  border: 1px solid var(--border-thin);
  margin: 22px 0;
  font-family: var(--font-family);
}

.checker-v2-specs p {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.checker-v2-specs span {
  font-size: 0.85rem;
  color: #FFF;
  font-weight: 600;
}

/* Kicker, footer, about */
.section-v2-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.15em;
}

.site-footer {
  padding: 20px 0;
  border-top: 1px solid var(--border-thin);
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Gallery: header with groups (available / sold) */
.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.gallery-tabs {
  display: flex;
  gap: 8px;
}

.gallery-tab {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-thin);
  padding: 10px 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  -webkit-user-select: none;
  user-select: none;
}

.gallery-tab span {
  color: var(--text-muted);
  margin-left: 4px;
}

.gallery-tab:hover {
  color: #FFF;
  border-color: var(--border-gold);
}

.gallery-tab.active {
  color: #090C10;
  background: var(--accent-gold);
  border-color: var(--accent-gold);
}

.gallery-tab.active span {
  color: #090C10;
}

.gallery-empty {
  padding: 60px 0;
  text-align: center;
  color: var(--text-muted);
}

/* Gallery card text */
.checker-v2-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.12em;
}

.checker-v2-name {
  font-size: 1.6rem;
  margin: 8px 0 12px;
}

.checker-v2-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.checker-v2-buy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.checker-v2-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: #FFF;
  letter-spacing: 0.01em;
}

.checker-v2-price.sold {
  color: var(--text-muted);
  text-decoration: line-through !important;
}

.sold-badge {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-thin);
  padding: 10px 18px;
}

.sold-ribbon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  background: rgba(9, 12, 16, 0.85);
  border: 1px solid var(--border-thin);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
}

.checker-v2-item.sold .checker-v2-img-wrap img {
  filter: grayscale(0.75) brightness(0.8);
}

/* Contacts Layout Generous Spacing */
.contacts-v2-full-page {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #090C10;
  box-sizing: border-box;
}

.contacts-v2-main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Full-Screen Image Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(4, 6, 8, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: #090C10;
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3010;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--accent-gold);
  color: #090C10;
}

.lightbox-content {
  position: relative;
  width: 90vw;
  height: 85vh;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-gold);
  background: #000;
  overflow: hidden;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* 100% RESPONSIVE MOBILE MEDIA QUERIES (@media max-width: 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header-v2 {
    padding: 10px 0;
  }

  .nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-v2 {
    display: none;
    position: fixed;
    top: 55px;
    left: 0;
    width: 100%;
    background: #090C10;
    border-bottom: 1px solid var(--border-thin);
    flex-direction: column;
    padding: 16px;
    gap: 12px;
    z-index: 1001;
  }

  .nav-v2.mobile-active {
    display: flex;
  }

  .nav-v2 a {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .header-actions-v2 {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .header-actions-v2 .btn-v2 {
    padding: 6px 10px;
    font-size: 0.7rem;
    min-height: 34px;
  }

  .mobile-burger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Hero Section Mobile */
  .hero-v2 {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 40px;
  }

  .hero-v2-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-v2-left-col {
    height: auto;
  }

  .hero-v2-title {
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 14px;
  }

  .hero-v2-desc {
    font-size: 0.92rem;
    margin-bottom: 24px;
  }

  .hero-v2-actions {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
  }

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

  .hero-v2-image-frame {
    height: 260px;
  }

  .contact-card-box-hero {
    height: auto;
    padding: 20px;
  }

  .hero-v2-specs-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 18px;
  }

  .v2-spec-box h4 {
    font-size: 1.1rem;
  }

  .v2-spec-box p {
    font-size: 0.62rem;
  }

  /* Section Headers Mobile */
  .section-v2 {
    padding: 60px 0;
  }

  .section-v2-header {
    margin-bottom: 28px;
    padding-bottom: 14px;
  }

  .section-v2-title {
    font-size: 1.5rem;
  }

  /* Brand Cards Mobile */
  .brand-cards-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .custom-banner-box {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px;
  }

  .custom-banner-box .btn-v2 {
    width: 100%;
  }

  /* Checkerboard Gallery Mobile */
  .checkerboard-v2-list {
    gap: 32px;
  }

  .checker-v2-item, .checker-v2-item.reverse {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    padding: 20px;
    gap: 20px;
  }

  .checker-v2-item.reverse .checker-v2-img-col,
  .checker-v2-item.reverse .checker-v2-text-col {
    grid-area: auto;
  }

  .checker-v2-img-col {
    order: -1;
  }

  .checker-v2-img-wrap {
    height: 240px;
  }

  .slider-btn {
    width: 36px;
  }

  .checker-v2-text-col h3 {
    font-size: 1.3rem;
  }

  .checker-v2-specs {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px;
    margin: 14px 0;
  }

  .checker-v2-text-col .btn-v2 {
    width: 100%;
  }

  /* Contacts Tab Mobile */
  .contacts-v2-full-page {
    min-height: auto;
    padding-bottom: 20px;
  }

  .contacts-v2-main-content {
    padding: 20px 0;
  }

  /* Lightbox Mobile */
  .lightbox-content {
    width: 95vw;
    height: 80vh;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-header {
    align-items: flex-start;
  }

  .gallery-tabs {
    width: 100%;
  }

  .gallery-tab {
    flex: 1;
    padding: 10px 8px;
    font-size: 0.72rem;
  }

  .checker-v2-name {
    font-size: 1.3rem;
  }

  .checker-v2-buy {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .checker-v2-buy .btn-v2,
  .checker-v2-buy .sold-badge {
    width: 100%;
    text-align: center;
  }

}
