* {
  box-sizing: border-box;
}

:root {
  --color-primary: #3f5f46;
  --color-primary-hover: #334e3a;
  --color-text: #2f3945;
  --color-text-muted: #5f6b7a;
  --color-bg: #f6f2ec;
  --color-surface: #ffffff;
  --color-border: #d9d7d2;
  --color-footer-bg: #323437;
  --color-footer-text: #f2f2f2;
  --header-height: 96px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  padding-top: var(--header-height);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(246, 242, 236, 0.96);
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(6px);
  z-index: 1000;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header h1 {
  margin: 0;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--color-border);
  background: #ffffff;
  width: 42px;
  height: 38px;
  border-radius: 8px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--color-text);
  display: block;
  transition: transform 0.24s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: #bfc4bc;
  background: #f7f5f0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.site-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-primary);
  background: rgba(63, 95, 70, 0.1);
}

.button {
  display: inline-block;
  text-decoration: none;
  padding: 0.58rem 0.95rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.2;
  transition: 0.2s ease;
}

.button-primary {
  background: var(--color-primary);
  color: #ffffff;
  border: 1px solid var(--color-primary);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.button-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(63, 95, 70, 0.08);
}

.cta-row {
  margin-top: 1rem;
}

.price-sticky {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1100;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  padding: 0.7rem 0.8rem 0.8rem;
  min-width: 205px;
}

