:root {
  --bg: #0a0704;
  --bg-soft: #160e05;
  --surface: #1e1305;
  --surface-2: #2c1c08;
  --surface-3: #180e03;
  --text: #f5ede0;
  --muted: #c4b49a;
  --brand: #c9a430;
  --brand-2: #e03030;
  --brand-3: #e8c060;
  --line: rgba(201, 164, 48, 0.25);
  --line-soft: rgba(201, 164, 48, 0.12);
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 15%, #321505 0%, transparent 33%),
    radial-gradient(circle at 92% 8%, #200a00 0%, transparent 44%),
    linear-gradient(155deg, var(--bg) 0%, #0d0603 43%, #120804 100%);
  line-height: 1.6;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.06;
  background-image: radial-gradient(circle, #ffffff 0.7px, transparent 0.7px);
  background-size: 6px 6px;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(120deg, rgba(10, 7, 4, 0.95) 0%, rgba(26, 10, 4, 0.92) 50%, rgba(38, 8, 4, 0.9) 100%);
  border-bottom: 1px solid rgba(201, 164, 48, 0.24);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 164, 48, 0.35);
  background: linear-gradient(120deg, #f1dfb1 0%, #d9bb6b 45%, #c69a35 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.brand-logo {
  height: 68px;
  width: auto;
  max-width: 285px;
  object-fit: contain;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.main-nav a,
.mobile-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.48rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: all 160ms ease;
  font-size: 0.95rem;
}

.main-nav a:hover,
.mobile-nav a:hover,
.main-nav a.current,
.mobile-nav a.current {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.mobile-nav {
  display: none;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
}

.hero {
  padding: 6rem 0 2.8rem;
}

.page-hero {
  padding: 5.2rem 0 2.2rem;
}

.hero-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: "";
  position: absolute;
  top: -22px;
  left: -8px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 164, 48, 0.22) 0%, rgba(201, 164, 48, 0) 70%);
  z-index: -1;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.75rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  line-height: 1.1;
  font-family: "Chivo", sans-serif;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  letter-spacing: -0.03em;
}

h1 span {
  display: block;
  color: var(--brand-2);
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.23rem;
}

.lead {
  margin: 0 0 1.4rem;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions,
.contact-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  padding: 0.74rem 1.15rem;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

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

.btn-solid {
  color: #1a0a00;
  background: linear-gradient(125deg, var(--brand) 0%, #e8c060 100%);
  box-shadow: 0 12px 26px rgba(201, 164, 48, 0.35);
}

.btn-outline,
.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover,
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow);
}

.hero-panel,
.feature-panel,
.client-block,
.contact-card,
.timeline,
.page-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.3rem;
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
}

.stats {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.stats li {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 0.82rem 0.55rem;
  text-align: center;
}

.stats strong {
  display: block;
  font-size: 1.5rem;
  color: var(--brand-2);
  font-family: "Chivo", sans-serif;
}

.stats span,
.muted,
.panel-copy,
.card p,
.timeline li,
.contact-card p,
.footer-wrap p,
.client-block li,
.note,
details p,
p {
  color: var(--muted);
}

.trust-bar {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.2);
}

.trust-wrap {
  padding: 1rem 0;
  display: grid;
  gap: 0.6rem;
  text-align: center;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.trust-wrap p {
  margin: 0;
  font-size: 0.9rem;
}

.section {
  padding: 4.7rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.04) 100%);
}

.section-head {
  max-width: 76ch;
  margin-bottom: 1.8rem;
}

.cards,
.link-cards,
.value-grid {
  display: grid;
  gap: 1rem;
}

.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.link-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.feature-panel,
.page-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
}

.card {
  transition: transform 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
}

.link-card {
  text-decoration: none;
  color: inherit;
}

.link-card h3 {
  color: var(--text);
}

.about-grid,
.contact-grid,
.client-columns,
.split-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.about-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.timeline,
.contact-card,
.feature-panel {
  padding: 1rem;
  background: linear-gradient(165deg, rgba(40, 22, 4, 0.75) 0%, rgba(16, 8, 1, 0.88) 100%);
}

.timeline ul,
.client-block ul,
.clean-list {
  margin: 0;
  padding-left: 1rem;
}

.timeline li span,
.highlight {
  margin-right: 0.45rem;
  color: var(--brand-2);
  font-weight: 700;
}

.client-columns {
  align-items: start;
}

.client-block {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.client-block ul {
  columns: 2;
  column-gap: 1.4rem;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem 1rem;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

.quote-form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label,
.field legend {
  color: var(--text);
  font-weight: 700;
  font-size: 0.93rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(2, 8, 13, 0.45);
  color: var(--text);
  padding: 0.68rem 0.78rem;
  font-family: "Space Grotesk", sans-serif;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(77, 228, 190, 0.22);
}

.check-group {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem;
}

.checks {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checks label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-weight: 500;
}

.checks input {
  width: auto;
}

.form-status {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.form-success {
  border-color: rgba(77, 228, 190, 0.35);
  background: rgba(77, 228, 190, 0.12);
  color: #c5ffe9;
}

.form-error {
  border-color: rgba(255, 112, 112, 0.4);
  background: rgba(150, 34, 34, 0.2);
  color: #ffd8d8;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.page-banner {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(123, 201, 255, 0.12) 0%, rgba(77, 228, 190, 0.14) 100%);
  padding: 1.1rem;
  margin-top: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.24);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 1.2rem 0;
}

a {
  color: #e8c060;
}

a:hover {
  color: var(--brand-2);
}

.img-fallback-link {
  display: block;
}

.img-fallback-link img {
  display: block;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 90ms;
}

.delay-2 {
  transition-delay: 180ms;
}

/* ── Installation Gallery ─────────────────────── */
.install-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.install-photo {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line-soft);
  transition: border-color 0.35s, box-shadow 0.35s;
}

.install-photo:hover {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(201, 164, 48, 0.2);
}

.install-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.install-photo:hover img {
  transform: scale(1.05);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.media-tile {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.media-tile img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.media-tile figcaption {
  padding: 0.7rem 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── Service Card with Photo ─────────────────── */
.card-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
  margin: -1.4rem -1.4rem 1.2rem -1.4rem;
  width: calc(100% + 2.8rem);
}

@media (max-width: 1050px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .client-columns,
  .split-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .link-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .main-nav {
    display: none;
  }

  .mobile-nav {
    display: flex;
  }

  .cards,
  .link-cards {
    grid-template-columns: 1fr;
  }

  .client-block ul {
    columns: 1;
  }

  .trust-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 4.8rem;
  }

  .form-grid,
  .checks {
    grid-template-columns: 1fr;
  }

  .install-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .brand-logo {
    height: 56px;
    max-width: 210px;
  }

  .nav-wrap {
    min-height: 86px;
  }
}
