/* PPM Shared Styles — Prism Performance Marketing */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800;900&family=Lato:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+Pro:wght@400;600&display=swap');

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  font-family: 'Source Sans Pro', sans-serif;
  color: #2c3e50;
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
img, svg, video { max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
* { min-width: 0; }

/* ── CSS VARIABLES ── */
:root {
  --navy:       #1A2A3A;
  --blue:       #2E8FEB;
  --blue-dark:  #1a6ec4;
  --silver:     #C4C9CC;
  --bg-alt:     #F7F9FC;
  --text:       #2c3e50;
  --text-light: #5e7283;
  --white:      #ffffff;
  --green:      #25D366;
  --radius:     14px;
  --radius-lg:  20px;
  --shadow:     0 4px 24px rgba(26,42,58,.07);
  --shadow-md:  0 8px 36px rgba(26,42,58,.11);
  --shadow-lg:  0 16px 56px rgba(26,42,58,.15);
  --tr:         .24s ease;

  /* Page accent vars — available to all pages */
  --seo: #0D9E6E; --seo-dark: #0a7a54; --seo-light: rgba(13,158,110,.1);
  --google: #4285F4; --google-red: #EA4335; --google-yellow: #FBBC05; --google-green: #34A853; --google-blue: #4285F4; --google-light: rgba(66,133,244,.1);
  --meta: #1877F2; --meta-light: rgba(24,119,242,.1);
  --train: #7B2FBE; --train-light: rgba(123,47,190,.1); --train-dark: #5e1fa0;
  --ai: #8e44ad; --ai-light: rgba(142,68,173,.1);
}

/* ── LAYOUT ── */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 96px 0; }
.section--alt  { background: var(--bg-alt); }
.section--dark { background: var(--navy); }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; color: var(--navy); line-height: 1.18; }
h1 { font-size: clamp(2.3rem,5vw,3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem,3.5vw,2.7rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

.eyebrow {
  display: inline-block; font-family: 'Lato', sans-serif;
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); background: rgba(46,143,235,.1);
  padding: 5px 14px; border-radius: 50px; margin-bottom: 16px;
}
.subtitle {
  font-family: 'Lato', sans-serif; font-size: clamp(1rem,2vw,1.18rem);
  color: var(--text-light); line-height: 1.72; max-width: 580px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Lato', sans-serif; font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 50px; border: none; cursor: pointer;
  transition: transform var(--tr), box-shadow var(--tr), background var(--tr), border-color var(--tr);
  white-space: nowrap; text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

.btn-wa    { background: var(--green); color: #fff; box-shadow: 0 6px 22px rgba(37,211,102,.32); }
.btn-wa:hover { background: #1cb957; box-shadow: 0 10px 30px rgba(37,211,102,.42); }

.btn-blue  { background: var(--blue); color: #fff; box-shadow: 0 6px 22px rgba(46,143,235,.28); }
.btn-blue:hover { background: var(--blue-dark); box-shadow: 0 10px 30px rgba(46,143,235,.38); }

.btn-navy  { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #253d54; }

.btn-google { background: var(--google); color: #fff; box-shadow: 0 6px 22px rgba(66,133,244,.28); }
.btn-google:hover { background: #2a6de0; box-shadow: 0 10px 30px rgba(66,133,244,.38); }

.btn-seo   { background: var(--seo); color: #fff; box-shadow: 0 6px 22px rgba(13,158,110,.3); }
.btn-seo:hover { background: var(--seo-dark); box-shadow: 0 10px 30px rgba(13,158,110,.4); }

.btn-meta  { background: var(--meta); color: #fff; box-shadow: 0 6px 22px rgba(24,119,242,.28); }
.btn-meta:hover { background: #1464d8; box-shadow: 0 10px 30px rgba(24,119,242,.38); }

.btn-train { background: var(--train); color: #fff; box-shadow: 0 6px 22px rgba(123,47,190,.3); }
.btn-train:hover { background: var(--train-dark); box-shadow: 0 10px 30px rgba(123,47,190,.4); }

.btn-outline { background: transparent; color: var(--navy); border: 2px solid rgba(196,201,204,.6); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.35); }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.92); backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(196,201,204,.25);
  transition: box-shadow var(--tr);
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(26,42,58,.09); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }

.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo-img { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.nav-logo-wordmark { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 15px; color: var(--navy); line-height: 1.1; }
.nav-logo-wordmark em { font-style: normal; color: var(--blue); }
.nav-logo-sub { font-family: 'Lato', sans-serif; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-light); display: block; margin-top: 1px; }

.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-item { position: relative; }
.nav-item > a, .nav-item > button {
  font-family: 'Lato', sans-serif; font-weight: 600; font-size: 13.5px;
  color: var(--text-light); padding: 8px 12px; border-radius: 8px;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 4px;
  transition: color var(--tr), background var(--tr);
}
.nav-item > a:hover, .nav-item > button:hover { color: var(--navy); background: rgba(26,42,58,.05); }
.nav-item > a.active { color: var(--blue); font-weight: 700; }
.nav-chevron { font-size: 10px; opacity: .5; }

.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(196,201,204,.3);
  padding: 8px; min-width: 230px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.nav-item .nav-dropdown.open {
  opacity: 1; visibility: visible; pointer-events: all; transform: translateX(-50%) translateY(0);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear 0s;
}
.nav-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 8px;
  font-family: 'Lato', sans-serif; font-size: 13.5px; font-weight: 600;
  color: var(--text); transition: background var(--tr), color var(--tr);
}
.nav-dropdown a:hover { background: var(--bg-alt); color: var(--blue); }
.nd-icon { font-size: 16px; }
.nd-sub { font-size: 11px; color: var(--text-light); font-weight: 400; }
.nd-divider { height: 1px; background: rgba(196,201,204,.3); margin: 6px 0; }

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; border: none; background: none; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--tr); }

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 998;
  background: var(--white); padding: 84px 28px 40px;
  flex-direction: column; overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mn-section { margin-bottom: 20px; }
.mn-label { font-family: 'Lato', sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); margin-bottom: 10px; padding: 0 4px; }
.mobile-nav a { display: block; font-family: 'Lato', sans-serif; font-weight: 700; font-size: 18px; color: var(--navy); padding: 12px 4px; border-bottom: 1px solid rgba(196,201,204,.25); }
.mn-accordion-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: none; border: none; padding: 12px 4px;
  font-family: 'Lato', sans-serif; font-weight: 700; font-size: 18px;
  color: var(--navy); cursor: pointer; border-bottom: 1px solid rgba(196,201,204,.25);
  text-align: left;
}
.mn-accordion-btn:hover { color: var(--blue); }
.mn-chevron { font-size: 14px; transition: transform 0.2s; }
.mn-accordion-body a { font-size: 16px; padding-left: 16px; }
.mn-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.mn-ctas .btn { justify-content: center; width: 100%; }

/* ── BREADCRUMB ── */
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a, .breadcrumb span { font-family: 'Lato', sans-serif; font-size: 13px; color: rgba(255,255,255,.45); }
.breadcrumb a:hover { color: rgba(255,255,255,.8); }
.breadcrumb-sep { color: rgba(255,255,255,.25); }

/* ── LOGOS STRIP ── */
.logos { padding: 36px 0; border-top: 1px solid rgba(196,201,204,.25); border-bottom: 1px solid rgba(196,201,204,.25); }
.logos-label { text-align: center; font-family: 'Lato', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); margin-bottom: 20px; }
.logos-row { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.logo-item { display: flex; align-items: center; gap: 8px; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; color: #b0bec7; transition: color var(--tr); }
.logo-item:hover { color: var(--navy); }

/* ── STATS / PROOF BAND ── */
.stats-wrap {
  background: var(--navy); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: repeat(4,1fr);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.stat-item { padding: 52px 36px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); position: relative; overflow: hidden; }
.stat-item:last-child { border-right: none; }
.stat-item::after { content: ''; position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%); width: 80px; height: 80px; border-radius: 50%; background: radial-gradient(circle,rgba(46,143,235,.25) 0%,transparent 70%); }
.stat-num { font-family: 'Montserrat', sans-serif; font-size: clamp(2.2rem,4vw,3.1rem); font-weight: 900; color: #fff; line-height: 1; margin-bottom: 10px; }
.stat-num span { color: var(--blue); }
.stat-desc { font-family: 'Lato', sans-serif; font-size: 13px; color: rgba(255,255,255,.5); font-weight: 600; line-height: 1.5; }

.proof-band { background: var(--navy); padding: 60px 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4,1fr); background: rgba(255,255,255,.06); border-radius: var(--radius-lg); overflow: hidden; }
.proof-item { padding: 36px 28px; text-align: center; border-right: 1px solid rgba(255,255,255,.07); }
.proof-item:last-child { border-right: none; }
.proof-num { font-family: 'Montserrat', sans-serif; font-size: clamp(1.9rem,3.5vw,2.7rem); font-weight: 900; color: #fff; line-height: 1; margin-bottom: 8px; white-space: nowrap; }
.proof-num span { color: var(--blue); }
.proof-desc { font-family: 'Lato', sans-serif; font-size: 13px; color: rgba(255,255,255,.5); font-weight: 600; }

/* ── SERVICE CARDS (homepage) ── */
.services-header { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.services-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.svc-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid rgba(196,201,204,.3); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow var(--tr),transform var(--tr); display: flex; flex-direction: column; }
.svc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.svc-card--featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.svc-card--featured .svc-visual { min-height: 280px; }
.svc-visual { aspect-ratio: 16/10; overflow: hidden; flex-shrink: 0; }
.svc-body { padding: 30px 32px; display: flex; flex-direction: column; gap: 14px; }
.svc-card--featured .svc-body { padding: 40px; justify-content: center; }
.svc-platform { display: inline-flex; align-items: center; gap: 7px; font-family: 'Lato', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 50px; width: fit-content; }
.sp-meta   { background: rgba(24,119,242,.1); color: #1877F2; }
.sp-google { background: rgba(234,67,53,.1); color: #EA4335; }
.sp-seo    { background: rgba(46,143,235,.1); color: var(--blue); }
.svc-body h3 { font-size: 1.2rem; margin: 0; }
.svc-body p  { font-size: 15px; color: var(--text-light); margin: 0; line-height: 1.65; flex: 1; }
.svc-link { font-family: 'Lato', sans-serif; font-size: 13.5px; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; transition: gap var(--tr); }
.svc-link:hover { gap: 10px; }

/* ── PROCESS GRID (homepage) ── */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: rgba(196,201,204,.2); border-radius: var(--radius-lg); overflow: hidden; margin-top: 56px; }
.process-step { background: var(--white); padding: 44px 32px; text-align: center; }
.process-num { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 20px; background: linear-gradient(135deg,var(--blue) 0%,var(--blue-dark) 100%); color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(46,143,235,.32); }
.process-step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.process-step p  { font-size: 15px; color: var(--text-light); line-height: 1.6; }

/* ── CASE CARDS (homepage) ── */
.cases-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; }
.case-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid rgba(196,201,204,.3); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow var(--tr),transform var(--tr); }
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.case-visual { aspect-ratio: 16/10; overflow: hidden; }
.case-body { padding: 26px; }
.case-tag { font-family: 'Lato', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.case-body h3 { font-size: 1.05rem; margin-bottom: 10px; }
.case-metrics { display: flex; gap: 20px; margin-bottom: 16px; }
.case-metric-val { font-family: 'Montserrat', sans-serif; font-size: 1.4rem; font-weight: 900; color: var(--navy); }
.case-metric-val span { color: var(--blue); }
.case-metric-label { font-family: 'Lato', sans-serif; font-size: 11px; color: var(--text-light); font-weight: 600; }

/* ── FOUNDER SECTION ── */
.founder-grid { display: grid; grid-template-columns: 460px 1fr; gap: 72px; align-items: center; }
.founder-visual { position: relative; }
.founder-img-wrap { aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); max-width: 460px; }
.founder-badge { position: absolute; bottom: -20px; right: -20px; background: var(--white); border-radius: 16px; box-shadow: var(--shadow-md); padding: 18px 22px; border: 1px solid rgba(196,201,204,.2); }
.fb-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.fb-row:last-child { margin-bottom: 0; }
.fb-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.fb-dot-meta { background: #1877F2; }
.fb-dot-dark { background: #010101; }
.fb-name { font-family: 'Lato', sans-serif; font-size: 12.5px; font-weight: 700; color: var(--navy); }
.fb-sub  { font-size: 11px; color: var(--text-light); font-weight: 400; }
.founder-name { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: clamp(2rem,3.5vw,2.8rem); color: var(--navy); margin-bottom: 6px; }
.founder-title { font-family: 'Lato', sans-serif; font-size: 15px; color: var(--blue); font-weight: 700; margin-bottom: 28px; }
.founder-body { font-size: 15.5px; color: var(--text-light); line-height: 1.78; margin-bottom: 22px; }
.founder-body strong { color: var(--navy); font-weight: 700; }
.founder-quote { border-left: 3px solid var(--blue); padding-left: 20px; font-family: 'Lato', sans-serif; font-size: 15px; font-style: italic; color: var(--text); line-height: 1.7; margin-bottom: 32px; }

/* ── TRAINING CARDS (homepage) ── */
.training-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; }
.training-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid rgba(196,201,204,.3); box-shadow: var(--shadow); padding: 36px 32px; transition: box-shadow var(--tr),transform var(--tr); position: relative; overflow: hidden; }
.training-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.training-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.tc-meta::before   { background: linear-gradient(90deg,#1877F2,#42a5f5); }
.tc-google::before { background: linear-gradient(90deg,#EA4335,#FBBC05,#34A853,#4285F4); }
.tc-ai::before     { background: linear-gradient(90deg,#8e44ad,#2E8FEB); }
.training-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }
.ti-meta   { background: rgba(24,119,242,.1); }
.ti-google { background: rgba(234,67,53,.08); }
.ti-ai     { background: rgba(142,68,173,.1); }
.training-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.training-card p  { font-size: 15px; color: var(--text-light); line-height: 1.65; margin-bottom: 20px; }
.format-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.format-tag { font-family: 'Lato', sans-serif; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 50px; background: var(--bg-alt); color: var(--text-light); }
.training-for { font-family: 'Lato', sans-serif; font-size: 13px; color: var(--text-light); font-weight: 600; margin-bottom: 16px; }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(140deg,#1A2A3A 0%,#0e1f2e 60%,#122034 100%);
  padding: 100px 0; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle,rgba(46,143,235,.18) 0%,transparent 65%);
  top: -200px; right: 5%; pointer-events: none;
}
.cta-inner { text-align: center; position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p  { font-family: 'Lato', sans-serif; font-size: 17px; color: rgba(255,255,255,.6); max-width: 520px; margin: 0 auto 40px; line-height: 1.7; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── CONTACT FORM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-channels { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.contact-channel { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1.5px solid rgba(196,201,204,.4); border-radius: var(--radius); cursor: pointer; transition: border-color var(--tr),box-shadow var(--tr); }
.contact-channel:hover { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,143,235,.07); }
.cc-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.cc-wa  { background: rgba(37,211,102,.1); }
.cc-cal { background: rgba(46,143,235,.1); }
.cc-label { font-family: 'Lato', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-light); }
.cc-val   { font-family: 'Lato', sans-serif; font-weight: 700; font-size: 14.5px; color: var(--navy); }
.regions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.region-tag { font-family: 'Lato', sans-serif; font-size: 12.5px; font-weight: 600; padding: 6px 14px; border-radius: 50px; background: var(--bg-alt); border: 1px solid rgba(196,201,204,.4); color: var(--text-light); }

/* ── FORM ELEMENTS ── */
form.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label, .form-label { font-family: 'Lato', sans-serif; font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: .04em; }
.form-label span, .req { color: #e74c3c; margin-left: 2px; }
.form-group input, .form-group select, .form-group textarea,
.form-input, .form-select, .form-textarea {
  font-family: 'Source Sans Pro', sans-serif; font-size: 15px; color: var(--text);
  background: var(--white); border: 1.5px solid rgba(196,201,204,.6); border-radius: 10px;
  padding: 12px 16px; outline: none; width: 100%;
  transition: border-color var(--tr), box-shadow var(--tr);
  appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus,
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,143,235,.09);
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(196,201,204,.9); }
.form-group textarea, .form-textarea { resize: vertical; min-height: 110px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235e7283' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer;
}
.form-submit { width: 100%; margin-top: 8px; padding: 15px; font-size: 15px; border-radius: 50px; justify-content: center; border: none; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.form-note { font-family: 'Lato', sans-serif; font-size: 12px; color: var(--text-light); text-align: center; margin-top: 10px; line-height: 1.6; }
.form-note strong { color: var(--green); }
.form-header-wa { display: inline-flex; align-items: center; gap: 6px; font-family: 'Lato', sans-serif; font-size: 12.5px; font-weight: 700; color: var(--green); margin-bottom: 20px; }
.form-card-inner { /* contact-form fields wrapper — spacing via .form-row/.form-group */ }
.form-budget-row { /* conditional budget field; visibility toggled by JS */ }

/* ── ACCORDION ── */
.accordion { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(196,201,204,.3); }
.accordion-item { border-bottom: 1px solid rgba(196,201,204,.25); }
.accordion-item:last-child { border-bottom: none; }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: var(--white); border: none; cursor: pointer;
  font-family: 'Lato', sans-serif; font-weight: 700; font-size: 15px; color: var(--navy);
  text-align: left; transition: background var(--tr); gap: 16px;
}
.accordion-trigger:hover { background: rgba(46,143,235,.03); }
.accordion-trigger.open { color: var(--blue); background: rgba(46,143,235,.04); }
.accordion-icon {
  width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(196,201,204,.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
  transition: transform var(--tr), border-color var(--tr), background var(--tr);
  color: var(--text-light);
}
.accordion-trigger.open .accordion-icon { transform: rotate(45deg); border-color: var(--blue); background: var(--blue); color: #fff; }
.accordion-body { display: none; padding: 0 24px 22px; font-size: 15px; color: var(--text-light); line-height: 1.72; border-top: 1px solid rgba(196,201,204,.2); }
.accordion-body.open { display: block; }
.accordion-body p { margin-bottom: 10px; }
.accordion-body p:last-child { margin-bottom: 0; }
.accordion-body a { color: var(--blue); font-weight: 600; }
.accordion-body a:hover { text-decoration: underline; }
.accordion-body strong { color: var(--navy); }

/* ── FOOTER ── */
.footer { background: var(--navy); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-logo-text { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 16px; color: #fff; }
.footer-logo-text em { font-style: normal; color: var(--blue); }
.footer-brand-desc { font-size: 13.5px; color: rgba(255,255,255,.45); line-height: 1.72; margin-top: 14px; max-width: 280px; }
.footer-jax { margin-top: 16px; font-family: 'Lato', sans-serif; font-size: 12.5px; color: rgba(255,255,255,.35); font-style: italic; }
.footer-jax strong { color: rgba(255,255,255,.6); font-style: normal; }
.footer-col-label { font-family: 'Lato', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,.55); font-family: 'Source Sans Pro', sans-serif; transition: color var(--tr); }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,.3); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12.5px; color: rgba(255,255,255,.3); transition: color var(--tr); }
.footer-bottom-links a:hover { color: #fff; }

/* ── HERO ── */
.hero { padding: 152px 0 100px; background: #fff; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-bg svg { width: 100%; height: 100%; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; }
.hero-title { margin-bottom: 22px; }
.hero-title .accent { color: var(--blue); }
.hero-sub { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero-visual { position: relative; }
.hero-dashboard { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(196,201,204,.25); }

/* ── HV CARDS (hero visual — shared base) ── */
.hv-card { background: #fff; border-radius: 18px; padding: 18px 20px; box-shadow: 0 16px 48px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.1); overflow: hidden; }
.hv-card-1 { grid-column: 1; grid-row: 1; animation: floatA 4s ease-in-out infinite; }
.hv-card-2 { grid-column: 3; grid-row: 1; animation: floatB 5s ease-in-out infinite; }
.hv-card-3 { grid-column: 1; grid-row: 2 / span 2; animation: floatA 4.8s ease-in-out infinite; }
.hv-card-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 10px; }
.hv-card-label { font-family: 'Lato', sans-serif; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #8a9bb0; margin-bottom: 6px; }
.hv-card-value { font-family: 'Montserrat', sans-serif; font-size: clamp(1rem,1.8vw,2rem); font-weight: 900; color: var(--navy); line-height: 1; white-space: nowrap; }
.hv-card-pill { display: inline-flex; align-items: center; font-family: 'Lato', sans-serif; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 50px; margin-top: 8px; }

/* ── FLOAT CARDS (homepage hero) ── */
.float-card { position: absolute; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-md); border: 1px solid rgba(196,201,204,.2); padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.fc-a { bottom: -22px; left: -28px; animation: floatA 4s ease-in-out infinite; }
.fc-b { top: -18px; right: -22px; animation: floatB 4.8s ease-in-out infinite; }
.fc-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.fc-icon-green { background: rgba(37,211,102,.12); }
.fc-icon-blue  { background: rgba(46,143,235,.12); }
.fc-label { font-family: 'Lato', sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-light); white-space: nowrap; }
.fc-value { font-family: 'Montserrat', sans-serif; font-size: 17px; font-weight: 800; color: var(--navy); line-height: 1; white-space: nowrap; }
.fc-value span { color: var(--blue); }

/* ── Homepage hero — mobile collapse (index relies on styles.css; sub-pages also override inline) ── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .float-card { display: none; } /* decorative stat cards bleed once the hero stacks — hide on mobile */
}

/* ── TRUST STRIP ── */
.trust-strip {
  background: var(--navy); padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.trust-strip-inner {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap; font-family: 'Lato', sans-serif; font-size: 13px;
  font-weight: 600; color: rgba(255,255,255,.5); text-align: center;
}
.trust-strip-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.trust-strip-item strong { color: rgba(255,255,255,.8); font-weight: 700; }
.trust-strip-sep { color: rgba(255,255,255,.15); font-size: 16px; }

/* ── STICKY MOBILE CTA ── */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 997;
  background: rgba(26,42,58,.96); backdrop-filter: blur(14px);
  padding: 12px 20px; display: none; gap: 10px; align-items: center;
  border-top: 1px solid rgba(46,143,235,.2);
  box-shadow: 0 -4px 24px rgba(0,0,0,.18);
  transform: translateY(100%); transition: transform .3s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .btn { flex: 1; justify-content: center; padding: 12px 16px; font-size: 14px; border-radius: 50px; }

/* ── REVEAL ANIMATION ── */
/* Progressive enhancement: content is visible by default. Only once JS confirms
   it is running (html.js, set by an inline script in <head>) do elements start
   hidden and fade up on scroll. If JS never runs, the html.js class is never
   added, so content stays fully visible — it can never be stuck invisible. */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── BADGE COMPONENTS ── */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(90deg,rgba(46,143,235,.08),rgba(26,42,58,.04));
  border: 1px solid rgba(46,143,235,.2); border-radius: 50px;
  padding: 6px 14px 6px 8px; margin-bottom: 24px;
}
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: pulse 2s infinite; flex-shrink: 0; }
.hero-badge span { font-family: 'Lato', sans-serif; font-size: 12.5px; font-weight: 700; color: var(--navy); }
.hero-badge strong { color: var(--blue); }

.hero-trust { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.trust-avatars { display: flex; }
.trust-avatar {
  width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid #fff;
  margin-left: -9px; font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 800;
  color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trust-avatar:first-child { margin-left: 0; }
.ta1 { background: linear-gradient(135deg,#2E8FEB,#1a5fa8); }
.ta2 { background: linear-gradient(135deg,#f39c12,#e67e22); }
.ta3 { background: linear-gradient(135deg,#27ae60,#1a8040); }
.ta4 { background: linear-gradient(135deg,#8e44ad,#6c3483); }
.trust-text { font-family: 'Lato', sans-serif; font-size: 13px; color: var(--text-light); }
.trust-text strong { color: var(--navy); }

.hero-cred {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--bg-alt); border: 1px solid rgba(196,201,204,.4);
  border-radius: 50px; padding: 7px 16px 7px 10px; margin-top: 18px;
}
.hero-cred span { font-family: 'Lato', sans-serif; font-size: 12px; font-weight: 600; color: var(--text-light); }
.hero-cred strong { color: var(--navy); font-weight: 700; }

/* ── CARD / BADGE GENERIC ── */
.badge { display: inline-flex; align-items: center; gap: 7px; font-family: 'Lato', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 50px; width: fit-content; }
.badge-meta   { background: rgba(24,119,242,.1); color: #1877F2; }
.badge-google { background: rgba(234,67,53,.1); color: #EA4335; }
.badge-seo    { background: rgba(46,143,235,.1); color: var(--blue); }
.badge-training { background: rgba(243,156,18,.1); color: #c07d00; }
.badge-ai     { background: rgba(142,68,173,.1); color: #8e44ad; }

/* ── INCLUDES GRID (shared) ── */
.includes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.include-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px; background: var(--white);
  border: 1px solid rgba(196,201,204,.3); border-radius: var(--radius);
  transition: border-color var(--tr), box-shadow var(--tr);
}
.include-item:hover { border-color: rgba(46,143,235,.3); box-shadow: 0 0 0 3px rgba(46,143,235,.05); }
.include-check {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: rgba(46,143,235,.1); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; margin-top: 1px;
}
.include-text h4 { font-size: 1rem; margin-bottom: 4px; }
.include-text p  { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ── SERP MOCKUP ── */
.serp-mockup { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid rgba(196,201,204,.3); overflow: hidden; }
.serp-header { background: #f8f9fa; padding: 12px 16px; border-bottom: 1px solid rgba(196,201,204,.25); display: flex; align-items: center; gap: 8px; }
.serp-searchbar { flex: 1; background: #fff; border: 1px solid #ddd; border-radius: 24px; padding: 8px 16px; font-family: 'Lato', sans-serif; font-size: 13px; color: #333; display: flex; align-items: center; gap: 8px; }
.serp-g { display: flex; gap: 2px; font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 18px; }
.serp-body { padding: 16px; }
.serp-result { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(196,201,204,.2); }
.serp-result:last-child { margin-bottom: 0; border-bottom: none; }
.serp-url   { font-family: 'Lato', sans-serif; font-size: 12px; color: #5f6368; margin-bottom: 3px; }
.serp-title { font-family: 'Lato', sans-serif; font-size: 15px; font-weight: 700; color: #1a0dab; margin-bottom: 4px; }
.serp-desc  { font-family: 'Source Sans Pro', sans-serif; font-size: 13px; color: #4d5156; line-height: 1.5; }

/* ── CARD GRID (Web Dev) ── */
.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.card {
  background: var(--white); border: 1px solid rgba(196,201,204,.35); border-radius: var(--radius-lg);
  padding: 36px 32px; transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(46,143,235,.4); }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(46,143,235,.1); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.card p { font-size: 1.05rem; line-height: 1.75; color: var(--text-light); }

/* ── PROCESS TRACK (vertical, service pages) ── */
.process-track { position: relative; }
.process-track::before { content: ''; position: absolute; left: 27px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom,var(--blue) 0%,rgba(46,143,235,.1) 100%); }
.ps-num { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; background: var(--blue); color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 18px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(46,143,235,.2); position: relative; z-index: 1; }
.ps-content { padding-top: 10px; flex: 1; }
.ps-content h3 { font-size: 1.1rem; margin-bottom: 8px; }
.ps-content p  { font-size: 15px; color: var(--text-light); line-height: 1.68; }

/* ── KEYFRAMES ── */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }
@keyframes floatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
@keyframes floatB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(7px)} }

/* ── RESPONSIVE ── */
@media(max-width:1020px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .stats-wrap { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .services-header { grid-template-columns: 1fr; gap: 24px; }
  .svc-card--featured { grid-column: span 1; display: flex; flex-direction: column; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .cases-grid { grid-template-columns: 1fr 1fr; }
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-visual { display: none; }
  .training-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .includes-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr; }
}

@media(max-width:768px) {
  .sticky-cta { display: flex; }
}

@media(max-width:640px) {
  .section { padding: 72px 0; }
  .stats-wrap { grid-template-columns: 1fr 1fr; border-radius: var(--radius); }
  .services-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .training-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-strip-inner { flex-direction: column; gap: 10px; font-size: 12px; }
  .trust-strip-sep { display: none; }
  .trust-strip-item { flex-basis: auto; width: 100%; justify-content: center; white-space: normal; }
  .form-row { grid-template-columns: 1fr; }
}

/* ════ SVG ICON BASE (shared) ════ */
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex: 0 0 auto; }

/* ════ META CERTIFICATIONS (shared, used on Meta-relevant pages) ════ */
.cert-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.cert-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  width: 168px; padding: 20px 16px 16px; background: #fff;
  border: 1px solid rgba(26,42,58,.08); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(24,119,242,.32); }
.cert-card img { width: 112px; height: 112px; object-fit: contain; display: block; }
.cert-verify {
  font-family: 'Lato', sans-serif; font-size: 11.5px; font-weight: 700; color: var(--meta);
  display: inline-flex; align-items: center; gap: 4px; text-decoration: none;
}
.cert-card:hover .cert-verify { text-decoration: underline; }
.cert-verify .ico { width: 13px; height: 13px; }

/* compact 'Meta Certified' cue for the dark proof band (tier-1, near hero) — passive trust signal, not a link */
.cert-cue { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px;
  margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.cert-cue-label { font-family: 'Lato', sans-serif; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.85);
  display: inline-flex; align-items: center; gap: 8px; }
.cert-cue-label .ico { color: #74b9ff; width: 17px; height: 17px; }
.cert-cue-imgs { display: inline-flex; gap: 8px; align-items: center; }
.cert-cue-imgs img { width: 42px; height: 42px; object-fit: contain; }

@media (max-width: 640px) {
  .cert-card { width: 44%; }
  .cert-card img { width: 92px; height: 92px; }
  .cert-cue-imgs img { width: 36px; height: 36px; }
}
