/* ── Reset & base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0A1628;
  --navy-mid:  #0A2E80;
  --gold:      #E65100;
  --gold-lt:   #FF8F00;
  --light:     #f5f7fa;
  --white:     #ffffff;
  --text:      #1a1a2e;
  --text-muted:#5a6070;
  --border:    #dde2ea;
  --radius:    8px;
  --shadow:    0 4px 24px rgba(13,34,64,.10);
  --shadow-lg: 0 8px 40px rgba(13,34,64,.16);
  --trans:     .2s ease;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --max-w: 1140px;
  --section-pad: 80px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utilities ───────────────────────────────────────────── */
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: 24px; }
.section-pad { padding-block: var(--section-pad); }
.bg-light { background: var(--light); }
.bg-dark  { background: var(--navy); color: var(--white); }
.centered { text-align: center; }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-eyebrow.light { color: var(--gold-lt); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title.light { color: var(--white); }
.section-title.centered { margin-inline: auto; }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 48px;
}
.section-sub.centered { margin-inline: auto; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--trans), color var(--trans), border-color var(--trans), transform var(--trans);
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-lt); border-color: var(--gold-lt); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

.btn-nav {
  background: var(--gold);
  color: var(--white);
  padding: 9px 20px;
  font-size: .875rem;
}
.btn-nav:hover { background: var(--gold-lt); }

.btn-full { width: 100%; justify-content: center; }

/* ── Nav ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow var(--trans);
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.3); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  letter-spacing: -.01em;
  transition: opacity var(--trans);
}
.nav-logo:hover { opacity: .85; color: var(--white); }
.nav-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  flex-shrink: 0;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 500;
  transition: color var(--trans);
}
.nav-links a:hover { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform var(--trans), opacity var(--trans);
  border-radius: 2px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding-block: 100px 120px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1565C0 0%, #E65100 100%);
}

.hero-inner { position: relative; z-index: 1; max-width: 720px; }

.hero-eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 16px;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-bg-accent {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230,81,0,.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Pain Points ─────────────────────────────────────────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.pain-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow var(--trans), border-color var(--trans);
}
.pain-card:hover { box-shadow: var(--shadow); border-color: #c9d2de; }

.pain-icon { width: 44px; height: 44px; flex-shrink: 0; }

.pain-card h3 {
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}

.pain-closer {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-inline: auto;
}
.pain-closer strong { color: var(--navy); }

/* ── Services ────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow var(--trans), transform var(--trans);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.service-number {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
  opacity: .7;
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p { font-size: .95rem; color: var(--text-muted); line-height: 1.7; }

/* ── Differentiators ─────────────────────────────────────── */
.diff-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.diff-text p {
  color: rgba(255,255,255,.75);
  font-size: .98rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.diff-quote {
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  margin: 28px 0;
  font-family: var(--font-head);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--white);
  font-style: italic;
}

.diff-industries {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.diff-industries li {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  padding: 5px 16px;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
}

.steps-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 20px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.steps-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  transition: background var(--trans);
}
.steps-list li:hover { background: rgba(255,255,255,.1); }
.steps-list li span {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
  min-width: 28px;
}

/* ── Case Studies ────────────────────────────────────────── */
.cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.cs-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cs-badge {
  background: var(--navy);
  color: var(--white);
  padding: 12px 24px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cs-body {
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cs-col h4, .cs-result h4 {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.cs-col ul li {
  font-size: .9rem;
  color: var(--text);
  padding: 4px 0;
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.cs-col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.cs-result {
  grid-column: 1 / -1;
  background: var(--light);
  border-radius: 6px;
  padding: 16px 20px;
}
.cs-result p { font-size: .9rem; color: var(--navy); font-weight: 500; line-height: 1.6; }

/* ── Messaging Strip ─────────────────────────────────────── */
.strip { background: var(--gold); color: var(--white); padding-block: 48px; }

.strip-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
}

.strip-lead {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.5;
}

.strip-line {
  font-family: var(--font-head);
  font-size: clamp(.95rem, 2vw, 1.2rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.6;
}

.strip-line strong { font-weight: 700; }

/* ── Schedule ────────────────────────────────────────────── */
.schedule .calendly-inline-widget {
  margin-top: 8px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ── Contact ─────────────────────────────────────────────── */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-details { display: flex; flex-direction: column; gap: 20px; }

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: .95rem;
  line-height: 1.5;
}
.contact-details svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: var(--gold);
  margin-top: 1px;
}
.contact-details a { color: var(--navy); font-weight: 500; }
.contact-details a:hover { color: var(--gold); }

/* ── Contact Form ─────────────────────────────────────────── */
.contact-form {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}
.form-group label span { color: var(--gold); margin-left: 2px; }

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  width: 100%;
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(22,52,96,.12);
}
.form-group input.error,
.form-group textarea.error { border-color: #d9534f; }

.form-status {
  font-size: .9rem;
  padding: 10px 0;
  min-height: 24px;
  font-weight: 500;
}
.form-status.success { color: #2e7d32; }
.form-status.error   { color: #d9534f; }

.btn-loading { display: none; }
.btn.is-loading .btn-label  { display: none; }
.btn.is-loading .btn-loading { display: inline; }

.form-consent {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.5;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding-block: 48px 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand-img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.footer-tagline {
  font-size: .8rem;
  color: var(--gold-lt);
  margin-top: 3px;
  font-style: italic;
}

.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer-nav a {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  transition: color var(--trans);
}
.footer-nav a:hover { color: var(--white); }

.footer-copy { font-size: .8rem; color: rgba(255,255,255,.35); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --section-pad: 60px; }

  .diff-inner    { grid-template-columns: 1fr; gap: 48px; }
  .cs-grid       { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 700px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-links li:last-child { border: none; margin-top: 12px; }
  .nav-links a { padding: 14px 0; display: block; }
  .btn-nav { width: 100%; justify-content: center; }

  .hero { padding-block: 72px 88px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .pain-grid     { grid-template-columns: 1fr; }
}

/* ── Legal / prose pages ─────────────────────────────────── */
.legal { max-width: 760px; }
.legal .updated { color: var(--text-muted); font-size: .9rem; margin-bottom: 40px; }
.legal h2 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 12px;
}
.legal h2:first-of-type { margin-top: 0; }
.legal p { margin-bottom: 16px; line-height: 1.75; color: var(--text); }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal ul li { margin-bottom: 8px; line-height: 1.6; }
.legal a { color: var(--navy-mid); text-decoration: underline; }
.legal a:hover { color: var(--gold); }
