/* ============================================================
   style.css — ARC Investigations & Consulting
   Components · Layout · Pages · Responsive
   ============================================================ */

/* ── Gold Strip ───────────────────────────────────────────── */
.gold-strip {
  height: 4px;
  background: linear-gradient(90deg, var(--charcoal), var(--gold), var(--gold2), var(--gold), var(--charcoal));
}

/* ── Top Bar ──────────────────────────────────────────────── */
.top-bar {
  background: #0d0d0d;
  border-bottom: 1px solid rgba(181, 148, 97, 0.2);
}

.top-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.top-bar-contact {
  display: flex;
  gap: 24px;
}

.top-bar-contact a {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: #c8bfaf;
  letter-spacing: 0.06em;
  transition: color 0.18s;
}

.top-bar-contact a:hover {
  color: var(--gold2);
}

/* ── Site Header ──────────────────────────────────────────── */
.site-header {
  background: var(--black);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 6px 28px rgba(0,0,0,0.32);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.logo-mark {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: radial-gradient(circle at 38% 30%, #2e2e2e, #111111 70%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 4px rgba(181,148,97,0.12), 0 4px 16px rgba(0,0,0,0.4);
}

.logo-mark-text {
  font-family: var(--ff-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-name {
  font-family: var(--ff-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

/* ── Main Nav ─────────────────────────────────────────────── */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c8bfaf;
  padding: 8px 10px;
  border-radius: 6px;
  transition: color 0.18s, background 0.18s;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold2);
  background: rgba(181,148,97,0.1);
}

.main-nav .nav-portal {
  margin-left: 10px;
  padding: 8px 16px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--gold2);
  transition: background 0.18s, border-color 0.18s;
}

.main-nav .nav-portal:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
}

/* ── Burger Button ────────────────────────────────────────── */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.22s var(--ease), opacity 0.22s;
}

/* ── Mobile Nav Overlay ───────────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.1em;
  padding: 10px;
  transition: color 0.18s;
}

.mobile-close:hover { color: var(--gold2); }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.mobile-nav-links a {
  font-family: var(--ff-head);
  font-size: 32px;
  font-weight: 700;
  color: #e8dece;
  padding: 8px 24px;
  transition: color 0.18s;
  line-height: 1.2;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--gold2);
}

.mobile-nav-links .mobile-portal {
  margin-top: 16px;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold2);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 12px 28px;
}

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background:
    radial-gradient(ellipse at 8% 50%, rgba(181,148,97,0.18) 0%, transparent 40%),
    linear-gradient(160deg, #131313 0%, #1e1a14 60%, #1a1510 100%);
  padding: 64px 24px 68px;
  border-bottom: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(181,148,97,0.08);
  pointer-events: none;
}

.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  max-width: 760px;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: clamp(36px, 5vw, 58px);
}

.page-hero p {
  color: #d8cdb8;
  font-size: 20px;
  font-weight: 300;
  max-width: 620px;
  line-height: 1.6;
}

/* ── Home Hero ────────────────────────────────────────────── */
.home-hero {
  background:
    radial-gradient(circle at 10% 18%, rgba(181,148,97,0.22) 0%, transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(181,148,97,0.1) 0%, transparent 22%),
    linear-gradient(148deg, #0e0e0e 0%, #1c1a16 55%, #201b12 100%);
  color: var(--white);
  padding: 80px 24px 88px;
  border-bottom: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 1px solid rgba(181,148,97,0.07);
  pointer-events: none;
}

.home-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-headline {
  font-size: clamp(42px, 5.5vw, 70px);
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 14px;
  font-weight: 800;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold2);
}

.hero-tagline {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-body {
  font-size: 20px;
  color: #e0d4be;
  max-width: 600px;
  margin-bottom: 34px;
  font-weight: 300;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Hero Card ────────────────────────────────────────────── */
.hero-card {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.hero-card-title {
  font-family: var(--ff-head);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.hero-card-lead {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.quick-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream2);
  padding: 14px;
}

.quick-tile-title {
  font-family: var(--ff-head);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
  color: var(--ink);
}

.quick-tile-body {
  font-size: 13px;
  color: var(--muted);
  display: block;
  line-height: 1.5;
  font-family: var(--ff-body);
}

/* ── Section Wrapper ──────────────────────────────────────── */
.section-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Head ─────────────────────────────────────────── */
.section-head {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 40px;
}

.section-head h2 {
  margin-bottom: 14px;
}

.section-head p {
  font-size: 18px;
  color: var(--muted);
  font-weight: 300;
}

/* ── Section Spacing ──────────────────────────────────────── */
.section {
  padding: 72px 24px;
}

.section-light {
  background: var(--cream);
}

.section-white {
  background: var(--white);
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-soft {
  background: var(--cream2);
}

/* ── Service Pill Grid ────────────────────────────────────── */
.service-overview-block {
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 60px;
}

.service-overview-head {
  background: var(--black);
  border-bottom: 4px solid var(--gold);
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.service-overview-head h3 {
  color: var(--white);
  font-size: 26px;
}

.service-overview-head span {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.service-pill-grid {
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: linear-gradient(135deg, var(--white), var(--cream2));
}

.service-pill {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 11px 18px;
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  color: var(--ink);
  transition: border-color 0.18s, background 0.18s;
}

.service-pill:hover {
  border-color: var(--gold);
  background: var(--cream2);
}

/* ── Detail Cards ─────────────────────────────────────────── */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.detail-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}

.detail-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.detail-card.span-2 {
  grid-column: span 2;
  border: 2px solid var(--black);
  border-top: 6px solid var(--gold);
  background: linear-gradient(135deg, var(--white), var(--cream2));
}

.detail-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.detail-card p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 16px;
  font-weight: 300;
}

.detail-card-list {
  columns: 2;
  column-gap: 24px;
}

.detail-card-list li {
  break-inside: avoid;
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 400;
  color: #2e2b27;
}

.detail-card-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 10px;
}

/* ── CPCS Panel ───────────────────────────────────────────── */
.cpcs-block {
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cpcs-head {
  background: var(--black);
  border-bottom: 4px solid var(--gold);
  padding: 22px 28px;
}

.cpcs-head h3 {
  color: var(--white);
  font-size: 26px;
}

.cpcs-body {
  padding: 30px 28px;
}

.cpcs-body p {
  font-size: 17px;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 24px;
  max-width: 680px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.step-card {
  border: 1px solid var(--line);
  background: var(--cream2);
  border-radius: var(--radius-sm);
  padding: 20px;
  position: relative;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--black);
  color: var(--gold2);
  display: grid;
  place-items: center;
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}

.step-card h4 {
  font-size: 17px;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Language Panel ───────────────────────────────────────── */
.language-block {
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.language-head {
  background: var(--black);
  border-bottom: 4px solid var(--gold);
  padding: 22px 28px;
}

.language-head h3 {
  color: var(--white);
  font-size: 26px;
}

.language-body {
  padding: 28px;
}

.language-body p {
  font-size: 17px;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 22px;
}

.language-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.language-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream2);
  font-family: var(--ff-body);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.18s, background 0.18s;
}

.language-item:hover {
  border-color: var(--gold);
  background: var(--gold-pale);
}

.language-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── Support Cards ────────────────────────────────────────── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.support-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s, transform 0.22s;
}

.support-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.support-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.support-card p {
  font-size: 16px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.65;
}

/* ── Team Cards ───────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s, transform 0.22s;
}

.team-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--black);
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.team-avatar-text {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--gold2);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.team-card h4 {
  font-size: 18px;
  margin-bottom: 2px;
}

.team-card-role {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 15px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
}

/* ── Why ARC Block ────────────────────────────────────────── */
.why-block {
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  border-bottom: 6px solid var(--gold);
  box-shadow: var(--shadow-lg);
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.why-block::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at 50% 0%, rgba(181,148,97,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.why-block h2 {
  color: var(--white);
  font-size: clamp(26px, 3.5vw, 40px);
  margin-bottom: 16px;
  position: relative;
}

.why-block p {
  color: #e0d4be;
  font-size: 18px;
  max-width: 880px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.7;
  position: relative;
}

/* ── Contact CTA ──────────────────────────────────────────── */
.contact-cta {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  background: linear-gradient(135deg, var(--white), var(--cream2));
}

.contact-cta h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 10px;
}

.contact-cta p {
  color: var(--muted);
  font-size: 17px;
  font-weight: 300;
  max-width: 560px;
}

.contact-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

/* ── Contact Full Page ────────────────────────────────────── */
.contact-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 60px;
}

.contact-info h2 {
  margin-bottom: 12px;
}

.contact-info p {
  font-size: 17px;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 28px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.18s, transform 0.18s;
}

.contact-method:hover {
  border-color: var(--gold);
  transform: translateX(3px);
}

.contact-method-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--black);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-method-icon svg {
  color: var(--gold2);
}

.contact-method-label {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 2px;
}

.contact-method-value {
  font-family: var(--ff-body);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}

.contact-actions-panel {
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 2px solid var(--charcoal);
}

.contact-actions-panel h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 8px;
}

.contact-actions-panel p {
  color: #c8bfaf;
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 26px;
}

.contact-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Disclaimer ───────────────────────────────────────────── */
.disclaimer-block {
  background: var(--cream2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 60px;
}

.disclaimer-block h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 600;
}

.disclaimer-block p {
  font-size: 15px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
}

/* ── Split Layout ─────────────────────────────────────────── */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 60px;
}

.split-6040 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  margin-bottom: 60px;
}

