/* ==========================================================================
   PrismCleaning NC - Main Stylesheet
   Brand Colors: Navy (#0A2B4C), Gold (#D4AF37)
   ========================================================================== */

/* ==========================================================================
   CSS RESET & BASE
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */

:root {
  /* Brand Colors */
  --primary-navy: #0A2B4C;
  --navy-dark: #0d3a5f;
  --accent-gold: #D4AF37;
  --gold-hover: #C19B2E;
  --gold-dark: #b8962f;
  --gold-light: #c8a02b;
  --gold-text: #806600; /* Darker gold for text on light backgrounds (WCAG AA compliant 5:1 contrast) */

  /* Neutral Colors */
  --text-dark: #333333;
  --text-medium: #555555;
  --text-light: #666666;
  --text-lighter: #aaaaaa;
  --text-muted: #999999;
  --text-pale: #cccccc;
  --text-very-light: #EAEAEA;
  --text-faded: #e0e0e0;
  --background-light: #F9F9F9;
  --background-gray: #F5F5F5;
  --background-blue-light: #f0f4f8;
  --background-blue-lighter: #e8ecf0;
  --background-off-white: #f0f0f0;
  --white: #FFFFFF;
  --border-color: #E0E0E0;

  /* Status Colors */
  --success-green: #4CAF50;
  --success-bright: #28a745;
  --error-red: #F44336;
  --warning-orange: #FF9800;
  --info-blue: #2196F3;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 12px;
  --radius-round: 50%;

  /* Typography */
  --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 0.9375rem;
  --font-size-lg: 1.05rem;
  --font-size-xl: 1.125rem;

  /* Heading Sizes */
  --font-size-h1: 2.5rem;
  --font-size-h2: 2rem;
  --font-size-h3: 1.75rem;
  --font-size-h4: 1.5rem;
  --font-size-h5: 1.25rem;
  --font-size-h6: 1rem;

  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* Responsive Breakpoints (documented for reference, used in @media queries)
     Mobile-first approach with max-width breakpoints:
     - 480px: Small mobile devices (phones in portrait)
     - 768px: Tablets and large mobile devices
     - 1024px: Small desktop and large tablets
     Note: CSS custom properties cannot be used in @media queries,
     but these values are standardized across all stylesheets */
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

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

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-navy);
  font-weight: 600;
  line-height: var(--line-height-tight);
  margin-bottom: 1rem;
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: 700;
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: 600;
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-h4);
}

h5 {
  font-size: var(--font-size-h5);
}

h6 {
  font-size: var(--font-size-h6);
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

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

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

strong, b {
  font-weight: 600;
  color: var(--text-dark);
}

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

.text-left {
  text-align: left;
}

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

.text-muted {
  color: var(--text-muted);
}

/* Spacing Utilities */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }

/* Display Utilities */
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-none { display: none; }

/* Width Utilities */
.w-100 { width: 100%; }
.w-75 { width: 75%; }
.w-50 { width: 50%; }
.w-25 { width: 25%; }

.max-w-sm { max-width: 600px; }
.max-w-md { max-width: 750px; }
.max-w-lg { max-width: 900px; }
.max-w-xl { max-width: 1100px; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

main {
  min-height: 100vh;
  padding-top: 80px; /* Account for fixed header */
}

section {
  padding: var(--spacing-xxl) 0;
}

.mini-section {
  padding: var(--spacing-lg) 0;
}

.section-intro {
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
  font-size: 1.125rem;
  color: var(--text-light);
}

.alternating-bg {
  background: var(--background-light);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-normal);
}

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

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  max-width: 1400px;
  margin: 0 auto;
}

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

.logo img,
#logo-img {
  height: 60px;
  width: auto;
  transition: transform var(--transition-fast);
}

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

