/*
Theme Name: Audience Group Custom Theme
Theme URI: https://audiencegroup.com/
Author: Antigravity
Author URI: https://google.com
Description: A high-fidelity, premium, custom WordPress theme designed for Audience Group. Features full page-level and block-level editability, custom post types, and Swiper integration.
Version: 1.0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: audience-theme
*/

/* =========================================================================
   AUDIENCE GROUP - MULTI-PAGE DESIGN SYSTEM
   ========================================================================= */

:root {
  /* Colors */
  --primary-navy: #0A1628;       /* Midnight Navy background/footer */
  --primary-navy-light: #16243A; /* Slightly lighter navy for cards on dark */
  --steel-blue: #1C3A5E;         /* Borders on dark background */
  --signal-blue: #2563EB;        /* Primary interactive/accent blue */
  --sky-accent: #60A5FA;         /* Light blue for secondary highlights */
  
  --bg-white: #FFFFFF;
  --bg-off-white: #F8FAFC;       /* Alternate section backgrounds */
  --bg-light-gray: #F1F5F9;      /* Borders/dividers */
  
  --text-primary: #0F172A;       /* Dark slate for primary body */
  --text-secondary: #475569;     /* Muted gray for descriptions */
  --text-light: #94A3B8;         /* Light gray for tags/meta */
  --text-white: #FFFFFF;
  
  --revenue-green: #10B981;
  --data-teal: #06B6D4;
  --alert-amber: #F59E0B;
  
  --border-light: rgba(226, 232, 240, 0.8);
  --border-dark: rgba(28, 58, 94, 0.4);
  --border-glow: rgba(37, 99, 235, 0.25);
  
  /* Fonts */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 18px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 32px 80px rgba(15, 23, 42, 0.16);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.12);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease-in-out;
}

/* =========================================================================
   BASE RESET & TYPOGRAPHY
   ========================================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================================================================
   GLOBAL COMPONENTS & LAYOUTS
   ========================================================================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 5;
}

.section_padding {
  padding: 8rem 0;
}

.section_head {
  margin-bottom: 5rem;
  max-width: 800px;
}

.section_head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section_tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--signal-blue);
  margin-bottom: 1rem;
}

.section_tag.white {
  color: var(--sky-accent);
}

.section_title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-navy);
}

.section_title.white {
  color: var(--text-white);
}

.section_title .gradient_text {
  background: linear-gradient(135deg, var(--signal-blue) 0%, var(--sky-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section_subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-top: 1rem;
}

.section_subtitle.white {
  color: var(--text-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  outline: none;
}

.btn_primary {
  background-color: var(--signal-blue);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}

.btn_primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.btn_secondary {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-white);
}

.btn_secondary:hover {
  background-color: var(--text-white);
  color: var(--primary-navy);
  border-color: var(--text-white);
  transform: translateY(-2px);
}

.btn_outline {
  background-color: transparent;
  border-color: var(--signal-blue);
  color: var(--signal-blue);
}

.btn_outline:hover {
  background-color: var(--signal-blue);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn_nav_cta {
  background-color: var(--signal-blue);
  color: var(--text-white);
  padding: 0.65rem 1.35rem;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
}

.btn_nav_cta:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
}

/* =========================================================================
   STICKY HEADER (WHITE BACKGROUND)
   ========================================================================= */
.site_header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--bg-light-gray);
  z-index: 1000;
  transition: var(--transition-fast);
}

.site_header.scrolled {
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.header_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  transition: var(--transition-fast);
}

.site_header.scrolled .header_container {
  padding: 0.85rem 2rem;
}

.logo_link {
  display: block;
}

.site_logo {
  height: 38px;
  width: auto;
}

.header_menu_wrap {
  display: flex;
  align-items: center;
}

.main_menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.menu-item {
  position: relative;
}

.menu-item a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.menu-item a:hover,
.menu-item.active a,
.menu-item.current-menu-item a,
.menu-item.current_page_item a {
  color: var(--signal-blue);
}