.price-sticky-label {
  margin: 0;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-sticky-value {
  margin: 0.1rem 0 0.55rem;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.3rem;
  color: var(--color-text);
  line-height: 1.1;
}

main {
  max-width: 980px;
  margin: 2rem auto 3rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 2rem 1.5rem;
}

.hero {
  position: relative;
  min-height: min(70vh, 620px);
  display: flex;
  align-items: flex-end;
  margin: 0;
  background-image:
    linear-gradient(180deg, rgba(15, 19, 24, 0.12) 10%, rgba(15, 19, 24, 0.72) 90%),
    url("../img/P_ML3547-3-2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.4rem 1.25rem 2.6rem;
  color: #ffffff;
}

.hero-kicker {
  margin: 0 0 0.6rem;
  color: #dce6d8;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero h2 {
  margin: 0 0 0.7rem;
  color: #ffffff;
  font-size: clamp(1.7rem, 2.8vw, 2.55rem);
}

.hero p {
  max-width: 62ch;
  margin: 0;
  color: #f1f4ef;
}

.hero .button-primary {
  color: #ffffff;
}

.keyfacts {
  background: linear-gradient(180deg, #ece6dc 0%, #f6f2ec 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.keyfacts-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.keyfacts article {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
}

.fact-value {
  margin: 0;
  font-family: "Roboto Slab", Georgia, serif;
  color: var(--color-text);
  font-size: 1.2rem;
  line-height: 1.2;
}

.fact-label {
  margin: 0.1rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.84rem;
}

section {
  scroll-margin-top: calc(var(--header-height) + 24px);
  margin-bottom: 2.75rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

h2 {
  margin: 0 0 0.9rem;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.25;
  color: var(--color-text);
}

.contact-details {
  background: linear-gradient(180deg, #fcfbf8 0%, #f6f2ec 100%);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.6rem;
}

.contact-details h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-details-text {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--color-text);
  max-width: 42rem;
  margin-bottom: 1rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 0.8rem;
}

.contact-actions .button {
  min-width: 11rem;
  text-align: center;
}

.contact-details-note {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-muted);
}

h3 {
  margin: 1.1rem 0 0.45rem;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--color-primary);
}

p,
li {
  font-size: 1rem;
  color: var(--color-text-muted);
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

.image-grid {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

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

.image-grid figure {
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  background: #faf9f6;
}

.image-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.image-grid figcaption {
  padding: 0.55rem 0.65rem 0.62rem;
  font-size: 0.83rem;
  color: var(--color-text-muted);
}

.zoom-trigger {
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  display: block;
  cursor: zoom-in;
}

.zoom-trigger:focus-visible {
  outline: 3px solid rgba(63, 95, 70, 0.5);
  outline-offset: -3px;
}

.info-grid .info-image-plaque img {
  object-fit: contain;
  object-position: center;
  background: #ebe8e2;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1600;
  background: rgba(12, 16, 20, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox-inner {
  max-width: min(92vw, 1100px);
  max-height: 92vh;
  width: 100%;
  background: #f5f2eb;
  border: 1px solid #cfcac0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
}

.image-lightbox-close {
  border: 0;
  background: #3f5f46;
  color: #ffffff;
  padding: 0.5rem 0.75rem;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
  background: #334e3a;
}

.image-lightbox img {
  width: 100%;
  max-height: calc(92vh - 96px);
  object-fit: contain;
  background: #e8e4dc;
  display: block;
}

.image-lightbox-caption {
  margin: 0;
  padding: 0.6rem 0.8rem 0.7rem;
  font-size: 0.9rem;
  color: var(--color-text);
}

.highlight-grid {
  margin-top: 1.05rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.highlight-grid article {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fbfaf7;
}

.highlight-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.highlight-grid h3 {
  margin: 0.75rem 0.75rem 0.2rem;
}

.highlight-grid p {
  margin: 0 0.75rem 0.82rem;
  font-size: 0.92rem;
}

.contact-image {
  margin: 1rem 0 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.contact-image img {
  width: 100%;
  max-height: 330px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.map-wrap {
  margin-top: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.mail-form {
  margin-top: 0.6rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 0.8rem;
}

.mail-form label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text);
  font-weight: 500;
}

.mail-form input,
.mail-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.58rem 0.65rem;
  font: inherit;
  color: var(--color-text);
  background: #fff;
}

.mail-form textarea {
  resize: vertical;
  min-height: 120px;
}

.mail-form input:focus,
.mail-form textarea:focus {
  outline: 0;
  border-color: #9fb49f;
  box-shadow: 0 0 0 3px rgba(63, 95, 70, 0.14);
}

.form-hint {
  margin: 0.5rem 0 0;
  font-size: 0.86rem;
}

.honeypot-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0.55rem 0 0;
  min-height: 1.4rem;
  font-size: 0.9rem;
  color: var(--color-text);
}

.form-status.is-error {
  color: #8a2d25;
}

.form-status.is-success {
  color: #2e6041;
}

@media (max-width: 760px) {
  .contact-details {
    padding: 1.2rem;
  }

  .contact-details h2 {
    font-size: 1.55rem;
  }

  .contact-details-text {
    font-size: 1rem;
  }
}

.site-footer {
  text-align: center;
  padding: 1.15rem;
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--color-footer-text);
  opacity: 0.9;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  opacity: 1;
  color: #ffffff;
}

@media (max-width: 760px) {
  :root {
    --header-height: 118px;
  }

  body {
    padding-bottom: 96px;
  }

  .header-inner {
    padding: 0.7rem 1rem;
  }

  .site-header h1 {
    font-size: 1.05rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: flex;
    margin-top: 0.65rem;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #fcfbf8;
    padding: 0.4rem;
    overflow: hidden;
    flex-direction: column;
    gap: 0.3rem;
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: max-height 0.28s ease, opacity 0.2s ease, transform 0.24s ease;
  }

  .site-nav.open {
    max-height: 420px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    display: block;
    font-size: 0.92rem;
    padding: 0.45rem 0.55rem;
  }

  main {
    margin: 1rem auto 2rem;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 1.35rem 1rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  .hero {
    min-height: 58vh;
    background-position: center 36%;
  }

  .hero-content {
    padding: 1.6rem 1rem 1.9rem;
  }

  .hero-kicker {
    font-size: 0.74rem;
  }

  .price-sticky {
    right: 0.5rem;
    left: 0.5rem;
    bottom: 0.5rem;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.65rem;
  }

  .price-sticky-label {
    font-size: 0.68rem;
    margin: 0;
  }

  .price-sticky-value {
    font-size: 1.06rem;
    margin: 0;
    flex: 1;
  }

  .price-sticky .button {
    padding: 0.5rem 0.72rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .keyfacts-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.8rem 1rem;
  }

  .info-grid,
  .image-grid,
  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .map-wrap iframe {
    height: 250px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .nav-toggle,
  .nav-toggle span,
  .site-nav {
    transition: none;
  }
}
