:root {
  color-scheme: light;
  --red: #c81016;
  --red-dark: #9e0f13;
  --evergreen: #073c32;
  --evergreen-deep: #02251f;
  --ink: #17191d;
  --muted: #5f6563;
  --line: #dedfdc;
  --soft: #f5f6f4;
  --white: #ffffff;
  --shadow: 0 24px 64px rgba(15, 18, 17, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.96;
}

h1 {
  max-width: 590px;
  font-size: 4.15rem;
}

h2 {
  font-size: 3.35rem;
}

h3 {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  min-height: 96px;
  padding: 0 52px;
}

.brand {
  display: block;
  width: 238px;
  max-width: 32vw;
}

.brand img {
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
}

.desktop-nav a,
.phone {
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.phone:hover {
  color: var(--red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.phone {
  color: var(--red);
  font-size: 1.02rem;
  font-weight: 700;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid var(--red);
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.button.secondary {
  background: var(--white);
  color: var(--red);
}

.button.secondary:hover {
  background: #fff5f5;
  color: var(--red-dark);
}

.menu-toggle,
.menu-close {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
}

.menu-toggle svg,
.menu-close svg {
  width: 22px;
  height: 22px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  background: rgba(2, 37, 31, 0.72);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-panel {
  position: absolute;
  top: 16px;
  right: 16px;
  width: min(370px, calc(100% - 32px));
  padding: 20px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.mobile-panel nav,
.mobile-panel .mobile-actions {
  display: grid;
  gap: 14px;
}

.mobile-panel nav {
  color: var(--ink);
  font-weight: 700;
}

.mobile-actions {
  margin-top: 24px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(500px, 1.08fr) minmax(520px, 0.92fr);
  min-height: 720px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 78px 28px 78px max(52px, calc((100vw - 1180px) / 2));
}

.lead {
  max-width: 560px;
  margin-top: 26px;
  color: #33383a;
  font-size: 1.22rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 40px;
}

.hero-visual {
  position: relative;
  min-height: 720px;
  overflow: visible;
}

.hero-visual::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 13%;
  background: linear-gradient(100deg, var(--white) 0%, rgba(255, 255, 255, 0.86) 42%, rgba(255, 255, 255, 0) 100%);
  content: "";
  pointer-events: none;
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-card {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 2;
  display: grid;
  width: min(360px, calc(100% - 56px));
  gap: 18px;
  padding: 30px;
  border: 1px solid rgba(222, 223, 220, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  transform: translate(-16%, -50%);
  backdrop-filter: blur(18px);
}

.property-card h2 {
  font-family: var(--sans);
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.25;
}

.property-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d6d8d5;
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
  padding: 0 16px;
  outline: none;
}

textarea {
  min-height: 124px;
  padding: 15px 16px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(200, 16, 22, 0.1);
}

.form-note {
  color: var(--evergreen);
  font-size: 0.86rem;
  font-weight: 800;
}

.services-section {
  padding: 92px 0 84px;
}

.services-layout {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: 38px;
  align-items: start;
}

.section-intro {
  padding-top: 14px;
}

.section-intro p {
  max-width: 510px;
  margin-top: 22px;
  color: #33383a;
  font-size: 1.08rem;
}

.feature-photo {
  width: 100%;
  height: 320px;
  border-radius: 8px;
  object-fit: cover;
}

.service-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  margin-top: 10px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.service-card div {
  padding: 28px;
}

.service-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--red);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.96rem;
}

.process-section {
  padding: 78px 0 84px;
  background: radial-gradient(circle at 50% 15%, rgba(34, 89, 74, 0.82), var(--evergreen-deep) 70%);
  color: var(--white);
}

.process-section h2 {
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 48px;
}

.process-grid article {
  position: relative;
  padding: 0 30px;
}

.process-grid article:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.process-grid span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
}

.process-grid h3 {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.82rem;
}

.process-grid p {
  max-width: 300px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.84);
}

.testimonials-section {
  padding: 78px 0 72px;
  background: var(--white);
}

.testimonials-section h2 {
  text-align: center;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 46px;
}

.quote-grid figure {
  padding: 0 34px;
  border-left: 1px solid var(--line);
}

.quote-grid figure:first-child {
  border-left: 0;
}

.quote-grid blockquote {
  position: relative;
  color: #313639;
  font-size: 1.04rem;
  line-height: 1.6;
}

.quote-grid blockquote::before {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  content: "“";
  font-family: var(--serif);
  font-size: 3.2rem;
  line-height: 0.5;
}

.quote-grid figcaption {
  margin-top: 22px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.contact-section > img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 76px max(52px, calc((100vw - 1180px) / 2)) 76px 64px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.contact-form input[name="phone"],
.contact-form textarea,
.contact-form .form-note {
  grid-column: 1 / -1;
}

.contact-form .button {
  width: fit-content;
  min-width: 214px;
}

.contact-signoff {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
}

.signoff-leaf {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto auto minmax(220px, 420px);
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-footer .brand {
  width: 250px;
}

.site-footer div div {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.site-footer p {
  max-width: 410px;
  color: var(--muted);
}

@media (max-width: 1120px) {
  .header-inner {
    padding: 0 28px;
  }

  .desktop-nav,
  .nav-actions {
    display: none;
  }

  .menu-toggle,
  .menu-close {
    display: grid;
    place-items: center;
    justify-self: end;
  }

  .header-inner {
    grid-template-columns: auto 1fr;
  }

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

  .hero-copy {
    padding: 70px 28px 44px;
  }

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

  .hero-visual::before {
    display: none;
  }

  .property-card {
    left: 28px;
    top: auto;
    bottom: 28px;
    transform: none;
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.75rem;
  }

  .wrap {
    width: min(100% - 34px, 1180px);
  }

  .services-layout,
  .service-grid,
  .process-grid,
  .quote-grid,
  .contact-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    gap: 22px;
  }

  .process-grid article {
    padding: 0;
  }

  .process-grid article:not(:last-child) {
    padding-bottom: 30px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .quote-grid {
    gap: 28px;
  }

  .quote-grid figure,
  .quote-grid figure:first-child {
    padding: 0;
    border-left: 0;
  }

  .contact-panel {
    padding: 54px 28px 64px;
  }

  .contact-section > img {
    min-height: 390px;
  }
}

@media (max-width: 620px) {
  .header-inner {
    min-height: 82px;
    padding: 0 16px;
  }

  .brand {
    width: 196px;
    max-width: 58vw;
  }

  h1 {
    font-size: 2.9rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .hero-copy {
    padding: 48px 18px 36px;
  }

  .hero-actions,
  .mobile-actions {
    align-items: stretch;
  }

  .hero-actions .button,
  .mobile-actions .button,
  .property-card .button,
  .contact-form .button {
    width: 100%;
  }

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

  .property-card {
    left: 16px;
    right: 16px;
    width: auto;
    padding: 22px;
  }

  .services-section {
    padding: 62px 0;
  }

  .feature-photo,
  .service-card img {
    height: 230px;
  }

  .process-section,
  .testimonials-section {
    padding: 58px 0;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form input[name="phone"],
  .contact-form textarea,
  .contact-form .form-note {
    grid-column: auto;
  }
}
