:root {
  --bg: #f7f3ec;
  --surface: #fffdf9;
  --surface-strong: #ffffff;
  --ink: #1f1d1a;
  --muted: #6f675d;
  --line: #ded3c2;
  --sand: #c8a96a;
  --sand-dark: #9e7d3a;
  --sage: #6f7b68;
  --clay: #b56f50;
  --black-soft: #2b2925;
  --shadow: 0 22px 70px rgba(47, 41, 32, 0.14);
  --radius: 8px;
  --max: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.56), transparent 28%, rgba(255, 255, 255, 0.36)),
    repeating-linear-gradient(90deg, rgba(31, 29, 26, 0.035) 0 1px, transparent 1px 104px);
  z-index: -2;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(222, 211, 194, 0.82);
  background: rgba(247, 243, 236, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--sand);
  color: var(--sand-dark);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.92rem;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--sand-dark);
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
}

.section-pad {
  padding: clamp(72px, 9vw, 132px) clamp(18px, 4vw, 48px);
}

.hero {
  width: min(100%, 1440px);
  min-height: calc(88vh - var(--header-height));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(40px, 6vw, 86px);
  align-items: center;
  padding-top: clamp(38px, 5vw, 66px);
  padding-bottom: clamp(38px, 5vw, 70px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--sand-dark);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

h1 {
  margin-bottom: 12px;
  font-size: clamp(3.35rem, 7vw, 6.8rem);
}

.hero h2 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2rem, 3.8vw, 3.85rem);
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.hero-actions,
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 750;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--black-soft);
  box-shadow: 0 14px 32px rgba(31, 29, 26, 0.16);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #11100e;
}

.btn-secondary {
  color: var(--black-soft);
  border-color: var(--line);
  background: rgba(255, 253, 249, 0.72);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--sand);
  background: var(--surface-strong);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.property-image {
  width: 100%;
  height: min(52vw, 560px);
  min-height: 390px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.portrait-card {
  position: absolute;
  left: clamp(-26px, -3vw, -10px);
  bottom: 34px;
  z-index: 2;
  width: min(260px, 48%);
  margin: 0;
  border: 1px solid rgba(200, 169, 106, 0.56);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 22px 55px rgba(31, 29, 26, 0.16);
}

.portrait-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 56% 18%;
}

.portrait-card figcaption {
  display: grid;
  gap: 2px;
  padding: 15px;
}

.portrait-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 500;
}

.portrait-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.about,
.services,
.process,
.benefits,
.contact {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(28px, 7vw, 86px);
  align-items: start;
}

.split h2,
.section-heading h2,
.process h2,
.benefits h2,
.contact h2,
.cta h2 {
  font-size: clamp(2.1rem, 4vw, 4.15rem);
}

.split p,
.section-heading p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 292px;
  padding: 28px;
  border: 1px solid rgba(222, 211, 194, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.78);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 169, 106, 0.78);
  box-shadow: 0 18px 44px rgba(47, 41, 32, 0.08);
}

.icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(200, 169, 106, 0.58);
  color: var(--sand-dark);
  background: #fffaf1;
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.steps h3 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  font-weight: 500;
  line-height: 1.15;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

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

.process h2 {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.steps article {
  min-height: 210px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--black-soft);
  color: #fff;
}

.steps span {
  display: inline-block;
  margin-bottom: 50px;
  color: #d7bd7d;
  font-size: 0.82rem;
  font-weight: 800;
}

.benefits {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 86px);
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  position: relative;
  min-height: 72px;
  padding: 18px 18px 18px 44px;
  border: 1px solid rgba(222, 211, 194, 0.86);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.74);
  color: var(--black-soft);
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 5px rgba(111, 123, 104, 0.12);
}

.cta {
  padding-top: clamp(56px, 7vw, 94px);
  padding-bottom: clamp(56px, 7vw, 94px);
  background: var(--black-soft);
  color: #fff;
}

.cta-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  justify-content: space-between;
}

.cta h2 {
  max-width: 820px;
  margin-bottom: 0;
}

.cta .btn-primary {
  color: var(--black-soft);
  background: #f2dfb3;
}

.cta .btn-primary:hover,
.cta .btn-primary:focus-visible {
  background: #ffe7ad;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  color: var(--black-soft);
  font-weight: 700;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(222, 211, 194, 0.92);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 22px 70px rgba(47, 41, 32, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--black-soft);
  font-size: 0.9rem;
  font-weight: 750;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fffdf9;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--sand);
  box-shadow: 0 0 0 4px rgba(200, 169, 106, 0.16);
}

.contact-form button {
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #f2ede4;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: var(--black-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 500;
}

.site-footer address {
  margin: 0;
  font-style: normal;
  text-align: right;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .section-heading,
  .benefits,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 520px;
  }

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

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

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding: 13px 18px;
  }

  .menu-toggle {
    display: grid;
    gap: 5px;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 18px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 243, 236, 0.98);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 12px 0;
  }

  .section-pad {
    padding: 62px 18px;
  }

  h1 {
    font-size: clamp(3.05rem, 17vw, 4.6rem);
  }

  .hero h2,
  .split h2,
  .section-heading h2,
  .process h2,
  .benefits h2,
  .contact h2,
  .cta h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-actions .btn {
    flex: 1 1 155px;
  }

  .hero-visual {
    min-height: 0;
    display: grid;
    gap: 14px;
  }

  .property-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .portrait-card {
    position: static;
    width: 100%;
    display: grid;
    grid-template-columns: 112px 1fr;
    align-items: stretch;
    order: -1;
  }

  .portrait-photo {
    aspect-ratio: 1;
    height: 100%;
    object-position: 54% 14%;
  }

  .portrait-card figcaption {
    align-content: center;
  }

  .service-grid,
  .steps,
  .benefit-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .service-card,
  .steps article {
    min-height: auto;
  }

  .steps span {
    margin-bottom: 28px;
  }

  .contact-form .full {
    grid-column: auto;
  }

  .site-footer {
    display: grid;
  }

  .site-footer address {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 0.95rem;
  }

  .portrait-card {
    grid-template-columns: 96px 1fr;
  }

  .btn {
    padding-inline: 16px;
  }
}
