/* =========================================================
   MSTECK — Mohammed Shoukat Technical Services L.L.C.
   Design system: bold corporate, diagonal green/lime motif
   ========================================================= */

/* ---------- Self-hosted fonts (SIL Open Font License — see /fonts) ---------- */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-latin-600-normal.woff2') format('woff2');
}

:root {
  /* Brand colors — sampled from the company's own profile document */
  --green-dark: #52833A;
  --green-darker: #416829;
  --green-deep: #2F4A22;
  --green-accent: #9CC13F;
  --green-accent-light: #B7D766;
  --charcoal: #3A3A3A;
  --near-black: #26331C;
  --white: #FFFFFF;
  --off-white: #F7F8F4;
  --grey-border: #E4E7DF;
  --grey-text: #6B6F66;

  /* Type */
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Fluid spacing */
  --space-xs: clamp(0.5rem, 0.4rem + 0.4vw, 0.75rem);
  --space-sm: clamp(0.75rem, 0.6rem + 0.6vw, 1.25rem);
  --space-md: clamp(1.5rem, 1.2rem + 1.2vw, 2.5rem);
  --space-lg: clamp(2.5rem, 2rem + 2vw, 4.5rem);
  --space-xl: clamp(4rem, 3rem + 4vw, 7rem);

  --container-max: 1240px;
  --radius: 10px;
  --shadow-card: 0 4px 24px rgba(22, 33, 15, 0.08);
  --shadow-card-hover: 0 12px 32px rgba(22, 33, 15, 0.14);
  --transition: 0.25s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
/* Anchor targets (e.g. services.html#bms) land below the sticky header */
[id] { scroll-margin-top: calc(var(--header-h, 90px) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

/* ---------- Accessibility helpers ---------- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  background: var(--green-deep);
  color: var(--white);
  font-family: var(--font-heading); font-weight: 600;
  padding: 0.7em 1.2em;
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 var(--space-sm);
  color: var(--near-black);
}
h1 { font-size: clamp(2rem, 1.5rem + 2.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.75vw, 1.5rem); }
p { margin: 0 0 var(--space-sm); color: var(--charcoal); }
.lead { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); color: var(--grey-text); }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 1rem + 2vw, 3rem);
}

section { padding-block: var(--space-xl); position: relative; }
.section-alt { background: var(--off-white); }
.section-tight { padding-block: var(--space-lg); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-darker);
  background: rgba(152, 184, 56, 0.15);
  padding: 0.35em 0.9em;
  border-radius: 999px;
  margin-bottom: var(--space-sm);
}

.section-head { max-width: 700px; margin-bottom: var(--space-lg); }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9em 1.8em;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-accent);
  color: var(--near-black);
}
.btn-primary:hover { background: var(--green-accent-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(152,184,56,0.35); }
.btn-dark {
  background: var(--green-dark);
  color: var(--white);
}
.btn-dark:hover { background: var(--green-darker); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(61,96,35,0.35); }
.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-outline-dark {
  background: transparent;
  border-color: var(--green-darker);
  color: var(--green-darker);
}
.btn-outline-dark:hover { background: var(--green-dark); color: var(--white); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.btn:disabled { opacity: 0.65; cursor: wait; transform: none; box-shadow: none; }
/* Long button labels wrap instead of running off narrow phones */
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; }
}

/* ---------- Diagonal motif ---------- */
.diagonal-wrap { position: relative; overflow: hidden; }
.diagonal-band {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.diagonal-band::before,
.diagonal-band::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 160px;
}
/* top-left pair — fixed corner size, stays consistent at every viewport width */
.diagonal-band.top-left::before {
  top: 0; left: 0;
  background: var(--green-darker);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.diagonal-band.top-left::after {
  top: 0; left: 0;
  width: 150px;
  height: 108px;
  background: var(--green-accent);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: 0.85;
}
/* bottom-right pair */
.diagonal-band.bottom-right::before {
  bottom: 0; right: 0;
  background: var(--green-darker);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.diagonal-band.bottom-right::after {
  bottom: 0; right: 0;
  width: 150px;
  height: 108px;
  background: var(--green-accent);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.85;
}
@media (max-width: 600px) {
  .diagonal-band::before { width: 140px; height: 100px; }
  .diagonal-band.top-left::after, .diagonal-band.bottom-right::after { width: 96px; height: 68px; }
}

.watermark {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(46vw, 620px);
  background-image: url('../images/watermark.png');
  background-repeat: no-repeat;
  background-position: 100% 50%;
  background-size: contain;
  opacity: 0.1;
  filter: brightness(0) invert(1);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--grey-border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: 0.75rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.brand img { height: clamp(56px, 3.2vw + 34px, 76px); width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1vw + 0.5rem, 2rem);
}
.nav-cta { display: none; }
.main-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal);
  padding: 0.4em 0;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--green-accent);
  transition: right var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--green-dark); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: var(--space-sm); flex-shrink: 0; }
