/* ============================================================
   VIDEO SCREENS — brand stylesheet
   Palette: ink #0b0b13 · navy #11111f (brand) · silver #c8c8c7
   Type: Poppins (display) · Lato (body)
   Signature: the glow of a powered-on LED screen
   ============================================================ */

:root {
  --ink: #0b0b13;
  --navy: #11111f;
  --panel: #14141f;
  --panel-2: #191926;
  --silver: #c8c8c7;
  --white: #f2f2f0;
  --muted: #8f8f96;
  --line: rgba(200, 200, 199, 0.13);
  --glow: rgba(190, 214, 255, 0.9);
  --glow-soft: rgba(190, 214, 255, 0.18);
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Lato', sans-serif;
  --radius: 10px;
  --wrap: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--silver);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: 0.92em; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--white); font-weight: 600; line-height: 1.2; }
a { color: var(--white); text-decoration: none; transition: color .2s, opacity .2s; }
img { max-width: 100%; display: block; }

::selection { background: var(--glow-soft); color: var(--white); }

/* ---------- typographic components ---------- */

.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.35em;      /* echoes R E N T A L  C O M P A N Y */
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.section-intro { max-width: 640px; color: var(--silver); margin-bottom: 14px; }

.glow-text {
  color: var(--white);
  text-shadow:
    0 0 18px rgba(190, 214, 255, 0.55),
    0 0 60px rgba(190, 214, 255, 0.25);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .3s, border-color .3s, background .3s;
}
.btn-sm { padding: 10px 20px; font-size: 12px; }

.btn-glow {
  background: var(--white);
  color: var(--navy);
  border-color: transparent;
  box-shadow: 0 0 0 rgba(190, 214, 255, 0);
}
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(190, 214, 255, 0.45), 0 8px 24px rgba(0, 0, 0, 0.5);
}

.btn-ghost { background: transparent; color: var(--white); }
.btn-ghost:hover { border-color: rgba(190, 214, 255, 0.5); box-shadow: 0 0 18px rgba(190, 214, 255, 0.15); }

.link-more {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.link-more:hover { border-color: var(--glow); text-shadow: 0 0 12px var(--glow-soft); }

.back-link { display: inline-block; color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.back-link:hover { color: var(--white); }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(11, 11, 19, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }

.brand-logo { height: 44px; width: auto; }

.main-nav { display: flex; gap: 26px; }
.main-nav a {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--silver);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--glow);
  box-shadow: 0 0 8px var(--glow);
  transition: right .25s;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }

.header-tools { display: flex; align-items: center; gap: 18px; }

.lang-switch { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 8px; padding: 3px; }
.lang-switch a {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 5px 9px;
  border-radius: 5px;
}
.lang-switch a.active { background: var(--white); color: var(--navy); }
.lang-switch a:not(.active):hover { color: var(--white); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 34px; height: 30px; position: relative; }
.nav-toggle span {
  position: absolute; left: 4px; right: 4px; height: 2px;
  background: var(--white); border-radius: 2px; transition: transform .25s, opacity .2s, top .25s;
}
.nav-toggle span:nth-child(1) { top: 7px; }
.nav-toggle span:nth-child(2) { top: 14px; }
.nav-toggle span:nth-child(3) { top: 21px; }
.nav-open .nav-toggle span:nth-child(1) { top: 14px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 14px; transform: rotate(-45deg); }

/* ---------- hero: the LED wall ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.led-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(0.5) saturate(0.8) contrast(0.95); }

/* pixel-pitch сітка поверх фото — фірмовий LED-ефект */
.led-grid {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(to right, rgba(5,5,12,0.28) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(to bottom, rgba(5,5,12,0.28) 0 1px, transparent 1px 6px);
  opacity: 0.7;
  pointer-events: none;
}

.hero-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 19, 0.88) 0%, rgba(11, 11, 19, 0.62) 42%, rgba(11, 11, 19, 0.25) 75%, rgba(11, 11, 19, 0.15) 100%),
    linear-gradient(to bottom, rgba(11, 11, 19, 0.55), rgba(11, 11, 19, 0.1) 30%, transparent 60%, var(--ink) 100%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 80px; }

.hero-title {
  font-size: clamp(42px, 7.5vw, 88px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.65), 0 6px 30px rgba(0,0,0,0.5);
}
.hero-title span { display: block; }

