/*
Theme Name: Apex Dumpsters Co Pro
Theme URI: https://apexdumpstersco.com
Author: Rizk Advertising
Author URI: https://rizkadvertising.com
Description: Premium dumpster rental theme for Apex Dumpsters Co — bold industrial design with conversion-focused layouts, glassmorphism header, scroll animations, and programmatic SEO location pages. Built for LA County & Orange County service areas.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apex-pro
Tags: custom-menu, custom-logo, featured-images, full-width-template, theme-options
*/

/* ==========================================================================
   DESIGN SYSTEM — APEX DUMPSTERS CO
   Aesthetic: Industrial Modern / Bold Construction
   Typography: Bebas Neue (display) + DM Sans (body)
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors */
  --apex-orange: #FF6B00;
  --apex-orange-dark: #E05E00;
  --apex-orange-light: #FF8A33;
  --apex-orange-glow: rgba(255, 107, 0, 0.25);
  --apex-black: #1A1A1A;
  --apex-charcoal: #2D2D2D;
  --apex-dark-grey: #3A3A3A;
  --apex-medium-grey: #6B6B6B;
  --apex-light-grey: #F5F3F0;
  --apex-off-white: #FAF9F7;
  --apex-white: #FFFFFF;
  --apex-success: #2ECC71;
  --apex-warning: #F39C12;

  /* Typography */
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Font Sizes — Fluid */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.85rem);
  --text-sm: clamp(0.85rem, 0.8rem + 0.3vw, 0.95rem);
  --text-base: clamp(1rem, 0.95rem + 0.3vw, 1.1rem);
  --text-lg: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  --text-xl: clamp(1.35rem, 1.15rem + 1vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 1.4rem + 1.75vw, 2.5rem);
  --text-3xl: clamp(2.25rem, 1.6rem + 3.25vw, 3.75rem);
  --text-4xl: clamp(3rem, 2rem + 5vw, 5.5rem);
  --text-hero: clamp(3.5rem, 2.5rem + 6vw, 7rem);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6rem;
  --space-section: clamp(4rem, 3rem + 5vw, 8rem);

  /* Layout */
  --container-max: 1280px;
  --container-wide: 1440px;
  --container-narrow: 860px;
  --header-height: 80px;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --shadow-xl: 0 16px 64px rgba(0,0,0,0.2);
  --shadow-orange: 0 8px 32px rgba(255, 107, 0, 0.3);
  --shadow-orange-lg: 0 12px 48px rgba(255, 107, 0, 0.4);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 600ms;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--apex-black);
  background: var(--apex-off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--apex-orange);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--apex-orange-dark);
}

ul, ol {
  list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--apex-black);
}

h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin-bottom: 1em;
  color: var(--apex-medium-grey);
}

.section-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--apex-orange);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--apex-orange);
}

.section-title {
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.6;
  color: var(--apex-medium-grey);
  max-width: 640px;
  font-weight: 400;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  line-height: 1;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.btn:hover::after {
  opacity: 1;
}

.btn--primary {
  background: var(--apex-orange);
  color: var(--apex-white);
  box-shadow: var(--shadow-orange);
}

.btn--primary:hover {
  background: var(--apex-orange-dark);
  color: var(--apex-white);
  box-shadow: var(--shadow-orange-lg);
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: var(--apex-white);
  border: 2px solid var(--apex-white);
}

.btn--secondary:hover {
  background: var(--apex-white);
  color: var(--apex-black);
  transform: translateY(-2px);
}

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

.btn--dark:hover {
  background: var(--apex-charcoal);
  color: var(--apex-white);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--apex-orange);
  border: 2px solid var(--apex-orange);
}

.btn--ghost:hover {
  background: var(--apex-orange);
  color: var(--apex-white);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1.25rem 3rem;
  font-size: var(--text-xl);
}

.btn--sm {
  padding: 0.65rem 1.5rem;
  font-size: var(--text-sm);
}

.btn__icon {
  font-size: 1.2em;
  transition: transform var(--duration-fast) var(--ease-spring);
}

.btn:hover .btn__icon {
  transform: translateX(3px);
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: all var(--duration-normal) var(--ease-out);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--duration-normal) var(--ease-out);
}

.site-header.scrolled::before {
  background: rgba(26, 26, 26, 0.92);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  z-index: 10;
}

