/* ============ TOKENS ============ */
:root {
  /* Emerald accent scale.
     --green      bright accent: fills, tags, borders, icon tints
     --green-btn  action colour: white text on it hits 4.98:1 (AA)
     --green-text small green text on light bg: 5.28:1 (AA)
     --green-soft light tint for text sitting on charcoal */
  --green: #0fa968;
  --green-btn: #0a8050;
  --green-btn-hover: #076a42;
  --green-text: #077449;
  --green-soft: #cfebdd;
  --green-rgb: 15 169 104;

  /* Charcoal scale (replaces the old navy) */
  --ink: #14201c;
  --ink-2: #1b2a24;
  --ink-3: #20332b;
  --ink-rgb: 20 32 28;

  --bg: #f2f4f3;
  --white: #ffffff;
  --muted: #5a6b63;
  --line: rgba(140, 140, 140, 0.2);
  --radius: 22px;
  --maxw: 1240px;
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 100px 0; }

/* ============ TYPOGRAPHY ============ */
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 50px;
  line-height: 1.05;
  letter-spacing: -1px;
  text-transform: uppercase;
  max-width: 900px;
}
.section-title.dark { color: var(--ink); }
.section-title.light { color: #fff; }
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-text);
  margin-bottom: 18px;
  padding: 7px 16px;
  border: 1px solid rgb(var(--green-rgb) / 0.3);
  border-radius: 999px;
  background: rgb(var(--green-rgb) / 0.08);
}
.eyebrow.center { display: block; width: max-content; margin-left: auto; margin-right: auto; }
.eyebrow.light { color: var(--green-soft); border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.08); }

.section-lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  margin-top: 20px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--green-btn); color: #fff; }
.btn-primary:hover { background: var(--green-btn-hover); transform: translateY(-2px); box-shadow: 0 12px 24px rgb(var(--green-rgb) / 0.28); }
.btn-ghost { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.24); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 11px 22px; font-size: 14px; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
/* Two logo files instead of a CSS filter. The real logo is multi-colour, so
   brightness(0) invert(1) would flatten it into a solid white blob and the Z
   would vanish. logo-light.png (white wordmark) shows over the hero and in the
   footer; logo.png (dark wordmark) shows once the header turns white on scroll.
   Both are derived from the supplied artwork, so the shield is identical. */
.logo img { height: 50px; width: auto; max-width: none; display: block; }
.logo .logo-on-light { display: none; }
.site-header.scrolled .logo .logo-on-dark { display: none; }
.site-header.scrolled .logo .logo-on-light { display: block; }
.nav { display: flex; gap: 30px; }
.nav-link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  transition: color .2s ease;
}
.nav-link:hover { color: #fff; }
.site-header.scrolled .nav-link { color: var(--ink); }
.site-header.scrolled .nav-link:hover { color: var(--green-text); }
.header-cta { }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 26px; height: 2px; background: #fff; transition: background .25s; }
.site-header.scrolled .menu-toggle span { background: var(--ink); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(var(--ink-rgb) / 0.55) 0%, rgb(var(--ink-rgb) / 0.82) 60%, rgb(var(--ink-rgb) / 0.92) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 80px; text-align: center; }
.badge {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--green-soft);
  padding: 9px 20px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 80px;
  line-height: 1.02;
  letter-spacing: -1.6px;
  color: #fff;
  text-transform: uppercase;
}
.hero-sub {
  max-width: 560px;
  margin: 26px auto 36px;
  color: rgba(255,255,255,0.82);
  font-size: 18px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; }

