/*
Theme Name: Telco Management
Theme URI: https://telcomanagement.com.au
Author: Telco Management
Author URI: https://telcomanagement.com.au
Description: WordPress theme for Telco Management - Australian Telecommunications Expense Management specialists.
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: telco-management
*/

:root {
  --red:     #e33c31;
  --red-dark:#c03127;
  --gold:    #fcbf00;
  --gold-dark:#d9a500;
  --charcoal:#2b2c2a;
  --grey-dark:#3d3d3b;
  --grey-mid: #7a7a78;
  --grey-light:#e8e8e6;
  --off-white:#f7f6f4;
  --white:   #ffffff;
  --text:    #1a1a19;
  --text-muted:#5a5a58;
  --section-pad-y: 7.5rem;
  --section-pad-x: 4rem;
  --section-pad-y-mobile: 5rem;
  --section-pad-x-mobile: 1.5rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: var(--charcoal); line-height: 1.5; }
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--red);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  z-index: 1000;
  font-weight: 600;
  border-radius: 0 0 8px 0;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
a { text-decoration: none; }

/* Focus visible */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.btn-primary:focus-visible, .btn-primary-full:focus-visible, .btn-glass:focus-visible, .nav-cta:focus-visible, .btn-gold:focus-visible, .nav-cta-gold:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}
.card:focus-visible, .case-card:focus-visible, .service-card:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
  border-radius: 12px;
}

/* Navigation */
nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 4rem;
  position: sticky; top: 0; z-index: 100;
  background: rgba(43,44,42,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo {
  font-weight: 700; font-size: 1.2rem; color: var(--white);
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 0.6rem;
}
.logo-mark {
  width: 32px; height: 32px;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; color: var(--white);
  border-radius: 8px;
}
.logo { text-decoration: none; }
.logo img { height: 36px; width: auto; display: block; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.75); font-size: 0.9rem; font-weight: 500;
  transition: all 0.2s;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover { color: var(--white); border-color: var(--white); }
.nav-links li.active a { color: var(--white); font-weight: 600; border-bottom-color: var(--red); }
.nav-links .nav-active a {
  color: var(--white);
  font-weight: 600;
  border-bottom-color: var(--red);
}
.nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 0.7rem 1.5rem;
  font-weight: 700; font-size: 0.85rem;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(227,60,49,0.3); }
.nav-cta-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--charcoal);
  padding: 0.7rem 1.5rem;
  font-weight: 700; font-size: 0.85rem;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-cta-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(252,191,0,0.25); }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--charcoal);
  z-index: 99;
  padding: 6rem 2rem 2rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.mobile-menu.active { display: flex; }
.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}
.mobile-menu a {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 600;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu li.active a { color: var(--red); }
.mobile-menu .mobile-cta {
  margin-top: 2rem;
  background: var(--red);
  color: var(--white);
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
}
.mobile-menu .mobile-cta-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--charcoal);
}

