:root {
  --red: #d60000;
  --red-dark: #a90000;
  --red-soft: #fff0f0;
  --black: #121212;
  --text: #303030;
  --muted: #686868;
  --line: #e9e9e9;
  --white: #ffffff;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.09);
  --radius: 8px;
  --container: 1210px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  width: auto;
  height: auto;
  margin: 8px;
  padding: 10px 14px;
  clip: auto;
  color: var(--white);
  background: var(--red);
  border-radius: var(--radius);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 14px rgba(0, 0, 0, 0.06);
}

.top-bar {
  color: var(--white);
  background: linear-gradient(90deg, #b60000, var(--red), #b60000);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  gap: 18px;
  font-size: 15px;
  font-weight: 700;
}

.top-bar p,
.top-bar a {
  margin: 0;
}

.top-bar__right,
.social-links {
  display: flex;
  align-items: center;
  gap: 17px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  color: var(--red);
  font-weight: 800;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: #ffe1e1;
}

.main-nav {
  background: var(--white);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 95px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 230px;
}

.brand img {
  object-fit: contain;
}

.brand strong {
  display: block;
  color: var(--red);
  font-size: 19px;
  line-height: 1.1;
}

.brand em {
  display: block;
  margin-top: 8px;
  color: var(--black);
  font-style: normal;
  font-size: 16px;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  font-size: 14px;
  font-weight: 800;
}

.primary-nav a {
  position: relative;
  padding: 36px 0;
  white-space: nowrap;
}

.primary-nav a:not(.nav-cta)::after {
  position: absolute;
  left: 0;
  bottom: 24px;
  width: 0;
  height: 3px;
  content: "";
  background: var(--red);
  transition: width 0.2s ease;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
  width: 100%;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

   height: 38px;
  min-height: 38px;

  padding: 0 15px;
  border-radius: 5px;

  color: #fff;
  background: #d60000;
}

.btn--solid {
  color: var(--white);
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  box-shadow: 0 9px 18px rgba(214, 0, 0, 0.22);
}

.btn--outline {
  min-height: 42px;
  color: var(--red);
  background: var(--white);
  border: 1px solid #ffb8b8;
}

.btn--dark {
  color: var(--white);
  background: var(--red-dark);
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(214, 0, 0, 0.2);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--black);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  min-height: 490px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.86) 37%, rgba(255,255,255,0.24) 66%, rgba(255,255,255,0.08) 100%),
    url("../images/hero section.jpg") center right / cover no-repeat;
}

.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 680px) 290px;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  min-height: 490px;
  padding: 58px 0 74px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  padding: 13px 17px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.eyebrow span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--white);
  background: #c68b22;
  border-radius: 50%;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  color: #101010;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 span,
.section-head span,
.stats-intro span {
  color: var(--red);
}

.hero__lead {
  max-width: 590px;
  margin: 23px 0 32px;
  color: #222;
  font-size: 17px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  max-width: 760px;
}

.trust-grid div {
  min-width: 0;
}

.trust-grid i,
.stat i,
.service-card i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 9px;
  color: var(--red);
  font-style: normal;
  font-size: 24px;
  border: 2px solid #ffb9b9;
  border-radius: 50%;
}

.trust-grid strong,
.trust-grid small {
  display: block;
}

.trust-grid strong {
  color: #141414;
  font-size: 13px;
}

.trust-grid small {
  color: #333;
  font-size: 12px;
}

.help-card {
  align-self: center;
  width: 280px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
}

.help-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.help-card__head span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--red);
  font-size: 28px;
  border: 2px solid #ffb9b9;
  border-radius: 50%;
}

