/* ═══════════════════════════════════════════
   NOVA BRIDGE GROUP — style.css
   ═══════════════════════════════════════════ */

/* ── RESET ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── VARIABLES ───────────────────────────── */
:root {
  --red:    #D4000E;
  --red-d:  #8A000A;
  --black:  #0C0C0C;
  --dgray:  #1A1A1A;
  --mgray:  #888888;
  --lgray:  #C8C2BB;
  --ulgray: #F0EDE8;
  --white:  #F7F4EF;
  --font-d: 'Barlow Condensed', sans-serif;
  --font-b: 'Barlow', sans-serif;
  --nav-h:  64px;
}

/* ── BASE ────────────────────────────────── */
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-b);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
::selection { background: var(--red); color: var(--white); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dgray); }
::-webkit-scrollbar-thumb { background: var(--red); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── UTILS ───────────────────────────────── */
.label {
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
}
.label-gray { color: var(--mgray); }
.accent { color: var(--red); }
.align-right { text-align: right; }

/* ── CURSOR ──────────────────────────────── */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s;
}
.cursor-ring {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid rgba(212,0,14,.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .25s cubic-bezier(.16,1,.3,1), height .25s cubic-bezier(.16,1,.3,1);
}
.cursor.expand { width: 14px; height: 14px; }
.cursor-ring.expand { width: 52px; height: 52px; border-color: rgba(212,0,14,.6); }
@media (hover: none) { .cursor, .cursor-ring { display: none; } }

/* ── SCROLL PROGRESS ─────────────────────── */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--red);
  z-index: 200;
  width: 0%;
  transition: width .1s linear;
}

/* ── NAV ─────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: var(--nav-h);
  background: rgba(12,12,12,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s;
}
.logo {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: .06em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; flex-shrink: 0; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lgray);
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  font-size: 10px !important;
  letter-spacing: .18em;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--red-d) !important; }
.nav-cta::after { display: none !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: .3s; }

/* ── MOBILE MENU ─────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12,12,12,.98);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--red); }
.mobile-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  color: var(--mgray);
  font-size: 24px;
  cursor: pointer;
  transition: color .2s;
}
.mobile-close:hover { color: var(--white); }

/* ── SCROLL REVEAL ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }

/* ── BUTTONS ─────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 14px 32px;
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--red-d); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lgray);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color .2s;
}
.btn-ghost::after { content: '→'; font-size: 14px; transition: transform .2s; }
.btn-ghost:hover { color: var(--white); }
.btn-ghost:hover::after { transform: translateX(4px); }

/* ── SECTION BASE ────────────────────────── */
section { position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.section-header-light { border-bottom-color: rgba(0,0,0,.1); }
.section-title {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: clamp(38px,5vw,64px);
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: .02em;
  color: var(--white);
}
.section-title-dark { color: var(--black); }
.section-desc { max-width: 320px; font-size: 13px; font-weight: 300; line-height: 1.7; color: var(--mgray); text-align: right; }
.section-desc-dark { color: #666; }

/* ═══ HERO ═══════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  overflow: hidden;
  position: relative;
}
.hero-vline {
  position: absolute;
  left: 78px; top: var(--nav-h); bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--red) 30%, var(--red) 70%, transparent);
  opacity: .4;
}
.hero-left {
  flex: 0 0 58%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 60px 80px 80px;
  position: relative;
  z-index: 2;
}
.hero-title {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: clamp(72px,9vw,136px);
  line-height: .88;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 24px;
}
.hero-sub { margin-top: 32px; max-width: 440px; font-size: 15px; line-height: 1.75; color: var(--lgray); }
.hero-actions { margin-top: 44px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-markets {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.market-item {
  font-size: 12px;
  font-weight: 400;
  color: var(--mgray);
  display: flex;
  align-items: center;
  gap: 8px;
}
.market-item::before { content: ''; display: block; width: 4px; height: 4px; background: var(--red); border-radius: 50%; flex-shrink: 0; }
.hero-right {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-geo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; will-change: transform; }
.geo-circle-1 { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--red); right: -120px; top: 50%; transform: translateY(-50%); }
.geo-circle-2 { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--red-d); right: -60px; bottom: -80px; }
.geo-rect { position: absolute; width: 200px; height: 520px; background: rgba(12,12,12,.55); right: 80px; top: 50%; transform: translateY(-50%); }
.hero-stats { position: relative; z-index: 3; display: flex; flex-direction: column; gap: 2px; padding: 40px; }
.stat-card { background: rgba(12,12,12,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 24px 32px; border-left: 3px solid var(--red); min-width: 220px; }
.stat-num { font-family: var(--font-d); font-weight: 900; font-size: 52px; line-height: 1; color: var(--white); }
.stat-lbl { font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--mgray); margin-top: 4px; }

/* ═══ WHY ═══════════════════════════════= */
#why { background: var(--dgray); padding: 120px 0; }
.values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.05); }
.values-grid-2 { margin-top: 1px; }
.value-card { background: var(--dgray); padding: 36px 28px 32px; position: relative; overflow: hidden; transition: background .25s; }
.value-card:hover { background: #222; }
.value-num { font-family: var(--font-d); font-weight: 900; font-size: 56px; line-height: 1; color: rgba(212,0,14,.1); position: absolute; top: 12px; right: 16px; transition: color .25s; }
.value-card:hover .value-num { color: rgba(212,0,14,.2); }
.value-bar { width: 28px; height: 2px; background: var(--red); margin-bottom: 14px; transition: width .25s; }
.value-card:hover .value-bar { width: 48px; }
.value-title { font-family: var(--font-d); font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--white); margin-bottom: 10px; }
.value-desc { font-size: 12.5px; line-height: 1.65; color: var(--mgray); }

