/* ==========================================================================
   INTERLOCK ONTARIO - MODERN LUXURY DESIGN SYSTEM
   ========================================================================== */

:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Color Palette */
  --primary-black: #14181B;
  --primary-dark: #1E2429;
  --primary-charcoal: #2A3138;
  --accent-red: #DA1B21;
  --accent-red-hover: #BF151B;
  --accent-red-glow: rgba(218, 27, 33, 0.25);
  
  --paver-slate-dark: #3F474E;
  --paver-slate-mid: #5E666D;
  --paver-slate-light: #8A9299;

  --bg-light: #F8FAFC;
  --card-bg: #FFFFFF;
  --border-light: rgba(226, 232, 240, 0.9);
  --border-glass: rgba(255, 255, 255, 0.15);

  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-white: #FFFFFF;

  /* Elevation & Transitions */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 18px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 32px -4px rgba(15, 23, 42, 0.12);
  --shadow-red: 0 10px 25px -5px rgba(218, 27, 33, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 70px; /* Space for mobile action dock */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-red);
  background: rgba(218, 27, 33, 0.08);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

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

@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

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

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 0.5rem 0;
}

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

.logo-img {
  height: 84px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .nav-wrapper {
    min-height: 92px;
    padding: 0.4rem 0;
  }
  .logo-img {
    height: 80px;
    max-width: 220px;
  }
}

nav.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

nav.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary-dark);
  position: relative;
  padding: 0.25rem 0;
}

nav.nav-links a:hover,
nav.nav-links a.active {
  color: var(--accent-red);
}

nav.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-red);
  transition: width var(--transition-fast);
}

nav.nav-links a:hover::after,
nav.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.nav-phone:hover {
  color: var(--accent-red);
}

.nav-phone svg {
  color: var(--accent-red);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--accent-red);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-red);
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(218, 27, 33, 0.45);
  color: #FFFFFF;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #FFFFFF;
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary-dark);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary-charcoal);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-dark:hover {
  background: var(--primary-black);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--primary-dark);
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 992px) {
  nav.nav-links, .nav-actions {
    display: flex;
  }
  .mobile-toggle {
    display: none;
  }
}

/* Mobile Navigation Drawer */
.mobile-nav {
  position: fixed;
  top: 96px;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(-120%);
  transition: transform var(--transition-smooth);
  z-index: 999;
}

@media (max-width: 768px) {
  .mobile-nav {
    top: 92px;
  }
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--slate-100);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--primary-black);
  color: var(--text-white);
  padding: 4.5rem 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.55;
  filter: brightness(0.9);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(16, 20, 24, 0.96) 0%, rgba(16, 20, 24, 0.86) 52%, rgba(16, 20, 24, 0.45) 100%);
}

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

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.hero-badge .maple-dot {
  color: var(--accent-red);
}

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

.hero h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
  line-height: 1.12;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
  font-weight: 800;
}

.hero p.lead {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: rgba(248, 250, 252, 0.88);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.trust-item svg {
  color: var(--accent-red);
  flex-shrink: 0;
}

/* Desktop Hero Quick Estimate Card */
.hero-card-column {
  display: none;
}

@media (min-width: 992px) {
  .hero-card-column {
    display: block;
  }
}

.hero-estimate-card {
  background: rgba(30, 36, 41, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.estimate-card-header {
  margin-bottom: 1.25rem;
}

.pulse-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #10B981;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.estimate-card-header h3 {
  font-size: 1.6rem;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.estimate-card-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.estimate-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.estimate-form .form-field input,
.estimate-form .form-field select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.estimate-form .form-field select option {
  background: #1E2429;
  color: #FFFFFF;
}

.estimate-form .form-field input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.estimate-form .form-field input:focus,
.estimate-form .form-field select:focus {
  outline: none;
  border-color: var(--accent-red);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(218, 27, 33, 0.25);
}

.estimate-submit-btn {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 1.05rem;
  margin-top: 0.25rem;
}

.estimate-card-footer {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

/* Scope & Services Matrix */
.services-section {
  padding: 5.5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(218, 27, 33, 0.3);
}

.service-card.featured {
  grid-column: 1 / -1;
  border: 2px solid var(--accent-red);
  position: relative;
}

@media (min-width: 992px) {
  .service-card.featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
  }
}

.service-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card.featured .service-thumb {
  height: 100%;
  min-height: 320px;
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-thumb img {
  transform: scale(1.05);
}

.featured-ribbon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent-red);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.service-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card.featured .service-body {
  padding: 2.5rem;
  justify-content: center;
}

.service-body h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.service-card.featured .service-body h3 {
  font-size: 2rem;
}

.service-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-charcoal);
}

.service-features li svg {
  color: var(--accent-red);
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-red);
}

.service-link:hover {
  color: var(--accent-red-hover);
  transform: translateX(4px);
}

