:root {
  --navy: #0c3340;
  --navy-2: #08262f;
  --teal: #177e8e;
  --cyan: #2eb8c9;
  --gold: #e0a117;
  --gold-2: #f3c45a;
  --ember: #c45214;
  --cream: #f6f1e8;
  --paper: #fffdf8;
  --ink: #142428;
  --muted: #5a6c71;
  --line: rgba(20, 36, 40, 0.12);
  --shadow: 0 22px 50px rgba(12, 51, 64, 0.14);
  --radius: 18px;
  --header-h: 84px;
  --font-d: "Fraunces", Georgia, "Times New Roman", serif;
  --font-s: "Plus Jakarta Sans", system-ui, sans-serif;
  --wrap: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-s);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }

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

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ember);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--ember));
}

h1, h2, h3, .display {
  font-family: var(--font-d);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
h3 { font-size: 1.28rem; }

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 56ch;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s, border-color 0.25s, height 0.25s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(12, 51, 64, 0.08);
  height: 72px;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand img {
  height: 58px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 8px 12px;
  color: var(--navy);
  border-radius: 999px;
}
.nav a:hover,
.nav a.is-active {
  background: rgba(12, 51, 64, 0.06);
  color: var(--teal);
}
.header-cta { display: flex; gap: 8px; align-items: center; }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px;
}
.menu-btn span {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 6px 0;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--navy-2);
  box-shadow: 0 10px 24px rgba(224, 161, 23, 0.35);
}
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn-wa {
  background: #128c7e;
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(780px, calc(100svh - var(--header-h)));
  color: #fff;
  overflow: hidden;
  display: grid;
  align-items: end;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  transform: scale(1.04);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 20, 26, 0.28) 0%, rgba(8, 20, 26, 0.18) 28%, rgba(8, 20, 26, 0.78) 100%),
    radial-gradient(80% 60% at 80% 0%, rgba(224, 161, 23, 0.28), transparent 55%);
}
.hero-inner {
  padding: 70px 0 56px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: end;
}
.hero .kicker { color: var(--gold-2); }
.hero .kicker::before { background: var(--gold-2); }
.hero h1 { color: #fff; max-width: 12ch; }
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-2);
}
.hero .lead { color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-aside {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  padding: 22px;
}
.hero-aside p { margin: 0 0 14px; color: rgba(255,255,255,.82); font-size: 0.95rem; }
.hero-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 0.92rem;
  align-items: baseline;
}
.hero-stat b {
  color: var(--gold-2);
  font-family: var(--font-d);
  font-size: 0.95rem;
  text-align: right;
  overflow-wrap: anywhere;
}

/* Stats */
.stats {
  background: var(--navy);
  color: #fff;
  padding: 28px 0;
}
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat b {
  display: block;
  font-family: var(--font-d);
  font-size: 2rem;
  color: var(--gold-2);
  line-height: 1;
  margin-bottom: 6px;
}
.stat span { color: rgba(255,255,255,.75); font-size: 0.92rem; }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--cream); }
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 40px;
}
.section-head p { margin: 0; color: var(--muted); max-width: 46ch; }

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 0 rgba(255,255,255,.6);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(160deg, rgba(46,184,201,.18), rgba(224,161,23,.18));
  color: var(--navy);
}
.card p { color: var(--muted); margin: 0; }

.service-card {
  overflow: hidden;
  padding: 0;
}
.service-card img {
  height: 210px;
  width: 100%;
  object-fit: cover;
}
.service-card .body { padding: 22px; }
.service-card ul {
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
.step {
  padding: 8px 22px 8px 0;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-d);
  font-size: 3rem;
  color: rgba(224, 161, 23, 0.35);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }
.step + .step {
  padding-left: 22px;
  border-left: 1px dashed rgba(12,51,64,.18);
}

/* Mosaic gallery */
.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
}
.mosaic a {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  display: block;
  text-decoration: none;
  color: #fff;
}
.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.mosaic a:hover img { transform: scale(1.06); }
.mosaic a:first-child { grid-row: 1 / span 2; }
.mosaic a span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(8,20,26,.8));
  font-weight: 600;
  font-size: 0.92rem;
}