.site-logo__text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  color: var(--apex-white);
  letter-spacing: 0.05em;
  line-height: 1;
}

.site-logo__text span {
  color: var(--apex-orange);
}

.site-logo img,
.site-logo .custom-logo {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

/* Ensure custom logo link wrapper doesn't break layout */
.site-logo .custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 1;
}

/* Hide site icon if accidentally shown in header */
.site-logo .site-icon,
.site-logo .wp-site-icon {
  display: none !important;
}

/* Hide any stray custom-logo that appears outside the header (WP block editor issue) */
body > .custom-logo-link,
.hero .custom-logo-link,
.hero .custom-logo,
main .custom-logo-link:not(.site-logo .custom-logo-link),
.wp-block-site-logo {
  display: none !important;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex: 1;
  justify-content: flex-end;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: nowrap;
}

.nav-menu li {
  white-space: nowrap;
}

.nav-menu a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--duration-fast);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--apex-orange);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
  color: var(--apex-white);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.header-phone {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--apex-white);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--apex-orange);
}

.header-phone svg {
  width: 18px;
  height: 18px;
  animation: phone-ring 2s ease-in-out infinite;
}

@keyframes phone-ring {
  0%, 80%, 100% { transform: rotate(0); }
  5%, 15% { transform: rotate(15deg); }
  10%, 20% { transform: rotate(-15deg); }
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--apex-white);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(380px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: var(--apex-black);
  z-index: 999;
  padding: calc(var(--header-height) + var(--space-2xl)) var(--space-2xl) var(--space-2xl);
  transition: right var(--duration-slow) var(--ease-out);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-menu a {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apex-white);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all var(--duration-fast);
}

.mobile-nav-menu a:hover {
  color: var(--apex-orange);
  padding-left: var(--space-md);
}

.mobile-drawer-cta {
  margin-top: auto;
  padding-top: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-drawer-cta .btn {
  width: 100%;
  text-align: center;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--apex-black);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26,26,26,0.95) 0%, rgba(26,26,26,0.6) 50%, rgba(255,107,0,0.15) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(255,107,0,0.2), transparent 60%);
}

.hero__bg-texture {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: calc(var(--header-height) + var(--space-4xl)) var(--space-xl) var(--space-4xl);
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,107,0,0.15);
  border: 1px solid rgba(255,107,0,0.3);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  margin-bottom: var(--space-xl);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--apex-orange);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,0,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255,107,0,0); }
}

.hero__badge-text {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--apex-orange);
  font-weight: 600;
}

.hero__title {
  color: var(--apex-white);
  max-width: 900px;
  margin-bottom: var(--space-lg);
}

.hero__title span {
  color: var(--apex-orange);
  position: relative;
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.hero__stats {
  display: flex;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

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

.hero__stat-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--apex-orange);
  line-height: 1;
}

.hero__stat-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background: var(--apex-white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: var(--space-xl) 0;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--apex-medium-grey);
  font-size: var(--text-sm);
  font-weight: 500;
}

.trust-item svg {
  width: 24px;
  height: 24px;
  color: var(--apex-orange);
  flex-shrink: 0;
}

.trust-item strong {
  color: var(--apex-black);
}

/* ---------- SECTION: HOW IT WORKS ---------- */
.section {
  padding: var(--space-section) 0;
}

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

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--apex-white);
}

.section--dark .section-subtitle {
  color: rgba(255,255,255,0.6);
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--apex-orange), rgba(255,107,0,0.2));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step__number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--apex-orange);
  color: var(--apex-white);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  box-shadow: var(--shadow-orange);
  transition: transform var(--duration-normal) var(--ease-spring);
}

.process-step:hover .process-step__number {
  transform: scale(1.1);
}

.process-step__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
}

.process-step__desc {
  font-size: var(--text-sm);
  color: var(--apex-medium-grey);
}

/* ---------- DUMPSTER SIZE CARDS ---------- */
.sizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-xl);
}

.size-card {
  background: var(--apex-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  border: 1px solid rgba(0,0,0,0.04);
}

.size-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,107,0,0.2);
}

.size-card__header {
  background: linear-gradient(135deg, var(--apex-black), var(--apex-charcoal));
  padding: var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.size-card__header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,107,0,0.15), transparent);
  transition: opacity var(--duration-normal);
  opacity: 0;
}

.size-card:hover .size-card__header::before {
  opacity: 1;
}

