/* ─── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, video { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }
a { color: inherit; text-decoration: none; }

/* ─── DESIGN TOKENS ──────────────────────────────────── */
:root {
  /* live brand palette (sampled from outpaceenterprises.com) */
  --blue:        #1a418c;   /* royal-blue primary (buttons, accents) */
  --blue-dark:   #14306a;
  --blue-deep:   #0f2a5e;   /* logo swoosh navy */
  --orange:      #e8722c;   /* logo + line icons */
  --orange-dark: #cf5f1d;
  --orange-light:#f3954f;
  --pink:        #cc3366;   /* footer / utility links */
  --ink:         #2b3038;   /* serif heading charcoal */
  --body:        #5a626c;   /* body copy */
  --muted:       #8a929c;
  --panel:       #e9eef7;   /* light blue-grey panel (hero, contact) */
  --panel-2:     #f3f6fb;
  --white:       #ffffff;
  --off-white:   #f7f9fc;
  --line:        #e3e8ef;

  /* legacy aliases so existing pages keep resolving */
  --navy:        var(--blue);
  --navy-dark:   var(--blue-dark);
  --navy-light:  #29539e;
  --grey-100:    #f1f3f6;
  --grey-200:    #e3e8ef;
  --grey-400:    #8a929c;
  --grey-600:    #5a626c;
  --grey-900:    #2b3038;

  --font:       'PT Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-serif: 'PT Serif', Georgia, 'Times New Roman', serif;
  --max-w: 1200px;
  --radius-sm: 2px;
  --radius:    3px;
  --radius-lg: 6px;
  --radius-xl: 10px;

  --shadow-sm: 0 1px 3px rgba(16,40,90,0.08);
  --shadow-md: 0 6px 18px rgba(16,40,90,0.08);
  --shadow-lg: 0 14px 38px rgba(16,40,90,0.12);
  --shadow-xl: 0 24px 60px rgba(16,40,90,0.14);
}

