:root {
  --terracotta: #C85C3A;
  --forest: #183A32;
  --sage: #7E9C83;
  --pale-sage: #E7EFE8;
  --ivory: #FFF9F0;
  --warm-sand: #E9D7BE;
  --text: #25302C;
  --muted: #6F7772;
  --white: #FFFFFF;
  --line: rgba(37, 48, 44, .14);
  --shadow: 0 24px 60px rgba(24, 58, 50, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 54px);
  background: transparent;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-header.scrolled {
  background: rgba(255, 249, 240, .95);
  box-shadow: 0 8px 30px rgba(24, 58, 50, .08);
  backdrop-filter: blur(14px);
  padding-block: 12px;
}
.brand { display: grid; line-height: 1.1; }
.brand strong { color: var(--forest); font-weight: 800; letter-spacing: 0; }
.brand span { color: var(--muted); font-size: 12px; margin-top: 4px; }
.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 24px);
  font-size: 14px;
  color: var(--forest);
}
.site-nav a { border-bottom: 1px solid transparent; }
.site-nav a:hover { border-color: var(--terracotta); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.language { color: var(--muted); font-size: 13px; white-space: nowrap; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--white); border-radius: 999px; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--forest); }

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terracotta); color: var(--white); }
.btn-secondary { background: transparent; border-color: rgba(24, 58, 50, .26); color: var(--forest); }
.btn-small { min-height: 38px; padding: 9px 16px; font-size: 13px; }

.hero {
  position: relative;
  min-height: 840px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 620px);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding: 150px clamp(18px, 6vw, 92px) 190px;
  overflow: hidden;
}
.hero-inner { text-align: center; max-width: 760px; justify-self: end; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 22px;
  color: var(--forest);
  font-size: clamp(48px, 7vw, 104px);
  line-height: .95;
  font-weight: 800;
}
h2 {
  color: var(--forest);
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.03;
  margin-bottom: 18px;
}
.hero-copy {
  max-width: 560px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.hero-visual {
  position: relative;
  justify-self: start;
  width: min(100%, 590px);
  aspect-ratio: 1 / 1.08;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 52% 48% 43% 57% / 46% 50% 50% 54%;
  box-shadow: var(--shadow);
}
.rent-badge {
  position: absolute;
  right: 8%;
  bottom: 8%;
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 16px 30px rgba(200, 92, 58, .28);
}
.arch-line {
  position: absolute;
  inset: -22px -24px 26px 24px;
  border: 1px solid rgba(24, 58, 50, .24);
  border-radius: 55% 45% 45% 55%;
}
.shape {
  position: absolute;
  border-radius: 42% 58% 51% 49%;
  opacity: .55;
  animation: floatShape 10s ease-in-out infinite;
  pointer-events: none;
}
.shape-one { width: 280px; height: 280px; left: -80px; top: 180px; background: var(--pale-sage); }
.shape-two { width: 180px; height: 180px; right: 8%; bottom: 120px; background: var(--warm-sand); animation-delay: -4s; }

.quick-search {
  margin-top: -105px;
  padding: 0 clamp(18px, 6vw, 92px) 80px;
  position: relative;
  z-index: 3;
}
.search-panel {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.search-panel h2 { font-size: 24px; margin-bottom: 16px; }
.search-panel form {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}
label { display: grid; gap: 7px; color: var(--forest); font-size: 13px; font-weight: 800; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ivory);
  color: var(--text);
  padding: 13px 14px;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(200, 92, 58, .13); }

.section { padding: 90px clamp(18px, 6vw, 92px); }
.section-head { max-width: 780px; margin-bottom: 34px; }
.section-head p:last-child, .featured-copy p, .owner-copy p, .contact-copy p { color: var(--muted); }
.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.life-card {
  min-height: 230px;
  padding: 26px;
  border-radius: 8px;
  background: var(--pale-sage);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.life-card:nth-child(even) { background: var(--warm-sand); }
.life-card span { color: var(--forest); font-weight: 800; font-size: 24px; }
.life-card p { color: var(--muted); margin: 12px 0 0; }

.featured { background: linear-gradient(180deg, var(--ivory), var(--pale-sage)); }
.featured-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
}
.featured-image { position: relative; }
.featured-image img {
  width: 100%;
  aspect-ratio: 1.25 / .88;
  object-fit: cover;
  border-radius: 8px 8px 90px 8px;
}
.featured-image span, .tag {
  display: inline-flex;
  width: fit-content;
  background: var(--forest);
  color: var(--white);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 800;
}
.featured-image span { position: absolute; top: 18px; left: 18px; }
.price { color: var(--terracotta); font-size: 24px; font-weight: 800; }
.details { color: var(--forest); font-weight: 700; }

.locations { background: var(--ivory); }
.location-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.location-list button {
  border: 0;
  background: transparent;
  color: rgba(24, 58, 50, .36);
  font-size: clamp(32px, 6vw, 86px);
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
}
.location-list button:hover, .location-list button.active { color: var(--forest); }
.location-preview {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: center;
  max-width: 720px;
  margin-top: 34px;
}
.location-preview img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 50% 50% 10px 10px;
}
.location-preview p { margin: 0; }
.location-preview span { display: block; color: var(--muted); }

