:root {
  --green-950: #18341f;
  --green-900: #234b2c;
  --green-800: #315f3a;
  --green-700: #3f7548;
  --green-100: #eaf0e8;
  --cream: #f8f5ee;
  --sand: #ece8db;
  --white: #ffffff;
  --ink: #252b26;
  --muted: #667068;
  --border: #dfe5dc;
  --shadow: 0 18px 45px rgba(35, 75, 44, 0.12);
  --radius-lg: 26px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--cream);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green-700);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.brand-name {
  font-family: "Playfair Display", serif;
  color: var(--green-950);
  line-height: 1.12;
}

h1 {
  max-width: 650px;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

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

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary {
  color: var(--white);
  background: var(--green-800);
}

.btn-primary:hover {
  background: var(--green-950);
  transform: translateY(-2px);
}

.btn-secondary {
  color: var(--green-900);
  border-color: var(--green-800);
  background: transparent;
}

.btn-secondary:hover {
  color: var(--white);
  background: var(--green-800);
}

.btn-light {
  color: var(--green-950);
  background: var(--white);
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(223, 229, 220, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  min-height: 82px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.75rem;
}

.brand-subtitle {
  color: var(--green-900);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  color: #344138;
  font-size: 0.91rem;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--green-700);
}

.header-whatsapp {
  padding: 0.7rem 1rem;
  border-radius: 7px;
  color: var(--white);
  background: var(--green-800);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px 0;
  background: var(--green-950);
}

.hero {
  padding: 42px 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(234, 240, 232, 0.95), transparent 30%),
    linear-gradient(90deg, #fff 0 53%, #f2eee5 53%);
}

.hero-grid {
  display: grid;
  min-height: 580px;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 44px;
}

.hero-content {
  padding: 30px 0 90px;
}

.hero-content > p {
  max-width: 620px;
  margin: 24px 0 30px;
  font-size: 1.12rem;
}

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

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  color: var(--green-900);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-highlights span::before {
  content: "✓";
  margin-right: 7px;
}

.hero-image img {
  max-height: 600px;
  object-fit: cover;
  border-radius: 160px 0 0 0;
  box-shadow: var(--shadow);
}

.property-search {
  position: relative;
  z-index: 4;
  display: grid;
  margin-top: -45px;
  padding: 20px;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow);
}

.search-field {
  padding: 0 18px;
  border-right: 1px solid var(--border);
}

.search-field label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.search-field select {
  width: 100%;
  border: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font-weight: 600;
}

.search-button {
  margin-left: 18px;
}

.about-grid {
  display: grid;
  grid-template-columns: 250px 1fr 310px;
  align-items: stretch;
  gap: 34px;
}

.profile-card,
.local-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--cream);
}

.profile-card img {
  height: 315px;
  object-fit: cover;
}

.profile-card small {
  display: block;
  padding: 12px 16px;
  color: var(--muted);
  text-align: center;
}

.about-content {
  padding: 12px 0;
}

.about-content > p {
  margin-top: 14px;
}

.feature-list {
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-list div {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--cream);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.84rem;
}

.local-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.local-card p {
  margin-top: 12px;
}

.local-card img {
  margin-top: auto;
  opacity: 0.8;
}

.section-heading {
  display: flex;
  margin-bottom: 34px;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading > p {
  max-width: 460px;
  text-align: right;
}

.section-heading.centered {
  justify-content: center;
  text-align: center;
}

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

.property-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 10px 25px rgba(31, 54, 37, 0.07);
  transition: 0.22s ease;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.property-card[hidden] {
  display: none;
}

.property-image {
  position: relative;
}

.property-image img {
  height: 215px;
  object-fit: cover;
}

.property-tag,
.property-price {
  position: absolute;
  bottom: 12px;
  padding: 6px 9px;
  border-radius: 5px;
  color: var(--white);
  background: rgba(24, 52, 31, 0.9);
  font-size: 0.75rem;
  font-weight: 700;
}

.property-tag {
  left: 12px;
}

.property-price {
  right: 12px;
}

.property-body {
  padding: 20px;
}

.property-body h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 1.05rem;
}