.hero-sub { max-width: 560px; font-size: 19px; font-weight: 400; margin-bottom: 36px; color: #e9e9e7; text-shadow: 0 1px 4px rgba(0,0,0,0.8), 0 2px 18px rgba(0,0,0,0.6); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 42px; }

.hero-note {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b9b9bd;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* ---------- sections & seams ---------- */

.section { padding: 96px 0; }
.page-head { padding: 170px 0 40px; }

/* cabinet seam — the joint between two LED cabinets */
.seam {
  height: 1px;
  max-width: var(--wrap);
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent);
  position: relative;
}
.seam::before, .seam::after {
  content: '';
  position: absolute;
  top: -2px;
  width: 5px; height: 5px;
  border-radius: 1px;
  background: var(--line);
}
.seam::before { left: 24%; }
.seam::after { right: 24%; }

/* ---------- grids & cards ---------- */

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.services-grid, .equip-grid, .process-grid, .stats-grid, .projects-grid { margin-top: 46px; }

.card {
  background: linear-gradient(160deg, var(--panel), var(--navy));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.card:hover {
  border-color: rgba(190, 214, 255, 0.28);
  box-shadow: 0 0 30px rgba(190, 214, 255, 0.07), 0 18px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(-3px);
}

.svc-card h3 { font-size: 19px; margin: 16px 0 10px; }
.svc-card p { font-size: 15.5px; color: var(--silver); }
.svc-icon { width: 34px; height: 34px; color: var(--white); opacity: 0.85; }

.chip {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 5px 13px;
  margin-bottom: 16px;
}

.equip-img { margin: -6px 0 18px; display: flex; justify-content: center; }
.equip-img img { max-height: 220px; width: auto; filter: drop-shadow(0 14px 30px rgba(0,0,0,0.55)); }
.item-hero-img { margin: 30px 0 6px; }
.item-hero-img img { max-height: 340px; width: auto; filter: drop-shadow(0 18px 40px rgba(0,0,0,0.55)); }

.equip-card h3 { font-size: 21px; margin-bottom: 12px; }
.equip-card p { font-size: 15.5px; }

.highlights { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.highlights li {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  color: var(--white);
  background: rgba(190, 214, 255, 0.07);
  border: 1px solid rgba(190, 214, 255, 0.16);
  border-radius: 6px;
  padding: 5px 11px;
}
.highlights-lg { margin-top: 22px; }

.center-cta { text-align: center; margin-top: 50px; }

/* ---------- process ---------- */

.process-step { padding: 26px 22px; border-top: 1px solid var(--line); }
.step-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.process-step h3 { font-size: 18px; margin: 14px 0 10px; }
.process-step p { font-size: 15px; color: var(--silver); }

/* ---------- services page ---------- */

.svc-list { display: flex; flex-direction: column; }
.svc-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.svc-row h2 { font-size: 24px; margin-bottom: 10px; }
.svc-row p { max-width: 720px; }

/* ---------- equipment item / spec table ---------- */

.spec-title { font-size: 22px; margin-bottom: 24px; }
.spec-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-width: 780px; }
.spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 13px 22px;
  font-size: 15px;
}
.spec-row:nth-child(odd) { background: rgba(200, 200, 199, 0.04); }
.spec-label { color: var(--muted); }
.spec-value { color: var(--white); font-weight: 700; font-family: var(--font-body); }
.item-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

/* ---------- stats ---------- */

.stat { text-align: center; padding: 30px 16px; }
.stat-num { display: block; font-family: var(--font-display); font-size: 46px; font-weight: 700; color: var(--white); }
.stat-label { display: block; margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---------- partners ---------- */

.partners-strip { padding: 60px 0; }
.partners-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 10px; }
.partner-pill {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--silver);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 15px 34px;
  transition: color .3s, border-color .3s, box-shadow .3s;
}
.partner-pill:hover {
  color: var(--white);
  border-color: rgba(190, 214, 255, 0.4);
  box-shadow: 0 0 22px rgba(190, 214, 255, 0.12);
}
.partner-card h3 { letter-spacing: 0.14em; font-size: 18px; margin-bottom: 12px; }

/* ---------- projects ---------- */

.project-card img { border-radius: 6px; margin-bottom: 16px; aspect-ratio: 4/3; object-fit: cover; }
.project-card h3 { font-size: 18px; margin-bottom: 8px; }
.empty-state { text-align: center; padding: 60px 30px; color: var(--muted); }