.header-phone {
  display: flex; align-items: center; gap: 0.5em;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem;
  color: var(--green-dark); white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; flex-shrink: 0; }
.header-phone span.phone-text { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
}
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--near-black); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--green-deep) 0%, var(--green-dark) 75%, var(--green-dark) 100%);
  color: var(--white);
  padding-block: clamp(3.5rem, 3rem + 4vw, 7rem);
  position: relative;
  overflow: hidden;
}
.hero .container, .page-hero .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5em;
  background: rgba(152,184,56,0.18);
  border: 1px solid rgba(152,184,56,0.4);
  color: var(--green-accent-light);
  font-family: var(--font-heading); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.4em 1em; border-radius: 999px;
  margin-bottom: var(--space-md);
}
.hero h1 { color: var(--white); }
/* The badge sits inside the H1 (keyword line for search engines) but keeps its small pill styling */
.hero h1 .hero-badge { display: flex; width: fit-content; max-width: 100%; line-height: 1.5; }
.hero h1 .hero-title { display: block; max-width: 16ch; }
.hero .lead { color: rgba(255,255,255,0.82); max-width: 56ch; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); }
.hero-sub {
  padding-block: var(--space-lg) var(--space-xl);
}
.hero-sub h1 { max-width: none; }

/* ---------- Trust bar / stats ---------- */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-md);
  background: var(--green-deep);
  color: var(--white);
  padding-block: var(--space-md);
}
.stat { text-align: center; padding-inline: var(--space-sm); }
.stat .num {
  font-family: var(--font-heading); font-weight: 600;
  font-size: clamp(1.8rem, 1.5rem + 1.2vw, 2.6rem);
  color: var(--green-accent);
  display: block;
}
.stat .label { font-size: 0.9rem; color: rgba(255,255,255,0.75); }

/* ---------- Grids & Cards ---------- */
.grid {
  display: grid;
  gap: var(--space-md);
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(61,96,35,0.08);
  border-radius: 12px;
  margin-bottom: var(--space-sm);
  color: var(--green-dark);
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 0.5em; }
.card ul { margin-top: 0.75em; }
.card ul li {
  position: relative;
  padding-left: 1.3em;
  margin-bottom: 0.5em;
  font-size: 0.95rem;
  color: var(--grey-text);
}
.card ul li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px;
  background: var(--green-accent);
  border-radius: 50%;
}
.card a.card-link { display: inline-flex; align-items: center; gap: 0.4em; margin-top: var(--space-sm); font-family: var(--font-heading); font-weight: 600; color: var(--green-dark); }
.card a.card-link:hover { color: var(--green-accent); }

/* Value / feature items (icon + text, no card chrome) */
.feature {
  display: flex; gap: var(--space-sm); align-items: flex-start;
}
.feature .card-icon { flex-shrink: 0; margin-bottom: 0; }
.feature h3 { margin-bottom: 0.3em; font-size: 1.1rem; }
.feature p { color: var(--grey-text); font-size: 0.95rem; margin-bottom: 0; }

/* ---------- Alternating service sections ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding-block: var(--space-lg);
  border-bottom: 1px solid var(--grey-border);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse .service-visual { order: -1; } /* alternate image side on desktop */
