:root {
  --ink: #17201c;
  --muted: #5d6964;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --forest: #1c6b55;
  --forest-dark: #0d3d33;
  --pool: #43a7b8;
  --sun: #f2b84b;
  --clay: #b85d3d;
  --line: rgba(23, 32, 28, 0.12);
  --shadow: 0 24px 70px rgba(23, 32, 28, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(23, 32, 28, 0.88);
  color: #fff;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--sun) 0 50%, transparent 51%),
    linear-gradient(315deg, var(--pool) 0 50%, var(--forest) 51%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.nav a,
.header-phone {
  transition: color 0.2s ease;
}

.nav a:hover,
.header-phone:hover {
  color: #fff;
}

.header-phone {
  min-width: max-content;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(780px, 84svh);
  overflow: hidden;
  padding: clamp(58px, 10vw, 116px) clamp(18px, 4vw, 56px);
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(12, 26, 24, 0.86) 0%, rgba(12, 26, 24, 0.6) 48%, rgba(12, 26, 24, 0.2) 100%),
    url("pics/hero.jpg") center / cover no-repeat,
    var(--forest-dark);
}

.hero-overlay {
  background:
    linear-gradient(0deg, rgba(12, 26, 24, 0.54), rgba(12, 26, 24, 0.04));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

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

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

h1 {
  max-width: 730px;
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 630px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  background: var(--sun);
  color: #1b160d;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

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

.final-cta .button-dark {
  background: #fff;
  color: var(--forest-dark);
}

.button-card {
  width: 100%;
  margin-top: auto;
  background: var(--forest);
  color: #fff;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  min-width: 158px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.hero-facts span {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.section {
  padding: clamp(62px, 9vw, 118px) clamp(18px, 4vw, 56px);
}

.section-heading {
  width: min(840px, 100%);
  margin-bottom: clamp(28px, 5vw, 50px);
}

.intro {
  background: #fff;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.benefits article {
  min-height: 210px;
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
}

.benefits span {
  display: block;
  margin-bottom: 16px;
  color: var(--forest);
  font-size: 22px;
  font-weight: 800;
}

.benefits p {
  margin-bottom: 0;
  color: var(--muted);
}

.houses {
  background:
    linear-gradient(180deg, rgba(67, 167, 184, 0.1), transparent 360px),
    var(--paper);
}

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

.house-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 42px rgba(23, 32, 28, 0.08);
}

.house-card.featured {
  border-color: rgba(28, 107, 85, 0.44);
  box-shadow: var(--shadow);
}

.house-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.house-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.house-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.house-kicker,
.price {
  margin: 0;
  font-weight: 800;
}

.house-kicker {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.price {
  color: var(--clay);
  white-space: nowrap;
}

.house-location {
  margin-bottom: 18px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 800;
}

.house-body p:not(.house-location, .price, .house-kicker) {
  color: var(--muted);
}

.house-body ul {
  display: grid;
  gap: 8px;
  margin: 8px 0 24px;
  padding: 0;
  list-style: none;
}

.house-body li {
  position: relative;
  padding-left: 20px;
  color: var(--ink);
  font-weight: 700;
}

.house-body li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pool);
  content: "";
}

.photo-gallery {
  background: #fff;
}

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

.gallery-item {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(23, 32, 28, 0.08);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  padding: 14px 16px 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.compare {
  background: #fff;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #edf7f6;
  color: var(--forest-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

td:first-child {
  font-weight: 800;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.note {
  max-width: 860px;
  margin: 18px 0 0;
  color: var(--muted);
}

.scenarios {
  background: #fff;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.scenario-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(67, 167, 184, 0.08), transparent 48%),
    var(--paper);
}

.scenario-card-accent {
  background:
    linear-gradient(180deg, rgba(242, 184, 75, 0.22), transparent 52%),
    #fffaf0;
}

.scenario-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.scenario-card h3 {
  max-width: 360px;
}

.scenario-card p {
  color: var(--muted);
  font-size: 17px;
}

.scenario-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  margin-top: auto;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--forest);
  color: #fff;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.scenario-card a:hover {
  transform: translateY(-2px);
  background: var(--forest-dark);
}

.comfort {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: stretch;
  background: var(--forest-dark);
  color: #fff;
}

.comfort-media {
  min-height: 520px;
}

.comfort-media img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.comfort-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.comfort-panel h2 {
  max-width: 760px;
}

.comfort-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.comfort-list article {
  min-height: 178px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.comfort-list span {
  display: block;
  margin-bottom: 12px;
  color: var(--sun);
  font-size: 20px;
  font-weight: 800;
}

.comfort-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.booking {
  background: var(--paper);
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.booking-grid article {
  min-height: 260px;
  padding: clamp(22px, 3vw, 32px);
  background: #fff;
}

.booking-grid span {
  display: block;
  margin-bottom: 26px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.booking-grid strong {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1;
}

.booking-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.guide {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: var(--forest-dark);
  color: #fff;
}

.guide-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.guide-list {
  display: grid;
  gap: 12px;
}

.guide-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 86px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 22px;
  font-weight: 800;
  transition: background 0.2s ease, transform 0.2s ease;
}

.guide-list a:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(4px);
}

.guide-list span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 700;
}

.faq {
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  font-size: 18px;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px 220px;
  align-items: center;
  gap: clamp(22px, 4vw, 46px);
  overflow: hidden;
  margin: 0;
  padding: clamp(28px, 5vw, 56px);
  background: var(--forest-dark);
  color: #fff;
}

.final-cta .eyebrow {
  color: var(--sun);
}

.final-cta h2 {
  margin-bottom: 12px;
}

.final-copy > p:last-of-type {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  font-weight: 500;
}

.final-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.final-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.final-actions {
  flex-direction: column;
  align-items: stretch;
}

.final-photo {
  align-self: stretch;
  min-height: 210px;
}

.final-photo img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
  }

  .benefits,
  .house-grid,
  .scenario-grid,
  .comfort,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .benefits article {
    min-height: 0;
  }

  .comfort-media {
    min-height: 360px;
  }

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

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

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-photo {
    width: min(100%, 420px);
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
  }

  .header-phone {
    display: none;
  }

  .hero {
    padding-top: 54px;
    padding-bottom: 52px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-actions,
  .final-actions {
    flex-direction: column;
    width: 100%;
  }

  .scenario-card {
    min-height: 0;
  }

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

  .gallery-item figcaption {
    font-size: 13px;
  }

  .scenario-card a {
    width: 100%;
  }

  .comfort-media {
    min-height: 260px;
  }

  .comfort-list,
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .booking-grid article {
    min-height: 0;
  }

  .final-cta {
    padding: 34px 18px;
  }

  .final-meta {
    flex-direction: column;
  }

  .final-meta span {
    justify-content: center;
    border-radius: 8px;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    flex-direction: column;
  }

  .house-body {
    padding: 20px;
  }

  .house-topline,
  .guide-list a {
    align-items: flex-start;
    flex-direction: column;
  }

  summary {
    padding: 20px;
    font-size: 16px;
  }

  details p {
    padding: 0 20px 20px;
  }
}