/* Header Actions & Burger */
.header_actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.burger_block {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger_line {
  width: 100%;
  height: 2px;
  background-color: var(--primary-navy);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

/* =========================================================================
   DARK NAVY HERO BANNER (COMMON FOR ALL INNER HEROES)
   ========================================================================= */
.hero_banner {
  background-color: var(--primary-navy);
  padding: 10rem 0 7rem 0;
  position: relative;
  overflow: hidden;
}

.hero_banner::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(37, 99, 235, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.hero_banner::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.1) 0%, rgba(96, 165, 250, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.hero_container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero_text_col {
  z-index: 5;
}

.hero_kicker_tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.kicker_line {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--sky-accent);
  box-shadow: 0 0 10px var(--sky-accent);
}

.kicker_text {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sky-accent);
}

.hero_title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-white);
  line-height: 1.15;
}

.hero_title span {
  display: inline;
}

.hero_subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-top: 1.5rem;
  max-width: 580px;
  line-height: 1.6;
}

.hero_btns {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

/* Inner Page Hero (Standardized height, no right column dashboard) */
.inner_hero {
  padding: 9rem 0 5rem 0;
  text-align: center;
}

.inner_hero .container {
  display: block;
  max-width: 900px;
}

.inner_hero .hero_title {
  font-size: 2.75rem;
}

.inner_hero .hero_subtitle {
  margin-left: auto;
  margin-right: auto;
}

.inner_hero_meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--sky-accent);
  margin-top: 1.5rem;
}

/* =========================================================================
   HERO INTERACTIVE WIDGET (AG1.png Dashboard & AG2.png strategy map)
   ========================================================================= */
.hero_widget_col {
  position: relative;
  z-index: 5;
}

/* Glassmorphic Dashboard Console (AG1.png) */
.dashboard_widget {
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid var(--steel-blue);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(12px);
}

.dashboard_widget_header {
  border-bottom: 1px solid rgba(28, 58, 94, 0.5);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.dashboard_widget_title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dashboard_widget_title::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--revenue-green);
  border-radius: 50%;
}

.dashboard_stats_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.dashboard_stat_card {
  background: rgba(22, 36, 58, 0.4);
  border: 1px solid rgba(28, 58, 94, 0.3);
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.dashboard_stat_label {
  font-size: 0.725rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dashboard_stat_val {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-top: 0.25rem;
}

.dashboard_stat_trend {
  font-size: 0.725rem;
  color: var(--revenue-green);
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Strategic Circle Diagram (AG2.png) */
.circle_strategy_widget {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.strategy_center_node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background-color: var(--signal-blue);
  color: var(--text-white);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px var(--signal-blue);
  z-index: 10;
}

.strategy_outer_orbit {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(37, 99, 235, 0.3);
  border-radius: 50%;
  animation: rotateOrbit 120s linear infinite;
}

.strategy_node {
  position: absolute;
  width: 54px;
  height: 54px;
  background-color: var(--primary-navy-light);
  border: 2px solid var(--steel-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-accent);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition-fast);
}

.strategy_node svg {
  width: 20px;
  height: 20px;
}

.strategy_node:hover {
  border-color: var(--signal-blue);
  color: var(--text-white);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.node_label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.node_strategy { top: -27px; left: 50%; transform: translateX(-50%); }
.node_strategy .node_label { bottom: -24px; left: 50%; transform: translateX(-50%); }

.node_execution { right: -27px; top: 40%; transform: translateY(-50%); }
.node_execution .node_label { left: 65px; top: 50%; transform: translateY(-50%); }

.node_optimization { right: 40px; bottom: -10px; }
.node_optimization .node_label { top: 65px; left: 50%; transform: translateX(-50%); }

.node_reporting { left: 40px; bottom: -10px; }
.node_reporting .node_label { top: 65px; left: 50%; transform: translateX(-50%); }

.node_technology { left: -27px; top: 40%; transform: translateY(-50%); }
.node_technology .node_label { right: 65px; top: 50%; transform: translateY(-50%); }

@keyframes rotateOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* =========================================================================
   LOGO INFINITE MARQUEE
   ========================================================================= */
.partners_section {
  padding: 4rem 0;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--bg-light-gray);
  overflow: hidden;
}

.partners_title {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.marquee_container {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.marquee_track {
  display: flex;
  gap: 5rem;
  animation: scrollMarquee 180s linear infinite;
  white-space: nowrap;
}

.marquee_track:hover {
  animation-play-state: paused;
}

.marquee_item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}

.marquee_item img {
  height: 100%;
  width: auto;
  opacity: 0.45;
  filter: grayscale(100%);
  transition: var(--transition-fast);
}

.marquee_item img:hover {
  opacity: 0.95;
  filter: grayscale(0%);
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================================================
   SERVICES SECTION (AG1.png Grid & AG2.png comprehensive lists)
   ========================================================================= */
.services_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service_card {
  background-color: var(--bg-white);
  border: 1px solid var(--bg-light-gray);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.service_card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-md);
}

.service_card_icon {
  width: 48px;
  height: 48px;
  color: var(--signal-blue);
  margin-bottom: 1.5rem;
}

.service_card_icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5px;
}

.service_card_title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

.service_card_desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Services 2-Column List with Chevron Arrows (AG2.png) */
.services_rows_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service_row_card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-white);
  border: 1px solid var(--bg-light-gray);
  padding: 1.75rem 2.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.service_row_card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.15);
}