.service-block > div { min-width: 0; }
.service-block ul, .check-list { margin-top: 0.75em; }
.service-block ul li, .check-list li {
  position: relative;
  padding-left: 1.3em;
  margin-bottom: 0.55em;
  color: var(--charcoal);
}
.service-block ul li::before, .check-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.62em;
  width: 7px; height: 7px;
  background: var(--green-accent);
  border-radius: 50%;
}
.service-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-dark), var(--near-black));
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.service-visual svg { width: 40%; height: 40%; color: var(--green-accent); opacity: 0.9; }
/* Drop a real photo into a panel and it fills it, covering the icon:
   <img src="images/services/NAME.jpg" alt="..." width="1600" height="1200" loading="lazy" decoding="async"> */
.service-visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.service-visual:has(img)::after { display: none; }
.service-visual::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url('../images/logo-icon.png');
  background-repeat: no-repeat;
  background-position: -10% 110%;
  background-size: 55%;
  opacity: 0.12;
}
@media (max-width: 760px) {
  .service-block, .service-block.reverse { grid-template-columns: 1fr; }
  .service-block.reverse .service-visual { order: 0; }
}

/* ---------- Project cards ---------- */
.project-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-top: 3px solid var(--green-accent);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex; flex-direction: column;
  padding: var(--space-md);
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.project-card-top {
  position: relative;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-sm);
  border-bottom: 1px solid var(--grey-border);
}
.project-card-top .tag {
  display: inline-block;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(82,131,58,0.1); color: var(--green-darker);
  padding: 0.3em 0.8em; border-radius: 999px; margin-bottom: 0.6em;
}
.project-card-top h3 { color: var(--near-black); margin-bottom: 0.3em; font-size: 1.15rem; }
.project-card-top .client {
  font-size: 0.85rem; color: var(--grey-text);
  font-family: var(--font-heading); font-weight: 600;
  display: flex; align-items: center; gap: 0.4em;
}
.project-card-top .client svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--green-dark); }
.project-card-body { flex: 1; }
.project-card-body p { font-size: 0.95rem; margin-bottom: 0.75em; }
.project-card-body .scope-label { font-family: var(--font-heading); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green-dark); }

