/*
Theme Name: Boiler Repair Bradford
Theme URI: https://boilerrepairbradford.business
Author: Boiler Repair Bradford
Author URI: https://boilerrepairbradford.business
Description: A professional WordPress theme for Boiler Repair Bradford - Gas Safe registered engineers providing boiler repair, servicing, and installation across Bradford and West Yorkshire. Features include responsive design, contact forms, service pages, area coverage maps, and SEO optimization.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: boiler-repair-bradford
Domain Path: /languages
Tags: boiler-repair, heating-services, gas-safe, responsive, business, corporate, elementor, contact-form, seo-friendly
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
*/

/* ============================================
   BOILER REPAIR BRADFORD - WORDPRESS THEME
   Professional, Trustworthy, Conversion-Focused
   ============================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* ============================================
   CSS VARIABLES - DESIGN SYSTEM
   ============================================ */
:root {
  /* Primary Colors - Professional Blue */
  --primary: #0072e5;
  --primary-hover: #0066cc;
  --primary-light: #e6f2ff;
  --primary-foreground: #ffffff;
  
  /* Secondary Colors - Teal Accent */
  --secondary: #2dd4bf;
  --secondary-hover: #26b8a5;
  --secondary-light: #e6fbf8;
  --secondary-foreground: #ffffff;
  
  /* Background & Surface */
  --background: #ffffff;
  --foreground: #1e293b;
  --card: #ffffff;
  --card-foreground: #1e293b;
  
  /* Muted & Subtle */
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  
  /* Accent - Warm Orange for CTAs */
  --accent: #f97316;
  --accent-hover: #ea580c;
  --accent-foreground: #ffffff;
  
  /* Neutral Grays */
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  
  /* Functional Colors */
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  --success: #22c55e;
  --success-foreground: #ffffff;
  --warning: #f59e0b;
  --warning-foreground: #ffffff;
  
  /* Borders & Inputs */
  --border: #e2e8f0;
  --input: #e2e8f0;
  --ring: #0072e5;
  
  /* Radius */
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(30, 41, 59, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(30, 41, 59, 0.1), 0 2px 4px -2px rgba(30, 41, 59, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(30, 41, 59, 0.1), 0 4px 6px -4px rgba(30, 41, 59, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(30, 41, 59, 0.1), 0 8px 10px -6px rgba(30, 41, 59, 0.1);
  --shadow-card: 0 4px 20px -2px rgba(30, 41, 59, 0.08);
  --shadow-card-hover: 0 8px 30px -4px rgba(30, 41, 59, 0.12);
  
  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  
  /* Spacing */
  --container-max: 1400px;
  --container-narrow: 900px;
}

/* ============================================
   BASE STYLES & RESET
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--muted-foreground);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

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

li {
  margin-bottom: 0.5rem;
}

/* ============================================
   LAYOUT - CONTAINER
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

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

/* ============================================
   EMERGENCY BANNER
   ============================================ */
.emergency-banner {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 4px 20px -4px rgba(0, 114, 229, 0.4);
}

.emergency-banner a {
  color: white;
  text-decoration: underline;
  font-weight: 700;
}

.emergency-banner a:hover {
  text-decoration: none;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
}

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

.logo-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--foreground);
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1;
  margin-top: -2px;
}

/* Main Navigation */
.main-nav {
  display: none;
}

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

.main-nav li {
  margin: 0;
  position: relative;
}

.main-nav a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav a.current {
  color: var(--primary);
  background: var(--primary-light);
}

.main-nav .dropdown-icon {
  width: 16px;
  height: 16px;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 100;
}

.main-nav li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu ul {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-sm);
}

