:root {
  --bg: #fff8f2;
  --bg-strong: #f2e0d1;
  --text: #251711;
  --muted: #6d5b52;
  --brand: #a6431f;
  --brand-dark: #783017;
  --cream: #fffdf8;
  --line: rgba(71, 41, 27, 0.16);
  --shadow: 0 24px 80px rgba(74, 37, 20, 0.16);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(166, 67, 31, 0.18), transparent 35rem),
    linear-gradient(180deg, #fff8f2 0%, #fffdf8 48%, #f7eadf 100%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  background: rgba(255, 248, 242, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--brand);
  color: white;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--brand);
}

.nav-cta {
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--text);
  color: white !important;
}

.sticky-booking-button {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  box-shadow: 0 18px 40px rgba(166, 67, 31, 0.38);
  font-weight: 900;
  text-decoration: none;
}

.sticky-booking-button:hover {
  background: var(--brand-dark);
}

.section-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  padding: clamp(56px, 8vw, 104px) 0 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.77rem;
  font-weight: 800;
}

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.9rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 640px;
  font-size: 1.14rem;
}

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

.hero-actions {
  margin: 30px 0 24px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 14px 34px rgba(166, 67, 31, 0.28);
}

.button.secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--line);
}

.trust-list {
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 700;
}

.trust-list li::before {
  content: "✓";
  color: var(--brand);
  margin-right: 8px;
}

.hero-card {
  position: relative;
}

.photo-placeholder {
  display: grid;
  min-height: 230px;
  place-items: center;
  padding: 24px;
  border: 1px dashed rgba(166, 67, 31, 0.45);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(166, 67, 31, 0.18), rgba(255, 255, 255, 0.62)),
    repeating-linear-gradient(-45deg, rgba(166, 67, 31, 0.08) 0 10px, transparent 10px 20px);
  color: var(--brand-dark);
  font-weight: 800;
  text-align: center;
}

.photo-placeholder.large {
  min-height: 560px;
  box-shadow: var(--shadow);
}

.hero-image,
.property-image {
  display: block;
  width: 100%;
  object-fit: cover;
  background: var(--bg-strong);
}

.hero-image {
  min-height: 560px;
  max-height: 620px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.property-image {
  height: 250px;
}

.floating-card {
  position: absolute;
  right: -10px;
  bottom: 34px;
  width: min(280px, 86%);
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.intro-grid,
.property-grid,
.steps {
  display: grid;
  gap: 20px;
}

.intro-grid {
  grid-template-columns: repeat(3, 1fr);
  padding: 28px 0 72px;
}

.intro-grid article,
.property-card,
.contact-form,
.process-section,
.split-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 50px rgba(70, 43, 30, 0.08);
}

.intro-grid article {
  padding: 28px;
}

.icon {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--brand);
  font-weight: 900;
}

.properties-section,
.split-section,
.process-section,
.contact-section {
  padding: 72px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.property-card {
  overflow: hidden;
}

.property-card .photo-placeholder {
  min-height: 250px;
  border-width: 0 0 1px;
  border-radius: 0;
}

.property-body {
  padding: 24px;
}

.property-location {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.property-body ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.property-body a,
.text-link {
  color: var(--brand);
  font-weight: 800;
}

.text-link {
  display: inline;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.text-link:hover {
  color: var(--brand-dark);
}

.property-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.property-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.property-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 20, 15, 0.68);
  backdrop-filter: blur(4px);
}

.property-modal-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.property-modal-panel h2 {
  margin-bottom: 14px;
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--text);
  color: white;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.modal-detail-list {
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.photo-gallery img {
  display: block;
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: 20px;
  background: var(--bg-strong);
}

body.modal-open {
  overflow: hidden;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  padding: 42px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

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

.process-section {
  padding: 42px;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  padding: 26px;
  border-radius: 22px;
  background: var(--cream);
}

.steps li::before {
  counter-increment: steps;
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-weight: 900;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 34px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: white;
  color: var(--text);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
}

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

.site-footer strong {
  color: var(--text);
}

@media (max-width: 940px) {
  .site-header,
  .nav-links,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    gap: 12px;
  }

  .hero,
  .intro-grid,
  .property-grid,
  .split-section,
  .steps,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .photo-placeholder.large {
    min-height: 380px;
  }

  .hero-image {
    min-height: 380px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    display: none;
  }

  section {
    scroll-margin-top: 18px;
  }

  .hero {
    padding-top: 42px;
  }

  .split-section,
  .process-section {
    padding: 26px;
  }

  .contact-form {
    padding: 22px;
  }

  .property-modal {
    align-items: end;
    padding: 12px;
  }

  .property-modal-panel {
    max-height: 88vh;
    padding: 22px;
    border-bottom-right-radius: 18px;
    border-bottom-left-radius: 18px;
  }

  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .photo-gallery img {
    height: 240px;
  }

  .sticky-booking-button {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  body {
    padding-bottom: 76px;
  }
}