.help-card small,
.client-row small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.client-row {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.client-row span {
  width: 32px;
  height: 32px;
  margin-right: -8px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe1e1, #ababab);
}

.client-row strong {
  margin-left: 15px;
  color: var(--red);
}

.help-card .btn {
  width: 100%;
  min-height: 55px;
}

.phone-link {
  display: block;
  margin-top: 20px;
  text-align: center;
  font-weight: 800;
}

.search-shell {
  position: relative;
  z-index: 5;
  margin-top: -36px;
  padding: 0 22px 20px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 18px 0 16px;
}

.tab {
  min-height: 43px;
  color: #202020;
  border: 0;
  border-radius: 6px;
  background: #fafafa;
  cursor: pointer;
  font-weight: 800;
}

.tab.active {
  color: var(--white);
  background: linear-gradient(180deg, var(--red), var(--red-dark));
}

.property-search {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 1fr 1.05fr;
  gap: 18px;
}

.property-search label {
  display: block;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.property-search span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.property-search select,
.newsletter input {
  width: 100%;
  color: #161616;
  border: 0;
  outline: 0;
  background: transparent;
}

.search-btn {
  min-height: 61px;
}

.form-message {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--red);
  font-weight: 700;
}

.section {
  padding: 43px 0 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.section-head h2,
.stats-intro h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(26px, 3vw, 33px);
  line-height: 1.2;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.category-card,
.property-card,
.service-card,
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.category-card:hover,
.property-card:hover,
.service-card:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: #ffc4c4;
  box-shadow: var(--shadow);
}

.category-card {
  position: relative;
}

.category-card img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
}

.category-icon {
  position: absolute;
  left: 22px;
  top: 145px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  font-size: 30px;
  background: var(--red);
  border: 4px solid rgba(255,255,255,0.88);
  border-radius: 50%;
}

.category-card div {
  padding: 28px 22px 28px;
}

.category-card h3,
.property-card h3,
.service-card h3 {
  margin: 0 0 13px;
  color: #151515;
  font-size: 18px;
}

.category-card p {
  min-height: 50px;
  margin: 0 0 16px;
  color: #333;
}

.category-card a {
  color: var(--red);
  font-weight: 800;
}

.property-slider {
  position: relative;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.property-img {
  position: relative;
  overflow: hidden;
}

.property-img img {
  width: 100%;
  aspect-ratio: 1.22 / 1;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.property-card:hover .property-img img {
  transform: scale(1.06);
}

.property-img span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  background: var(--red);
  border-radius: 4px;
}

.property-img button {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  background: rgba(0,0,0,0.36);
  cursor: pointer;
}

.property-img button.saved {
  color: var(--red);
  background: var(--white);
}

.property-body {
  padding: 18px 16px 17px;
}

.property-body h3 {
  font-size: 16px;
}

.place {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 12px;
}

.price {
  margin: 0 0 15px;
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
}

.price small {
  color: var(--red);
  font-size: 12px;
}

.property-body ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 10px;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  list-style: none;
}

.slider-btn {
  position: absolute;
  top: 42%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  color: var(--red);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(0,0,0,0.14);
  cursor: pointer;
}

.slider-btn--left {
  left: -17px;
}

.slider-btn--right {
  right: -17px;
}

.stats-band {
  display: grid;
  grid-template-columns: 2fr repeat(5, 1fr);
  margin-top: 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 25px rgba(0,0,0,0.04);
}

.stats-intro,
.stat {
  padding: 34px 28px;
}

.stats-intro {
  border-right: 1px solid var(--line);
}

.stats-intro p {
  margin: 15px 0 23px;
}

