:root {
  --ink: #191b1f;
  --muted: #636a73;
  --paper: #ffffff;
  --soft: #f6f5f1;
  --line: #e3e0d8;
  --danger: #c51f24;
  --danger-dark: #8e171b;
  --amber: #f0ad2e;
  --green: #16745a;
  --charcoal: #262524;
  --shadow: 0 18px 50px rgba(25, 27, 31, 0.14);
}

* {
  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.55;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(227, 224, 216, 0.78);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--danger);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 18px;
}

.brand-copy span {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 32px);
  color: #3f444c;
  font-size: 15px;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  border-color: var(--danger);
}

.header-action,
.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.header-action {
  padding: 10px 14px;
  color: var(--paper);
  background: var(--charcoal);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 78px));
  overflow: hidden;
  background: var(--charcoal);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/fss-hero.jpg");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 16, 18, 0.9) 0%, rgba(15, 16, 18, 0.72) 38%, rgba(15, 16, 18, 0.18) 72%),
    linear-gradient(0deg, rgba(15, 16, 18, 0.66), rgba(15, 16, 18, 0.05) 45%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: inherit;
  width: min(1160px, calc(100% - 36px));
  align-content: center;
  margin: 0 auto;
  padding: 72px 0 118px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #ffe2a9;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--danger);
}

.eyebrow.light {
  color: #ffd27a;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--paper);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

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

.btn {
  border: 0;
  padding: 12px 18px;
  cursor: pointer;
  font-size: 15px;
}

.btn.primary {
  color: var(--paper);
  background: var(--danger);
}

.btn.primary:hover {
  background: var(--danger-dark);
}

.btn.secondary {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1050px, calc(100% - 36px));
  margin: -58px auto 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.trust-strip div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--danger);
  font-size: 28px;
  line-height: 1;
}

.trust-strip span {
  color: var(--muted);
  margin-top: 6px;
}

.section {
  padding: 96px clamp(18px, 5vw, 64px);
}

.section.compact {
  padding-top: 82px;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1160px, 100%);
  margin: 0 auto;
}

.service-card,
.process article,
.contact-form,
.feature-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.service-card {
  min-height: 242px;
  padding: 24px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(25, 27, 31, 0.1);
}

.service-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--danger);
}

.service-card p,
.process p,
.feature-panel li {
  color: var(--muted);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(310px, 0.7fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: 90px clamp(18px, 5vw, 64px);
  color: var(--paper);
  background:
    linear-gradient(110deg, rgba(197, 31, 36, 0.94), rgba(38, 37, 36, 0.96)),
    var(--charcoal);
}

.feature-content {
  width: min(720px, 100%);
  justify-self: end;
}

.feature-content p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

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

.check-list span {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 48px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.check-list svg {
  flex: 0 0 auto;
  color: var(--amber);
}

.feature-panel {
  width: min(420px, 100%);
  padding: 28px;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.feature-panel ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.feature-panel li {
  padding-left: 18px;
  border-left: 3px solid var(--amber);
}

.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1050px, 100%);
  margin: 0 auto;
}

.process article {
  padding: 26px;
  background: var(--soft);
}

.process span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--green);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 5vw, 70px);
  padding: 92px clamp(18px, 5vw, 64px);
  background: var(--soft);
}

.contact-band > div {
  justify-self: end;
  width: min(610px, 100%);
}

.contact-band p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-methods a,
.contact-methods span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #373b42;
  font-weight: 700;
}

.contact-methods svg {
  color: var(--danger);
}

.contact-form {
  display: grid;
  gap: 16px;
  width: min(520px, 100%);
  padding: 26px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: #34373d;
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(240, 173, 46, 0.35);
  border-color: var(--amber);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.74);
  background: var(--charcoal);
}

svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.1;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav,
  .header-action {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-header.is-open {
    grid-template-columns: 1fr auto;
  }

  .site-header.is-open .site-nav {
    grid-column: 1 / -1;
    display: grid;
    justify-content: stretch;
    gap: 4px;
    padding-top: 8px;
  }

  .site-header.is-open .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .header-action {
    grid-column: 1 / -1;
    display: inline-flex;
    width: fit-content;
  }

  .hero {
    min-height: 660px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(15, 16, 18, 0.92), rgba(15, 16, 18, 0.58)),
      linear-gradient(0deg, rgba(15, 16, 18, 0.72), rgba(15, 16, 18, 0.12));
  }

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

  .feature-band,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .feature-content,
  .contact-band > div {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .brand-copy span {
    display: none;
  }

  .hero-inner {
    width: min(100% - 28px, 1160px);
    padding-bottom: 96px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 31px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .trust-strip,
  .service-grid,
  .process,
  .check-list {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .section,
  .feature-band,
  .contact-band {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .service-card {
    min-height: auto;
  }
}