/* ---------- Client logo grid ---------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-sm);
}
.client-tile {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: var(--space-sm);
  display: flex; align-items: center; justify-content: center;
  min-height: 110px;
  filter: grayscale(1) opacity(0.7);
  transition: filter var(--transition), transform var(--transition);
}
.client-tile:hover { filter: grayscale(0) opacity(1); transform: translateY(-2px); }
.client-tile img { max-height: 60px; width: auto; max-width: 90%; }
.client-tile.text-only {
  font-family: var(--font-heading); font-weight: 600; font-size: 1.15rem;
  color: var(--charcoal); letter-spacing: 0.02em; text-align: center;
}

/* ---------- Certifications ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-md); }
.cert-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-left: 4px solid var(--green-accent);
  border-radius: var(--radius);
  padding: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.cert-card .cert-badge-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(82,131,58,0.1);
  color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
}
.cert-card .cert-badge-icon svg { width: 26px; height: 26px; }
.cert-card-body { flex: 1; }
.cert-card h3 { margin-bottom: 0.2em; font-size: 1.05rem; }
.cert-card p { font-size: 0.9rem; color: var(--grey-text); margin-bottom: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--green-dark), var(--green-deep));
  color: var(--white);
  border-radius: var(--radius);
  padding: var(--space-lg);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md);
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.2em; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 0; }
.cta-banner-text { max-width: 560px; position: relative; z-index: 1; }
.cta-banner .btn-row { position: relative; z-index: 1; }
@media (max-width: 480px) { .cta-banner { padding: var(--space-md); } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-deep);
  color: rgba(255,255,255,0.75);
  padding-top: var(--space-xl);
  position: relative;
  overflow: hidden;
}
.footer-top-cut {
  position: absolute; top: 0; left: 0; right: 0; height: 14px;
  background: linear-gradient(90deg, var(--green-accent), var(--green-dark));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand-badge {
  display: inline-block;
  background: var(--white);
  border-radius: 14px;
  padding: 1.1rem 1.6rem;
  margin-bottom: var(--space-md);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}
.footer-brand-badge img {
  height: 56px;
  width: auto;
  display: block;
}
.site-footer p { color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.site-footer h4,
.site-footer .footer-heading {
  font-family: var(--font-heading); color: var(--white); font-size: 0.95rem;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: var(--space-sm);
}
.footer-links li { margin-bottom: 0.6em; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.95rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--green-accent-light); }
.footer-contact li { display: flex; gap: 0.6em; margin-bottom: 0.8em; font-size: 0.92rem; color: rgba(255,255,255,0.75); }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--green-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-block: var(--space-sm);
  display: flex; flex-wrap: wrap; gap: var(--space-sm);
  align-items: center; justify-content: space-between;
  font-size: 0.85rem; color: rgba(255,255,255,0.62);
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--space-sm) var(--space-md);
}
.form-field { display: flex; flex-direction: column; gap: 0.4em; min-width: 0; }
.form-field select { width: 100%; max-width: 100%; }
/* Spam trap for bots — hidden from people and screen readers */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; color: var(--near-black); }
.form-field input, .form-field select, .form-field textarea {
  padding: 0.8em 1em;
  border: 1.5px solid var(--grey-border);
  border-radius: 8px;
  background: var(--white);
  color: var(--near-black);
  font: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--grey-text); opacity: 1; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(61,96,35,0.15);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field.error input, .form-field.error select, .form-field.error textarea { border-color: #C0392B; }
.form-error-msg { font-size: 0.82rem; color: #C0392B; display: none; }
.form-field.error .form-error-msg { display: block; }
.form-status { margin-top: var(--space-sm); font-family: var(--font-heading); font-weight: 600; padding: 0.8em 1.2em; border-radius: 8px; display: none; }
.form-status.show { display: block; }
.form-status.success { background: rgba(152,184,56,0.15); color: var(--green-dark); }
.form-status.error { background: rgba(192,57,43,0.12); color: #A93226; }
.form-status.info { background: rgba(82,131,58,0.08); color: var(--green-darker); }

/* ---------- Misc page bits ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--green-deep) 0%, var(--green-dark) 85%, var(--green-dark) 100%);
  color: var(--white);
  padding-block: clamp(3rem, 2.5rem + 3vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: rgba(255,255,255,0.82); max-width: 60ch; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-bottom: var(--space-sm); }
.breadcrumb a { color: var(--green-accent-light); }

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
  align-items: start;
}
.two-col > * { min-width: 0; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

.info-card {
  background: var(--off-white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: var(--space-md);
}
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--grey-border); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }
.map-link { display: inline-flex; align-items: center; gap: 0.4em; margin-top: var(--space-sm); font-family: var(--font-heading); font-weight: 600; color: var(--green-dark); }
.map-link:hover { color: var(--green-darker); text-decoration: underline; }

/* Reveal-on-scroll (JS toggles .in-view) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in-view { opacity: 1; transform: none; }

/* Respect visitors who turn off animations in their OS settings */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Responsive nav ---------- */
@media (max-width: 1180px) {
  .header-phone span.phone-text { display: none; }
}
@media (max-width: 1180px) {
  .main-nav {
    position: fixed;
    top: var(--header-h, 81px);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-md) clamp(1.25rem, 1rem + 2vw, 3rem);
    gap: var(--space-sm);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
    overflow-y: auto;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease, visibility 0s linear 0s;
  }
  .main-nav a { font-size: 1.1rem; width: 100%; }
  .nav-toggle { display: flex; }
  .header-phone span.phone-text { display: none; }
  .nav-cta { display: inline-flex; margin-top: var(--space-sm); }
  .main-nav a.btn, .main-nav a.btn:hover { color: var(--white); }
  .main-nav a.btn::after { display: none; }
  body.nav-open { overflow: hidden; }
  /* nav is out of flow here, so pin the actions to the right edge beside the toggle */
  .header-actions { margin-left: auto; }
}
@media (max-width: 460px) {
  .header-actions .btn { display: none; }
}
@media (min-width: 1181px) {
  .nav-toggle { display: none; }
}

/* Card titles that are h2 for document outline but sized like h3 */
.h3-size { font-size: clamp(1.2rem, 1.05rem + 0.75vw, 1.5rem); margin-bottom: 0.5em; }

/* Desktop header: sized so logo + 6 links + quote button fit the container at every width
   (incl. laptops such as 1920px screens at 150% scaling = 1280px) */
@media (min-width: 1181px) {
  .header-inner { gap: 1.25rem; }
  .brand img { height: 60px; }
  .main-nav { gap: clamp(0.9rem, 2.2vw - 0.9rem, 1.45rem); }
  .main-nav a { font-size: 0.9rem; }
  .header-actions .btn { padding: 0.8em 1.4em; }
}
@media (min-width: 1441px) {
  .brand img { height: 66px; }
  .main-nav a { font-size: 0.95rem; }
}

/* Bulleted lists inside info cards (Company Facts, Certifications, Typical Callers) */
.info-card ul:not(.footer-contact) li {
  position: relative;
  padding-left: 1.3em;
  margin-bottom: 0.5em;
}
.info-card ul:not(.footer-contact) li::before {
  content: "";
  position: absolute; left: 0; top: 0.62em;
  width: 7px; height: 7px;
  background: var(--green-accent);
  border-radius: 50%;
}
.form-status a { text-decoration: underline; font-weight: 600; }

/* ---------- Cookie consent banner ---------- */
.consent-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000;
  max-width: 720px; margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--white); color: var(--charcoal);
  border: 1px solid var(--grey-border); border-radius: var(--radius); box-shadow: var(--shadow-card-hover);
  font-size: 0.92rem;
}
.consent-banner p { margin: 0; flex: 1 1 280px; }
.consent-banner a { color: var(--green-darker); font-weight: 600; text-decoration: underline; }
.consent-actions { display: flex; gap: 0.6em; }
.consent-actions .btn { padding: 0.6em 1.2em; }

