:root {
  --ink: #172033;
  --ink-soft: #344054;
  --muted: #647084;
  --paper: #f7f4ef;
  --surface: #ffffff;
  --surface-2: #fffaf2;
  --brand: #a9221c;
  --brand-dark: #711713;
  --gold: #c49a5b;
  --line: rgba(23, 32, 51, .12);
  --shadow: 0 22px 70px rgba(23, 32, 51, .12);
  --shadow-soft: 0 14px 40px rgba(23, 32, 51, .08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
}

* { 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(--paper);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img, iframe { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; color: var(--ink); letter-spacing: -.025em; }
h1 { font-size: clamp(2.55rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); }
h3 { font-size: clamp(1.22rem, 2vw, 1.65rem); }
ul, ol { margin: 0; padding: 0; }

.container {
  width: min(100% - 42px, var(--container));
  margin-inline: auto;
}
.section { padding: clamp(72px, 8vw, 118px) 0; }
.section-tight { padding: clamp(48px, 6vw, 78px) 0; }
.bg-white { background: var(--surface); }
.bg-dark { background: var(--ink); color: #fff; }
.bg-dark h2, .bg-dark h3, .bg-dark p { color: #fff; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
}
.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--ink-soft); }
.text-center { text-align: center; }
.narrow { max-width: 760px; }
.center { margin-inline: auto; }

.top-strip {
  background: var(--ink);
  color: rgba(255,255,255,.84);
  font-size: .92rem;
}
.top-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: .55rem;
}
.top-strip__links { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; }
.top-strip a { color: #fff; font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.navbar {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 220px;
}
.brand img { width: min(275px, 58vw); height: auto; }
.nav-toggle { display: none; }
.nav-toggle-label { display: none; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .45rem;
  list-style: none;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .62rem .9rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 800;
  font-size: .92rem;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brand);
  background: rgba(169, 34, 28, .08);
}
.nav-links .nav-cta {
  margin-left: .35rem;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 26px rgba(169, 34, 28, .24);
}
.nav-links .nav-cta:hover { background: var(--brand-dark); color: #fff; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(620px, 78vh, 820px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(9, 16, 30, .88), rgba(9, 16, 30, .62) 48%, rgba(9, 16, 30, .28)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  z-index: -1;
  background: linear-gradient(0deg, rgba(9,16,30,.34), transparent);
}
.hero--compact {
  min-height: clamp(360px, 48vh, 520px);
}
.hero__content { max-width: 860px; padding: 82px 0; }
.hero h1, .hero p { color: #fff; }
.hero .eyebrow { color: #ffe7b8; }
.hero .lead { max-width: 780px; margin-top: 1.2rem; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 16px 38px rgba(169, 34, 28, .32);
}
.button--primary:hover { background: var(--brand-dark); color: #fff; }
.button--secondary {
  color: #fff;
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}
.button--secondary:hover { background: #fff; color: var(--ink); }
.button--light {
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.button--outline {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.button--outline:hover { border-color: var(--brand); color: var(--brand); background: rgba(169,34,28,.06); }

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: -58px;
  position: relative;
  z-index: 5;
}
.badge-card,
.card,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.badge-card { padding: 1.4rem; }
.badge-card strong { display: block; font-size: 1.05rem; color: var(--ink); }
.badge-card span { color: var(--muted); font-size: .96rem; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4.6rem);
  align-items: center;
}
.split--reverse { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); }
.media-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  background: #ddd;
}
.media-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-card--wide img { aspect-ratio: 16 / 10; }
.media-card__note {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  color: #fff;
  background: rgba(23, 32, 51, .82);
  backdrop-filter: blur(10px);
}
.media-card__note strong { display: block; color: #fff; }
.media-card__note span { color: rgba(255,255,255,.78); }
.check-list {
  display: grid;
  gap: .9rem;
  margin-top: 1.35rem;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .38rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px rgba(169,34,28,.2);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2rem, 5vw, 3.6rem);
}
.section-head .narrow { max-width: 680px; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.service-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.service-card__image { position: relative; overflow: hidden; }
.service-card__image img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-card__image img { transform: scale(1.045); }
.service-card__tag {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
  color: #fff;
  background: rgba(23, 32, 51, .82);
}
.service-card__body { padding: 1.35rem; }
.service-card__body p { margin-top: .65rem; }
.card-link { display: inline-flex; margin-top: .25rem; color: var(--brand); font-weight: 900; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: process;
}
.process-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
}
.process-card::before {
  counter-increment: process;
  content: "0" counter(process);
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-weight: 950;
}
.process-card p { color: rgba(255,255,255,.74); }

.feature-band {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.4rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.feature-band::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  top: -110px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.feature-band h2, .feature-band p { color: #fff; }
.feature-band p { max-width: 760px; color: rgba(255,255,255,.82); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.value-card { padding: 1.45rem; }
.value-card .icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-weight: 950;
}

.detail-list {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin-top: 1.5rem;
}
.detail-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
}
.detail-list span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(169,34,28,.09);
  color: var(--brand);
  font-weight: 950;
}
.detail-list strong { display: block; color: var(--ink); }
.detail-list p { margin: .15rem 0 0; color: var(--muted); }

.cta-strip {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.2rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.6rem;
  align-items: center;
}
.cta-strip h2, .cta-strip p { color: #fff; }
.cta-strip p { color: rgba(255,255,255,.76); margin: .7rem 0 0; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 1.25rem;
  align-items: start;
}
.contact-card { padding: clamp(1.4rem, 3vw, 2rem); }
.contact-card + .contact-card { margin-top: 1.25rem; }
.contact-list { display: grid; gap: 1rem; margin-top: 1.35rem; list-style: none; }
.contact-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: .95rem;
  align-items: center;
}
.contact-list .dot {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(169,34,28,.09);
  color: var(--brand);
  font-weight: 950;
}
.contact-list strong { display: block; }
.map-frame {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.form-field { display: grid; gap: .45rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: var(--ink); font-weight: 850; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .9rem 1rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  outline: none;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(169,34,28,.08); }
.checkbox-line {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: .94rem;
}
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.site-footer {
  background: #111827;
  color: rgba(255,255,255,.78);
  padding-top: clamp(54px, 7vw, 82px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .9fr .95fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-logo {
  width: 250px;
  background: #fff;
  border-radius: 14px;
  padding: .5rem .7rem;
  margin-bottom: 1rem;
}
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer p, .site-footer li { color: rgba(255,255,255,.72); }
.site-footer ul { list-style: none; display: grid; gap: .48rem; }
.site-footer a { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1.2rem 0;
  font-size: .92rem;
  color: rgba(255,255,255,.64);
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 1040px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid, .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .container { width: min(100% - 30px, var(--container)); }
  .top-strip .container { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .navbar { min-height: 74px; }
  .brand { min-width: 0; }
  .brand img { width: min(235px, 66vw); }
  .nav-toggle-label {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
  }
  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 4px;
    background: var(--ink);
    position: relative;
  }
  .nav-toggle-label span::before,
  .nav-toggle-label span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-label span::before { top: -7px; }
  .nav-toggle-label span::after { top: 7px; }
  .nav-links {
    position: absolute;
    left: -15px;
    right: -15px;
    top: 100%;
    display: grid;
    justify-content: stretch;
    gap: .25rem;
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    transition: max-height .24s ease, padding .24s ease;
  }
  .nav-links a { justify-content: center; border-radius: 14px; }
  .nav-links .nav-cta { margin-left: 0; }
  .nav-toggle:checked ~ .nav-links { max-height: 420px; padding: 12px 15px 18px; }
  .hero { min-height: auto; background-position: center; }
  .hero__content { padding: 86px 0 68px; }
  .hero-badges { grid-template-columns: 1fr; margin-top: 1rem; }
  .section-head { display: block; }
  .section-head .button { margin-top: 1.2rem; }
  .split, .split--reverse, .contact-grid, .feature-band, .cta-strip { grid-template-columns: 1fr; }
  .feature-band .button, .cta-strip .button { justify-self: start; }
}

@media (max-width: 640px) {
  .top-strip__links { display: grid; gap: .35rem; }
  .section { padding: 64px 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .service-grid, .process-grid, .value-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .media-card__note { position: static; border-radius: 0; background: var(--ink); }
  .map-frame { min-height: 320px; }
  .footer-logo { width: 100%; max-width: 270px; }
}