/* ── Stats Row ────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-num {
  font-family: var(--ff-head);
  font-size: 38px;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

.stat-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Gold Divider ─────────────────────────────────────────── */
.gold-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
  margin: 60px 0;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--black);
  border-top: 3px solid var(--gold);
  color: #c8bfaf;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 52px 24px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .brand-name {
  font-size: 17px;
  margin-bottom: 8px;
  display: block;
}

.footer-brand .brand-sub {
  font-size: 9px;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  font-size: 14px;
  color: #8a8278;
  font-weight: 300;
  line-height: 1.65;
  max-width: 260px;
}

.footer-col h4 {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 500;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 14px;
  color: #8a8278;
  transition: color 0.18s;
  font-weight: 300;
  font-family: var(--ff-body);
}

.footer-col a:hover {
  color: var(--gold2);
}

.footer-bottom {
  border-top: 1px solid rgba(181,148,97,0.15);
  padding: 18px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #5a5650;
}

/* ── Entrance Animations ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-up {
  animation: fadeUp 0.55s var(--ease) both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1060px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-pill-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-brand {
    grid-column: span 2;
  }

  .contact-full {
    grid-template-columns: 1fr;
  }

  .split-6040 {
    grid-template-columns: 1fr;
  }

  .contact-cta {
    grid-template-columns: 1fr;
  }

  .contact-cta-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .detail-grid,
  .support-grid,
  .team-grid,
  .split-2 {
    grid-template-columns: 1fr;
  }

  .detail-card.span-2 {
    grid-column: span 1;
  }

  .detail-card-list {
    columns: 1;
  }

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

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .top-bar-contact {
    display: none;
  }

  .why-block {
    padding: 38px 24px;
  }

  .section {
    padding: 52px 24px;
  }

  .language-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .service-pill-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

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

/* ── Print ────────────────────────────────────────────────── */
@media print {
  .top-bar, .site-header, .burger, .mobile-nav,
  .hero-actions, .contact-cta-buttons, .contact-action-buttons {
    display: none;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  .detail-card, .support-card, .team-card, .step-card {
    box-shadow: none;
    break-inside: avoid;
  }
}

/* ── Header Logo Image ────────────────────────────────────── */
.header-logo {
  height: 68px;
  width: auto;
  display: block;
  border-radius: 6px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(181,148,97,0.25));
}

