:root {
  --green: #167447;
  --deep: #103d2c;
  --lime: #b8dc63;
  --ink: #17251e;
  --muted: #4b5c52;
  --cream: #f5f8f2;
  --white: #ffffff;
  --line: #dbe5dd;
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --danger-line: #fecdca;
  --success: #067647;
  --success-bg: #ecfdf3;
  --success-line: #abefc6;
  --shadow: 0 16px 45px rgba(16, 61, 44, 0.1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: clip;
}

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

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

:focus-visible {
  outline: 3px solid #167447;
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--deep);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(1160px, 92%);
  margin-inline: auto;
}

/* Top announcement bar */
.top-bar {
  background: var(--deep);
  color: #ebf6ee;
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Sticky Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 0;
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  padding: 6px 2px;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 19px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover:not(:disabled) {
  background: var(--deep);
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn.outline {
  background: transparent;
  color: var(--green);
  border-color: #8eb99d;
}

.btn.outline:hover:not(:disabled) {
  background: #edf6f0;
  color: var(--deep);
}

.btn.outline-light {
  background: transparent;
  color: var(--white);
  border-color: #d4e7d8;
}

.btn.outline-light:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.14);
}

.btn.light {
  background: var(--white);
  color: var(--deep);
}

.btn.light:hover:not(:disabled) {
  background: #eaf5ed;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--white);
  color: var(--deep);
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded='true'] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded='true'] .icon-close {
  display: block;
}

/* Section offsets for sticky header */
section[id],
main[id] {
  scroll-margin-top: 96px;
}

section {
  padding: 80px 0;
}

/* Hero */
.hero {
  background: linear-gradient(120deg, #0b2d20 0%, #103d2c 52%, #175c3c 100%);
  color: var(--white);
  padding: 88px 0 82px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 44px;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #d7efa0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin: 16px 0;
}

.hero h1 span {
  color: var(--lime);
}

.hero-lead {
  font-size: 1.12rem;
  color: #e4f0e8;
  max-width: 580px;
  margin: 0;
}

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

.hero-note {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #cde3d5;
  margin: 22px 0 0;
}

.hero-card {
  margin: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  padding: 14px;
}

.hero-card img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

.hero-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 6px 4px;
  font-size: 0.88rem;
}

.hero-card-foot a {
  color: #d7efa0;
  font-weight: 700;
}

/* Stats strip */
.stats {
  background: var(--cream);
  padding: 26px 0;
}

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

.stat {
  text-align: center;
  border-right: 1px solid #d5e2d7;
  padding-inline: 8px;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-size: 1.25rem;
  color: var(--green);
}

.stat span {
  font-size: 0.86rem;
  color: var(--muted);
}

