@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Cormorant+Garamond:wght@500;600;700&display=swap");

:root {
  --green: #006400;
  --yellow: #ffc107;
  --orange: #f28c28;
  --brown: #8b4513;
  --red: #d62828;
  --sky: #56a8ff;
  --offwhite: #f8fbf4;
  --white: #ffffff;
  --text: #173117;
  --muted: #536553;
  --border: rgba(0, 100, 0, 0.12);
  --shadow: 0 18px 38px rgba(7, 57, 7, 0.13);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 14% 18%, rgba(0, 100, 0, 0.08), transparent 28%),
    radial-gradient(
      circle at 85% 14%,
      rgba(86, 168, 255, 0.1),
      transparent 24%
    ),
    radial-gradient(
      circle at 10% 88%,
      rgba(139, 69, 19, 0.08),
      transparent 22%
    ),
    linear-gradient(135deg, #f4f9ef 0%, #ffffff 48%, #f7fbff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background-image:
    radial-gradient(
      circle at 20px 20px,
      rgba(0, 100, 0, 0.05) 2px,
      transparent 2px
    ),
    radial-gradient(
      circle at 60px 60px,
      rgba(0, 100, 0, 0.03) 2px,
      transparent 2px
    );
  background-size: 120px 120px;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 2000;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--green);
  font-weight: 800;
  box-shadow: var(--shadow);
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.section {
  padding: 4.8rem 0;
}

.section-toned {
  background: linear-gradient(
    180deg,
    rgba(0, 100, 0, 0.04),
    rgba(255, 255, 255, 0)
  );
}

.section-title {
  margin: 0 0 0.8rem;
  font-size: clamp(1.9rem, 2.4vw, 3rem);
  line-height: 1.15;
}

.section-subtitle {
  margin: 0 0 2rem;
  max-width: 760px;
  color: var(--muted);
}

.top-strip {
  background: var(--green);
  color: var(--white);
  padding: 0.45rem 0;
  font-size: 0.94rem;
}

.top-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}

.top-strip-socials {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.top-strip-social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.top-strip-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.top-strip-social-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
}
.nav-wrap {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo-img {
  width: 180px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: relative;
  background: linear-gradient(145deg, #0a8e0a, #006400);
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.18),
    0 8px 18px rgba(0, 100, 0, 0.18);
}

.logo-mark::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  width: 24px;
  height: 31px;
  border-radius: 65% 0 65% 0;
  transform: rotate(-38deg);
  background: linear-gradient(160deg, #9feb77, #24bf45);
}

.logo-mark::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: -8px 7px 0 -5px rgba(255, 193, 7, 0.65);
}

.brand-text {
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand-text span:first-child {
  color: var(--green);
}

.brand-text span:last-child {
  color: var(--yellow);
}

nav {
  position: relative;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
}

.nav-links a {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  color: #214421;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(0, 100, 0, 0.1);
  color: var(--green);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  color: var(--green);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 14px;
  padding: 0.88rem 1.35rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

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

.btn-primary {
  color: #2f2600;
  background: var(--yellow);
  box-shadow: 0 10px 20px rgba(255, 193, 7, 0.35);
}

.btn-green {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 10px 22px rgba(0, 100, 0, 0.34);
}

.btn-call {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 24px rgba(214, 40, 40, 0.35);
  white-space: nowrap;
  flex: 0 0 auto;
  padding: 0.82rem 1.12rem;
}

.hero {
  min-height: calc(100vh - 122px);
  position: relative;
  overflow: hidden;
}

.hero-media-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.06) brightness(0.88);
}

.hero .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.05) brightness(0.86);
  transition: opacity 0.6s ease;
  transform: scale(1.08);
  transform-origin: center center;
  animation: hero-zoom-slow 24s ease-in-out infinite alternate;
}

.hero.has-hero-video .hero-slide .bg {
  opacity: 0;
}

.hero-slide:nth-child(1) .bg {
  animation-duration: 26s;
}

.hero-slide:nth-child(2) .bg {
  animation-duration: 28s;
  animation-direction: alternate-reverse;
}

.hero-slide:nth-child(3) .bg {
  animation-duration: 30s;
}

.hero-slide:nth-child(4) .bg {
  animation-duration: 27s;
  animation-direction: alternate-reverse;
}

.hero-slide:nth-child(5) .bg {
  animation-duration: 29s;
}

.hero-slider {
  position: relative;
  min-height: inherit;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  display: grid;
  align-items: center;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      118deg,
      var(--hero-overlay-start, rgba(8, 41, 8, 0.78)),
      var(--hero-overlay-end, rgba(5, 84, 42, 0.46))
    ),
    radial-gradient(
      circle at 76% 25%,
      var(--hero-accent, rgba(255, 193, 7, 0.2)),
      transparent 42%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  width: min(980px, 92%);
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 8rem) 0 6rem;
  text-align: left;
}

.hero h1,
.hero h2 {
  margin: 0;
  max-width: 760px;
  color: var(--hero-heading, var(--yellow));
  font-size: clamp(2.3rem, 5vw, 4.85rem);
  line-height: 1.03;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.hero p {
  max-width: 700px;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.hero-media-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 19, 4, 0.24), rgba(4, 19, 4, 0.1)),
    linear-gradient(118deg, rgba(8, 41, 8, 0.12), rgba(88, 61, 20, 0.08));
}

