:root {
  --ink: #16211b;
  --muted: #6b756f;
  --leaf: #244235;
  --moss: #6f7f5f;
  --cream: #f7f2e8;
  --paper: #fffaf1;
  --warm: #c8945d;
  --line: rgba(22, 33, 27, 0.14);
  --shadow: 0 28px 80px rgba(22, 33, 27, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  display: grid;
  width: min(1180px, calc(100% - 28px));
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 250, 241, 0.24);
  border-radius: 999px;
  background: rgba(22, 33, 27, 0.34);
  color: #fffaf1;
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero__actions,
.footer__links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
}

.brand__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #fffaf1;
  color: var(--leaf);
  font-size: 12px;
}

.site-nav {
  justify-content: center;
  gap: 18px;
  color: rgba(255, 250, 241, 0.82);
  font-size: 14px;
}

.site-nav a,
.header-call,
.text-link {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.header-call:hover,
.text-link:hover {
  opacity: 0.72;
}

.header-call {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.96);
  color: var(--leaf);
  font-weight: 700;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 140px max(24px, calc((100vw - 1180px) / 2)) 34px;
  color: #fffaf1;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  background-image: url("https://avatars.mds.yandex.net/get-altay/11385005/2a0000019252c76ba32f01e12b49dad268b5/XXXL");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(8, 15, 12, 0.84), rgba(8, 15, 12, 0.34) 52%, rgba(8, 15, 12, 0.1)),
    linear-gradient(0deg, rgba(8, 15, 12, 0.76), rgba(8, 15, 12, 0.04) 46%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding-bottom: 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--warm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c995;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 830px;
  margin-bottom: 22px;
  font-size: clamp(46px, 6.4vw, 92px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.12;
}

.hero__lead {
  max-width: 620px;
  color: rgba(255, 250, 241, 0.84);
  font-size: 20px;
}

.hero__actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: #fffaf1;
  color: var(--leaf);
}

.button--ghost {
  border-color: rgba(255, 250, 241, 0.34);
  color: #fffaf1;
}

.button--dark {
  background: var(--ink);
  color: var(--paper);
}

.hero-card {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 34px;
  z-index: 3;
  display: grid;
  width: min(510px, calc(100% - 48px));
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.16);
  backdrop-filter: blur(18px);
}

.hero-card div {
  padding: 18px;
  background: rgba(22, 33, 27, 0.42);
}

.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card strong {
  margin: 5px 0;
  font-size: 22px;
}

.hero-card span {
  color: rgba(255, 250, 241, 0.76);
  font-size: 13px;
}

.hero-card__label {
  color: #f0c995;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-request {
  position: relative;
  z-index: 5;
  display: flex;
  width: min(1180px, calc(100% - 28px));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: -34px auto 0;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.quick-request__copy {
  max-width: 520px;
}

.quick-request__copy span,
.quick-request__copy strong {
  display: block;
}

.quick-request__copy span {
  color: var(--warm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quick-request__copy strong {
  margin-top: 4px;
  font-size: 24px;
  line-height: 1.1;
}

.quick-request__copy p {
  margin: 8px 0 0;
  color: var(--muted);
}

.quick-request__chips {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.quick-request__chips span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--leaf);
  font-size: 14px;
  font-weight: 800;
}

.section-pad {
  width: min(1180px, calc(100% - 28px));
  margin-inline: auto;
  padding: 112px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 70px;
  align-items: end;
}

.intro__copy p:not(.eyebrow),
.feature-band__text p,
.request__copy p {
  color: var(--muted);
  font-size: 18px;
}

.intro__details article,
.amenities__grid div,
.contact-card,
figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.68);
}

.intro__details {
  display: grid;
  gap: 12px;
}

.intro__details img {
  width: 100%;
  height: 270px;
  border-radius: var(--radius);
  object-fit: cover;
}

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

.intro__details article {
  min-height: 170px;
  padding: 20px;
}