/* ═══ PRODUCTS ═══════════════════════════ */
#products { background: var(--ulgray); padding: 120px 0; }
.table-wrapper { overflow-x: auto; }
.products-table { width: 100%; border-collapse: collapse; }
.products-table thead tr { border-bottom: 2px solid var(--black); }
.products-table th { font-size: 9px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mgray); padding: 0 0 16px; text-align: left; white-space: nowrap; }
.products-table th.align-right { text-align: right; }
.products-table tbody tr { border-bottom: 1px solid rgba(0,0,0,.08); transition: background .15s; }
.products-table tbody tr:hover { background: rgba(212,0,14,.04); }
.products-table td { padding: 20px 12px 20px 0; vertical-align: middle; }
.prod-num { font-family: var(--font-d); font-weight: 700; font-size: 11px; color: var(--red); width: 44px; letter-spacing: .06em; }
.prod-name { font-family: var(--font-d); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; color: var(--black); width: 240px; }
.prod-desc { font-size: 12.5px; color: #444; line-height: 1.5; }
.prod-note { font-size: 11px; color: #999; }
.prod-brands { font-size: 11px; font-weight: 500; color: var(--mgray); text-align: right; letter-spacing: .04em; white-space: nowrap; }

/* ═══ PROCESS ════════════════════════════ */
#process { background: var(--black); padding: 120px 0; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 0;
  position: relative;
  margin-bottom: 80px;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(10% + 16px); right: calc(10% + 16px);
  height: 1px;
  background: rgba(212,0,14,.5);
}
.step { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 0 10px; position: relative; }
.step-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-d); font-weight: 900; font-size: 18px;
  color: var(--white); position: relative; z-index: 1; flex-shrink: 0;
}
.step-end { background: var(--red); }
.step-mid { background: var(--dgray); border: 1px solid rgba(255,255,255,.12); }
.step-label { font-family: var(--font-d); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--white); text-align: center; }
.step-desc { font-size: 11.5px; color: var(--mgray); text-align: center; line-height: 1.55; }
.process-advantages { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.04); }
.adv-card { background: var(--black); padding: 32px 28px; border-top: 2px solid transparent; transition: border-color .2s, background .2s; }
.adv-card:hover { border-color: var(--red); background: var(--dgray); }
.adv-title { font-family: var(--font-d); font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--white); margin-bottom: 10px; }
.adv-desc { font-size: 12px; color: var(--mgray); line-height: 1.65; }