nav ul {
  list-style: none;
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

nav ul li a {
  color: var(--text-dark);
  font-weight: 500;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

nav ul li a:hover {
  color: var(--accent-gold);
  background: var(--background-light);
}

nav ul li a.active {
  color: var(--accent-gold);
  font-weight: 600;
}

nav ul li a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--accent-gold);
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary-navy);
  margin: 5px 0;
  transition: all var(--transition-fast);
  border-radius: 2px;
}

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

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

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

/* Mobile Navigation Menu */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 1002;
  transition: right var(--transition-normal);
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md);
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
  padding: var(--spacing-xs);
}

.mobile-nav ul {
  flex-direction: column;
  padding: var(--spacing-md);
  gap: 0;
}

.mobile-nav ul li {
  width: 100%;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav ul li:last-child {
  border-bottom: none;
}

.mobile-nav ul li a {
  display: block;
  padding: var(--spacing-md) var(--spacing-sm);
  color: var(--text-dark);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.cta-button,
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: var(--accent-gold);
  color: var(--primary-navy);
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  text-align: center;
  justify-content: center;
}

.cta-button:hover,
.btn-primary:hover {
  background: var(--gold-hover);
  color: var(--primary-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button-secondary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: var(--white);
  color: var(--accent-gold);
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--accent-gold);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  justify-content: center;
}

.cta-button-secondary:hover,
.btn-secondary:hover {
  background: var(--accent-gold);
  color: var(--primary-navy);
  transform: translateY(-2px);
}

.hero-cta {
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

button:disabled:hover {
  transform: none;
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */

#hero,
.hero-homepage {
  position: relative;
  background: linear-gradient(135deg, var(--primary-navy) 0%, #15426B 100%);
  color: var(--white);
  padding: var(--spacing-xxl) 0;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--accent-gold);
  color: var(--primary-navy);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  font-size: 0.875rem;
}

.hero-content h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-lg);
}

.trust-signals {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
}

.trust-signals span {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.trust-signals i {
  color: var(--accent-gold);
}

/* ==========================================================================
   VALUE PROPOSITION & FEATURES
   ========================================================================== */

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.value-item {
  text-align: center;
  padding: var(--spacing-md);
}

.value-icon-wrapper {
  width: 80px;
  height: 80px;
  background: var(--accent-gold);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  transition: transform var(--transition-normal);
}

.value-item:hover .value-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.value-icon-wrapper i {
  font-size: 2rem;
  color: var(--primary-navy);
}

.value-item h4 {
  color: var(--primary-navy);
  margin-bottom: var(--spacing-xs);
}

.value-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ==========================================================================
   SERVICE CARDS & GRIDS
   ========================================================================== */

.service-summary-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.service-summary-item,
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
}

.service-summary-item:hover,
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

.service-card.selected {
  border-color: var(--accent-gold);
  background: var(--background-light);
}

.service-icon-wrapper {
  width: 100px;
  height: 100px;
  background: var(--background-light);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  transition: all var(--transition-normal);
}

.service-summary-item:hover .service-icon-wrapper,
.service-card:hover .service-icon-wrapper {
  background: var(--accent-gold);
}

.service-icon-summary,
.service-icon {
  font-size: 2.5rem;
  color: var(--primary-navy);
  transition: color var(--transition-fast);
}

.service-summary-item:hover .service-icon-summary,
.service-card:hover .service-icon {
  color: var(--white);
}

.service-summary-item h3,
.service-card h3 {
  color: var(--primary-navy);
  margin-bottom: var(--spacing-sm);
}

.service-summary-item p,
.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.service-card ul {
  list-style: none;
  margin: var(--spacing-md) 0;
  text-align: left;
}

.service-card ul li {
  padding: var(--spacing-xs) 0;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.service-card ul li i {
  color: var(--success-green);
  font-size: 0.875rem;
}

/* ==========================================================================
   FORMS
   ========================================================================== */

form {
  max-width: 100%;
}

.form-group,
.contact-form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label,
.contact-form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
  color: var(--text-dark);
}

.form-group label.required::after,
.contact-form-group label.required::after {
  content: ' *';
  color: var(--error-red);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-fast);
  background: var(--white);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold-text);
  box-shadow: 0 0 0 3px rgba(128, 102, 0, 0.2);
}