@media (max-width: 768px) {
  .header-logo {
    height: 52px;
  }
}

/* ── Hero Logo Layout (Option A) ──────────────────────────── */
.home-hero-inner {
  grid-template-columns: auto 1fr !important;
  gap: 52px;
  align-items: center;
}

.hero-logo-col {
  flex-shrink: 0;
}

.hero-logo-img {
  height: 220px;
  width: auto;
  display: block;
  border-radius: 12px;
  filter: drop-shadow(0 6px 28px rgba(181,148,97,0.35));
}

@media (max-width: 1060px) {
  .home-hero-inner {
    grid-template-columns: 1fr !important;
  }
  .hero-logo-img {
    height: 160px;
    margin: 0 auto 8px;
  }
}

@media (max-width: 768px) {
  .hero-logo-img {
    height: 130px;
  }
}


/* ── Front Page Upgrade Sections ───────────────────────────── */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.workflow-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  min-height: 245px;
}

.workflow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--black);
  color: var(--gold2);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.workflow-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.workflow-card p {
  font-size: 15px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.65;
}

.language-access {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
  background: linear-gradient(135deg, var(--white), var(--cream2));
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
}

.language-access h2 {
  font-size: clamp(22px, 3vw, 34px);
  margin-bottom: 10px;
}

.language-access p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
}