.service_row_left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.service_row_num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--sky-accent);
}

.service_row_icon {
  width: 32px;
  height: 32px;
  color: var(--signal-blue);
}

.service_row_icon svg {
  width: 100%;
  height: 100%;
}

.service_row_info {
  margin-left: 0.5rem;
}

.service_row_title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.service_row_desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.service_row_arrow {
  color: var(--text-light);
  transition: var(--transition-fast);
}

.service_row_card:hover .service_row_arrow {
  color: var(--signal-blue);
  transform: translateX(4px);
}

/* Dark Support Card in Rows */
.service_row_dark_card {
  background-color: var(--primary-navy);
  border-color: var(--steel-blue);
  color: var(--text-white);
  justify-content: flex-start;
  gap: 1.5rem;
}

.service_row_dark_card .service_row_title {
  color: var(--text-white);
}

.service_row_dark_card .service_row_desc {
  color: var(--text-light);
}

/* =========================================================================
   METRICS SECTION (AG1.png Inline & AG2.png Growth Partner grid)
   ========================================================================= */
.metrics_navy_banner {
  background-color: var(--primary-navy);
  border-top: 1px solid var(--steel-blue);
  border-bottom: 1px solid var(--steel-blue);
  padding: 4rem 0;
}

.metrics_banner_flex {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.metric_banner_item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.metric_banner_icon {
  width: 36px;
  height: 36px;
  color: var(--sky-accent);
}

.metric_banner_icon svg {
  width: 100%;
  height: 100%;
}

.metric_banner_data {
  display: flex;
  flex-direction: column;
}

.metric_banner_val {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
}

.metric_banner_label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Metric Column/Grid Cards (AG2.png / AG3.png / AG4.png) */
.why_metrics_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.why_metric_card {
  background-color: var(--bg-white);
  border: 1px solid var(--bg-light-gray);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

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

.why_metric_icon {
  width: 40px;
  height: 40px;
  color: var(--signal-blue);
  margin: 0 auto 1.25rem auto;
}

.why_metric_icon svg {
  width: 100%;
  height: 100%;
}

.why_metric_val {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.1;
}

.why_metric_label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* =========================================================================
   TIMELINE STEPS / ENGAGEMENT PROCESS (AG2.png & AG4.png & AG7.png)
   ========================================================================= */
.timeline_wrapper {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 4rem;
}

.timeline_progress_bar {
  position: absolute;
  top: 27px;
  left: 5%;
  right: 5%;
  height: 2px;
  background-color: var(--bg-light-gray);
  z-index: 1;
}

.timeline_progress_active {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: var(--signal-blue);
}

.timeline_step {
  position: relative;
  z-index: 5;
  text-align: center;
  flex: 1;
  padding: 0 1rem;
}

.timeline_node {
  width: 54px;
  height: 54px;
  background-color: var(--bg-white);
  border: 2px solid var(--bg-light-gray);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  transition: var(--transition-smooth);
}

.timeline_step.active .timeline_node {
  background-color: var(--signal-blue);
  border-color: var(--signal-blue);
  color: var(--text-white);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

.timeline_step_title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.timeline_step_desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* =========================================================================
   TWO-PANEL BLOCK LAYOUTS (AG2.png Why Partner, AG3.png Story)
   ========================================================================= */
.split_row {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.split_col {
  flex: 1;
}

.split_image_wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.split_image_wrap img {
  width: 100%;
  object-fit: cover;
}

/* Core Values Layout Grid (AG3.png & AG6.png) */
.values_grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.value_card {
  text-align: center;
  background-color: var(--bg-white);
  border: 1px solid var(--bg-light-gray);
  border-radius: var(--radius-md);
  padding: 2rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.value_card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.15);
}

.value_icon {
  width: 38px;
  height: 38px;
  color: var(--signal-blue);
  margin: 0 auto 1.25rem auto;
}

.value_icon svg {
  width: 100%;
  height: 100%;
}

.value_title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.value_desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* =========================================================================
   LEADERSHIP SWIPER SECTION (AG3.png & index.html)
   ========================================================================= */
.leadership_section {
  background-color: var(--bg-off-white);
  position: relative;
}

.team_swiper_wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.team_swiper {
  padding: 1.5rem 1.5rem 4.5rem 1.5rem;
}

.team_slide {
  height: auto;
  display: flex;
  justify-content: center;
}

.member_card {
  background-color: var(--bg-white);
  border: 1px solid var(--bg-light-gray);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  width: 100%;
}

.member_card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.15);
}

.member_img_wrap {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--bg-light-gray);
  margin: 0 auto 1.5rem auto;
  background-color: var(--bg-off-white);
  transition: var(--transition-smooth);
}