/* ─── BASE ───────────────────────────────────────────── */
body {
  font-family: var(--font);
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ─── TYPOGRAPHY (serif headings) ────────────────────── */
h1, h2, h3, h4, h5 { font-family: var(--font-serif); color: var(--ink); font-weight: 700; line-height: 1.18; letter-spacing: 0; overflow-wrap: break-word; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }
p  { color: var(--body); line-height: 1.8; }
p + p { margin-top: 1rem; }
.text-lead { font-size: 1.2rem; color: var(--body); line-height: 1.7; max-width: 640px; }

/* ─── LAYOUT ─────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4.5rem 0; }
.section-sm { padding: 2.75rem 0; }
.section-lg { padding: 6.5rem 0; }
.section-light  { background: var(--off-white); }
.section-navy   { background: var(--blue); }
.section-navy * { color: #fff; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p  { color: rgba(255,255,255,0.85); }

.section-header { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.section-header .label, .label { display: inline-block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 0.85rem; font-family: var(--font); }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; color: var(--body); }
.section-navy .section-header .label { color: rgba(255,255,255,0.7); }

/* ─── GRID ───────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.grid-center { align-items: center; }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ─── BUTTONS (royal-blue, squared) ──────────────────── */
.btn { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.9rem; border-radius: var(--radius-sm); font-family: var(--font); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; transition: all 0.15s ease; white-space: nowrap; }
.btn::after { content: '\25B8'; font-size: 0.9em; line-height: 1; }
.btn.no-arrow::after { content: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: var(--orange); color: #fff; }
.btn-secondary:hover { background: var(--orange-dark); }
.btn-outline { background: #fff; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-lg { padding: 1rem 2.3rem; font-size: 0.9rem; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.75rem; }

/* ─── HEADER (two rows: utility + centered logo + nav) ─ */
.site-header { position: sticky; top: 0; z-index: 200; background: #fff; box-shadow: 0 1px 0 var(--line); transition: box-shadow 0.2s; }
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 1.1rem 0 0.9rem; }
.topbar .left  { justify-self: start; }
.topbar .right { justify-self: end; }
.brand { justify-self: center; display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.mainnav { display: flex; justify-content: center; align-items: center; gap: 2.1rem; padding: 0.2rem 0 1rem; flex-wrap: wrap; }
.nav-link { font-family: var(--font-serif); font-size: 1.02rem; color: var(--ink); padding: 0.2rem 0; position: relative; transition: color 0.15s; display: inline-flex; align-items: center; gap: 0.3rem; }
.nav-link:hover { color: var(--blue); }
.nav-link.active { color: var(--blue); }
.nav-link.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--orange); }
.nav-caret { font-size: 0.6em; opacity: 0.7; }
.nav-cta { }
.hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 6px; min-width: 44px; min-height: 44px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--blue); border-radius: 2px; transition: all 0.2s; }
.skip-link { position: absolute; left: -9999px; }
.mobile-menu { background: #fff; border-top: 1px solid var(--line); padding: 1rem 1.5rem 1.5rem; flex-direction: column; gap: 0.25rem; display: none; }
.mobile-menu a { padding: 0.75rem 0; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 1rem; }
.mobile-menu .btn { margin-top: 1rem; justify-content: center; }
@media (max-width: 860px) {
  .mainnav, .topbar .left { display: none; }
  .topbar { grid-template-columns: auto 1fr auto; }
  /* single CTA lives in .right — pull it into the left slot on mobile */
  .topbar .right { grid-row: 1; grid-column: 1; justify-self: start; }
  .brand { grid-row: 1; grid-column: 2; justify-self: center; }
  .hamburger { display: flex; grid-row: 1; grid-column: 3; justify-self: end; }
  .mobile-menu:not([hidden]) { display: flex; }
}

/* ─── HERO (split: media + light panel) ──────────────── */
.hero-replica { padding: 2.5rem 0 3.5rem; }
.hero-replica .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; align-items: stretch; }
.hero-media { overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-panel { background: var(--panel); padding: 3.2rem 3rem; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { font-family: var(--font); text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.8rem; font-weight: 700; color: var(--muted); margin-bottom: 1rem; }
.hero-panel h1 { margin-bottom: 1.25rem; }
.hero-panel p { margin-bottom: 1.8rem; }
@media (max-width: 860px) { .hero-replica .wrap { grid-template-columns: 1fr; } .hero-media { min-height: 240px; } .hero-panel { padding: 2.2rem 1.6rem; } }

/* legacy .hero (kept for any page still using it) */
.hero { background: var(--panel); padding: 4rem 0; }
.hero h1 { margin-bottom: 1.25rem; max-width: 800px; }
.hero p { font-size: 1.15rem; max-width: 600px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* page hero for inner pages */
.page-hero { background: var(--panel); padding: 3.5rem 0; text-align: center; }
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p { font-size: 1.12rem; max-width: 640px; margin: 0 auto; color: var(--body); }

/* ─── STAT LINE ──────────────────────────────────────── */
.statline { text-align: center; padding: 2.5rem 0; }
.statline p { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--ink); max-width: 900px; margin: 0 auto; line-height: 1.4; }
.statline strong { color: var(--blue); }

/* ─── REVIEWS / TESTIMONIALS ─────────────────────────── */
.reviews { background: var(--off-white); }
.reviews .quote-mark { text-align: center; font-family: var(--font-serif); font-size: 4rem; color: var(--blue); line-height: 0.6; }
.reviews h2 { text-align: center; margin-bottom: 2.5rem; }
.review-card, .testimonial-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.review-card .stars, .stars { color: #f5a623; letter-spacing: 2px; font-size: 0.95rem; margin-bottom: 0.8rem; }
.review-card .rtext, .testimonial-card blockquote { color: var(--body); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.2rem; flex: 1; }
.review-card .gbadge { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; border-top: 1px solid var(--line); padding-top: 0.9rem; }
.review-card .reviewer { display: flex; align-items: center; gap: 0.6rem; }
.review-card .avatar, .testimonial-card .author-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; overflow: hidden; flex-shrink: 0; }
.review-card .avatar img, .testimonial-card .author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-card .rname, .testimonial-card .author-name { font-weight: 700; color: var(--ink); font-size: 0.9rem; }
.review-card .gprofile { font-size: 0.72rem; color: var(--blue); display: inline-flex; align-items: center; gap: 0.3rem; }
.testimonial-card .author { display: flex; align-items: center; gap: 0.7rem; }
.testimonial-card .author-title { font-size: 0.78rem; color: var(--muted); }
.dots { display: flex; justify-content: center; gap: 7px; margin-top: 1.8rem; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.dots span.on { background: var(--blue); }

/* ─── FEATURE ROW (orange line icons) ────────────────── */
.features-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4rem; }
@media (max-width: 980px) { .features-row { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (max-width: 560px) { .features-row { grid-template-columns: 1fr; } }
.feature-col .feat-icon { width: 58px; height: 58px; color: var(--orange); margin-bottom: 1.1rem; }
.feature-col .feat-icon svg { width: 100%; height: 100%; stroke: var(--orange); fill: none; }
.feature-col h3 { font-size: 1.3rem; margin-bottom: 0.7rem; color: var(--ink); }
.feature-col p { font-size: 0.95rem; color: var(--body); }
/* legacy feature-card */
.feature-card { padding: 2rem; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); transition: transform 0.2s, box-shadow 0.2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card .icon { width: 54px; height: 54px; border-radius: var(--radius); background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.1rem; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

/* ─── CARD ROWS (Better Business / Better Lives / blog) ─ */
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 2rem; }
.card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; display: block; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { width: 100%; height: 210px; object-fit: cover; background: var(--panel); }
.card-img-top { object-position: top; }
.card-img-placeholder { width: 100%; height: 210px; background: var(--panel); display: flex; align-items: center; justify-content: center; }
.card-img-placeholder span { font-size: 1.6rem; font-weight: 700; color: var(--blue); opacity: 0.4; }
.card-body { padding: 1.4rem 1.5rem 1.7rem; }
.card-body .tag { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange); margin-bottom: 0.6rem; font-family: var(--font); }
.card-body h3 { font-size: 1.12rem; margin-bottom: 0.6rem; color: var(--ink); line-height: 1.35; }
.card-body p { font-size: 0.9rem; color: var(--body); line-height: 1.6; margin-bottom: 0.9rem; }
.card-body .meta { font-size: 0.8rem; color: var(--muted); }
.learn { font-family: var(--font); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: 0.35rem; }
.learn::after { content: '\25B8'; }

/* ─── CLIENT LOGO STRIP ──────────────────────────────── */
.logos { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.logos img { height: 58px; width: auto; opacity: 0.7; filter: grayscale(100%); transition: all 0.2s; }
.logos img:hover { opacity: 1; filter: none; }

/* ─── SCHEDULE CTA (light) ───────────────────────────── */
.schedule { background: var(--panel); text-align: center; padding: 3.5rem 0; }
.schedule .ico { width: 46px; height: 46px; margin: 0 auto 1rem; color: var(--blue); }
.schedule h2 { margin-bottom: 1rem; }
.schedule p { max-width: 720px; margin: 0 auto 1.8rem; color: var(--body); }

/* dark CTA band for inner pages */
.cta-band { background: var(--blue); padding: 4.5rem 0; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 580px; margin: 0 auto 2rem; }

/* ─── STAT CARD (legacy stats-row) ───────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 768px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat-card { text-align: center; padding: 1.5rem; }
.stat-card .stat-number { font-family: var(--font-serif); font-size: 2.8rem; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 0.4rem; }
.stat-card .stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.8); }

/* ─── SPLIT / STEPS (inner pages) ────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split + .split { margin-top: 4.5rem; }
.split.reverse .split-media { order: -1; }
@media (max-width: 768px) { .split { grid-template-columns: 1fr; gap: 2rem; } .split.reverse .split-media { order: 0; } }
.split-media { background: var(--panel); border-radius: var(--radius-lg); min-height: 320px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .mark { font-family: var(--font-serif); font-size: 4rem; font-weight: 700; color: var(--blue); opacity: 0.25; }
.step .num { width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; margin-bottom: 1rem; font-family: var(--font-serif); }
.step h3 { margin-bottom: 0.4rem; }
.divider { width: 56px; height: 3px; background: var(--orange); border-radius: 2px; margin: 1.1rem 0; }
.divider-center { margin: 1.1rem auto; }

/* ─── FOOTER (white, brand + contact form) ───────────── */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-top: 3rem; }
.footer-main { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3.5rem; align-items: start; padding-bottom: 2.5rem; }
.footer-brand img { height: 38px; width: auto; margin-bottom: 1.4rem; }
.footer-brand p { font-size: 0.92rem; color: var(--body); line-height: 1.7; margin-bottom: 1.2rem; max-width: 420px; }
.footer-contactinfo a, .footer-contactinfo div { display: flex; align-items: center; gap: 0.55rem; font-size: 0.92rem; color: var(--body); margin-bottom: 0.5rem; }
.footer-contactinfo a.email { color: var(--pink); }
.footer-social { margin-top: 1.1rem; }
.footer-social a { display: inline-flex; width: 30px; height: 30px; background: var(--blue); color: #fff; border-radius: 3px; align-items: center; justify-content: center; }

.ft-contact { background: var(--panel); border-radius: var(--radius-lg); padding: 2.4rem 2.4rem 2.6rem; }
.ft-contact .ico { width: 38px; height: 38px; color: var(--ink); margin-bottom: 0.8rem; }
.ft-contact h2 { margin-bottom: 1.4rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.8rem 0.9rem; border: 1px solid #c8d2e0; border-radius: var(--radius-sm); background: #fff; font-family: var(--font); font-size: 0.92rem; color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form button { grid-column: 1 / -1; justify-self: start; background: var(--blue); color: #fff; padding: 0.8rem 2rem; border-radius: var(--radius-sm); font-weight: 700; font-family: var(--font-serif); }
.contact-form button:hover { background: var(--blue-dark); }

.footer-bottom { border-top: 1px solid var(--line); padding: 1.4rem 0 1.8rem; text-align: center; }
.footer-bottom .ftlinks { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.footer-bottom .ftlinks a { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pink); }
.footer-bottom .ftlinks .sep { color: var(--line); }
.footer-bottom .copyright { font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .footer-main { grid-template-columns: 1fr; gap: 2.5rem; } }
@media (max-width: 520px) { .contact-form { grid-template-columns: 1fr; } }

/* ─── BLOG / ARTICLE ─────────────────────────────────── */
.article-header { padding: 3rem 0 2rem; border-bottom: 1px solid var(--line); margin-bottom: 3rem; }
.article-header .tag { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange); margin-bottom: 1rem; font-family: var(--font); }
.article-header h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1rem; }
.article-header .meta { font-size: 0.85rem; color: var(--muted); }
.article-featured-img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 3rem; }
.article-body { max-width: 740px; margin: 0 auto; overflow-wrap: anywhere; word-break: break-word; }
.article-body a { overflow-wrap: anywhere; word-break: break-word; }
.article-body img, .article-body iframe { max-width: 100%; height: auto; }
.article-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.article-body pre { max-width: 100%; overflow-x: auto; }
.article-body h2 { font-size: 1.7rem; margin: 2.5rem 0 1rem; }
.article-body h3 { font-size: 1.3rem; margin: 2rem 0 0.75rem; }
.article-body p { margin-bottom: 1.5rem; font-size: 1.05rem; line-height: 1.8; }
.article-body ul, .article-body ol { padding-left: 1.75rem; margin-bottom: 1.5rem; }
.article-body li { margin-bottom: 0.5rem; line-height: 1.7; }
.article-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.article-body blockquote { border-left: 4px solid var(--orange); padding: 1rem 1.5rem; margin: 2rem 0; background: var(--off-white); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; font-size: 1.05rem; }
.article-body img { border-radius: var(--radius); margin: 2rem 0; }
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 2rem; font-family: var(--font); }
.back-link:hover { color: var(--blue-dark); }

/* ─── COACH CARD ─────────────────────────────────────── */
.coach-card { text-align: center; }
.coach-card .photo-wrap { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; margin: 0 auto 1.25rem; border: 3px solid var(--line); background: var(--panel); display: flex; align-items: center; justify-content: center; }
.coach-card .photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.coach-card .photo-wrap .initials { font-size: 2rem; font-weight: 700; color: var(--blue); opacity: 0.4; }
.coach-card h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 0.2rem; }
.coach-card .role { font-size: 0.85rem; color: var(--orange); font-weight: 600; margin-bottom: 0.75rem; }

