/* ============================================================
   1. FONT FACES
============================================================ */
@font-face {
  font-family: "MilligramText-Regular";
  src: url("/assets/fonts/MilligramText-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: "MilligramText-Medium";
  src: url("/assets/fonts/MilligramText-Medium.ttf") format("truetype");
  font-display: swap;
}

/* ============================================================
   2. ROOT VARIABLES
============================================================ */
:root {
  /* ---- BRAND COLORS ---- */
  --brand-green: #11b14b;
  --brand-green-dark: #0a7a34;
  --brand-bg-deep: #01172f;
  --text-muted-soft: #c7d3e0;

  /* ---- COMPONENT COLORS ---- */
  --green: #71BF44;
  --green-dark: #5DA336;
  --green-light: #edf7e6;
  --green-accent: #1bb761;
  --blue: #0085CD;
  --blue-dark: #006BA4;
  --blue-light: #e6f3fb;
  --text-dark: #111827;
  --text-mid: #4b5563;
  --text-light: #9ca3af;
  --bg-white: #ffffff;
  --bg-off: #f9fafb;
  --border: #e5e7eb;
  --border-light: #f3f4f6;

  /* ---- RADIUS ---- */
  --radius: 12px;
  --radius-lg: 16px;

  /* ---- FONTS ---- */
  --font-heading: "CooperBTLight", Georgia, serif;
  --font-body: "MilligramText-Regular", Arial, sans-serif;
  --font-body-medium: "MilligramText-Medium", Arial, sans-serif;

  /* ---- FONT SIZES (DESKTOP 1200px+) ---- */
  --fs-h1: 45px;
  --fs-h2: 38px;
  --fs-h3: 32px;
  --fs-h4: 24px;
  --fs-h5: 20px;
  --fs-h6: 18px;
  --fs-footer: 26px;
  --fs-body-lg: 20px;
  --fs-body:    18px;
  --fs-body-sm: 16px;
  --fs-caption: 18px;
  --fs-tiny:    12px;
  --fs-display: 72px;
  --fs-stat:    56px;
  --fs-button:  18px;
  --fs-label:   15px;

  /* ---- LINE HEIGHTS ---- */
  --lh-tight:   1.15;
  --lh-snug:    1.3;
  --lh-base:    1.5;
  --lh-relaxed: 1.65;
}

/* LAPTOP 992–1199px */
@media (max-width: 1199px) {
  :root {
    --fs-h1: 35px;
    --fs-h2: 30px;
    --fs-h3: 28px;
    --fs-h4: 22px;
    --fs-h5: 18px;
    --fs-h6: 16px;
    --fs-body-lg: 18px;
    --fs-body:    17px;
    --fs-body-sm: 15px;
    --fs-caption: 13px;
    --fs-display: 60px;
    --fs-stat:    48px;
  }
}

/* TABLET 768–991px */
@media (max-width: 991px) {
  :root {
    --fs-h1: 32px;
    --fs-h2: 28px;
    --fs-h3: 26px;
    --fs-h4: 20px;
    --fs-h5: 18px;
    --fs-h6: 16px;
    --fs-body-lg: 17px;
    --fs-body:    16px;
    --fs-body-sm: 14px;
    --fs-display: 50px;
    --fs-stat:    42px;
  }
}

/* MOBILE 576–767px */
@media (max-width: 767px) {
  :root {
    --fs-h1: 30px;
    --fs-h2: 30px;
    --fs-h3: 24px;
    --fs-h4: 20px;
    --fs-h5: 17px;
    --fs-h6: 15px;
    --fs-body-lg: 16px;
    --fs-body:    15px;
    --fs-body-sm: 14px;
    --fs-caption: 12px;
    --fs-display: 40px;
    --fs-stat:    34px;
    --fs-button:  15px;
    --fs-label:   14px;
  }
}

/* SMALL MOBILE ≤575px */
@media (max-width: 575px) {
  :root {
    --fs-h1: 32px;
    --fs-h2: 26px;
    --fs-h3: 22px;
    --fs-h4: 18px;
    --fs-h5: 16px;
    --fs-h6: 14px;
    --fs-body-lg: 15px;
    --fs-body:    14px;
    --fs-body-sm: 13px;
    --fs-caption: 12px;
    --fs-display: 32px;
    --fs-stat:    28px;
    --fs-button:  14px;
    --fs-label:   13px;
  }
}

/* ============================================================
   3. RESET & BASE
============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: var(--font-body);
  color: #000 !important;
}

body {
  overflow-x: hidden;
  line-height: var(--lh-base);
}

section {
  overflow: unset !important;
}

@media (min-width: 992px) and (max-width: 1366px) {
  body { zoom: 80%; }
}

.arc-quote-form label {
  font-size: var(--fs-body-lg);
}

form {
  border: none !important;
}

/* ============================================================
   4. TYPOGRAPHY
============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading) !important;
  line-height: var(--lh-tight);
  font-weight: 600;
}

h1 { font-size: var(--fs-h1) !important; line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2) !important; line-height: var(--lh-snug) !important; font-weight: 600 !important; }
h3 { font-size: var(--fs-h3) !important; }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5) !important; }
h6 { font-size: var(--fs-h6) !important; }

p, a, li {
  font-size: var(--fs-body-lg) !important;
  font-family: var(--font-body) !important;
  line-height: var(--lh-relaxed);
}

p { font-weight: 400 !important; }

.hero-title,
h1.hero-title {
  font-size: var(--fs-display) !important;
  line-height: var(--lh-tight) !important;
}

.text-sm      { font-size: var(--fs-body-sm) !important; }
.text-lg      { font-size: var(--fs-body-lg) !important; }
.text-caption { font-size: var(--fs-caption) !important; }
.text-tiny    { font-size: var(--fs-tiny) !important; }

/* ============================================================
   STICKY HEADER
============================================================ */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.sticky-header.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.sticky-header-inner {
  padding: 25px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.sticky-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.sticky-logo img {
  height: 62px;
  width: auto;
  display: block;
}

/* CTA Button */
.sticky-cta {
  background: var(--green-accent);
  color: #fff !important;
  padding: 11px 26px;
  border-radius: 8px;
  font-size:var(--fs-body-lg) !important;
  font-weight: 700 !important;
  text-decoration: none;
  transition: all 0.25s ease;
  font-family: var(--font-body) !important;
  box-shadow: 0 2px 6px rgba(27, 183, 97, 0.25);
  white-space: nowrap;
  display: inline-block;
}

.sticky-cta:hover {
  background: var(--green-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(27, 183, 97, 0.4);
}

/* ============================================================
   STICKY HEADER RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .sticky-header-inner {
    padding: 10px 20px;
  }
  .sticky-logo img {
    height: 38px;
  }
}

@media (max-width: 575px) {
  .sticky-header-inner {
    padding: 10px 16px;
  }

  .sticky-logo img {
    height: 32px;
  }

  .sticky-cta {
    padding: 9px 18px;
    font-size: 13px !important;
  }
}

@media (max-width: 400px) {
  .sticky-logo img {
    height: 28px;
  }

  .sticky-cta {
    padding: 8px 14px;
    font-size: 12px !important;
  }
}
section.logo {
  padding: 20px 0px 0px 0px;
}

.logo-img {
  width: clamp(40px, 40%, 250px);
}

/* ============================================================
   7. HERO SECTION
============================================================ */
.hero-wrapper {
  position: relative;
  background: linear-gradient(90deg, #ffffff 0%, #f4ffee 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero {
  padding: 0 20px 30px;
  min-height: 100vh;
}

.hero-container {
  display: grid;
  grid-template-columns: 6fr 5fr;
  grid-template-areas:
    "left right"
    "stats right"
    "bottom bottom";
  column-gap: 64px;
  row-gap: 30px;
  align-items: start;
}

/* Left side */
.left {
  grid-area: left;
  display: flex;
  flex-direction: column;
  align-self: center;
  gap: 60px;
  padding-top: 0px;
  width: 90%;
}

.title {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  margin-bottom: 24px;
  font-weight: 700;
}

.title .green {
  color: var(--green-accent);
  display: block;
}

h1.title .green {
  font-size: var(--fs-h1) !important;
  line-height: normal;
}

.title .black {
  color: #111;
  display: block;
}

.description {
  color: #444;
  font-size: var(--fs-body);
  margin-bottom: 16px;
  font-weight: 500 !important;
}

/* Rotating headline */
.rotate-wrap {
  display: inline-block;
  overflow: hidden;
  height: 1.2em;
  line-height: 1.2em;
  vertical-align: bottom;
  white-space: nowrap;
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotate-track {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  width: max-content;
}

.rotate-word {
  display: block;
  height: 1.2em;
  line-height: 1.2em;
  width: max-content;
  white-space: nowrap;
  color: var(--green-accent);
  font-weight: 700;
}

.additional-rotate {
  margin-bottom: 1px;
}

/* Stats Box */
.stats {
  grid-area: stats;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: #e8f0f5;
  border-radius: 10px;
  padding: 20px;
  margin: 30px 0;
}

.stat { 
  text-align: center; 
  padding: 20px 10px; 
}

.stat h3 {
  color: var(--green-accent);
  font-size: var(--fs-h5);
  margin-bottom: 6px;
  font-weight: 700;
}

.stat p {
  font-size: var(--fs-caption);
  color: #555;
}

/* DESKTOP divider — vertical lines */
.stat.stat-divider {
  border-left: 1px solid #cdd9df;
  border-right: 1px solid #cdd9df;
}

/* MOBILE — switch to horizontal dividers */
@media (max-width: 900px) {
  .stats {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 20px;
    margin: 20px 0;
  }

  .stat {
    padding: 26px 10px;
  }

  /* Remove vertical borders */
  .stat.stat-divider {
    padding: 16px 0;
    border-left: none;
    border-right: none;
    /* Add horizontal dividers top and bottom */
    border-top: 1px solid #cdd9df;
    border-bottom: 1px solid #cdd9df;
  }
}

@media (max-width: 767px) {
  .stats {
    padding: 8px 16px;
    margin: 16px 0;
  }

  .stat {
    padding: 14px 8px;
  }

  .stat.stat-divider {
    border-left: none;
    border-right: none;
    border-top: 1px solid #cdd9df;
    border-bottom: 1px solid #cdd9df;
  }
}

@media (max-width: 575px) {
  .stats {
    padding: 6px 14px;
  }

  .stat {
    padding: 20px 6px;
  }

  div.stat.stat-divider {
    display: block !important;
    border-left: none;
    border-right: none;
    border-top: 1px solid #cdd9df;
    border-bottom: 1px solid #cdd9df;
  }
}
/* Review Box */
.review {
  grid-area: bottom;
  display: flex;
  gap: 15px;
  background: #fdf4ec;
  border: 1px solid #f0d9b8;
  border-radius: 8px;
  padding: 16px;
  align-items: flex-start;
}

/* Review Box Logo - G2 Style Circle */
.review-logo {
  background: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 6px;
}

.review-logo img,
.review-logo svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.review-content { flex: 1; }

.stars {
  color: #ff9900;
  font-size: var(--fs-body-sm);
  margin-bottom: 6px;
  letter-spacing: 2px;
}

.review-text {
  font-style: italic;
  color: #333;
  font-size: var(--fs-body-sm);
  margin-bottom: 8px;
}

.review-author {
  font-weight: 700 !important;
  color: #222;
  font-size: var(--fs-caption);
}

/* Right Side */
.right {
  grid-area: right;
  padding-top: 40px;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  justify-self: stretch;
  width: 100%;
}

/* ============================================================
   8. FORM CARD
============================================================ */
form {
  padding: 0px !important;
}

.form-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 35px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  width: 100%;
  border: 1px solid #eee;
}

.right h4 {
  text-align: center;
  padding-left: 0px;
  padding-bottom: 5px;
  color: var(--green-accent);
  font-size: var(--fs-h2);
  margin-bottom: 6px;
  font-weight: 700;
}

.form-subtitle {
  color: #111111;
  font-size: var(--fs-body);
  font-weight: 700 !important;
  margin-bottom: 0px;
}

h2.form_header {
  color: var(--green-accent);
  font-size: var(--fs-h3);
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contactForm .form-group {
  margin-bottom: 18px !important;
  position: relative;
}

.form-group label {
  display: block;
  color: #222;
  font-size: var(--fs-label);
  margin-bottom: 6px;
  font-weight: 600;
}

input { height: 40px !important; }

input[type="text"],
input[type="email"],
input[type="date"],
textarea.form-control {
  background-color: #f5f8fa;
  font-size: var(--fs-body-sm);
}

.form-control-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: #f5f8fa;
  color: #333;
  font-size: var(--fs-body-sm);
  outline: none;
  transition: border-color 0.2s;
}

.form-control-input:focus { border-color: var(--green-accent); }
.form-control-input::placeholder { color: #bbb; }

.form-control-input.error {
  border-color: #e74c3c !important;
  background-color: #fff5f5;
}

form.contactForm .form-control {
  margin-top: 0;
  margin-bottom: 9px;
}

select.form-control-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  height: 40px;
}

.validation {
  color: red;
  font-size: var(--fs-tiny);
  margin-top: 2px;
  min-height: 2px;
  font-weight: 400;
}

form i.fa-star {
  color: red !important;
  font-size: 7px !important;
}

sup { top: 0.1em; }

.form-group i {
  position: absolute;
  font-size: var(--fs-caption);
}

.contactForm .icon { padding: 15px 8px; }

input[type="checkbox"] { cursor: pointer; }

.input_display {
  display: inline-block;
  border: 1px solid transparent !important;
  padding: 0 !important;
}

label.submit__control {
  margin-bottom: 1rem !important;
  display: block;
}

label.submit__control p {
  font-size: var(--fs-body-sm);
  margin-bottom: 8px;
  color: #222;
}

#captcha-error-message {
  color: #e74c3c;
  font-size: var(--fs-tiny);
  display: block;
  margin-top: 6px;
}

.submit-btn {
  width: 100%;
  background: var(--green-accent);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: var(--fs-button);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 10px;
}

.submit-btn:hover { background: #149a51; }
.submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }

.submit_width {
  width: 100%;
  margin-bottom: 5px;
  padding: 12px 30px;
  font-size: var(--fs-body-sm);
}

.banner-button {
  padding: 15px 0;
  border-radius: 7px;
  border: 0;
  background: rgba(23, 163, 76, 1);
  color: #fff;
  font-size: var(--fs-button);
  font-weight: 600;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 15%);
}

.form-fields,
.form-success {
  transition: all 0.2s ease-out;
}

.form-success {
  opacity: 0;
  transform: translateY(-10px);
  margin-top: 20px;
}

.fadeOut { opacity: 0; transform: translateY(10px); }
.fadeIn  { opacity: 1 !important; transform: translateY(0) !important; }
.low-opa { opacity: 0.4; }
.hide    { display: none !important; }
.tabs label { font-size: var(--fs-body); }

/* ============================================================
   9. LOGO MARQUEE
============================================================ */
.logo-title {
  text-align: center;
  font-size: var(--fs-body-lg) !important;
  letter-spacing: 2px;
  margin-bottom: 30px;
  font-weight: 600 !important;
}

.logo-row {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}

.logo-row:hover .logo-track {
  animation-play-state: paused;
}

.logo-track {
  display: flex;
  gap: 80px;
  width: max-content;
}

.logo-track img {
  width: 200px;
  height: 100px;
  flex-shrink: 0;
  object-fit: contain;
  white-space: nowrap;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-track img:hover {
  transform: scale(1.1);
  opacity: 1;
  filter: grayscale(0%);
}

.row-right {
  margin-top: 100px;
  margin-bottom: 100px;
}

.row-right .logo-track {
  animation: moveRight 100s linear infinite;
}

.row-left .logo-track {
  animation: moveLeft 100s linear infinite;
}

@keyframes moveLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes moveRight {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ============================================================
   10. FEATURES SECTION
============================================================ */
.features {
  padding: 80px 48px;
  background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(244, 255, 238) 100%) center center / cover no-repeat;
}

.features-container {
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 40px;
}

.features-header h2 {
  color: var(--text-dark);
  font-size: var(--fs-h2);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.features-header p {
  color: var(--text-mid);
  font-size: var(--fs-body);
  max-width: 520px;
  margin: 0 auto;
}

.tab-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: 100px;
  font-size: var(--fs-button);
  font-weight: 600;
  font-family: var(--font-body);
  border: 2px solid var(--border);
  background: var(--bg-white);
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover {
  border-color: var(--green-accent);
  color: var(--green-accent);
}

.tab-btn.active {
  background: var(--green-accent);
  color: white;
  border-color: var(--green-accent);
}

.tab-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  animation: fadeUp 0.35s ease-out;
}

.tab-panel.active { display: grid; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tab-label {
  display: inline-block;
  font-size: var(--fs-caption);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--green-accent);
  background: var(--green-light);
  padding: 6px 15px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.tab-content h3 {
  color: var(--text-dark);
  font-size: var(--fs-h3);
  margin-bottom: 12px;
  line-height: 1.25;
}

.tab-content p {
  color: var(--text-mid);
  font-size: var(--fs-body);
  margin-bottom: 24px;
}

.tab-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  padding: 0;
}

.tab-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-body-sm);
  color: var(--text-mid);
}

.tab-features li svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.tab-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-body-sm);
  font-weight: 600;
  color: var(--green-accent);
  text-decoration: none;
  transition: gap 0.2s;
}