@keyframes hero-zoom-slow {
  from {
    transform: scale(1.05) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.16) translate3d(0, -1.5%, 0);
  }
}

.hero-actions,
.inline-actions,
.form-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero-badges,
.trust-badges {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.badge {
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 100, 0, 0.12);
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 800;
}

.badge.hero-badge {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-controls {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.6rem;
  z-index: 3;
  width: min(980px, 92%);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-controls button {
  border: 0;
  cursor: pointer;
}

.hero-controls [data-hero-prev],
.hero-controls [data-hero-next] {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--white);
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.hero-dots {
  display: flex;
  gap: 0.45rem;
  padding: 0.52rem 0.62rem;
  border-radius: 999px;
  background: rgba(6, 22, 11, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.hero-dots button.is-active {
  background: var(--yellow);
}

.panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 1.3rem;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
}

.benefit {
  padding: 1.1rem;
  text-align: center;
  font-weight: 700;
  color: #245224;
}

.benefit::before,
.list-check li::before {
  content: "\2713";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--green);
  background: #dff6de;
  font-weight: 800;
}

.benefit::before {
  margin-bottom: 0.5rem;
}

.split-grid,
.contact-grid,
.project-layout,
.quote-card {
  display: grid;
  gap: 1.2rem;
}

.split-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.video-panel {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.1rem;
  align-items: center;
}

.video-copy h2 {
  margin: 0 0 0.5rem;
}

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

.video-embed-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}

.autoplay-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.video-embed-wrap.portrait-video {
  width: min(100%, 420px);
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  max-height: 76vh;
}

.video-embed-wrap.portrait-video .autoplay-video,
.video-embed-wrap.portrait-video iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  display: block;
  border: 0;
  object-fit: cover;
}

.gallery-section-video {
  margin-top: 1rem;
}

.gallery-section-video .video-copy {
  margin-bottom: 0.75rem;
}

.gallery-section-video .video-copy h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--green);
}

.gallery-section-video .video-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.quote-card {
  grid-template-columns: 1fr 300px;
  align-items: center;
  padding: 1.35rem;
}

.quote-card blockquote {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 800;
}

.stats-grid,
.cards-grid,
.gallery-grid,
.footer-grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.blog-card {
  display: grid;
  gap: 0.9rem;
}

.blog-card .blog-meta,
.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-card .tag,
.blog-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 100, 0, 0.08);
  color: var(--green);
  font-weight: 800;
  font-size: 0.84rem;
}

.blog-hero {
  padding: 3.4rem 0 1.8rem;
}

.blog-hero .panel {
  overflow: hidden;
}

.blog-hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: center;
}

.blog-hero-copy {
  padding: 1.4rem;
}

.blog-hero-copy h1,
.blog-article h1 {
  margin: 0 0 0.75rem;
  line-height: 1.08;
}

.blog-hero-copy p {
  color: var(--muted);
}

.blog-feature-image {
  min-height: 320px;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}

.blog-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-article {
  max-width: 820px;
}

.blog-article .article-cover {
  margin-bottom: 1.2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.blog-article .article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-article h2 {
  margin: 1.8rem 0 0.6rem;
}

.blog-article p,
.blog-article li {
  color: var(--text);
}

.blog-article .article-note {
  border-left: 4px solid var(--green);
  padding: 0.9rem 1rem;
  background: rgba(0, 100, 0, 0.05);
  border-radius: 0 12px 12px 0;
}

.stat-card,
.testimonial-slide,
.faq-item,
.feature-card,
.info-card {
  padding: 1.25rem;
}

.stat-card h3 {
  margin: 0;
  color: var(--green);
  font-size: 2rem;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
}

.list-check li::before {
  position: absolute;
  left: 0;
  top: 0;
}

.feature-media,
.farm-media,
.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 230px;
  box-shadow: var(--shadow);
}

.feature-media img,
.farm-media img,
.about-media img,
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.45s ease;
}

.testimonial-slide {
  min-width: 100%;
}

.testimonial-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: start;
}

.testimonial-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 193, 7, 0.45);
}

.stars {
  color: #ffb400;
  letter-spacing: 2px;
  font-size: 1rem;
  margin: 0.2rem 0 0.55rem;
}

.testimonial-controls {
  margin-top: 1rem;
  display: flex;
  gap: 0.65rem;
}

.testimonial-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--green);
  font-size: 1.1rem;
  cursor: pointer;
}

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

.cta-band {
  padding: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: linear-gradient(
    120deg,
    rgba(0, 100, 0, 0.96),
    rgba(0, 65, 0, 0.88)
  );
  color: var(--white);
}

.process-card .step {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 100, 0, 0.1);
  color: var(--green);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.impact-band {
  padding: 1.6rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem;
  align-items: center;
  background: linear-gradient(
    120deg,
    rgba(15, 88, 15, 0.96),
    rgba(16, 62, 16, 0.94)
  );
  color: var(--white);
}

.impact-band h2 {
  margin: 0 0 0.5rem;
  color: #ffe082;
}

.impact-band p {
  margin: 0;
  max-width: 640px;
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 0.7rem;
}

