:root {
  --primary: #171717;
  --secondary: #252525;
  --accent: #b48a55;
  --accent-dark: #8d693d;
  --light: #f7f5f0;
  --gray: #ececec;
  --white: #ffffff;
  --ink: #111111;
  --muted: #68635c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.section,
.client-strip {
  position: relative;
  isolation: isolate;
}

.section::before,
.client-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .46;
  background:
    linear-gradient(90deg, transparent 0 19px, rgba(180,138,85,.12) 19px 20px, transparent 20px 96px),
    linear-gradient(0deg, transparent 0 19px, rgba(180,138,85,.10) 19px 20px, transparent 20px 96px),
    linear-gradient(90deg, transparent 0 58%, rgba(17,17,17,.07) 58% calc(58% + 2px), transparent calc(58% + 2px) 100%),
    linear-gradient(0deg, transparent 0 34%, rgba(17,17,17,.06) 34% calc(34% + 2px), transparent calc(34% + 2px) 100%),
    radial-gradient(circle at 18% 72%, transparent 0 44px, rgba(180,138,85,.12) 45px 46px, transparent 47px),
    radial-gradient(circle at 82% 22%, transparent 0 28px, rgba(17,17,17,.07) 29px 30px, transparent 31px);
  background-size: 360px 360px, 360px 360px, 520px 360px, 420px 300px, 360px 360px, 320px 320px;
  background-position: 24px 18px, 24px 18px, right 20px top 30px, left 12px bottom 18px, left 30px bottom 24px, right 18px top 12px;
}

h1, h2, h3, h4 {
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}
h1 { font-size: clamp(2.4rem, 5vw, 5.7rem); line-height: .98; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.65rem); line-height: 1.05; }
h3 { font-size: 1rem; }
p { color: var(--muted); }

.site-nav {
  padding: 1.25rem 0;
  transition: background .25s ease, padding .25s ease, box-shadow .25s ease;
}
.site-nav.scrolled, .site-nav.inner-nav {
  background: rgba(12, 12, 12, .94);
  padding: .75rem 0;
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.navbar-toggler {
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.9);
}
.brand {
  min-width: 150px;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--accent);
  font-weight: 800;
}
.brand img { width: 128px; max-height: 74px; object-fit: contain; }
.footer-brand img { width: 155px; max-height: 90px; }
.brand-fallback {
  display: inline-flex;
  flex-direction: column;
  color: var(--accent);
  font-size: 1.45rem;
  line-height: .9;
  letter-spacing: .22rem;
}
.brand-fallback span {
  color: rgba(180,138,85,.9);
  font-size: .55rem;
  letter-spacing: .34rem;
  margin-top: .3rem;
}
.nav-link {
  color: var(--white);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 .85rem;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent) !important;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  color: var(--accent) !important;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  left: .5rem;
  right: .5rem;
  bottom: .1rem;
  height: 2px;
  background: var(--accent);
}
.btn {
  border-radius: 0;
  padding: .8rem 1.35rem;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }

.hero {
  min-height: 92vh;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-media, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 35%, rgba(0,0,0,.18) 100%), url("../assets/images/hero/mega-hero.png");
  background-size: cover;
  background-position: center;
}
.hero-media {
  animation: heroSlowMotion 18s ease-in-out infinite alternate;
  transform-origin: center;
  will-change: transform;
}

@keyframes heroSlowMotion {
  0% {
    transform: scale(1.08) translateX(1.5%);
  }
  50% {
    transform: scale(1.02) translateX(-1%);
  }
  100% {
    transform: scale(1.1) translateX(-2%);
  }
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
}
.hero-content p { color: rgba(255,255,255,.82); max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.eyebrow, .section-kicker {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.section { padding: 4.8rem 0; }
.lead-copy { max-width: 720px; }
.feature-img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  object-position: 72% center;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
  margin-top: 2rem;
}
.stat-grid div, .track-grid div {
  display: grid;
  gap: .35rem;
}
.stat-grid i, .track-grid i, .awards-grid i {
  color: var(--accent);
  font-size: 2rem;
}
.stat-grid strong, .track-grid strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}
.stat-grid span, .track-grid span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}