/* Hero */
.hero {
  padding: 8rem 4rem 6rem;
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--charcoal) 0%, var(--grey-dark) 100%);
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(227,60,49,0.20) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(227,60,49,0.14) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(227,60,49,0.08) 0%, transparent 45%);
  pointer-events: none;
}
.hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-overline {
  display: inline-flex; align-items: center; gap: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.72rem; font-weight: 600;
  color: var(--white);
  margin-bottom: 2rem;
}
.hero-overline::before {
  content: ''; display: block; width: 32px; height: 2px;
  background: var(--red);
}
.hero h1 {
  font-size: 3.5rem; font-weight: 700;
  letter-spacing: -0.04em; line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero h1 span { color: var(--red); }
.hero p {
  font-size: 1.15rem; color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem; line-height: 1.65;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(227,60,49,0.15); border: 1px solid rgba(227,60,49,0.25);
  color: var(--red); padding: 0.35rem 0.9rem; border-radius: 6px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 1.5rem;
}
.hero-stat-display {
  font-size: 7rem; font-weight: 700; letter-spacing: -0.06em;
  line-height: 1; color: var(--red); margin-bottom: 1.5rem;
}
.hero-stat-label {
  font-size: 0.85rem; font-weight: 600;
  color: rgba(255,255,255,0.4); text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 2rem;
}
.hero-subhead {
  font-size: 1.1rem; font-weight: 500;
  color: rgba(255,255,255,0.75); margin-bottom: 2.5rem;
}
.cta-group { display: flex; gap: 1rem; align-items: center; }
.btn-glass {
  color: rgba(255,255,255,0.7);
  padding: 1.1rem 1.5rem;
  font-weight: 500; font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  transition: all 0.2s;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
}
.btn-glass:hover { border-color: rgba(255,255,255,0.4); color: var(--white); background: rgba(255,255,255,0.06); }

/* Abstract audit visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.audit-visual {
  width: 100%; max-width: 420px;
  aspect-ratio: 1;
  position: relative;
}
.audit-visual::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(227,60,49,0.15) 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(227,60,49,0.1) 0%, transparent 40%);
}
.audit-ring {
  position: absolute; inset: 10%;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
}
.audit-ring::before {
  content: '';
  position: absolute; inset: 15%;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 50%;
}
.audit-dot {
  position: absolute;
  width: 12px; height: 12px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(227,60,49,0.4);
}
.audit-dot:nth-child(2) { top: 20%; left: 35%; background: var(--red); box-shadow: 0 0 20px rgba(227,60,49,0.4); }
.audit-dot:nth-child(3) { top: 55%; right: 25%; }
.audit-dot:nth-child(4) { bottom: 30%; left: 25%; background: var(--red); box-shadow: 0 0 20px rgba(227,60,49,0.4); }
.audit-dot:nth-child(5) { top: 40%; left: 50%; width: 8px; height: 8px; }
.audit-lines {
  position: absolute; inset: 0;
  background:
    linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.03) 48%, rgba(255,255,255,0.03) 52%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(255,255,255,0.03) 48%, rgba(255,255,255,0.03) 52%, transparent 52%);
  background-size: 60px 60px;
}

/* What We Do */
.section-light { background: var(--white); padding: var(--section-pad-y) var(--section-pad-x); }
.section-light-inner { max-width: 1200px; margin: 0 auto; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-dark { background: linear-gradient(180deg, var(--charcoal) 0%, var(--grey-dark) 100%); padding: var(--section-pad-y) var(--section-pad-x); position: relative; overflow: hidden; }
.section-dark::before { content: ''; position: absolute; top: -50%; left: -10%; width: 600px; height: 500px; background: radial-gradient(ellipse, rgba(227,60,49,0.12) 0%, transparent 65%); pointer-events: none; }
.section-dark h2 { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 1rem; color: var(--white); }
.section-off { background: var(--off-white); padding: var(--section-pad-y) var(--section-pad-x); }
.section-off h2 { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 1rem; color: var(--text); }
.section-label {
  display: inline-flex; align-items: center; gap: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.72rem; font-weight: 600; color: var(--red);
  margin-bottom: 1.25rem;
}
.section-label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--red); }
.section-label-light {
  display: inline-flex; align-items: center; gap: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.72rem; font-weight: 600; color: var(--white);
  margin-bottom: 1.25rem;
}
.section-label-light::before { content: ''; display: block; width: 24px; height: 2px; background: var(--red); }
.lead { font-size: 1.1rem; color: var(--text-muted); max-width: 650px; line-height: 1.65; }
.lead-light { font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 650px; line-height: 1.65; }

