/*
Theme Name: Apex Aluminum Theme
Theme URI: https://sandiegoaluminum.com
Author: Apex AI Operations
Author URI: https://pandaresearchcapitalization.com
Description: Premium custom theme for San Diego Aluminum — Patio covers, shade structures, carports, fencing, pergolas
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: apex-aluminum
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */
:root {
  --color-slate: #1E293B;
  --color-slate-light: #334155;
  --color-slate-dark: #0F172A;
  --color-white: #FFFFFF;
  --color-sky: #0EA5E9;
  --color-sky-dark: #0284C7;
  --color-sky-light: #38BDF8;
  --color-gray-bg: #F1F5F9;
  --color-gray-100: #F8FAFC;
  --color-gray-200: #E2E8F0;
  --color-gray-300: #CBD5E1;
  --color-gray-400: #94A3B8;
  --color-gray-500: #64748B;
  --color-gray-600: #475569;
  --color-orange: #F97316;
  --color-orange-dark: #EA580C;
  --color-green: #22C55E;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'DM Sans', 'Inter', -apple-system, sans-serif;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-lift: 0 20px 40px -12px rgba(14, 165, 233, 0.25);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-slate);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-slate-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }

p {
  margin-bottom: 1rem;
  color: var(--color-gray-600);
}

ul, ol {
  padding-left: 1.5rem;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-padding {
  padding: 5rem 0;
}

.section-padding-sm {
  padding: 3rem 0;
}

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

.bg-slate { background-color: var(--color-slate); }
.bg-slate-dark { background-color: var(--color-slate-dark); }
.bg-gray { background-color: var(--color-gray-bg); }
.bg-white { background-color: var(--color-white); }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-sky);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-gray-500);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-header {
  margin-bottom: 3rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-sky);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  background: var(--color-sky-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-sky);
  border: 2px solid var(--color-sky);
}

.btn-outline:hover {
  background: var(--color-sky);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-orange {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.btn-orange:hover {
  background: var(--color-orange-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.45);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-lg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  height: 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.site-logo img {
  height: 45px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .company-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-slate-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.logo-text .company-tagline {
  font-size: 0.7rem;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.25rem;
  padding: 0;
}

.main-nav a {
  display: block;
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--color-slate);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.main-nav a:hover,
.main-nav .current-menu-item a {
  color: var(--color-sky);
  background: rgba(14, 165, 233, 0.06);
}

.header-cta {
  display: none;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-slate-dark);
  text-decoration: none;
}

.header-phone svg {
  width: 18px;
  height: 18px;
  color: var(--color-sky);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-slate);
  border-radius: 2px;
  transition: all var(--transition);
}

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

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

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

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 999;
  padding: 2rem 1.25rem;
  overflow-y: auto;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
}

.mobile-nav li {
  border-bottom: 1px solid var(--color-gray-200);
}

.mobile-nav a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-slate);
}

.mobile-nav a:hover {
  color: var(--color-sky);
}

.mobile-nav .mobile-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, rgba(15,23,42,0.82) 0%, rgba(30,41,59,0.78) 50%, rgba(26,58,92,0.8) 100%),
              url('/wp-content/uploads/2026/04/IMG-20220412-WA0022-e1687199063467.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(14, 165, 233, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 50%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 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='0.03'%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");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: var(--color-sky-light);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: var(--color-sky-light);
}

.hero-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2.5rem;
  max-width: 560px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

/* Decorative shapes */
.hero-shape {
  position: absolute;
  z-index: 1;
  opacity: 0.06;
}

.hero-shape-1 {
  top: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  border: 3px solid var(--color-sky);
  border-radius: 50%;
}

.hero-shape-2 {
  bottom: -15%;
  right: 15%;
  width: 350px;
  height: 350px;
  border: 3px solid var(--color-white);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

/* ==========================================================================
   Trust Bar
   ========================================================================== */
.trust-bar {
  background: var(--color-white);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-gray-200);
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray-600);
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-sky);
  flex-shrink: 0;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 0;
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition);
  overflow: hidden;
}

