:root {
  --red: #b5161f;
  --red-dark: #8f1017;
  --red-soft: #d93a43;
  --dark: #202020;
  --dark-grey: #333333;
  --grey: #6f6f6f;
  --mid-grey: #9a9a9a;
  --light-grey: #eeeeee;
  --soft-grey: #f6f6f6;
  --white: #ffffff;
  --border: #d7d7d7;
  --text: #252525;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  color: var(--red-dark);
}

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 880px;
}

.center {
  text-align: center;
}

/* Header */

.topbar {
  background: var(--dark);
  border-bottom: 5px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand:hover {
  color: var(--white);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  color: var(--white);
  border-bottom-color: var(--red);
}

/* Hero */

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 680px;
  background: var(--dark);
}

.hero-text-block {
  background:
    linear-gradient(90deg, rgba(181, 22, 31, 0.14), transparent),
    var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
}

.hero-inner {
  padding-top: 90px;
  padding-bottom: 90px;
}

.hero-inner h1 {
  max-width: 760px;
  margin: 0 0 26px;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--white);
}

.hero-inner p {
  max-width: 720px;
  margin-top: 0;
  font-size: 18px;
  color: #eeeeee;
}

.hero-image-block {
  min-height: 680px;
  border-left: 10px solid var(--red);
}

.hero-image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.label {
  display: inline-block;
  margin: 0 0 16px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.hero-text-block .label {
  color: var(--red-soft);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 2px solid var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: 0.2s ease;
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

/* Intro */

.intro-panel {
  padding: 88px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.intro-heading h2,
.section-title h2,
.content-band h2,
.image-text-section h2,
.faq-section h2 {
  margin: 0 0 24px;
  color: var(--dark);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.intro-copy p,
.content-band p,
.image-text-section p,
.section-title p,
.overview-content p,
.services-grid p,
.faq-section p,
.site-footer p {
  margin-top: 0;
  font-size: 17px;
}

/* Overview rows */

.overview-section {
  padding: 92px 0;
  background: var(--soft-grey);
}

.section-title {
  max-width: 860px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-title.light h2,
.section-title.light p {
  color: var(--white);
}

.overview-list {
  display: grid;
  gap: 28px;
}

.overview-list.compact-list {
  max-width: 980px;
  margin: 0 auto;
}

.overview-row {
  display: grid;
  grid-template-columns: 86px 280px 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  min-height: 220px;
}

.overview-number {
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.overview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overview-content {
  padding: 32px 36px;
}

.overview-content h3 {
  margin: 0 0 14px;
  color: var(--dark);
  font-size: 27px;
  line-height: 1.18;
}

.overview-content a {
  display: inline-block;
  margin-top: 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--red);
}

/* Content bands */

.content-band {
  padding: 92px 0;
  background: var(--white);
}

.content-band.grey {
  background: var(--light-grey);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 60px;
  align-items: center;
}

.fact-box {
  background: var(--dark);
  color: var(--white);
  border-left: 8px solid var(--red);
  padding: 38px;
}

.fact-box.light-box {
  background: var(--soft-grey);
  color: var(--text);
  border: 1px solid var(--border);
  border-left: 8px solid var(--red);
}

.fact-box h3 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.2;
}

.fact-box ul {
  margin: 0;
  padding-left: 20px;
}

.fact-box li {
  margin: 10px 0;
}

/* Image text */

.image-text-section {
  padding: 92px 0;
  background: var(--white);
}

.image-text-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.image-text-grid.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.image-frame {
  border: 10px solid var(--light-grey);
  box-shadow: 18px 18px 0 var(--red);
  background: var(--white);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Services */

.services-block {
  padding: 92px 0;
  background: var(--dark);
  color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.services-grid article {
  background: var(--dark-grey);
  border-top: 5px solid var(--red);
  padding: 30px;
}

.services-grid h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 22px;
  line-height: 1.25;
}

.services-grid p {
  color: #e6e6e6;
  margin-bottom: 0;
}

.services-grid a {
  color: var(--white);
  border-bottom: 1px solid var(--red-soft);
}

.services-grid a:hover {
  color: var(--red-soft);
}

/* FAQ */

.faq-section {
  padding: 92px 0;
  background: var(--soft-grey);
}

details {
  background: var(--white);
  border: 1px solid var(--border);
  margin: 14px 0;
}

summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--dark);
  font-size: 18px;
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--red);
  font-size: 24px;
  line-height: 1;
}

details[open] summary::after {
  content: "–";
}

details p {
  padding: 0 24px 24px;
  margin: 0;
  color: var(--text);
}

/* Footer */

.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 62px 0;
  border-top: 5px solid var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.9fr;
  gap: 42px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 16px;
  color: var(--white);
}

.site-footer p {
  color: #dfdfdf;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin: 8px 0;
}

.site-footer a {
  color: #dfdfdf;
}

.site-footer a:hover {
  color: var(--red-soft);
}

/* Responsive */

@media (max-width: 1120px) {
  .hero-split,
  .intro-grid,
  .two-col,
  .image-text-grid,
  .image-text-grid.reverse {
    grid-template-columns: 1fr;
  }

  .hero-image-block {
    min-height: 420px;
    border-left: 0;
    border-top: 10px solid var(--red);
  }

  .overview-row {
    grid-template-columns: 72px 220px 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-frame {
    box-shadow: 12px 12px 0 var(--red);
  }
}

@media (max-width: 780px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .main-nav {
    gap: 12px 18px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .hero-inner {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .hero-inner h1 {
    font-size: 38px;
  }

  .hero-inner p {
    font-size: 16px;
  }

  .intro-panel,
  .overview-section,
  .content-band,
  .image-text-section,
  .services-block,
  .faq-section {
    padding: 58px 0;
  }

  .overview-row {
    grid-template-columns: 1fr;
  }

  .overview-number {
    min-height: 64px;
    justify-content: flex-start;
    padding-left: 24px;
  }

  .overview-image img {
    aspect-ratio: 3 / 2;
  }

  .overview-content,
  .fact-box,
  .services-grid article {
    padding: 24px;
  }

  .services-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .image-frame {
    border-width: 6px;
    box-shadow: 8px 8px 0 var(--red);
  }

  summary {
    font-size: 16px;
    padding: 18px;
  }

  details p {
    padding: 0 18px 20px;
  }
}