:root {
  --text: #172017;
  --muted: #5d665d;
  --border: #d9dfd5;
  --background: #f4f6f1;
  --panel: #ffffff;
  --accent: #24563a;
  --accent-soft: #edf5ea;
  --shadow: 0 12px 32px rgba(23, 32, 23, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  overflow-wrap: anywhere;
}

.page {
  width: min(1120px, calc(100% - 32px));
  max-width: calc(100vw - 32px);
  margin: 0 auto;
  padding: 28px 0 52px;
  overflow-x: hidden;
}

section,
footer,
.header {
  width: 100%;
  max-width: 100%;
  margin: 0 0 28px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cta {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.cta p {
  margin: 0 0 12px;
  font-size: 1.18rem;
  font-weight: 700;
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}

.contact-line > * {
  min-width: 0;
}

h1,
h2 {
  margin: 0 0 12px;
  line-height: 1.15;
  overflow-wrap: anywhere;
  word-break: break-word;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}

p {
  margin: 0 0 12px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

p:last-child {
  margin-bottom: 0;
}

.label {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--border);
}

.summary-grid div {
  padding: 14px;
  background: #fafcf8;
}

.summary-grid span,
.facts span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.8rem;
}

.slideshow-section {
  padding: 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

#slide-count {
  color: var(--muted);
  font-weight: 700;
}

.slideshow {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  background: #111711;
}

.slideshow img {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: contain;
}

.slide-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.slide-control.prev {
  left: 16px;
}

.slide-control.next {
  right: 16px;
}

.slide-actions {
  display: flex;
  gap: 10px;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--border);
}

.slide-actions button {
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  padding: 9px 14px;
}

.notice {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: #fbfcfa;
}

.notice p {
  margin: 0;
  padding: 12px;
  border-left: 3px solid var(--accent);
  background: white;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 16px 0;
  border: 1px solid var(--border);
  background: var(--border);
}

.facts div {
  padding: 14px;
  background: #fbfcfa;
}

.map {
  width: 100%;
  height: 420px;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.arv {
  font-size: 1.15rem;
  padding: 12px 14px;
  border: 1px solid #c9d8c5;
  border-radius: 8px;
  background: var(--accent-soft);
}

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: white;
}

.comps-table {
  min-width: 2200px;
  font-size: 0.88rem;
}

th,
td {
  padding: 11px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

th {
  background: #eef3eb;
}

.comps-table th {
  position: sticky;
  top: 0;
  z-index: 1;
}

.disclaimer {
  background: #fbfcfa;
}

footer {
  margin-bottom: 0;
}

@media (max-width: 800px) {
  .notice,
  .facts,
  .summary-grid {
    grid-template-columns: 1fr;
  }

  section,
  footer,
  .header {
    padding: 18px;
  }

  .contact-line {
    display: block;
  }

  .contact-line > * {
    display: block;
    margin-bottom: 6px;
  }

  .map {
    height: 340px;
  }

  .section-heading {
    display: block;
  }

  .slideshow {
    min-height: 320px;
  }

  .slide-control {
    width: 38px;
    height: 38px;
  }
}