.member_card:hover .member_img_wrap {
  border-color: var(--signal-blue);
  transform: scale(1.05);
}

.member_img_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
  transition: var(--transition-smooth);
}

.member_card:hover .member_img_wrap img {
  filter: grayscale(0%) contrast(1);
}

.member_name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.member_role {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  margin-bottom: 1.25rem;
}

.member_linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--bg-off-white);
  color: var(--text-secondary);
  border-radius: 50%;
  transition: var(--transition-fast);
}

.member_linkedin svg {
  width: 14px;
  height: 14px;
}

.member_card:hover .member_linkedin {
  background-color: var(--signal-blue);
  color: var(--text-white);
}

/* Swiper navigation buttons outside layout */
.team-prev,
.team-next {
  color: var(--signal-blue) !important;
  background-color: var(--bg-white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--bg-light-gray);
  transition: var(--transition-fast);
  z-index: 30;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.team-prev { left: 15px !important; }
.team-next { right: 15px !important; }

.team-prev:hover,
.team-next:hover {
  background-color: var(--signal-blue);
  color: var(--text-white) !important;
  transform: scale(1.05) translateY(-50%);
}

.team-prev:after,
.team-next:after {
  font-size: 1rem !important;
  font-weight: bold;
}

/* =========================================================================
   CASE STUDIES & INSIGHTS CARDS (AG4.png & AG5.png)
   ========================================================================= */
.filter_tabs_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.filter_tab {
  background-color: var(--bg-white);
  border: 1px solid var(--bg-light-gray);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter_tab:hover,
.filter_tab.active {
  border-color: var(--signal-blue);
  color: var(--signal-blue);
  background-color: rgba(37, 99, 235, 0.05);
}

/* Case Card Grid */
.cases_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.case_card {
  background-color: var(--bg-white);
  border: 1px solid var(--bg-light-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.case_card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.case_img_wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: var(--primary-navy);
}

.case_img_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.case_card:hover .case_img_wrap img {
  transform: scale(1.05);
}

.case_tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--signal-blue);
  color: var(--text-white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
}

.case_body {
  padding: 2.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case_card_title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

.case_card_desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.case_stats_row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--bg-light-gray);
  padding-top: 1.25rem;
  margin-top: auto;
  margin-bottom: 1.25rem;
}

.case_stat_box {
  display: flex;
  flex-direction: column;
}

.case_stat_val {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--signal-blue);
}

.case_stat_lbl {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.case_link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--signal-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.case_link:hover {
  color: #1d4ed8;
}

/* Dark CTA Card in Case Grid */
.case_card_dark {
  background-color: var(--primary-navy);
  border-color: var(--steel-blue);
  color: var(--text-white);
  padding: 3rem;
  align-items: flex-start;
  justify-content: center;
}

.case_card_dark .case_card_title {
  color: var(--text-white);
  font-size: 1.5rem;
}

.case_card_dark .case_card_desc {
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* =========================================================================
   CAREERS PAGE LAYOUTS (AG6.png)
   ========================================================================= */
.positions_list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.position_card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-white);
  border: 1px solid var(--bg-light-gray);
  padding: 1.5rem 2.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.position_card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.15);
}

.position_title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.position_meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
}

.position_meta_item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.position_status_tag {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--revenue-green);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.position_status_tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--revenue-green);
  border-radius: 50%;
}

