:root {
  --black: #080b0d;
  --panel: #101417;
  --panel-2: #151a1e;
  --white: #ffffff;
  --paper: #f6f3ee;
  --muted: #b9c0c6;
  --ink: #1b2025;
  --gold: #d7a646;
  --gold-2: #f0c46a;
  --blue: #0d4773;
  --green: #58af32;
  --cyan: #30d6d0;
  --crimson: #b23a48;
  --orange: #f28b2e;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
}
h1 { font-size: clamp(2.7rem, 6vw, 6.2rem); }
h2 { font-size: clamp(2rem, 4vw, 4rem); }
h3 { font-size: 1.25rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 70px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(27,32,37,.12);
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.brand-logo {
  width: 148px;
  height: 6rem;
  object-fit: contain;
  padding: 4px;
  background: rgba(255,255,255,.96);
  border-radius: 4px;
}
.brand-mark {
  width: 54px;
  height: 54px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(27,32,37,.78);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-2); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(27,32,37,.2);
  border-radius: var(--radius);
  background: rgba(27,32,37,.04);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.btn.gold { background: var(--gold); color: #111; }
.btn.dark { border-color: rgba(27,32,37,.28); color: var(--ink); background: rgba(255,255,255,.82); }
.btn.light { background: var(--white); color: var(--black); }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }

.hero {
  position: relative;
  min-height: 95vh;
  display: grid;
  align-items: center;
  padding: 130px clamp(18px, 5vw, 70px) 70px;
  color: var(--ink);
  overflow: hidden;
  background: var(--white);
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  inset: 0;
}
.hero::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.86), rgba(255,255,255,.46)),
    var(--hero-image, url("../img/group-hero.svg")) center/cover no-repeat;
}
.hero::after {
  background: radial-gradient(circle at 72% 35%, rgba(215,166,70,.18), transparent 28%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(790px, 100%);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent, var(--gold-2));
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero p {
  max-width: 670px;
  color: #59636d;
  font-size: 1.06rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-strip {
  position: absolute;
  left: clamp(18px, 5vw, 70px);
  right: clamp(18px, 5vw, 70px);
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(27,32,37,.1);
  box-shadow: var(--shadow);
}
.hero-strip div { padding: 18px; border-right: 1px solid rgba(27,32,37,.08); }
.hero-strip strong { display: block; color: var(--gold-2); font-size: 1.35rem; }
.hero-strip span { color: #68727d; font-size: .83rem; }

.section { padding: clamp(72px, 9vw, 128px) clamp(18px, 5vw, 70px); }
.section.dark { background: var(--white); color: var(--ink); }
.section.dark h2, .section.dark h3 { color: var(--ink); }
.section.dark p { color: #59636d; }
.section.white { background: #fff; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .95fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
}
.split.reverse { grid-template-columns: minmax(300px, .95fr) minmax(0, 1fr); }
.lead { color: #59636d; font-size: 1.04rem; }
.dark .lead { color: #59636d; }
.media-frame {
  min-height: 390px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
.media-frame img, .media-frame svg { width: 100%; height: 100%; object-fit: cover; }
.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.company-card {
  position: relative;
  min-height: 455px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(215,166,70,.42);
  border-radius: var(--radius);
  box-shadow: 0 16px 45px rgba(0,0,0,.22);
}
.company-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,.10)), var(--card-image) center/cover no-repeat;
  transition: transform .4s ease;
}
.company-card:hover::before { transform: scale(1.06); }
.company-card > * { position: relative; z-index: 1; }
.company-card small {
  color: var(--accent, var(--gold));
  font-weight: 900;
  text-transform: uppercase;
}
.company-card h3 { color: var(--white); margin: 8px 0 12px; font-size: 1.55rem; }
.company-card ul { margin: 0 0 22px; padding-left: 18px; color: rgba(255,255,255,.78); }
.learn { color: var(--accent, var(--gold-2)); font-weight: 900; text-transform: uppercase; font-size: .84rem; }
.company-logo {
  width: min(240px, 96%);
  height: 112px;
  object-fit: contain;
  padding: 10px;
  margin-bottom: 14px;
  background: rgba(255,255,255,.94);
  border-radius: 4px;
}
.business-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat-grid, .why-grid, .service-grid, .product-grid, .industry-grid, .value-grid {
  display: grid;
  gap: 14px;
}
.stat-grid { grid-template-columns: repeat(4, 1fr); margin-top: 30px; }
.stat {
  padding: 24px;
  background: #fff;
  border: 1px solid #e4ded3;
  box-shadow: 0 12px 34px rgba(0,0,0,.05);
  text-align: center;
}
.stat strong { display: block; color: var(--gold-2); font-size: 2rem; }
.why-grid { grid-template-columns: repeat(4, 1fr); }
.service-grid { grid-template-columns: repeat(3, 1fr); }
.product-grid { grid-template-columns: repeat(4, 1fr); }
.industry-grid { grid-template-columns: repeat(4, 1fr); }
.value-grid { grid-template-columns: repeat(7, 1fr); }
.tile {
  min-height: 118px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid #e4ded3;
  box-shadow: 0 12px 34px rgba(0,0,0,.05);
}
.dark .tile {
  background: var(--white);
  border-color: #e4ded3;
}
.tile strong { display: block; color: var(--ink); }
.dark .tile strong { color: var(--ink); }
.tile p, .tile li { color: #68727d; }
.dark .tile p, .dark .tile li { color: #68727d; }

.map-band {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 0;
  background: #fff;
}
.map-band > div { padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 70px); }
.market-tags, .tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.market-tags span, .tag-cloud span {
  padding: 10px 14px;
  border: 1px solid #e2d8c8;
  border-radius: var(--radius);
  font-weight: 800;
  background: #fff;
}

.contact {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: clamp(34px, 7vw, 92px);
  background: var(--white);
  color: var(--ink);
}
.contact h2 { color: var(--ink); }
.contact address { color: #59636d; font-style: normal; }
.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
}
label { display: grid; gap: 6px; font-size: .86rem; font-weight: 900; }
input, select, textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #d8dde1;
  border-radius: var(--radius);
  font: inherit;
}
textarea { resize: vertical; }
.form-note { min-height: 20px; margin: 0; color: #167148; font-weight: 800; }

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 42px clamp(18px, 5vw, 70px);
  color: #59636d;
  background: #fff;
  border-top: 1px solid rgba(27,32,37,.1);
}
.site-footer h3, .site-footer strong { color: var(--ink); }
.site-footer a { display: block; margin: 7px 0; color: #59636d; }
.footer-logo { width: 185px; background: #fff; padding: 6px; border-radius: 4px; }

.theme-energy { --accent: var(--gold-2); --hero-image: url("../img/energy-hero.svg"); }
.theme-ev { --accent: var(--cyan); --hero-image: url("../img/ev-hero.svg"); }
.theme-film { --accent: var(--crimson); --hero-image: url("../img/film-hero.svg"); }
.theme-fuel { --accent: var(--orange); --hero-image: url("../img/fuel-hero.svg"); }
.theme-bitumen { --accent: var(--gold-2); --hero-image: url("../img/bitumen-hero.svg"); }
.theme-enterprises { --accent: var(--green); --hero-image: url("../img/enterprises-hero.svg"); }
.theme-cars { --accent: var(--gold-2); --hero-image: url("../img/cars-hero.svg"); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .company-grid, .why-grid, .product-grid, .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .business-list { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 78px;
    right: 18px;
    display: none;
    width: min(310px, calc(100vw - 36px));
    padding: 16px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(27,32,37,.1);
    border-radius: var(--radius);
  }
  .main-nav.open { display: grid; gap: 10px; }
  .split, .split.reverse, .map-band, .contact, .site-footer { grid-template-columns: 1fr; }
  .service-grid, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-strip { position: relative; left: auto; right: auto; margin-top: 44px; grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .brand-logo { width: 112px; height: 44px; }
  .hero { min-height: auto; padding-top: 118px; }
  .company-grid, .service-grid, .stat-grid, .why-grid, .product-grid, .industry-grid, .value-grid, .hero-strip { grid-template-columns: 1fr; }
  .business-list { grid-template-columns: 1fr; }
  .company-card { min-height: 330px; }
}