.impact-stats article {
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.impact-stats strong {
  display: block;
  color: #ffe082;
  font-size: 1.25rem;
}

.impact-stats span {
  font-size: 0.87rem;
}

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

.team-card {
  padding: 1.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 0.8rem;
  object-fit: cover;
  border: 3px solid rgba(255, 193, 7, 0.45);
}

.team-card h3 {
  margin: 0;
}

.team-card .role {
  margin: 0.25rem 0 0.65rem;
  color: var(--muted);
  font-weight: 600;
}

.team-card .social-links {
  margin-top: auto;
  padding-top: 0.25rem;
}

.social-links {
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  color: var(--green);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: rgba(0, 100, 0, 0.08);
  border-color: rgba(0, 100, 0, 0.22);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.partners-marquee {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: max-content;
  padding: 0.85rem;
  animation: partners-scroll 22s linear infinite;
}

.partners-track span {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #edf7ec;
  color: #205320;
  font-weight: 700;
  white-space: nowrap;
}

@keyframes partners-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

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

.gallery-grid figure {
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.gallery-grid figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.8rem;
  color: var(--white);
  font-size: 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65));
}

.gallery-section {
  margin-bottom: 3.2rem;
}

.gallery-section-title {
  margin: 0 0 1.6rem;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 600;
  color: var(--green);
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 0.8rem;
  display: inline-block;
}

.gallery-youtube-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.gallery-youtube-intro {
  margin: 0 0 1.5rem;
  max-width: 52rem;
}

.gallery-youtube-intro a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gallery-youtube-intro a:hover {
  color: var(--yellow);
}

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

.gallery-youtube-cell {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: var(--shadow);
}

.gallery-youtube-cell iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
  vertical-align: top;
}

form {
  display: grid;
  gap: 0.85rem;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0.85rem 0.95rem;
  font: inherit;
  background: #ffffff;
}

form[name="partnership-enquiry"] input,
form[name="partnership-enquiry"] textarea,
form[name="partnership-enquiry"] select,
.application-form input,
.application-form textarea,
.application-form select {
  border: 2px solid rgba(0, 100, 0, 0.48);
  background: linear-gradient(180deg, #ffffff 0%, #f3fbef 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 100, 0, 0.05);
}

form[name="partnership-enquiry"] input::placeholder,
form[name="partnership-enquiry"] textarea::placeholder,
.application-form input::placeholder,
.application-form textarea::placeholder {
  color: #6f836f;
}

form[name="partnership-enquiry"] input:hover,
form[name="partnership-enquiry"] textarea:hover,
form[name="partnership-enquiry"] select:hover,
.application-form input:hover,
.application-form textarea:hover,
.application-form select:hover {
  border-color: rgba(0, 100, 0, 0.42);
}

form[name="partnership-enquiry"] input:focus,
form[name="partnership-enquiry"] textarea:focus,
form[name="partnership-enquiry"] select:focus,
.application-form input:focus,
.application-form textarea:focus,
.application-form select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 100, 0, 0.16);
  background: #ffffff;
}

form[name="partnership-enquiry"] textarea,
form[name="partnership-enquiry"] .form-field textarea {
  border: 2px solid var(--green);
  min-height: 160px;
}

form[name="partnership-enquiry"] .form-field:focus-within,
form[name="partnership-enquiry"] .form-field-checkbox:focus-within {
  border-color: rgba(0, 100, 0, 0.52);
  box-shadow:
    0 0 0 4px rgba(0, 100, 0, 0.08),
    0 12px 22px rgba(10, 50, 10, 0.06);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
}

.checkbox-row input {
  width: auto;
  accent-color: var(--green);
}

.contact-grid,
.project-layout {
  grid-template-columns: 1.1fr 1fr;
}

.partnership-hero-wrap {
  padding-top: 3.8rem;
}

.partnership-hero {
  align-items: stretch;
}

.partnership-intro {
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.96),
    rgba(241, 251, 236, 0.92)
  );
}

.partnership-kicker {
  margin: 0;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.82rem;
  font-weight: 800;
}

.project-highlights {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.project-highlight {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.88);
}

.project-highlight h3 {
  margin: 0;
  color: var(--green);
  font-size: 1.2rem;
}