/* Tables (case-study / blog content) */
.section-light table,
.section-off table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.section-light th,
.section-light td,
.section-off th,
.section-off td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--grey-light);
}
.section-light thead th,
.section-off thead th {
  font-weight: 700;
  color: var(--text);
  background: var(--off-white);
  border-bottom: 2px solid var(--grey-light);
}
.section-light tbody tr:hover,
.section-off tbody tr:hover { background: var(--off-white); }
.section-dark table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.section-dark th,
.section-dark td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.section-dark thead th {
  font-weight: 700;
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border-bottom: 2px solid rgba(255,255,255,0.15);
}
.section-dark tbody tr:hover { background: rgba(255,255,255,0.03); }
.section-light h2 {
  font-size: 2.5rem; font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.1;
  max-width: 600px; margin-bottom: 1rem;
}
.section-light .lead {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 550px; margin-bottom: 3rem; line-height: 1.65;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--off-white);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grey-light);
  transition: background 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  background: var(--white);
}
.card:hover::before { background: var(--red); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; }
.card-icon {
  width: 56px; height: 56px;
  background: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  border-radius: 14px;
}
.card-num { font-size: 0.75rem; font-weight: 700; color: var(--grey-mid); letter-spacing: 0.08em; }
.card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }
.card-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.5rem; font-size: 0.9rem; font-weight: 600;
  color: var(--red);
}
.section-hc .card p { color: var(--text-muted); }

/* Health Check */
.section-hc {
  background: linear-gradient(135deg, var(--charcoal) 0%, #1a1a19 100%);
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative; overflow: hidden;
}
.section-hc::after {
  content: '';
  position: absolute; top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(227,60,49,0.14) 0%, transparent 60%);
  pointer-events: none;
}
.section-hc::before {
  content: '';
  position: absolute; bottom: -20%; left: -10%;
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(227,60,49,0.09) 0%, transparent 65%);
  pointer-events: none;
}
.hc-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; position: relative; z-index: 1; }
.hc-label {
  display: inline-flex; align-items: center; gap: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.72rem; font-weight: 600; color: var(--red);
  margin-bottom: 1.25rem;
}
.hc-label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--red); }
.hc-inner h2 { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; color: var(--white); margin-bottom: 1rem; line-height: 1.1; }
.hc-inner p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 2rem; line-height: 1.65; }
.hc-steps { list-style: none; margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.hc-steps li {
  display: flex; align-items: flex-start; gap: 1rem;
  color: rgba(255,255,255,0.7); font-size: 0.95rem;
}
.hc-steps li::before {
  content: attr(data-n);
  min-width: 32px; height: 32px;
  background: rgba(227,60,49,0.12);
  border: 1px solid rgba(227,60,49,0.3);
  color: var(--red);
  font-weight: 700; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; flex-shrink: 0;
}
.hc-form {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
}
.hc-form::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(227,60,49,0.3), rgba(227,60,49,0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hc-form h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--white); position: relative; }
.form-field { margin-bottom: 1rem; position: relative; }
.form-field label { display: block; font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.75); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.05em; }
.form-field input {
  width: 100%; min-height: 56px; padding: 1.125rem 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  font-family: inherit; font-size: 1rem; color: var(--white);
  background: rgba(255,255,255,0.05);
  transition: all 0.2s; outline: none;
  border-radius: 8px;
}
.form-field input:focus { border-color: var(--white); background: rgba(255,255,255,0.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.75rem; color: rgba(255,255,255,0.3); text-align: center; margin-top: 0.75rem; }
.form-textarea {
  width: 100%; min-height: 120px; padding: 1.125rem 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  font-family: inherit; font-size: 1rem; color: var(--white);
  background: rgba(255,255,255,0.05);
  transition: all 0.2s; outline: none; resize: vertical;
  border-radius: 8px;
}
.form-textarea:focus { border-color: var(--white); background: rgba(255,255,255,0.08); }
.label-optional { text-transform: none; letter-spacing: 0; font-weight: 400; color: rgba(255,255,255,0.4); }
.telco-hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.form-status { font-size: 0.85rem; text-align: center; margin-top: 0.75rem; min-height: 1.2em; color: rgba(255,255,255,0.75); }
.form-status.is-success { color: #7bc47f; }
.form-status.is-error { color: #ff8f88; }

.form-field-checkbox { display: flex; align-items: flex-start; gap: 0.75rem; }
.form-field-checkbox input[type="checkbox"] { width: auto; min-height: auto; margin-top: 0.25rem; flex-shrink: 0; accent-color: var(--red); }
.form-field-checkbox .checkbox-label { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.85rem; font-weight: 400; color: rgba(255,255,255,0.7); text-transform: none; letter-spacing: 0; line-height: 1.5; cursor: pointer; }

/* Case Studies */
.section-cases { background: var(--off-white); padding: var(--section-pad-y) var(--section-pad-x); }
.section-cases-inner { max-width: 1200px; margin: 0 auto; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.link-all { font-size: 0.9rem; font-weight: 600; color: var(--red); }
.case-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case-card {
  display: block;
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.case-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grey-light);
  transition: background 0.3s;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.case-card:hover::before { background: var(--red); }
.case-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--grey-mid);
  margin-bottom: 1.25rem;
}
.case-stat { font-size: 2.8rem; font-weight: 700; letter-spacing: -0.04em; color: var(--red); display: block; margin-bottom: 0.5rem; line-height: 1; }
.case-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.75rem; }
.case-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.5rem; }
.case-link { font-size: 0.85rem; font-weight: 600; color: var(--red); }
.case-link:hover { text-decoration: underline; }