input:invalid:not(:placeholder-shown) {
  border-color: var(--error-red);
}

input:valid:not(:placeholder-shown) {
  border-color: var(--success-green);
}

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

select {
  cursor: pointer;
  appearance: none;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.5rem;
  padding-right: 2.5rem;
}

.error-message {
  color: var(--error-red);
  font-size: 0.875rem;
  margin-top: var(--spacing-xs);
  display: none;
}

.error-message.show {
  display: block;
}

.success-message {
  color: var(--success-green);
  font-size: 0.875rem;
  margin-top: var(--spacing-xs);
}

/* ==========================================================================
   QUOTE WIZARD (Pricing Page)
   ========================================================================== */

.quote-wizard {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.wizard-header {
  text-align: center;
  margin-bottom: 2rem;
}

.wizard-header h2 {
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding: 0;
  list-style: none;
  position: relative;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-color);
  z-index: -1;
}

.progress-step {
  flex: 1;
  text-align: center;
  position: relative;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.progress-step::before {
  content: attr(data-step);
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  background: var(--background-light);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-round);
  margin-bottom: 0.5rem;
  font-weight: bold;
  transition: all var(--transition-fast);
}

.progress-step.active {
  color: var(--accent-gold);
}

.progress-step.active::before {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--white);
}

.progress-step.completed {
  color: var(--success-green);
}

.progress-step.completed::before {
  background: var(--success-green);
  border-color: var(--success-green);
  color: var(--white);
  content: "✓";
}

.wizard-step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.wizard-step.active {
  display: block;
}

.wizard-navigation {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.wizard-navigation button {
  flex: 1;
  max-width: 200px;
}

/* ==========================================================================
   ADD-ONS & EXTRAS
   ========================================================================== */

.addon-showcase {
  margin: var(--spacing-lg) 0;
}

.addon-category {
  margin-bottom: var(--spacing-lg);
}

.addon-category h4 {
  color: var(--primary-navy);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-xs);
  border-bottom: 2px solid var(--accent-gold);
}

.addon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--spacing-md);
}

.addon-card {
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.addon-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-sm);
}

.addon-card input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin-bottom: var(--spacing-sm);
}

.addon-card.selected {
  border-color: var(--accent-gold);
  background: var(--background-light);
}

.addon-name {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--spacing-xs);
}

.addon-price {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 1.125rem;
}

.carpet-size-options {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.carpet-size-options button {
  flex: 1;
  padding: var(--spacing-xs) var(--spacing-sm);
  border: 2px solid var(--border-color);
  background: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carpet-size-options button.active {
  border-color: var(--accent-gold);
  background: var(--accent-gold);
  color: var(--white);
}

/* ==========================================================================
   ESTIMATE & PRICING
   ========================================================================== */

.estimate-display {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #15426B 100%);
  color: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  text-align: center;
  margin: var(--spacing-lg) 0;
}

.estimate-display h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
}

.estimate-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: var(--spacing-sm);
}

.estimate-details {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: var(--spacing-sm);
}

.discount-badge {
  display: inline-block;
  background: var(--success-green);
  color: var(--white);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: var(--spacing-sm);
}

.feature-badge {
  display: inline-block;
  background: var(--accent-gold);
  color: var(--primary-navy);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: var(--spacing-xs);
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.contact-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 var(--spacing-sm);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
}

.contact-info,
.contact-form-container {
  background: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-info h2,
.contact-form-container h2 {
  color: var(--primary-navy);
  margin-bottom: var(--spacing-md);
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-md);
}

.info-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-gold);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: var(--spacing-md);
  flex-shrink: 0;
}

.info-icon i {
  color: var(--white);
  font-size: 1.2rem;
}