.size-card__yards {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  color: var(--apex-orange);
  line-height: 1;
}

.size-card__unit {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.15em;
}

.size-card__body {
  padding: var(--space-xl);
}

.size-card__ideal {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--apex-orange);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.size-card__desc {
  font-size: var(--text-sm);
  color: var(--apex-medium-grey);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.size-card__dimensions {
  display: flex;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-bottom: var(--space-lg);
}

.size-card__dim {
  text-align: center;
  flex: 1;
}

.size-card__dim-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--apex-black);
}

.size-card__dim-label {
  font-size: var(--text-xs);
  color: var(--apex-medium-grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.size-card .btn {
  width: 100%;
}

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  position: relative;
  background: var(--apex-charcoal);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--apex-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,107,0,0.2);
  background: var(--apex-dark-grey);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255,107,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 1.75rem;
  transition: all var(--duration-normal) var(--ease-spring);
}

.service-card:hover .service-card__icon {
  background: var(--apex-orange);
  transform: scale(1.05);
}

.service-card__title {
  font-size: var(--text-xl);
  color: var(--apex-white);
  margin-bottom: var(--space-sm);
}

.service-card__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  flex-grow: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: var(--text-base);
  letter-spacing: 0.1em;
  color: var(--apex-orange);
  text-transform: uppercase;
  margin-top: var(--space-lg);
  transition: gap var(--duration-fast) var(--ease-out);
}

.service-card__link:hover {
  gap: 0.75rem;
  color: var(--apex-orange-light);
}

/* ---------- FAQ ACCORDION ---------- */
.faq-grid {
  max-width: var(--container-narrow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--apex-white);
  border-radius: var(--border-radius);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  transition: all var(--duration-fast);
}

.faq-item.active {
  border-color: rgba(255,107,0,0.2);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--apex-black);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: color var(--duration-fast);
}

.faq-question:hover {
  color: var(--apex-orange);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--apex-light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.faq-item.active .faq-icon {
  background: var(--apex-orange);
  color: var(--apex-white);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out);
}

.faq-answer__inner {
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--apex-medium-grey);
  line-height: 1.8;
}

/* ---------- SERVICE AREAS GRID ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
}

.area-card {
  background: var(--apex-white);
  border-radius: var(--border-radius);
  padding: var(--space-lg) var(--space-xl);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all var(--duration-normal) var(--ease-out);
  text-decoration: none;
  display: block;
}

.area-card:hover {
  border-color: var(--apex-orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.area-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--apex-black);
  transition: color var(--duration-fast);
}

.area-card:hover .area-card__name {
  color: var(--apex-orange);
}

.area-card__county {
  font-size: var(--text-xs);
  color: var(--apex-medium-grey);
  margin-top: 0.25rem;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  position: relative;
  background: var(--apex-orange);
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.15) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.06'/%3E%3C/svg%3E");
}

.cta-banner .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.cta-banner__content h2 {
  color: var(--apex-white);
  margin-bottom: var(--space-sm);
}

.cta-banner__content p {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-lg);
  margin: 0;
}

.cta-banner__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--apex-black);
  color: rgba(255,255,255,0.6);
  padding: var(--space-4xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .site-logo__text {
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
  display: block;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--duration-fast);
}

.footer-social a:hover {
  background: var(--apex-orange);
  color: var(--apex-white);
}

.footer-column h5 {
  color: var(--apex-white);
  font-size: var(--text-base);
  letter-spacing: 0.12em;
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: var(--text-sm);
  transition: all var(--duration-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-links a:hover {
  color: var(--apex-orange);
  transform: translateX(4px);
}

.footer-newsletter {
  margin-top: var(--space-md);
}

.footer-newsletter p {
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}

.newsletter-form {
  display: flex;
  gap: 0;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  color: var(--apex-white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color var(--duration-fast);
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.3);
}

.newsletter-form input:focus {
  border-color: var(--apex-orange);
}

.newsletter-form button {
  padding: 0.75rem 1.25rem;
  background: var(--apex-orange);
  color: var(--apex-white);
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--duration-fast);
}

.newsletter-form button:hover {
  background: var(--apex-orange-dark);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl) 0;
  font-size: var(--text-xs);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
}

.footer-bottom a:hover {
  color: var(--apex-orange);
}

/* ---------- SINGLE SERVICE ---------- */
.service-hero {
  background: linear-gradient(135deg, var(--apex-black), var(--apex-charcoal));
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  position: relative;
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,107,0,0.08), transparent 70%);
}

