:root {
  --ink: #12151a;
  --ink-2: #1b2028;
  --ink-3: #2a313c;
  --paper: #f4f0e8;
  --paper-2: #e8e2d6;
  --cream: #faf7f1;
  --gold: #c9a227;
  --gold-2: #e3be4c;
  --gold-d: #9a7a16;
  --steel: #6d7480;
  --line: rgba(201, 162, 39, 0.28);
  --white: #fff;
  --shadow: 0 18px 50px rgba(18, 21, 26, 0.16);
  --radius: 4px;
  --header: 76px;
  --topbar: 36px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; height: auto; }

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

h1, h2, h3, h4 {
  font-family: Oswald, Impact, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.12;
  margin: 0 0 0.55em;
}

p { margin: 0 0 1em; }

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus { top: 12px; }

.topbar {
  background: var(--ink);
  color: #c8cdd4;
  font-size: 13px;
  height: var(--topbar);
}
.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  white-space: nowrap;
}
.topbar a:hover { color: var(--gold-2); }
.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 21, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: var(--header);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.28); }
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  flex-shrink: 0;
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.brand strong {
  display: block;
  font-family: Oswald, sans-serif;
  font-size: 22px;
  letter-spacing: 0.08em;
  line-height: 1;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.nav > a,
.nav-drop > a {
  color: #e8eaee;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav > a:hover,
.nav-drop > a:hover,
.nav .is-active > a,
.nav a.is-active { color: var(--gold-2); }

.nav-drop { position: relative; }
.nav-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 280px;
  background: var(--ink-2);
  border: 1px solid rgba(201,162,39,.2);
  padding: 10px;
  display: none;
  box-shadow: var(--shadow);
}
.nav-drop:hover .nav-menu,
.nav-drop:focus-within .nav-menu { display: grid; }
.nav-menu a {
  display: block;
  padding: 10px 12px;
  color: #d7dbe2;
  font-size: 14px;
}
.nav-menu a:hover { background: rgba(201,162,39,.1); color: var(--gold-2); }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.15);
  background: transparent;
  margin-left: auto;
  flex-shrink: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  margin: 6px auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost {
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-line {
  border-color: var(--ink);
  background: transparent;
}
.btn-line:hover { background: var(--ink); color: #fff; }

.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12,14,17,.88) 0%, rgba(12,14,17,.55) 48%, rgba(12,14,17,.25) 100%),
    linear-gradient(180deg, rgba(12,14,17,.15) 0%, rgba(12,14,17,.72) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 80px 0 72px;
  max-width: 720px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-2);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  margin-bottom: 16px;
}
.hero p {
  font-size: 18px;
  max-width: 54ch;
  color: #e4e6ea;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.page-hero {
  position: relative;
  min-height: 380px;
  display: grid;
  align-items: end;
  color: #fff;
}
.page-hero .hero-media { position: absolute; inset: 0; }
.page-hero .hero-copy { padding: 70px 0 48px; }