.position_link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--signal-blue);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.position_link:hover {
  color: #1d4ed8;
}

/* =========================================================================
   CONTACT FORM & HEADQUARTERS MAP (AG7.png)
   ========================================================================= */
.contact_hero_container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.contact_form_panel {
  background-color: var(--bg-white);
  border: 1px solid var(--bg-light-gray);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
}

.form_title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1.5rem;
}

.form_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form_full_width {
  grid-column: span 2;
}

.form_field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form_label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form_input,
.form_select,
.form_textarea {
  font-family: var(--font-body);
  font-size: 0.925rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--bg-light-gray);
  border-radius: var(--radius-md);
  outline: none;
  background-color: var(--bg-off-white);
  transition: var(--transition-fast);
  color: var(--text-primary);
  width: 100%;
}

.form_input:focus,
.form_select:focus,
.form_textarea:focus {
  border-color: var(--signal-blue);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form_textarea {
  resize: vertical;
  min-height: 100px;
}

.form_btn {
  margin-top: 1rem;
  width: 100%;
}

/* Headquarters Map Visual Section */
.hq_section {
  background-color: var(--primary-navy);
  border-top: 1px solid var(--steel-blue);
  border-bottom: 1px solid var(--steel-blue);
  padding: 0;
  position: relative;
  overflow: hidden;
  height: 480px;
}

.hq_map_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.25;
  background-image: url('https://audiencegroup.com/wp-content/themes/audience/assets/img/map-pattern.png');
  background-size: cover;
  background-position: center;
}

.hq_container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hq_card {
  position: relative;
  z-index: 10;
  background: rgba(10, 22, 40, 0.85);
  border: 1px solid var(--steel-blue);
  backdrop-filter: blur(12px);
  padding: 3rem;
  border-radius: var(--radius-lg);
  max-width: 460px;
  color: var(--text-white);
  box-shadow: var(--shadow-xl);
}

.hq_title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.hq_details_list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hq_detail_item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.hq_detail_icon {
  width: 20px;
  height: 20px;
  color: var(--sky-accent);
  margin-top: 0.2rem;
}

.hq_detail_icon svg {
  width: 100%;
  height: 100%;
}

.hq_detail_text {
  font-size: 0.925rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* =========================================================================
   PRIVACY POLICY & TERMS LAYOUTS (AG8.png & AG9.png)
   ========================================================================= */
.policy_row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.policy_sidebar {
  position: sticky;
  top: 120px;
  background-color: var(--bg-off-white);
  border: 1px solid var(--bg-light-gray);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.policy_sidebar_title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.policy_sidebar_menu {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar_link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar_link:hover,
.sidebar_link.active {
  color: var(--signal-blue);
}

.sidebar_link svg {
  width: 12px;
  height: 12px;
  opacity: 0;
  transition: var(--transition-fast);
}

.sidebar_link.active svg {
  opacity: 1;
}

.policy_content_box {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.policy_section {
  border-bottom: 1px solid var(--bg-light-gray);
  padding-bottom: 3rem;
}

.policy_section:last-child {
  border-bottom: none;
}

.policy_section_title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1.25rem;
}

.policy_section_text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.policy_section_text p {
  margin-bottom: 1rem;
}

/* =========================================================================
   404 ERROR PAGE LAYOUT (AG10.png)
   ========================================================================= */
.error_container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 10rem 0 6rem 0;
}

.error_code {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--signal-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.error_subtitle {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-top: 1rem;
  line-height: 1.2;
}

.error_desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  max-width: 500px;
}

.error_image_col {
  display: flex;
  justify-content: center;
}

.error_image_col img {
  width: 80%;
  max-width: 320px;
}

.error_links_section {
  border-top: 1px solid var(--bg-light-gray);
  padding: 5rem 0;
}

.error_links_title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 3.5rem;
}

.error_links_grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.error_link_card {
  text-align: center;
  background-color: var(--bg-white);
  border: 1px solid var(--bg-light-gray);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.25rem;
  transition: var(--transition-smooth);
}

.error_link_card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.15);
}

.error_link_icon {
  width: 36px;
  height: 36px;
  color: var(--signal-blue);
  margin: 0 auto 1.25rem auto;
}

.error_link_icon svg {
  width: 100%;
  height: 100%;
}

