:root {
  --ink: #111827;
  --muted: #4b5563;
  --line: #d7dde5;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --navy: #0f172a;
  --navy-2: #17213a;
  --red: #e12822;
  --red-dark: #b91c1c;
  --green: #2c7a4b;
  --gold: #c99b32;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(225, 40, 34, 0.35);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 42px);
  border-bottom: 1px solid rgba(215, 221, 229, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 146px;
  height: auto;
}

.header-nav,
.quick-contact,
.footer-inner nav,
.hero-actions,
.hero-contact,
.final-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.header-nav {
  justify-content: center;
}

.header-nav a,
.quick-contact a,
.footer-inner nav a {
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.quick-contact {
  justify-content: flex-end;
}

.quick-contact a:last-child,
.hero-contact a:last-child,
.contact-panel a:nth-child(2) {
  color: var(--green);
}

.hero {
  position: relative;
  min-height: min(720px, 78vh);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 11, 25, 0.88) 0%, rgba(10, 18, 39, 0.72) 46%, rgba(10, 18, 39, 0.24) 100%),
    linear-gradient(0deg, rgba(6, 11, 25, 0.34), rgba(6, 11, 25, 0.12));
}

.hero-content {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 84px 0 72px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd56a;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 5.4vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-lead {
  max-width: 740px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.07rem, 2vw, 1.35rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 14px 30px rgba(225, 40, 34, 0.24);
}

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

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.12);
}

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

.button-outline {
  color: var(--navy);
  border-color: var(--line);
  background: #fff;
}

.button-light {
  color: var(--navy);
  background: #fff;
}

.hero-contact {
  margin-top: 22px;
}

.hero-contact a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.section {
  padding: clamp(58px, 8vw, 96px) 0;
}

.section-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.section-muted {
  background: var(--soft);
}

.section-dark {
  color: #fff;
  background: var(--navy);
}

.intro-grid,
.two-column,
.trust-grid,
.form-layout,
.final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.intro-copy p,
.two-column p,
.trust p,
.form-copy p,
.final-cta p,
.section-heading p {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-dark p,
.section-dark .section-kicker {
  color: rgba(255, 255, 255, 0.82);
}

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

.service-card,
details,
.lead-form,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.service-card {
  min-height: 170px;
  padding: 22px;
}

.service-card:nth-child(5),
.service-card:nth-child(6),
.service-card:nth-child(7) {
  border-top: 4px solid var(--green);
}

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

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

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
}

.check-list,
.trust-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li,
.trust-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.check-list li::before,
.trust-list li::before {
  position: absolute;
  left: 0;
  top: 0.15em;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.reference-tagline,
.form-title {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

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

figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.process-list li {
  min-height: 220px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.process-list span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.trust-grid {
  align-items: center;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin-top: 0;
}

.trust-list li {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

details {
  padding: 0;
}

summary {
  min-height: 58px;
  padding: 18px 20px;
  font-weight: 800;
  cursor: pointer;
}

details p {
  padding: 0 20px 20px;
  margin-bottom: 0;
  color: var(--muted);
}

.form-layout {
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  margin-top: 24px;
  box-shadow: var(--shadow);
}

.contact-panel a {
  font-weight: 800;
  text-decoration: none;
}

.lead-form {
  padding: clamp(20px, 4vw, 30px);
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field-row.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label,
.consent {
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input[type="file"] {
  padding: 10px;
}

.field-hint,
.privacy-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hidden-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin: 6px 0 12px;
  font-size: 0.93rem;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.consent a {
  color: var(--red);
}

.form-submit {
  width: 100%;
  margin-top: 18px;
  border: 0;
  font-size: 1rem;
}

.form-status {
  display: none;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 6px;
  font-weight: 800;
}

.form-status.is-success {
  display: block;
  color: #14532d;
  background: #dcfce7;
}

.form-status.is-error {
  display: block;
  color: #7f1d1d;
  background: #fee2e2;
}

.final-cta {
  padding: clamp(44px, 7vw, 80px) 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.final-cta h2 {
  margin-bottom: 10px;
}

.final-actions {
  justify-content: flex-end;
}

.final-actions .button-secondary {
  color: var(--navy);
  border-color: var(--line);
  background: #fff;
}

.thank-you {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  gap: 2px;
  max-width: min(420px, calc(100% - 36px));
  padding: 16px 18px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--green);
  box-shadow: var(--shadow);
}

.thank-you[hidden] {
  display: none;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.86);
  background: var(--navy-2);
}

.footer-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-inner p {
  margin: 6px 0 0;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .header-nav,
  .quick-contact {
    justify-content: flex-start;
  }

  .hero {
    min-height: 680px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(6, 11, 25, 0.88) 0%, rgba(10, 18, 39, 0.68) 68%, rgba(10, 18, 39, 0.24) 100%);
  }

  .intro-grid,
  .two-column,
  .trust-grid,
  .form-layout,
  .final-cta-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .final-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    padding: 14px 18px;
  }

  .header-nav {
    display: none;
  }

  .quick-contact a {
    font-size: 0.9rem;
  }

  .hero {
    min-height: 650px;
  }

  .hero-content {
    width: min(100% - 28px, var(--max));
    padding: 56px 0 46px;
  }

  .hero-actions,
  .final-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .section-inner {
    width: min(100% - 28px, var(--max));
  }

  .service-grid,
  .reference-grid,
  .process-list,
  .faq-grid,
  .trust-list,
  .field-row.split {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-list li {
    min-height: auto;
  }

  .process-list li {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
  }

  .process-list span {
    margin-bottom: 0;
  }

  h1 {
    font-size: clamp(2.25rem, 12vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
}
