/* ============================================================
   PESTGATE SERVICES — Design System
   Palette:  --pg-black #10140F  --pg-ink #12160D  --pg-forest #25411A
             --pg-green #427530  --pg-green-light #5C9A45 --pg-lime #A8D948
             --pg-white #FFFFFF  --pg-mist #F4F7EE  --pg-mist-2 #E8EEDC
   Type:     Display  — 'Space Grotesk'
             Body     — 'Inter'
             Mono/eyebrow — 'JetBrains Mono'
   Signature: "The Perimeter" — a dashed boundary line with a
   travelling scan-dot, used on the hero frame and on hover states,
   nodding to Pestgate's job: watching and holding a line pests don't cross.
   ============================================================ */

:root {
  --pg-black: #10140F;
  --pg-ink: #12160D;
  --pg-forest: #25411A;
  --pg-green: #427530;
  --pg-green-light: #5C9A45;
  --pg-lime: #A8D948;
  --pg-white: #FFFFFF;
  --pg-mist: #F4F7EE;
  --pg-mist-2: #E8EEDC;
  --pg-line: rgba(16, 20, 15, 0.12);
  --pg-line-inv: rgba(255, 255, 255, 0.14);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.22, .68, .32, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--pg-white);
  color: var(--pg-ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 104px 0;
}

.section--tight {
  padding: 72px 0;
}

@media (max-width:768px) {
  .section {
    padding: 64px 0;
  }

  .section--tight {
    padding: 48px 0;
  }

  .container {
    padding: 0 20px;
  }
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pg-green);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pg-lime);
  box-shadow: 0 0 0 4px rgba(168, 217, 72, 0.22);
}

.eyebrow--inv {
  color: var(--pg-lime);
}

.h-xl {
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  font-weight: 600;
}

.h-lg {
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  font-weight: 600;
}

.h-md {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 600;
}

.body-lg {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #3c4638;
}

.body-md {
  font-size: 1rem;
  line-height: 1.7;
  color: #4a5442;
}

.on-dark .body-lg,
.on-dark .body-md {
  color: rgba(244, 247, 238, 0.78);
}

.on-dark {
  color: var(--pg-white);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--pg-lime);
  color: var(--pg-black);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(168, 217, 72, 0.55);
}

.btn-outline {
  background: transparent;
  border-color: var(--pg-line);
  color: var(--pg-ink);
}

.btn-outline:hover {
  border-color: var(--pg-green);
  background: rgba(66, 117, 48, 0.06);
  transform: translateY(-2px);
}

.btn-outline-inv {
  background: transparent;
  border-color: var(--pg-line-inv);
  color: var(--pg-white);
}

.btn-outline-inv:hover {
  border-color: var(--pg-lime);
  background: rgba(168, 217, 72, 0.08);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--pg-ink);
  color: var(--pg-white);
}

.btn-dark:hover {
  transform: translateY(-2px);
  background: var(--pg-forest);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(16, 20, 15, 0.0);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(16, 20, 15, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--pg-line-inv);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.8)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
  transition: transform .3s var(--ease), filter .3s var(--ease);
}

.brand:hover img {
  transform: scale(1.06);
  filter: drop-shadow(0 0 2.5px rgba(168, 217, 72, 0.9)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--pg-white);
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.brand-word span {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--pg-lime);
  margin-top: 2px;
}

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

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  padding: 4px 0;
  transition: color .3s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1.5px;
  background: var(--pg-lime);
  transition: width .3s var(--ease);
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--pg-line-inv);
  color: #fff;
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}

.icon-btn:hover {
  border-color: var(--pg-lime);
  background: rgba(168, 217, 72, 0.1);
  transform: translateY(-2px);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--pg-line-inv);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 18px;
  height: 1.5px;
  background: #fff;
  display: block;
  transition: transform .3s ease, opacity .3s ease;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--pg-black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 32px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}

.mobile-nav.is-open {
  transform: translateY(0);
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  padding: 14px 0;
  border-bottom: 1px solid var(--pg-line-inv);
}

.mobile-nav .mobile-cta {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width:960px) {
  .main-nav {
    display: none;
  }

  .header-cta .btn-outline-inv {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--pg-black);
  color: var(--pg-white);
  padding: 172px 0 120px;
  overflow: hidden;
  isolation: isolate;
}

