:root {
  --forest: #174b2d;
  --forest-dark: #0b2d1a;
  --moss: #6f8a3d;
  --clay: #a86132;
  --cream: #f7f2e8;
  --paper: #fffaf1;
  --ink: #1d261f;
  --muted: #637064;
  --line: rgba(23, 75, 45, 0.16);
  --shadow: 0 18px 44px rgba(18, 39, 25, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

.nav {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-decoration: none;
  color: var(--forest);
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1.1;
}

.brand small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--forest);
  width: 42px;
  height: 42px;
  border-radius: 6px;
  font-size: 24px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--forest-dark);
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(23, 75, 45, 0.1);
}

.button,
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--forest);
}

.button {
  background: var(--forest);
  color: #fff;
}

.button-outline {
  background: rgba(255, 250, 241, 0.86);
  color: var(--forest);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(11, 45, 26, 0.28), rgba(11, 45, 26, 0.82)),
    var(--hero-image) center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero-slider {
  background: var(--forest-dark);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slides::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 45, 26, 0.22), rgba(11, 45, 26, 0.84));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

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

.hero-slider-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 250, 241, 0.12);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
}

.hero-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hero-dots button.active {
  background: #fff;
  transform: scale(1.2);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 98px 0 76px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #d7e8c8;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  margin: 0;
  color: var(--forest-dark);
}

.hero h1 {
  max-width: 790px;
  color: #fff;
  font-size: clamp(44px, 7vw, 92px);
}

.hero p {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.9);
}

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

.section {
  padding: 82px 0;
}

.section.alt {
  background: var(--cream);
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 54px);
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 22px;
}

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

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(18, 39, 25, 0.08);
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  padding: 22px;
}

.card h3 {
  font-size: 25px;
}

.card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.feature-list span,
.info-pill {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffdf8;
  font-weight: 800;
  color: var(--forest-dark);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.split img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.text-block h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.text-block p {
  color: var(--muted);
  font-size: 18px;
}

.seo-activities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.seo-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.seo-card h3 {
  font-size: 28px;
}

.seo-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.page-hero {
  background:
    linear-gradient(180deg, rgba(11, 45, 26, 0.24), rgba(11, 45, 26, 0.78)),
    var(--hero-image) center / cover no-repeat;
  color: #fff;
}

.page-hero .container {
  padding: 112px 0 82px;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(42px, 6vw, 78px);
  max-width: 820px;
}

.page-hero p {
  max-width: 700px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.9);
}

.details {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
}

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

.panel h2,
.panel h3 {
  font-size: 30px;
}

.panel ul {
  padding-left: 20px;
  margin: 16px 0 0;
  color: var(--muted);
}

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

.gallery-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.gallery-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffdf8;
  color: var(--forest-dark);
  font-weight: 800;
  text-decoration: none;
}

.gallery-section + .gallery-section {
  margin-top: 58px;
  padding-top: 58px;
  border-top: 1px solid var(--line);
}

.gallery a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery.apartment-gallery img {
  height: 250px;
}

.gallery a:hover img {
  transform: scale(1.04);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 18, 10, 0.88);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(100%, 1180px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.44);
}

.lightbox-button {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: rgba(255, 250, 241, 0.13);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 16px;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a,
.contact-list span {
  display: block;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  text-decoration: none;
  color: var(--forest-dark);
  font-weight: 800;
}

.map-embed {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 10px 30px rgba(18, 39, 25, 0.08);
}

.contact-map-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.map-embed iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.site-footer {
  background: var(--forest-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 42px 0;
}

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 34px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #fff;
  color: var(--forest-dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.footer-icon img {
  max-width: 100%;
  max-height: 24px;
  object-fit: contain;
}

.footer-icon.instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #515bd4);
  color: #fff;
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .hero-inner {
    padding: 34px 0 28px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    max-width: 600px;
    font-size: 16px;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-slider-controls {
    margin-top: 18px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    min-height: 70px;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .grid.three,
  .grid.two,
  .seo-activities,
  .split,
  .details,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 15px;
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    aspect-ratio: 4 / 3;
  }

  .hero-inner {
    padding: 24px 0 20px;
  }

  .hero .eyebrow {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p,
  .page-hero p,
  .text-block p,
  .section-head p {
    font-size: 16px;
  }

  .hero p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.35;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 14px;
  }

  .hero-actions .button,
  .hero-actions .button-outline {
    min-height: 38px;
    padding: 9px 12px;
    font-size: 13px;
  }

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

  .gallery img {
    height: 260px;
  }

  .gallery.apartment-gallery img {
    height: 280px;
  }

  .hero-slider-controls {
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
  }

  .hero-arrow {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .hero-dots {
    max-width: 140px;
    gap: 7px;
  }

  .hero-dots button {
    width: 8px;
    height: 8px;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox img {
    max-height: 78vh;
  }

  .lightbox-button {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .lightbox-caption {
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .hero {
    aspect-ratio: 1 / 1;
  }

  .hero p {
    display: none;
  }
}