/* ---------- Footer legal link, form note, policy text ---------- */
.footer-bottom a { color: rgba(255,255,255,0.75); text-decoration: underline; }
.footer-bottom a:hover { color: var(--green-accent-light); }
.form-note { margin-top: var(--space-xs); font-size: 0.85rem; color: var(--grey-text); }
.form-note a { color: var(--green-darker); text-decoration: underline; }
.policy-text { max-width: 760px; }
.policy-text h2 { margin-top: var(--space-md); font-size: 1.3rem; }
.policy-text ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.policy-text li { margin-bottom: 0.4em; }



/* ---------- Service landing pages: steps and FAQ ---------- */
.steps-list { counter-reset: step; margin-top: 0.75em; padding: 0; list-style: none; }
.steps-list li { counter-increment: step; position: relative; padding-left: 2.6em; margin-bottom: 1em; color: var(--charcoal); }
.steps-list li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 1.8em; height: 1.8em; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-accent); color: var(--near-black);
  font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem;
}
.faq-item { border-bottom: 1px solid var(--grey-border); padding-block: 0.9em; }
.faq-item:first-of-type { margin-top: 0.75em; border-top: 1px solid var(--grey-border); }
.faq-item summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--near-black); }
.faq-item p { margin: 0.6em 0 0; color: var(--charcoal); }

/* ---------- Quick answer under the page title (for search and AI answers) ---------- */
.answer-box .container { max-width: 900px; }
.answer-box h2 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); }
.answer-box .lead { color: var(--charcoal); }