/* Section Headers */
.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.kicker {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.85rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin: 10px 0 12px;
  color: var(--deep);
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

/* Products */
.products {
  background: #fbfdfb;
}

.product-tools {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

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

.filter {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 99px;
  padding: 9px 15px;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.filter.active,
.filter:hover {
  background: var(--deep);
  color: var(--white);
  border-color: var(--deep);
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search {
  padding: 10px 14px;
  border: 1px solid #c9d8cd;
  border-radius: 9px;
  min-width: 240px;
  background: var(--white);
  color: var(--ink);
}

.clear-search {
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--deep);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.results-summary {
  margin: 0 0 18px;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

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

.pcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(16, 61, 44, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.pcard[hidden] {
  display: none;
}

.pcard-media {
  position: relative;
  background: #edf5ef;
  border-bottom: 1px solid var(--line);
}

.pcard-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.asset-badge {
  display: block;
  width: 100%;
  background: #103d2c;
  color: #e6f5cc;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 16px;
}

.pcard-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tag {
  font-size: 0.72rem;
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pcard h3 {
  margin: 7px 0 8px;
  font-size: 1.14rem;
  color: var(--deep);
  line-height: 1.3;
}

.pcard p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 14px;
}

.spec-list {
  margin: 0 0 18px;
  padding: 12px;
  border-radius: 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  display: grid;
  gap: 6px;
}

.spec-list > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
}

.spec-list dt {
  color: var(--deep);
  font-weight: 700;
}

.spec-list dd {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.pcard .btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 15px;
  font-size: 0.88rem;
}

.no-results {
  padding: 36px 24px;
  text-align: center;
  background: var(--white);
  border: 1px dashed #bfd2c4;
  border-radius: 16px;
  margin-top: 18px;
}

.no-results p {
  margin: 0 0 14px;
  color: var(--muted);
}

/* About */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-media img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}

.checklist {
  display: grid;
  gap: 14px;
  margin: 24px 0 28px;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-mark {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 99px;
  background: #e6f4ea;
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.check strong {
  display: block;
  color: var(--deep);
}

.check p {
  margin: 2px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Industries & Why */
.industries {
  background: var(--cream);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.industry,
.why {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 14px;
}

.sector-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: #eaf5ed;
  color: var(--green);
}

.industry h3,
.why h3 {
  font-size: 1.02rem;
  margin: 12px 0 6px;
  color: var(--deep);
}

.industry p,
.why p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* CTA Banner */
.cta-banner {
  background: #edf5ea;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.12;
  color: var(--deep);
  margin: 10px auto 12px;
  max-width: 720px;
}

.cta-banner p {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 24px;
}

/* Contact & Enquiry Form */
.contact {
  background: #fbfdfb;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  background: var(--deep);
  color: var(--white);
  border-radius: 17px;
  padding: 30px;
}

.contact-info h3 {
  font-size: 1.45rem;
  margin-top: 0;
}

.contact-info > p {
  color: #d6e7dc;
}

.contact-item {
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.94rem;
}

.contact-label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b8dc63;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-item a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-desk-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  color: #cfe4d6;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 26px;
}

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

label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #25382c;
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #c9d8cd;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

input[aria-invalid='true'],
select[aria-invalid='true'],
textarea[aria-invalid='true'] {
  border-color: var(--danger);
  background: #fffafa;
}

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

.field-hint {
  margin: 5px 0 0;
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 600;
}

.field-error {
  margin: 5px 0 0;
  font-size: 0.82rem;
  color: var(--danger);
  font-weight: 600;
  min-height: 1em;
}

.field-error:empty {
  display: none;
}

.selected-product-banner {
  background: #edf6f0;
  border: 1px solid #b6d6bf;
  color: var(--deep);
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 600;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.form-status {
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status.success {
  background: var(--success-bg);
  border: 1px solid var(--success-line);
  color: var(--success);
}

.form-status.error {
  background: var(--danger-bg);
  border: 1px solid var(--danger-line);
  color: var(--danger);
}

.form-recovery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-recovery-actions[hidden],
.form-recovery-actions [hidden] {
  display: none !important;
}

/* Footer */
.footer {
  background: #0b2b1f;
  color: #dcebe1;
  padding: 44px 0 56px;
}

.footer-in {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand-badge {
  display: inline-block;
  background: var(--white);
  padding: 8px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.footer-logo {
  height: 44px;
  width: auto;
  display: block;
}

.footer-tagline {
  margin: 0 0 6px;
  font-weight: 600;
}

.footer small {
  color: #b4cbbd;
}

.foot-links {
  display: flex;
  gap: 20px;
  font-size: 0.92rem;
  font-weight: 600;
}

.foot-links a:hover {
  color: var(--lime);
}

.disclaimer {
  font-size: 0.78rem;
  color: #b8cebf;
  margin: 22px 0 0;
  max-width: 900px;
  line-height: 1.55;
}

/* Floating & Mobile CTAs with overlap protection */
.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 25;
  border-radius: 50px;
  box-shadow: var(--shadow);
}

.mobile-cta {
  display: none;
}

.is-cta-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(14px);
}

/* Tablet breakpoint */
@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 4% 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

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

  .nav-links a {
    padding: 10px 6px;
    border-bottom: 1px solid #eef3ef;
  }

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

  .hero {
    padding: 64px 0;
  }

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

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

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

  .stat:nth-child(2) {
    border-right: 0;
  }
}

/* Mobile breakpoint */
@media (max-width: 600px) {
  section {
    padding: 56px 0;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
    gap: 4px;
  }

  .brand-logo {
    height: 40px;
  }

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

  .field.full {
    grid-column: 1;
  }

  .search-wrap,
  .search {
    width: 100%;
    min-width: 0;
  }

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

  .floating-cta {
    display: none;
  }

  .mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 25;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 24px rgba(16, 61, 44, 0.12);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .mobile-cta .btn {
    width: 100%;
  }

  .footer {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