.service-hero .section-label {
  color: var(--apex-orange);
}

.service-hero h1 {
  color: var(--apex-white);
  max-width: 700px;
}

.service-hero p {
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  font-size: var(--text-lg);
}

.service-content {
  padding: var(--space-section) 0;
}

.service-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.service-main h2,
.service-main h3 {
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.3;
}

.service-main h2 {
  font-size: var(--text-2xl);
  margin: var(--space-2xl) 0 var(--space-md);
}

.service-main h3 {
  font-size: var(--text-xl);
  margin: var(--space-xl) 0 var(--space-sm);
}

.service-main ul {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
}

.service-main ul li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  color: var(--apex-medium-grey);
}

.service-main ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--apex-orange);
  font-weight: 700;
}

.service-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
}

.sidebar-card {
  background: var(--apex-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
  margin-bottom: var(--space-xl);
}

.sidebar-card h4 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-lg);
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: normal;
}

.sidebar-card .btn {
  width: 100%;
  margin-top: var(--space-md);
}

/* ---------- SINGLE LOCATION ---------- */
.location-hero {
  background: linear-gradient(135deg, var(--apex-black), var(--apex-charcoal));
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-3xl);
  position: relative;
}

.location-breadcrumb {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.location-breadcrumb a {
  color: rgba(255,255,255,0.4);
}

.location-breadcrumb a:hover {
  color: var(--apex-orange);
}

.location-content {
  padding: var(--space-section) 0;
}

/* ---------- PAGE TEMPLATE ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--apex-black), var(--apex-charcoal));
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
}

.page-hero h1 {
  color: var(--apex-white);
}

.page-content {
  padding: var(--space-section) 0;
}

.page-content .container--narrow {
  line-height: 1.8;
}

.page-content .container--narrow h2 {
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: normal;
  font-size: var(--text-2xl);
  line-height: 1.3;
  margin: var(--space-2xl) 0 var(--space-md);
}

.page-content .container--narrow p {
  margin-bottom: var(--space-lg);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid::before {
    display: none;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-layout {
    grid-template-columns: 1fr;
  }
  .service-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-cta .btn {
    display: none;
  }

  .hero__stats {
    gap: var(--space-xl);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }

  .sizes-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

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

  .cta-banner .container {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner__actions {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

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

  .hero__stats {
    flex-direction: column;
    gap: var(--space-md);
  }

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

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.text-orange { color: var(--apex-orange); }
.mb-0 { margin-bottom: 0; }
.mt-auto { margin-top: auto; }

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   NEW SECTIONS — WINDY CITY STYLE
   ========================================================================== */

/* ---------- HERO SPLIT LAYOUT ---------- */
.hero--split {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: calc(var(--header-height) + var(--space-3xl)) var(--space-xl) var(--space-3xl);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--apex-orange);
  font-weight: 600;
  display: block;
  margin-bottom: var(--space-lg);
}

.hero__copy .hero__title {
  color: var(--apex-white);
  font-size: var(--text-hero);
  line-height: 0.95;
  margin-bottom: var(--space-xl);
}

.hero__copy .hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.hero__copy .hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.btn--ghost-light {
  background: transparent;
  color: var(--apex-white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn--ghost-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: var(--apex-white);
  transform: translateY(-2px);
}

/* ---------- HERO PRICE CARD ---------- */
.price-card {
  background: var(--apex-white);
  border-radius: var(--border-radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-xl);
}

.price-card__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.price-card__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--apex-orange);
  background: rgba(255,107,0,0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.price-card__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--apex-black);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.price-card__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.price-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-md) var(--space-sm);
  border: 2px solid var(--apex-light-grey);
  border-radius: var(--border-radius);
  background: var(--apex-white);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-out);
}

.price-option:hover {
  border-color: var(--apex-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.price-option--popular {
  border-color: var(--apex-orange);
  background: rgba(255,107,0,0.04);
}

.price-option__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--apex-orange);
  color: var(--apex-white);
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  white-space: nowrap;
}

.price-option__yards {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--apex-black);
  line-height: 1;
}

.price-option__unit {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--apex-medium-grey);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.price-option__price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--apex-orange);
  margin-top: var(--space-xs);
}

