/* ============================================================
   DESIGN TOKENS
   Global CSS custom properties — brand colours, shadows,
   border radii and neutral palette used throughout the site.
   ============================================================ */
:root {
  --slate:          #1a1f2e;
  --slate-mid:      #374151;
  --slate-light:    #6b7280;
  --border:         #e5e9ef;
  --white:          #ffffff;
  --off-white:      #f7f9fc;
  --amber:          #f59e0b;
  --amber-pale:     #fffbeb;
  --blue-pale:      #eff6ff;
  --blue:           #3b82f6;
  --error:          #ef4444;
  --error-pale:     #fef2f2;
  --card-shadow:       0 2px 24px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
  --card-shadow-hover: 0 12px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  --radius:    20px;
  --radius-sm: 12px;

  --brand-red:      #C0391B;
  --brand-orange:   #E8501A;
  --brand-amber:    #F5A623;
  --brand-gradient: linear-gradient(135deg, var(--brand-red), var(--brand-amber));
  --brand-pale:     #fff4e8;
  --brand-ultra:    #fffaf4;
}

/* ============================================================
   RESET & BASE
   Box-model normalisation, smooth scrolling, and base body
   styles — font, background and overflow control.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: #e8edf2;
  color: var(--slate);
  overflow-x: hidden;
}

/* ============================================================
   PAGE WRAPPER
   Centred card container that wraps the entire single-page
   layout with a rounded, shadow-lifted appearance.
   ============================================================ */
.page-wrap {
  max-width: 1320px;
  margin: 24px auto;
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 8px 60px rgba(0,0,0,0.12);
  position: relative;
}

/* ============================================================
   NAVIGATION — DESKTOP
   Sticky frosted-glass bar with logo, pill nav links and a
   gradient CTA button. Stays visible during scroll.
   ============================================================ */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--border);
  border-radius: 28px 28px 0 0;
}

.logo-h-img {
  width: 200px;
  height: 40px;
  background: url('CSRL Logo-colour-corrected-17-02-2023.png') no-repeat center / contain;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-pills {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px;
}

.nav-pill {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-light);
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-pill:hover { color: var(--brand-orange); }

.nav-pill.active {
  background: var(--white);
  color: var(--slate);
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

.nav-cta {
  background: var(--brand-gradient);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  white-space: nowrap;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(192,57,27,0.3);
}

/* ============================================================
   NAVIGATION — MOBILE HAMBURGER
   Icon button visible only on mobile that toggles the slide-
   down drawer. Bars animate into an × when the menu is open.
   ============================================================ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  transition: border-color 0.2s;
}

.nav-hamburger:hover { border-color: var(--brand-orange); }

.nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--slate);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   NAVIGATION — MOBILE DRAWER MENU
   Slide-down overlay panel containing vertical nav links and
   a full-width CTA. Toggled by the hamburger button.
   ============================================================ */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 20px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 65px;
  z-index: 199;
}

.mobile-menu.open { display: flex; }

.mobile-nav-pill {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-mid);
  text-decoration: none;
  transition: all 0.2s;
}

.mobile-nav-pill:hover,
.mobile-nav-pill.active {
  background: var(--brand-pale);
  color: var(--brand-orange);
}

.mobile-nav-cta {
  display: block;
  text-align: center;
  margin-top: 8px;
  padding: 14px;
  background: var(--brand-gradient);
  color: white;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s;
}

.mobile-nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  background: var(--brand-gradient);
}

/* ============================================================
   HERO SECTION
   Full-width banner with a centred headline and two floating
   illustration cards (PCB left, code editor right). Cards use
   a gentle vertical looping animation.
   ============================================================ */
.hero {
  padding: 64px 40px 48px;
  position: relative;
  background: var(--white);
  overflow: hidden;
}

.hero-float-left {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 188px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  box-shadow: var(--card-shadow);
  animation: floatY 5s ease-in-out infinite;
}

.hero-float-right1 {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-55%);
  width: 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--card-shadow);
  animation: floatY 5s ease-in-out infinite 1.5s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(-50%); }
  50%       { transform: translateY(calc(-50% - 10px)); }
}

.pcb-mini {
  width: 100%;
  height: 80px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.float-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-light);
  line-height: 1.4;
}