.hero-sweep {
  position: absolute;
  inset: -20% -10%;
  z-index: -2;
  background:
    radial-gradient(45% 60% at 78% 18%, rgba(66, 117, 48, 0.55), transparent 65%),
    radial-gradient(38% 50% at 15% 82%, rgba(168, 217, 72, 0.16), transparent 70%);
  animation: sweepDrift 22s ease-in-out infinite alternate;
}

@keyframes sweepDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-2%, 2%) scale(1.06);
  }
}

.hero-grid-tex {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent 80%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pg-lime);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 8px 14px;
  border: 1px solid var(--pg-line-inv);
  border-radius: 100px;
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pg-lime);
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(168, 217, 72, 0.5);
  }

  50% {
    opacity: 0.6;
    box-shadow: 0 0 0 6px rgba(168, 217, 72, 0);
  }
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.hero h1 em {
  font-style: normal;
  color: var(--pg-lime);
}

.hero-sub {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 560px;
}

.hero-copy {
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.perimeter-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--pg-line-inv);
  background: linear-gradient(160deg, rgba(66, 117, 48, 0.35), rgba(16, 20, 15, 0.6));
  padding: 2px;
}

.perimeter-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, var(--pg-lime) 78%, transparent 86%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotatePerimeter 6s linear infinite;
  pointer-events: none;
}

@keyframes rotatePerimeter {
  to {
    --ang: 360deg;
  }
}

@property --ang {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.perimeter-frame .art-wrap {
  border-radius: calc(var(--radius-lg) - 2px);
  overflow: hidden;
  background: var(--pg-forest);
}

.stat-row {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-row .stat {
  border-left: 1.5px solid var(--pg-line-inv);
  padding-left: 14px;
}

.stat-row .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
}

.stat-row .stat span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width:960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 140px 0 80px;
  }
}

/* ---------- Trust / stat cards ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.trust-card {
  background: var(--pg-mist);
  border: 1px solid var(--pg-line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s ease;
}

.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -20px rgba(16, 20, 15, 0.18);
  border-color: var(--pg-green);
}

.trust-card .ic {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  color: var(--pg-green);
}

.trust-card h4 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.trust-card p {
  font-size: 0.92rem;
  color: #5c6654;
  line-height: 1.55;
}

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

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

/* ---------- Section headers ---------- */
.section-head {
  max-width: 660px;
}

.section-head.center {
  margin: 0 auto;
  text-align: center;
}

.section-head.split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: none;
  gap: 30px;
}

@media (max-width:768px) {
  .section-head.split {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Service cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}

.service-card {
  position: relative;
  background: var(--pg-white);
  border: 1px solid var(--pg-line);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .4s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--pg-lime), transparent 40%);
  opacity: 0;
  transition: opacity .4s ease;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 50px -24px rgba(16, 20, 15, 0.22);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card .ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--pg-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pg-green);
  margin-bottom: 22px;
  transition: background .4s ease, transform .4s var(--ease);
}

.service-card:hover .ic {
  background: var(--pg-green);
  color: #fff;
  transform: scale(1.08) rotate(-4deg);
}

.service-card .ic svg {
  width: 26px;
  height: 26px;
}

.service-card h4 {
  font-size: 1.14rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.93rem;
  color: #5c6654;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--pg-forest);
}

.card-link svg {
  width: 14px;
  height: 14px;
  transition: transform .3s var(--ease);
}

.service-card:hover .card-link svg {
  transform: translateX(4px);
}

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

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

/* ---------- Dark section ---------- */
.section-dark {
  background: var(--pg-black);
  color: var(--pg-white);
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 85% 0%, rgba(66, 117, 48, 0.4), transparent 60%);
  pointer-events: none;
}

/* ---------- Why choose cards ---------- */
.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 50px;
}

.check-card {
  border: 1px solid var(--pg-line-inv);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.02);
  transition: background .35s ease, border-color .35s ease, transform .35s var(--ease);
}

.check-card:hover {
  background: rgba(168, 217, 72, 0.06);
  border-color: var(--pg-lime);
  transform: translateY(-4px);
}

.check-card .tick {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--pg-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pg-black);
}

.check-card .tick svg {
  width: 15px;
  height: 15px;
}

.check-card span {
  font-weight: 600;
  font-size: 0.98rem;
  padding-top: 5px;
}

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

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