.service-card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-body {
  padding: 1.5rem;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-sky), var(--color-sky-light));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(14, 165, 233, 0.2);
}

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

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(14, 165, 233, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  color: var(--color-sky);
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--color-sky);
  color: var(--color-white);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--color-gray-500);
  margin-bottom: 1.25rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-sky);
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.why-us {
  background: var(--color-slate-dark);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 50% at 80% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(14, 165, 233, 0.3);
  transform: translateY(-4px);
}

.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(14, 165, 233, 0.15);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  color: var(--color-sky-light);
}

.why-icon svg {
  width: 24px;
  height: 24px;
}

.why-card h3 {
  color: var(--color-white);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.why-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin: 0;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-gray-200);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-gray-bg) 0%, var(--color-gray-200) 100%);
  color: var(--color-gray-400);
  text-align: center;
  padding: 1.5rem;
}

.gallery-placeholder svg {
  width: 40px;
  height: 40px;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.gallery-placeholder span {
  font-size: 0.8rem;
  font-weight: 600;
}

/* ==========================================================================
   Service Areas
   ========================================================================== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.area-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-slate);
  transition: all var(--transition);
}

.area-tag:hover {
  border-color: var(--color-sky);
  color: var(--color-sky);
  transform: translateX(4px);
  text-decoration: none;
}

.area-tag svg {
  width: 16px;
  height: 16px;
  color: var(--color-sky);
  flex-shrink: 0;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-gray-200);
  position: relative;
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
  color: #FBBF24;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--color-slate);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-slate-dark);
}

.testimonial-info span {
  font-size: 0.8rem;
  color: var(--color-gray-500);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--color-sky) 0%, var(--color-sky-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 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='0.08'%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");
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cta-phone {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  margin-top: 1.5rem;
  display: block;
}

.cta-phone a {
  color: var(--color-white);
  text-decoration: none;
}

.cta-phone a:hover {
  text-decoration: underline;
  color: var(--color-white);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-slate-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

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

.footer-brand .logo-text .company-name {
  color: var(--color-white);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin: 1rem 0 1.25rem;
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--color-sky-light);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-sky);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact-item a:hover {
  color: var(--color-sky-light);
}

/* Trust Badges */
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.footer-badge svg {
  width: 16px;
  height: 16px;
  color: var(--color-sky);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

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

.footer-bottom a:hover {
  color: var(--color-sky-light);
}

/* ==========================================================================
   Page Hero (Interior Pages)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--color-slate-dark) 0%, var(--color-slate) 100%);
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
}

.page-hero h1 {
  color: var(--color-white);
  position: relative;
  z-index: 1;
  margin-bottom: 0.5rem;
}

.page-hero .breadcrumbs {
  position: relative;
  z-index: 1;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.page-hero .breadcrumbs a {
  color: rgba(255, 255, 255, 0.5);
}

.page-hero .breadcrumbs a:hover {
  color: var(--color-sky-light);
}

.page-hero .breadcrumbs .separator {
  margin: 0 0.5rem;
}

/* ==========================================================================
   Page Content
   ========================================================================== */
.page-content {
  padding: 4rem 0;
}

.page-content .content-wrap {
  max-width: 840px;
  margin: 0 auto;
}

.page-content h2 {
  color: var(--color-sky);
  margin: 2.5rem 0 1rem;
}

.page-content h3 {
  margin: 2rem 0 0.75rem;
}

.page-content ul, .page-content ol {
  margin-bottom: 1.5rem;
  color: var(--color-gray-600);
}

.page-content li {
  margin-bottom: 0.5rem;
}

.page-content blockquote {
  border-left: 4px solid var(--color-sky);
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--color-gray-bg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.page-content blockquote p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-slate);
  font-style: italic;
}

.page-content img {
  border-radius: var(--radius-md);
  margin: 2rem 0;
}

/* Page Bottom CTA */
.page-bottom-cta {
  background: var(--color-slate-dark);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: 3rem;
}

.page-bottom-cta h3 {
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.page-bottom-cta p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Blog / Single Post
   ========================================================================== */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.post-meta svg {
  width: 16px;
  height: 16px;
  margin-right: 0.35rem;
  vertical-align: -3px;
  color: var(--color-sky);
}

.post-featured-image {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-gray-200);
}

.post-nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

.post-nav-link span {
  display: block;
  font-size: 0.75rem;
  color: var(--color-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

/* Blog Archive */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  aspect-ratio: 16/9;
  background: var(--color-gray-200);
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.blog-card-body h3 a {
  color: var(--color-slate-dark);
}

.blog-card-body h3 a:hover {
  color: var(--color-sky);
}

.blog-card-body .excerpt {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-body .read-more {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-sky);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--color-gray-200);
  color: var(--color-slate);
  transition: all var(--transition);
}

.pagination a:hover {
  border-color: var(--color-sky);
  color: var(--color-sky);
}

.pagination .current {
  background: var(--color-sky);
  border-color: var(--color-sky);
  color: var(--color-white);
}

/* ==========================================================================
   404 Page
   ========================================================================== */
.error-404-content {
  text-align: center;
  padding: 6rem 0;
}

.error-404-number {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-sky), var(--color-sky-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.error-404-content h1 {
  margin-bottom: 1rem;
}

.error-404-content p {
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto 2rem;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.apex-form .form-group {
  margin-bottom: 1.25rem;
}

.apex-form label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-slate);
  margin-bottom: 0.4rem;
}

.apex-form input,
.apex-form select,
.apex-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1.5px solid var(--color-gray-300);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-slate);
  transition: all var(--transition);
}