/* Service mini cards (used inside case studies) */
.service-mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.service-mini {
  background: var(--white); border-radius: 16px; padding: 2.25rem;
  transition: all 0.3s; position: relative; overflow: hidden;
  border: 1px solid var(--grey-light);
}
.service-mini::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--grey-light); transition: background 0.3s;
}
.service-mini:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); border-color: transparent; }
.service-mini:hover::before { background: var(--red); }
.service-mini.featured {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--grey-dark) 100%);
  color: var(--white); border-color: transparent;
}
.service-mini.featured h3 { color: var(--white); }
.service-mini.featured p { color: rgba(255,255,255,0.75); }
.service-mini h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text); }
.service-mini p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.25rem; }
.service-link { font-size: 0.88rem; font-weight: 600; color: var(--red); display: inline-flex; align-items: center; gap: 0.35rem; transition: all 0.2s; }
.service-link:hover { gap: 0.5rem; }

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--charcoal) 0%, #1a1a19 100%);
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(227,60,49,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band::before {
  content: '';
  position: absolute; bottom: -40%; left: -10%;
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(227,60,49,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band-inner {
  max-width: 800px; margin: 0 auto;
  text-align: center; position: relative; z-index: 1;
}
.cta-band h2 {
  font-size: 2.4rem; font-weight: 700;
  letter-spacing: -0.03em; color: var(--white);
  margin-bottom: 1rem;
}
.cta-band p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem; margin-bottom: 2.5rem;
}
.cta-band .cta-group { justify-content: center; }
.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 1.1rem 2.2rem;
  font-weight: 700; font-size: 1rem;
  transition: all 0.2s; display: inline-block; border: none; cursor: pointer;
  border-radius: 10px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(227,60,49,0.25); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--charcoal);
  padding: 1.1rem 2.2rem;
  font-weight: 700; font-size: 1rem;
  transition: all 0.2s; display: inline-block; border: none; cursor: pointer;
  border-radius: 10px;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(252,191,0,0.25); }

/* Footer */
footer { background: var(--charcoal); padding: 4rem 4rem 2rem; position: relative; overflow: hidden; }
footer::before {
  content: '';
  position: absolute; top: -60%; right: -10%;
  width: 600px; height: 500px;
  background: radial-gradient(ellipse, rgba(227,60,49,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { margin-bottom: 1rem; font-size: 1.1rem; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.4); line-height: 1.65; max-width: 260px; }
.footer-col h5 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.75); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-col ul li.featured a { color: rgba(255,255,255,0.85); font-weight: 600; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem; color: rgba(255,255,255,0.3);
}
.footer-hc-tag {
  background: var(--red); color: var(--white);
  padding: 0.3rem 0.75rem; border-radius: 4px;
  font-size: 0.78rem; font-weight: 700;
}

.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 1.5rem;
  z-index: 90;
  justify-content: center;
  align-items: center;
}
.mobile-sticky-cta a {
  background: var(--red);
  color: var(--white);
  padding: 0.875rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  width: 100%;
  display: block;
  transition: all 0.2s;
}
.mobile-sticky-cta-gold a {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--charcoal);
}

