:root {
  --ink: #151a1c;
  --ink-soft: #30393c;
  --paper: #f6f1e7;
  --paper-strong: #fffaf0;
  --gold: #d6aa46;
  --gold-bright: #f2d47c;
  --leaf: #2f6b4d;
  --rust: #9d342a;
  --line: rgba(21, 26, 28, 0.14);
  --shadow: 0 22px 60px rgba(13, 18, 19, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(214, 170, 70, 0.13), transparent 30rem),
    linear-gradient(180deg, #fff9ef 0%, var(--paper) 30%, #eef2e8 100%);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  text-decoration: none;
}

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

.section-space {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section-kicker {
  color: var(--rust);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.08;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  margin-bottom: 1rem;
}

p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.75;
}

.navbar {
  background: rgba(15, 19, 20, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 0;
  transition: background 180ms ease, padding 180ms ease, box-shadow 180ms ease;
}

.navbar.scrolled {
  background: rgba(18, 22, 23, 0.95);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  padding: 0.68rem 0;
}

.navbar-brand {
  color: #fff;
  display: inline-flex;
  flex-direction: column;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.navbar-brand strong {
  color: var(--gold-bright);
  font-size: 1.5rem;
}

.navbar-brand:hover,
.navbar-brand:focus,
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: var(--gold-bright);
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  margin-inline: 0.38rem;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  font-size: 1.7rem;
  height: 3rem;
  width: 3rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.22rem rgba(242, 212, 124, 0.25);
}

.nav-cta,
.btn-gold {
  align-items: center;
  background: var(--gold);
  border: 0;
  color: #121617;
  display: inline-flex;
  font-weight: 800;
  gap: 0.58rem;
  justify-content: center;
  min-height: 3rem;
  padding-inline: 1.15rem;
}

.nav-cta {
  margin-left: 0.7rem;
}

.nav-cta:hover,
.btn-gold:hover {
  background: var(--gold-bright);
  color: #121617;
}

.hero-section {
  min-height: min(100vh, 62rem);
  overflow: hidden;
  position: relative;
}

.hero-media,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-media {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 11, 12, 0.88) 0%, rgba(8, 11, 12, 0.56) 44%, rgba(8, 11, 12, 0.22) 100%),
    linear-gradient(180deg, rgba(8, 11, 12, 0.44), rgba(8, 11, 12, 0.68));
}

.hero-content {
  align-items: center;
  display: flex;
  min-height: min(100vh, 62rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  padding-top: 8rem;
  position: relative;
}

.hero-copy {
  color: #fff;
  max-width: 48rem;
}

.hero-copy .section-kicker {
  color: var(--gold-bright);
}

.hero-copy h1 {
  font-size: clamp(3.35rem, 9vw, 8.5rem);
  margin-bottom: 1rem;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  max-width: 40rem;
}

.hero-actions,
.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.hero-actions .btn,
.map-links .btn {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 0.58rem;
  justify-content: center;
  min-height: 3.35rem;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin-top: 2rem;
}

.hero-metrics span,
.promise-tags span {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  padding: 0.65rem 0.92rem;
}

.intro-band {
  background: var(--paper-strong);
  border-bottom: 1px solid var(--line);
  padding: clamp(2.6rem, 5vw, 4.5rem) 0;
}

.intro-band h2 {
  font-size: clamp(1.9rem, 3.3vw, 3.35rem);
}

.contact-strip {
  background: var(--ink);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.contact-strip a {
  align-items: center;
  background: #202728;
  color: #fff;
  display: flex;
  gap: 1rem;
  min-height: 6rem;
  padding: 1.2rem;
  transition: background 180ms ease;
}

.contact-strip a:hover {
  background: var(--leaf);
}

.contact-strip i,
.contact-line i {
  align-items: center;
  background: rgba(242, 212, 124, 0.16);
  border-radius: 50%;
  color: var(--gold-bright);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.28rem;
  height: 3rem;
  justify-content: center;
  width: 3rem;
}

.contact-strip span {
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  font-weight: 900;
}

.contact-strip small {
  color: rgba(255, 255, 255, 0.63);
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.18rem;
  text-transform: uppercase;
}

.section-heading {
  max-width: 48rem;
}

.service-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
}

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

.service-item {
  border-top: 4px solid var(--gold);
  min-height: 19rem;
  padding: 1.6rem 1.25rem 1rem 0;
}

.service-item i {
  color: var(--leaf);
  font-size: 2rem;
}

.service-item h3 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  margin: 1.2rem 0 0.7rem;
}

.service-item p {
  font-size: 1rem;
}

.story-section {
  background: var(--ink);
  color: #fff;
}

