/*
Theme Name: Apex Concrete Theme
Theme URI: https://sdconcretepros.com
Author: Apex AI Operations
Description: Premium contractor theme for SD Concrete Pros — San Diego's trusted concrete contractor.
Version: 2.0.0
License: Proprietary
Text Domain: apex-concrete
*/

/* ========================================
   CSS Custom Properties
   ======================================== */
:root {
  --charcoal: #1E293B;
  --charcoal-light: #334155;
  --charcoal-dark: #0F172A;
  --white: #FFFFFF;
  --orange: #F97316;
  --orange-hover: #EA580C;
  --orange-light: #FFF7ED;
  --gray-bg: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --text-primary: #1E293B;
  --text-secondary: #475569;
  --text-light: #94A3B8;
  --font-heading: 'DM Sans', sans-serif;
  --font-body: 'Inter', 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);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

/* ========================================
   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(--text-primary);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

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

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

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.375rem; }
h5 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========================================
   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-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

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

.btn-primary:hover {
  background: var(--orange-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

.btn-secondary {
  background: var(--white);
  color: var(--charcoal);
  border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

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

.btn-outline-white:hover {
  background: var(--white);
  color: var(--charcoal);
}

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

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

/* ========================================
   Header & Navigation
   ======================================== */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--gray-200);
}

.header-top {
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top a {
  color: var(--gray-300);
  transition: color var(--transition);
}

.header-top a:hover {
  color: var(--orange);
}

.header-top-left {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.header-top-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.header-main {
  padding: 1rem 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.site-logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.1;
}

.site-logo-text span {
  color: var(--orange);
}

.site-logo-tagline {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

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

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

/* Main Navigation */
.main-nav {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}

.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0;
}

.main-nav ul li {
  position: relative;
}

.main-nav ul li a {
  display: block;
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.main-nav ul li a:hover::after,
.main-nav ul li.current-menu-item a::after,
.main-nav ul li.current_page_item a::after {
  transform: scaleX(1);
}

.main-nav ul li a:hover {
  color: var(--orange);
}

/* Dropdown */
.main-nav ul li ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border-top: 3px solid var(--orange);
  z-index: 100;
  flex-direction: column;
  padding: 0.5rem 0;
}

.main-nav ul li:hover > ul.sub-menu {
  display: flex;
}

.main-nav ul li ul.sub-menu li a {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.main-nav ul li ul.sub-menu li a::after {
  display: none;
}

.main-nav ul li ul.sub-menu li a:hover {
  background: var(--gray-bg);
  color: var(--orange);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  margin: 6px 0;
  transition: all var(--transition);
  border-radius: 2px;
}

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

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

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

/* ========================================
   Hero Section (Front Page)
   ======================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--charcoal-dark) 0%, var(--charcoal) 50%, var(--charcoal-light) 100%);
  color: var(--white);
  padding: 6rem 0;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="concrete" patternUnits="userSpaceOnUse" width="100" height="100"><rect fill="%23ffffff" opacity="0.02" width="100" height="100"/><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="20" cy="30" r="0.5" fill="%23ffffff" opacity="0.04"/><circle cx="80" cy="70" r="0.8" fill="%23ffffff" opacity="0.03"/></pattern></defs><rect fill="url(%23concrete)" width="100" height="100"/></svg>');
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--orange);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.25rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

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

.hero p {
  font-size: 1.25rem;
  color: var(--gray-300);
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

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

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

.hero-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-image {
  position: relative;
}

.hero-image-placeholder {
  background: linear-gradient(135deg, rgba(249,115,22,0.1) 0%, rgba(249,115,22,0.05) 100%);
  border: 2px dashed rgba(249,115,22,0.3);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  color: var(--gray-400);
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-image-placeholder svg {
  width: 64px;
  height: 64px;
  color: var(--orange);
  opacity: 0.5;
}

/* ========================================
   Section Styles
   ======================================== */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--gray-bg);
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-header .section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

/* ========================================
   Services Grid
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}

.service-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--orange-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.service-card:hover .service-card-icon {
  background: var(--orange);
}

.service-card-icon svg {
  width: 32px;
  height: 32px;
  color: var(--orange);
  transition: color var(--transition);
}

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

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ========================================
   Why Choose Us
   ======================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.why-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--orange), var(--orange-hover));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card-icon svg {
  width: 36px;
  height: 36px;
  color: var(--white);
}

.why-card h3 {
  margin-bottom: 0.75rem;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

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

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

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

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

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

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

.gallery-placeholder {
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.875rem;
}

/* ========================================
   Service Areas
   ======================================== */
.areas-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.areas-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  list-style: none;
}

.areas-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.areas-list li svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
  flex-shrink: 0;
}

.areas-list li a {
  color: var(--text-primary);
  font-weight: 500;
  transition: color var(--transition);
}

.areas-list li a:hover {
  color: var(--orange);
}

.areas-map {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.areas-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  color: #FBBF24;
  fill: #FBBF24;
}

.testimonial-card blockquote {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  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(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--orange);
  font-size: 1rem;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
}

