/* ═══════════════════════════════════════════
   PFG AI Labs — Global Stylesheet
   Brand: #1F4FA0 (blue) · #1B2A4E (navy)
═══════════════════════════════════════════ */

:root {
  --blue:       #1F4FA0;
  --navy:       #1B2A4E;
  --navy-dark:  #111c35;
  --accent:     #3a6fd8;
  --white:      #ffffff;
  --off-white:  #f5f7fb;
  --light-grey: #e4e8f0;
  --text:       #1a1a1a;
  --grey-text:  #555e6e;
  --max-w:      1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { display: block; }

/* ── LAYOUT ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section   { padding: 72px 0; }
.section-sm { padding: 48px 0; }

/* ── NAV ── */
.site-nav {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--light-grey);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute;
  top: 65px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 2px solid var(--light-grey);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  z-index: 199;
}
.mobile-menu a {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-top: 1px solid var(--light-grey);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--blue); background: var(--off-white); }
.mobile-menu a.mobile-cta {
  color: var(--blue);
  font-weight: 700;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}
.nav-logo svg { height: 40px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--blue); }
.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 6px;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: var(--accent) !important; text-decoration: none !important; }

/* ── HERO ── */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(31,79,160,0.35) 0%, transparent 60%);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  max-width: 720px;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: #6fa3e8;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  border: 2px solid transparent;
  letter-spacing: 0.2px;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); text-decoration: none; }
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); text-decoration: none; }
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--light-grey);
}
.btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }

/* ── SECTION HEADERS ── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: var(--grey-text);
  max-width: 580px;
  line-height: 1.6;
}

/* ── CARDS ── */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.card {
  background: #fff;
  border: 1px solid var(--light-grey);
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 4px 16px rgba(27,42,78,0.1); transform: translateY(-2px); }
.card-icon {
  font-size: 28px;
  margin-bottom: 14px;
}
.card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.card p { font-size: 14px; color: var(--grey-text); line-height: 1.6; }
.card-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}

/* ── FEATURE STRIP ── */
.feature-strip {
  background: var(--off-white);
  border-top: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
}
.feature-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.feature-item {
  padding: 32px 28px;
  border-right: 1px solid var(--light-grey);
}
.feature-item:last-child { border-right: none; }
.feature-item .num {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}
.feature-item .label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.feature-item .sub { font-size: 12px; color: var(--grey-text); }

/* ── DARK BAND ── */
.dark-band {
  background: var(--navy);
  color: #fff;
  padding: 64px 0;
}
.dark-band .section-title { color: #fff; }
.dark-band .section-sub { color: rgba(255,255,255,0.7); max-width: 640px; }
.dark-band .section-label { color: #6fa3e8; }

/* ── QUOTE / TESTIMONIAL ── */
.testimonial {
  background: var(--off-white);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 28px 32px;
  margin-top: 32px;
}
.testimonial blockquote {
  font-size: 17px;
  font-style: italic;
  color: var(--navy);
  line-height: 1.65;
  margin-bottom: 14px;
}
.testimonial cite {
  font-size: 13px;
  font-weight: 700;
  color: var(--grey-text);
  font-style: normal;
}

/* ── PROCESS STEPS ── */
.steps { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--light-grey);
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}
.step-num {
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.step p  { font-size: 14px; color: var(--grey-text); line-height: 1.55; }

/* ── CTA BAND ── */
.cta-band {
  background: var(--blue);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 12px; }
.cta-band p  { font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 28px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 60px 0 52px;
}
.page-hero .section-label { color: rgba(255,255,255,0.72); }
.page-hero h1 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; color: #fff; margin-bottom: 12px; }
.page-hero p  { font-size: 17px; color: rgba(255,255,255,0.72); max-width: 580px; }

/* ── FORM ── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--light-grey);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,79,160,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── FOOTER ── */
.site-footer {
  background: #fff;
  color: var(--grey-text);
  border-top: 1px solid var(--light-grey);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand svg { height: 34px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; line-height: 1.6; max-width: 280px; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey-text);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 13px; color: var(--grey-text); text-decoration: none; transition: color 0.15s; }
.footer-col a:hover { color: var(--blue); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--light-grey);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--grey-text);
}

/* ── BADGE / TAG ── */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
.tag-blue   { background: #deeaf8; color: var(--blue); }
.tag-navy   { background: #e2e6f0; color: var(--navy); }
.tag-green  { background: #e0f4ec; color: #1a6b3a; }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--light-grey); margin: 48px 0; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .card-grid-3, .card-grid-2, .footer-grid,
  .feature-strip .container { grid-template-columns: 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid var(--light-grey); }
  .feature-item:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { gap: 18px; }
  /* Collapse all inline two-column grids */
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  .hero { padding: 64px 0 56px; }
  .section { padding: 48px 0; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .page-hero { padding: 44px 0 36px; }
  .page-hero h1 { font-size: 26px; }
  .cta-band { padding: 48px 0; }
  .dark-band { padding: 48px 0; }
  .section-title { font-size: 22px; }
  .btn { font-size: 13px; padding: 10px 18px; }
}