/* Why Choose Us & Standards */
.standards-section {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 5.5rem 0;
}

.standards-section h2, 
.standards-section h3 {
  color: #FFFFFF;
}

.standards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .standards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.standard-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 2rem;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.standard-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(218, 27, 33, 0.5);
  transform: translateY(-4px);
}

.standard-icon {
  width: 56px;
  height: 56px;
  background: rgba(218, 27, 33, 0.15);
  border: 1px solid rgba(218, 27, 33, 0.4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  margin-bottom: 1.25rem;
}

.standard-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.standard-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

/* Before & After Interactive Comparison */
.comparison-section {
  padding: 5.5rem 0;
  background: var(--bg-light);
}

.comparison-wrapper {
  position: relative;
  max-width: 960px;
  margin: 2rem auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-light);
  height: 480px;
}

.comparison-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
  width: 50%;
  border-right: 3px solid var(--accent-red);
  box-shadow: 2px 0 10px rgba(0,0,0,0.3);
}

.comparison-overlay img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  max-width: none;
  width: 960px;
  object-fit: cover;
}

.comparison-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 20;
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--accent-red);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  pointer-events: none;
  z-index: 15;
}

.badge-tag {
  position: absolute;
  top: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 10;
}

.badge-tag.before {
  left: 1rem;
  background: rgba(20, 24, 27, 0.8);
  color: #FFFFFF;
}

.badge-tag.after {
  right: 1rem;
  background: var(--accent-red);
  color: #FFFFFF;
}

/* Service Area Coverage (GTA) */
.areas-section {
  padding: 5rem 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.area-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--slate-100);
  color: var(--primary-charcoal);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--slate-200);
  transition: all var(--transition-fast);
}

.area-pill:hover {
  background: var(--primary-dark);
  color: #FFFFFF;
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Lead Intake Form */
.quote-section {
  padding: 5.5rem 0;
}

.quote-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  max-width: 840px;
  margin: 0 auto;
  padding: 2.5rem;
}

@media (min-width: 768px) {
  .quote-card {
    padding: 3.5rem;
  }
}

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

@media (min-width: 768px) {
  .form-grid.two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.form-control {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-red);
  box-shadow: 0 0 0 4px var(--accent-red-glow);
}

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

/* Footer */
footer {
  background: var(--primary-black);
  color: rgba(255, 255, 255, 0.8);
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

.footer-brand p {
  margin: 1.25rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent-red);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

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

.footer-contact-item svg {
  color: var(--accent-red);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Mobile Quick Action Dock */
.mobile-action-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  display: flex;
  z-index: 990;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.06);
}

@media (min-width: 992px) {
  .mobile-action-dock {
    display: none;
  }
}

.dock-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-charcoal);
  gap: 0.2rem;
  transition: background var(--transition-fast);
}

.dock-item:active {
  background: var(--slate-100);
}

.dock-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent-red);
}

/* AI Live Chat Assistant Widget */
.chat-widget-container {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 1050;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

@media (min-width: 992px) {
  .chat-widget-container {
    bottom: 25px;
    right: 25px;
  }
}

.avatar-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  border: 3px solid var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-smooth);
}

.avatar-wrapper:hover {
  transform: scale(1.08);
}

.avatar-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: #10B981;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
}

.chat-bubble {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  width: 320px;
  padding: 1.25rem;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  pointer-events: none;
  transition: all var(--transition-smooth);
}

.chat-bubble.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--slate-100);
  padding-bottom: 0.5rem;
}

.chat-header-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chat-close-btn {
  background: transparent;
  border: none;
  color: var(--slate-500);
  cursor: pointer;
  padding: 0.2rem;
}

.chat-text {
  font-size: 0.9rem;
  color: var(--text-main);
  max-height: 220px;
  overflow-y: auto;
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.chat-greeting-desktop {
  display: inline;
}

.chat-greeting-mobile {
  display: none;
}

@media (max-width: 768px) {
  .chat-greeting-desktop {
    display: none;
  }
  .chat-greeting-mobile {
    display: inline;
    font-weight: 500;
  }
  .chat-bubble {
    width: min(280px, calc(100vw - 85px));
    padding: 0.85rem 1rem;
  }
  .chat-widget-container {
    bottom: 75px;
    right: 14px;
    gap: 8px;
  }
  .avatar-wrapper {
    width: 54px;
    height: 54px;
  }
  .avatar-wrapper svg {
    width: 46px;
    height: 46px;
  }
}

.chat-input-wrapper {
  display: flex;
  gap: 0.5rem;
}

.chat-input-wrapper input {
  flex-grow: 1;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.chat-input-wrapper input:focus {
  outline: none;
  border-color: var(--accent-red);
}

.chat-send-btn {
  background: var(--accent-red);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.chat-send-btn:hover {
  background: var(--accent-red-hover);
}