.language-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.language-list span {
  display: block;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 10px 14px;
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.send-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: center;
  background: var(--black);
  border-radius: var(--radius-lg);
  border-bottom: 5px solid var(--gold);
  padding: 34px;
  box-shadow: var(--shadow);
}

.send-panel .kicker {
  color: var(--gold2);
}

.send-copy h2 {
  color: var(--white);
  font-size: clamp(22px, 3vw, 34px);
  margin-bottom: 10px;
}

.send-copy p {
  color: #dfd0b4;
  font-size: 16px;
  font-weight: 300;
}

.send-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.check-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(181,148,97,0.28);
  border-radius: var(--radius-sm);
  color: #f1e6d3;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 400;
}

/* ── Stronger Mobile and Accessibility Support ───────────── */
.mobile-nav[aria-hidden="true"] {
  pointer-events: none;
}

.mobile-nav.open {
  pointer-events: auto;
}

.burger:focus-visible,
.mobile-close:focus-visible,
.btn:focus-visible,
.main-nav a:focus-visible,
.mobile-nav-links a:focus-visible {
  outline: 2px solid var(--gold2);
  outline-offset: 3px;
}

@media (max-width: 1020px) {
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .language-access,
  .send-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .workflow-grid,
  .language-list,
  .send-checklist {
    grid-template-columns: 1fr;
  }

  .language-access,
  .send-panel {
    padding: 24px;
  }

  .workflow-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Additional Mobile Optimisations ──────────────────────── */

/* Prevent horizontal overflow on all viewports */
html, body {
  overflow-x: hidden;
}

/* ── Header overflow fix ──────────────────────────────────────
   .brand has flex-shrink: 0 in the base styles, which stops it
   shrinking on mobile — causing the viewport-wide blank space.
   We override that and add min-width:0 so flex can truncate. */
@media (max-width: 900px) {
  .header-inner {
    overflow: hidden;
  }

  .brand {
    flex-shrink: 1;   /* allow brand to give way to burger */
    min-width: 0;     /* let flex item shrink below its content size */
    overflow: hidden;
  }

  .brand-text {
    min-width: 0;
    overflow: hidden;
  }

  .brand-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 768px) {
  /* Slightly smaller base text on mobile */
  body {
    font-size: 17px;
  }

  /* Header: shrink brand text, hide subtitle to save sticky-bar space */
  .header-logo {
    height: 46px;
  }

  .brand-name {
    font-size: 14px;
  }

  .brand-sub {
    display: none;
  }

  /* Reduce hero vertical padding */
  .home-hero {
    padding: 48px 20px 52px;
  }

  .page-hero {
    padding: 40px 20px 44px;
  }

  /* Scale down prose that had fixed sizes */
  .page-hero p {
    font-size: 17px;
  }

  .hero-body {
    font-size: 17px;
    margin-bottom: 24px;
  }

  .section-head p {
    font-size: 16px;
  }

  .why-block p {
    font-size: 16px;
  }

  /* Tighter card & panel padding on mobile */
  .hero-card {
    padding: 20px;
  }

  .contact-cta {
    padding: 24px 20px;
  }

  .contact-actions-panel {
    padding: 24px;
  }

  .service-overview-head {
    padding: 16px 20px;
  }

  .service-pill-grid {
    padding: 20px;
  }

  .cpcs-head,
  .language-head {
    padding: 16px 20px;
  }

  .cpcs-body {
    padding: 24px 20px;
  }

  .language-body {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  /* Smaller logo in header on tiny phones */
  .header-logo {
    height: 36px;
  }

  .brand-name {
    font-size: 12px;
  }

  /* Stack hero CTA buttons full-width for easy tapping */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Tighter section & wrapper padding on small phones */
  .section {
    padding: 40px 16px;
  }

  .section-wrap {
    padding: 0 16px;
  }

  .page-hero {
    padding: 28px 16px 32px;
  }

  .home-hero {
    padding: 36px 16px 40px;
  }

  .why-block {
    padding: 28px 16px;
  }

  /* Stack contact CTA buttons full-width */
  .contact-cta {
    padding: 20px 16px;
  }

  .contact-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer inner padding */
  .footer-inner {
    padding: 36px 16px 24px;
  }
}