.tab-cta:hover { gap: 10px; }
.tab-cta svg  { width: 16px; height: 16px; }

.tab-mockup {
  background: var(--bg-off);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.mockup-bar {
  height: 36px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 6px;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.mockup-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: calc(100% - 36px);
}

/* Order Mockup */
.mock-order .mockup-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mock-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
}

.mock-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.mock-card-tag {
  font-size: var(--fs-tiny);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.mock-card-tag--green { background: var(--green-light); color: var(--green-dark); }
.mock-card-tag--blue  { background: var(--blue-light); color: var(--blue-dark); }
.mock-card-tag--amber { background: #fef3c7; color: #92400e; }

.mock-card-id {
  font-size: var(--fs-tiny);
  color: var(--text-light);
  font-weight: 500;
}

.mock-line {
  height: 8px;
  background: var(--border-light);
  border-radius: 4px;
  margin-bottom: 6px;
}

.mock-line--w60 { width: 60%; }
.mock-line--w70 { width: 70%; }
.mock-line--w80 { width: 80%; }
.mock-line--w45 { width: 45%; }
.mock-line--green { background: rgba(113, 191, 68, 0.15); }

/* Inventory Mockup */
.mock-inv .mockup-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-inv-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-inv-title {
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--text-mid);
}

.mock-inv-badge {
  font-size: var(--fs-tiny);
  font-weight: 600;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 2px 8px;
  border-radius: 4px;
}

.mock-table {
  width: 100%;
  border-collapse: collapse;
}

.mock-table th {
  text-align: left;
  font-size: var(--fs-tiny);
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 10px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-off);
}

