/* =========================================================
   Common Good Labs — styles.css
   Brand: small town, big heart. Strength, confidence, fun.
   Tuned for: dense, corporate, conversion-focused, "wow".
   ========================================================= */

:root {
  /* Brand colors (from the logo) */
  --teal:   #2DB3C0;
  --blue:   #3B7DD8;
  --green:  #5DB85A;
  --orange: #F2A83C;
  --navy:   #0F2A47;
  --slate:  #5E7385;

  /* Surfaces */
  --ink:        #14233a;
  --ink-soft:   #43536b;
  --bg:         #ffffff;
  --bg-warm:    #f6f8fb;
  --bg-tint:    #eef3f8;
  --line:       #e4eaf1;
  --white:      #ffffff;

  /* Type */
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Shape & depth */
  --radius:    10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 4px rgba(15, 42, 71, .06);
  --shadow:    0 8px 24px rgba(15, 42, 71, .09);
  --shadow-lg: 0 18px 44px rgba(15, 42, 71, .12);

  --maxw: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 12px 24px; border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(15,42,71,.20); }
.btn-primary:hover { transform: translateY(-2px); background: #16365a; box-shadow: 0 12px 26px rgba(15,42,71,.28); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 36px; width: auto; }
.brand-mark { width: 38px; height: 38px; }
.brand-text { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-head); }
.brand-name { font-weight: 700; font-size: 1.18rem; color: var(--navy); letter-spacing: -.01em; }
.brand-sub  { font-weight: 600; font-size: .8rem; color: var(--slate); letter-spacing: .14em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { font-weight: 500; color: var(--ink-soft); font-size: .94rem; transition: color .15s ease; }
.main-nav a:hover { color: var(--navy); }
.main-nav .nav-cta {
  background: var(--navy); color: #fff; padding: 9px 18px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 600;
}
.main-nav .nav-cta:hover { color: #fff; background: #16365a; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 5vw, 72px) 0 clamp(36px, 4.5vw, 60px); }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(52% 60% at 88% 6%, rgba(45,179,192,.16), transparent 60%),
    radial-gradient(48% 55% at 6% 96%, rgba(59,125,216,.14), transparent 60%),
    radial-gradient(46% 46% at 60% 0%, rgba(93,184,90,.08), transparent 55%),
    var(--bg-warm);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 40px; align-items: center; }

.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .84rem;
  color: var(--navy); background: #fff; border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.35rem); font-weight: 800; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--blue), var(--teal) 45%, var(--green) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: clamp(1rem, 1.35vw, 1.14rem); color: var(--ink-soft); margin: 16px 0 24px; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 24px; }
.hero-trust li { font-size: .9rem; color: var(--slate); }
.hero-trust strong { font-family: var(--font-head); color: var(--navy); font-size: 1.02rem; }

/* ---- Hero product mockup ---- */
.hero-art { position: relative; min-height: 360px; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.mock-dash {
  position: relative; z-index: 2; width: 100%; max-width: 480px; margin-left: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-lg); animation: floaty 7s ease-in-out infinite;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--bg-warm); border-bottom: 1px solid var(--line); }