/* ═══ ABOUT ══════════════════════════════ */
#about { background: var(--ulgray); padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-big { font-family: var(--font-d); font-weight: 900; font-size: clamp(44px,5vw,72px); text-transform: uppercase; line-height: .92; color: var(--black); margin: 16px 0 28px; }
.about-body { font-size: 14px; line-height: 1.8; color: #444; margin-bottom: 18px; }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(0,0,0,.1); margin-top: 36px; }
.about-stat { background: var(--ulgray); padding: 24px 16px; text-align: center; }
.about-stat-num { font-family: var(--font-d); font-weight: 900; font-size: 44px; color: var(--red); line-height: 1; }
.about-stat-lbl { font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--mgray); margin-top: 6px; }
.about-right { padding-top: 52px; }
.about-feature { padding: 22px 0; border-bottom: 1px solid rgba(0,0,0,.1); display: flex; gap: 18px; align-items: flex-start; }
.about-feature:first-of-type { border-top: 1px solid rgba(0,0,0,.1); }
.feat-num { font-family: var(--font-d); font-weight: 700; font-size: 11px; color: var(--red); flex-shrink: 0; width: 26px; padding-top: 2px; }
.feat-title { font-family: var(--font-d); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .06em; color: var(--black); margin-bottom: 5px; }
.feat-desc { font-size: 12.5px; color: #666; line-height: 1.6; }

/* ═══ CONTACT ════════════════════════════ */
#contact { display: grid; grid-template-columns: 1fr 1fr; min-height: 580px; }
.contact-left { padding: 100px 64px 80px 80px; background: var(--dgray); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.contact-right { padding: 100px 80px 80px 64px; background: var(--red); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.contact-right::before { content: ''; position: absolute; bottom: -80px; right: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(0,0,0,.15); pointer-events: none; }
.contact-big { font-family: var(--font-d); font-weight: 900; font-size: clamp(52px,6vw,88px); text-transform: uppercase; line-height: .9; color: var(--white); margin-top: 12px; }
.contact-tagline { font-size: 13px; font-style: italic; color: var(--mgray); }
.contact-persons { display: flex; flex-direction: column; gap: 0; }
.contact-person { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.contact-person:first-child { border-top: 1px solid rgba(255,255,255,.08); }
.cp-name { font-family: var(--font-d); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .06em; color: var(--white); margin-bottom: 6px; }
.cp-email { font-size: 13px; color: var(--lgray); transition: color .2s; }
.cp-email:hover { color: var(--red); }
.contact-actions { margin-top: 4px; }
.contact-entity { font-size: 9px; letter-spacing: .1em; color: rgba(255,255,255,.25); text-transform: uppercase; }
/* right panel */
.co-block { position: relative; z-index: 1; }
.co-label { color: rgba(0,0,0,.45) !important; margin-bottom: 10px; }
.co-name { font-family: var(--font-d); font-weight: 900; font-size: clamp(24px,2.8vw,36px); text-transform: uppercase; line-height: 1; color: var(--white); }
.co-name-sm { font-size: .65em; letter-spacing: .04em; }
.co-detail { font-size: 13.5px; line-height: 1.75; color: rgba(255,255,255,.85); position: relative; z-index: 1; }
.nip-block { background: rgba(0,0,0,.2); padding: 16px 20px; position: relative; z-index: 1; display: inline-block; }
.nip-label { font-size: 9px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.nip-val { font-family: var(--font-d); font-weight: 900; font-size: 26px; color: var(--white); letter-spacing: .08em; }
.co-footer { font-size: 10px; color: rgba(0,0,0,.4); position: relative; z-index: 1; }

/* ═══ FOOTER ═════════════════════════════ */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { font-family: var(--font-d); font-weight: 900; font-size: 18px; letter-spacing: .1em; color: var(--white); }
.footer-copy { font-size: 10px; letter-spacing: .08em; color: var(--mgray); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--mgray); transition: color .2s; }
.footer-links a:hover { color: var(--red); }

/* ═══ GRAIN ══════════════════════════════ */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1000; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ═══ RESPONSIVE ══════════════════════════ */
@media (max-width: 1100px) {
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .process-advantages { grid-template-columns: repeat(2,1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-right { padding-top: 0; }
}
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  #hero { flex-direction: column; min-height: auto; padding-top: var(--nav-h); }
  .hero-left { flex: none; padding: 60px 24px 48px; }
  .hero-right { display: none; }
  .hero-vline { display: none; }
  .section-inner { padding: 0 24px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
  .section-desc { text-align: left; max-width: 100%; }
  #why { padding: 80px 0; }
  #products { padding: 80px 0; }
  #process { padding: 80px 0; }
  #about { padding: 80px 0; }
  .process-steps { grid-template-columns: 1fr; gap: 28px; }
  .process-steps::before { display: none; }
  .process-advantages { grid-template-columns: 1fr; }
  #contact { grid-template-columns: 1fr; }
  .contact-left { padding: 60px 24px; }
  .contact-right { padding: 60px 24px; }
  footer { padding: 24px; flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .products-table .prod-brands { display: none; }
}
@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(56px,14vw,80px); }
  .about-stats { grid-template-columns: repeat(3,1fr); }
}