.error_link_title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.error_link_desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 1.25rem;
  height: 48px;
}

.error_link_btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--signal-blue);
}

/* =========================================================================
   TESTIMONIALS SLIDER SECTION (AG4.png)
   ========================================================================= */
.testimonials_section {
  background-color: var(--bg-off-white);
}

.testimonials_swiper_wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonials_swiper {
  padding: 2rem 2rem 4rem 2rem;
}

.testimonial_slide {
  text-align: center;
}

.testimonial_quote_icon {
  width: 48px;
  height: 48px;
  color: var(--sky-accent);
  margin: 0 auto 1.5rem auto;
  opacity: 0.5;
}

.testimonial_quote_icon svg {
  width: 100%;
  height: 100%;
}

.testimonial_quote_text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-navy);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

.testimonial_author_avatar {
  width: 48px;
  height: 48px;
  background-color: var(--signal-blue);
  color: var(--text-white);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
}

.testimonial_author_name {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.testimonial_author_role {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

/* =========================================================================
   NEWSLETTER BLOCK (AG5.png Insights page bottom)
   ========================================================================= */
.newsletter_section {
  background-color: var(--bg-off-white);
  border-top: 1px solid var(--bg-light-gray);
  border-bottom: 1px solid var(--bg-light-gray);
  padding: 5rem 0;
}

.newsletter_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.newsletter_left {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1.2;
}

.newsletter_icon {
  width: 60px;
  height: 60px;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--signal-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.newsletter_icon svg {
  width: 28px;
  height: 28px;
}

.newsletter_title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.newsletter_desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.newsletter_right {
  flex: 1;
}

.newsletter_form {
  display: flex;
  gap: 0.75rem;
}

.newsletter_input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.925rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--bg-light-gray);
  border-radius: var(--radius-md);
  outline: none;
  background-color: var(--bg-white);
}

/* =========================================================================
   FINAL CONVERSION CTA BANNER (AG1.png bottom & AG3.png bottom & AG4.png)
   ========================================================================= */
.cta_section {
  background-color: var(--bg-off-white);
  border-top: 1px solid var(--bg-light-gray);
  border-bottom: 1px solid var(--bg-light-gray);
  padding: 5rem 0;
}

.cta_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.cta_left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.cta_calendar_icon {
  width: 56px;
  height: 56px;
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--signal-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta_calendar_icon svg {
  width: 24px;
  height: 24px;
}

.cta_title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.cta_desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* =========================================================================
   DARK FOOTER (4-COLUMN ENTERPRISE FOOTER)
   ========================================================================= */
.site_footer {
  background-color: var(--primary-navy);
  color: var(--text-light);
  padding: 6rem 0 3rem 0;
  border-top: 1px solid var(--steel-blue);
}

.footer_grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer_brand_col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer_logo {
  height: 38px;
  width: auto;
}

.footer_brand_tag {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer_social_links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer_social_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--primary-navy-light);
  color: var(--text-light);
  border-radius: 50%;
  border: 1px solid var(--steel-blue);
}

.footer_social_icon:hover {
  background-color: var(--signal-blue);
  color: var(--text-white);
  border-color: var(--signal-blue);
}

.footer_social_icon svg {
  width: 14px;
  height: 14px;
}

.footer_col_title {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.footer_links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer_links a {
  font-size: 0.875rem;
  color: var(--text-light);
}

.footer_links a:hover {
  color: var(--sky-accent);
}

.footer_contact_item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.footer_contact_icon {
  width: 16px;
  height: 16px;
  color: var(--sky-accent);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer_contact_icon svg {
  width: 100%;
  height: 100%;
}

.footer_bottom {
  border-top: 1px solid var(--steel-blue);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer_bottom_links {
  display: flex;
  gap: 2rem;
}

.footer_bottom_links a:hover {
  color: var(--sky-accent);
}

/* =========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================= */
@media (max-width: 1024px) {
  html { font-size: 15px; }
  .hero_container { grid-template-columns: 1fr; gap: 3rem; }
  .hero_widget_col { display: none; } /* Hide strategy / console diagrams on tablet/mobile */
  .services_grid { grid-template-columns: repeat(2, 1fr); }
  .services_rows_grid { grid-template-columns: 1fr; }
  .why_metrics_grid { grid-template-columns: repeat(2, 1fr); }
  .cases_grid { grid-template-columns: repeat(2, 1fr); }
  .values_grid { grid-template-columns: repeat(3, 1fr); }
  .error_container { grid-template-columns: 1fr; text-align: center; }
  .error_image_col { display: none; }
  .error_links_grid { grid-template-columns: repeat(3, 1fr); }
  .footer_grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .contact_hero_container { grid-template-columns: 1fr; gap: 4rem; }
}

@media (max-width: 768px) {
  .section_padding { padding: 5rem 0; }
  .section_title { font-size: 2rem; }
  .hero_title { font-size: 2.5rem; }
  
  /* Mobile menu drawer */
  .burger_block { display: flex; }
  
  .header_menu_wrap {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: -10px 0 30px rgba(10, 22, 40, 0.1);
    padding: 6rem 2.5rem 2.5rem 2.5rem;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .header_menu_wrap.active {
    right: 0;
  }
  
  .main_menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
  }
  
  .main_menu .menu-item a {
    font-size: 1.1rem;
  }
  
  .header_actions {
    display: none; /* Hide desktop nav CTA */
  }
  
  /* Grid overrides */
  .services_grid { grid-template-columns: 1fr; }
  .why_metrics_grid { grid-template-columns: 1fr; }
  .cases_grid { grid-template-columns: 1fr; }
  .values_grid { grid-template-columns: repeat(2, 1fr); }
  .error_links_grid { grid-template-columns: repeat(2, 1fr); }
  .footer_grid { grid-template-columns: 1fr; gap: 2.5rem; }
  
  .split_row { flex-direction: column; gap: 3rem; }
  .policy_row { grid-template-columns: 1fr; gap: 3rem; }
  .policy_sidebar { position: static; }
  
  .timeline_wrapper { flex-direction: column; gap: 2.5rem; align-items: flex-start; }
  .timeline_progress_bar { display: none; }
  .timeline_step { text-align: left; padding: 0; display: flex; gap: 1.5rem; }
  .timeline_node { margin: 0; flex-shrink: 0; }
  .timeline_step_info { margin-top: 0.25rem; }
  
  .cta_row,
  .newsletter_row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .newsletter_form { width: 100%; }
  
  .team-prev, .team-next { display: none !important; }
}

@media (max-width: 480px) {
  .values_grid { grid-template-columns: 1fr; }
  .error_links_grid { grid-template-columns: 1fr; }
  .form_grid { grid-template-columns: 1fr; }
  .form_full_width { grid-column: span 1; }
  .timeline_step { flex-direction: column; gap: 0.75rem; }
  .timeline_node { margin: 0; }
}

/* =========================================================================
   PAGE SPECIFIC OVERRIDES & CORRECTIONS (MIGRATED FROM HEAD STYLES)
   ========================================================================= */

/* 1. About Page Custom Styles */
.about_hero {
  background-image: linear-gradient(to bottom, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.95) 100%), url('https://images.unsplash.com/photo-1506012787146-f92b2d7d6d96?q=80&w=1200');
  background-size: cover;
  background-position: center;
}

.about_hero_stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  flex-wrap: wrap;
}

.about_hero_stat_item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--sky-accent);
}