.property-body > p {
  margin-top: 4px;
  font-size: 0.87rem;
}

.property-details {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin: 15px 0;
  color: var(--muted);
  font-size: 0.8rem;
  list-style: none;
}

.property-details li::before {
  content: "•";
  margin-right: 5px;
  color: var(--green-700);
}

.property-link {
  color: var(--green-800);
  font-weight: 700;
}

.empty-state {
  padding: 35px;
  border: 1px dashed var(--green-700);
  border-radius: var(--radius-md);
  color: var(--muted);
  text-align: center;
  background: var(--white);
}

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

.service-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--cream);
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-900);
  background: var(--green-100);
  font-size: 1.5rem;
}

.service-card p {
  margin-top: 10px;
}

.owner-cta {
  color: var(--white);
  background: var(--green-900);
}

.owner-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.owner-cta h2,
.owner-cta p,
.owner-cta .eyebrow {
  color: var(--white);
}

.owner-cta p {
  max-width: 760px;
  margin-top: 16px;
  opacity: 0.82;
}

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

blockquote {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: #404a42;
  background: var(--white);
}

blockquote footer {
  margin-top: 18px;
  color: var(--green-800);
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}

.contact-grid h2 {
  margin-bottom: 18px;
}

.contact-info {
  margin-top: 30px;
}

.contact-info p {
  margin-top: 8px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  color: var(--green-950);
  font-size: 0.85rem;
  font-weight: 700;
}

.contact-form label:nth-child(3),
.contact-form label:nth-child(4),
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  background: #fbfcfa;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(63, 117, 72, 0.12);
}

.site-footer {
  padding: 64px 0 20px;
  color: rgba(255, 255, 255, 0.8);
  background: var(--green-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.7fr;
  gap: 50px;
}

.footer-brand .brand-name,
.site-footer h3 {
  color: var(--white);
}

.footer-brand .brand-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.site-footer p {
  max-width: 420px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer a,
.site-footer span {
  display: block;
  margin-top: 8px;
}

.footer-bottom {
  display: flex;
  margin-top: 42px;
  padding-top: 18px;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
}

.floating-whatsapp {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  padding: 13px 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green-700);
  box-shadow: var(--shadow);
  font-weight: 700;
}

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

  .menu-toggle {
    display: block;
    justify-self: end;
    order: 3;
  }

  .header-whatsapp {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: 82px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 20px;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

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

  .hero {
    background: linear-gradient(#fff, #f2eee5);
  }

  .hero-content {
    padding-bottom: 20px;
  }

  .hero-image img {
    max-height: 480px;
    border-radius: var(--radius-lg);
  }

  .property-search {
    margin-top: 25px;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .search-field {
    padding: 0;
    border: 0;
  }

  .search-button {
    margin-left: 0;
  }

  .about-grid {
    grid-template-columns: 260px 1fr;
  }

  .local-card {
    grid-column: 1 / -1;
  }

  .property-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 700px) {
  .section {
    padding: 64px 0;
  }

  .header-inner {
    min-height: 72px;
  }

  .main-nav {
    top: 72px;
  }

  .brand-name {
    font-size: 1.4rem;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-grid {
    min-height: auto;
  }

  .property-search,
  .property-grid,
  .service-grid,
  .feature-list,
  .contact-form,
  .footer-grid,
  .owner-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .property-search {
    padding: 18px;
  }

  .search-button {
    width: 100%;
  }

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

  .section-heading > p {
    text-align: left;
  }

  .profile-card img {
    height: 390px;
  }

  .contact-grid {
    gap: 35px;
  }

  .contact-form {
    padding: 20px;
  }

  .contact-form label {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
  }
}