.social-band, .track-band, .testimonial-band, .cta-band, .site-footer {
  background: linear-gradient(90deg, rgba(0,0,0,.93), rgba(0,0,0,.82)), url("../assets/images/hero/mega-hero.png");
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.social-band .container, .cta-band .container {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.social-band p, .cta-band p, .testimonial-band p, .site-footer p { color: rgba(255,255,255,.72); }
.social-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(70px, 1fr));
  gap: 1.5rem;
}
.social-links a {
  display: grid;
  justify-items: center;
  gap: .55rem;
  color: var(--white);
  font-size: .78rem;
}
.social-links i { font-size: 1.55rem; }

.service-grid, .project-grid, .awards-grid, .team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
}
.service-grid { grid-template-columns: repeat(3, 1fr); }
.service-card, .project-card, .award-card, .team-card {
  border: 1px solid #e3dfd7;
  background: var(--white);
  text-align: left;
}
.service-card img, .project-card img, .team-card img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
}
.service-card img { object-position: 72% center; }
.card-body { padding: 1.35rem; }
.number { color: var(--accent); font-size: 1.4rem; font-weight: 800; }
.card-link { color: var(--primary); font-size: 1.25rem; }

.track-band { padding: 2.5rem 0; text-align: center; }
.track-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.track-grid strong { color: var(--accent); font-size: 2.3rem; }
.track-grid span { color: rgba(255,255,255,.76); text-transform: uppercase; }

.awards-section { background: var(--light); }
.award-card {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}
.award-card p { margin: 0; font-size: .8rem; }

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}
.project-card img { object-position: 72% center; }
.project-meta {
  color: var(--muted);
  font-size: .82rem;
  margin: 0;
}

.testimonial-band { padding: 4.2rem 0; }
.testimonial-band .carousel { padding-bottom: 2.4rem; }
.carousel-item { min-height: 220px; padding: 1rem 5rem; }
.testimonial-copy {
  max-width: 560px;
  color: var(--white);
  font-size: 1.1rem;
}
.testimonial-dots {
  bottom: -1rem;
  gap: .5rem;
  margin-bottom: 0;
}
.testimonial-dots [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.82);
  background: transparent;
  opacity: 1;
}
.testimonial-dots .active {
  background: var(--accent);
  border-color: var(--accent);
}

.client-strip {
  padding: 2.3rem 0;
  text-align: center;
  background: var(--white);
  overflow: hidden;
}
.client-grid {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem;
  width: max-content;
  animation: trustedMarquee 32s linear infinite;
}
.client-grid a {
  min-width: 180px;
  color: #777;
  font-weight: 800;
  letter-spacing: .08rem;
  filter: grayscale(1);
}
.client-grid:hover {
  animation-play-state: paused;
}

@keyframes trustedMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - .75rem)); }
}

.cta-band .container {
  min-height: 300px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
}
.cta-band h2 {
  flex: none;
  max-width: none;
  font-size: clamp(2rem, 4vw, 3.3rem);
  white-space: nowrap;
}
.cta-band div:last-child {
  flex: none;
  max-width: 620px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1.25rem;
}
.cta-band p {
  max-width: 620px;
  margin-bottom: 0;
}
.cta-band .btn { flex-shrink: 0; white-space: nowrap; }

.contact-list p {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}
.contact-list i { color: var(--accent); font-size: 1.45rem; }
.contact-list strong { display: block; color: var(--ink); text-transform: uppercase; font-size: .78rem; }
.inquiry-form label, .newsletter label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.inquiry-form [name="_honey"] {
  display: none;
}
.form-control, .form-select {
  border-radius: 0;
  border-color: #d8d2c8;
  min-height: 44px;
  font-size: .9rem;
}
.map-panel {
  min-height: 310px;
  background: #e7e3dc;
  overflow: hidden;
}
.map-panel iframe { width: 100%; height: 310px; border: 0; display: block; }
.map-link { display: inline-flex; align-items: center; gap: .45rem; margin-top: .8rem; color: var(--accent-dark); font-size: .88rem; font-weight: 700; }
.map-link:hover { color: var(--primary); }
.form-status { margin: .75rem 0 0; color: var(--accent-dark); font-weight: 700; }