.project-highlight p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.pricing-card {
  background: linear-gradient(
    155deg,
    rgba(0, 100, 0, 0.96),
    rgba(12, 76, 12, 0.92)
  );
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pricing-label {
  margin: 0;
  color: #ffe082;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.82rem;
}

.pricing-card h2 {
  margin: 0.35rem 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.pricing-note {
  margin: 0;
}

.pricing-return {
  margin: 0.8rem 0 1rem;
}

.apply-btn {
  width: 100%;
}

.pricing-footnote {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  opacity: 0.92;
}

.application-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.58);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.application-modal[hidden] {
  display: none;
}

.application-dialog {
  width: min(760px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 1.35rem;
  position: relative;
}

.application-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  border: 0;
  background: rgba(0, 100, 0, 0.1);
  color: var(--green);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.application-form {
  margin-top: 0.9rem;
}

.application-steps {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}

.application-step {
  border: 1px solid var(--border);
  background: #f5f9f2;
  color: #2f4d2f;
  border-radius: 10px;
  padding: 0.7rem 0.6rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
}

.application-step.is-active {
  background: rgba(0, 100, 0, 0.12);
  border-color: rgba(0, 100, 0, 0.3);
  color: var(--green);
}

.application-step-panel {
  margin-top: 0.75rem;
}

.application-step-title {
  margin: 0 0 0.7rem;
  color: var(--green);
  font-size: 1.2rem;
}

.wizard-error {
  margin: 0.65rem 0 0;
  color: #9e2a2a;
  font-weight: 700;
  min-height: 1.25rem;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.contact-form .form-field {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(0, 100, 0, 0.16);
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(247, 251, 244, 0.96)
  );
  box-shadow: 0 10px 20px rgba(10, 50, 10, 0.04);
}

.contact-form .form-field:focus-within {
  border-color: rgba(0, 100, 0, 0.34);
  box-shadow:
    0 0 0 4px rgba(0, 100, 0, 0.08),
    0 10px 20px rgba(10, 50, 10, 0.06);
}

.contact-form .form-field label {
  font-weight: 700;
  color: #264726;
  font-size: 0.92rem;
}

.contact-form .form-field-checkbox {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.contact-form .form-field-checkbox .checkbox-row {
  margin: 0;
}

.form-field label {
  font-weight: 700;
  color: #264726;
  font-size: 0.9rem;
}

.required-star {
  color: #c61f1f;
  font-weight: 800;
}

.relationship-other-wrap {
  grid-column: 1 / -1;
}

.next-of-kin-section {
  margin-top: 0.9rem;
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f9fcf6;
}

.next-of-kin-section h4 {
  margin: 0 0 0.75rem;
  color: var(--green);
  font-size: 1rem;
}

.custom-acre-wrap {
  grid-column: 1 / -1;
}

.estimated-amount {
  margin: 0.75rem 0;
  font-weight: 700;
  color: var(--green);
}

.application-summary {
  margin-top: 0.2rem;
  background: #f7fbf5;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem;
}

.application-summary p {
  margin: 0.28rem 0;
}

.payment-options {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.7rem;
}

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

.payment-buttons .btn.is-selected {
  outline: 2px solid rgba(0, 100, 0, 0.45);
  outline-offset: 2px;
}

.bank-transfer-details {
  margin-top: 0.9rem;
  padding: 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f6fbf1;
}

.bank-transfer-details p {
  margin: 0.35rem 0;
}

.application-success {
  margin-top: 0.9rem;
  padding: 0.85rem;
  border-radius: 10px;
  background: #e8f7e7;
  color: #1f4f1f;
  font-weight: 600;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1250;
  background: rgba(4, 18, 7, 0.82);
  display: grid;
  place-items: center;
  padding: 1rem;
}

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

.gallery-lightbox-dialog {
  width: min(1060px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 1rem;
  position: relative;
  background: rgba(255, 255, 255, 0.98);
}

.lightbox-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  border: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--green);
  background: rgba(0, 100, 0, 0.12);
  cursor: pointer;
}

.lightbox-title {
  margin: 0.2rem 0 0.8rem;
}

.lightbox-layout {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 0.9rem;
}

.lightbox-main-wrap {
  position: relative;
}

.lightbox-main {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #102b10;
  color: var(--white);
}

.lightbox-main img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
}

.lightbox-main figcaption {
  padding: 0.65rem 0.85rem;
  font-weight: 600;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(0, 0, 0, 0.34);
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
}

.lightbox-arrow.prev {
  left: 0.65rem;
}

.lightbox-arrow.next {
  right: 0.65rem;
}

.lightbox-side {
  display: grid;
  gap: 0.55rem;
  max-height: 70vh;
  overflow: auto;
  padding-right: 0.25rem;
}

.lightbox-thumb {
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  opacity: 0.45;
  cursor: pointer;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.lightbox-thumb img {
  width: 100%;
  height: 88px;
  object-fit: cover;
}

.lightbox-thumb.is-active {
  opacity: 1;
  transform: translateX(-2px);
  border-color: rgba(255, 193, 7, 0.58);
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: var(--white);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--green);
  font-size: 1.25rem;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-answer {
  margin-top: 0.8rem;
  color: var(--muted);
}

.map-wrap iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  border-radius: var(--radius);
}

footer {
  margin-top: 1rem;
  padding-top: 2.6rem;
  background: #0f3210;
  color: #eef8ee;
}

.footer-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.socials {
  display: flex;
  gap: 0.5rem;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
}

.footer-nav {
  display: grid;
  gap: 0.3rem;
}

.footer-nav a {
  opacity: 0.92;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-logo-img {
  width: 200px;
  height: auto;
  object-fit: contain;
  margin-bottom: 0.35rem;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.footer-social-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 193, 7, 0.16);
  border-color: rgba(255, 193, 7, 0.32);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  margin-top: 1.8rem;
  padding: 1rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.footer-credit {
  font-size: 0.95rem;
}

.footer-designer {
  color: var(--orange);
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  z-index: 1100;
  right: 1rem;
  bottom: 1rem;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 50%;
  background: #25d366;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.floating-whatsapp::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: whatsapp-pulse 2s ease-out infinite;
}

.floating-whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  background: center / 28px 28px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23ffffff' d='M19.1 17.3c-.3-.1-1.6-.8-1.9-.9-.2-.1-.4-.1-.6.1-.2.3-.7.9-.9 1.1-.2.2-.3.2-.6.1-.3-.1-1.1-.4-2.2-1.4-.8-.7-1.3-1.6-1.5-1.9-.2-.3 0-.4.1-.6.1-.1.3-.3.4-.5.1-.1.2-.3.3-.4.1-.2.1-.3 0-.5-.1-.1-.6-1.4-.8-1.9-.2-.5-.4-.4-.6-.4-.2 0-.3 0-.5 0-.2 0-.5.1-.7.3-.2.3-.9 1-.9 2.5s1 2.9 1.2 3.1c.2.2 2.1 3 5 4.2.7.3 1.2.5 1.7.6.7.2 1.3.2 1.8.1.6-.1 1.7-.7 2-1.4.2-.7.2-1.2.1-1.4-.1-.1-.3-.2-.5-.3zM16 3C8.8 3 3 8.8 3 16c0 2.9.9 5.7 2.6 8L4 29l5.2-1.6c2.2 1.2 4.7 1.8 7.2 1.8 7.2 0 13-5.8 13-13S23.2 3 16 3zm0 23.5c-1.9 0-3.7-.5-5.3-1.5l-.4-.2-4 1.2 1.3-3.9-.2-.4A10.5 10.5 0 1 1 16 26.5z'/%3E%3C/svg%3E");
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  background: #1fbf5b;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.55;
  }

  70% {
    transform: scale(1.35);
    opacity: 0;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

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

@media (max-width: 1024px) {
  .benefits,
  .cards-grid,
  .blog-grid,
  .gallery-grid,
  .gallery-youtube-grid,
  .stats-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-grid,
  .blog-hero-layout,
  .quote-card,
  .project-layout,
  .contact-grid,
  .footer-grid,
  .impact-band,
  .video-panel {
    grid-template-columns: 1fr;
  }

  .project-highlights,
  .application-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lightbox-layout {
    grid-template-columns: 1fr;
  }

  .lightbox-side {
    grid-template-columns: repeat(6, minmax(110px, 1fr));
    grid-auto-flow: column;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
  }

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

@media (max-width: 768px) {
  body.menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(9, 42, 12, 0.3);
    z-index: 1200;
    pointer-events: none;
  }

  .nav-wrap {
    gap: 0.55rem;
  }

  .menu-toggle {
    display: block !important;
  }

  .nav-wrap .btn-call {
    padding: 0.56rem 0.82rem;
    font-size: 0.82rem;
    border-radius: 10px;
    white-space: nowrap;
  }

  .brand-logo-img {
    width: 148px;
    max-height: 44px;
  }

  nav {
    position: static;
  }

  .nav-links {
    position: fixed;
    top: 94px;
    left: 0.7rem;
    right: 0.7rem;
    background: linear-gradient(
      160deg,
      rgba(9, 53, 16, 0.96),
      rgba(7, 41, 12, 0.95)
    );
    padding: 0.7rem 1rem;
    flex-direction: column;
    border: 1px solid rgba(147, 196, 125, 0.18);
    border-radius: 18px;
    box-shadow: 0 16px 32px rgba(7, 33, 9, 0.34);
    transform: translateY(-6px) scale(0.98);
    transform-origin: top center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease;
    z-index: 1300;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(182, 225, 160, 0.16);
  }

  .nav-links li:last-child {
    border-bottom: 0;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.95rem 0.2rem;
    color: #f5f9f5;
    border-radius: 0;
    font-size: 0.98rem;
    letter-spacing: 0.2px;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: transparent;
    color: #ffc107;
  }

  .nav-links.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-controls {
    bottom: 1rem;
  }

  .hero-controls [data-hero-prev],
  .hero-controls [data-hero-next] {
    width: 40px;
    height: 40px;
  }

  /* Form styles: contact and application forms */
  .contact-form,
  .application-form {
    display: grid;
    gap: 0.85rem;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form input[type="file"],
  .contact-form select,
  .contact-form textarea,
  .application-form input[type="text"],
  .application-form input[type="email"],
  .application-form input[type="tel"],
  .application-form select,
  .application-form textarea,
  .application-form input[type="file"] {
    width: 100%;
    padding: 0.78rem 0.9rem;
    border: 2px solid rgba(0, 100, 0, 0.48);
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f3fbef 100%);
    color: var(--text);
    font-size: 0.98rem;
    outline: none;
    transition:
      box-shadow 0.18s ease,
      border-color 0.18s ease,
      transform 0.08s ease;
  }

  .contact-form input::placeholder,
  .contact-form textarea::placeholder,
  .application-form input::placeholder,
  .application-form textarea::placeholder {
    color: #6f836f;
  }

  .contact-form input:hover,
  .contact-form textarea:hover,
  .contact-form select:hover,
  .application-form input:hover,
  .application-form textarea:hover,
  .application-form select:hover {
    border-color: rgba(0, 100, 0, 0.42);
  }

  .contact-form input:focus,
  .contact-form textarea:focus,
  .contact-form select:focus,
  .application-form input:focus,
  .application-form textarea:focus,
  .application-form select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(0, 100, 0, 0.16);
    background: #ffffff;
  }

  .contact-form textarea,
  .application-form textarea {
    border: 2px solid var(--green);
    min-height: 160px;
  }

  .contact-form textarea,
  .application-form textarea {
    min-height: 110px;
    resize: vertical;
  }

  .checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    color: var(--muted);
  }

  .form-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-start;
    align-items: center;
  }

  .contact-form .btn,
  .application-form .btn {
    padding: 0.7rem 1.05rem;
    border-radius: 10px;
    font-weight: 800;
  }

  .application-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
  }

  /* file input: simple label style */
  input[type="file"] {
    padding: 0.4rem 0.6rem;
  }

  /* small helper text */
  .form-note {
    font-size: 0.92rem;
    color: var(--muted);
  }

  @media (max-width: 620px) {
    .application-grid {
      grid-template-columns: 1fr;
    }
  }

  .benefits,
  .cards-grid,
  .blog-grid,
  .stats-grid,
  .mission-grid,
  .gallery-grid,
  .gallery-youtube-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid figure {
    aspect-ratio: auto;
  }

  .project-highlights,
  .application-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-arrow {
    width: 38px;
    height: 38px;
  }

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

  .impact-stats {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    right: 0.7rem;
    bottom: 0.75rem;
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 430px) {
  .brand-logo-img {
    width: 130px;
    max-height: 40px;
  }

  .footer-logo-img {
    width: 170px;
  }

  .floating-whatsapp {
    width: 46px;
    height: 46px;
  }
}

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

  .nav-wrap .btn-call {
    display: none !important;
  }

  nav {
    position: static !important;
  }

  /* Keep nav visible when open; otherwise allow the main fixed-position nav rules
     earlier in the file to manage visibility. */
  .nav-links {
    /* no forced visibility/opacity here */
  }

  .nav-links:not(.open) {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .nav-links.open {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

/* Afolink Properties redesign overrides */
:root {
  --af-ink: #102235;
  --af-navy: #1b3556;
  --af-navy-strong: #10243d;
  --af-sand: #c59d65;
  --af-gold: #d8b36d;
  --af-panel: rgba(255, 255, 255, 0.84);
  --af-line: rgba(16, 34, 53, 0.12);
  --af-shadow: 0 22px 50px rgba(13, 28, 44, 0.12);
  --af-shadow-soft: 0 12px 24px rgba(13, 28, 44, 0.08);
  --af-radius-xl: 28px;
  --af-radius-lg: 22px;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--af-ink);
  line-height: 1.6;
  background:
    radial-gradient(
      circle at top left,
      rgba(216, 179, 109, 0.18),
      transparent 34%
    ),
    radial-gradient(circle at 80% 20%, rgba(27, 53, 86, 0.16), transparent 26%),
    linear-gradient(160deg, #f5efe5 0%, #fbfbfd 40%, #eef3f8 100%);
}

body::before {
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(16, 34, 53, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 34, 53, 0.03) 1px, transparent 1px);
  background-size: 84px 84px;
}

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

.section {
  padding: 4.8rem 0;
}

.section-title,
.hero-title,
.eyebrow,
.page-title,
.section-kicker {
  font-family: "Cormorant Garamond", serif;
}

.section-title {
  font-size: clamp(2.1rem, 3vw, 3.6rem);
  line-height: 0.95;
  margin: 0;
}

.section-subtitle {
  margin: 0.9rem 0 0;
  max-width: 760px;
  color: #5f6f7e;
  font-size: 1.03rem;
}

.section-kicker {
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--af-sand);
  font-weight: 700;
  font-size: 0.9rem;
}