.about_hero_stat_icon {
  font-size: 1.15rem;
}

.about_hero_stat_text {
  color: var(--text-white);
  font-weight: 600;
}

.story_image_container {
  position: relative;
}

.story_floating_panel {
  position: absolute;
  bottom: -2rem;
  left: 5%;
  right: 5%;
  background: rgba(10, 22, 40, 0.85);
  border: 1px solid var(--steel-blue);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  box-shadow: var(--shadow-lg);
  z-index: 10;
}

.story_float_item {
  text-align: center;
  color: var(--text-white);
}

.story_float_icon {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--sky-accent);
}

.story_float_title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.story_float_desc {
  font-size: 0.65rem;
  color: var(--text-light);
  margin-top: 0.15rem;
}

@media (max-width: 1024px) {
  .story_floating_panel {
    position: static;
    margin-top: 2rem;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 2. Case Studies Page Custom Styles */
.cases_hero_stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.cases_hero_stat_card {
  background: rgba(22, 36, 58, 0.4);
  border: 1px solid rgba(28, 58, 94, 0.3);
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.cases_hero_stat_val {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--sky-accent);
}

.cases_hero_stat_lbl {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
  margin-top: 0.25rem;
}

.cases_hero_stat_desc {
  font-size: 0.725rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* 3. Insights (Blog) Custom Styles */
.featured_post_card {
  background: rgba(10, 22, 40, 0.6);
  border: 1px solid var(--steel-blue);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}

.featured_img_wrap {
  height: 180px;
  position: relative;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.4) 0%, rgba(6, 182, 212, 0.4) 100%);
}

.featured_body {
  padding: 2rem;
  color: var(--text-white);
}

.featured_tag {
  display: inline-block;
  background-color: var(--signal-blue);
  color: var(--text-white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.featured_title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.featured_desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.post_meta_author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author_avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--primary-navy-light);
  border: 2px solid var(--steel-blue);
}

.author_avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author_info {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
}

.author_name {
  font-weight: 700;
  color: var(--text-white);
}

.post_date {
  color: var(--text-light);
}

.search_row {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 480px;
}

.search_input_wrap {
  flex: 1;
  position: relative;
}

.search_input {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
}

.search_icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-light);
}