.rating-row  { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.rating-num  { font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; font-weight: 800; color: var(--slate); }
.stars       { color: var(--amber); font-size: 13px; }

.avatar-row  { display: flex; align-items: center; margin-top: 8px; }
.avatar      { width: 28px; height: 28px; border-radius: 50%; border: 2px solid white; margin-left: -8px; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; color: white; }
.avatar:first-child { margin-left: 0; }
.av1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.av2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.av3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.av-count { background: var(--slate); font-size: 9px; }
.avatar-label { font-size: 11px; color: var(--slate-light); margin-left: 8px; }

.hero-headline-wrap {
  text-align: center;
  padding: 0 220px;
}

.hero-pre {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-pale);
  color: var(--brand-red);
  border: 1px solid rgba(192,57,27,0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-pre .dot {
  width: 6px;
  height: 6px;
  background: var(--brand-orange);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hero-h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--slate);
  margin-bottom: 32px;
}

.inline-pill {
  display: inline-flex;
  align-items: center;
  background: var(--brand-gradient);
  border-radius: 60px;
  padding: 2px 30px 10px 30px;
  vertical-align: middle;
  gap: 8px;
  position: relative;
  top: -4px;
}

.pill-text {
  color: white;
  font-size: 0.9em;
  font-weight: 1000;
  letter-spacing: 0.5px;
  white-space: wrap;
}

.hero-sub {
  font-size: 16px;
  color: var(--slate-light);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 36px;
}

/* ============================================================
   BENTO GRID
   Asymmetric two-column card layout. Left tall dark card spans
   two rows; right column holds two stacked cards — one dark
   hardware card, one light software card.
   ============================================================ */
.bento {
  padding: 0 40px 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 40px;
}

.bento-left {
  grid-row: span 2;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 225px;
  background: linear-gradient(160deg, #1a0a00 0%, #3a1200 50%, #5c2200 100%);
}

.bento-left-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(245,166,35,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(232,80,26,0.12) 0%, transparent 50%);
}

.bento-left-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,166,35,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.bento-left-content {
  position: relative;
  z-index: 2;
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bento-sub-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-top: 10px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.sub-card-img {
  width: 110px;
  height: 90px;
  border-radius: 10px;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #1a0a00, #4a1a00);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-card-body { flex: 1; }

.sub-card-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 6px;
  line-height: 1.3;
}

.sub-card-desc {
  font-size: 12px;
  color: var(--slate-light);
  line-height: 1.6;
  margin-bottom: 12px;
}

/* ============================================================
   BENTO RIGHT CARDS
   Top: dark hardware/circuit card. Bottom: light software
   research card with animated module status list.
   ============================================================ */
.bento-right-top {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 100px;
  background: linear-gradient(160deg, #1a1f2e, #2d3748);
}

.bento-right-top-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0e1520 0%, #1a2840 50%, #0e2030 100%);
}

.bento-right-top-content {
  position: relative;
  z-index: 2;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-amber);
  margin-bottom: 6px;
}

.card-title-white {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 8px;
}

.card-desc-white {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.bento-right-bottom {
  border-radius: var(--radius);
  background: var(--brand-ultra);
  border: 1.5px solid rgba(245,166,35,0.18);
  padding: 28px;
  min-height: 100px;
}

/* ============================================================
   SECTION LABELS
   Reusable heading group — coloured chip pill above H2 text
   with optional subtitle. Used across all page sections.
   ============================================================ */
.section-label-wrap {
  text-align: center;
  margin-bottom: 48px;
}

.section-label-wrap-n1 {
  text-align: center;
  margin-bottom: 10px;
}

.section-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-pale);
  color: var(--brand-red);
  border: 1px solid rgba(192,57,27,0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--slate);
  line-height: 1.1;
}

.section-sub {
  font-size: 15px;
  color: var(--slate-light);
  margin-top: 12px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ============================================================
   STATS ROW
   Four-column key-metric band with gradient text numbers.
   Separated by hairline borders; highlights on hover.
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin: 0 40px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.stat-block {
  background: var(--white);
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}

.stat-block:last-child { border-right: none; }
.stat-block:hover      { background: var(--brand-ultra); }

.stat-big {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 36px;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-small {
  font-size: 13px;
  color: var(--slate-light);
  line-height: 1.4;
}

/* ============================================================
   WORKFLOW SECTION
   Six-step horizontal process timeline with numbered circle
   nodes connected by a gradient rule. Steps show detail on
   hover and reflow to fewer columns on smaller screens.
   ============================================================ */
.workflow {
  padding: 64px 40px;
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}

.workflow-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 24px; right: 24px;
  height: 2px;
  background: var(--brand-gradient);
  opacity: 0.3;
}

.wf-step {
  padding: 72px 16px 32px;
  position: relative;
  text-align: center;
  transition: background 0.3s;
  border-radius: var(--radius-sm);
  cursor: default;
}

.wf-step:hover { background: var(--white); }

.wf-node {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 24px;
  background: var(--white);
  border: 2px solid var(--brand-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--brand-orange);
  z-index: 1;
}

.wf-step:hover .wf-node { background: var(--brand-gradient); color: white; }

.wf-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 8px;
}