.info-content h3 {
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.info-content p {
  margin: 0;
  color: var(--text-light);
}

.info-content a {
  color: var(--accent-gold);
  text-decoration: none;
}

.info-content a:hover {
  text-decoration: underline;
}

.business-hours {
  background: var(--background-light);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-top: var(--spacing-lg);
}

.business-hours h3 {
  color: var(--primary-navy);
  margin-bottom: var(--spacing-md);
}

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

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-xs) 0;
  border-bottom: 1px solid var(--border-color);
}

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

/* ==========================================================================
   SERVICE AREAS
   ========================================================================== */

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.area-card {
  background: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-fast);
}

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

.area-card.primary-areas {
  border: 2px solid var(--accent-gold);
}

.area-item {
  padding: var(--spacing-xs);
}

/* ==========================================================================
   LOADING & OVERLAYS
   ========================================================================== */

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.loading-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color);
  border-top-color: var(--accent-gold);
  border-radius: var(--radius-round);
  animation: spin 1s linear infinite;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
  background: var(--primary-navy);
  color: var(--white);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  margin-top: var(--spacing-xxl);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
}

.footer-section h4 {
  color: var(--accent-gold);
  margin-bottom: var(--spacing-md);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-section a:hover {
  color: var(--accent-gold);
}

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

.footer-section ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

.text-success {
  color: var(--success-green);
}

.text-error {
  color: var(--error-red);
}

.text-warning {
  color: var(--warning-orange);
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.p-0 { padding: 0; }
.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

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

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

.animate-fade-in-up.delay-1 {
  animation-delay: 0.2s;
  opacity: 0;
}

.animate-fade-in-up.delay-2 {
  animation-delay: 0.4s;
  opacity: 0;
}

.animate-fade-in-up.delay-3 {
  animation-delay: 0.6s;
  opacity: 0;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-out;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Tablet (768px and up) */
@media (max-width: 1024px) {
  nav ul {
    display: none;
  }

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

  .hero-content h1 {
    font-size: 2.5rem;
  }

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

  .service-summary-grid,
  .service-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Mobile (below 768px) */
@media (max-width: 768px) {
  :root {
    --spacing-xxl: 2rem;
    --spacing-xl: 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  nav {
    padding: var(--spacing-sm);
  }

  .logo img,
  #logo-img {
    height: 50px;
  }

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

  .hero-content p {
    font-size: 1.125rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .trust-signals {
    flex-direction: column;
    align-items: center;
  }

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

  .service-summary-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .quote-wizard {
    padding: var(--spacing-md);
  }

  .progress-bar {
    font-size: 0.75rem;
  }

  .progress-step::before {
    width: 25px;
    height: 25px;
    line-height: 25px;
  }

  .wizard-navigation {
    flex-direction: column;
  }

  .wizard-navigation button {
    max-width: 100%;
  }

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

  .estimate-amount {
    font-size: 2.5rem;
  }

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

  section {
    padding: var(--spacing-lg) 0;
  }
}

/* Small Mobile (below 480px) */
@media (max-width: 480px) {
  .cta-button,
  .cta-button-secondary {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .estimate-amount {
    font-size: 2rem;
  }

  .quote-wizard {
    padding: var(--spacing-sm);
  }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
  header,
  footer,
  .mobile-nav,
  .mobile-nav-toggle,
  .cta-button,
  .wizard-navigation {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  main {
    padding-top: 0;
  }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

/* Focus states for keyboard navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--gold-text);
  outline-offset: 2px;
}

/* Modern focus-visible for keyboard-only focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.cta-button:focus-visible,
.cta-button-secondary:focus-visible,
nav ul li a:focus-visible {
  outline: 3px solid var(--gold-text);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(128, 102, 0, 0.15);
}

/* Remove focus outline for mouse users (focus-visible handles keyboard) */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border-color: #000;
  }

  button,
  input,
  select,
  textarea {
    border-width: 2px;
  }
}

/* ==========================================================================
   END OF STYLESHEET
   ========================================================================== */