.mock-bar .d { width: 9px; height: 9px; border-radius: 50%; background: #d7dee7; }
.mock-bar .d:nth-child(1){ background:#f2766a; } .mock-bar .d:nth-child(2){ background:#f4c150; } .mock-bar .d:nth-child(3){ background:#67c272; }
.mock-url { margin-left: 10px; font-size: .72rem; color: var(--slate); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; }
.mock-body { padding: 18px; }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mock-title { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.mock-chip { font-size: .68rem; font-weight: 600; color: var(--green); background: rgba(93,184,90,.14); padding: 3px 9px; border-radius: 999px; }
.mock-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 16px; }
.mstat { position: relative; background: var(--bg-warm); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
.mstat span { display: block; font-size: .66rem; color: var(--slate); text-transform: uppercase; letter-spacing: .05em; }
.mstat strong { font-family: var(--font-head); font-size: 1.18rem; color: var(--navy); }
.mstat i { position: absolute; top: 11px; right: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.mock-chart svg { width: 100%; height: 110px; }
.mock-chart .bars rect { transform-origin: bottom; animation: grow .9s ease-out both; }
.mock-chart .bars rect:nth-child(1){animation-delay:.05s} .mock-chart .bars rect:nth-child(2){animation-delay:.12s}
.mock-chart .bars rect:nth-child(3){animation-delay:.19s} .mock-chart .bars rect:nth-child(4){animation-delay:.26s}
.mock-chart .bars rect:nth-child(5){animation-delay:.33s} .mock-chart .bars rect:nth-child(6){animation-delay:.40s}
.mock-chart .bars rect:nth-child(7){animation-delay:.47s}
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.mock-phone {
  position: absolute; left: -6px; bottom: 6px; z-index: 3; width: 150px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 12px;
  box-shadow: var(--shadow-lg); animation: floaty 7s ease-in-out infinite .8s;
}
.mock-phone-bar { height: 6px; width: 46px; background: #e6ecf2; border-radius: 999px; margin: 0 auto 14px; }
.mock-phone-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mock-phone-row .av { width: 22px; height: 22px; border-radius: 50%; background: var(--c); flex: none; }
.mock-phone-row .ln { height: 8px; border-radius: 999px; background: #e9eef3; flex: 1; }
.mock-phone-row .ln.short { flex: .6; }
.mock-phone-cta { margin-top: 12px; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: #fff; background: var(--blue); border-radius: 8px; padding: 9px; }

.mock-pill {
  position: absolute; right: 4px; top: 8px; z-index: 4;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px;
  box-shadow: var(--shadow); animation: floaty 7s ease-in-out infinite 1.4s;
}

/* ---------- Industries strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip-wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 18px 24px; }
.strip-label { font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; }
.strip-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.strip-tags li { font-size: .86rem; font-weight: 500; color: var(--navy); background: var(--bg-warm); border: 1px solid var(--line); padding: 6px 13px; border-radius: 999px; }

/* ---------- Pillars ---------- */
.pillars { padding: clamp(36px, 4.5vw, 60px) 0 0; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px; box-shadow: var(--shadow-sm); border-top: 3px solid var(--c);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar-tag { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--c); margin-bottom: 7px; }
.pillar p { font-size: .92rem; color: var(--ink-soft); }
.pillar em { color: var(--navy); font-style: normal; font-weight: 600; }

/* ---------- Generic section ---------- */
.section { padding: clamp(48px, 5.5vw, 80px) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(30px, 4vw, 46px); text-align: center; }
.kicker { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.7rem, 3.1vw, 2.35rem); font-weight: 700; }
.section-head p { margin-top: 13px; color: var(--ink-soft); font-size: 1.04rem; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d4e0ec; }
.card-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, #fff); margin-bottom: 16px; }
.card-icon svg { width: 25px; height: 25px; }
.card h3 { font-size: 1.16rem; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: .94rem; }

/* ---------- Work / showcase ---------- */
.work { background: var(--bg-warm); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-screen { position: relative; height: 170px; padding: 18px; overflow: hidden; border-bottom: 1px solid var(--line); }
.screen-dash { background: linear-gradient(135deg, #eaf2fb, #e4f4f6); }
.screen-book { background: linear-gradient(135deg, #e6f6f8, #eaf6ea); }
.screen-site { background: linear-gradient(135deg, #eaf6ea, #eef4fb); }

/* dashboard preview */
.ws-bar { position: absolute; top: 18px; left: 18px; right: 18px; height: 10px; border-radius: 6px; background: #fff; box-shadow: var(--shadow-sm); }
.ws-tiles { position: absolute; top: 42px; left: 18px; right: 18px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.ws-tiles i { height: 38px; border-radius: 8px; background: #fff; box-shadow: var(--shadow-sm); }
.ws-tiles i:nth-child(1){ border-bottom: 3px solid var(--blue); } .ws-tiles i:nth-child(2){ border-bottom: 3px solid var(--teal); } .ws-tiles i:nth-child(3){ border-bottom: 3px solid var(--green); }
.ws-lines { position: absolute; bottom: 18px; left: 18px; right: 18px; display: grid; gap: 7px; }
.ws-lines span { height: 9px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); }
.ws-lines span:nth-child(2){ width: 80%; } .ws-lines span:nth-child(3){ width: 60%; }

/* booking preview */
.ws-cal { position: absolute; top: 18px; left: 18px; width: 40px; height: 40px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-sm); border-top: 6px solid var(--teal); }
.ws-slots { position: absolute; top: 24px; left: 74px; right: 18px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.ws-slots i { height: 26px; border-radius: 7px; background: #fff; box-shadow: var(--shadow-sm); }
.ws-slots i.on { background: var(--teal); }
.ws-btn { position: absolute; bottom: 18px; left: 18px; right: 18px; height: 34px; border-radius: 8px; background: var(--teal); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .82rem; display: grid; place-items: center; }

/* website preview */
.ws-nav { position: absolute; top: 18px; left: 18px; right: 18px; height: 14px; border-radius: 6px; background: #fff; box-shadow: var(--shadow-sm); }
.ws-hero { position: absolute; top: 42px; left: 18px; right: 18px; height: 62px; border-radius: 9px; background: #fff; box-shadow: var(--shadow-sm); border-left: 4px solid var(--green); }
.ws-row { position: absolute; bottom: 18px; left: 18px; right: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ws-row i { height: 30px; border-radius: 7px; background: #fff; box-shadow: var(--shadow-sm); }
.ws-row i:nth-child(1){ border-top: 3px solid var(--blue); } .ws-row i:nth-child(2){ border-top: 3px solid var(--teal); } .ws-row i:nth-child(3){ border-top: 3px solid var(--orange); }

.work-meta { padding: 20px 22px 24px; }
.work-tag { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c); margin-bottom: 9px; }
.work-meta h3 { font-size: 1.14rem; font-weight: 600; margin-bottom: 7px; }
.work-meta p { color: var(--ink-soft); font-size: .93rem; }
.work-foot { text-align: center; margin-top: 30px; color: var(--ink-soft); font-size: 1.02rem; }
.work-foot a { font-family: var(--font-head); font-weight: 600; color: var(--blue); }
.work-foot a:hover { text-decoration: underline; }

/* ---------- Why us ---------- */
.why { background: var(--navy); color: #eaf1f8; }
.why .kicker { color: var(--teal); }
.why h2 { color: #fff; }
.why-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 44px; align-items: center; }
.why-lede { color: #b9c8d8; font-size: 1.06rem; margin: 14px 0 22px; }
.why-list { display: grid; gap: 13px; }
.why-list li { position: relative; padding-left: 34px; color: #c6d4e2; font-size: .98rem; }
.why-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 50%;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/72% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/72% no-repeat;
}
.why-list strong { color: #fff; }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 22px 20px; text-align: center; }
.stat-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--c); line-height: 1; }
.stat-label { display: block; margin-top: 7px; font-size: .86rem; color: #aebfd0; }

/* ---------- Approach steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { position: relative; background: var(--bg-warm); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 22px; overflow: hidden; }
.step::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--c); }
.step-num { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--c); opacity: .9; }
.step h3 { font-size: 1.14rem; font-weight: 600; margin: 8px 0 7px; }
.step p { color: var(--ink-soft); font-size: .93rem; }

/* ---------- About ---------- */
.about { background: var(--bg-warm); }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 44px; align-items: center; }
.about-media { position: relative; }
.about-photo { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }
.about-photo-fallback {
  display: none; aspect-ratio: 4/3; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #15365a, var(--navy)); color: #cfe;
  flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
}
.about-photo-fallback p { font-family: var(--font-head); font-weight: 600; color: #e7eef6; letter-spacing: .02em; }
.about-media.no-photo .about-photo { display: none; }
.about-media.no-photo .about-photo-fallback { display: flex; }
.about-badge {
  position: absolute; right: -12px; bottom: -16px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow);
  font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .94rem; line-height: 1.3;
}
.about-copy p { color: var(--ink-soft); margin-top: 13px; font-size: 1rem; }
.about-signoff { font-family: var(--font-head); font-weight: 700; color: var(--navy) !important; margin-top: 18px !important; font-size: 1.1rem !important; }

/* ---------- CTA + contact ---------- */
.cta { padding: clamp(48px, 5.5vw, 80px) 0; background:
    radial-gradient(58% 80% at 92% 8%, rgba(45,179,192,.14), transparent 60%),
    radial-gradient(58% 80% at 0% 100%, rgba(242,168,60,.12), transparent 60%),
    var(--bg-tint); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.cta-copy h2 { font-size: clamp(1.8rem, 3.1vw, 2.4rem); }
.cta-copy p { color: var(--ink-soft); font-size: 1.06rem; margin-top: 14px; max-width: 44ch; }
.cta-contact { margin-top: 24px; display: grid; gap: 13px; }
.cta-contact li { display: flex; flex-direction: column; }
.cta-contact span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); }
.cta-contact a { font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--navy); }
.cta-contact a:hover { color: var(--blue); }
.cta-reassure { margin-top: 22px; font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--green); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.field .opt { color: var(--slate); font-weight: 400; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 9px; background: var(--bg-warm);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(59,125,216,.14); }
.field textarea { resize: vertical; }
.form-status { margin-top: 12px; font-size: .92rem; font-weight: 500; min-height: 1.2em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #d9534f; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c8d8; padding: 40px 0 22px; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #8fa3b7; }
.footer-brand p { margin-top: 9px; font-size: .92rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { color: #c6d4e2; font-weight: 500; font-size: .93rem; }
.footer-nav a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 18px; font-size: .84rem; color: #8fa3b7; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 300px; max-width: 480px; }
  .pillar-grid, .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .why-grid, .about-grid, .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-badge { right: 12px; }
}
@media (max-width: 760px) {
  .main-nav {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 24px 18px; transform: translateY(-130%); transition: transform .28s ease; visibility: hidden;
  }
  .main-nav.open { transform: translateY(0); visibility: visible; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .main-nav .nav-cta { text-align: center; margin-top: 10px; border-bottom: 0; }
  .nav-toggle { display: flex; }
  .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); }
}
@media (max-width: 600px) {
  .pillar-grid, .cards, .steps, .why-stats, .work-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 16px; }
  .mock-phone { width: 122px; }
  .strip-wrap { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock-dash, .mock-phone, .mock-pill { animation: none; }
  .mock-chart .bars rect { animation: none; }
}