.search_select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  width: 140px;
}

.search_select option {
  background-color: var(--primary-navy);
  color: var(--text-white);
}

.blog_author_row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  border-top: 1px solid var(--bg-light-gray);
  padding-top: 1.25rem;
}

.blog_author_avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-off-white);
  border: 1px solid var(--bg-light-gray);
  overflow: hidden;
}

.blog_author_avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog_author_info {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
}

.blog_author_name {
  font-weight: 700;
  color: var(--primary-navy);
}

.blog_meta_text {
  color: var(--text-secondary);
}

.pagination_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 4rem;
}

.page_num {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.page_num:hover,
.page_num.active {
  border-color: var(--signal-blue);
  color: var(--signal-blue);
  background-color: rgba(37, 99, 235, 0.05);
}

/* 4. Careers Page Custom Styles */
.collage_grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.collage_img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.collage_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.careers_layout {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 3.5rem;
}

.jobs_filter_bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.jobs_search_input {
  flex: 1.5;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--bg-light-gray);
  border-radius: var(--radius-md);
  outline: none;
  background-color: var(--bg-off-white);
}

.jobs_select {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--bg-light-gray);
  border-radius: var(--radius-md);
  outline: none;
  background-color: var(--bg-off-white);
  min-width: 130px;
}

.jobs_clear_link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--signal-blue);
  cursor: pointer;
}

.life_ag_panel {
  background-color: var(--primary-navy);
  border: 1px solid var(--steel-blue);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--text-white);
  position: sticky;
  top: 120px;
}

.life_ag_title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.life_ag_desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.life_highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.life_highlight_item {
  display: flex;
  gap: 1rem;
}

.life_highlight_icon {
  width: 20px;
  height: 20px;
  color: var(--sky-accent);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.life_highlight_icon svg {
  width: 100%;
  height: 100%;
}

.life_highlight_title {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--text-white);
}

.life_highlight_desc {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.25rem;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .collage_grid { display: none; }
  .careers_layout { grid-template-columns: 1fr; gap: 4rem; }
  .life_ag_panel { position: static; }
}

/* 5. Contact Page Custom Styles */
.contact_bullets {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 3rem;
}

.contact_bullet_item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--sky-accent);
}

.contact_bullet_icon {
  font-size: 1.25rem;
  color: var(--sky-accent);
}

.contact_bullet_text {
  color: var(--text-white);
  font-weight: 500;
}

.talk_team_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.talk_team_card {
  background-color: var(--bg-white);
  border: 1px solid var(--bg-light-gray);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.talk_team_card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.15);
}

.talk_team_avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem auto;
  border: 2px solid var(--bg-light-gray);
}

.talk_team_avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.talk_team_name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.talk_team_role {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
  margin-bottom: 1.25rem;
}

.talk_team_email {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--signal-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.talk_team_email:hover {
  color: #1d4ed8;
}

@media (max-width: 1024px) {
  .talk_team_grid { grid-template-columns: 1fr; }
}

/* 6. Legal Pages (Privacy / Terms) Custom Styles */
.policy_hero_icon {
  width: 48px;
  height: 48px;
  color: var(--sky-accent);
  margin-bottom: 1.5rem;
}

/* 7. 404 Page Custom Styles */
.astronaut_svg {
  width: 100%;
  max-width: 300px;
  animation: floatAstronaut 6s ease-in-out infinite;
}

@keyframes floatAstronaut {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}
