:root {
  --ink: #17202a;
  --muted: #5c6975;
  --line: #dfe6ea;
  --paper: #ffffff;
  --soft: #f5f8f7;
  --brand: #8d0717;
  --brand-dark: #650512;
  --gold: #eba00a;
  --sky: #fff4dc;
  --shadow: 0 18px 45px rgba(23, 32, 42, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--brand);
  color: #fff;
  padding: .7rem 1rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: .45rem 1rem;
  font-size: .82rem;
  color: var(--muted);
  background: var(--soft);
}

.navbar {
  min-height: 180px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  min-width: max-content;
}

.brand strong {
  display: block;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: .75rem;
}

.mini-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: 360px;
  height: 170px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: .95rem;
  padding: .55rem .7rem;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-dark);
  background: var(--sky);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: .55rem .75rem;
  font: inherit;
}

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

.button.small {
  min-height: 40px;
  padding: .55rem .85rem;
  background: var(--brand);
  color: #fff;
}

.button.primary {
  background: var(--brand);
  color: #fff;
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .7);
}

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

.hero {
  position: relative;
  min-height: min(720px, 86vh);
  display: grid;
  align-items: end;
  isolation: isolate;
  background: var(--brand-dark) var(--hero-image) center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 27, 25, .88), rgba(8, 27, 25, .56), rgba(8, 27, 25, .22));
}

.hero-content {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 6rem 0 5rem;
  color: #fff;
}

.hero h1 {
  max-width: 780px;
  margin: .25rem 0 1rem;
  font-size: 5.2rem;
  line-height: .98;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 680px;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, .9);
}

.hero-actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.eyebrow {
  margin: 0 0 .5rem;
  color: var(--brand);
  font-weight: 900;
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: var(--gold);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1120px;
  margin: -2.4rem auto 0;
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

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

.trust-strip strong {
  display: block;
  font-size: 1.35rem;
  color: var(--brand-dark);
}

.trust-strip span {
  color: var(--muted);
  font-size: .92rem;
}

.section,
.split,
.cta-band,
.footer {
  padding: 5rem max(1rem, calc((100% - 1120px) / 2));
}

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

h2 {
  margin: 0 0 .8rem;
  font-size: 2.55rem;
  line-height: 1.1;
}

h3 {
  margin: 0 0 .5rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
}

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

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.3rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
}

.service-card .text-link {
  margin-top: auto;
}

.text-link {
  color: var(--brand-dark);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.mini-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  background: var(--sky);
  color: var(--brand-dark);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
  align-items: center;
}

.split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.value-list,
.form-card,
.contact-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(23, 32, 42, .06);
}

ul {
  padding-left: 1.2rem;
}

li {
  margin: .35rem 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.timeline article {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: #261b07;
  font-weight: 900;
  margin-bottom: 1rem;
}

.accordion {
  display: grid;
  gap: .8rem;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1rem;
}

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

.testimonial p {
  font-size: 1.02rem;
  color: var(--ink);
}

.testimonial span {
  color: var(--muted);
}

.form {
  display: grid;
  gap: .9rem;
}

.form label {
  display: grid;
  gap: .35rem;
  color: var(--ink);
  font-weight: 800;
  font-size: .92rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .75rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea {
  resize: vertical;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: var(--brand-dark);
  color: #fff;
}

.cta-band h2 {
  max-width: 780px;
}

.cta-band .eyebrow,
.cta-band p {
  color: var(--gold);
}

.footer {
  background: #101820;
  color: #fff;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2rem;
}

.footer h2 {
  font-size: 1rem;
}

.footer p,
.footer small {
  color: rgba(255, 255, 255, .72);
}

.footer a:not(.brand) {
  display: block;
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  margin: .35rem 0;
}

.footer-brand {
  color: #fff;
}

.footer-brand {
  align-items: flex-start;
  flex-direction: column;
}

.footer-brand .footer-logo {
  width: 280px;
  height: 110px;
  object-fit: contain;
}

.copyright {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .66);
  font-size: .9rem;
}

.sticky-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  gap: .5rem;
  z-index: 15;
}

.sticky-actions a {
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  padding: .7rem .9rem;
  box-shadow: var(--shadow);
}

.post h2 {
  font-size: 1.4rem;
}

@media (max-width: 920px) {
  .navbar {
    flex-wrap: wrap;
    min-height: 150px;
    padding-block: .6rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    order: 4;
    display: none;
    width: 100%;
    margin-left: 0;
    padding: .5rem 0;
    border-top: 1px solid var(--line);
  }

  .nav-links.open {
    display: grid;
  }

  .navbar .button.small {
    display: none;
  }

  .trust-strip,
  .service-grid,
  .three,
  .two,
  .timeline,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    width: min(92%, 520px);
  }

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

  .section,
  .split,
  .cta-band,
  .footer {
    padding-top: 3.4rem;
    padding-bottom: 3.4rem;
  }

  .hero {
    min-height: 720px;
    align-items: start;
  }

  .cta-band {
    display: grid;
  }
}

@media (max-width: 560px) {
  .topbar {
    justify-content: flex-start;
    font-size: .78rem;
  }

  .brand small {
    max-width: 165px;
  }

  .site-header .brand-logo {
    width: 250px;
    height: 132px;
  }

  .hero-content {
    padding-top: 3.5rem;
    padding-bottom: 7rem;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .hero p:not(.eyebrow) {
    font-size: 1.05rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .button.ghost {
    display: none;
  }

  .sticky-actions {
    left: 1rem;
    right: 1rem;
    bottom: .25rem;
  }

  .sticky-actions a {
    flex: 1;
    text-align: center;
  }
}
