:root {
  --mad-red: #e23b3b;
  --mad-orange: #f58220;
  --mad-gold: #fdb515;
  --mad-blue: #005a9c;
  --mad-ink: #171717;
  --mad-muted: #5f6670;
  --mad-line: #d9dde3;
  --mad-bg: #f7f8f6;
  --mad-white: #ffffff;
  --mad-green: #3f6847;
  --mad-radius: 8px;
  --mad-shadow: 0 18px 45px rgba(18, 28, 39, 0.14);
}

* {
  box-sizing: border-box;
}

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

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

a {
  color: inherit;
}

.wrap {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 23, 23, 0.1);
  background: rgba(255, 255, 255, 0.96);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner {
  min-height: 82px;
}

.site-logo {
  width: min(330px, 68vw);
}

.menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  color: #262626;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.menu a:hover,
.menu a[aria-current="page"] {
  color: var(--mad-red);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid var(--mad-red);
  border-radius: var(--mad-radius);
  background: var(--mad-red);
  color: var(--mad-white);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.button.secondary {
  border-color: var(--mad-ink);
  background: var(--mad-white);
  color: var(--mad-ink);
}

.hero {
  min-height: clamp(560px, 78vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--mad-white);
  background:
    linear-gradient(90deg, rgba(10, 15, 18, 0.88) 0%, rgba(10, 15, 18, 0.68) 42%, rgba(10, 15, 18, 0.18) 100%),
    url("img/property-services-hero.png") center / cover no-repeat;
}

.hero-content {
  width: min(760px, 100%);
  padding: clamp(80px, 12vh, 132px) 0 76px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mad-gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.55rem, 6vw, 5.15rem);
  line-height: 0.96;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.04;
}

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

.lead {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.section {
  padding: clamp(64px, 9vw, 104px) 0;
}

.section.white {
  background: var(--mad-white);
}

.section.dark {
  background: var(--mad-ink);
  color: var(--mad-white);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.65fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  margin-bottom: 34px;
}

.section-head p {
  color: var(--mad-muted);
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--mad-line);
  border-radius: var(--mad-radius);
  background: var(--mad-white);
}

.card strong {
  color: var(--mad-red);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(245, 130, 32, 0.14);
  color: var(--mad-orange);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.proof-panel {
  padding: clamp(28px, 4vw, 42px);
  border-left: 8px solid var(--mad-red);
  background: var(--mad-white);
  box-shadow: var(--mad-shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  width: 9px;
  height: 16px;
  position: absolute;
  left: 0;
  top: 0.2em;
  border-right: 3px solid var(--mad-green);
  border-bottom: 3px solid var(--mad-green);
  content: "";
  transform: rotate(42deg);
}

.banner {
  padding: clamp(34px, 5vw, 54px);
  border-radius: var(--mad-radius);
  background: linear-gradient(135deg, var(--mad-blue), #24313d);
  color: var(--mad-white);
}

.banner p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

.page-title {
  padding: clamp(70px, 10vw, 112px) 0;
  background: var(--mad-ink);
  color: var(--mad-white);
}

.page-title p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
}

.contact-box {
  display: grid;
  gap: 16px;
  padding: 26px;
  border-radius: var(--mad-radius);
  background: var(--mad-white);
  box-shadow: var(--mad-shadow);
}

.contact-row {
  display: grid;
  gap: 4px;
}

.contact-row span {
  color: var(--mad-muted);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  padding: 36px 0;
  background: #101010;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer img {
  width: min(290px, 70vw);
  padding: 8px 12px;
  border-radius: var(--mad-radius);
  background: var(--mad-white);
}

.footer-meta {
  text-align: right;
}

.footer-meta p {
  margin-bottom: 4px;
}

@media (max-width: 860px) {
  .header-inner,
  .footer-inner,
  .section-head,
  .split {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .menu {
    justify-content: flex-start;
  }

  .grid.three,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 660px;
    background:
      linear-gradient(180deg, rgba(10, 15, 18, 0.86) 0%, rgba(10, 15, 18, 0.66) 58%, rgba(10, 15, 18, 0.3) 100%),
      url("img/property-services-hero.png") center / cover no-repeat;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(100% - 24px, 1140px);
  }

  .menu a {
    padding: 8px 7px;
    font-size: 0.86rem;
  }
}