/* ─── UTILITIES ──────────────────────────────────────── */
.text-center { text-align: center; }
.text-white  { color: #fff !important; }
.text-orange { color: var(--orange); }
.text-navy, .text-blue { color: var(--blue); }
.text-muted  { color: var(--muted); }
.mb-2 { margin-bottom: 0.5rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; } .mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; } .mt-8 { margin-top: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; } .max-w-2xl { max-width: 680px; } .max-w-3xl { max-width: 820px; }
.flex { display: flex; } .items-center { align-items: center; } .gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; } .hidden { display: none; }

/* ─── SERVICES: hero panel-left + tabs ───────────────── */
.hero-replica.panel-left .wrap { grid-template-columns: 1fr 1.05fr; }
@media (max-width: 860px) { .hero-replica.panel-left .wrap { grid-template-columns: 1fr; } }
.tabs { display: flex; justify-content: center; gap: 0.6rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.tab { font-family: var(--font); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.5rem 1.2rem; border-radius: 2px; background: var(--panel); color: var(--blue); }
.tab.active { background: var(--blue); color: #fff; }

/* ─── APPLY landing page ─────────────────────────────── */
.apply-hero { background: linear-gradient(180deg, #0f2a5e 0%, #16346f 100%); color: #fff; text-align: center; padding: 4.5rem 0 4rem; }
.apply-hero h1 { color: #fff; max-width: 920px; margin: 0 auto 1rem; }
.apply-hero .o { color: var(--orange); }
.apply-hero p { color: rgba(255,255,255,0.85); max-width: 700px; margin: 0 auto; font-size: 1.1rem; }

.videoform { padding: 3.5rem 0; }
.videoform .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.videoform h2 { margin-bottom: 1rem; }
.videoform .o { color: var(--orange); }
.form-card { background: #0f2a5e; border-radius: var(--radius-lg); padding: 2rem; }
.form-card .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.form-card input { width: 100%; padding: 0.78rem 0.9rem; border: none; border-radius: 2px; background: #fff; font-family: var(--font); font-size: 0.9rem; }
.form-card .full { grid-column: 1 / -1; }
.form-card button { grid-column: 1 / -1; background: var(--orange); color: #fff; padding: 0.9rem; border-radius: 2px; font-weight: 700; font-family: var(--font); text-transform: uppercase; letter-spacing: 0.1em; justify-content: center; }
.form-card button:hover { background: var(--orange-dark); }
@media (max-width: 768px) { .videoform .wrap { grid-template-columns: 1fr; } .form-card .grid { grid-template-columns: 1fr; } }

.countstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.count-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; display: flex; gap: 1rem; align-items: flex-start; box-shadow: var(--shadow-sm); }
.count-stat .num { font-family: var(--font-serif); font-size: 2.1rem; color: var(--blue); font-weight: 700; line-height: 1; white-space: nowrap; }
.count-stat .lbl { font-size: 0.85rem; color: var(--body); line-height: 1.5; }
@media (max-width: 768px) { .countstats { grid-template-columns: 1fr; } }

.checklist { list-style: none; padding: 0; margin: 1.2rem 0; }
.checklist li { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.6rem; color: var(--body); }
.checklist li::before { content: '\2714'; color: var(--orange); font-weight: 700; }

.vthumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; }
.vthumb { aspect-ratio: 16 / 10; background: #0f2a5e; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.vthumb .play { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center; }
.vthumb .play::after { content: ''; border-left: 16px solid var(--blue); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
@media (max-width: 768px) { .vthumbs { grid-template-columns: 1fr; } }

/* ─── SIMILAR ARTICLES / EVENT META ──────────────────── */
.similar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.similar .date { font-family: var(--font); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.similar h3 { font-size: 1.05rem; margin-bottom: 0.8rem; line-height: 1.35; color: var(--ink); }
@media (max-width: 768px) { .similar { grid-template-columns: 1fr; } }
.event-meta { margin: 1.2rem 0; }
.event-meta div { display: flex; gap: 0.55rem; align-items: flex-start; color: var(--body); font-size: 0.95rem; margin-bottom: 0.45rem; }
.event-meta svg { flex-shrink: 0; color: var(--blue); margin-top: 3px; }

/* ─── MOBILE OVERFLOW SAFEGUARDS ─────────────────────── */
.hero-panel, .split-text, .card-body { min-width: 0; }
@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; }
  .flex.gap-4, .flex.gap-6 { flex-wrap: wrap; }
  .review-card .gbadge { flex-direction: column; align-items: flex-start; gap: 0.7rem; }
  .review-card .gprofile { font-size: 0.68rem; }
  h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
}

/* Remove leftover Elementor / WordPress artifacts */
.wp-block-social-links, [class*="elementor"], .wpcf7, .nf-form-cont, .sgcaptcha-placeholder, figure.wp-block-embed { display: none !important; }

/* Header Login button (Team Login gateway to Vigil) */
.topbar .right { display: inline-flex; align-items: center; gap: 0.6rem; }
.login-btn { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.login-btn:hover { background: var(--blue); color: #fff; }
@media (max-width: 400px) { .login-btn { padding-left: 1rem; padding-right: 1rem; } }
