/* ============================================================
   FRP — Flat Rate Processing | Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,700;0,900;1,700&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --navy:         #0b1c30;
  --navy-mid:     #14253d;
  --navy-light:   #1e3352;
  --blue:         #2e6fbc;
  --blue-light:   #4a8fd4;
  --gold:         #c9a84c;
  --gold-light:   #e2c47a;
  --gold-dim:     rgba(201,168,76,0.14);
  --cream:        #f7f3ec;
  --cream-dark:   #ede8df;
  --white:        #ffffff;
  --text:         #1a2635;
  --text-muted:   #5a6474;
  --border:       #d8d0bc;
  --border-soft:  #eae5da;
  --red:          #b93030;
  --shadow-sm:    0 2px 8px rgba(11,28,48,0.07);
  --shadow-md:    0 6px 28px rgba(11,28,48,0.11);
  --shadow-lg:    0 16px 52px rgba(11,28,48,0.16);
  --radius:       8px;
  --radius-sm:    5px;
  --t:            0.22s ease;
  --max-w:        1100px;
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--navy); }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.12;
  color: var(--navy);
}
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.5vw, 38px); }
h3 { font-size: clamp(20px, 2.5vw, 26px); }
h4 { font-size: 18px; }
p  { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 10px;
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 112px 0; }
.bg-cream   { background: var(--cream); }
.bg-navy    { background: var(--navy); color: var(--white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.text-center { text-align: center; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46,111,188,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
  transform: translateY(-1px);
}

/* ── HEADER / NAV ───────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.site-logo img { height: 44px; width: auto; }
.site-logo:hover { opacity: 0.85; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
  transition: all var(--t);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
  background: rgba(46,111,188,0.07);
}
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--t);
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(46,111,188,0.2) 0%, transparent 65%),
              radial-gradient(ellipse 50% 40% at 10% 80%, rgba(201,168,76,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; max-width: 620px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  margin-bottom: 32px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stat-row {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat .lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t), transform var(--t);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(46,111,188,0.09);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p  { font-size: 14px; color: var(--text-muted); }

/* ── SECTION HEADER ─────────────────────────────────────── */
.section-header { margin-bottom: 52px; }
.section-header.text-center .section-divider { margin: 16px auto 0; }
.section-divider {
  width: 44px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  border-radius: 2px;
  margin-top: 16px;
}
.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin-top: 14px;
}
.section-header.text-center p { margin-left: auto; margin-right: auto; }

/* ── HIGHLIGHT STRIP ────────────────────────────────────── */
.highlight-strip {
  background: var(--blue);
  color: var(--white);
  padding: 18px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.highlight-strip a { color: var(--gold-light); }

/* ── INTEGRATION LOGOS ──────────────────────────────────── */
.integration-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.integration-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-mid);
  white-space: nowrap;
}

/* ── TESTIMONIAL ────────────────────────────────────────── */
.testimonial {
  background: var(--cream);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
}
.testimonial blockquote {
  font-size: 15px;
  font-style: italic;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.7;
}
.testimonial cite {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-style: normal;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 40px; margin-bottom: 16px; filter: brightness(0) invert(1) opacity(0.9); }
.footer-brand p { font-size: 13px; line-height: 1.7; }
.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color var(--t);
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ── CONTACT INFO ───────────────────────────────────────── */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-info-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(46,111,188,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.contact-info-item .detail { font-size: 14px; color: var(--text-muted); }
.contact-info-item .label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  display: block;
  margin-bottom: 2px;
}

/* ── PAGE HERO (inner pages) ────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 64px 0;
  color: var(--white);
  border-bottom: 3px solid var(--blue);
}
.page-hero h1 { color: var(--white); font-size: clamp(28px, 4vw, 42px); }
.page-hero .eyebrow { color: var(--gold-light); }
.breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ── UTILITIES ──────────────────────────────────────────── */
.text-blue   { color: var(--blue); }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--text-muted); }
.text-white  { color: var(--white); }
.fw-700      { font-weight: 700; }
.mt-8        { margin-top: 8px; }
.mt-16       { margin-top: 16px; }
.mt-24       { margin-top: 24px; }
.mt-40       { margin-top: 40px; }
.mb-8        { margin-bottom: 8px; }
.mb-16       { margin-bottom: 16px; }
.mb-24       { margin-bottom: 24px; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-stat-row { flex-direction: column; gap: 24px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .main-nav { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border-soft); box-shadow: var(--shadow-md); }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section    { padding: 56px 0; }
  .section-sm { padding: 32px 0; }
  .section-lg { padding: 72px 0; }
}
