:root {
  --ink: #17231f;
  --muted: #5f6f68;
  --paper: #f6f8f3;
  --leaf: #2d6b4f;
  --moss: #7a8f42;
  --aqua: #1d9eb3;
  --stone: #b9b1a2;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(17, 35, 31, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}

.site-header.scrolled {
  padding-block: 10px;
  background: rgba(23, 35, 31, .92);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .2);
  backdrop-filter: blur(16px);
}

.brand img {
  width: clamp(150px, 18vw, 250px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a,
.filters button {
  border: 1px solid rgba(255, 255, 255, .22);
  padding: 10px 15px;
  color: var(--white);
  background: rgba(255, 255, 255, .08);
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.main-nav a:hover,
.filters button:hover,
.filters button.active {
  transform: translateY(-2px);
  background: var(--white);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  background: #10201d;
}

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  display: grid;
  align-items: end;
  padding: clamp(120px, 18vh, 180px) clamp(20px, 6vw, 86px) clamp(92px, 12vh, 130px);
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
  transition: opacity .9s ease, transform 1.4s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(9, 18, 15, .82), rgba(9, 18, 15, .28) 48%, rgba(9, 18, 15, .1)), var(--bg);
  background-position: center;
  background-size: cover;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32vh;
  background: linear-gradient(0deg, rgba(23, 35, 31, .88), transparent);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: min(760px, 62vw);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--aqua);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: .78rem;
}

.hero h1,
.hero h2,
.section-heading h2,
.animals-copy h2,
.build-copy h2,
.contact h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: .96;
}

.hero h1,
.hero h2 {
  max-width: 690px;
  font-size: clamp(3rem, 6.7vw, 6.8rem);
  line-height: .9;
  text-wrap: balance;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--leaf), var(--aqua));
  box-shadow: 0 16px 40px rgba(29, 158, 179, .28);
}

.btn.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .08);
}

.hero-cursor {
  position: absolute;
  z-index: 3;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, .22), rgba(29, 158, 179, .14) 38%, transparent 68%);
  mix-blend-mode: screen;
  transition: opacity .2s ease;
}

.slider-controls {
  position: absolute;
  right: clamp(20px, 6vw, 86px);
  bottom: 32px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-controls button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, .1);
  cursor: pointer;
}

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

.slider-dots button {
  width: 10px;
  height: 10px;
  min-width: 10px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, .42);
}

.slider-dots button.active {
  background: var(--white);
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading h2,
.animals-copy h2,
.build-copy h2,
.contact h2 {
  font-size: clamp(2.2rem, 5vw, 5rem);
  text-wrap: balance;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.offer-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(23, 35, 31, .1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(23, 35, 31, .08);
}

.offer-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: 999px;
  color: var(--white);
  background: var(--leaf);
  font-weight: 900;
}

.offer-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.offer-card p,
.animals-copy p,
.build-copy p,
.contact p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(23, 35, 31, .18);
}

.proof div {
  padding: clamp(28px, 5vw, 58px);
  background: #1c3029;
  color: var(--white);
}

.proof strong {
  display: block;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 1;
}

.proof span {
  display: block;
  max-width: 280px;
  margin-top: 10px;
  color: rgba(255, 255, 255, .74);
}

.gallery-section {
  background: #e9f0ea;
}

.gallery-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filters button {
  border-color: rgba(23, 35, 31, .12);
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  cursor: pointer;
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  padding: 0;
  color: var(--white);
  background: #20332b;
  cursor: zoom-in;
  box-shadow: 0 16px 46px rgba(23, 35, 31, .14);
  transition: transform .25s ease, opacity .25s ease;
}

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

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease, filter .55s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 17, 14, .72));
}

.gallery-item span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  font-weight: 900;
  text-align: left;
}

.gallery-item:hover {
  transform: translateY(-4px);
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.12);
}

.animals {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(26px, 5vw, 70px);
  background: #1d2e27;
  color: var(--white);
}

.animals-copy p {
  color: rgba(255, 255, 255, .76);
  margin-bottom: 26px;
}

.animals-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.animals-media img {
  width: 100%;
  height: min(56vw, 520px);
  object-fit: cover;
  border-radius: 8px;
}

.animals-media img:first-child {
  margin-top: 56px;
}

.build {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(26px, 5vw, 70px);
}

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

.contact {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr);
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(135deg, #17231f, #274137 58%, #3e5f40);
}

.contact p {
  color: rgba(255, 255, 255, .76);
  max-width: 640px;
  margin-top: 20px;
}

.contact-details {
  display: grid;
  gap: 7px;
  max-width: 420px;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .08);
  font-style: normal;
}

.contact-details strong {
  color: var(--white);
  font-size: 1.1rem;
}

.contact-details a {
  color: var(--white);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, .82);
  font-size: .92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(0, 0, 0, .22);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form option {
  color: var(--ink);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, .76);
  background: #111b18;
}

.footer img {
  width: 132px;
}

.footer span {
  font-weight: 900;
  color: var(--white);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 70px 20px 34px;
  background: rgba(8, 14, 12, .9);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 76vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 22px 80px rgba(0, 0, 0, .42);
}

.lightbox p {
  margin: 16px 0 0;
  color: var(--white);
  font-weight: 900;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, .1);
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 8px;
    background: rgba(23, 35, 31, .96);
  }

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

  .main-nav a {
    text-align: center;
  }

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

  .proof,
  .animals,
  .build,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: min(720px, 86vw);
  }

  .hero h1,
  .hero h2 {
    font-size: clamp(3rem, 9vw, 5.8rem);
  }

  .gallery-heading {
    display: block;
  }

  .filters {
    justify-content: flex-start;
    margin-top: 24px;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 88vh;
  }

  .hero-slide {
    padding-inline: 18px;
    padding-bottom: 110px;
  }

  .hero h1,
  .hero h2 {
    max-width: 100%;
    font-size: clamp(2.45rem, 12vw, 3.75rem);
    line-height: .95;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    min-height: 46px;
    padding-inline: 16px;
  }

  .slider-controls {
    left: 18px;
    right: auto;
  }

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

  .gallery-grid {
    grid-auto-rows: 250px;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .animals-media {
    grid-template-columns: 1fr;
  }

  .animals-media img {
    height: 320px;
  }

  .animals-media img:first-child {
    margin-top: 0;
  }

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

  .footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