.site-chrome {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
}

.top-strip {
  background: linear-gradient(90deg, var(--af-navy-strong), var(--af-navy));
  color: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
}

.top-strip-inner {
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0;
  flex-wrap: nowrap;
}

.top-strip p {
  margin: 0;
  font-size: 0.92rem;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-strip-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.top-strip-actions a {
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.site-header {
  background: rgba(251, 248, 241, 0.86);
  border-bottom: 1px solid rgba(16, 34, 53, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-logo-img {
  width: 188px;
  max-height: 56px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 0.92rem;
  border-radius: 999px;
  color: var(--af-ink);
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(27, 53, 86, 0.08);
  color: var(--af-navy);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(16, 34, 53, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: var(--af-navy);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: var(--af-shadow-soft);
}

.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-call,
.whatsapp-link,
.floating-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.92rem 1.35rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover,
.btn-call:hover,
.whatsapp-link:hover,
.floating-whatsapp:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--af-navy), #284d7b);
  color: #fff;
  box-shadow: 0 16px 30px rgba(27, 53, 86, 0.22);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--af-sand), var(--af-gold));
  color: #1d160b;
  box-shadow: 0 16px 30px rgba(197, 157, 101, 0.22);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.72);
  color: var(--af-navy);
  border: 1px solid rgba(27, 53, 86, 0.16);
}