/* ---------- Industries ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.industry-card {
  border-radius: var(--radius-md);
  padding: 28px 24px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(160deg, var(--pg-mist), var(--pg-mist-2));
  border: 1px solid var(--pg-line);
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px -22px rgba(16, 20, 15, 0.2);
}

.industry-card .num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--pg-green);
  opacity: 0.7;
}

.industry-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.industry-card p {
  font-size: 0.88rem;
  color: #5c6654;
}

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

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

/* ---------- Process timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--pg-line) 0 8px, transparent 8px 16px);
}

.tl-step {
  padding: 0 20px 0 0;
  position: relative;
}

.tl-step .tl-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pg-white);
  border: 1.5px solid var(--pg-green);
  color: var(--pg-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.tl-step h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.tl-step p {
  font-size: 0.9rem;
  color: #5c6654;
  line-height: 1.55;
}

@media (max-width:900px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 19px;
    right: auto;
    width: 1.5px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--pg-line) 0 8px, transparent 8px 16px);
  }

  .tl-step {
    padding-left: 56px;
  }

  .tl-step .tl-dot {
    position: absolute;
    left: 0;
    top: 0;
    margin-bottom: 0;
  }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--pg-lime);
  border-radius: var(--radius-lg);
  padding: 60px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

.cta-band h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--pg-black);
  max-width: 520px;
}

.cta-band .btn-dark:hover {
  background: #000;
}

@media (max-width:768px) {
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 30px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--pg-black);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--pg-line-inv);
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.95rem;
  color: var(--pg-lime);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  max-width: 280px;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 13px;
}

.footer-col a {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color .3s ease;
}

.footer-col a:hover {
  color: var(--pg-lime);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width:860px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

/* ---------- Floating actions (mobile sticky + whatsapp) ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.6);
  transition: transform .3s var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

@media (min-width:769px) {
  .whatsapp-float {
    bottom: 32px;
  }
}

.mobile-stickybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--pg-black);
  border-top: 1px solid var(--pg-line-inv);
  padding: 10px 6px calc(10px + env(safe-area-inset-bottom));
}

.mobile-stickybar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 0;
}

.mobile-stickybar a svg {
  width: 20px;
  height: 20px;
}

.mobile-stickybar a:nth-child(1) svg {
  color: var(--pg-lime);
}

.mobile-stickybar a:nth-child(2) svg {
  color: #25D366;
}

@media (max-width:768px) {
  .mobile-stickybar {
    display: grid;
  }

  .whatsapp-float {
    display: none;
  }

  body {
    padding-bottom: 64px;
  }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--pg-black);
  color: #fff;
  padding: 158px 0 76px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 70% at 90% 10%, rgba(66, 117, 48, 0.45), transparent 65%);
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  position: relative;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--pg-lime);
}

.page-hero h1 {
  position: relative;
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
}

.page-hero .body-lg {
  position: relative;
  margin-top: 18px;
  max-width: 640px;
}

/* ---------- Split content blocks ---------- */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-block.rev {
  grid-template-columns: 1fr 1fr;
}

.split-block.rev .split-media {
  order: 2;
}

@media (max-width:900px) {

  .split-block,
  .split-block.rev {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .split-block.rev .split-media {
    order: 0;
  }
}

.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3.4;
  background: linear-gradient(160deg, var(--pg-forest), var(--pg-black));
}

.pill-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 26px;
}

.pill-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 500;
}

.pill-list .tick-sm {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--pg-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pill-list .tick-sm svg {
  width: 12px;
  height: 12px;
}

/* ---------- Mission / vision ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 52px;
}

.mv-card {
  border-radius: var(--radius-md);
  padding: 38px 34px;
}

.mv-card.mission {
  background: var(--pg-mist);
  border: 1px solid var(--pg-line);
}

.mv-card.vision {
  background: var(--pg-ink);
  color: #fff;
}

.mv-card .ic {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--pg-green);
}

.mv-card.vision .ic {
  color: var(--pg-lime);
}

.mv-card h4 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.mv-card p {
  font-size: 1rem;
  line-height: 1.7;
}

.mv-card.mission p {
  color: #4a5442;
}

.mv-card.vision p {
  color: rgba(255, 255, 255, 0.75);
}

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

/* ---------- Service detail cards (services.html) ---------- */
.svc-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  border: 1px solid var(--pg-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 26px;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}

.svc-detail:hover {
  box-shadow: 0 30px 60px -30px rgba(16, 20, 15, 0.25);
}

.svc-detail .svc-media {
  background: radial-gradient(circle at center, rgba(66, 117, 48, 0.4) 0%, rgba(16, 20, 15, 0.95) 70%), linear-gradient(155deg, var(--pg-forest), var(--pg-black));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  position: relative;
  overflow: hidden;
  min-height: 160px;
}

.svc-detail .svc-media svg {
  width: 96px;
  height: 96px;
  color: var(--pg-lime);
  opacity: 0.92;
  position: relative;
  z-index: 1;
}

.svc-badge-img {
  width: 210px;
  height: 210px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(168, 217, 72, 0.5);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.7), 0 0 28px rgba(168, 217, 72, 0.22);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  position: relative;
  z-index: 2;
  display: block;
}

