@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Jost:wght@300;400;500;600;700&display=swap');

/* ─── Variables ─────────────────────────────────────────────────────────── */
:root {
  --navy:         #0b1e3d;
  --navy-mid:     #162d58;
  --navy-light:   #1f3d72;
  --green:        #1c5c3a;
  --green-mid:    #22704a;
  --green-light:  #ebf4ef;
  --white:        #ffffff;
  --off-white:    #f4f5f0;
  --grey-light:   #e2e6ee;
  --grey-mid:     #8a96a8;
  --grey-dark:    #4a5568;
  --text:         #1a2332;
  --text-light:   #5a6678;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Jost', sans-serif;

  --max-width:    1200px;
  --transition:   0.25s ease;
}

/* ─── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ─── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; letter-spacing: 0.02em; }

h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }

p { font-size: 1rem; font-weight: 400; }
.lead { font-size: 1.125rem; font-weight: 300; color: var(--text-light); max-width: 680px; }

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--tight { padding: 52px 0; }
.section--dark { background: var(--navy); color: var(--white); }
.section--off { background: var(--off-white); }
.section--green-tint { background: var(--green-light); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.section-label--white { color: rgba(255,255,255,0.6); }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover { background: var(--green-mid); border-color: var(--green-mid); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); }

.btn-sm { padding: 10px 22px; font-size: 0.82rem; }

/* ─── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--green);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1;
  user-select: none;
}
.logo span { color: var(--green); }
.logo:hover { opacity: 0.9; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-links a {
  display: block;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--navy);
  padding: 100px 0 130px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  margin-bottom: -40px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.025) 40px,
      rgba(255,255,255,0.025) 41px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.025) 40px,
      rgba(255,255,255,0.025) 41px
    );
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50%;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--green);
}

.hero h1 { color: var(--white); max-width: 760px; }
.hero h1 em { font-style: normal; color: var(--green-mid); }

.hero-sub {
  margin-top: 24px;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }

/* ─── Page Hero (inner pages) ────────────────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 64px 0 80px;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
  margin-bottom: -32px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); max-width: 640px; }
.page-hero .lead { color: rgba(255,255,255,0.65); margin-top: 16px; }

/* ─── USP Strip ──────────────────────────────────────────────────────────── */
.usp-strip { padding-top: 80px; }
.usp-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 36px 28px;
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-top: 4px solid var(--green);
  border-radius: 2px;
  box-shadow: 0 2px 12px rgba(11,30,61,0.06);
  transition: box-shadow var(--transition), transform var(--transition);
}
.usp-card:hover { box-shadow: 0 6px 28px rgba(11,30,61,0.1); transform: translateY(-3px); }

.usp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: 2px;
}
.usp-icon svg { width: 24px; height: 24px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.usp-card h3 { font-size: 1.5rem; color: var(--navy); }
.usp-card p { font-size: 0.95rem; color: var(--text-light); line-height: 1.65; }

/* ─── Intro Section ──────────────────────────────────────────────────────── */
.intro-section { padding: 80px 0; }
.intro-section .grid-2 { align-items: center; gap: 60px; }
.intro-text h2 { color: var(--navy); margin-bottom: 20px; }
.intro-text p + p { margin-top: 16px; }
.intro-stat-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--grey-light);
  border: 1px solid var(--grey-light);
}
.stat-cell {
  background: var(--white);
  padding: 32px 24px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--navy);
  line-height: 1;
}
.stat-number span { color: var(--green); font-size: 2rem; vertical-align: super; }
.stat-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-top: 6px; }

/* ─── CTA Strip ──────────────────────────────────────────────────────────── */
.cta-strip {
  background: var(--green);
  padding: 52px 0;
}
.cta-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-strip h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.6rem); }
.cta-strip p { color: rgba(255,255,255,0.8); font-size: 1rem; margin-top: 6px; max-width: 480px; }
.cta-btn-white {
  background: var(--white);
  color: var(--green);
  border: 2px solid var(--white);
  white-space: nowrap;
}
.cta-btn-white:hover { background: var(--off-white); border-color: var(--off-white); }