.btn-primary-full {
  background: var(--red);
  color: var(--white);
  padding: 1.1rem 2.2rem;
  font-weight: 700; font-size: 1rem;
  transition: all 0.2s; display: inline-block; border: none; cursor: pointer;
  border-radius: 10px;
  width: 100%;
}
.btn-primary-full:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(227,60,49,0.25); }

/* Testimonials Hero */
.section-testimonials {
  background: var(--off-white);
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative;
}
.section-testimonials-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.testimonials-header { margin-bottom: 3rem; }
.testimonials-header h2 {
  font-size: 2.4rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 0.75rem;
}
.testimonials-header p {
  font-size: 1.1rem; color: var(--text-muted); max-width: 500px; margin: 0 auto;
}
.testimonial-card-box {
  background: var(--white);
  border-radius: 20px;
  padding: 4rem 3rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  border: 1px solid var(--grey-light);
  position: relative;
}
.testimonial-hero-wrap { position: relative; min-height: 280px; overflow: hidden; }
.testimonial-card {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0.5s;
  pointer-events: none;
  visibility: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.testimonial-card.active {
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0s;
}
.testimonial-card .quote-mark {
  font-size: 3.5rem; line-height: 1; color: var(--red);
  opacity: 0.25; margin-bottom: 1rem;
  font-family: Georgia, serif;
}
.testimonial-card .testimonial-quote {
  font-size: 1.35rem; line-height: 1.55; color: var(--text);
  font-weight: 500; max-width: 760px; margin: 0 auto 2.5rem;
}
.testimonial-card .testimonial-author {
  display: flex; align-items: center; gap: 1rem;
}
.testimonial-card .testimonial-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--charcoal); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.testimonial-card .testimonial-name { font-weight: 700; font-size: 1rem; color: var(--text); }
.testimonial-card .testimonial-role { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.15rem; }
.slider-controls {
  display: flex; justify-content: center; align-items: center;
  gap: 1.5rem; margin-top: 3rem;
}
.slider-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--grey-light); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s; color: var(--text);
  font-size: 1.1rem;
}
.slider-btn:hover { border-color: var(--red); color: var(--red); background: var(--off-white); }
.slider-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.slider-dots { display: flex; gap: 0.5rem; }
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grey-light); border: none; cursor: pointer;
  transition: all 0.2s; padding: 0;
}
.slider-dot.active { background: var(--red); width: 24px; border-radius: 4px; }

/* Client Logos Marquee */
.section-logos {
  background: var(--charcoal);
  padding: 4rem 0; overflow: hidden;
}
.logos-header {
  text-align: center; margin-bottom: 2.5rem;
  padding: 0 var(--section-pad-x);
}
.logos-header h2 {
  font-size: 1.1rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
}
.logo-marquee {
  display: flex; width: max-content;
  animation: marquee-scroll 80s linear infinite;
  pointer-events: none;
}
.logo-marquee-track {
  display: flex; align-items: center; gap: 6rem;
  padding: 0;
}
.logo-marquee-track img {
  height: 56px; width: auto;
  filter: brightness(1.3);
  opacity: 0.9;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Inner page hero */
.page-hero {
  background: linear-gradient(180deg, var(--charcoal) 0%, var(--grey-dark) 100%);
  padding: 6rem var(--section-pad-x) 4rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(227,60,49,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(227,60,49,0.14) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(227,60,49,0.08) 0%, transparent 45%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: -40%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(227,60,49,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero h1 {
  font-size: 2.8rem; font-weight: 700;
  letter-spacing: -0.03em; color: var(--white);
  margin-bottom: 1rem; line-height: 1.1;
}
.page-hero p {
  font-size: 1.15rem; color: rgba(255,255,255,0.75);
  max-width: 600px; margin: 0 auto; line-height: 1.6;
}

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Value stats */
.value-list { display: flex; flex-direction: column; gap: 1.5rem; }
.value-item {
  background: var(--off-white);
  border-radius: 12px;
  padding: 1.5rem;
}
.value-num {
  font-size: 2.2rem; font-weight: 700;
  letter-spacing: -0.03em; color: var(--red);
  margin-bottom: 0.25rem;
}
.value-desc { font-size: 0.95rem; color: var(--text-muted); }

/* Values grid (about page) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.value-block {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--grey-light);
  transition: all 0.3s;
}
.value-block:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-color: transparent;
}
.value-block-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--red);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}
.value-block h3 {
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 0.5rem; color: var(--text);
}
.value-block p {
  font-size: 0.9rem; color: var(--text-muted);
  line-height: 1.6;
}

/* Service cards */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--off-white);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  background: var(--white);
}
.service-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* Process steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}
.process-num {
  width: 48px; height: 48px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
  flex-shrink: 0;
}
.process-step h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.process-step p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-block h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--white); }
.contact-block p, .contact-block a { font-size: 0.95rem; color: rgba(255,255,255,0.7); line-height: 1.6; }
.contact-block a:hover { color: var(--white); }

