:root {
  --bg: #f7f5ef;
  --paper: #ffffff;
  --ink: #22231f;
  --muted: #5f635a;
  --green-900: #103a27;
  --green-700: #1a5a3a;
  --green-600: #2f754a;
  --green-100: #e3efe7;
  --gold: #cf9a3a;
  --line: #d9dfd0;
  --shadow: 0 18px 40px rgba(16, 58, 39, 0.14);
  --radius: 18px;
  --container: min(1180px, 92vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Barlow", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 4%, #dfe9d7 0 10%, transparent 42%),
    radial-gradient(circle at 0 40%, #edf3e5 0 13%, transparent 46%),
    var(--bg);
  line-height: 1.5;
}

img,
video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

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

.topbar {
  background: var(--green-900);
  color: #f7f5ef;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.topbar strong {
  color: #ffd17a;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(16, 58, 39, 0.12);
}

.nav {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--green-700);
  background: #fff;
}

.brand h1 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--green-900);
}

.brand span {
  display: block;
  margin-top: 4px;
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.menu-btn {
  display: none;
  border: 1px solid var(--green-700);
  background: #fff;
  color: var(--green-700);
  border-radius: 10px;
  padding: 7px 12px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.menu {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.menu a {
  font-weight: 600;
  color: var(--green-900);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.menu a:hover,
.menu a.active {
  color: var(--green-600);
}

.menu .cta {
  background: var(--gold);
  color: #1d1d1d;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 11px 18px;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: #1b1b1b;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.hero-home {
  position: relative;
  min-height: clamp(620px, 86vh, 760px);
  color: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(16, 58, 39, 0.85), rgba(16, 58, 39, 0.25)),
    linear-gradient(0deg, rgba(10, 24, 18, 0.45), rgba(10, 24, 18, 0.15));
  z-index: -1;
}

.hero-home video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-inner {
  width: var(--container);
  padding: 36px 0 44px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: end;
}

.hero-copy h2 {
  margin: 0 0 12px;
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.06;
  max-width: 13ch;
  letter-spacing: 0.01em;
}

.hero-copy p {
  margin: 0 0 24px;
  max-width: 60ch;
  color: #e8efe9;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.hero-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 8px 14px;
  font-weight: 600;
  color: #e5f2e8;
}

.hero-card {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 18px;
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow);
}

.hero-card h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  color: #fff;
}

.hero-card p {
  margin: 0 0 12px;
  color: #dce8df;
  font-size: 0.95rem;
}

.hero-card .phone {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffd88e;
}

.page-hero {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.03);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(16, 58, 39, 0.8), rgba(16, 58, 39, 0.4));
  z-index: -1;
}

.page-hero .inner {
  width: var(--container);
  padding: 38px 0;
}

.page-hero h2 {
  margin: 0 0 10px;
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
  line-height: 1.1;
}

.page-hero p {
  margin: 0;
  max-width: 58ch;
  color: #e7efe8;
}

main section {
  width: var(--container);
  margin: 74px auto 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-700);
}

.section-title {
  margin: 0 0 14px;
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(1.72rem, 3.7vw, 2.45rem);
  line-height: 1.2;
  color: var(--green-900);
}

.section-lead {
  margin: 0;
  max-width: 74ch;
  color: var(--muted);
  font-size: 1.04rem;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.two-col {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
}

.three-col {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cards {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.cards h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: var(--green-900);
}

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

.quick-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--green-900);
  font-weight: 700;
}

.quick-list li {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--green-100);
  border: 1px solid #cadccf;
}

.gallery-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.9fr;
  grid-auto-rows: minmax(170px, auto);
  gap: 12px;
}

.gallery-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 170px;
  aspect-ratio: 4 / 3;
  background: #edf3e5;
}

.gallery-trigger {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-trigger:focus-visible {
  outline: 3px solid rgba(207, 154, 58, 0.95);
  outline-offset: -3px;
}

.gallery-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card figcaption {
  position: absolute;
  z-index: 1;
  left: 10px;
  bottom: 10px;
  margin: 0;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(16, 58, 39, 0.72);
  padding: 6px 9px;
  border-radius: 999px;
  pointer-events: none;
}

.gallery-extra {
  margin-top: 12px;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
}

.gallery-modal.open {
  display: block;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 19, 14, 0.82);
  backdrop-filter: blur(4px);
}

.gallery-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(940px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: 16px auto;
  padding: 52px 16px 16px;
  border-radius: 22px;
  background: rgba(247, 245, 239, 0.98);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.gallery-modal-dialog img {
  width: 100%;
  max-height: calc(100vh - 100px);
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
}

.gallery-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--green-900);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

.areas {
  margin-top: 26px;
  padding: 24px;
  background: linear-gradient(145deg, #103a27, #1d613f);
  color: #ecf4ee;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.areas h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  color: #fff;
}

.areas p {
  margin: 0 0 12px;
  color: #e0ece3;
}

.areas-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.areas-list li {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}

.review-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.review p {
  margin: 0 0 12px;
  color: #3d463f;
  font-size: 0.98rem;
}

.review strong {
  display: block;
  color: var(--green-900);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.contact-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  color: #2d352f;
  font-weight: 600;
}

.contact-list li {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcf8;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.robot-check {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--green-900);
}

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

.form-grid input,
.form-grid textarea {
  width: 100%;
  border: 1px solid #bdc7b8;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: #212721;
  background: #fff;
}

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

.note {
  font-size: 0.86rem;
  color: var(--muted);
}

.form-status {
  display: none;
  margin-bottom: 10px;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: #e3efe7;
  border: 1px solid #b7d0be;
  color: #1c4f34;
}

.form-status.error {
  background: #f7e8e8;
  border: 1px solid #e2b5b5;
  color: #8a2525;
}

footer {
  margin-top: 78px;
  padding: 28px 0;
  background: #0e2f21;
  color: #e8efe9;
}

.footer-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 6px;
  text-align: center;
  font-size: 0.92rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.js-ready .reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-inner,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .three-col,
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 760px) {
  .topbar {
    font-size: 0.86rem;
  }

  .menu-btn {
    display: inline-flex;
  }

  .menu {
    position: absolute;
    top: 76px;
    left: 4vw;
    right: 4vw;
    background: #f7f5ef;
    border: 1px solid #ccd8ca;
    border-radius: 14px;
    padding: 12px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .menu.open {
    display: flex;
  }

  .three-col,
  .review-grid,
  .gallery-grid,
  .hero-list {
    grid-template-columns: 1fr;
  }

  .gallery-card {
    aspect-ratio: 5 / 4;
  }

  .hero-home {
    min-height: 700px;
  }

  .gallery-modal-dialog {
    width: calc(100vw - 20px);
    margin: 10px auto;
    padding: 52px 10px 10px;
  }

  .gallery-modal-dialog img {
    max-height: calc(100vh - 88px);
  }
}