.section { padding: 88px 0; }
.section-dark {
  background: var(--ink);
  color: #e6e8ec;
}
.section-paper { background: var(--paper); }
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 40px;
}
.section-head h2 { font-size: clamp(32px, 4vw, 48px); margin: 0; }
.muted { color: var(--steel); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: #fff;
  border: 1px solid rgba(18,21,26,.06);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(18,21,26,.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 22px; }
.card-num {
  color: var(--gold-d);
  font-family: Oswald, sans-serif;
  letter-spacing: 0.12em;
  font-size: 13px;
}
.card h3 { font-size: 24px; margin: 6px 0 8px; }
.card p { color: #4b5160; font-size: 15px; }
.more {
  color: var(--gold-d);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  border: 1px solid var(--line);
}
.split h2 { font-size: clamp(32px, 4vw, 50px); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.stat {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.stat b {
  display: block;
  font-family: Oswald, sans-serif;
  font-size: 40px;
  color: var(--gold-d);
}
.stat span { color: var(--steel); font-size: 14px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.why-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.why {
  background: var(--ink-2);
  padding: 24px 20px;
  border: 1px solid rgba(201,162,39,.12);
  min-height: 210px;
}
.why b {
  display: block;
  font-family: Oswald, sans-serif;
  color: var(--gold);
  font-size: 28px;
  margin-bottom: 10px;
}
.why h3 { font-size: 22px; color: #fff; }
.why p { color: #b7bcc6; font-size: 15px; margin: 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.step {
  background: #fff;
  padding: 22px 18px;
  border-top: 3px solid var(--gold);
}
.step span {
  font-family: Oswald, sans-serif;
  color: var(--gold-d);
  letter-spacing: 0.1em;
}
.step h3 { font-size: 20px; margin-top: 8px; }
.step p { font-size: 14px; color: #535968; margin: 0; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.project {
  position: relative;
  overflow: hidden;
  min-height: 240px;
}
.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}
.project figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(12,14,17,.85));
  color: #fff;
  font-family: Oswald, sans-serif;
  letter-spacing: 0.04em;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.filters button {
  border: 1px solid rgba(18,21,26,.15);
  background: #fff;
  min-height: 38px;
  padding: 0 14px;
  font-weight: 600;
  cursor: pointer;
}
.filters button.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.cta-band {
  background:
    linear-gradient(90deg, rgba(12,14,17,.88), rgba(12,14,17,.55)),
    url("../img/og-image.jpg") center/cover;
  color: #fff;
  padding: 72px 0;
}
.cta-band h2 { font-size: clamp(32px, 4vw, 52px); max-width: 16ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
}
.info-list {
  display: grid;
  gap: 16px;
}
.info-list a, .info-list span { display: block; }
.info-card {
  background: #fff;
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
}
.info-card small {
  display: block;
  color: var(--steel);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 4px;
}

form.contact {
  display: grid;
  gap: 12px;
  background: #fff;
  padding: 24px;
  border: 1px solid rgba(18,21,26,.06);
}
form.contact label { font-size: 13px; font-weight: 700; }
form.contact input,
form.contact textarea,
form.contact select {
  width: 100%;
  border: 1px solid #d6d2c8;
  background: var(--cream);
  padding: 12px 12px;
  font: inherit;
}
form.contact textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-msg {
  padding: 12px 14px;
  background: #e8f5e9;
  border-left: 3px solid #2e7d32;
  margin-bottom: 16px;
}
.form-msg.error { background: #fdecea; border-color: #c62828; }

.map-wrap {
  margin-top: 28px;
  border: 1px solid var(--line);
  min-height: 360px;
}
.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
}

.breadcrumbs {
  font-size: 13px;
  color: #d0d4db;
  margin-bottom: 12px;
}
.breadcrumbs a:hover { color: var(--gold-2); }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}
.feature-list li {
  padding-left: 22px;
  position: relative;
}
.feature-list li::before {
  content: "";
  width: 10px;
  height: 1.5px;
  background: var(--gold-d);
  position: absolute;
  left: 0;
  top: 0.75em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.chip {
  border: 1px solid var(--line);
  padding: 6px 10px;
  font-size: 13px;
  background: #fff;
}

.site-footer {
  background: #0d1014;
  color: #c4c9d1;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.site-footer h2 {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.12em;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover { color: var(--gold-2); }
.footer-lead { color: #9aa1ac; font-size: 15px; }
.site-footer address { font-style: normal; line-height: 1.8; margin-bottom: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  font-size: 13px;
  color: #8b919c;
}

.float-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}
.float-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 24px rgba(18, 21, 26, 0.28);
  transition: transform 0.2s ease;
}
.float-btn img {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1;
  filter: brightness(0) invert(1);
}
.float-call { background: #c9a227; }
.float-wa { background: #25d366; }
.float-btn:hover { transform: scale(1.08); }
.float-rings,
.float-rings::before,
.float-rings::after {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}
.float-rings::before,
.float-rings::after {
  content: "";
  border: 2px solid currentColor;
  opacity: 0;
  animation: float-sonar 2.2s ease-out infinite;
}
.float-rings::after { animation-delay: 0.7s; }
.float-call .float-rings { color: #e3be4c; }
.float-wa .float-rings { color: #7ce8a5; }
.float-call img { animation: float-ring 1.6s ease-in-out infinite; }
.float-wa img { animation: float-pop 2.4s ease-in-out infinite; }
.float-tip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}
.float-btn:hover .float-tip,
.float-btn:focus-visible .float-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.float-btn.is-nudge { animation: float-nudge 0.7s ease; }

@keyframes float-sonar {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.75); opacity: 0; }
}
@keyframes float-ring {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(14deg); }
  30% { transform: rotate(-10deg); }
  45% { transform: rotate(8deg); }
  60% { transform: rotate(0deg); }
}
@keyframes float-pop {
  0%, 70%, 100% { transform: scale(1); }
  78% { transform: scale(1.12); }
  86% { transform: scale(0.96); }
}
@keyframes float-nudge {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .float-rings::before,
  .float-rings::after,
  .float-call img,
  .float-wa img,
  .float-btn.is-nudge { animation: none; }
}

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

@media (max-width: 980px) {
  .service-grid, .why-grid, .why-grid.cols-3, .project-grid, .related { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .section-head, .footer-grid { grid-template-columns: 1fr; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    inset: calc(var(--header) + var(--topbar)) 0 auto;
    background: var(--ink-2);
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
  }
  .nav.is-open { display: flex; }
  .nav-menu { position: static; display: grid; min-width: 0; width: 100%; box-shadow: none; }
  .hide-sm { display: none !important; }
}

@media (max-width: 640px) {
  .service-grid, .why-grid, .project-grid, .related, .stats { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
  .footer-bottom { flex-direction: column; }
}