.price-card__note {
  font-size: var(--text-sm);
  color: var(--apex-medium-grey);
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

.price-card__note a {
  color: var(--apex-orange);
  font-weight: 600;
}

/* ---------- WHY GRID (THREE VALUE PROPS) ---------- */
.section--white {
  background: var(--apex-white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.why-card {
  text-align: center;
  padding: var(--space-2xl);
  border-radius: var(--border-radius-lg);
  background: var(--apex-off-white);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all var(--duration-normal) var(--ease-out);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,107,0,0.15);
}

.why-card__icon {
  width: 56px;
  height: 56px;
  background: var(--apex-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.why-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--apex-white);
}

.why-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.why-card__desc {
  font-size: var(--text-sm);
  color: var(--apex-medium-grey);
  line-height: 1.7;
  margin: 0;
}

/* ---------- SERVICES IMAGE GRID ---------- */
.section--light {
  background: var(--apex-light-grey);
}

.services-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-image-card {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background: var(--apex-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid rgba(0,0,0,0.04);
}

.service-image-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-image-card__img {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: var(--apex-charcoal);
}

.service-image-card__content {
  padding: var(--space-xl);
}

.service-image-card__content h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: normal;
}

.service-image-card__content p {
  font-size: var(--text-sm);
  color: var(--apex-medium-grey);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.service-image-card__content a {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apex-orange);
}

.service-image-card__content a:hover {
  color: var(--apex-orange-dark);
}

/* ---------- SIZES WITH PRICING GRID ---------- */
.sizes-price-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
}

.size-price-card {
  position: relative;
  background: var(--apex-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
}

.size-price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,107,0,0.2);
}

.size-price-card--popular {
  border-color: var(--apex-orange);
}

.size-price-card__ribbon {
  position: absolute;
  top: 16px;
  right: -35px;
  background: var(--apex-orange);
  color: var(--apex-white);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 2.5rem;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(255,107,0,0.3);
  z-index: 2;
}

.size-price-card__header {
  background: var(--apex-black);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
}

.size-price-card__yards {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  color: var(--apex-orange);
  line-height: 1;
}

.size-price-card__label {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.size-price-card__body {
  padding: var(--space-lg);
  flex-grow: 1;
}

.size-price-card__ideal {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--apex-orange);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.size-price-card__desc {
  font-size: var(--text-sm);
  color: var(--apex-medium-grey);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.size-price-card__specs {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--text-xs);
  color: var(--apex-medium-grey);
}

.size-price-card__specs li {
  padding: 0.35rem 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.size-price-card__specs li:first-child {
  border-top: none;
}

.size-price-card__specs strong {
  color: var(--apex-black);
}

.size-price-card__footer {
  padding: var(--space-lg);
  border-top: 1px solid rgba(0,0,0,0.06);
  text-align: center;
}

.size-price-card__price {
  margin-bottom: var(--space-md);
}

.size-price-card__price-symbol {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--apex-black);
  vertical-align: top;
}

.size-price-card__price-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--apex-black);
  line-height: 1;
}

.size-price-card__footer .btn {
  width: 100%;
}

/* ---------- BIG STATS BAR ---------- */
.stats-bar {
  background: var(--apex-orange);
  padding: var(--space-3xl) 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-block__number {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-hero);
  color: var(--apex-white);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-block__label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

/* ---------- STORY SECTION ---------- */
.section--story {
  background: var(--apex-off-white);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.story-content .section-label {
  margin-bottom: var(--space-md);
}

.story-title {
  font-size: var(--text-4xl);
  line-height: 1;
  margin-bottom: var(--space-xl);
}

.story-content p {
  font-size: var(--text-base);
  color: var(--apex-medium-grey);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.story-image {
  position: relative;
}

.story-image__frame {
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.story-image__frame img {
  width: 100%;
  height: auto;
  display: block;
}

.story-image__badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--apex-orange);
  color: var(--apex-white);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-orange-lg);
}

.story-image__badge-number {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  line-height: 1;
}

.story-image__badge-text {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* ---------- SERVICE AREAS COLUMNS ---------- */
.areas-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.areas-column__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-lg);
  color: var(--apex-orange);
}

.areas-column__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm) var(--space-xl);
}

.areas-column__list li a {
  color: var(--apex-medium-grey);
  font-size: var(--text-sm);
  transition: all var(--duration-fast);
}