.btn-call,
.whatsapp-link,
.floating-whatsapp {
  background: linear-gradient(135deg, #1f9d60, #29c36a);
  color: #fff;
  box-shadow: 0 16px 28px rgba(31, 157, 96, 0.24);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero {
  padding: 5.5rem 0 4rem;
}

.hero-grid,
.page-hero-grid,
.feature-grid,
.property-grid,
.contact-grid,
.about-grid,
.services-grid,
.stats-grid,
.benefits-grid,
.why-grid,
.office-grid {
  display: grid;
  gap: 1.2rem;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(16, 34, 53, 0.08);
  color: var(--af-sand);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title,
.page-title {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.9;
  color: var(--af-navy-strong);
  text-wrap: balance;
}

.hero-copy p,
.page-hero p {
  max-width: 62ch;
  margin: 1.1rem 0 0;
  color: #5f6f7e;
  font-size: 1.06rem;
}

.hero-actions,
.card-actions,
.section-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-actions {
  margin-top: 1.5rem;
}

.hero-panel {
  padding: 1.25rem;
  border-radius: var(--af-radius-xl);
  background: linear-gradient(
    180deg,
    rgba(27, 53, 86, 0.96),
    rgba(16, 34, 53, 0.98)
  );
  color: rgba(255, 255, 255, 0.94);
  box-shadow: var(--af-shadow);
  position: relative;
  overflow: hidden;
}

.hero-carousel {
  min-height: 100%;
}

.hero-carousel__viewport {
  position: relative;
  min-height: 640px;
  padding-bottom: 4.5rem;
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1rem;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.hero-carousel__slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-carousel__media {
  min-height: 410px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    rgba(255, 193, 7, 0.16),
    rgba(0, 100, 0, 0.26)
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

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

.hero-carousel__media--portrait img {
  object-position: center top;
}

.hero-carousel__media--statcard {
  display: grid;
  place-items: center;
  gap: 0.35rem;
  padding: 2rem;
  text-align: center;
  color: var(--white);
}

.hero-carousel__media--statcard strong {
  font-size: clamp(3.2rem, 9vw, 5.4rem);
  line-height: 0.9;
  color: var(--yellow);
}

.hero-carousel__media--statcard span {
  max-width: 18ch;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-carousel__content {
  display: grid;
  gap: 0.75rem;
}

.hero-carousel__content h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.3vw, 2.4rem);
  line-height: 1.05;
  color: #fff;
}

.hero-carousel__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.hero-carousel__meta {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.hero-carousel__controls {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  z-index: 2;
}

.hero-carousel__controls button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(7, 32, 9, 0.45);
  color: var(--white);
  font-size: 1.55rem;
  display: inline-grid;
  place-items: center;
}

.hero-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex: 1;
}

.hero-carousel__dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.38);
}

.hero-carousel__dots button.is-active {
  background: var(--yellow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -18% -28% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(216, 179, 109, 0.5),
    transparent 72%
  );
}

.hero-panel h2,
.panel h2,
.panel h3,
.property-content h3,
.service-card h3 {
  margin: 0;
}

.info-pill,
.tag,
.status-pill,
.value-pill,
.property-chip,
.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.35rem 0.72rem;
  font-size: 0.86rem;
  font-weight: 800;
}

