:root {
  --gold: #ffb703;
  --gold-dark: #e0a000;
  --dark: #010d14;
  --dark-2: #000d13;
  --dark-3: #12202b;
  --text: #333;
  --muted: #6b7280;
  --bg: #fff;
  --bg-soft: #f6f7f8;
  --line: #e8eaed;
  --ok: #157347;
  --err: #b42318;
  --radius: 10px;
  --shadow: 0 12px 40px rgba(1, 13, 20, 0.12);
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Roboto, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, h4 { font-family: "Playfair Display", Georgia, serif; line-height: 1.25; color: #1a1a1a; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--gold); color: var(--dark); font-weight: 700;
  padding: 13px 28px; border: 0; border-radius: 4px; cursor: pointer;
  letter-spacing: .3px; transition: .2s ease; text-transform: none;
}
.btn:hover { background: var(--gold-dark); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 2px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--dark); }

/* Topbar */
.topbar {
  background: var(--dark); color: #d7dde3; font-size: 13px;
  padding: 10px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a:hover { color: var(--gold); }
.topbar-left, .topbar-right { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.topbar svg { width: 14px; height: 14px; fill: var(--gold); vertical-align: -2px; margin-right: 6px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(1,13,20,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 74px;
}
.logo {
  display: flex; align-items: center; flex: 0 0 auto;
  min-width: 0;
}
.logo img {
  height: 48px !important;
  width: auto !important;
  max-height: 48px;
  max-width: 230px;
  display: block;
  object-fit: contain;
}

.menu { display: flex; gap: 4px; align-items: center; }
.menu a {
  color: #fff; padding: 10px 12px; font-size: 14px; font-weight: 500;
  position: relative;
}
.menu a:hover, .menu a.active { color: var(--gold); }
.menu a.active::after, .menu a:hover::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px;
  height: 2px; background: var(--gold);
}
.nav-toggle {
  display: none; width: 42px; height: 42px; background: transparent; border: 0; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 7px 0; }

/* Hero */
.hero { position: relative; height: min(86vh, 720px); overflow: hidden; background: var(--dark); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(1,13,20,.78) 0%, rgba(1,13,20,.35) 55%, rgba(1,13,20,.2) 100%);
}
.hero-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff; max-width: 760px;
}
.hero-kicker { color: var(--gold); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; margin-bottom: 14px; }
.hero h1 { color: #fff; font-size: clamp(32px, 5vw, 54px); margin-bottom: 16px; }
.hero p { color: #e8edf1; font-size: 17px; max-width: 560px; margin-bottom: 28px; }
.hero-nav { position: absolute; z-index: 3; right: 30px; bottom: 30px; display: flex; gap: 8px; }
.hero-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.4); border: 0; cursor: pointer; }
.hero-dot.active { background: var(--gold); }

/* Sections */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--dark-2); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow {
  color: var(--gold); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 12px; margin-bottom: 10px;
}
.section-title { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 16px; }
.lead { color: var(--muted); font-size: 16px; max-width: 680px; }

.grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.about-photo { position: relative; }
.about-photo img { width: 100%; height: 560px; object-fit: cover; border-radius: 6px; }
.about-photo .badge {
  position: absolute; left: -18px; bottom: 30px; background: var(--gold); color: var(--dark);
  padding: 18px 22px; font-family: "Playfair Display", serif; font-weight: 700;
}
.mv { background: #fff; border: 1px solid var(--line); padding: 26px; border-radius: var(--radius); height: 100%; }
.mv h3 { margin-bottom: 10px; font-size: 22px; }
.mv p { color: var(--muted); }

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px;
}
.stat { background: #fff; padding: 22px 18px; border-radius: var(--radius); box-shadow: var(--shadow); }
.stat b { display: block; font-family: "Playfair Display", serif; font-size: 36px; color: var(--gold); }
.stat span { color: var(--muted); font-size: 14px; }

/* Cards / projects */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.06);
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px); }
.card img { width: 100%; height: 230px; object-fit: cover; }
.card > a { display: block; color: inherit; }
.card-body { padding: 16px 18px 20px; }
.card-body h3 { font-size: 17px; margin-bottom: 4px; }
.card-body p { color: var(--muted); font-size: 13px; }