.budget { background: var(--pale-sage); }
.budget-tabs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; }
.budget-tabs button {
  flex: 0 0 auto;
  border: 1px solid rgba(24, 58, 50, .18);
  background: var(--white);
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--forest);
  font-weight: 800;
  cursor: pointer;
}
.budget-tabs button.active { background: var(--forest); color: var(--white); }
.demo-properties {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.property-card {
  background: rgba(255, 255, 255, .68);
  border: 1px solid rgba(24, 58, 50, .12);
  border-radius: 8px;
  padding: 20px;
}
.property-card strong { display: block; color: var(--forest); font-size: 20px; margin-bottom: 6px; }
.property-card span { color: var(--terracotta); font-weight: 800; }
.property-card p { color: var(--muted); margin-bottom: 0; }

.brand-statement {
  position: relative;
  overflow: hidden;
  padding: 110px clamp(18px, 6vw, 92px);
  background: var(--forest);
  color: var(--white);
}
.brand-statement::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 52% 48% 44% 56%;
}
.brand-statement div { max-width: 860px; position: relative; z-index: 1; }
.brand-statement h2 { color: var(--white); font-size: clamp(42px, 6vw, 86px); }
.brand-statement p:not(.eyebrow) { max-width: 700px; color: rgba(255, 255, 255, .78); font-size: 20px; }

.why-grid, .safety-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.why-grid article, .safety-grid article {
  min-height: 190px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.why-grid strong, .safety-grid strong { color: var(--forest); font-size: 24px; }
.why-grid p, .safety-grid p { color: var(--muted); margin: 10px 0 0; }

.journey { background: var(--warm-sand); }
.journey-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(24, 58, 50, .18);
  border-radius: 8px;
  overflow: hidden;
}
.journey-line article { background: var(--ivory); padding: 24px; min-height: 210px; }
.journey-line span { color: var(--terracotta); font-weight: 800; }
.journey-line h3 { color: var(--forest); font-size: 28px; margin: 22px 0 8px; }
.journey-line p { color: var(--muted); margin-bottom: 0; }

.image-band {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.image-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.68); }
.image-band-copy { position: relative; max-width: 720px; padding: 80px clamp(18px, 6vw, 92px); color: var(--white); }
.image-band-copy h2 { color: var(--white); }
.image-band-copy p { font-size: 20px; color: rgba(255, 255, 255, .84); }

.owner-section {
  padding: 90px clamp(18px, 6vw, 92px);
  background: var(--warm-sand);
}
.owner-copy {
  max-width: 820px;
  margin: auto;
  text-align: center;
}

.contact {
  position: relative;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 6vw, 90px);
  padding: 100px clamp(18px, 6vw, 92px);
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  left: -130px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  background: var(--pale-sage);
  border-radius: 42% 58% 51% 49%;
}
.contact > * { position: relative; z-index: 1; }
.email-link { display: inline-block; color: var(--terracotta); font-size: clamp(22px, 3vw, 34px); font-weight: 800; }
.contact-form, .modal-form { display: grid; gap: 14px; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 28px;
  padding: 44px clamp(18px, 6vw, 92px);
  background: var(--forest);
  color: var(--white);
}
.site-footer p, .site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.sticky-contact {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 18;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.modal {
  width: min(92vw, 560px);
  border: 0;
  border-radius: 8px;
  padding: 30px;
  background: var(--ivory);
  color: var(--text);
  box-shadow: 0 30px 90px rgba(24, 58, 50, .35);
}
.modal::backdrop { background: rgba(24, 58, 50, .55); backdrop-filter: blur(5px); }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.form-note { min-height: 22px; color: var(--terracotta); font-weight: 700; margin: 8px 0 0; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes floatShape {
  50% { transform: translateY(18px) rotate(5deg); border-radius: 58% 42% 48% 52%; }
}

@media (max-width: 1100px) {
  .site-header { grid-template-columns: auto auto; }
  .nav-toggle { display: block; justify-self: end; }
  .site-nav {
    position: fixed;
    inset: 76px 18px auto;
    display: none;
    flex-direction: column;
    padding: 20px;
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .header-actions { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 130px; }
  .hero-inner, .hero-visual { justify-self: center; }
  .search-panel form { grid-template-columns: 1fr 1fr; }
  .lifestyle-grid, .why-grid, .safety-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-line, .demo-properties { grid-template-columns: repeat(2, 1fr); }
  .contact, .site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { padding: 14px 16px; }
  .hero {
    padding: 112px 18px 140px;
    gap: 34px;
  }
  h1 { font-size: clamp(42px, 14vw, 64px); }
  .hero-actions, .search-panel form { display: grid; grid-template-columns: 1fr; }
  .hero-visual { width: min(100%, 390px); }
  .rent-badge { width: 92px; height: 92px; font-size: 11px; }
  .quick-search { margin-top: -90px; padding-inline: 14px; }
  .section { padding: 68px 18px; }
  .lifestyle-grid, .why-grid, .safety-grid, .journey-line, .demo-properties { grid-template-columns: 1fr; }
  .location-preview { grid-template-columns: 1fr; }
  .location-preview img { width: 100%; height: 180px; }
  .featured-wrap { grid-template-columns: 1fr; }
  .featured-image img { aspect-ratio: 1 / .82; border-radius: 8px 8px 56px 8px; }
  .journey-line article { min-height: auto; border-left: 3px solid var(--terracotta); }
  .contact, .owner-section, .brand-statement { padding-inline: 18px; }
  .sticky-contact { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