/* Case study list */
.case-study-list { display: flex; flex-direction: column; gap: 1.25rem; }
a.case-study-row,
.case-study-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  align-items: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
a.case-study-row::before,
.case-study-row::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grey-light);
  transition: background 0.3s;
}
a.case-study-row:hover::before,
.case-study-row:hover::before { background: var(--red); }
.case-study-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.case-study-row .case-stat { font-size: 2.8rem; margin-bottom: 0.25rem; line-height: 1; }
.case-study-row .case-tag { margin-bottom: 0.5rem; display: inline-block; }
.case-study-row .case-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--text); }
.case-study-row .case-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 0; }
.case-study-row .case-link { display: none; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 2rem; }
  .hc-inner { grid-template-columns: 1fr; gap: 3rem; }
  .cards { grid-template-columns: 1fr; }
  .case-cards { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .service-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .case-study-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero { padding: 4rem 1.5rem; }
  .hero h1 { font-size: 2.25rem; }
  .section-light, .section-hc, .section-cases { padding: var(--section-pad-y-mobile) var(--section-pad-x-mobile); }
  .section-light h2, .section-header h2, .hc-inner h2 { font-size: 2rem; }
  .cta-group { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .audit-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  footer { padding: 3rem 1.5rem 2rem; }
  .testimonials-header h2 { font-size: 1.8rem; }
  .testimonial-card .testimonial-quote { font-size: 1.15rem; }
  .testimonial-card .quote-mark { font-size: 3rem; }
  .testimonial-hero-wrap { min-height: 380px; }
  .testimonial-card-box { padding: 2.5rem 1.5rem; }
  .logo-marquee-track { gap: 3.5rem; }
  .logo-marquee-track img { height: 44px; }
  .mobile-sticky-cta { display: flex; }
  body { padding-bottom: 4rem; }
  .page-hero { padding: 5rem var(--section-pad-x-mobile) 3rem; }
  .page-hero h1 { font-size: 2rem; }
}

/* Utility */
.back-link { font-size: 0.9rem; font-weight: 600; color: var(--red); text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.article-body { font-size: 1.05rem; line-height: 1.7; color: var(--text-muted); }
.article-date { font-size: 0.9rem; color: rgba(255,255,255,0.5); margin-top: 1rem; }
.h2-subsection { font-size: 1.2rem; font-weight: 700; margin: 1.5rem 0 0.75rem; }
.h2-case-section { font-size: 1.3rem; font-weight: 700; margin: 2rem 0 1rem; }
.hero-stat-display { font-size: 2.5rem; font-weight: 700; color: var(--red); margin-top: 1rem; }
.section-prose { max-width: 800px; }
.post-date { font-size: 0.85rem; color: var(--grey-mid); margin-left: 1rem; }
.blog-row { grid-template-columns: 1fr !important; }
