:root {
  --ink: #17201c;
  --muted: #5b665f;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #dde5dd;
  --green: #23614a;
  --green-dark: #123d2e;
  --gold: #d7a63d;
  --red: #b95b4d;
  --blue: #3c6f9e;
  --shadow: 0 24px 70px rgba(25, 39, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.scrolled,
.site-header.open {
  color: var(--ink);
  background: rgba(251, 250, 246, 0.94);
  box-shadow: 0 12px 32px rgba(25, 39, 32, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: #1b261f;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 3px;
  font-size: 12px;
  color: currentColor;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 13px;
  border-radius: 8px;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.site-header.scrolled .site-nav a:hover,
.site-header.open .site-nav a:hover {
  background: rgba(35, 97, 74, 0.08);
}

.nav-cta {
  background: var(--gold);
  color: #17201c;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: transparent;
  color: currentColor;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
  padding: 136px clamp(18px, 5vw, 72px) 54px;
  overflow: hidden;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 24, 18, 0.88) 0%, rgba(8, 24, 18, 0.7) 43%, rgba(8, 24, 18, 0.24) 100%),
    linear-gradient(0deg, rgba(8, 24, 18, 0.85), rgba(8, 24, 18, 0.1) 50%);
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
}

.hero-content,
.product-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  cursor: pointer;
}

.button.primary {
  background: var(--gold);
  color: #17201c;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: currentColor;
  background: rgba(255, 255, 255, 0.08);
}

.section .button.secondary,
.price-card .button.secondary {
  border-color: var(--line);
  color: var(--green-dark);
  background: #fff;
}

.product-panel {
  align-self: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-top {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.panel-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
}

.panel-top span:nth-child(2) {
  background: var(--gold);
}

.panel-top span:nth-child(3) {
  background: var(--green);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric,
.chart,
.activity-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.metric {
  padding: 14px;
}

.metric small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
}

.chart {
  grid-column: span 2;
  min-height: 190px;
  display: flex;
  align-items: end;
  gap: 13px;
  padding: 18px;
}

.chart span {
  flex: 1;
  min-width: 18px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--blue), var(--green));
}

.activity-list {
  padding: 16px;
}

.activity-list p {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.activity-list p:last-child {
  margin-bottom: 0;
}

.activity-list b {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 999px;
  background: var(--green);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-band div {
  padding: 26px clamp(18px, 4vw, 54px);
  background: #fff;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  font-size: 24px;
}

.trust-band span {
  margin-top: 7px;
  color: var(--muted);
}

.section,
.split-section,
.contact-section {
  padding: 86px clamp(18px, 5vw, 72px);
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.16;
}

p {
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-grid p,
.split-section p,
.contact-section p,
.price-card li {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 8px;
  background: rgba(35, 97, 74, 0.1);
  color: var(--green);
  font-weight: 900;
  font-size: 13px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  background: #eef3ee;
}

.role-list {
  display: grid;
  gap: 10px;
}

.role-item {
  width: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.role-item.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.role-item span,
.role-item small {
  display: block;
}

.role-item span {
  font-size: 20px;
  font-weight: 900;
}

.role-item small {
  margin-top: 5px;
  color: currentColor;
  opacity: 0.76;
}

.pricing-section {
  background: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.price-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.price-card.featured {
  border-color: var(--green);
  background: var(--green-dark);
  color: #fff;
}

.price {
  margin: 14px 0 20px;
  color: var(--green);
  font-size: 24px;
  font-weight: 900;
}

.featured .price,
.featured li {
  color: rgba(255, 255, 255, 0.82);
}

.price-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0 0 26px;
  list-style: none;
}

.price-card li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--gold);
  font-weight: 900;
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 560px);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: var(--green-dark);
  color: #fff;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(215, 166, 61, 0.35);
  border-color: var(--gold);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

/* Success Result Overlay */
.enquiry-result-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--surface);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 24px 70px rgba(25, 39, 32, 0.4);
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
}

.enquiry-result-box {
  background: transparent;
  text-align: center;
}

.enquiry-result-icon {
  width: 64px;
  height: 64px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 32px;
  color: white;
  font-weight: bold;
}

.enquiry-result-box h4 {
  margin: 0 0 12px 0;
  font-size: 24px;
  color: var(--ink);
}

.enquiry-result-box p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Status Messages */
.enquiry-status {
  min-height: 20px;
  margin: 12px 0;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  display: none;
}

.enquiry-status--error {
  display: block;
  background: rgba(185, 91, 77, 0.1);
  color: var(--red);
  border-left: 3px solid var(--red);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 48px clamp(18px, 5vw, 72px);
  background: linear-gradient(135deg, #0e2119 0%, #1a3a2a 100%);
  color: rgba(255, 255, 255, 0.82);
  border-top: 4px solid var(--gold);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  margin-top: 80px;
}

.site-footer strong {
  color: #fff;
  font-size: 18px;
  display: block;
  margin-bottom: 6px;
}

.footer-brand {
  flex: 1;
  min-width: 200px;
}

.footer-brand span {
  font-size: 14px;
  display: block;
  margin-top: 8px;
  opacity: 0.9;
  line-height: 1.4;
}

.footer-info {
  text-align: right;
}

.footer-info p {
  margin: 0;
  font-size: 13px;
  opacity: 0.85;
}

.footer-link {
  color: var(--gold) !important;
  text-decoration: none !important;
  margin-left: 10px;
  font-weight: 600;
  transition: color 200ms ease, opacity 200ms ease;
}

.footer-link:hover {
  color: #f0c859 !important;
  opacity: 1;
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 124px;
  }

  .product-panel {
    max-width: 620px;
  }

  .feature-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 12px 16px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    padding: 108px 16px 36px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .dashboard-grid,
  .trust-band,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .chart {
    grid-column: span 1;
    min-height: 150px;
  }

  .section,
  .split-section,
  .contact-section {
    padding: 58px 16px;
  }

  .feature-grid article {
    min-height: auto;
  }
}
