:root {
  --ink: #17342c;
  --forest: #123c32;
  --forest-2: #1f5b4a;
  --copper: #c8794a;
  --sand: #f5efe6;
  --cream: #fbf8f2;
  --white: #ffffff;
  --muted: #65736d;
  --line: rgba(23, 52, 44, 0.14);
  --shadow: 0 24px 70px rgba(25, 50, 42, 0.13);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  color: var(--copper); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.06; margin: 0; }
h1 { font-size: clamp(3.25rem, 7vw, 6.6rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.25rem, 4.8vw, 4.5rem); letter-spacing: -.045em; }
h3 { font-size: 1.55rem; letter-spacing: -.025em; }
p { margin: 0; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 610px; }
.section { padding: 108px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.section-head .lead { max-width: 460px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 25px;
  border: 1px solid transparent; border-radius: 999px; font-weight: 750; transition: .25s ease;
}
.btn-primary { color: var(--white); background: var(--copper); }
.btn-primary:hover { background: #ac6238; transform: translateY(-2px); }
.btn-light { color: var(--forest); background: var(--white); }
.btn-light:hover { background: var(--sand); transform: translateY(-2px); }
.btn-outline { border-color: var(--line); background: transparent; }
.btn-outline:hover { border-color: var(--forest); background: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.site-header {
  position: absolute; z-index: 20; top: 0; left: 0; width: 100%; color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.site-header.solid { position: relative; color: var(--ink); background: var(--cream); border-color: var(--line); }
.nav { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: Georgia, serif; font-size: 1.45rem; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid currentColor; border-radius: 50% 50% 44% 44%; }
.brand-mark svg { width: 19px; height: 19px; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: .92rem; font-weight: 650; }
.nav-links a:not(.btn) { position: relative; padding: 30px 0; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 23px; width: 0; height: 1px; background: currentColor; transition: width .2s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; color: inherit; background: transparent; }

.hero { position: relative; min-height: 790px; color: var(--white); display: flex; align-items: end; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,33,27,.84) 0%, rgba(9,33,27,.58) 40%, rgba(9,33,27,.08) 72%), linear-gradient(0deg, rgba(9,33,27,.48), transparent 45%); z-index: 1; }
.hero-bg { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 2; width: 100%; padding: 190px 0 86px; }
.hero h1 { max-width: 780px; }
.hero h1 em { color: #e8be96; font-weight: 400; }
.hero-copy { max-width: 610px; margin: 26px 0 34px; font-size: 1.17rem; color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; gap: 34px; margin-top: 70px; padding-top: 27px; border-top: 1px solid rgba(255,255,255,.25); }
.hero-note strong { display: block; font-family: Georgia, serif; font-size: 1.6rem; font-weight: 500; }
.hero-note span { color: rgba(255,255,255,.66); font-size: .83rem; }

.search-panel { position: relative; z-index: 4; margin-top: -38px; }
.search-bar { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 0; padding: 11px; background: var(--white); border-radius: 20px; box-shadow: var(--shadow); }
.field { padding: 7px 22px; border-right: 1px solid var(--line); }
.field label { display: block; margin-bottom: 2px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.field select, .field input { width: 100%; padding: 4px 0; color: var(--ink); border: 0; outline: 0; background: transparent; font-weight: 700; }
.search-bar .btn { align-self: stretch; min-height: 64px; border-radius: 14px; }

.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.property-card { overflow: hidden; background: var(--white); border-radius: 22px; box-shadow: 0 12px 35px rgba(25,50,42,.07); transition: .25s ease; }
.property-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.property-image { position: relative; height: 285px; overflow: hidden; }
.property-image img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.property-card:hover .property-image img { transform: scale(1.04); }
.pill { position: absolute; top: 17px; left: 17px; padding: 7px 12px; color: var(--white); background: var(--forest); border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.favorite { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; display: grid; place-items: center; color: var(--ink); background: rgba(255,255,255,.9); border: 0; border-radius: 50%; font-size: 1.15rem; }
.favorite.active { color: #b84747; }
.property-body { padding: 24px; }
.property-location { color: var(--copper); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.property-body h3 { margin: 7px 0 12px; }
.property-meta { display: flex; gap: 16px; padding: 16px 0 20px; color: var(--muted); border-top: 1px solid var(--line); font-size: .88rem; }
.property-price { display: flex; align-items: center; justify-content: space-between; }
.property-price strong { font-family: Georgia, serif; font-size: 1.25rem; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 670px; }
.split-image { min-height: 560px; }
.split-image img { height: 100%; object-fit: cover; }
.split-content { display: flex; flex-direction: column; justify-content: center; padding: 80px clamp(36px, 7vw, 110px); background: var(--forest); color: var(--white); }
.split-content .lead { margin: 25px 0 36px; color: rgba(255,255,255,.7); }
.value-list { display: grid; gap: 18px; }
.value-item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.value-icon { width: 44px; height: 44px; display: grid; place-items: center; color: #f1c7a8; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; font-weight: 800; }
.value-item h3 { font-family: inherit; font-size: 1rem; font-weight: 800; margin-bottom: 5px; }
.value-item p { color: rgba(255,255,255,.65); font-size: .9rem; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; transition: .25s ease; }
.service-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-5px); }
.service-number { color: var(--copper); font-family: Georgia, serif; font-size: 2rem; }
.service-card h3 { margin: 45px 0 12px; }
.service-card p { color: var(--muted); }

.cta { padding: 0 0 100px; }
.cta-inner { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr auto; gap: 40px; align-items: center; padding: 70px; color: var(--white); background: var(--copper); border-radius: var(--radius); }
.cta-inner::after { content: ""; position: absolute; width: 340px; height: 340px; right: -90px; bottom: -220px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; box-shadow: 0 0 0 44px rgba(255,255,255,.05), 0 0 0 88px rgba(255,255,255,.04); }
.cta-inner h2 { font-size: clamp(2.3rem, 4vw, 4rem); max-width: 760px; }
.cta-inner .btn { position: relative; z-index: 2; }

.page-hero { padding: 120px 0 80px; background: var(--sand); }
.breadcrumbs { margin-bottom: 34px; color: var(--muted); font-size: .85rem; }
.breadcrumbs a { font-weight: 700; }
.page-hero h1 { max-width: 900px; color: var(--ink); font-size: clamp(3rem, 6vw, 5.7rem); }
.page-hero .lead { margin-top: 25px; }

.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter-btn { padding: 10px 18px; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; }
.filter-btn.active, .filter-btn:hover { color: var(--white); background: var(--forest); border-color: var(--forest); }
.property-card.hidden { display: none; }

.process { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.process-step { position: relative; padding: 28px; border-top: 2px solid var(--copper); background: var(--white); }
.process-step::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 40px; color: var(--copper); font-weight: 800; }
.process-step p { margin-top: 10px; color: var(--muted); font-size: .92rem; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { height: 590px; object-fit: cover; border-radius: 180px 20px 20px 20px; }
.about-badge { position: absolute; right: -25px; bottom: 35px; width: 150px; height: 150px; display: grid; place-items: center; padding: 20px; text-align: center; color: var(--white); background: var(--copper); border: 8px solid var(--cream); border-radius: 50%; font-family: Georgia, serif; font-size: 1.15rem; }
.about-copy .lead { margin: 24px 0; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; margin: 30px 0; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 750; }
.check::before { content: "✓"; display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 25px; color: var(--white); background: var(--forest); border-radius: 50%; font-size: .75rem; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.contact-info { position: sticky; top: 30px; }
.contact-info .lead { margin: 22px 0 34px; }
.contact-list { display: grid; gap: 20px; }
.contact-row { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.contact-row .icon { display: grid; place-items: center; width: 44px; height: 44px; color: var(--copper); border: 1px solid var(--line); border-radius: 50%; }
.contact-row strong { display: block; }
.contact-row span { color: var(--muted); font-size: .92rem; }
.form-card { padding: 42px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-group { display: grid; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .82rem; font-weight: 800; }
.form-control { width: 100%; min-height: 52px; padding: 13px 16px; color: var(--ink); background: var(--cream); border: 1px solid transparent; border-radius: 10px; outline: 0; transition: .2s ease; }
.form-control:focus { background: var(--white); border-color: var(--copper); box-shadow: 0 0 0 3px rgba(200,121,74,.12); }
textarea.form-control { min-height: 130px; resize: vertical; }

.site-footer { padding: 78px 0 25px; color: rgba(255,255,255,.72); background: #0e2d26; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr 1fr; gap: 55px; padding-bottom: 55px; }
.footer-brand .brand { color: var(--white); }
.footer-brand p { max-width: 360px; margin-top: 20px; }
.footer-col h3 { margin-bottom: 18px; color: var(--white); font-family: inherit; font-size: .85rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-col a { display: block; margin: 9px 0; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }

.toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; max-width: 370px; padding: 18px 22px; color: var(--white); background: var(--forest); border-radius: 14px; box-shadow: var(--shadow); transform: translateY(120px); opacity: 0; transition: .3s ease; }
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 960px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav-links { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; color: var(--white); background: var(--forest); opacity: 0; pointer-events: none; transition: .25s ease; }
  .nav-links.open { z-index: 50; opacity: 1; pointer-events: auto; }
  .nav-links a:not(.btn) { padding: 10px; font-family: Georgia, serif; font-size: 2rem; }
  .menu-toggle { position: relative; z-index: 60; }
  .property-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .search-bar { grid-template-columns: repeat(3, 1fr); }
  .search-bar .btn { grid-column: 1 / -1; margin-top: 8px; }
  .split { grid-template-columns: 1fr; }
  .split-image { height: 520px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 78px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .hero { min-height: 760px; }
  .hero-content { padding-bottom: 70px; }
  .hero-note { gap: 18px; }
  .hero-note strong { font-size: 1.25rem; }
  .search-panel { margin-top: -24px; }
  .search-bar { grid-template-columns: 1fr; }
  .field { border-right: 0; border-bottom: 1px solid var(--line); }
  .property-grid, .service-grid, .process { grid-template-columns: 1fr; }
  .property-image { height: 250px; }
  .cta-inner { grid-template-columns: 1fr; padding: 44px 28px; }
  .about-photo img { height: 450px; border-radius: 110px 18px 18px 18px; }
  .about-badge { right: -4px; width: 125px; height: 125px; }
  .checks, .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .form-card { padding: 27px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}
