:root {
  --green: #1f2e23;
  --green-soft: #283a2d;
  --beige: #e7d4bc;
  --cream: #f7f1e8;
  --paper: #fffdf8;
  --text: #101411;
  --muted: #5e625d;
  --border: #ded3c4;
  --shadow: 0 14px 34px rgba(31, 46, 35, 0.12);
  --font: "Inter", sans-serif;
  --serif: "Cormorant Garamond", serif;
  --hand: "Kalam", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--font);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: clamp(78px, 7vw, 104px);
  padding: 0 clamp(18px, 5vw, 58px);
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 16px;
  text-transform: uppercase;
}

.brand > span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #bda587;
  border: 1px solid #bda587;
  border-radius: 999px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
}

.brand strong {
  display: block;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
}

.brand small {
  display: block;
  margin-top: 2px;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav a {
  white-space: nowrap;
}

.nav-phone,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-phone,
.button-light {
  color: var(--green);
  background: var(--beige);
}

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

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 0.98;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
}

h1 span,
.section-head h2 span,
.about-copy em {
  font-family: var(--hand);
  font-weight: 400;
  color: #66685e;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

h3 {
  margin-bottom: 6px;
  font-size: 0.98rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(500px, 0.95fr) minmax(0, 1.05fr);
  min-height: clamp(560px, 56vw, 640px);
}

.hero-copy {
  display: grid;
  align-content: center;
  padding: clamp(44px, 6.6vw, 92px);
  background: var(--paper);
}

.hero-copy p {
  max-width: 380px;
  margin-bottom: 24px;
  font-weight: 500;
}

.rating {
  display: grid;
  gap: 3px;
  margin-top: 34px;
}

.rating span {
  color: #c9ad82;
}

.hero-image {
  position: relative;
}

.hero-image > img {
  width: 100%;
  height: 100%;
  min-height: clamp(560px, 56vw, 640px);
  object-fit: cover;
}

.hero-image aside {
  position: absolute;
  right: clamp(28px, 8vw, 120px);
  bottom: clamp(28px, 6vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 18px;
  align-items: center;
  width: min(430px, calc(100% - 56px));
  padding: clamp(24px, 3vw, 30px);
  color: #fff;
  background: rgba(31, 46, 35, 0.94);
}

.hero-image aside h2 {
  grid-column: 1;
  margin-bottom: 8px;
  font-family: var(--font);
  font-size: 1.3rem;
}

.hero-image aside p {
  grid-column: 1;
  margin: 0;
}

.hero-image aside i {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: center;
  font-size: 2.8rem;
}

.trust {
  padding: 38px 0;
  border-block: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding-right: 18px;
  border-right: 1px solid var(--border);
}

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

.trust i,
.commitment i,
.contact i {
  font-size: 2.6rem;
}

.trust p,
.properties p,
.commitment p,
.reviews p,
.contact p {
  color: var(--muted);
}

.section {
  padding: clamp(62px, 8vw, 96px) 0;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head a {
  font-weight: 700;
  text-transform: uppercase;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.properties article {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(31, 46, 35, 0.08);
}

.property-media {
  position: relative;
  height: 210px;
  margin: 0;
  overflow: hidden;
}

.property-media img {
  position: absolute;
  top: 50%;
  left: 0;
  width: 400%;
  max-width: none;
  height: auto;
  transform: translateY(-50%);
}

.prop-2 img { transform: translate(-25%, -50%); }
.prop-3 img { transform: translate(-50%, -50%); }
.prop-4 img { transform: translate(-75%, -50%); }

.properties article > span {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 10px;
  background: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.properties h3,
.properties p,
.properties strong {
  display: block;
  padding-inline: 20px;
}

.properties h3 {
  margin-top: 22px;
}

.properties strong {
  margin: 14px 0 20px;
  font-size: 1.45rem;
}

.properties article a {
  display: flex;
  justify-content: space-between;
  padding: 18px 20px;
  border-top: 1px solid var(--border);
  font-weight: 700;
  text-transform: uppercase;
}

.about {
  display: grid;
  grid-template-columns: 0.95fr 0.9fr 1.1fr;
  background: var(--green);
}

.about > img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.about-copy {
  display: grid;
  align-content: center;
  padding: clamp(42px, 6vw, 72px);
  color: #fff;
  background: var(--green);
}

.about-copy span {
  color: var(--beige);
  font-weight: 700;
  text-transform: uppercase;
}

.about-copy h2,
.about-copy p {
  color: #fff;
}

.about-copy em {
  display: block;
  margin-bottom: 28px;
  color: #fff;
  font-size: 1.6rem;
}

.commitment {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: clamp(42px, 6vw, 72px);
  background: var(--cream);
}

.commitment article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
}

.commitment i {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: 8px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.reviews article {
  min-height: 190px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--border);
}

.reviews span {
  color: var(--beige);
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 0.6;
}

.reviews strong,
.reviews small {
  display: block;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr 1fr;
  align-items: center;
  background: var(--cream);
}

.contact img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.contact > div,
.contact address {
  padding: clamp(36px, 5vw, 64px);
}

.contact address {
  display: grid;
  gap: 18px;
  font-style: normal;
  border-left: 1px solid var(--border);
}

.contact address a,
.contact address span {
  display: flex;
  gap: 16px;
  align-items: center;
}

.site-footer {
  padding: 48px 0 24px;
  color: #fff;
  background: var(--green);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.4fr;
  gap: clamp(34px, 6vw, 86px);
}

.footer-brand {
  color: #fff;
  margin-bottom: 18px;
}

.footer-grid nav,
.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-grid a,
.footer-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.footer-bottom {
  margin-top: 36px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1040px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 18px;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .hero,
  .about,
  .contact,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-image > img {
    min-height: 460px;
  }

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

@media (max-width: 680px) {
  .main-nav a:not(.nav-phone) {
    display: none;
  }

  .hero-copy {
    padding: 48px 24px;
  }

  .hero-image aside {
    position: static;
    width: auto;
  }

  .trust-grid,
  .properties-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .trust article {
    border-right: 0;
  }

  .section-head {
    flex-direction: column;
  }
}