.intro__details h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.intro__details p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.amenities__grid span,
.contact-card span {
  color: var(--muted);
}

.feature-band {
  display: grid;
  min-height: 640px;
  grid-template-columns: 1fr 1fr;
  background: var(--leaf);
  color: var(--paper);
}

.feature-band__image {
  min-height: 480px;
  background-image: url("https://avatars.mds.yandex.net/get-altay/14185024/2a00000193d8bfc37ce614ff68167851bed4/XXXL");
  background-position: center;
  background-size: cover;
}

.feature-band__text {
  align-self: center;
  max-width: 650px;
  padding: 78px max(28px, calc((100vw - 1180px) / 2)) 78px 72px;
}

.feature-band__text p {
  color: rgba(255, 250, 241, 0.74);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading--split {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
}

.text-link {
  color: var(--leaf);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

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

.house-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(22, 33, 27, 0.08);
}

.house-card img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.house-card div {
  padding: 24px;
}

.house-card span {
  color: var(--warm);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.house-card p {
  color: var(--muted);
}

.amenities {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.amenities__grid div {
  padding: 26px;
}

.amenities__grid strong,
.amenities__grid span {
  display: block;
}

.amenities__grid strong {
  margin-bottom: 8px;
  font-size: 20px;
}

.gallery__grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 1.25fr 0.85fr 0.85fr;
  grid-auto-rows: 260px;
  gap: 12px;
}

.gallery__grid img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.gallery__wide {
  grid-column: span 2;
}

.gallery__tall {
  grid-row: span 2;
}

.reviews {
  width: 100%;
  background: #e8eddf;
}

.reviews > * {
  width: min(1180px, calc(100% - 28px));
  margin-inline: auto;
}

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

figure {
  margin: 0;
  padding: 28px;
}

blockquote {
  margin: 0 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.18;
}

figcaption {
  color: var(--muted);
  font-weight: 800;
}

.request {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 70px;
  align-items: start;
}

.contact-card {
  margin-top: 34px;
  padding: 24px;
}

.contact-card strong,
.contact-card a {
  display: block;
}

.contact-card strong {
  margin: 8px 0 16px;
}

.contact-card a {
  color: var(--leaf);
  font-weight: 800;
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.request-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.request-form__wide,
.form-note {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf7;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

input,
select {
  height: 52px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  padding: 14px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(200, 148, 93, 0.4);
  outline-offset: 2px;
}

.request-form .button--primary {
  background: var(--leaf);
  color: var(--paper);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer {
  display: flex;
  width: min(1180px, calc(100% - 28px));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 36px 0 42px;
  border-top: 1px solid var(--line);
}

.footer strong,
.footer span {
  display: block;
}

.footer span {
  color: var(--muted);
}

.footer__links {
  gap: 16px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 920px;
  }

  .hero-card {
    left: 24px;
    right: 24px;
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding-bottom: 260px;
  }

  .intro,
  .feature-band,
  .request {
    grid-template-columns: 1fr;
  }

  .quick-request {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 0;
  }

  .intro__cards,
  .house-grid,
  .amenities__grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .feature-band__text {
    padding: 56px 24px;
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 16px);
  }

  .header-call {
    display: none;
  }

  .hero {
    min-height: 940px;
    padding-inline: 14px;
  }

  .hero__content {
    padding-bottom: 0;
  }

  .hero-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 28px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 40px;
  }

  .hero__lead,
  .intro__copy p:not(.eyebrow),
  .feature-band__text p,
  .request__copy p {
    font-size: 16px;
  }

  .quick-request,
  .section-pad {
    width: calc(100% - 16px);
  }

  .section-pad {
    padding: 76px 0;
  }

  .section-heading--split,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .house-card img {
    height: 310px;
  }

  .gallery__grid,
  .request-form {
    grid-template-columns: 1fr;
  }

  .gallery__wide,
  .gallery__tall {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery__grid {
    grid-auto-rows: 320px;
  }
}