.wf-desc {
  font-size: 11.5px;
  color: var(--slate-light);
  line-height: 1.6;
}

/* ============================================================
   CTA / CONTACT SECTION
   Two-column layout — left copy column with trust badge and
   email; right column contains the validated contact form.
   ============================================================ */
.cta-section {
  padding: 64px 40px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.cta-h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--slate);
  line-height: 1.1;
  margin-top: 16px;
  margin-bottom: 20px;
}

.cta-h2 .brand-span {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-desc {
  font-size: 15px;
  color: var(--slate-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

.cta-trust {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--brand-pale);
  border: 1px solid rgba(192,57,27,0.18);
  border-radius: var(--radius-sm);
}

.trust-icon {
  width: 36px; height: 36px;
  background: var(--brand-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.trust-text { font-size: 13px; color: var(--slate-mid); line-height: 1.6; }
.trust-text strong { color: var(--slate); display: block; margin-bottom: 3px; }

/* ============================================================
   CONTACT FORM
   Styled form card with labelled inputs, select and textarea.
   Focus states use brand orange. Validation errors display
   inline in red below each field.
   ============================================================ */
.cta-form {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.form-heading {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 28px;
}

.form-group { margin-bottom: 16px; position: relative; }

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-mid);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

.form-label .req { color: var(--error); margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--slate);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(232,80,26,0.1);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
  background: var(--error-pale);
}

.form-error-msg {
  display: none;
  font-size: 11.5px;
  color: var(--error);
  margin-top: 5px;
  font-weight: 500;
}

.form-group .form-input.error ~ .form-error-msg,
.form-group .form-select.error ~ .form-error-msg,
.form-group .form-textarea.error ~ .form-error-msg { display: block; }

.form-textarea { resize: none; height: 90px; }

.form-submit {
  width: 100%;
  background: var(--brand-gradient);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  margin-top: 8px;
}

.form-submit:hover:not(:disabled) {
  background: var(--brand-gradient);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(192,57,27,0.3);
}

.form-submit:disabled { opacity: 0.7; cursor: not-allowed; }

/* ============================================================
   FOOTER
   Two-column bar — copyright on the left, quick links on the
   right. Stacks vertically on mobile.
   ============================================================ */
footer {
  padding: 32px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-radius: 0 0 28px 28px;
}

.footer-copy { font-size: 13px; color: var(--slate-light); }

.footer-links { display: flex; gap: 24px; list-style: none; }

.footer-links a {
  font-size: 13px;
  color: var(--slate-light);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--brand-orange); }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   Elements start invisible and slide up; the IntersectionObserver
   in main.js adds .visible when they enter the viewport.
   Delay utility classes stagger multiple children.
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible          { opacity: 1; transform: translateY(0); }
.reveal-delay-1          { transition-delay: 0.1s; }
.reveal-delay-2          { transition-delay: 0.2s; }
.reveal-delay-3          { transition-delay: 0.3s; }
.reveal-delay-4          { transition-delay: 0.4s; }
.reveal-delay-5          { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE — TABLET  (max-width: 1024px)
   Hides floating hero cards, collapses bento to single column,
   halves the workflow grid and converts stats to 2×2.
   ============================================================ */
@media (max-width: 1024px) {
  .hero-float-left,
  .hero-float-right1 { display: none; }
  .hero-headline-wrap { padding: 0 20px; }
  .bento { grid-template-columns: 1fr; }
  .bento-left { grid-row: span 1; min-height: 100px; }
  .workflow-steps { grid-template-columns: repeat(3, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   RESPONSIVE — MOBILE  (max-width: 768px)
   Removes page-wrap radius, shows hamburger, tightens padding
   across all sections, and stacks footer links.
   ============================================================ */
@media (max-width: 768px) {
  .page-wrap { margin: 0; border-radius: 0; }
  nav { padding: 14px 20px; border-radius: 0; }
  .nav-pills   { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 40px 20px 28px; }
  .hero-headline-wrap { padding: 0 16px; }
  .bento,
  .workflow,
  .cta-section { padding-left: 20px; padding-right: 20px; }
  .stats-row { margin: 0 20px; grid-template-columns: repeat(2, 1fr); }
  .workflow-steps { grid-template-columns: repeat(2, 1fr); }
  .workflow-steps::before { display: none; }
  footer { flex-direction: column; gap: 16px; text-align: center; border-radius: 0; }
  .cta-form { padding: 24px 20px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE  (max-width: 480px)
   Single-column stats and workflow; bento sub-cards stack
   image above body text.
   ============================================================ */
@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .workflow-steps { grid-template-columns: 1fr; }
  .bento-sub-card { flex-direction: column; }
  .sub-card-img { width: 100%; height: 120px; }
  .hero-h1 { letter-spacing: -0.5px; }
}