.project-cover img { width: 100%; max-height: 540px; object-fit: cover; border-radius: 8px; }
.project-layout { display: grid; grid-template-columns: 1.7fr .8fr; gap: 32px; align-items: start; }
.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.project-gallery a { display: block; overflow: hidden; border-radius: 8px; }
.project-gallery img { width: 100%; height: 210px; object-fit: cover; transition: transform .25s ease; }
.project-gallery a:hover img { transform: scale(1.04); }
.project-meta { background: var(--bg-soft); padding: 22px; border-radius: 8px; display: grid; gap: 14px; }
.project-meta li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; font-size: 14px; }
.project-meta li span { color: var(--muted); }
.project-meta li b { text-align: right; }
.project-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.project-pager a { max-width: 46%; color: var(--dark); font-weight: 600; }
.project-pager a span { display: block; color: var(--muted); font-size: 13px; font-weight: 400; margin-bottom: 4px; }
.project-meta .btn-outline { color: var(--dark); }
.project-meta .btn-outline:hover { color: #fff; }

/* Brands */
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.brand-item {
  background: #fff; border: 1px solid var(--line); min-height: 140px;
  display: grid; place-items: center; padding: 18px; border-radius: 8px;
  transition: .2s ease;
}
.brand-item:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.brand-item img { max-height: 78px; width: auto; max-width: 100%; object-fit: contain; }

.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; background: #fff; }
.marquee-track { display: flex; gap: 48px; animation: slide 28s linear infinite; width: max-content; align-items: center; }
.marquee img { height: 52px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: #fff; border: 0; padding: 16px 18px;
  font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; gap: 12px;
}
.faq-q::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { display: none; padding: 0 18px 16px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }

/* CTA */
.cta {
  background: url("../img/hero/s2.jpg") center/cover;
  position: relative; padding: 90px 0; color: #fff; text-align: center;
}
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(1,13,20,.78); }
.cta .container { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: 18px; }

/* Page hero */
.page-hero {
  background: var(--dark) url("../img/hero/s1.jpg") center/cover;
  position: relative; padding: 90px 0 70px; color: #fff;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(1,13,20,.76); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: 42px; margin-bottom: 8px; }
.crumbs { color: #c9d2da; font-size: 14px; }
.crumbs a:hover { color: var(--gold); }

/* Catalog */
.catalog-list { display: grid; gap: 12px; }
.catalog-item {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); padding: 18px 20px; border-radius: 8px;
}
.catalog-item:hover { border-color: var(--gold); }
.catalog-item span { font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; }
.info-box { display: grid; gap: 14px; }
.info-card { background: var(--bg-soft); padding: 18px; border-radius: 8px; }
.info-card b { display: block; margin-bottom: 4px; }
.group-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 20px; }
.group-logos img { width: 100%; height: 70px; object-fit: cover; border-radius: 6px; }

/* Forms */
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: #222; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #d9dee3; background: #fff; padding: 12px 14px;
  border-radius: 4px; font-size: 14px; color: #222;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid rgba(255,183,3,.45); border-color: var(--gold);
}
.radios { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.radios label { font-weight: 500; display: flex; gap: 6px; align-items: center; }
.alert { padding: 14px 16px; border-radius: 6px; margin-bottom: 16px; font-weight: 500; }
.alert-ok { background: #e8f6ee; color: var(--ok); }
.alert-err { background: #fdecea; color: var(--err); }
.hp { position: absolute; left: -9999px; }

.ik-section { margin: 28px 0 8px; padding-top: 8px; border-top: 2px solid var(--gold); }
.ik-section h2 { font-size: 24px; margin: 12px 0 16px; }
.table-wrap { overflow-x: auto; }
table.form-table { width: 100%; border-collapse: collapse; min-width: 720px; }
table.form-table th, table.form-table td { padding: 8px; text-align: left; vertical-align: top; }
table.form-table th { font-size: 13px; color: var(--muted); font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }

.map iframe { width: 100%; height: 320px; border: 0; border-radius: 8px; filter: grayscale(.2); }

/* Footer */
.site-footer { background: var(--dark-2); color: #d5dbe1; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.site-footer h3 { color: #fff; font-size: 20px; margin-bottom: 14px; }
.site-footer p, .site-footer li { color: #b7c0c8; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; font-size: 13px; color: #9aa4ad; }

.lightbox {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 200;
  align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 18px; right: 22px; background: transparent; border: 0;
  color: #fff; font-size: 32px; cursor: pointer;
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .two-col { grid-template-columns: 1fr; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--dark); flex-direction: column; padding: 12px 20px 20px;
  }
  .menu.open { display: flex; }
  .grid-2, .grid-3, .grid-4, .project-grid, .brand-grid, .stats, .contact-grid, .footer-grid, .form-row, .group-logos, .project-layout, .project-gallery {
    grid-template-columns: 1fr;
  }
  .brand-grid { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-gallery { grid-template-columns: 1fr 1fr; }
  .hero { height: 560px; }
  .about-photo img { height: 380px; }
  .about-photo .badge { left: 12px; }
}
@media (max-width: 640px) {
  .project-grid, .brand-grid { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .catalog-item { flex-direction: column; align-items: flex-start; }
  .logo img { height: 40px !important; max-height: 40px; }
}