/* ─── Product Cards ──────────────────────────────────────────────────────── */
.product-section { padding: 80px 0; }
.product-section + .product-section { padding-top: 0; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover { box-shadow: 0 8px 32px rgba(11,30,61,0.1); transform: translateY(-4px); }

.product-card-thumb {
  height: 160px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-card-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 8px,
    rgba(255,255,255,0.03) 8px,
    rgba(255,255,255,0.03) 9px
  );
}
.product-card-thumb svg {
  width: 56px;
  height: 56px;
  stroke: rgba(255,255,255,0.25);
  fill: none;
  stroke-width: 1;
  position: relative;
  z-index: 1;
}
.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--green);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  z-index: 1;
}

.product-card-body {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-card-body h3 { font-size: 1.5rem; color: var(--navy); }
.product-card-body p { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; flex: 1; }
.product-card-body .btn { align-self: flex-start; margin-top: 8px; }

/* ─── About Page ─────────────────────────────────────────────────────────── */
.about-intro { padding: 80px 0; }
.about-intro .grid-2 { align-items: start; gap: 60px; }
.about-intro h2 { color: var(--navy); margin-bottom: 20px; }
.about-intro p + p { margin-top: 14px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.why-item {
  padding: 32px 28px;
  background: var(--white);
  border-left: 3px solid var(--green);
  box-shadow: 0 2px 12px rgba(11,30,61,0.05);
}
.why-item h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 10px; }
.why-item p { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }

.quality-block {
  background: var(--navy);
  color: var(--white);
  padding: 52px;
  border-left: 4px solid var(--green);
  margin-top: 60px;
}
.quality-block h3 { font-size: 1.8rem; margin-bottom: 16px; }
.quality-block p { color: rgba(255,255,255,0.75); line-height: 1.7; }
.quality-block p + p { margin-top: 12px; }

/* ─── Contact Form ───────────────────────────────────────────────────────── */
.contact-layout { padding: 80px 0; }
.contact-layout .grid-2 { align-items: start; gap: 60px; }

.contact-info h2 { color: var(--navy); margin-bottom: 16px; }
.contact-info p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }
.contact-info p + p { margin-top: 10px; }

.contact-details { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-detail-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--green-light);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-detail-icon svg { width: 18px; height: 18px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-detail-text { font-size: 0.9rem; color: var(--text-light); }
.contact-detail-text strong { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-bottom: 2px; }
.contact-detail-text a:hover { color: var(--green); }

.enquiry-form {
  background: var(--off-white);
  padding: 40px;
  border: 1px solid var(--grey-light);
  border-top: 4px solid var(--navy);
}

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

label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}
label .req { color: var(--green); margin-left: 2px; }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 2px;
  padding: 12px 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11,30,61,0.08);
}

.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--grey-dark);
  pointer-events: none;
}
.select-wrap select { padding-right: 36px; cursor: pointer; }

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

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-notice {
  display: none;
  padding: 20px 24px;
  border-radius: 2px;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 20px;
}
.form-success { background: var(--green-light); border-left: 4px solid var(--green); color: var(--green); display: none; }
.form-error { background: #fef2f2; border-left: 4px solid #dc2626; color: #991b1b; display: none; }
.form-success.visible, .form-error.visible { display: block; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: var(--white); padding: 64px 0 0; }

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo { font-size: 1.5rem; margin-bottom: 16px; display: inline-block; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-col address { display: flex; flex-direction: column; gap: 8px; }
.footer-col address p { font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.footer-col address a { transition: color var(--transition); }
.footer-col address a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* ─── 404 ────────────────────────────────────────────────────────────────── */
.not-found {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.not-found-inner { max-width: 520px; }
.not-found-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 12rem);
  color: var(--grey-light);
  line-height: 1;
  margin-bottom: 16px;
}
.not-found h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--navy); margin-bottom: 16px; }
.not-found p { color: var(--text-light); margin-bottom: 32px; }

/* ─── Divider ────────────────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--grey-light); margin: 0; }

/* ─── Animations ─────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ─── Media Queries ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px 0; }
  h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .section { padding: 60px 0; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 71px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 99;
    overflow-y: auto;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links a { padding: 16px 0; font-size: 1rem; }
  .nav-links a::after { display: none; }

  .hero { clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%); padding: 72px 0 100px; }
  .page-hero { clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  .enquiry-form { padding: 28px 20px; }

  .contact-layout .grid-2 { gap: 40px; }

  .cta-strip .container { flex-direction: column; align-items: flex-start; }

  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: auto; }

  .intro-section .grid-2,
  .about-intro .grid-2 { gap: 40px; }

  .quality-block { padding: 36px 28px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
  .usp-strip { padding-top: 60px; }
}