.stats-intro .btn {
  font-size: 13px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat i {
  margin: 0 0 10px;
}

.stat strong {
  color: var(--red);
  font-size: 31px;
  line-height: 1;
}

.stat span {
  margin-top: 8px;
  color: #111;
  font-size: 13px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.service-card {
  padding: 25px 16px 22px;
  text-align: center;
}

.service-card i {
  margin-inline: auto;
}

.service-card h3 {
  font-size: 14px;
}

.service-card p {
  margin: 0;
  color: #444;
  font-size: 13px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  position: relative;
  padding: 30px 28px 25px;
}

.quote {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--red);
  font-size: 40px;
  background: var(--red-soft);
  border-radius: 50%;
}

.testimonial-card p {
  min-height: 70px;
  margin: 15px 0 10px;
}

.stars {
  color: #f5a400;
  letter-spacing: 0;
}

.person {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 15px;
}

.person > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(135deg, #e0e0e0, #606060);
  border-radius: 50%;
}

.person strong,
.person small {
  display: block;
}

.newsletter {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 25px;
  align-items: center;
  margin-top: 31px;
  padding: 18px 25px;
  color: var(--white);
  background: linear-gradient(90deg, #bf0000, var(--red));
  border-radius: 8px;
}

.newsletter > div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.newsletter i {
  font-style: normal;
  font-size: 40px;
}

.newsletter h2 {
  margin: 0;
  font-size: 20px;
}

.newsletter p {
  margin: 2px 0 0;
}

.newsletter form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 13px;
}

.newsletter input[type="email"] {
  min-height: 45px;
  padding: 0 16px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 6px;
}

.newsletter input::placeholder {
  color: rgba(255,255,255,0.85);
}

.hp-field {
  display: none;
}

.newsletter .form-message {
  position: absolute;
  right: 26px;
  bottom: -27px;
  color: var(--red);
}

.footer {
  margin-top: 25px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.35fr;
  gap: 38px;
  padding: 32px 0 20px;
}

.footer h2 {
  margin: 0 0 15px;
  color: #111;
  font-size: 15px;
}

.footer p,
.footer a,
.footer span {
  color: #333;
  font-size: 13px;
}

.footer nav,
.footer address {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-style: normal;
}

.footer-brand .brand {
  margin-bottom: 12px;
}

.footer-brand .social-links {
  margin-top: 17px;
}

.footer-brand .social-links a {
  color: var(--white);
  background: var(--red);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0 17px;
}

.footer-bottom p {
  margin: 0;
  font-size: 12px;
}

.footer-bottom span {
  color: var(--red);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .primary-nav {
    gap: 17px;
    font-size: 13px;
  }

  .property-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-band {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-intro {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 992px) {
  .container {
    width: min(100% - 30px, var(--container));
  }

  .top-bar__inner {
    flex-direction: column;
    justify-content: center;
    min-height: 78px;
    gap: 8px;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-nav {
    position: absolute;
    left: 15px;
    right: 15px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 13px 10px;
    text-align: center;
  }

  .primary-nav a::after {
    display: none;
  }

  .nav-wrap {
    position: relative;
    min-height: 86px;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .help-card {
    width: min(100%, 410px);
  }

  .property-search {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 16px;
    font-weight: 900;
  }

  .brand em {
    font-size: 14px;
    font-weight: 400;
  }

  .hero__bg {
    background: url("../images/hero section.jpg") center top / cover no-repeat;
  }

  .hero__content {
    min-height: auto;
    padding: 42px 0 70px;
  }

  .trust-grid,
  .search-tabs,
  .property-search,
  .category-grid,
  .property-grid,
  .services-grid,
  .testimonial-grid,
  .newsletter,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    gap: 17px;
  }

  .trust-grid i,
  .trust-grid strong,
  .trust-grid small {
    color: #ff1900;
    font-weight: 900;
  }

  .search-shell {
    margin-top: -28px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-icon {
    top: calc((100vw - 30px) / 1.55 - 29px);
  }

  .stats-band {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .newsletter form {
    grid-template-columns: 1fr;
  }

  .newsletter .form-message {
    position: static;
    color: var(--white);
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .top-bar__inner {
    flex-direction: row;
    justify-content: space-between;
    min-height: 46px;
    gap: 10px;
    font-size: 10px;
    text-align: left;
  }

  .top-bar__right {
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 0;
  }

  .top-bar p {
    max-width: 50%;
    line-height: 1.25;
  }

  .top-bar .social-links {
    display: none;
  }

  .brand img {
    width: 55px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .help-card,
  .search-shell,
  .stats-intro,
  .stat,
  .testimonial-card {
    padding: 22px;
  }

  .category-icon {
    top: calc((100vw - 24px) / 1.55 - 29px);
  }

  .slider-btn {
    display: none;
  }
}