/* ---------- Whole-card links (specialized services, related services) ---------- */
a.card-link-block { display: flex; flex-direction: column; align-items: flex-start; color: inherit; text-decoration: none; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
a.card-link-block:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
a.card-link-block:focus-visible { outline: 3px solid var(--green-accent); outline-offset: 3px; }
a.card-link-block .more { display: inline-block; margin-top: auto; padding-top: 0.6em; font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; color: var(--green-dark); }
a.card-link-block:hover .more { text-decoration: underline; }


/* =========================================================
   November 2026 additions: menus, direct contact, WhatsApp,
   spec tables, comparison tables, examples
   ========================================================= */

/* ---------- Dropdown menus ---------- */
.nav-item { position: relative; display: flex; align-items: center; }
.sub-toggle { display: none; }
.sub-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translate(-50%, 8px);
  padding-top: 0.9rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  z-index: 120;
}
.sub-menu-inner {
  display: grid; gap: 0.1rem;
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-top: 3px solid var(--green-accent);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 14px 40px rgba(38, 51, 28, 0.14);
  padding: 0.6rem;
}
.sub-menu-wide .sub-menu-inner { grid-template-columns: repeat(2, minmax(240px, 1fr)); min-width: 540px; }
.main-nav .sub-menu a {
  display: block; white-space: normal;
  padding: 0.55em 0.75em; border-radius: 6px;
  font-size: 0.9rem; line-height: 1.3;
}
.main-nav .sub-menu a::after { display: none; }
.main-nav .sub-menu a:hover, .main-nav .sub-menu a[aria-current="page"] { background: var(--off-white); color: var(--green-darker); }
@media (min-width: 1181px) {
  .nav-item.has-sub:hover .sub-menu,
  .nav-item.has-sub:focus-within .sub-menu {
    opacity: 1; visibility: visible; transform: translate(-50%, 0);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
  }
  .nav-item.has-sub > a { padding-right: 0.95em; }
  .nav-item.has-sub > a::before {
    content: ""; position: absolute; right: 0; top: 50%;
    width: 0.38em; height: 0.38em; margin-top: -0.3em;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); opacity: 0.7;
  }
}
@media (max-width: 1180px) {
  .nav-item { width: 100%; flex-wrap: wrap; }
  .nav-item.has-sub > a { flex: 1; width: auto; }
  .sub-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; color: var(--near-black); border-radius: 8px;
  }
  .sub-toggle svg { width: 20px; height: 20px; transition: transform var(--transition); }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub-menu {
    position: static; transform: none; width: 100%;
    padding-top: 0; display: none; opacity: 1; visibility: visible;
  }
  .nav-item.sub-open .sub-menu { display: block; }
  .sub-menu-inner, .sub-menu-wide .sub-menu-inner {
    grid-template-columns: 1fr; min-width: 0;
    border: 0; border-left: 3px solid var(--green-accent); border-radius: 0;
    box-shadow: none; padding: 0.2rem 0 0.4rem 0.9rem; margin-top: 0.2rem;
  }
  .main-nav .sub-menu a { font-size: 1rem; padding: 0.5em 0.6em; }
}

