/* ============================================================
   RPA CONSULTANTS LLC — Main Stylesheet
   rpaconsultantsllc.com
   ============================================================ */

/* ── Custom Properties ──────────────────────────────────────── */
:root {
  --navy:       #1A2B4A;
  --navy-dark:  #111E33;
  --navy-deep:  #0D1829;
  --teal:       #2E7D9E;
  --teal-dark:  #256b88;
  --off-white:  #F7F8FA;
  --text:       #1C1C2E;
  --text-light: #64748B;
  --gold:       #C8972B;
  --white:      #FFFFFF;
  --border:     #E2E8F0;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.07);
  --shadow-md:  0 4px 16px rgba(26,43,74,0.10);
  --shadow-lg:  0 8px 32px rgba(26,43,74,0.15);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container:  1160px;
  --radius:     8px;
  --radius-lg:  16px;
  --transition: 0.2s ease;
}

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

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

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

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

/* ── Container ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Typography Utilities ────────────────────────────────────── */
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.6;
}

.section { padding: 88px 0; }
.section-alt { background: var(--off-white); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-large {
  padding: 17px 44px;
  font-size: 16px;
}

/* ── HEADER ──────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition);
}
.site-nav a:hover { color: var(--navy); }

.site-nav .nav-cta {
  background: var(--navy);
  color: var(--white);
  padding: 9px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.site-nav .nav-cta:hover {
  background: var(--teal);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

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

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 104px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -30%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle at center, rgba(46,125,158,0.18) 0%, transparent 65%);
  pointer-events: none;
  border-radius: 50%;
}

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

.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.6;
}

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

/* ── PROOF BAR ───────────────────────────────────────────────── */
.proof-bar {
  background: var(--navy-dark);
  padding: 52px 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 16px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.proof-stat:last-child { border-right: none; }

.stat-number {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  max-width: 150px;
}

/* ── SERVICES OVERVIEW ───────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(46,125,158,0.2);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--off-white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.35;
}

.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  transition: color var(--transition);
}
.card-link:hover { color: var(--navy); }

.services-more {
  text-align: center;
  padding-top: 8px;
}

.services-more-text {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* ── CLIENT INDUSTRIES ───────────────────────────────────────── */
.client-industries {
  background: var(--off-white);
  padding: 44px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.industries-label {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
  font-style: italic;
}

.industries-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.industries-list .dot {
  color: var(--teal);
  font-weight: 300;
  font-size: 18px;
  line-height: 1;
}

/* ── BIO TEASER ──────────────────────────────────────────────── */
.bio-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: center;
}

.bio-photo-slot {
  display: flex;
  justify-content: center;
}

.photo-placeholder {
  width: 210px;
  height: 250px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  gap: 12px;
}
.photo-placeholder::after {
  content: 'Photo coming soon';
  font-size: 12px;
  color: var(--text-light);
  font-style: italic;
}

.bio-content p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 16px;
}

.bio-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 28px;
}

.bio-creds span {
  font-size: 12px;
  font-weight: 600;
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--navy);
  padding: 5px 12px;
  border-radius: 20px;
}

/* ── RESULTS TEASER ──────────────────────────────────────────── */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.result-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border-top: 3px solid var(--teal);
  transition: box-shadow var(--transition), transform var(--transition);
}
.result-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.result-stat {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.result-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.result-card p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.7;
}

.results-more {
  text-align: center;
}

/* ── CTA SECTION ─────────────────────────────────────────────── */
.cta-section {
  background: var(--navy);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(46,125,158,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.8px;
  position: relative;
}

.cta-section p {
  font-size: 17px;
  color: rgba(255,255,255,0.68);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.6;
  position: relative;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  padding: 68px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.6fr;
  gap: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-top: 18px;
  max-width: 240px;
  line-height: 1.7;
}

.footer-nav h4,
.footer-contact h4 {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-nav a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }

.footer-contact p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 14px;
}

.footer-contact a {
  display: block;
  font-size: 14px;
  color: var(--teal);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--white); }

.footer-phone {
  font-size: 14px;
}

.footer-bottom {
  padding: 22px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proof-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding-bottom: 28px;
  }
  .proof-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.07); }
  .proof-stat:nth-child(3),
  .proof-stat:nth-child(4) { border-bottom: none; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .services-grid,
  .results-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Mobile nav */
  .site-nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 18px;
  }
  .site-nav.open { display: flex; }
  .site-header { position: relative; }
  .nav-toggle { display: flex; }

  .hero { padding: 72px 0 64px; }
  .hero h1 { letter-spacing: -1px; }

  .hero-ctas { flex-direction: column; gap: 12px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .services-grid,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .bio-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .bio-photo-slot { display: none; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .industries-list { gap: 8px; }
}

@media (max-width: 520px) {
  .proof-grid {
    grid-template-columns: 1fr;
  }
  .proof-stat {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  }
  .proof-stat:last-child { border-bottom: none !important; }

  .bio-creds { flex-direction: column; }
}
