/* ==========================================================================
   MoreSALES.ca — now part of Goose Digital
   Tokens + styles lifted from design_handoff_moresales_landing (Direction A).
   Single override vs. reference: brand green --green = #54B948 (Goose Green 361 C).
   ========================================================================== */

:root {
  /* Surfaces & text */
  --bg: #eaf0f7;
  --ink: #0d111c;
  --ink-2: #16203a;
  --ink-soft: #232c3e;
  --muted: #465066;
  --muted-2: #5b6781;
  --eyebrow: #626b7f;      /* darkened from reference #8a93a6 for WCAG AA on light surfaces */
  --dark: #0d111c;
  --card: #ffffff;

  /* Brand */
  --green: #54B948;        /* override — official Goose Green 361 C */
  --green-rgb: 84, 185, 72;
  --orange: #F58025;       /* official Goose Orange 158 C (replaces reference #ee6b2c) */
  --orange-rgb: 245, 128, 37;

  /* Pastels (card backgrounds / icon tiles) */
  --cyan: #d8edf3;     --cyan-tile: #d8eef1;
  --peach: #fbe2d2;    --peach-tile: #fde3d3;
  --mint: #d9efe0;     --mint-tile: #dcefe1;
  --lav: #e6e9f8;      --lav-tile: #e8eafb;

  /* Decorative dot motif */
  --dot-teal: #2bb3c0;
  --dot-orange: #F58025;
  --dot-green: #5bbf6a;
  --dot-lav: #8a8fe8;

  /* Radii */
  --r-pill: 999px;
  --r-feature: 28px;
  --r-statcard: 26px;
  --r-svc: 22px;
  --r-card: 20px;
  --r-tile: 14px;

  /* Shadows */
  --sh-rest: 0 1px 3px rgba(13,17,28,0.06);
  --sh-hover: 0 18px 38px rgba(13,17,28,0.14);
  --sh-hover-soft: 0 16px 36px rgba(13,17,28,0.12);
  --sh-statcard: 0 30px 60px rgba(13,17,28,0.12);

  /* Layout */
  --content: 1200px;
  --page-pad: 40px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--ink);
}
.page { display: block; width: 100%; overflow: hidden; }
a { text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .18s ease; }
img { display: block; }
::selection { background: var(--orange); color: #fff; }

.wrap { max-width: var(--content); margin: 0 auto; padding-left: var(--page-pad); padding-right: var(--page-pad); }

/* ---------- Shared atoms ---------- */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--eyebrow); text-transform: uppercase; }
.eyebrow-orange { color: var(--orange); }
.arrow { font-size: 18px; }