.apex-form input:focus,
.apex-form select:focus,
.apex-form textarea:focus {
  outline: none;
  border-color: var(--color-sky);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.apex-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */
.reviews-section {
  background: var(--color-gray-bg);
}

.reviews-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  margin-bottom: 2rem;
}

.reviews-header-badge .google-g {
  width: 24px;
  height: 24px;
}

.reviews-header-badge .review-score {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-slate-dark);
}

.reviews-header-badge .review-stars {
  display: flex;
  gap: 2px;
  color: #FBBF24;
}

.reviews-header-badge .review-count {
  font-size: 0.85rem;
  color: var(--color-gray-500);
}

/* ==========================================================================
   Comparison Table
   ========================================================================== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
}

.comparison-table th {
  background: var(--color-slate-dark);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.95rem;
}

.comparison-table td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--color-gray-200);
  font-size: 0.95rem;
  color: var(--color-gray-600);
}

.comparison-table tr:nth-child(even) {
  background: var(--color-gray-bg);
}

.comparison-table .check {
  color: var(--color-green);
  font-weight: 700;
}

.comparison-table .cross {
  color: var(--color-orange);
  font-weight: 700;
}

/* ==========================================================================
   Content Image Layouts
   ========================================================================== */
.content-image-text {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
  align-items: center;
}

.content-image-text img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .content-image-text {
    grid-template-columns: 1fr 1fr;
  }
  .content-image-text.reverse {
    direction: rtl;
  }
  .content-image-text.reverse > * {
    direction: ltr;
  }
}

/* ==========================================================================
   Hero Image on Interior Pages
   ========================================================================== */
.page-hero.has-image {
  padding: 160px 0 80px;
}

.page-hero.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 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='0.03'%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");
  z-index: 0;
}

/* ==========================================================================
   Responsive — Tablet (768px+)
   ========================================================================== */
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

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

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

/* ==========================================================================
   Responsive — Desktop (1024px+)
   ========================================================================== */
@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }

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

  .menu-toggle {
    display: none;
  }

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

  .why-us-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }

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

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

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .hero-content {
    max-width: 640px;
  }

  .hero-stats {
    gap: 3.5rem;
  }
}

/* ==========================================================================
   Responsive — Large (1280px+)
   ========================================================================== */
@media (min-width: 1280px) {
  .container {
    padding: 0 2rem;
  }
}

/* ==========================================================================
   WordPress Specific
   ========================================================================== */
.wp-block-image img {
  border-radius: var(--radius-md);
}

.alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}

.aligncenter {
  display: block;
  margin: 1.5rem auto;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