.site-footer { padding: 3rem 0 1rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 2rem;
}
.site-footer h3 {
  color: var(--white);
  font-size: .85rem;
  margin-bottom: 1rem;
}
.footer-about p {
  max-width: 300px;
  margin: 1rem 0 0;
  color: rgba(255,255,255,.68);
  font-size: .9rem;
  line-height: 1.65;
}
.site-footer a {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: .85rem;
  margin: .45rem 0;
}
.newsletter {
  display: flex;
  border: 1px solid rgba(255,255,255,.25);
}
.newsletter input {
  min-width: 0;
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--white);
  padding: .8rem;
}
.newsletter button {
  width: 46px;
  border: 0;
  background: var(--accent);
  color: var(--white);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  color: rgba(255,255,255,.62);
  font-size: .78rem;
}
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--accent);
  color: var(--white);
  display: none;
  z-index: 20;
}
.back-to-top.show { display: grid; place-items: center; }

.page-hero {
  min-height: 48vh;
  position: relative;
  color: var(--white);
  display: flex;
  align-items: end;
  padding: 8rem 0 4rem;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; }
.contact-hero {
  min-height: 58vh;
}
.contact-hero::before {
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.58) 44%, rgba(0,0,0,.26) 100%),
    url("../assets/images/hero/mega-hero.png");
  background-position: center 58%;
}
.contact-hero h1 {
  max-width: 720px;
}
.filter-bar {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.project-showcase {
  padding: 4rem 0;
  background: #050505;
}
.project-mosaic {
  display: grid;
  grid-template-columns: .96fr .96fr 1fr;
  gap: .75rem;
  max-width: 1120px;
  margin: 0 auto;
}
.project-mosaic__column {
  display: grid;
  gap: .75rem;
  min-width: 0;
}
.project-mosaic__column--left,
.project-mosaic__column--right {
  grid-template-rows: minmax(0, 2.45fr) minmax(0, 1fr);
}
.project-mosaic__column--middle {
  grid-template-rows: minmax(0, 1fr) minmax(0, 2.15fr);
}
.project-mosaic__tile {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #161616;
}
.project-mosaic__tile img,
.project-mosaic__tile iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.project-mosaic__column--left .project-mosaic__tile--portrait,
.project-mosaic__column--right .project-mosaic__tile--video {
  aspect-ratio: 9 / 13.2;
}
.project-mosaic__column--middle .project-mosaic__tile--portrait {
  aspect-ratio: 4 / 5.2;
}
.project-mosaic__tile--landscape {
  aspect-ratio: 16 / 9;
}
.project-mosaic__slideshow {
  position: relative;
}
.project-mosaic__slideshow img {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: projectImageFade 18s ease-in-out infinite;
}
.project-mosaic__slideshow img:nth-child(1) { animation-delay: 0s; }
.project-mosaic__slideshow img:nth-child(2) { animation-delay: 6s; }
.project-mosaic__slideshow img:nth-child(3) { animation-delay: 12s; }
.project-mosaic__slideshow--offset img:nth-child(1) { animation-delay: -4s; }
.project-mosaic__slideshow--offset img:nth-child(2) { animation-delay: 2s; }
.project-mosaic__slideshow--offset img:nth-child(3) { animation-delay: 8s; }
.project-mosaic__slideshow--late img:nth-child(1) { animation-delay: -8s; }
.project-mosaic__slideshow--late img:nth-child(2) { animation-delay: -2s; }
.project-mosaic__slideshow--late img:nth-child(3) { animation-delay: 4s; }

@keyframes projectImageFade {
  0% { opacity: 0; transform: scale(1.035); }
  8%, 27% { opacity: 1; }
  36%, 100% { opacity: 0; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .project-mosaic__slideshow img { animation: none; opacity: 0; }
  .project-mosaic__slideshow img:first-child { opacity: 1; }
}
.project-mosaic__tile--video iframe {
  object-fit: initial;
}
.filter-buttons { display: flex; gap: .5rem; flex-wrap: wrap; }
.filter-buttons .active { background: var(--primary); color: var(--white); }
.detail-hero-img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: 72% center;
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(12,12,12,.97);
    padding: 1rem;
    margin-top: 1rem;
  }
  .stat-grid, .service-grid, .project-grid, .awards-grid, .team-grid, .track-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .social-band .container, .cta-band .container, .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .cta-band .container {
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .cta-band h2,
  .cta-band div:last-child {
    flex-basis: auto;
  }
  .cta-band h2 { white-space: normal; }
  .cta-band div:last-child { align-items: center; flex-direction: column; }
  .cta-band p { max-width: 430px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-item { padding: 1rem 2.5rem; }
  .project-showcase { padding: 2.5rem 0; }
  .project-mosaic { gap: .55rem; }
  .project-mosaic__column { gap: .55rem; }
}

@media (max-width: 575px) {
  .hero { min-height: 82vh; }
  .section { padding: 3.2rem 0; }
  .service-grid, .project-grid, .awards-grid, .team-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem 1rem;
  }
  .track-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1rem;
    justify-items: center;
  }
  .track-grid div {
    align-items: center;
    text-align: center;
  }
  .social-band .container {
    align-items: center;
    text-align: center;
  }
  .social-band p {
    margin-left: auto;
    margin-right: auto;
  }
  .social-links {
    width: 100%;
    grid-template-columns: repeat(3, minmax(76px, 1fr));
    justify-content: center;
    justify-items: center;
  }
  .footer-bottom { flex-direction: column; }
  .carousel-item { padding: 1rem 1.75rem; }
  .project-showcase { padding: 1rem 0; }
  .project-mosaic {
    grid-template-columns: 1fr 1fr;
    gap: .45rem;
  }
  .project-mosaic__column { gap: .45rem; }
  .project-mosaic__column--right {
    grid-column: 1 / -1;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: minmax(0, 1fr);
  }
  .project-mosaic__column--right .project-mosaic__tile--video,
  .project-mosaic__column--right .project-mosaic__tile--landscape {
    aspect-ratio: 9 / 12;
  }
}
.chat-widget {
  --chat-black: #111111;
  --chat-gold: #c7a34b;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1080;
  display: grid;
  justify-items: end;
  gap: 12px;
  font-family: "DM Sans", sans-serif;
}

