:root {
  --bg: #f3efe6;
  --surface: #fffdf8;
  --surface-strong: #123629;
  --surface-soft: #e7eee7;
  --text: #1f2a24;
  --muted: #59645e;
  --line: rgba(18, 54, 41, 0.12);
  --accent: #215f47;
  --accent-strong: #173f31;
  --shadow: 0 18px 40px rgba(23, 36, 30, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
  --header-offset: 5.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(33, 95, 71, 0.13), transparent 26%),
    linear-gradient(180deg, #faf7f0 0%, var(--bg) 100%);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

main section[id],
.map-embed[id] {
  scroll-margin-top: var(--header-offset);
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(250, 247, 240, 0.9);
  border-bottom: 1px solid rgba(18, 54, 41, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand img {
  width: 160px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  cursor: pointer;
}

.hero {
  padding: clamp(2rem, 3.5vw, 3.2rem) 0 0.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.28fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
}

.hero .container {
  width: min(calc(100% - 2rem), 1240px);
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

.hero h1,
.section-heading h2 {
  margin: 0;
  line-height: 1.1;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  max-width: 12ch;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 2.85rem);
  max-width: 18ch;
}

.hero-points,
.feature-list {
  margin: 1.35rem 0 0;
  padding-left: 1.2rem;
}

.hero-points li,
.feature-list li {
  margin-bottom: 0.7rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

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

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

.button--secondary {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: #fff;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(165px, 1fr));
  gap: 0.9rem;
  margin: 1.75rem 0 0;
  align-items: stretch;
}

.hero-facts div,
.panel,
.hero-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow);
}

.hero-facts div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 102px;
  padding: 0.8rem 1.1rem;
}

.hero-facts dt {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hero-facts dd {
  margin: 0.25rem 0 0;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.15;
  font-weight: 800;
  white-space: nowrap;
}

.hero-stat {
  align-items: flex-start;
  text-align: left;
  gap: 0.08rem;
}

.hero-media {
  width: 100%;
  max-width: none;
  min-height: unset;
  aspect-ratio: 16 / 9;
  align-self: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: transparent;
}

.hero-card {
  overflow: hidden;
  background: transparent;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  background: transparent;
}

.section {
  padding: clamp(2.2rem, 4vw, 3.4rem) 0;
}

.section--alt {
  background: rgba(255, 255, 255, 0.52);
  border-top: 1px solid rgba(18, 54, 41, 0.05);
  border-bottom: 1px solid rgba(18, 54, 41, 0.05);
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.section-heading--left {
  align-items: flex-start;
  text-align: left;
}

.about-grid,
.contact-grid {
  display: grid;
  gap: 1.25rem;
}

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

.about-intro {
  max-width: 760px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.about-grid--single {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.panel {
  padding: 1.4rem;
}

.panel h3 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: 1.2rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-card--single {
  max-width: 860px;
  margin: 0 auto;
}

.pricing-list {
  display: grid;
  gap: 0.8rem;
}

.pricing-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.pricing-label,
.pricing-value {
  margin: 0;
}

.pricing-label {
  font-weight: 600;
}

.pricing-value {
  flex-shrink: 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--accent-strong);
  text-align: right;
}

.pricing-note {
  margin: 1rem auto 0;
  max-width: 70ch;
  text-align: center;
  color: var(--muted);
}

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.filter-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 600;
}

.filter-button.is-active,
.filter-button:hover,
.filter-button:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

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

.gallery-item[hidden] {
  display: none;
}

.gallery-card {
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  text-align: left;
}

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

.gallery-card span {
  display: block;
  padding: 0.9rem 1rem 1rem;
  font-weight: 700;
}

.contact-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
  align-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-grid__full {
  grid-column: 1 / -1;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-form span {
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(18, 54, 41, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.9rem 1rem;
  color: var(--text);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(33, 95, 71, 0.2);
  border-color: var(--accent);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.2rem;
}

.form-status {
  margin: 0;
  min-height: 1.5rem;
  color: var(--muted);
  font-weight: 600;
}

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

.form-status.is-success {
  color: var(--accent);
}

.contact-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(23, 63, 49, 0.95), rgba(18, 54, 41, 0.98)),
    var(--surface-strong);
}

.contact-logo {
  width: 168px;
}

.contact-list h3 {
  margin: 0 0 0.25rem;
}

.contact-list p {
  margin: 0 0 1rem;
}

.contact-list a {
  color: #fff;
}

.map-embed {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(18, 54, 41, 0.08);
  background: rgba(255, 255, 255, 0.08);
}

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

.map-section {
  padding: 0 0 1.25rem;
}

.map-section__bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.map-embed--full {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

.map-embed--full iframe {
  min-height: 420px;
}

.site-footer {
  padding: 1.8rem 0 2.4rem;
  background: var(--surface-strong);
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.footer-brand img {
  width: min(220px, 100%);
}

.footer-mark {
  justify-self: center;
}

.footer-mark img {
  width: 96px;
}

.footer-meta {
  text-align: right;
}

.footer-meta p {
  margin: 0;
}

.footer-meta p + p {
  margin-top: 0.35rem;
}

.footer-meta a {
  color: #fff;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 14, 12, 0.78);
  cursor: pointer;
}

.lightbox__content {
  position: relative;
  margin: 0;
  width: min(calc(100% - 2rem), 1200px);
  z-index: 1;
  display: grid;
  place-items: center;
}

.lightbox__content img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(12, 16, 14, 0.8);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 960px) {
  :root {
    --header-offset: 5.25rem;
  }

  .hero-grid,
  .contact-grid,
  .about-grid,
  .gallery-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .section-heading h2 {
    max-width: none;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .hero-facts div {
    min-height: 96px;
    padding: 0.8rem 0.95rem;
  }

  .hero-media {
    aspect-ratio: 16 / 10;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 253, 248, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .footer-brand,
  .footer-mark,
  .footer-meta {
    justify-self: center;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .footer-brand img {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-media {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    padding: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: visible;
  }

  .hero-card {
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: visible;
  }

  .hero-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center center;
    background: #000;
    border-radius: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --header-offset: 5rem;
  }

  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .header-inner {
    min-height: 74px;
  }

  .brand img {
    width: 132px;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-card {
    height: auto;
  }

  .hero-media {
    width: 100%;
    max-width: none;
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    padding: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: visible;
  }

  .hero-video {
    width: 100%;
    height: auto;
    border-radius: 0;
  }

  .hero-facts div {
    min-height: 0;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .pricing-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-value {
    text-align: left;
  }

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

  .hero-actions,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .map-embed iframe {
    min-height: 240px;
  }

  .map-embed--full iframe {
    min-height: 300px;
  }
}