/* ---------- Buttons with icons, email and WhatsApp ---------- */
.btn-icon, .btn-email, .btn-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; }
.btn-icon svg, .btn-email svg, .btn-whatsapp svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.btn-whatsapp { background: #25D366; color: #0B3B1F; border: 2px solid #25D366; }
.btn-whatsapp:hover { background: #1EBE5A; border-color: #1EBE5A; color: #072713; }
.btn-email { background: var(--white); color: var(--green-darker); border: 2px solid var(--green-dark); }
.btn-email:hover { background: var(--green-dark); color: var(--white); }

.quote-panel { min-width: 0; }
.form-intro { margin: -0.2em 0 var(--space-sm); color: var(--grey-text); font-size: 0.92rem; }
.quote-panel .btn-block { margin-top: var(--space-sm); }
.direct-contact {
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--grey-border);
}
.direct-contact-title { margin: 0 0 0.6em; font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; color: var(--near-black); }
.direct-contact-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.direct-contact-buttons .btn { padding: 0.75em 0.9em; font-size: 0.92rem; min-width: 0; }
.direct-contact-buttons .btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 420px) { .direct-contact-buttons { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp button (icon only) ---------- */
.wa-float {
  position: fixed; z-index: 900;
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; padding: 0;
  border-radius: 50%;
  background: #25D366; color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(11, 59, 31, 0.28);
  transition: transform var(--transition), box-shadow var(--transition), bottom 0.25s ease;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11, 59, 31, 0.34); color: #FFFFFF; }
.wa-float:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 3px; }
@media (max-width: 640px) {
  .wa-float { width: 50px; height: 50px; right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .wa-float svg { width: 27px; height: 27px; }
}
body.consent-open .wa-float { bottom: var(--consent-offset, 20px); }
body.nav-open .wa-float { display: none; }
/* keep the last footer row clear of the floating button */
.footer-bottom { padding-bottom: 84px; }

/* ---------- Answer box meta, glance specs ---------- */
.reviewed { margin: 0.4em 0 0; font-size: 0.85rem; color: var(--grey-text); }
.glance { padding-top: 0; }
.glance .container { max-width: 900px; }
.spec-grid { margin: 0; border: 1px solid var(--grey-border); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.spec-row { display: grid; grid-template-columns: minmax(150px, 30%) 1fr; border-top: 1px solid var(--grey-border); }
.spec-row:first-child { border-top: 0; }
.spec-row dt { padding: 0.8em 1em; background: var(--off-white); font-family: var(--font-heading); font-weight: 600; color: var(--near-black); font-size: 0.95rem; }
.spec-row dd { margin: 0; padding: 0.8em 1em; color: var(--charcoal); }
@media (max-width: 560px) {
  .spec-row { grid-template-columns: 1fr; }
  .spec-row dt { padding-bottom: 0.3em; }
  .spec-row dd { padding-top: 0.4em; }
}

/* ---------- Narrow containers, centred text, notes ---------- */
.container.narrow { max-width: 900px; }
.center-text { text-align: center; max-width: 760px; margin-inline: auto; }
.small-note { margin-top: var(--space-sm); font-size: 0.88rem; color: var(--grey-text); }
.check-list.two-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-md); }
@media (max-width: 760px) { .check-list.two-cols { grid-template-columns: 1fr; } }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--grey-border); border-radius: var(--radius); background: var(--white); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.95rem; }
.compare-table caption { caption-side: bottom; padding: 0.8em 1em; text-align: left; font-size: 0.85rem; color: var(--grey-text); }
.compare-table th, .compare-table td { padding: 0.85em 1em; text-align: left; vertical-align: top; border-top: 1px solid var(--grey-border); }
.compare-table thead th { border-top: 0; background: var(--green-deep); color: var(--white); font-family: var(--font-heading); font-weight: 600; }
.compare-table thead th:nth-child(2) { background: var(--green-darker); }
.compare-table tbody th { font-family: var(--font-heading); font-weight: 600; color: var(--near-black); background: var(--off-white); width: 22%; }
.compare-table tbody td:nth-child(2) { background: rgba(156, 193, 63, 0.10); }

/* ---------- Example job card ---------- */
.example-card { background: var(--white); border: 1px solid var(--grey-border); border-left: 4px solid var(--green-accent); border-radius: var(--radius); padding: var(--space-md); }
.example-card h3 { margin-bottom: var(--space-sm); }
.example-note { margin: var(--space-sm) 0 0; font-size: 0.85rem; color: var(--grey-text); }

/* ---------- Hub cards ---------- */
.feature-link { border-top: 4px solid var(--green-accent); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Breadcrumb as nav ---------- */
nav.breadcrumb { display: block; }

/* ---------- Contact page office list (light background) ---------- */
.contact-list li { color: var(--charcoal); }
.contact-list svg { color: var(--green-dark); }
.contact-list a { color: var(--green-darker); font-weight: 600; }

/* ---------- Solid header so content never shows through ---------- */
.site-header { background: #FFFFFF; }

/* ---------- Audit fixes (3 Nov) ---------- */
/* Form messages: plain text, not bold */
.form-status { font-family: var(--font-body); font-weight: 400; font-size: 0.92rem; line-height: 1.5; }
.form-status.error { background: rgba(192, 57, 43, 0.07); }
/* Menu: the cookie banner never sits on top of the open menu */
body.nav-open .consent-banner { display: none; }
@media (max-width: 1180px) {
  /* comfortable tap targets in the phone menu */
  .main-nav .sub-menu a { display: flex; align-items: center; min-height: 44px; padding: 0.35em 0.6em; }
}
/* footer links: the whole text is clickable, even when it wraps */
.footer-links a { display: inline-block; }

.table-wrap:focus-visible { outline: 3px solid var(--green-accent); outline-offset: 2px; }