.story-layout,
.map-layout {
  align-items: center;
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.story-photo {
  margin: 0;
}

.story-photo img {
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.story-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.story-copy .section-kicker {
  color: var(--gold-bright);
}

.check-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.check-list li {
  align-items: center;
  display: flex;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 700;
  gap: 0.75rem;
}

.check-list i {
  color: var(--gold-bright);
}

.text-link {
  color: var(--gold-bright);
  display: inline-flex;
  font-weight: 900;
  gap: 0.45rem;
}

.text-link:hover {
  color: #fff;
}

.gallery-section {
  background: #fbf5ea;
}

.gallery-grid {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.gallery-tile {
  background: #171c1d;
  box-shadow: 0 18px 40px rgba(21, 26, 28, 0.12);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.gallery-button {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: zoom-in;
  display: block;
  padding: 0;
  position: relative;
  text-align: left;
  width: 100%;
}

.gallery-button img {
  height: auto;
  object-fit: contain;
  transition: transform 420ms ease;
  width: 100%;
}

.gallery-button span {
  align-items: center;
  background: rgba(15, 19, 20, 0.84);
  bottom: 0.75rem;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 900;
  gap: 0.45rem;
  left: 0.75rem;
  min-height: 2.5rem;
  padding: 0.55rem 0.78rem;
  position: absolute;
}

.gallery-button:hover img,
.gallery-button:focus-visible img {
  transform: scale(1.025);
}

.gallery-button:focus-visible {
  outline: 4px solid var(--gold);
  outline-offset: -4px;
}

.gallery-modal .modal-content {
  background: #0f1314;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.5rem;
  color: #fff;
}

.gallery-modal .modal-header {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.gallery-modal .modal-title {
  font-size: 1.15rem;
  margin: 0;
}

.gallery-modal .modal-body {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: min(80vh, 58rem);
  padding: clamp(0.75rem, 2vw, 1.35rem);
}

.gallery-modal img {
  max-height: calc(100vh - 9rem);
  object-fit: contain;
  width: auto;
}

.contact-section {
  background: linear-gradient(135deg, rgba(47, 107, 77, 0.12), rgba(214, 170, 70, 0.16));
}

.contact-panel,
.promise-panel {
  height: 100%;
  padding: clamp(1.35rem, 3vw, 2.5rem);
}

.contact-panel {
  background: var(--paper-strong);
  border: 1px solid var(--line);
}

.promise-panel {
  background:
    linear-gradient(135deg, rgba(15, 19, 20, 0.92), rgba(15, 19, 20, 0.82)),
    url("./images/farm-group.jpeg") center / cover;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 33rem;
}

.promise-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.promise-panel .section-kicker {
  color: var(--gold-bright);
}

.contact-actions {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.contact-line {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 900;
  gap: 0.95rem;
  min-height: 5rem;
  padding: 0.8rem;
  transition: border-color 180ms ease, transform 180ms ease;
}

.contact-line:hover {
  border-color: rgba(47, 107, 77, 0.56);
  color: var(--ink);
  transform: translateX(0.28rem);
}

.whatsapp-line i {
  background: rgba(37, 211, 102, 0.14);
  color: #138743;
}

.promise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.map-section {
  background: var(--paper-strong);
}

.address-copy address {
  border-left: 4px solid var(--gold);
  color: var(--ink-soft);
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.65;
  margin: 1.35rem 0;
  padding-left: 1rem;
}

.map-frame {
  background: #d9d3c6;
  box-shadow: var(--shadow);
  min-height: 32rem;
}

.map-frame iframe {
  border: 0;
  height: 100%;
  min-height: 32rem;
  width: 100%;
}

.instagram-section {
  background: linear-gradient(110deg, #1a1e20, #2f6b4d 55%, #a53b52);
  color: #fff;
  padding: clamp(2.8rem, 6vw, 5rem) 0;
}

.instagram-layout {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
}

.instagram-section h2 {
  margin-bottom: 0;
  max-width: 44rem;
}

.instagram-section .section-kicker {
  color: var(--gold-bright);
}

.instagram-btn {
  align-items: center;
  background: #fff;
  color: #202728;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 900;
  gap: 0.65rem;
  min-height: 3.7rem;
  padding-inline: 1.25rem;
}

.instagram-btn:hover {
  background: var(--gold-bright);
  color: #202728;
}

.floating-contact {
  display: grid;
  gap: 0.7rem;
  left: 1rem;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1040;
}

.float-action {
  align-items: center;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  color: #fff;
  display: inline-flex;
  gap: 0.6rem;
  min-height: 3.4rem;
  overflow: hidden;
  padding: 0 1rem 0 0.88rem;
  position: relative;
}

.float-action::before {
  animation: contact-pulse 2.6s infinite;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: inherit;
  content: "";
  inset: -0.2rem;
  position: absolute;
}

.float-action i {
  font-size: 1.3rem;
  position: relative;
}

.float-action span {
  font-size: 0.9rem;
  font-weight: 900;
  position: relative;
}

.phone-action {
  background: var(--rust);
}

.whatsapp-action {
  background: #128c46;
}

.float-action:hover {
  color: #fff;
  transform: translateX(0.22rem);
}

.site-footer {
  background: #101415;
  color: rgba(255, 255, 255, 0.8);
  padding: 1.4rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  justify-content: space-between;
}

.footer-inner strong {
  color: var(--gold-bright);
}

.reveal {
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes contact-pulse {
  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }

  50% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(18, 22, 23, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 0.8rem;
    padding: 0.8rem;
  }

  .nav-cta {
    margin: 0.45rem 0 0;
    width: 100%;
  }

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

  .story-layout,
  .map-layout {
    grid-template-columns: 1fr;
  }

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

  .instagram-layout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .hero-section,
  .hero-content {
    min-height: 48rem;
  }

  .hero-media {
    object-position: center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(8, 11, 12, 0.48), rgba(8, 11, 12, 0.9)),
      linear-gradient(90deg, rgba(8, 11, 12, 0.6), rgba(8, 11, 12, 0.24));
  }

  .hero-content {
    align-items: flex-end;
    padding-top: 7rem;
  }

  .hero-actions .btn,
  .map-links .btn {
    width: 100%;
  }

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

  .service-item {
    min-height: 0;
  }

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

  .gallery-modal .modal-body {
    min-height: 0;
  }

  .promise-panel {
    min-height: 28rem;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 24rem;
  }

  .floating-contact {
    bottom: 1rem;
    left: 0.75rem;
    top: auto;
    transform: none;
  }

  .float-action {
    min-height: 3.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
