/* ============================================================
   Landing Grid Analytics — consulting site (local-review draft)
   Brand palette from lga-business: #1D428A / #0D3B66 / #6B9AC4
   ============================================================ */

:root {
  --blue: #1D428A;
  --blue-deep: #0D3B66;
  --blue-700: #16356f;
  --accent: #6B9AC4;
  --accent-soft: #9cc0e0;
  --ink: #0c1424;
  --ink-2: #25324a;
  --muted: #5a6679;
  --line: #e4e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-band: #f4f6fb;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(13, 59, 102, .06), 0 4px 16px rgba(13, 59, 102, .06);
  --shadow-md: 0 8px 30px rgba(13, 59, 102, .12);
  --maxw: 1140px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --display: 'Sora', var(--font);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

/* ---------- Review banner ---------- */
.review-banner {
  background: repeating-linear-gradient(45deg, #fff4d6, #fff4d6 12px, #ffedc0 12px, #ffedc0 24px);
  color: #6b4e00;
  font-size: 13px;
  text-align: center;
  padding: 7px 16px;
  border-bottom: 1px solid #f0d896;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--blue); }
.brand-mark { display: inline-flex; color: var(--blue); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--ink); letter-spacing: -.01em; }
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: .02em; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 500; font-size: 15px; color: var(--ink-2); transition: color .15s; }
.nav-links a:hover { color: var(--blue); }
/* Keep the nav CTA button white — override the generic nav link color above */
.nav-links a.btn-primary { color: #fff; }
.nav-links a.btn-primary:hover { color: #fff; }

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

.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 20px; border-bottom: 1px solid var(--line); background: var(--white); }
.mobile-menu a { padding: 12px 8px; font-weight: 600; border-radius: 8px; }
.mobile-menu a:hover { background: var(--bg-soft); }
.mobile-menu .btn { margin-top: 6px; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .12s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(29,66,138,.28); }
.btn-primary:hover { background: var(--blue-deep); box-shadow: 0 8px 24px rgba(29,66,138,.36); }
.btn-ghost { background: transparent; color: var(--blue); border-color: rgba(29,66,138,.28); }
.btn-ghost:hover { background: rgba(29,66,138,.06); border-color: var(--blue); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f7f9fd 0%, #ffffff 100%); }
.hero-glow {
  position: absolute; inset: -30% 0 auto 0; height: 700px;
  background:
    radial-gradient(600px 320px at 20% 0%, rgba(107,154,196,.30), transparent 70%),
    radial-gradient(700px 360px at 85% 10%, rgba(29,66,138,.18), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; padding: 86px 24px 96px; max-width: 920px; }
.eyebrow {
  font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin: 0 0 18px;
}
.hero-title {
  font-family: var(--display); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(34px, 5.4vw, 60px); line-height: 1.05; margin: 0 0 22px; color: var(--ink);
}
.grad {
  background: linear-gradient(100deg, var(--blue) 0%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-lede { font-size: clamp(17px, 2.1vw, 21px); color: var(--ink-2); max-width: 680px; margin: 0 0 34px; }
.hero-lede em { font-style: normal; color: var(--blue); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 12px; list-style: none; padding: 0; margin: 0;
}
.hero-trust li {
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  background: var(--white); border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-sm);
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.band { background: var(--bg-band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head h2 {
  font-family: var(--display); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(26px, 3.6vw, 40px); line-height: 1.12; margin: 8px 0 16px; color: var(--ink);
}
.muted { color: var(--muted); }
.small { font-size: 13px; }
h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-num { font-family: var(--display); font-weight: 800; color: var(--accent); font-size: 20px; margin-bottom: 10px; }
.card h3 { font-size: 20px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); }

/* ---------- Services ---------- */
.services { margin-bottom: 26px; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .2s, border-color .2s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.service-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.service-top h3 { font-size: 21px; margin: 0; }
.service > p { color: var(--ink-2); margin: 0 0 18px; }
.pill {
  flex: none; font-size: 12.5px; font-weight: 700; color: var(--blue-deep);
  background: rgba(107,154,196,.18); border: 1px solid rgba(107,154,196,.4);
  padding: 5px 12px; border-radius: 999px;
}
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 15px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px;
  border-radius: 50%; background: rgba(29,66,138,.10);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231D428A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.services-note { margin: 8px 0 0; text-align: center; }

/* ---------- Features ---------- */
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); border-top: 3px solid var(--accent);
  transition: transform .18s, box-shadow .2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature h3 { font-size: 18px; margin: 0 0 8px; color: var(--ink); }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Proof ---------- */
.proof-card {
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px;
  transition: transform .18s, box-shadow .2s;
}
.proof-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.proof-card h3 { font-size: 18px; margin: 0; }
.proof-card p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.tag {
  align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .03em;
  color: var(--blue-deep); background: rgba(107,154,196,.16);
  padding: 4px 11px; border-radius: 999px;
}
.stats {
  margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  background: var(--blue-deep); border-radius: var(--radius); padding: 30px;
  background-image: linear-gradient(120deg, var(--blue-deep), var(--blue));
}
.stat { text-align: center; color: #fff; }
.stat-num { display: block; font-family: var(--display); font-weight: 800; font-size: 22px; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.78); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.about-grid h2 { font-family: var(--display); font-weight: 800; font-size: clamp(24px,3.2vw,36px); margin: 8px 0 16px; letter-spacing: -.02em; }
.about-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-md); }
.about-card h3 { font-size: 18px; margin: 0 0 16px; }

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  padding: 44px; box-shadow: var(--shadow-md);
}
.contact-copy h2 { font-family: var(--display); font-weight: 800; font-size: clamp(24px,3.2vw,36px); margin: 8px 0 14px; letter-spacing: -.02em; }
.contact-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.contact-points li { position: relative; padding-left: 24px; color: var(--ink-2); }
.contact-points li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-soft); transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 4px rgba(107,154,196,.18);
}
.field textarea { resize: vertical; }
.form-note { margin: 4px 0 0; font-size: 14px; font-weight: 600; color: var(--blue-deep); min-height: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cdd6e6; padding: 48px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; flex-wrap: wrap; }
.site-footer .brand-name { color: #fff; font-size: 18px; }
.site-footer .muted { color: #93a0b8; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #cdd6e6; font-weight: 500; font-size: 15px; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-legal .muted { color: #7e8ca6; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu.open { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero-inner { padding: 60px 24px 70px; }
  .brand-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
