:root {
  color-scheme: light;
  --bg: #f4f7f5;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #5b6678;
  --line: #cbd5e1;
  --accent: #1d4ed8;
  --accent-dark: #1e3a8a;
  --gold: #b8892f;
  --soft: #eaf1fb;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(20px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(203, 213, 225, 0.75);
  background: rgba(244, 247, 245, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 50px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(29, 78, 216, 0.18);
}

.brand-mark span {
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.brand-name {
  max-width: 220px;
  font-size: 0.95rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 750;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: var(--soft);
}

.site-nav .nav-cta {
  color: #ffffff;
  background: var(--accent);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: #ffffff;
  background: var(--accent-dark);
}

.hero,
.section,
.proof-band,
.site-footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 48px;
  padding: 72px 0 48px;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.section .eyebrow,
.contact-section .eyebrow {
  color: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 620px;
  font-size: clamp(2.7rem, 5.8vw, 4.8rem);
  line-height: 1;
}

h2 {
  margin-bottom: 18px;
  max-width: 700px;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
}

.hero-text,
.section-intro p,
.about-copy,
.contact-copy p,
.proof-band p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-text {
  max-width: 600px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.contact-form button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 850;
  cursor: pointer;
}

.button.primary,
.contact-form button {
  color: #ffffff;
  background: var(--accent);
}

.button.primary:hover,
.contact-form button:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
}

.button.secondary:hover {
  background: var(--soft);
}

.hero-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  aspect-ratio: 4 / 5;
  background: var(--soft);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-band {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-band p {
  max-width: 880px;
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 750;
}

.section {
  padding: 84px 0;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-intro.compact {
  max-width: 850px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--surface);
}

.service-number {
  margin-bottom: 58px;
  color: var(--gold);
  font-weight: 900;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.audit-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.audit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.audit-list div {
  min-height: 76px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
  font-weight: 800;
}

.about-section,
.contact-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}

.about-copy p:last-child,
.contact-copy p:last-child {
  margin-bottom: 0;
}

.privacy-note {
  border-left: 3px solid var(--line);
  padding-left: 14px;
  font-size: 0.98rem;
  margin: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form label span {
  color: var(--muted);
  font-weight: 650;
}

.field-label {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: var(--ink);
  font-weight: 800;
}

.required-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.required-note span,
.contact-form .required-marker {
  color: #b4232a;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfdfc;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(29, 78, 216, 0.18);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.turnstile-container {
  min-height: 78px;
  max-width: 100%;
  overflow: hidden;
}

.cf-turnstile {
  width: 300px;
  max-width: 100%;
}


.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--accent-dark);
  font-weight: 750;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin-bottom: 0;
}

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

@media (max-width: 940px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .hero-media {
    aspect-ratio: 16 / 10;
  }

  .service-grid,
  .audit-list,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero,
  .section,
  .proof-band,
  .site-footer {
    width: min(100% - 28px, 1160px);
  }

  .brand-name {
    display: none;
  }

  .site-nav a {
    padding: 9px 10px;
  }

  .hero {
    gap: 28px;
    padding-bottom: 34px;
  }

  .section {
    padding: 58px 0;
  }

  .service-grid,
  .audit-list,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 230px;
  }

  .service-number {
    margin-bottom: 32px;
  }

  .contact-form {
    padding: 18px;
  }

  .site-footer {
    flex-direction: column;
  }
}
