:root {
  --ink: #0b0d10;
  --charcoal: #141820;
  --steel: #29313d;
  --muted: #6c7480;
  --line: #dfe5ec;
  --paper: #f7f9fc;
  --white: #ffffff;
  --blue: #066bff;
  --blue-dark: #004ec2;
  --gold: #c58a32;
  --copper: #9b5b28;
  --focus: #ffd166;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(8, 12, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-180%);
  background: var(--white);
  color: var(--ink);
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(10, 14, 20, 0.1);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(1160px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 50px;
  height: 36px;
  object-fit: contain;
}

.brand span,
.footer-brand span {
  font-size: 1.05rem;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  content: "";
}

.menu-toggle-bars {
  position: relative;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
  position: absolute;
  left: 0;
}

.menu-toggle-bars::before {
  top: -7px;
}

.menu-toggle-bars::after {
  top: 7px;
}

.nav-links {
  position: fixed;
  inset: 72px 16px auto 16px;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav-links.is-open {
  display: flex;
}

.nav-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius);
  font-weight: 800;
}

.nav-links a:hover {
  background: var(--paper);
}

.nav-cta {
  justify-content: center;
  background: var(--blue);
  color: var(--white);
}

.nav-links .nav-cta:hover {
  background: var(--blue-dark);
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 62% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.94) 0%, rgba(5, 7, 10, 0.82) 44%, rgba(5, 7, 10, 0.24) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.1) 0%, rgba(5, 7, 10, 0.48) 100%);
}

.hero-content {
  position: relative;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4.5rem 0 3rem;
}

.hero-mark {
  width: 74px;
  height: auto;
  margin-bottom: 1rem;
  opacity: 0.92;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: 2.75rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 720px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.45rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 0;
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-weight: 900;
  cursor: pointer;
  text-align: center;
}

.button-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(6, 107, 255, 0.32);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.service-note {
  max-width: 560px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.trust-row li {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 0.44rem 0.65rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.83rem;
  font-weight: 800;
}

.section-pad {
  padding: 4rem 0;
}

.section-head,
.feature-grid,
.service-grid,
.process-grid,
.gallery-grid,
.why-inner,
.quote,
.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head h2 {
  max-width: 760px;
}

.section-head p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.feature-card,
.service-card,
.process-grid article,
.why-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-card {
  overflow: hidden;
}

.image-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.image-card div {
  padding: 1rem;
}

.mini-label,
.service-card span,
.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  margin-bottom: 0.7rem;
  border-radius: var(--radius);
  background: rgba(6, 107, 255, 0.1);
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-card p,
.service-card p,
.process-grid p,
.why-list p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  gap: 0.75rem;
}

.service-card {
  padding: 1rem;
}

.why {
  background:
    linear-gradient(135deg, rgba(6, 107, 255, 0.08), transparent 38%),
    linear-gradient(180deg, var(--paper), #eef3f8);
}

.why-inner {
  display: grid;
  gap: 1rem;
}

.why-list {
  display: grid;
  gap: 0.75rem;
}

.why-list article {
  position: relative;
  padding: 1rem 1rem 1rem 2.7rem;
  background: rgba(255, 255, 255, 0.82);
}

.why-list span {
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--gold));
}

.process-grid {
  display: grid;
  gap: 0.75rem;
}

.process-grid article {
  padding: 1rem;
  background: var(--charcoal);
  color: var(--white);
}

.process-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.process-grid span {
  background: rgba(197, 138, 50, 0.16);
  color: #f3bd66;
}

.work {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  gap: 0.85rem;
}

.gallery-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--charcoal);
  min-height: 260px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-grid figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.42rem 0.6rem;
  border-radius: var(--radius);
  background: rgba(5, 7, 10, 0.78);
  color: var(--white);
  font-size: 0.83rem;
  font-weight: 900;
}

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

.quote-media {
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--charcoal);
}

.quote-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.quote-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--white);
  box-shadow: var(--shadow);
}

.compact {
  width: auto;
  margin-bottom: 1rem;
}

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

.field-row {
  display: grid;
  gap: 0.35rem;
}

label {
  font-size: 0.88rem;
  font-weight: 900;
}

label span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

input,
select,
textarea {
  min-height: 46px;
  width: 100%;
  border: 1px solid #bdc7d3;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem;
}

textarea {
  resize: vertical;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.form-status {
  display: none;
  padding: 0.75rem;
  border-radius: var(--radius);
  background: #fff7ed;
  color: #7c2d12;
  font-weight: 800;
}

.form-status.is-visible {
  display: block;
}

.form-note {
  border-left: 4px solid var(--gold);
  padding: 0.75rem;
  background: #fffaf2;
  color: #513415;
  font-size: 0.88rem;
}

.form-note p {
  margin: 0;
}

.form-note p + p {
  margin-top: 0.45rem;
}

.full {
  grid-column: 1 / -1;
}

.fallback-contact {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.fallback-contact p {
  margin: 0;
}

.fallback-contact p + p {
  margin-top: 0.45rem;
}

.fallback-contact strong {
  color: var(--ink);
}

.fallback-contact a,
.footer-contact a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-footer {
  background: #07090d;
  color: var(--white);
  padding: 2.5rem 0;
}

.footer-inner {
  display: grid;
  gap: 1rem;
}

.footer-brand img {
  width: 54px;
  height: 38px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-footer a {
  font-weight: 900;
}

.copyright {
  font-size: 0.86rem;
}

@media (min-width: 640px) {
  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .feature-grid,
  .service-grid,
  .process-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-links a {
    padding: 0.55rem 0.7rem;
  }

  .nav-cta {
    padding-inline: 1rem;
  }

  .hero-content {
    padding: 6rem 0;
  }

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

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

  .why-inner {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }

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

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

  .quote {
    grid-template-columns: 0.82fr 1.18fr;
    align-items: center;
  }

  .quote-media,
  .quote-media img {
    min-height: 680px;
  }
}

@media (max-width: 420px) {
  .nav-shell,
  .hero-content,
  .section-head,
  .feature-grid,
  .service-grid,
  .process-grid,
  .gallery-grid,
  .why-inner,
  .quote,
  .footer-inner {
    width: min(100% - 24px, 1160px);
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