.mock-table td {
  font-size: var(--fs-tiny);
  color: var(--text-mid);
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-light);
}

.mock-bar-track {
  width: 60px;
  height: 6px;
  background: var(--border-light);
  border-radius: 3px;
  overflow: hidden;
}

.mock-bar-fill { height: 100%; border-radius: 3px; }
.mock-bar-fill--high { width: 85%; background: var(--green); }
.mock-bar-fill--mid  { width: 55%; background: #f59e0b; }
.mock-bar-fill--low  { width: 25%; background: #ef4444; }

/* Route Mockup */
.mock-route .mockup-body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12px;
}

.mock-stop-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-stop {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-stop-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: var(--fs-tiny);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.mock-stop-num--done    { background: var(--green); }
.mock-stop-num--active  { background: var(--blue); }
.mock-stop-num--pending { background: var(--border); color: var(--text-light); }

.mock-stop-name {
  font-size: var(--fs-tiny);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}

.mock-stop-time {
  font-size: var(--fs-tiny);
  color: var(--text-light);
}

.mock-map {
  background: #e8f5e9;
  border-radius: 8px;
  overflow: hidden;
}

.mock-map svg { width: 100%; height: 100%; }

/* DSD Mockup */
.mock-dsd .mockup-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mock-module {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
}

.mock-module-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.mock-module-icon svg { width: 16px; height: 16px; }
.mock-module-icon--g { background: var(--green-light); color: var(--green); }
.mock-module-icon--b { background: var(--blue-light); color: var(--blue); }
.mock-module-icon--a { background: #fef3c7; color: #d97706; }
.mock-module-icon--p { background: #fce7f3; color: #db2777; }

.mock-module-name {
  font-size: var(--fs-tiny);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.mock-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-metric-label { font-size: var(--fs-tiny); color: var(--text-light); }
.mock-metric-val   { font-size: var(--fs-caption); font-weight: 700; color: var(--green); }

/* ============================================================
   11. STATS SECTION
============================================================ */
.bm-stats {
  background: linear-gradient(92.05deg, #111827 13.73%, #0582CE 124.79%);
  padding: 64px 48px;
  width: 100%;
}

.bm-stats__inner {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.bm-stats__item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.bm-stats__item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bm-stats__num {
  font-family: var(--font-heading);
  font-size: var(--fs-stat);
  font-weight: 400;
  color: var(--green);
  margin-bottom: 12px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.bm-stats__label {
  font-size: var(--fs-body-lg);
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 0.2px;
}

/* ============================================================
   12. CTA SECTION
============================================================ */
.family-cta {
  padding: 76px 48px;
  text-align: center;
  background: #f9fafb;
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.cta-inner.in-view {
  opacity: 1;
  transform: translateY(0);
}

.family-cta h2 {
  font-size: var(--fs-h2);
  color: var(--text-dark);
  margin-bottom: 12px;
}

.family-cta p {
  font-size: var(--fs-body);
  color: var(--text-mid);
  max-width: 460px;
  margin: 0 auto 28px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-accent);
  color: white;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: var(--fs-button);
  font-weight: 600;
  text-decoration: none;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.cta-btn:hover {
  color: #fff;
  background: var(--green-dark);
  transform: translateY(-1px);
}

.cta-btn svg { width: 18px; height: 18px; }

.cta-tags {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.cta-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-caption);
  color: var(--text-light);
  font-weight: 500;
}

.cta-tag svg { width: 15px; height: 15px; color: var(--green); }

/* ============================================================
   13. FOOTER
============================================================ */
.site-footer {
  background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(244, 255, 238) 100%) center center / cover no-repeat;
  border-top: 1px solid #6cbe45;
  padding: 40px 20px 0;
  font-family: 'Arial', sans-serif;
  color: #333;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 30px;
}

.footer-logo { align-self: center; }

.footer-logo img {
  max-width: 220px;
  height: auto;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-wrap: wrap;
  text-align: left;
}

.contact-block {
  line-height: 1.7;
  margin: 0;
  font-size: var(--fs-body-lg) !important;
  font-weight: 600 !important;
  color: #333;
}

.address {
  color: #444;
  border-right: 1px solid #9e9c9c;
  padding-right: 20px;
}

.footer-contact strong {
  font-size: var(--fs-footer);
  font-weight: 600;
  color: var(--green-accent);
  display: inline-block;
  margin-bottom: 5px;
}

.contact-content {
  display: flex;
  gap: 50px;
}

.footer-contact a {
  color: #1a73e8;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #6cbe45;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding: 15px 10px;
  font-size: 13px;
  color: #666;
  margin-top: 20px;
}

/* ============================================================
   14. ALL RESPONSIVE BREAKPOINTS
============================================================ */

/* ── 1124px: Hero stacks to single column ── */
@media (max-width: 1124px) {
  .hero-container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "left"
      "right"
      "stats"
      "bottom";
    gap: 30px;
  }

  .left  { width: 100%; gap: 20px; }
  .right {
    width: 100%;
    padding-top: 0;
    padding-left: 0;
    justify-self: stretch;
  }
}

/* ── 1024px: Features & tabs ── */
@media (max-width: 1024px) {
  .features { padding: 64px 24px; }

  .tab-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tab-mockup { order: -1; }
  .family-cta { padding: 60px 24px; }
  .bm-stats   { padding: 52px 24px; }
}

/* ── 900px: Stats and form ── */
@media (max-width: 900px) {
  .stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat.divider {
    border: none;
    border-top: 1px solid #cdd9df;
    border-bottom: 1px solid #cdd9df;
    padding: 15px 0;
  }

  .form-row  { grid-template-columns: 1fr; }
  .form-card { padding: 25px; }

  .bm-stats__inner { grid-template-columns: repeat(2, 1fr); }
}

/* ── 767px: Full mobile layout ── */
@media (max-width: 767px) {
  /* Hero */
  .hero {
    padding: 0 16px 30px;
    min-height: unset;
  }

  .hero-container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "left"
      "right"
      "stats"
      "bottom";
    gap: 24px;
    row-gap: 24px;
  }

  .left {
    width: 100%;
    gap: 0;
    padding-top: 10px;
  }

  .left-content {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .right {
    width: 100%;
    padding-top: 0;
    padding-left: 0;
    justify-self: stretch;
  }

  .title { margin-bottom: 16px; }

  .description { margin-bottom: 12px; }

  /* Stats */
  .stats {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
    margin: 20px 0;
  }

  .stat { padding: 0 8px; }

  .stat.divider {
    border: none;
    border-top: 1px solid #cdd9df;
    border-bottom: 1px solid #cdd9df;
    padding: 12px 0;
  }

  /* Review */
  .review {
    flex-direction: row;
    align-items: flex-start;
    padding: 14px;
  }

  /* Form */
  .form-card { padding: 20px 18px; }

  .right h4 { font-size: var(--fs-h3) !important; }

  /* Logo marquee */
  .row-right {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .logo-track { gap: 40px; }

  .logo-track img {
    width: 120px;
    height: 60px;
  }

  /* Features */
  .features { padding: 48px 16px; }

  .features-header { margin-bottom: 28px; }

  .tab-row {
    gap: 6px;
    margin-bottom: 28px;
    justify-content: flex-start;
    overflow-x: auto;
   
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .tab-row::-webkit-scrollbar { display: none; }

  .tab-btn {
    padding: 8px 16px;
    flex-shrink: 0;
    font-size: var(--fs-body-sm);
  }

  .tab-panel { gap: 20px; }

  .tab-mockup {
    aspect-ratio: 4/3;
    order: -1;
  }

  /* Mock panels single column */
  .mock-order .mockup-body,
  .mock-dsd .mockup-body {
    grid-template-columns: 1fr;
  }

  .mock-route .mockup-body {
    grid-template-columns: 1fr;
  }

  .mock-map { height: 140px; }

  /* Stats section */
  .bm-stats { padding: 40px 16px; }

  .bm-stats__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .bm-stats__num { font-size: var(--fs-stat); }

  /* CTA */
  .family-cta { padding: 48px 16px; }

  .cta-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .cta-tags {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-logo { align-self: center; }

  .footer-logo img { max-width: 160px; }

  .footer-contact {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .contact-content {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    width: 100%;
  }

  .address {
    border-right: none;
    border-bottom: 1px solid #ccc;
    padding-right: 0;
    padding-bottom: 16px;
    width: 100%;
    text-align: center;
  }

  .contact-block { text-align: center; }
}

/* ── 575px: Small mobile ── */
@media (max-width: 900px) {
.logo-img{
  width: 150px;
}
 .cta-btn{
    width: 60%;
    justify-content: center;
  }
}
@media (max-width: 575px) {
  .hero { padding: 20px 12px 24px; }

  .logo-img { width: 130px }

  section.logo { padding: 16px 0 ; }

  /* Stats box compact */
  .stats { padding: 14px 12px; }

  /* Recaptcha scale */
  .g-recaptcha {
    transform: scale(0.88);
    transform-origin: 0 0;
  }

  /* Form card */
  .form-card { padding: 18px 14px; }

  /* Features */
  .features { padding: 36px 12px; }

  .tab-mockup { aspect-ratio: auto; min-height: 240px; }

  /* Stats section 1 column on very small */
  .bm-stats__inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .bm-stats__num { font-size: clamp(28px, 7vw, 40px); }

  .bm-stats__label { font-size: var(--fs-body); }

  /* CTA */
  .family-cta { padding: 36px 12px; }

  /* Footer */
  .footer-logo img { max-width: 140px; }

  .contact-block { font-size: var(--fs-body) !important; }
  .cta-btn{
    width: 60%;
  }
}

/* ── 400px: Tiny screens ── */
@media (max-width: 400px) {
  .hero { padding: 0 10px 20px; }

  .bm-stats__inner { grid-template-columns: 1fr 1fr; gap: 14px; }

  .tab-row { justify-content: flex-start; }

  .mock-order .mockup-body,
  .mock-dsd .mockup-body,
  .mock-route .mockup-body {
    grid-template-columns: 1fr;
  }

  .g-recaptcha {
    transform: scale(0.78);
    transform-origin: 0 0;
  }

  .form-card { padding: 16px 12px; }

  .review {
    flex-direction: column;
    gap: 10px;
  }

  .footer-logo img { max-width: 120px; }
}

/* ── Images global ── */
img {
  max-width: 100%;
  height: auto;
}

/* Live style.css guards */
body.dsd-fod-page section.logo {
  padding: 20px 0 0 !important;
}

body.dsd-fod-page section.hero {
  padding: 0 20px 30px !important;
}

body.dsd-fod-page section.features {
  padding: 80px 48px !important;
}

body.dsd-fod-page section.bm-stats {
  padding: 64px 48px !important;
}

body.dsd-fod-page section.family-cta {
  padding: 76px 48px !important;
}

@media (max-width: 1024px) {
  body.dsd-fod-page section.features {
    padding: 64px 24px !important;
  }

  body.dsd-fod-page section.family-cta {
    padding: 60px 24px !important;
  }

  body.dsd-fod-page section.bm-stats {
    padding: 52px 24px !important;
  }
}

@media (max-width: 767px) {
  body.dsd-fod-page section.hero {
    padding: 0 16px 30px !important;
  }

  body.dsd-fod-page section.features {
    padding: 48px 16px !important;
  }

  body.dsd-fod-page section.bm-stats {
    padding: 40px 16px !important;
  }

  body.dsd-fod-page section.family-cta {
    padding: 48px 16px !important;
  }
}

@media (max-width: 575px) {
  body.dsd-fod-page section.hero {
    padding: 20px 12px 24px !important;
  }

  body.dsd-fod-page section.features {
    padding: 36px 12px !important;
  }

  body.dsd-fod-page section.family-cta {
    padding: 36px 12px !important;
  }
}