.testimonial-location {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hover) 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}

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

.cta-section p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.cta-section .btn-white {
  background: var(--white);
  color: var(--orange);
  font-weight: 700;
}

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

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: var(--charcoal-dark);
  color: var(--gray-300);
}

.footer-main {
  padding: 4rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.0625rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

.footer-about p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

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

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

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.625rem;
}

.footer-col ul li a {
  color: var(--gray-400);
  font-size: 0.9375rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col ul li a:hover {
  color: var(--orange);
  padding-left: 0.25rem;
}

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

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

.footer-contact-item span,
.footer-contact-item a {
  color: var(--gray-400);
  font-size: 0.9375rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

.footer-badges {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--gray-400);
}

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

/* ========================================
   Page Hero (Interior Pages)
   ======================================== */
.page-hero {
  background: linear-gradient(135deg, var(--charcoal-dark) 0%, var(--charcoal) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-hover));
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--gray-400);
}

.breadcrumbs a:hover {
  color: var(--orange);
}

.breadcrumbs .separator {
  color: var(--gray-600);
}

.page-hero h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--gray-300);
  font-size: 1.125rem;
  max-width: 600px;
}

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

.page-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
  align-items: start;
}

.page-layout.full-width {
  grid-template-columns: 1fr;
}

.page-main-content {
  min-width: 0;
}

.page-main-content h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--charcoal);
}

.page-main-content h3 {
  font-size: 1.375rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.page-main-content p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.page-main-content ul,
.page-main-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.page-main-content ul li,
.page-main-content ol li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

.page-main-content blockquote {
  border-left: 4px solid var(--orange);
  background: var(--orange-light);
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* Sidebar */
.page-sidebar {
  position: sticky;
  top: 120px;
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.sidebar-cta {
  background: linear-gradient(135deg, var(--charcoal-dark), var(--charcoal));
  color: var(--white);
  text-align: center;
  border: none;
}

.sidebar-cta h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.sidebar-cta p {
  color: var(--gray-300);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.sidebar-cta .btn {
  width: 100%;
}

.sidebar-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--gray-400);
  font-weight: 600;
}

.sidebar-phone svg {
  width: 16px;
  height: 16px;
  color: var(--orange);
}

.sidebar-services h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.sidebar-services ul {
  list-style: none;
}

.sidebar-services ul li {
  border-bottom: 1px solid var(--gray-100);
}

.sidebar-services ul li:last-child {
  border-bottom: none;
}

.sidebar-services ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--transition);
}

.sidebar-services ul li a:hover {
  color: var(--orange);
  padding-left: 0.25rem;
}

.sidebar-services ul li a svg {
  width: 16px;
  height: 16px;
  color: var(--gray-400);
  transition: color var(--transition);
}

.sidebar-services ul li a:hover svg {
  color: var(--orange);
}

/* ========================================
   Blog / Index
   ======================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

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

.post-card-image {
  aspect-ratio: 16/10;
  background: var(--gray-100);
  overflow: hidden;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

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

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

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.post-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.post-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.post-card h3 a {
  color: var(--charcoal);
  text-decoration: none;
}

.post-card h3 a:hover {
  color: var(--orange);
}

.post-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.post-card .read-more {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.post-card .read-more:hover {
  gap: 0.625rem;
}

/* Single Post */
.single-post-content {
  max-width: 800px;
}

.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.875rem;
  color: var(--gray-500);
}

.related-posts {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--gray-200);
}

.related-posts h2 {
  margin-bottom: 2rem;
}

/* ========================================
   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-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition);
}

.pagination a {
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--gray-200);
}

.pagination a:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.pagination span.current {
  background: var(--orange);
  color: var(--white);
  border: 1px solid var(--orange);
}

/* ========================================
   404 Page
   ======================================== */
.error-404-content {
  text-align: center;
  padding: 6rem 0;
  max-width: 600px;
  margin: 0 auto;
}

.error-404-number {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 1rem;
}

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

.error-404-content p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* ========================================
   Contact Form Styles
   ======================================== */
.contact-form {
  max-width: 600px;
}

.form-group {
  margin-bottom: 1.25rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

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

/* ========================================
   Utility Classes
   ======================================== */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

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

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-image {
    display: none;
  }

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

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

  .page-layout {
    grid-template-columns: 1fr;
  }

  .page-sidebar {
    position: static;
  }

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

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.375rem; }

  .section {
    padding: 3.5rem 0;
  }

  .header-top {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--orange);
    z-index: 999;
  }

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

  .main-nav ul {
    flex-direction: column;
  }

  .main-nav ul li a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--gray-100);
  }

  .main-nav ul li a::after {
    display: none;
  }

  .main-nav ul li ul.sub-menu {
    position: static;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    background: var(--gray-bg);
  }

  .main-nav ul li:hover > ul.sub-menu {
    display: flex;
  }

  .hero {
    padding: 4rem 0;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

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

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

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .cta-section {
    padding: 3.5rem 0;
  }

  .page-hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

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

  .footer-badges {
    flex-direction: column;
  }
}