/* Team */
.team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  gap: 18px;
}
.person {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
}
.avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-d);
  font-size: 1.7rem;
  color: var(--navy);
  background:
    radial-gradient(circle at 30% 20%, var(--gold-2), transparent 40%),
    linear-gradient(160deg, #d7f3f7, #f3d48a);
  border: 3px solid #fff;
  box-shadow: var(--shadow);
}
.person small {
  display: block;
  color: var(--ember);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.person p { margin: 6px 0 0; color: var(--muted); font-size: 0.92rem; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.split-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.split-photos img {
  border-radius: 18px;
  height: 250px;
  width: 100%;
  object-fit: cover;
}
.split-photos img:first-child {
  grid-row: 1 / span 2;
  height: 512px;
  object-position: center 78%;
}

.values { display: grid; gap: 14px; margin-top: 24px; }
.value {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
}
.value i {
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 50%;
  background: linear-gradient(var(--gold), var(--ember));
}
.value p { margin: 0; color: var(--muted); }

/* Estimator */
.estimator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: 36px;
  overflow: hidden;
  position: relative;
}
.estimator::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -60px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,161,23,.35), transparent 70%);
}
.estimator h2, .estimator p { color: #fff; position: relative; z-index: 1; }
.estimator p { color: rgba(255,255,255,.78); }
.est-form, .est-result { position: relative; z-index: 1; }
.est-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.est-form input {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.est-result {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 22px;
}
.est-result b {
  display: block;
  font-family: var(--font-d);
  font-size: 2.4rem;
  color: var(--gold-2);
}
.est-note { font-size: 0.85rem; color: rgba(255,255,255,.65) !important; }

/* Gallery page */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.filter {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  color: var(--navy);
}
.filter.is-on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.g-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
  background: #ddd;
  min-height: 240px;
}
.g-item.is-hidden { display: none; }
.g-item img, .g-item video {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.g-item.tall img { height: 380px; }
.g-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(8,20,26,.82));
  color: #fff;
}
.g-item figcaption strong { display: block; }
.g-item figcaption span { font-size: 0.82rem; opacity: 0.85; }
.play-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0,0,0,.55);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Lightbox */
.lightbox, .video-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 26, 0.92);
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
}
.lightbox.is-open, .video-modal.is-open { display: grid; }
.lightbox img, .video-modal video {
  max-width: min(1100px, 100%);
  max-height: 86vh;
  border-radius: 12px;
}
.lb-close, .vid-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  font-size: 1.4rem;
}
.lb-cap {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-weight: 600;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}
.contact-card {
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: 28px;
}
.contact-card h2 { color: #fff; }
.contact-card a { color: var(--gold-2); text-decoration: none; }
.cinfo { display: grid; gap: 14px; margin: 22px 0; }
.cinfo div { color: rgba(255,255,255,.86); }
.cinfo b { display: block; color: #fff; margin-bottom: 2px; }
.map {
  border: 0;
  width: 100%;
  height: 220px;
  border-radius: 16px;
  margin-top: 8px;
}
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-weight: 700; font-size: 0.86rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-msg {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
}
.form-msg.ok { display: block; background: #e6f6ea; color: #146c2e; }
.form-msg.err { display: block; background: #fde8e6; color: #9b1c1c; }

.cta-band {
  background:
    linear-gradient(120deg, rgba(12,51,64,.82), rgba(196,82,20,.55)),
    url("../assets/gallery/project-16.jpg") center/cover;
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.86); margin: 0 auto 22px; max-width: 50ch; }
.cta-band .hero-actions { justify-content: center; }

/* Footer */
.site-footer {
  background: var(--navy-2);
  color: rgba(255,255,255,.78);
  padding: 48px 0 20px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-brand img { height: 70px; background: #fff; border-radius: 12px; padding: 6px 10px; margin-bottom: 12px; }
.legal {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.4);
  text-decoration: none;
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

.page-hero {
  background:
    linear-gradient(180deg, rgba(12,51,64,.5), rgba(12,51,64,.72)),
    url("../assets/brand/hero-page.jpg") center 35%/cover;
  color: #fff;
  padding: 72px 0 56px;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.86); max-width: 52ch; }

.page-contact .cta-band { display: none; }

.split ul {
  color: var(--muted);
  padding-left: 18px;
  margin: 0 0 22px;
  display: grid;
  gap: 8px;
}

.gst-chip {
  display: inline-block;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

@media (max-width: 980px) {
  .hero-inner, .cards-4, .cards-3, .process, .split, .estimator,
  .gallery-grid, .contact-grid, .foot-grid, .stats .wrap, .section-head, .mosaic {
    grid-template-columns: 1fr;
  }
  .mosaic { grid-template-rows: none; }
  .mosaic a:first-child { grid-row: auto; height: 280px; }
  .mosaic a { height: 200px; }
  .process .step + .step { border-left: 0; padding-left: 0; border-top: 1px dashed rgba(12,51,64,.18); padding-top: 18px; }
  .split-photos img:first-child { height: 250px; grid-row: auto; }
  .header-cta .btn { display: none; }
  .menu-btn { display: block; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    display: none;
    flex-direction: column;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .hero-inner { padding-top: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), calc(100% - 28px)); }
  .section { padding: 64px 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .g-item img, .g-item.tall img { height: 260px; }
  .brand img { height: 48px; }
  .estimator { padding: 22px; }
  .contact-card .cinfo { padding-right: 64px; }
  .hero { min-height: calc(100svh - var(--header-h)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
