:root {
  --ink: #18201d;
  --muted: #5b6760;
  --paper: #faf8f3;
  --panel: #ffffff;
  --line: #ddd8cc;
  --green: #245a45;
  --green-dark: #183c30;
  --rust: #a85e36;
  --gold: #d9b55f;
  --blue: #dbe8ed;
  --shadow: 0 22px 60px rgba(24, 32, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 32px;
  background: rgba(250, 248, 243, 0.9);
  border-bottom: 1px solid rgba(221, 216, 204, 0.85);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.language-tabs,
.hero-language-tabs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.language-tabs {
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.language-tabs a,
.hero-language-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 900;
}

.language-tabs a {
  color: var(--muted);
}

.language-tabs a:hover,
.language-tabs a.active {
  color: #fff;
  background: var(--green);
}

.hero-language-tabs {
  flex-wrap: wrap;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
}

.hero-language-tabs span {
  margin-right: 2px;
}

.hero-language-tabs a {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.hero-language-tabs a:hover {
  background: rgba(255, 255, 255, 0.28);
}

.top-cta,
.button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.top-cta,
.button.primary,
.contact-form button {
  color: #fff;
  background: var(--green);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 72px));
  display: grid;
  align-items: end;
  padding: 120px 32px 48px;
  overflow: hidden;
}

.hero > img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero > img {
  object-fit: cover;
  object-position: center;
  filter: brightness(1.16) saturate(1.04);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 25, 21, 0.46), rgba(12, 25, 21, 0.16) 58%, rgba(12, 25, 21, 0.04)),
    linear-gradient(0deg, rgba(12, 25, 21, 0.34), rgba(12, 25, 21, 0.02) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero .direct-sale-hero {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 14px;
  padding: 8px 14px;
  border-radius: 8px;
  color: #111;
  background: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  line-height: 1.1;
  text-align: center;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.65rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

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

.price-panel {
  position: absolute;
  right: 32px;
  bottom: 48px;
  z-index: 2;
  width: min(340px, calc(100% - 64px));
  padding: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.price,
.location,
.note {
  display: block;
}

.price {
  font-size: 2.2rem;
  font-weight: 900;
}

.location {
  margin-top: 4px;
  color: var(--muted);
}

.note {
  width: fit-content;
  margin-top: 16px;
  padding: 7px 10px;
  color: var(--green-dark);
  background: #e7f1ea;
  border-radius: 8px;
  font-weight: 800;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: -28px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 4;
}

.quick-facts article,
.nearby article,
.steps article,
.seller-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quick-facts article {
  padding: 24px;
  box-shadow: 0 14px 36px rgba(24, 32, 29, 0.08);
}

.quick-facts strong,
.nearby strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.1;
}

.quick-facts span,
.nearby span,
.seller-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 24px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 54px;
  align-items: center;
}

h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.section p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.feature-grid span {
  padding: 13px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 750;
}

.info-panel {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.info-panel h3 {
  margin: 0 0 16px;
  font-size: 1.45rem;
}

.info-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-panel li {
  padding-left: 20px;
  position: relative;
  color: var(--muted);
}

.info-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 7px;
  height: 7px;
  background: var(--rust);
  border-radius: 50%;
}

.gallery {
  display: grid;
  gap: 12px;
}

.gallery img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-main {
  height: 430px;
}

.gallery-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gallery-row img {
  height: 180px;
}

.gallery-row img:first-child {
  object-position: left center;
}

.gallery-row img:last-child {
  object-position: right center;
}

.photos-section {
  padding-top: 28px;
}

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

.photo-grid figure {
  position: relative;
  min-height: 270px;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.photo-grid figure.wide {
  grid-column: span 2;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
}

.photo-grid figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 8px 10px;
  color: #fff;
  background: rgba(24, 32, 29, 0.78);
  border-radius: 8px;
  font-weight: 800;
}

.visit-band {
  max-width: none;
  padding: 88px max(24px, calc((100vw - 1180px) / 2 + 24px));
  color: #fff;
  background: var(--green-dark);
}

.visit-band .eyebrow {
  color: var(--gold);
}

.visit-band p {
  color: rgba(255, 255, 255, 0.78);
}

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

.steps article {
  padding: 24px;
  color: var(--ink);
}

.steps span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--rust);
  border-radius: 8px;
  font-weight: 900;
}

.steps h3 {
  margin: 18px 0 8px;
  font-size: 1.1rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.characteristics {
  padding-top: 24px;
}

.feature-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.feature-table div {
  display: grid;
  gap: 4px;
  min-height: 82px;
  padding: 18px;
  background: #fff;
}

.feature-table span {
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-table strong {
  font-size: 1.05rem;
}

.notice-band {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 42px;
  align-items: center;
  padding: 72px max(24px, calc((100vw - 1180px) / 2 + 24px));
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.notice-list {
  display: grid;
  gap: 10px;
}

.notice-list span {
  padding: 14px 16px;
  color: var(--green-dark);
  background: #e7f1ea;
  border: 1px solid #cfe2d4;
  border-radius: 8px;
  font-weight: 850;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.nearby {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.nearby article {
  padding: 22px;
  background: linear-gradient(180deg, #fff, var(--blue));
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 48px;
  align-items: start;
  padding-top: 24px;
}

.seller-card {
  width: min(420px, 100%);
  margin-top: 28px;
  padding: 20px;
}

.seller-card a {
  display: inline-block;
  margin-top: 10px;
  color: var(--green);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(36, 90, 69, 0.18);
  border-color: var(--green);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 900px) {
  .topbar {
    gap: 12px;
    padding: 0 18px;
  }

  .nav {
    display: none;
  }

  .language-tabs {
    margin-left: auto;
  }

  .hero {
    min-height: 720px;
    padding: 92px 20px 270px;
  }

  .price-panel {
    right: 20px;
    bottom: 28px;
    left: 20px;
    width: auto;
  }

  .quick-facts,
  .nearby,
  .steps,
  .split,
  .contact-section,
  .notice-band {
    grid-template-columns: 1fr;
  }

  .quick-facts {
    margin-top: 0;
    padding-top: 18px;
  }

  .section {
    padding: 64px 20px;
  }

  .gallery-main {
    height: 320px;
  }

  .section-heading,
  .footer {
    display: block;
  }

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

  .photo-grid figure.wide {
    grid-column: span 2;
  }

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

@media (max-width: 560px) {
  .brand span:last-child {
    display: none;
  }

  .language-tabs a {
    min-width: 32px;
    padding: 0 8px;
  }

  .top-cta {
    min-height: 40px;
    padding: 0 13px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .photo-grid figure.wide {
    grid-column: span 1;
  }

  .photo-grid figure,
  .photo-grid img {
    min-height: 220px;
  }

  .gallery-row img {
    height: 150px;
  }

  .contact-form {
    padding: 18px;
  }
}