.dropdown-menu a:hover {
  background: var(--muted);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.header-phone svg {
  width: 16px;
  height: 16px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: var(--muted);
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
  color: var(--foreground);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 999;
  overflow-y: auto;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

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

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

.mobile-menu li {
  margin: 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
}

.mobile-menu .menu-section {
  padding: 1rem 0;
}

.mobile-menu .menu-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.mobile-menu .submenu {
  padding-left: 1rem;
}

.mobile-menu .submenu a {
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--muted);
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(0, 114, 229, 0.08);
  border-color: rgba(0, 114, 229, 0.3);
  color: var(--primary);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: var(--muted);
  border-color: var(--border);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn-glow:hover::after {
  transform: translateX(100%);
}

.btn-full {
  width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(0, 114, 229, 0.04) 0%, rgba(45, 212, 191, 0.06) 50%, rgba(0, 114, 229, 0.02) 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(0, 114, 229, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(45, 212, 191, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(0, 114, 229, 0.12) 0%, rgba(45, 212, 191, 0.08) 100%);
  border: 1px solid rgba(0, 114, 229, 0.2);
  border-radius: 9999px;
  box-shadow: 0 2px 8px -2px rgba(0, 114, 229, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.trust-badge:hover {
  background: linear-gradient(135deg, rgba(0, 114, 229, 0.18) 0%, rgba(45, 212, 191, 0.12) 100%);
  border-color: rgba(0, 114, 229, 0.3);
  transform: translateY(-1px);
}

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

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.hero-summary {
  background: linear-gradient(135deg, rgba(0, 114, 229, 0.05) 0%, rgba(45, 212, 191, 0.05) 100%);
  border: 1px solid rgba(0, 114, 229, 0.2);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 20px -4px rgba(0, 114, 229, 0.1);
}

.hero-summary p {
  font-size: 1.125rem;
  color: var(--foreground);
  margin: 0;
}

.hero-summary strong {
  color: var(--primary);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(4px);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

/* ============================================
   TRUST SIGNALS
   ============================================ */
.trust-signals {
  padding: 2rem 0;
  background: white;
  border-bottom: 1px solid var(--border);
}

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

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--muted);
  border-radius: var(--radius-lg);
}

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

.trust-item-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-section {
  padding: 4rem 0;
}

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

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

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

.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  border-color: rgba(0, 114, 229, 0.3);
}

.service-card.featured {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border: none;
}

.service-card.featured .service-title,
.service-card.featured .service-description,
.service-card.featured .service-price {
  color: white;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

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

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.service-description {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.service-price {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-choose-section {
  padding: 4rem 0;
  background: rgba(241, 245, 249, 0.5);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.why-choose-content h2 {
  margin-bottom: 1.5rem;
}

.why-choose-content > p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.features-list svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.features-list span {
  color: var(--foreground);
}

/* Pricing Cards Grid */
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.pricing-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 114, 229, 0.3);
}

.pricing-card-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pricing-card-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

/* ============================================
   AREAS GRID
   ============================================ */
.areas-section {
  padding: 4rem 0;
}

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

.area-card {
  display: block;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  text-decoration: none;
}

.area-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.area-card:hover .area-title {
  color: var(--primary);
}

.area-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.25rem;
  transition: color 0.2s ease;
}

.area-postcode {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  padding: 4rem 0;
  background: rgba(241, 245, 249, 0.5);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

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

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--muted-foreground);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: var(--muted-foreground);
  margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 4rem 0;
}

.cta-section.gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
}

.cta-section.gradient h2,
.cta-section.gradient p {
  color: white;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
}

.cta-feature svg {
  width: 18px;
  height: 18px;
}

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

.cta-section.gradient .btn-primary {
  background: white;
  color: var(--primary);
}

.cta-section.gradient .btn-primary:hover {
  background: var(--neutral-100);
}

.cta-section.gradient .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.cta-section.gradient .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--neutral-900);
  color: var(--neutral-300);
}

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

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

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo .logo-icon {
  width: 40px;
  height: 40px;
}

.footer-logo .logo-title {
  color: white;
}

.footer-logo .logo-subtitle {
  color: var(--neutral-400);
}

.footer-description {
  font-size: 0.9375rem;
  color: var(--neutral-400);
  margin-bottom: 1.5rem;
}

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

.footer-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--neutral-400);
}

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

.footer-column h4 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

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

.footer-links a {
  color: var(--neutral-400);
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

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

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

.footer-contact-list svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-list a {
  color: white;
  font-weight: 600;
}

.footer-contact-list a:hover {
  color: var(--primary);
}

.footer-contact-list .contact-label {
  font-size: 0.75rem;
  color: var(--neutral-500);
  display: block;
  margin-bottom: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid var(--neutral-800);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--neutral-500);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.875rem;
  color: var(--neutral-500);
}

.footer-legal a:hover {
  color: var(--primary);
}

/* ============================================
   PAGE HEADER & BREADCRUMB
   ============================================ */
.page-header {
  padding: 2rem 0;
  background: linear-gradient(180deg, rgba(0, 114, 229, 0.05) 0%, var(--background) 100%);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--muted-foreground);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb-separator {
  color: var(--border);
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-intro {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 700px;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
  padding: 4rem 0;
}

.content-section.alt {
  background: rgba(241, 245, 249, 0.5);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.content-block h2 {
  margin-bottom: 1.5rem;
}

.content-block p {
  font-size: 1.0625rem;
  margin-bottom: 1.5rem;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

.info-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: all 0.3s ease;
}

.info-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.info-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--primary);
}

.info-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--foreground);
}