/* ============ ABOUT ============ */
.about { background: var(--bg); }
.about .section-title { margin-bottom: 60px; }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.about-img {
  width: 100%; height: 340px;
  border-radius: var(--radius);
  background-size: cover; background-position: center;
  margin-bottom: 28px;
}
.stats { display: flex; gap: 20px; justify-content: space-between; }
.stat h3 {
  font-family: var(--font-head);
  font-weight: 700; font-size: 44px; letter-spacing: -1px;
  color: var(--green-text);
}
.stat h3 span { font-size: 22px; color: var(--muted); }
.stat p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.who { font-family: var(--font-body); font-weight: 700; font-size: 26px; letter-spacing: -1px; margin-bottom: 18px; }
.about-right p { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0; }
.metric { padding: 20px; background: #fff; border-radius: 16px; border: 1px solid var(--line); }
.metric strong { font-family: var(--font-head); font-size: 32px; color: var(--ink); display: block; letter-spacing: -1px; }
.metric span { font-size: 14px; color: var(--muted); }

/* ============ MARQUEE ============ */
.marquee { background: var(--ink); overflow: hidden; padding: 22px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 40px; align-items: center; animation: scroll 22s linear infinite; }
.marquee-track span {
  font-family: var(--font-head);
  font-weight: 600; font-size: 22px;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase; letter-spacing: 0.5px;
}
@keyframes scroll { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* ============ WHY CHOOSE US ============ */
.why { background: var(--bg); }
.why .eyebrow, .why .section-title { display: block; text-align: center; }
.why .section-title { margin: 0 auto 60px; }
.why-grid { display: grid; grid-template-columns: 1fr 0.8fr 1fr; gap: 30px; align-items: center; }
.why-col { display: flex; flex-direction: column; gap: 24px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgb(var(--ink-rgb) / 0.10); }
.feature h4 { font-family: var(--font-body); font-weight: 600; font-size: 20px; color: var(--ink); margin-bottom: 12px; letter-spacing: -0.5px; }
.feature p { color: var(--muted); font-size: 15px; padding-left: 20px; position: relative; margin-top: 6px; }
.feature p::before { content: "✓"; position: absolute; left: 0; color: var(--green-text); font-weight: 700; }
.why-image { height: 560px; border-radius: var(--radius); background-size: cover; background-position: center; }

/* ============ SERVICES ============ */
.services { background: var(--bg); }
.services .section-title { margin-top: 10px; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 50px; }
.service-feature {
  border-radius: var(--radius);
  background-size: cover; background-position: center;
  min-height: 460px;
  display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
}
.service-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgb(var(--ink-rgb) / 0.85)); }
.service-feature-inner { position: relative; z-index: 2; padding: 36px; }
.service-feature-inner p { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 20px; line-height: 1.4; letter-spacing: -0.4px; }
.service-list { display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.service-item {
  display: flex; align-items: center; gap: 20px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 26px 28px;
  transition: background .25s, transform .2s, color .25s;
  cursor: pointer;
}
.service-item .service-icon { width: 54px; height: 54px; border-radius: 12px; background: rgb(var(--green-rgb) / 0.12); color: var(--green-btn); display: flex; align-items: center; justify-content: center; transition: background .25s, color .25s; flex-shrink: 0; }
.service-icon img { width: 26px; height: auto; }
/* icons are inline SVG using currentColor, so they flip to white with the row on hover */
.service-icon svg { width: 26px; height: 26px; display: block; }
.service-item:hover .service-icon { color: #fff; }
.service-item span { flex: 1; font-family: var(--font-head); font-weight: 600; font-size: 20px; letter-spacing: -0.4px; }
.service-item .arrow { font-style: normal; font-size: 22px; color: var(--green-text); transition: transform .25s; }
.service-item:hover { background: var(--ink); color: #fff; transform: translateX(6px); }
.service-item:hover .arrow { color: #fff; transform: translate(3px,-3px); }
.service-item:hover .service-icon { background: rgba(255,255,255,0.14); }

/* ============ PROJECTS ============ */
.projects { background: var(--ink); }
.projects .eyebrow, .projects .section-title { display: block; text-align: center; }
.projects .section-title { margin: 0 auto 60px; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card { background: var(--ink-2); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 16px; transition: transform .25s, border-color .25s; }
.project-card:hover { transform: translateY(-6px); border-color: rgb(var(--green-rgb) / 0.5); }
.project-img { height: 240px; border-radius: 16px; background-size: cover; background-position: center; position: relative; margin-bottom: 22px; }
.project-img .tag { position: absolute; top: 14px; left: 14px; background: var(--green-btn); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: 1px; padding: 6px 14px; border-radius: 999px; }
.project-img .year { position: absolute; top: 14px; right: 14px; background: rgba(0,0,0,0.5); color: #fff; font-size: 12px; padding: 6px 12px; border-radius: 999px; }
.project-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: #fff; padding: 0 8px; margin-bottom: 12px; letter-spacing: -0.5px; }
.project-card p { color: rgba(255,255,255,0.7); font-size: 15px; padding: 0 8px; margin-bottom: 22px; }
.project-card .btn { margin: 0 8px 8px; }

/* ============ PRICING (unused — pricing section was removed from index.html) ============ */
.pricing { background: var(--bg); }
.pricing .eyebrow, .pricing .section-title { display: block; text-align: center; }
.pricing .section-title { margin: 0 auto 60px; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 900px; margin: 0 auto; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; position: relative; }
.price-card.popular { background: var(--ink); color: #fff; border-color: var(--ink); }
.popular-badge { position: absolute; top: 24px; right: 24px; background: var(--green-btn); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: 1px; padding: 6px 14px; border-radius: 999px; }
.price-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.price-head img { width: 45px; height: auto; }
.price-head h4 { font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: -0.5px; }
.price-head span { font-size: 14px; opacity: 0.7; }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 26px; }
.price h2 { font-family: var(--font-head); font-weight: 700; font-size: 50px; letter-spacing: -1px; }
.price-card.popular .price h2 { color: #fff; }
.price-card:not(.popular) .price h2 { color: var(--ink); }
.price span { opacity: 0.7; font-size: 15px; }
.price-card .btn { width: 100%; margin-bottom: 28px; }
.price-card.popular .btn-primary { background: var(--green-btn); }
.price-features li { padding: 12px 0 12px 30px; position: relative; font-size: 15px; border-top: 1px solid var(--line); }
.price-card.popular .price-features li { border-color: rgba(255,255,255,0.12); }
.price-features li::before { content: "✓"; position: absolute; left: 0; color: var(--green-text); font-weight: 700; }

/* ============ HOW IT WORKS ============ */
.how { background: var(--bg); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 50px; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 30px; transition: transform .25s, box-shadow .25s; }
.step-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgb(var(--ink-rgb) / 0.12); }
.step-img { height: 220px; border-radius: 16px; background-size: cover; background-position: center; margin-bottom: 24px; }
.step-no { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 2px; color: var(--green-text); padding: 0 12px; }
.step-card h4 { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--ink); margin: 12px 0; padding: 0 12px; letter-spacing: -0.5px; }
.step-card p { color: var(--muted); font-size: 15px; padding: 0 12px; }

/* ============ TESTIMONIALS ============ */
.testimonials { background: var(--bg); }
.testimonials .section-title { margin-bottom: 50px; }
.testi-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 30px; }
.testi-feature { border-radius: var(--radius); background-size: cover; background-position: center; min-height: 520px; position: relative; display: flex; align-items: flex-start; padding: 30px; }
.testi-rating { background: rgb(var(--ink-rgb) / 0.92); color: #fff; padding: 20px 26px; border-radius: 16px; }
.testi-rating strong { font-family: var(--font-head); font-size: 34px; display: block; letter-spacing: -1px; }
.testi-rating span { font-size: 13px; opacity: 0.8; letter-spacing: 1px; }
.testi-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.testi-card p { color: var(--ink); font-size: 15px; line-height: 1.6; margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi-author strong { display: block; font-family: var(--font-head); font-size: 15px; letter-spacing: 0.3px; }
.testi-author span { font-size: 13px; color: var(--muted); }
.testi-author .score { margin-left: auto; font-style: normal; font-family: var(--font-head); font-weight: 700; color: var(--green-text); }

/* ============ FAQ ============ */
.faq { background: var(--bg); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.faq-image { height: 520px; border-radius: var(--radius); background-size: cover; background-position: center; }
.faq .section-title { margin-bottom: 30px; }
.accordion { display: flex; flex-direction: column; gap: 14px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.acc-head { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 24px; font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; letter-spacing: -0.3px; }
.acc-head i { font-style: normal; font-size: 24px; color: var(--green-text); transition: transform .25s; flex-shrink: 0; }
.acc-item.open .acc-head i { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-body p { padding: 0 24px 24px; color: var(--muted); font-size: 15px; }
.acc-item.open .acc-body { max-height: 300px; }

/* ============ BLOG ============ */
.blog { background: var(--bg); }
.blog .section-title { margin-bottom: 50px; }
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgb(var(--ink-rgb) / 0.12); }
.blog-img { height: 300px; background-size: cover; background-position: center; }
.blog-body { padding: 30px; }
.blog-date { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: 1px; color: var(--green-text); }
.blog-body h3 { font-family: var(--font-head); font-weight: 700; font-size: 26px; color: var(--ink); margin: 14px 0 22px; letter-spacing: -0.6px; }
.blog-author { display: flex; align-items: center; gap: 10px; }
.blog-author img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.blog-author span { font-size: 14px; color: var(--muted); }

/* ============ CTA / CONTACT ============ */
.cta { background: var(--ink); }

/* one rounded card split into a dark pitch panel and a white form panel */
.contact-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  max-width: 1120px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 90px rgb(0 0 0 / 0.45);
}

/* ---- left panel ---- */
.contact-aside {
  background: var(--ink-3);
  padding: 48px 42px;
  display: flex;
  flex-direction: column;
}
.contact-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.6px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.contact-lead { color: rgba(255,255,255,0.72); font-size: 16px; margin-bottom: 28px; }

.contact-points { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.contact-points li {
  display: flex; align-items: flex-start; gap: 11px;
  color: rgba(255,255,255,0.9); font-size: 15px; line-height: 1.45;
}
.contact-points svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; color: var(--green); }

.contact-direct { margin-top: auto; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.14); }
.contact-direct-label {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 14px;
}
.contact-direct a {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-size: 15px; font-weight: 500;
  padding: 7px 0; transition: color .2s ease;
  overflow-wrap: anywhere;
}
.contact-direct a svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--green); transition: color .2s ease; }
.contact-direct a:hover { color: var(--green); }

/* ---- right panel: the form ---- */
.contact-form-card { background: #fff; padding: 44px 42px; }

.qf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.qf-field { display: flex; flex-direction: column; min-width: 0; }
.qf-full { grid-column: 1 / -1; }

.qf-field label {
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  color: var(--ink); margin-bottom: 7px;
}
.qf-field label abbr { color: var(--green-text); text-decoration: none; border: none; margin-left: 1px; }

/* border is #87938d rather than a pale grey: WCAG 1.4.11 asks for 3:1 on form
   control boundaries, and the usual #d3dad6 only manages 1.42:1 */
.qf-field input, .qf-field select, .qf-field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid #87938d; border-radius: 11px;
  padding: 12px 14px; width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.qf-field textarea { resize: vertical; min-height: 88px; }
.qf-field input::placeholder, .qf-field textarea::placeholder { color: #7c8a83; }
.qf-field input:focus, .qf-field select:focus, .qf-field textarea:focus {
  outline: none; border-color: var(--green-btn);
  box-shadow: 0 0 0 3px rgb(var(--green-rgb) / 0.20);
}
.qf-field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23077449' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}

/* TCPA disclosure: deliberately not tiny grey print. 13.5px at 5.4:1 on white
   so it reads as a real disclosure rather than something buried. */
.qf-consent {
  margin-top: 22px;
  background: rgb(var(--ink-rgb) / 0.04);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 14px 16px;
}
.qf-consent p { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0; }

/* validation */
.qf-err { color: #b3261e; font-size: 12.5px; margin-top: 5px; }
.qf-field.has-error input, .qf-field.has-error select, .qf-field.has-error textarea { border-color: #b3261e; }
.qf-field.has-error input:focus, .qf-field.has-error select:focus, .qf-field.has-error textarea:focus {
  border-color: #b3261e; box-shadow: 0 0 0 3px rgb(179 38 30 / 0.18);
}

.qf-actions { display: flex; align-items: center; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.qf-actions .btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.qf-note { font-size: 13.5px; color: var(--muted); }

.qf-status { margin-top: 18px; padding: 13px 15px; border-radius: 11px; font-size: 14.5px; }
.qf-status.ok  { background: rgb(var(--green-rgb) / 0.12); color: var(--green-text); border: 1px solid rgb(var(--green-rgb) / 0.35); }
.qf-status.bad { background: rgb(179 38 30 / 0.07); color: #b3261e; border: 1px solid rgb(179 38 30 / 0.30); }

/* ============ FOOTER ============ */
.footer { background: var(--ink-2); color: rgba(255,255,255,0.75); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { height: 52px; width: auto; max-width: none; }
.footer-brand p { font-size: 15px; margin-bottom: 22px; max-width: 300px; }
.footer-col h5 { font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: 1.5px; color: #fff; margin-bottom: 20px; }
.footer-col a, .footer-col span { display: block; font-size: 15px; color: rgba(255,255,255,0.7); margin-bottom: 12px; transition: color .2s; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 14px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: #fff; }

/* ============ LEGAL PAGES (terms.html, privacy.html) ============ */
/* charcoal band at the top so the transparent white-text header stays
   legible on these pages exactly as it does over the homepage hero */
.page-head { background: var(--ink); padding: 148px 0 68px; }
.page-head h1 {
  font-family: var(--font-head); font-weight: 700; font-size: 52px;
  line-height: 1.05; letter-spacing: -1.2px; text-transform: uppercase;
  color: #fff; margin-bottom: 12px;
}
.page-updated { color: rgba(255,255,255,0.55); font-size: 15px; }

.legal { background: var(--bg); }
.legal-body { max-width: 780px; }
.legal-body .legal-intro { font-size: 18px; color: var(--ink); line-height: 1.6; margin-bottom: 10px; }
.legal-body h2 {
  font-family: var(--font-head); font-weight: 700; font-size: 23px;
  color: var(--ink); letter-spacing: -0.4px; margin: 42px 0 12px;
}
.legal-body p { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 14px; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.legal-body li { color: var(--muted); font-size: 16px; line-height: 1.65; margin-bottom: 8px; }
.legal-body li::marker { color: var(--green); }
.legal-body a { color: var(--green-text); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--green-btn-hover); }
.legal-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px;
  background: rgb(var(--ink-rgb) / 0.06); padding: 2px 6px; border-radius: 5px; color: var(--ink);
}
.legal-body .legal-note {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--green);
  border-radius: 12px; padding: 16px 18px; margin: 20px 0 18px;
}
.legal-body .legal-footnote { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .section-title { font-size: 40px; }
  .hero h1 { font-size: 60px; }
  .about-grid, .faq-grid, .testi-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-image { order: -1; height: 360px; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .contact-panel { grid-template-columns: 1fr; max-width: 640px; }
  .page-head h1 { font-size: 40px; }
  .contact-aside { padding: 38px 32px; }
  .contact-form-card { padding: 34px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .section-title { font-size: 32px; letter-spacing: -0.5px; }
  .hero h1 { font-size: 42px; letter-spacing: -1px; }
  .nav, .header-cta { display: none; }
  .nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 20px 24px; gap: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  }
  .nav.open .nav-link { color: var(--ink); }
  .menu-toggle { display: flex; }
  .stats { flex-wrap: wrap; gap: 24px; }
  .metrics { grid-template-columns: 1fr; }
  .projects-grid, .steps-grid, .pricing-grid, .testi-cards, .blog-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .qf-grid { grid-template-columns: 1fr; }
  .contact-aside { padding: 32px 22px; }
  .contact-form-card { padding: 30px 22px; }
  .contact-title { font-size: 26px; }
  .page-head { padding: 118px 0 48px; }
  .page-head h1 { font-size: 31px; letter-spacing: -0.6px; }
  .qf-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .qf-actions .btn { width: 100%; }
  .qf-note { text-align: center; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
}