.areas-column__list li a:hover {
  color: var(--apex-orange);
  padding-left: 0.5rem;
}

.areas-note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--apex-medium-grey);
  margin: 0;
}

.areas-note a {
  color: var(--apex-orange);
  font-weight: 600;
}

/* ---------- FINAL CTA ---------- */
.final-cta {
  background: var(--apex-black);
  padding: var(--space-4xl) 0;
  text-align: center;
}

.final-cta__inner h2 {
  color: var(--apex-white);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-md);
}

.final-cta__inner p {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-lg);
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
}

.final-cta__phone {
  margin-bottom: var(--space-xl);
}

.final-cta__phone-link {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  color: var(--apex-orange);
  text-decoration: none;
  transition: all var(--duration-fast);
}

.final-cta__phone-link:hover {
  color: var(--apex-orange-light);
  text-shadow: 0 0 30px rgba(255,107,0,0.5);
}

/* ---------- RESPONSIVE: NEW SECTIONS ---------- */
@media (max-width: 1200px) {
  .sizes-price-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .hero__price-card {
    max-width: 500px;
  }

  .price-card__grid {
    grid-template-columns: repeat(5, 1fr);
  }

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

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

  .story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .story-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }
}

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

  .price-card__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-image-grid {
    grid-template-columns: 1fr;
  }

  .sizes-price-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }

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

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

  .hero__copy .hero__actions {
    flex-direction: column;
  }

  .hero__copy .hero__actions .btn {
    width: 100%;
    text-align: center;
  }

  .final-cta__phone-link {
    font-size: var(--text-3xl);
  }
}

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

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

  .areas-column__list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ARCHIVE TEMPLATES
   ========================================================================== */

/* Page Hero */
.page-hero {
  background: var(--apex-charcoal);
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  text-align: center;
}

.page-hero__title {
  font-size: var(--text-hero);
  color: var(--apex-white);
  margin-bottom: var(--space-md);
}

.page-hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.7);
  max-width: 700px;
  margin: 0 auto;
}

/* Services Full Grid (Archive) */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.service-full-card {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--apex-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all var(--duration-normal) var(--ease-out);
}

.service-full-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,107,0,0.15);
}