.info-card-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* Values List */
.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.values-list li {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.values-list li:last-child {
  border-bottom: none;
}

.values-list svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.values-list h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.values-list p {
  color: var(--muted-foreground);
  margin: 0;
}

/* ============================================
   PRICING TABLE
   ============================================ */
.pricing-section {
  padding: 4rem 0;
}

.pricing-table-wrapper {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.pricing-table th,
.pricing-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.pricing-table th {
  background: var(--muted);
  font-weight: 600;
  color: var(--foreground);
}

.pricing-table tr:hover td {
  background: rgba(241, 245, 249, 0.5);
}

.pricing-table .price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.pricing-table .description {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.contact-info-card h2 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--muted);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 114, 229, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-block-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-block-value {
  font-weight: 600;
  color: var(--foreground);
}

.contact-block-value a {
  color: var(--foreground);
}

.contact-block-value a:hover {
  color: var(--primary);
}

.emergency-card {
  background: linear-gradient(135deg, rgba(0, 114, 229, 0.08) 0%, rgba(45, 212, 191, 0.04) 100%);
  border: 1px solid rgba(0, 114, 229, 0.2);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.emergency-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.emergency-card p {
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.emergency-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary);
}

/* Contact Form */
.contact-form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.contact-form-card h2 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-group .required {
  color: var(--destructive);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--foreground);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 114, 229, 0.1);
}

.form-control::placeholder {
  color: var(--neutral-400);
}

.form-control.error {
  border-color: var(--destructive);
}

.error-message {
  font-size: 0.875rem;
  color: var(--destructive);
  margin-top: 0.375rem;
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-submit {
  margin-bottom: 1rem;
}

.form-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.form-note a {
  color: var(--primary);
  text-decoration: underline;
}

/* Form Success Message */
.form-success {
  text-align: center;
  padding: 2rem;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 114, 229, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary);
}

.form-success-icon svg {
  width: 32px;
  height: 32px;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.form-success p {
  color: var(--muted-foreground);
}

/* Areas Tags */
.areas-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.area-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: all 0.2s ease;
}

.area-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================================
   BLOG
   ============================================ */
.blog-section {
  padding: 4rem 0;
}

.blog-list {
  max-width: 900px;
  margin: 0 auto;
}

.blog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.blog-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 114, 229, 0.3);
}

.blog-card:hover .blog-title {
  color: var(--primary);
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.blog-meta-item svg {
  width: 16px;
  height: 16px;
}

.blog-category {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.blog-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  transition: color 0.2s ease;
}

.blog-title a {
  color: inherit;
}

.blog-excerpt {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--primary);
  transition: gap 0.2s ease;
}

.read-more:hover {
  gap: 0.75rem;
}

.read-more svg {
  width: 16px;
  height: 16px;
}

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

.single-post-header {
  margin-bottom: 2rem;
}

.single-post-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.single-post-content {
  font-size: 1.0625rem;
  line-height: 1.8;
}

.single-post-content h2,
.single-post-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.single-post-content p {
  margin-bottom: 1.5rem;
}

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

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

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

.error-code {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}

.error-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.error-text {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.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;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .trust-signals-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  
  .hero-section {
    padding: 6rem 0;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr 2fr;
  }
  
  .header-phone {
    display: flex;
  }
  
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .trust-signals-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
  
  .cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 4rem;
  }
}

/* ============================================
   WORDPRESS SPECIFIC STYLES
   ============================================ */
/* Admin Bar Fix */
body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* Screen Reader Text */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Alignments */
.alignleft {
  float: left;
  margin-right: 1.5rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* WordPress Gallery */
.gallery {
  margin-bottom: 1.5rem;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery-caption {
  display: block;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

/* Post Navigation */
.post-navigation {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.nav-links {
  display: flex;
  justify-content: space-between;
}

.nav-previous,
.nav-next {
  max-width: 45%;
}

.nav-next {
  text-align: right;
}

/* Comments */
.comments-area {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.comment-list {
  list-style: none;
  padding: 0;
}

.comment {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.comment-author {
  font-weight: 600;
}

.comment-metadata {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.comment-content {
  margin-left: 3.5rem;
}

/* Widgets */
.widget {
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

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

.widget li {
  margin-bottom: 0.5rem;
}

.widget a {
  color: var(--muted-foreground);
}

.widget a:hover {
  color: var(--primary);
}

/* Elementor Compatibility */
.elementor-widget-container {
  max-width: 100%;
}

/* Contact Form 7 Compatibility */
.wpcf7-form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--foreground);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.wpcf7-form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 114, 229, 0.1);
}

.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--primary);
  color: white;
  width: auto;
}

.wpcf7-submit:hover {
  background: var(--primary-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.wpcf7-response-output {
  margin: 1.5rem 0;
  padding: 1rem;
  border-radius: var(--radius-md);
}

.wpcf7-form.sent .wpcf7-response-output {
  background: rgba(34, 197, 94, 0.1);
  border-color: var(--success);
  color: var(--success);
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--destructive);
  color: var(--destructive);
}