.info-pill {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

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

.stat-card,
.benefit-card,
.why-card,
.feature-card,
.service-card,
.detail-card,
.property-card,
.contact-card,
.panel,
.section-card {
  border-radius: var(--af-radius-lg);
  border: 1px solid var(--af-line);
  box-shadow: var(--af-shadow-soft);
  background: var(--af-panel);
}

.stat-card,
.benefit-card,
.why-card,
.feature-card,
.service-card,
.contact-card,
.detail-card,
.panel,
.section-card {
  padding: 1.25rem;
}

.stat-card strong {
  display: block;
  font-size: 1.7rem;
  margin-bottom: 0.2rem;
  color: var(--af-navy-strong);
}

.stat-card span,
.muted,
.property-meta,
.service-card p,
.detail-card p,
.contact-card p,
.why-card p,
.panel p {
  color: #5f6f7e;
}

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

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

.feature-card,
.service-card,
.why-card {
  position: relative;
  overflow: hidden;
}

.feature-card::after,
.service-card::after,
.property-card::after {
  content: "";
  position: absolute;
  inset: auto -14% -38% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(216, 179, 109, 0.22),
    transparent 72%
  );
  pointer-events: none;
}

.feature-card .icon,
.service-card .icon,
.why-card .icon,
.detail-icon {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(27, 53, 86, 0.12),
    rgba(216, 179, 109, 0.18)
  );
  color: var(--af-navy);
  margin-bottom: 0.95rem;
}

.feature-card .icon svg,
.service-card .icon svg,
.why-card .icon svg,
.detail-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.list-clean {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-clean li + li {
  margin-top: 0.65rem;
}

.callout-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-radius: var(--af-radius-lg);
  background: linear-gradient(
    135deg,
    rgba(27, 53, 86, 0.96),
    rgba(16, 34, 53, 0.98)
  );
  color: #fff;
  box-shadow: var(--af-shadow);
}

.property-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.4rem 0 0;
}

.filter-pill,
.property-chip {
  background: rgba(27, 53, 86, 0.08);
  color: var(--af-navy);
}

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

.property-card {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  overflow: hidden;
}

.property-media {
  min-height: 100%;
  background: #0d1d31;
}

.property-media-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  height: 100%;
}

.property-media-frame iframe,
.property-media-frame img,
.property-media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.property-content {
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.property-meta,
.property-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.price {
  font-size: 1.42rem;
  font-weight: 800;
  color: var(--af-navy-strong);
}

.contact-grid,
.about-grid,
.page-hero-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(16, 34, 53, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--af-ink);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid rgba(27, 53, 86, 0.22);
  border-color: rgba(27, 53, 86, 0.34);
}

.map-box,
.video-box,
.hero-image,
.about-portrait {
  border-radius: var(--af-radius-lg);
  overflow: hidden;
  box-shadow: var(--af-shadow-soft);
  border: 1px solid var(--af-line);
}

