:root {
  --primary: #1f3a5f;
  --primary-light: #31527d;
  --primary-dark: #18293f;
  --accent: #c6a56b;

  --bg: #f5f6f8;
  --white: #ffffff;
  --ink: #111827;
  --muted: #667085;
  --line: rgba(17, 24, 39, 0.08);
  --shadow: 0 30px 80px rgba(15, 23, 42, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img,
video {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* HEADER */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 86px;
  z-index: 3000;

  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 32px;

  padding: 0 5vw;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.logo strong {
  display: block;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.logo span {
  display: block;
  margin-top: 2px;
  color: var(--accent);
  font-size: 0.72rem;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  position: relative;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* BUTTONS */

.header-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;

  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;

  transition: 0.25s ease;
}

.header-btn,
.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 18px 40px rgba(31, 58, 95, 0.22);
}

.btn.secondary {
  background: white;
  color: var(--primary);
  border: 1px solid rgba(198, 165, 107, 0.35);
}

.btn:hover,
.header-btn:hover {
  transform: translateY(-2px);
}

/* MENU BUTTON */

.menu-btn {
  display: none;
  width: 48px;
  height: 48px;

  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;

  position: relative;
  cursor: pointer;
}

.menu-btn span {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.menu-btn span:first-child {
  top: 18px;
}

.menu-btn span:last-child {
  top: 26px;
}

/* MOBILE MENU */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 4000;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 120px 7vw 44px;

  background:
    radial-gradient(circle at 85% 15%, rgba(198, 165, 107, 0.18), transparent 30%),
    linear-gradient(135deg, #ffffff, #f1f3f6);

  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  clip-path: circle(0% at 92% 8%);
}

.close-menu {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 6000;

  width: 52px;
  height: 52px;

  display: grid;
  place-items: center;

  border-radius: 50%;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: white;

  cursor: pointer;
}

.close-menu span {
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--ink);
}

.close-menu span:first-child {
  transform: rotate(45deg);
}

.close-menu span:last-child {
  transform: rotate(-45deg);
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-links a {
  font-size: clamp(2.7rem, 12vw, 6rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.07em;
}

.mobile-links a:hover {
  color: var(--accent);
}

.mobile-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

/* HERO */

main {
  padding-top: 86px;
}

.hero {
  min-height: calc(100vh - 86px);
  padding: 7vw 6vw;

  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;

  color: var(--accent);

  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero h1,
.section-header h2,
.about h2 {
  font-size: clamp(3rem, 6vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.hero p,
.section-header p,
.product-card p,
.about p {
  margin-top: 22px;
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-image {
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.hero-image img {
  height: min(72vh, 720px);
  object-fit: cover;
}

/* BENEFITS */

.benefits {
  padding: 46px 6vw;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;

  background: linear-gradient(135deg, #1c2f4a, #2a466d);
  color: white;
}

.benefit-card {
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.benefit-card:last-child {
  border-right: none;
}

.benefit-card span {
  color: var(--accent);
  font-weight: 800;
}

.benefit-card h3 {
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.benefit-card p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

/* PRODUCTS */

.products {
  padding: 110px 6vw;
  background: white;
}

.section-header {
  max-width: 760px;
  margin-bottom: 48px;
}

.products-carousel {
  overflow: hidden;
}

.carousel-top {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 24px;
}

.carousel-btn {
  width: 48px;
  height: 48px;

  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);

  cursor: pointer;
  transition: 0.25s ease;
}

.carousel-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.carousel-track {
  display: flex;
  gap: 28px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;

  cursor: grab;
  padding-bottom: 10px;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 calc((100% - 56px) / 3);

  border-radius: 26px;
  overflow: hidden;

  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(16, 24, 40, 0.08);
}

.product-card img {
  height: 280px;
  object-fit: cover;
}

.product-card div {
  padding: 28px;
}

.product-card h3 {
  font-size: 1.45rem;
}

/* WORK / REFERENCES */

.work {
  padding: 110px 6vw;
  background: white;
}

.work-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: stretch;
}

.work-video {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: white;
}

.work-video video {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

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

.work-item {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 250px;
  background: #ddd;
  box-shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.06);
  transition: 0.45s ease;
}

.work-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 41, 63, 0.74), transparent 62%);
}

.work-item span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;

  color: white;

  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.work-item:hover img {
  transform: scale(1.08);
}

/* ABOUT / CONTACT */

.about {
  padding: 110px 6vw;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;

  background: linear-gradient(135deg, #f7f8fa, #eef1f5);
}

.about-text,
.contact-box {
  background: white;

  border-radius: 32px;
  border: 1px solid var(--line);

  padding: 46px;
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.08);
}

.stats {
  display: flex;
  gap: 32px;
  margin-top: 34px;
}

.stats strong {
  display: block;
  color: var(--accent);
  font-size: 2.2rem;
}

.stats span {
  color: var(--muted);
}

.contact-box ul {
  list-style: none;
  margin: 28px 0;
}

.contact-box li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

/* IMAGE MODAL */

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 8000;

  display: grid;
  place-items: center;

  background: rgba(10, 15, 24, 0.88);
  backdrop-filter: blur(14px);

  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.modal-frame {
  max-width: min(92vw, 1150px);
  max-height: 86vh;

  overflow: hidden;
  border-radius: 24px;

  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}

.modal-img {
  max-width: min(92vw, 1150px);
  max-height: 86vh;

  width: auto;
  height: auto;

  object-fit: contain;
  display: block;
}

.modal-close {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 8100;

  width: 54px;
  height: 54px;

  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);

  background: white;
  color: var(--ink);

  font-size: 2rem;
  line-height: 1;

  cursor: pointer;
}

/* FOOTER */

.site-footer {
  padding: 36px 6vw;

  display: flex;
  justify-content: space-between;
  gap: 24px;

  background: var(--primary-dark);
  color: white;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav,
  .header-btn {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero,
  .about,
  .work-layout {
    grid-template-columns: 1fr;
  }

  .benefits {
    grid-template-columns: 1fr 1fr;
  }

  .product-card {
    flex: 0 0 calc((100% - 28px) / 2);
  }

  .work-video video {
    min-height: 420px;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 76px;
    padding: 0 20px;
  }

  .logo-mark {
    width: 42px;
    height: 42px;
  }

  .logo strong {
    font-size: 0.82rem;
  }

  .logo span {
    font-size: 0.64rem;
  }

  main {
    padding-top: 76px;
  }

  .hero {
    padding: 60px 20px;
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .hero-image img {
    height: 420px;
  }

  .benefits,
  .about {
    grid-template-columns: 1fr;
  }

  .benefits,
  .products,
  .work,
  .about {
    padding-left: 20px;
    padding-right: 20px;
  }

  .benefit-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding-bottom: 22px;
  }

  .carousel-top {
    justify-content: flex-start;
  }

  .product-card {
    flex: 0 0 86%;
  }

  .product-card img {
    height: 240px;
  }

  .work {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .work-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .work-item {
    min-height: 190px;
    border-radius: 16px;
  }

  .work-video video {
    min-height: 320px;
  }

  .about-text,
  .contact-box {
    padding: 30px 22px;
  }

  .mobile-footer,
  .site-footer {
    flex-direction: column;
    gap: 10px;
  }

  .modal-close {
    top: 18px;
    right: 18px;
  }
}