/* ---------- CTA band ---------- */

.cta-band { padding: 110px 0; }
.cta-band .section-title { margin-bottom: 34px; }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; }
.contact-form label span {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-form input, .contact-form textarea {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 13px 15px;
  transition: border-color .25s, box-shadow .25s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: rgba(190, 214, 255, 0.5);
  box-shadow: 0 0 14px rgba(190, 214, 255, 0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp-field { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }

.form-msg { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 15px; }
.form-ok { background: rgba(120, 220, 160, 0.08); border: 1px solid rgba(120, 220, 160, 0.3); color: #b8ecd0; }
.form-err { background: rgba(230, 120, 120, 0.08); border: 1px solid rgba(230, 120, 120, 0.3); color: #f0c0c0; }

.contact-aside h3 { font-size: 18px; margin-bottom: 18px; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.contact-list a:hover { text-shadow: 0 0 12px var(--glow-soft); }

/* ---------- footer ---------- */

.site-footer { background: var(--navy); margin-top: 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding: 70px 24px 50px;
}
.footer-logo { height: 60px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 15px; color: var(--muted); max-width: 320px; }
.footer-contacts { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; font-size: 15px; }
.footer-contacts a { color: var(--silver); }
.footer-contacts a:hover { color: var(--white); }

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.footer-col nav { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--silver); font-size: 15px; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  padding-bottom: 30px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.footer-domain { font-family: var(--font-display); letter-spacing: 0.1em; }

/* ---------- 404 ---------- */

.notfound { padding: 220px 0 140px; }
.notfound-code { font-family: var(--font-display); font-size: 110px; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 20px; }
.notfound .btn { margin-top: 26px; }

/* ---------- reveal on scroll ---------- */

/* progressive enhancement: без JS контент завжди видимий */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .page-head { padding: 140px 0 30px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding-top: 50px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .spec-row { grid-template-columns: 1fr; gap: 2px; }
  .svc-row { grid-template-columns: 1fr; gap: 6px; padding: 28px 0; }

  .header-cta { display: none; }
  .main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 11, 19, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 20px;
    transform: translateY(-130%);
    transition: transform .3s ease;
  }
  .main-nav a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-open .main-nav { transform: translateY(0); }
  .nav-toggle { display: block; }
}

/* ---------- accessibility ---------- */

:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .js .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* hero eyebrow — читабельність на фото */
.hero .eyebrow { color: #cfcfd4; text-shadow: 0 1px 4px rgba(0,0,0,0.8); }


/* ---------- accessibility: skip link ---------- */
.skip-link {
  position: absolute; left: 8px; top: -60px;
  background: var(--white); color: var(--navy);
  padding: 10px 18px; border-radius: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 8px; }

/* ---------- footer legal ---------- */
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  padding: 22px 24px 0; font-size: 12.5px; color: var(--muted);
}
.footer-legal-nav { display: flex; gap: 20px; align-items: center; }
.footer-legal-nav a { color: var(--silver); }
.footer-legal-nav a:hover { color: var(--white); }

/* ---------- legal document page ---------- */
.legal-doc { max-width: 760px; }
.legal-doc h2 { font-size: 19px; margin: 28px 0 10px; }
.legal-doc p { color: var(--silver); margin-bottom: 6px; }

/* ---------- contact consent ---------- */
.form-consent { font-size: 13px; color: var(--muted); margin: 4px 0 8px; }
.form-consent a { color: var(--silver); text-decoration: underline; }
.form-consent a:hover { color: var(--white); }

/* ---------- equipment picture (CLS-safe) ---------- */
.equip-img img, .item-hero-img img, .project-card img { height: auto; }

/* ---------- hero pixel wave ---------- */
.pixel-wave {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;   /* світиться поверх фото */
  z-index: 1;
}
.hero-inner { z-index: 2; }

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 300;
  max-width: 720px; margin: 0 auto;
  background: rgba(17, 17, 31, 0.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex; align-items: center; gap: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
}
.cookie-banner p { font-size: 14px; color: var(--silver); margin: 0; flex: 1; }
.cookie-banner a { color: var(--white); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner[hidden] { display: none; }
@media (max-width: 620px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie-actions { justify-content: flex-end; }
}