.back-to-top {
  right: 33px;
  bottom: 98px;
}

.chat-toggle {
  width: 62px;
  height: 62px;
  border: 2px solid var(--chat-gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--chat-gold);
  background: var(--chat-black);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
  font-size: 25px;
  cursor: pointer;
  transition: transform .2s ease, color .2s ease, background-color .2s ease;
}

.chat-toggle:hover,
.chat-toggle:focus-visible {
  color: var(--chat-black);
  background: var(--chat-gold);
  transform: translateY(-2px);
  outline: none;
}

.chat-close-icon,
.chat-widget.is-open .chat-open-icon {
  display: none;
}

.chat-widget.is-open .chat-close-icon {
  display: inline-block;
}

.chat-menu {
  width: min(310px, calc(100vw - 40px));
  padding: 10px;
  border: 1px solid rgba(199, 163, 75, .65);
  border-radius: 18px;
  color: #ffffff;
  background: var(--chat-black);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.96);
  transform-origin: bottom right;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  pointer-events: none;
}

.chat-widget.is-open .chat-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-menu-title {
  margin: 3px 8px 8px;
  color: var(--chat-gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.chat-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 10px;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}

.chat-option:hover,
.chat-option:focus-visible {
  color: var(--chat-gold);
  background: rgba(199, 163, 75, .1);
  outline: none;
}

.chat-option-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid var(--chat-gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--chat-gold);
  font-size: 18px;
}

.chat-viber {
  font-size: 16px;
  font-weight: 800;
}

.chat-option strong,
.chat-option small {
  display: block;
}

.chat-option strong {
  font-size: .93rem;
}

.chat-option small {
  margin-top: 1px;
  color: rgba(255, 255, 255, .65);
  font-size: .76rem;
}

@media (max-width: 575.98px) {
  .chat-widget {
    right: 16px;
    bottom: 16px;
  }

  .chat-toggle {
    width: 56px;
    height: 56px;
  }

  .back-to-top {
    right: 22px;
    bottom: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-toggle,
  .chat-menu {
    transition: none;
  }
}