.dots { display: flex; gap: 5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.sm { width: 7px; height: 7px; }
.dot.lg { width: 16px; height: 16px; }
.dot-teal { background: var(--dot-teal); }
.dot-orange { background: var(--dot-orange); }
.dot-green { background: var(--dot-green); }
.dot-lav { background: var(--dot-lav); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; line-height: 1;
  padding: 16px 26px; border-radius: var(--r-pill); white-space: nowrap;
}
.btn-green { color: #fff; background: var(--green); box-shadow: 0 12px 26px rgba(var(--green-rgb), 0.32); }
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(var(--green-rgb), 0.40); }
.btn-white { color: var(--ink); background: #fff; box-shadow: 0 1px 3px rgba(13,17,28,0.08); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--sh-hover-soft); }
.btn-orange { color: #fff; background: var(--orange); box-shadow: 0 12px 26px rgba(var(--orange-rgb), 0.32); }
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(var(--orange-rgb), 0.42); }
.btn-lg { padding: 16px 28px; box-shadow: 0 12px 26px rgba(var(--orange-rgb), 0.35); }

/* Icon tiles + pastel variants */
.icon-tile { width: 56px; height: 56px; border-radius: var(--r-tile); display: flex; align-items: center; justify-content: center; }
.tile-cyan { background: var(--cyan-tile); }
.tile-peach { background: var(--peach-tile); }
.tile-mint { background: var(--mint-tile); }
.tile-lav { background: var(--lav-tile); }

/* Section header patterns */
.section { margin-top: 84px; }
.section-head { margin-bottom: 32px; }
.section-h2 { font-size: 38px; line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; margin: 12px 0 0; }
.section-head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head-aside { font-size: 15px; line-height: 1.55; color: var(--muted-2); max-width: 330px; margin: 0; }
.section-head-center { text-align: center; max-width: 1000px; margin: 0 auto 42px; }
.section-sub { font-size: 17px; color: var(--muted-2); margin: 0; }

/* Card grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Top bar ---------- */
.topbar { padding-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brandlock { display: flex; align-items: center; gap: 16px; }
.brandlock-divider { width: 1px; height: 26px; background: #c3cede; }
.brandlock-label { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: var(--muted-2); }
.logo-ms { height: 30px; width: auto; }
.logo-goose { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav > a:not(.btn) { font-size: 14px; font-weight: 600; color: #384155; }
.nav > a:not(.btn):hover { color: var(--ink); }
.nav .btn-orange { font-size: 14px; padding: 11px 20px; box-shadow: none; }

/* ---------- Hero ---------- */
.hero { padding-top: 64px; padding-bottom: 40px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: var(--r-pill); background: #fff; box-shadow: var(--sh-rest); margin-bottom: 28px; }
.eyebrow-pill-text { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted-2); }
.hero-h1 { font-size: 60px; line-height: 1.02; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 24px; text-wrap: balance; }
.ms-green { color: var(--green); }
.hero-intro { font-size: 19px; line-height: 1.55; color: var(--muted); margin: 0 0 34px; max-width: 540px; }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.hero-card-wrap { position: relative; }
.hero-card-glow { position: absolute; top: -18px; right: 8px; width: 200px; height: 200px; background: radial-gradient(circle at 30% 30%, #cfeef2, transparent 70%); filter: blur(8px); }
.statcard { position: relative; background: #fff; border-radius: var(--r-statcard); padding: 30px; box-shadow: var(--sh-statcard); }
.statcard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.statcard-label { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--eyebrow); text-transform: uppercase; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { border-radius: 16px; padding: 22px; }
.stat-cyan { background: var(--cyan-tile); }
.stat-peach { background: var(--peach-tile); }
.stat-mint { background: var(--mint-tile); }
.stat-lav { background: var(--lav-tile); }
.stat-num { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat-plus { font-size: 24px; }
.stat-label { font-size: 13px; font-weight: 600; margin-top: 4px; }
.stat-cyan .stat-label { color: #3f5560; }
.stat-peach .stat-label { color: #6b4b39; }
.stat-mint .stat-label { color: #3c5a45; }
.stat-lav .stat-label { color: #454a73; }

/* ---------- Intelligent Marketing feature ---------- */
.im-wrap { margin-top: 40px; }
.im { position: relative; background: var(--dark); border-radius: var(--r-feature); padding: 54px 56px; overflow: hidden; }
.im-dots { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.im-corner-dots { position: absolute; top: -40px; right: -30px; display: flex; gap: 14px; opacity: 0.9; }
.im-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; position: relative; }
.im-h2 { font-size: 40px; line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; color: #fff; margin: 14px 0 16px; display: flex; align-items: center; gap: 14px; }
.sparkle { flex: none; }
.im-text { font-size: 17px; line-height: 1.6; color: #aeb7c9; margin: 0 0 28px; max-width: 460px; }
.im-rows { display: flex; flex-direction: column; gap: 12px; }
.im-row { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--r-tile); padding: 16px 18px; font-size: 15px; font-weight: 600; color: #eef1f6; }
.im-chip { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.chip-teal { background: var(--dot-teal); }
.chip-orange { background: var(--orange); }
.chip-green { background: var(--dot-green); }

/* ---------- Industries / generic icon cards ---------- */
.icard { background: #fff; border-radius: var(--r-card); padding: 26px; box-shadow: var(--sh-rest); transition: box-shadow .18s ease; }
.icard:hover { box-shadow: var(--sh-hover-soft); }
.icard .icon-tile { margin-bottom: 20px; }
.icard-title { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.icard-text { font-size: 14px; line-height: 1.5; color: var(--muted-2); margin: 0; }

/* ---------- Services ---------- */
.services-h2 { font-size: 40px; line-height: 1.05; font-weight: 800; letter-spacing: -0.025em; white-space: nowrap; margin: 12px 0 12px; }
.serif-accent { font-family: 'Newsreader', serif; font-style: italic; font-weight: 500; letter-spacing: -0.01em; color: var(--orange); }
.svc-card { position: relative; overflow: hidden; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-svc); min-height: 336px; text-align: center; box-shadow: var(--sh-rest); }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--sh-hover); }
.svc-head { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; height: 172px; }
.head-cyan { background: var(--cyan); }
.head-peach { background: var(--peach); }
.head-mint { background: var(--mint); }
.head-lav { background: var(--lav); }
.svc-foot { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.svc-icon { position: relative; }
.svc-body { display: flex; flex-direction: column; gap: 8px; padding: 24px 22px 28px; }
.svc-title { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.svc-text { font-size: 14px; line-height: 1.5; color: var(--muted-2); }

/* ---------- Platforms ---------- */
.pcard { display: block; background: #fff; border-radius: var(--r-card); padding: 26px; box-shadow: var(--sh-rest); transition: box-shadow .18s ease; }
.pcard:hover { box-shadow: var(--sh-hover-soft); }
.pcard .icon-tile { margin-bottom: 18px; }
.pcard-title { font-size: 18px; font-weight: 700; margin: 0 0 6px; display: flex; align-items: center; justify-content: space-between; }
.pcard-arrow { color: #9aa6bf; }
.pcard-text { font-size: 13.5px; line-height: 1.45; color: var(--muted-2); margin: 0; }
.platforms .grid-4 { gap: 16px; }

/* ---------- Mike Jennings ---------- */
.mike-wrap { margin-top: 84px; }
.mike-card { background: #fff; border-radius: var(--r-feature); padding: 46px; display: grid; grid-template-columns: 240px 1fr; gap: 46px; align-items: center; box-shadow: var(--sh-rest); }
.mike-photo { width: 240px; height: 280px; border-radius: var(--r-card); object-fit: cover; object-position: 50% 22%; background: #e3e9f1; }
.mike-quote { font-size: 25px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; margin: 16px 0 22px; text-wrap: pretty; }
.mike-attrib { display: flex; align-items: center; gap: 14px; }
.mike-name { font-size: 17px; font-weight: 700; }
.mike-role { font-size: 14px; color: var(--muted-2); }

/* ---------- Testimonials ---------- */
.testimonials { margin-top: 48px; }
.tcard { background: #fff; border-radius: var(--r-card); padding: 30px; box-shadow: var(--sh-rest); }
.tquote { font-size: 34px; line-height: 1; font-weight: 800; margin-bottom: 8px; }
.tquote-orange { color: var(--orange); }
.tquote-teal { color: var(--dot-teal); }
.tcard-text { font-size: 17px; line-height: 1.5; font-weight: 500; margin: 0 0 18px; color: var(--ink-soft); }
.tcard-attrib { font-size: 14px; font-weight: 600; color: var(--muted-2); }

/* ---------- Contact / offices ---------- */
.contact-wrap { margin-top: 84px; padding-bottom: 96px; }
.contact { background: var(--dark); border-radius: var(--r-feature); padding: 56px; position: relative; overflow: hidden; }
.contact-dots { position: absolute; bottom: -40px; left: 40px; display: flex; gap: 14px; opacity: 0.85; }
.contact-dots .dot.lg { width: 18px; height: 18px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; position: relative; }
.contact-h2 { font-size: 38px; line-height: 1.06; font-weight: 800; letter-spacing: -0.02em; color: #fff; margin: 0 0 16px; }
.contact-text { font-size: 17px; line-height: 1.55; color: #aeb7c9; margin: 0 0 30px; max-width: 420px; }
.offices-label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: #7e88a0; text-transform: uppercase; margin-bottom: 16px; }
.offices { display: flex; flex-direction: column; gap: 12px; }
.office-head { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 20px 22px; }
.office-head-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.office-city { font-size: 17px; font-weight: 700; color: #fff; }
.office-badge { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; color: #1a0e06; background: var(--orange); padding: 3px 9px; border-radius: var(--r-pill); white-space: nowrap; }
.office-addr { font-size: 14px; color: #aeb7c9; line-height: 1.55; }
.office-phone { font-size: 15px; color: #eef1f6; font-weight: 600; margin-top: 10px; }
.office-phone a { color: inherit; }
.office-phone a:hover { color: var(--orange); }
.office-cities { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.office-mini { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-tile); padding: 16px; }
.office-mini-city { font-size: 15px; font-weight: 700; color: #fff; }
.office-mini-sub { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: #8893aa; text-transform: uppercase; margin-top: 5px; }
.offices-link { font-size: 14px; font-weight: 700; color: var(--orange); display: inline-block; margin-top: 4px; }
.offices-link:hover { opacity: 0.85; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid #d4dde9; }
.footer-inner { padding-top: 30px; padding-bottom: 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 24px; width: auto; }
.footer-note { font-size: 13px; color: var(--eyebrow); }
.footer-copy { font-size: 13px; color: var(--eyebrow); }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet: 4-col card grids -> 2-col */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }

  /* 2-col feature grids stack */
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .hero-intro { max-width: none; }
  .im-grid { grid-template-columns: 1fr; gap: 32px; }
  .mike-card { grid-template-columns: 1fr; gap: 28px; justify-items: start; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-2 { grid-template-columns: 1fr; }

  /* Services H2 relaxes from nowrap */
  .services-h2 { white-space: normal; font-size: 34px; }
}

/* Narrow tablet / large phone */
@media (max-width: 760px) {
  :root { --page-pad: 24px; }
  .section { margin-top: 60px; }
  .section-head-split { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-head-aside { max-width: none; }
  .hero-h1 { font-size: 46px; }
  .im { padding: 40px 32px; }
  .im-h2 { font-size: 32px; }
  .contact { padding: 40px 32px; }
  .contact-h2 { font-size: 32px; }
  .mike-card { padding: 32px; }
}

/* Phone: single column cards */
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .topbar { flex-direction: column; align-items: flex-start; gap: 18px; }
  .nav { flex-wrap: wrap; gap: 16px 20px; }
  .hero-h1 { font-size: 38px; }
  .section-h2, .contact-h2 { font-size: 30px; }
  .services-h2 { font-size: 28px; }
  .mike-quote { font-size: 21px; }
  .office-cities { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