.service-full-card__icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.service-full-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.service-full-card__desc {
  font-size: var(--text-sm);
  color: var(--apex-medium-grey);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.service-full-card__link {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--apex-orange);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.service-full-card__link:hover {
  color: var(--apex-orange-dark);
}

.service-full-card__link span {
  transition: transform var(--duration-fast) var(--ease-out);
  display: inline-block;
}

.service-full-card__link:hover span {
  transform: translateX(4px);
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.benefit-item {
  text-align: center;
}

.benefit-item svg {
  width: 48px;
  height: 48px;
  stroke: var(--apex-orange);
  margin-bottom: var(--space-md);
}

.benefit-item h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.benefit-item p {
  font-size: var(--text-sm);
  color: var(--apex-medium-grey);
  line-height: 1.6;
}

/* Archive Responsive */
@media (max-width: 992px) {
  .services-full-grid {
    grid-template-columns: 1fr;
  }

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

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

  .service-full-card {
    flex-direction: column;
    text-align: center;
  }
}




/* ---------- COMPREHENSIVE GUTENBERG COLOR FIXES ---------- */
/* Fix all white-on-white text issues across the site */

/* Primary and Secondary background colors - force dark */
.has-primary-background-color,
.has-secondary-background-color,
.wp-block-group.has-primary-background-color,
.wp-block-group.has-secondary-background-color,
.wp-block-cover.has-primary-background-color,
.wp-block-cover.has-secondary-background-color {
  background-color: var(--apex-charcoal) !important;
}

/* Ensure white text is visible on dark backgrounds */
.has-primary-background-color .has-white-color,
.has-secondary-background-color .has-white-color,
.has-primary-background-color h1,
.has-primary-background-color h2,
.has-primary-background-color h3,
.has-primary-background-color p,
.has-secondary-background-color h1,
.has-secondary-background-color h2,
.has-secondary-background-color h3,
.has-secondary-background-color p {
  color: var(--apex-white) !important;
}

/* Fix cover blocks */
.wp-block-cover .wp-block-cover__background.has-secondary-background-color,
.wp-block-cover .wp-block-cover__background.has-primary-background-color {
  background-color: var(--apex-charcoal) !important;
  opacity: 1 !important;
}

/* Any element with white color class needs dark parent */
.has-white-color {
  color: var(--apex-white) !important;
}

/* Fix buttons */
.wp-block-button__link.has-white-background-color {
  background-color: var(--apex-white) !important;
}

.wp-block-button__link.has-primary-color {
  color: var(--apex-orange) !important;
}

/* Page content sections with background issues */
.page-content .wp-block-group.has-background {
  padding: 40px 20px;
}

/* Ensure cover inner content is visible */
.wp-block-cover__inner-container h1,
.wp-block-cover__inner-container h2,
.wp-block-cover__inner-container h3,
.wp-block-cover__inner-container p {
  color: var(--apex-white) !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
/* ---------- Gutenberg Block Fixes ---------- */
.wp-block-cover.has-secondary-background-color .wp-block-cover__background,
.wp-block-cover .has-secondary-background-color {
  background-color: var(--apex-charcoal) !important;
}

.wp-block-cover .has-white-color {
  color: var(--apex-white) !important;
}

.wp-block-cover h1.has-white-color,
.wp-block-cover p.has-white-color {
  color: var(--apex-white) !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}


/* ==========================================================================
   NUCLEAR FIX: WHITE TEXT VISIBILITY - SITE-WIDE
   Added 2026-05-01 to fix all white-on-white text issues
   ========================================================================== */

/* 
 * THE PROBLEM: WordPress Gutenberg uses .has-white-color for text but often
 * doesn't apply the corresponding dark background properly.
 * 
 * THE FIX: Any element with white text MUST have a dark background.
 * We detect white text and force a dark background on the parent.
 */

/* Force dark background on any container with white text children */
.page-content .wp-block-group:has(.has-white-color),
.page-content .wp-block-cover:has(.has-white-color),
.page-content .wp-block-columns:has(.has-white-color),
.page-content > div:has(.has-white-color) {
  background-color: var(--apex-charcoal) !important;
}

/* Ensure ALL white text is actually white */
.has-white-color,
[class*="has-white-color"],
.wp-block-cover .has-white-color,
.wp-block-group .has-white-color,
.wp-block-cover h1,
.wp-block-cover h2,
.wp-block-cover h3,
.wp-block-cover p,
.wp-block-cover__inner-container * {
  color: #FFFFFF !important;
}

/* Cover blocks - force dark overlay */
.wp-block-cover {
  background-color: var(--apex-charcoal) !important;
}

.wp-block-cover::before {
  background-color: rgba(45, 45, 45, 0.85) !important;
}

.wp-block-cover .wp-block-cover__background {
  background-color: var(--apex-charcoal) !important;
  opacity: 0.9 !important;
}

/* Specific fix for page hero sections */
.page-hero,
.hero-section,
.wp-block-cover.alignfull,
.wp-block-cover.alignwide {
  background-color: var(--apex-charcoal) !important;
}

.page-hero *,
.hero-section *,
.wp-block-cover.alignfull *,
.wp-block-cover.alignwide * {
  color: #FFFFFF !important;
}

/* Fix Gutenberg group blocks with background color classes */
.has-primary-background-color,
.has-secondary-background-color,
.has-tertiary-background-color,
.has-background {
  background-color: var(--apex-charcoal) !important;
}

/* But white background should stay white */
.has-white-background-color,
.has-background-white {
  background-color: #FFFFFF !important;
}

/* Text inside dark backgrounds */
.has-primary-background-color *,
.has-secondary-background-color *,
.has-tertiary-background-color * {
  color: #FFFFFF !important;
}

/* CTA sections - common pattern with white text */
.wp-block-group.has-background h2,
.wp-block-group.has-background h3,
.wp-block-group.has-background p,
.wp-block-group.has-background a {
  color: #FFFFFF !important;
}

/* Fix for the service areas hero specifically */
.entry-content > .wp-block-cover:first-child,
.page-content > .wp-block-cover:first-child {
  background-color: var(--apex-charcoal) !important;
  min-height: 300px;
}

.entry-content > .wp-block-cover:first-child *,
.page-content > .wp-block-cover:first-child * {
  color: #FFFFFF !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Fallback: if text has white color, ensure contrast */
h1.has-white-color,
h2.has-white-color,
h3.has-white-color,
h4.has-white-color,
p.has-white-color,
span.has-white-color {
  color: #FFFFFF !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* End of Nuclear Fix */