.map-box iframe,
.video-box iframe,
.video-box video,
.hero-image img,
.about-portrait img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.about-portrait {
  aspect-ratio: 4 / 5;
}

.site-footer {
  margin-top: 0;
  padding: 3.2rem 0 1rem;
  background: linear-gradient(180deg, #11243b, #0a1625);
  color: rgba(255, 255, 255, 0.88);
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1.4rem;
}

.site-footer .brand,
.site-footer .footer-nav a,
.site-footer .footer-credit,
.site-footer p,
.site-footer h4 {
  color: inherit;
}

.footer-logo-img {
  width: 188px;
  object-fit: contain;
}

.footer-nav {
  display: grid;
  gap: 0.55rem;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.footer-social-link {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.8rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

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

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 35;
  padding: 0.95rem 1.1rem;
  border-radius: 999px;
}

.page-hero {
  padding: 4.8rem 0 2rem;
}

.page-hero p {
  margin-top: 1.1rem;
}

.quote-card {
  padding: 1.2rem;
  border-radius: var(--af-radius-lg);
  background: linear-gradient(
    135deg,
    rgba(27, 53, 86, 0.96),
    rgba(17, 36, 59, 0.98)
  );
  color: rgba(255, 255, 255, 0.94);
}

.quote-card p {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero-grid,
  .contact-grid,
  .about-grid,
  .property-card,
  .site-footer .footer-grid,
  .feature-grid,
  .services-grid,
  .why-grid,
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-grid,
  .services-grid,
  .why-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.2rem, 1180px);
  }

  .top-strip-inner {
    gap: 0.55rem;
  }

  .top-strip-actions {
    width: 100%;
  }

  .top-strip-actions a {
    flex: 1 1 auto;
    text-align: center;
  }

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

  .hero-actions,
  .card-actions,
  .section-actions,
  .form-actions {
    flex-direction: column;
  }

  .hero-carousel__controls {
    position: static;
    margin-top: 0.9rem;
  }

  .hero-carousel__viewport {
    min-height: 0;
  }

  .hero-carousel__slide {
    position: relative;
  }

  .hero-carousel__media {
    min-height: 280px;
  }

  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-outline,
  .btn-call,
  .whatsapp-link {
    width: 100%;
  }

  .floating-whatsapp {
    left: 0.7rem;
    right: 0.7rem;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .callout-strip {
    align-items: flex-start;
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }

  .site-header nav {
    display: block !important;
    position: relative !important;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    overflow: visible !important;
  }
}

/* Afolink final polish: restrained contact typography and warm orange accents. */
:root {
  --af-orange: #f28c28;
  --af-orange-dark: #c76512;
  --af-orange-soft: rgba(242, 140, 40, 0.14);
}

.section-kicker,
.eyebrow {
  color: var(--af-orange);
}

.site-header {
  border-bottom-color: rgba(242, 140, 40, 0.2);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--af-orange-soft);
  color: var(--af-orange-dark);
}

.btn-primary {
  background: linear-gradient(135deg, var(--af-orange), var(--af-orange-dark));
  color: #fff;
  box-shadow: 0 16px 30px rgba(242, 140, 40, 0.24);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--af-navy), #284d7b);
  color: #fff;
  box-shadow: 0 16px 30px rgba(27, 53, 86, 0.2);
}

.btn-outline:hover {
  border-color: rgba(242, 140, 40, 0.42);
  color: var(--af-orange-dark);
  box-shadow: 0 12px 24px rgba(242, 140, 40, 0.12);
}

.hero-badge,
.badge.hero-badge {
  border-color: rgba(242, 140, 40, 0.42);
  background: rgba(242, 140, 40, 0.16);
}

.hero-controls button:hover,
.hero-dots button.is-active,
.hero-carousel__dots button.is-active {
  background: var(--af-orange);
}

.feature-card .icon,
.service-card .icon,
.why-card .icon,
.detail-icon {
  background: linear-gradient(
    135deg,
    rgba(242, 140, 40, 0.14),
    rgba(216, 179, 109, 0.2)
  );
  color: var(--af-orange-dark);
}

.price,
.stat-card strong,
.contact-card h3 {
  color: var(--af-orange-dark);
}

.callout-strip {
  background: linear-gradient(135deg, var(--af-navy-strong), var(--af-orange-dark));
}

.top-strip-social-link:hover,
.footer-social-link:hover {
  background: var(--af-orange);
  border-color: rgba(242, 140, 40, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline-color: rgba(242, 140, 40, 0.26);
  border-color: rgba(242, 140, 40, 0.55);
}

.contact-page .page-hero {
  padding: 3.6rem 0 1.4rem;
}

.contact-page .page-title {
  font-size: clamp(1.9rem, 2.4vw, 3rem);
  line-height: 1.15;
}

.contact-page .page-hero p {
  font-size: 1rem;
}

.contact-page .quote-card .section-title,
.contact-page .panel .section-title {
  font-size: clamp(1.45rem, 2vw, 2.25rem);
  line-height: 1.12;
}

.contact-page .quote-card p,
.contact-page .contact-card p,
.contact-page .panel p {
  font-size: 0.98rem;
}

.contact-page .contact-card h3 {
  font-size: 1.08rem;
  margin: 0 0 0.25rem;
}

.contact-page .contact-form input,
.contact-page .contact-form textarea,
.contact-page .contact-form select {
  font-size: 0.98rem;
}