.svc-detail:hover .svc-badge-img {
  transform: scale(1.06) rotate(1.5deg);
  border-color: var(--pg-lime);
  box-shadow: 0 22px 45px -8px rgba(0, 0, 0, 0.85), 0 0 40px rgba(168, 217, 72, 0.45);
}

.svc-detail .svc-body {
  padding: 38px 40px;
}

.svc-detail h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.svc-detail .svc-meta {
  display: flex;
  gap: 26px;
  margin: 20px 0 22px;
  flex-wrap: wrap;
}

.svc-detail .svc-meta div {
  font-size: 0.85rem;
}

.svc-detail .svc-meta b {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pg-green);
  margin-bottom: 5px;
}

.svc-detail .svc-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

@media (max-width:800px) {
  .svc-detail {
    grid-template-columns: 1fr;
  }

  .svc-detail .svc-media {
    padding: 26px;
    min-height: 200px;
  }

  .svc-detail .svc-media svg {
    width: 64px;
    height: 64px;
  }

  .svc-badge-img {
    width: 150px;
    height: 150px;
  }
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

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

.contact-card {
  background: var(--pg-mist);
  border: 1px solid var(--pg-line);
  border-radius: var(--radius-md);
  padding: 26px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -22px rgba(16, 20, 15, 0.2);
}

.contact-card .ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--pg-green);
  color: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card .ic svg {
  width: 22px;
  height: 22px;
}

.contact-card h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pg-green);
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.form-wrap {
  background: var(--pg-white);
  border: 1px solid var(--pg-line);
  border-radius: var(--radius-lg);
  padding: 42px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 9px;
  color: #3c4638;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--pg-line);
  font-family: var(--font-body);
  font-size: 0.96rem;
  background: var(--pg-mist);
  color: var(--pg-ink);
  transition: border-color .3s ease, background .3s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pg-green);
  background: #fff;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  font-size: 0.82rem;
  color: #7b8471;
  margin-top: 16px;
}

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

  .form-wrap {
    padding: 28px 22px;
  }
}

.map-wrap {
  margin-top: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--pg-line);
  position: relative;
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.02);
}

.map-card {
  position: absolute;
  top: 24px;
  left: 24px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: 0 20px 50px -20px rgba(16, 20, 15, 0.35);
  max-width: 270px;
}

.map-card h5 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.map-card p {
  font-size: 0.85rem;
  color: #5c6654;
  line-height: 1.5;
  margin-bottom: 14px;
}

@media (max-width:640px) {
  .map-card {
    position: static;
    max-width: none;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid var(--pg-line);
  }
}

/* ---------- Reveal on scroll ----------
   Progressive enhancement: content is visible by default so it never
   depends on JS to be seen. Only once script.js confirms it's running
   (body.js-reveal) do elements start hidden, ready to animate in. */
.reveal,
.reveal-stagger>* {
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

body.js-reveal .reveal {
  opacity: 0;
  transform: translateY(26px);
}

body.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.js-reveal .reveal-stagger>* {
  opacity: 0;
  transform: translateY(22px);
}

body.js-reveal .reveal-stagger.is-visible>* {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible>*:nth-child(1) {
  transition-delay: 0.02s;
}

.reveal-stagger.is-visible>*:nth-child(2) {
  transition-delay: 0.09s;
}

.reveal-stagger.is-visible>*:nth-child(3) {
  transition-delay: 0.16s;
}

.reveal-stagger.is-visible>*:nth-child(4) {
  transition-delay: 0.23s;
}

.reveal-stagger.is-visible>*:nth-child(5) {
  transition-delay: 0.30s;
}

.reveal-stagger.is-visible>*:nth-child(6) {
  transition-delay: 0.37s;
}

/* ---------- Misc ---------- */
.divider {
  height: 1px;
  background: var(--pg-line);
  width: 100%;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--pg-mist);
  border: 1px solid var(--pg-line);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pg-forest);
}

.svc-image {
  width: 210px;
  height: 210px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(168, 217, 72, 0.5);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.7), 0 0 28px rgba(168, 217, 72, 0.22);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  position: relative;
  z-index: 2;
  display: block;
}