/* ================================================
   PINNACLE HOME RESTORATION — MAIN STYLESHEET
   ================================================ */

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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  color: #1A1A1A;
  background-color: #FFFFFF;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;
  text-wrap: balance;
  line-height: 1.15;
  font-weight: 700;
}
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }

::selection {
  background: rgba(196, 30, 58, 0.2);
  color: #1A1A1A;
}

:focus-visible {
  outline: 2px solid #C41E3A;
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

button { cursor: pointer; background: none; border: none; }
a { text-decoration: none; color: inherit; }

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

/* ---- DESIGN TOKENS ---- */
:root {
  /* Brand colors */
  --navy: #1B2A4A;
  --navy-light: #2A3D66;
  --navy-dark: #111C33;
  --red: #C41E3A;
  --red-hover: #A8182F;
  --red-light: #E8354F;
  --white: #FFFFFF;
  --black: #1A1A1A;
  --gray-light: #F5F5F5;
  --gray-medium: #E0E0E0;
  --gray-dark: #666666;
  --gray-text: #555555;

  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.14);
  --shadow-xl: 0 20px 48px rgba(0,0,0,0.18);
}

/* ---- UTILITIES ---- */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  max-width: var(--content-default);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section-padding {
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0;
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-navy { color: var(--navy); }
.text-red { color: var(--red); }
.text-muted { color: var(--gray-dark); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-md);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast),
              transform var(--transition-fast),
              box-shadow var(--transition-fast);
}

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

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

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-lg {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-base);
}

/* ---- HEADER / NAVIGATION ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-6);
  max-width: var(--content-wide);
  margin: 0 auto;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: var(--space-6);
}

.header-logo img {
  height: 44px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.header-nav a {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--black);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--red);
  background: rgba(196, 30, 58, 0.05);
}

.header-nav a.active {
  color: var(--red);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-dropdown-trigger svg {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  margin-top: var(--space-2);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu a {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: var(--gray-light);
}

.header-cta {
  margin-left: var(--space-3);
  white-space: nowrap;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--navy);
  margin-right: var(--space-3);
  font-size: var(--text-sm);
  white-space: nowrap;
}

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

/* Mobile menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 100px var(--space-6) var(--space-8);
  overflow-y: auto;
}

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

.mobile-menu a {
  display: block;
  padding: var(--space-3) 0;
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--black);
  border-bottom: 1px solid var(--gray-medium);
}

.mobile-menu a:hover {
  color: var(--red);
}

.mobile-menu .mobile-submenu {
  padding-left: var(--space-6);
}

.mobile-menu .mobile-submenu a {
  font-size: var(--text-base);
  font-weight: 400;
}

.mobile-menu-cta {
  margin-top: var(--space-8);
}

.mobile-menu-contact {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 2px solid var(--gray-medium);
}

.mobile-menu-contact p {
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  color: var(--gray-dark);
}

.mobile-menu-contact a {
  border-bottom: none;
  color: var(--navy);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .header-nav, .header-cta, .header-phone {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
}

/* ---- HERO SECTION ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-dark) url('../images/hero-bg.jpg') center center / cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 28, 51, 0.75) 0%,
    rgba(17, 28, 51, 0.6) 40%,
    rgba(17, 28, 51, 0.7) 70%,
    rgba(17, 28, 51, 0.9) 100%
  );
  z-index: 1;
}

/* Colorado flag badge */
.colorado-flag {
  display: inline-flex;
  align-items: center;
  margin-right: var(--space-2);
  flex-shrink: 0;
}

.colorado-flag img {
  height: 24px;
  width: auto;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}



.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-8) var(--space-6);
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(196, 30, 58, 0.15);
  border: 1px solid rgba(196, 30, 58, 0.3);
  color: var(--white);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-6);
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: var(--text-3xl);
  color: var(--white);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

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

.hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-10);
  justify-content: center;
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}

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

.hero-stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  margin-top: var(--space-1);
}

/* ---- BEFORE/AFTER SLIDER ---- */
.before-after-container {
  max-width: 900px;
  margin: 0 auto;
}

.before-after-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  aspect-ratio: 16/9;
  cursor: ew-resize;
  user-select: none;
}

.before-after-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.before-image {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  z-index: 1;
  overflow: hidden;
}

.before-image img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.after-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ba-label {
  position: absolute;
  bottom: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: rgba(0,0,0,0.7);
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
  z-index: 5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ba-label-before {
  left: var(--space-4);
}

.ba-label-after {
  right: var(--space-4);
}

.ba-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: white;
  z-index: 3;
  cursor: ew-resize;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.ba-handle svg {
  width: 20px;
  height: 20px;
  color: var(--navy);
}

/* ---- PAGE HERO (interior pages) ---- */
.page-hero {
  background: var(--navy);
  padding: clamp(120px, 15vw, 160px) 0 clamp(var(--space-12), 6vw, var(--space-16));
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 30, 58, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: var(--text-2xl);
  color: var(--white);
  margin-bottom: var(--space-4);
}

.page-hero p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  max-width: 600px;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-fast);
}

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

.breadcrumbs .separator {
  color: rgba(255,255,255,0.4);
}

.breadcrumbs .current {
  color: var(--white);
  font-weight: 500;
}

/* ---- SECTION STYLES ---- */
.section-white {
  background: var(--white);
}

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

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

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

.section-title {
  font-size: var(--text-2xl);
  color: var(--navy);
  margin-bottom: var(--space-4);
}

.section-navy .section-title,
.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-dark);
  max-width: 600px;
}

.section-navy .section-subtitle,
.section-dark .section-subtitle {
  color: rgba(255,255,255,0.75);
}

.section-header {
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-12));
}

.section-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}

.section-navy .section-label,
.section-dark .section-label {
  color: var(--red-light);
}

/* ---- SERVICE CARDS ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(27, 42, 74, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--navy);
}

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

.service-card h3 {
  font-size: var(--text-lg);
  color: var(--navy);
  margin-bottom: var(--space-2);
}

.service-card p {
  font-size: var(--text-base);
  color: var(--gray-text);
  line-height: 1.6;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--red);
  font-weight: 600;
  font-size: var(--text-sm);
  margin-top: var(--space-4);
  transition: gap var(--transition-fast);
}

.service-card:hover .card-link {
  gap: var(--space-3);
}

/* ---- TRUST / WHY CHOOSE US ---- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.trust-item {
  text-align: center;
  padding: var(--space-6);
}

.trust-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(196, 30, 58, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: var(--red);
}

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

.trust-item h3 {
  font-size: var(--text-lg);
  color: var(--navy);
  margin-bottom: var(--space-2);
}

.trust-item p {
  font-size: var(--text-sm);
  color: var(--gray-dark);
  max-width: 280px;
  margin: 0 auto;
}

/* ---- GALLERY / PROJECTS ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

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

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 42, 74, 0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-overlay h3 {
  color: var(--white);
  font-size: var(--text-lg);
}

.gallery-overlay p {
  color: rgba(255,255,255,0.8);
  font-size: var(--text-sm);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gray-light) 0%, var(--gray-medium) 100%);
  color: var(--gray-dark);
  font-size: var(--text-sm);
}

.gallery-placeholder svg {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-2);
  opacity: 0.4;
}

/* ---- TESTIMONIALS ---- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
}

.section-gray .testimonial-card {
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
  color: #F59E0B;
}

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

.testimonial-text {
  font-size: var(--text-base);
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

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

.testimonial-author-info h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--black);
}

.testimonial-author-info p {
  font-size: var(--text-xs);
  color: var(--gray-dark);
}

/* ---- SERVICE AREA MAP ---- */
.area-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.area-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.area-badge:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}

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

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--red) 0%, #8B1525 100%);
  padding: clamp(var(--space-12), 6vw, var(--space-16)) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: var(--text-xl);
  color: var(--white);
  margin-bottom: var(--space-4);
}

.cta-banner p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-secondary {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}

.cta-banner .btn-secondary:hover {
  background: rgba(255,255,255,0.9);
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  padding-top: clamp(var(--space-12), 6vw, var(--space-16));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-12);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  margin-top: var(--space-4);
  line-height: 1.7;
  max-width: 300px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: var(--space-2);
}

.footer-column h4 {
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}

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

.footer-column ul li {
  margin-bottom: var(--space-2);
}

.footer-column ul a {
  color: rgba(255,255,255,0.65);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer-column ul a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
}

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

.footer-contact-item a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}

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

.footer-bottom a[href*="perplexity"] {
  font-size: 0.5rem;
  color: rgba(17, 28, 51, 0.95);
  pointer-events: auto;
}

.footer-bottom a[href*="perplexity"]:hover {
  color: rgba(17, 28, 51, 0.95);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  transition: background var(--transition-fast), color var(--transition-fast);
}

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

.footer-social a svg {
  width: 18px;
  height: 18px;
}

/* ---- CONTENT SECTIONS FOR SERVICE PAGES ---- */
.content-section {
  padding: clamp(var(--space-12), 6vw, var(--space-20)) 0;
}

.content-section h2 {
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: var(--space-4);
}

.content-section h3 {
  font-size: var(--text-lg);
  color: var(--navy);
  margin-bottom: var(--space-3);
  margin-top: var(--space-8);
}

.content-section p {
  font-size: var(--text-base);
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.content-section ul {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}

.content-section ul li {
  font-size: var(--text-base);
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: var(--space-2);
}

.content-section ul li::marker {
  color: var(--red);
}

.content-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

/* ---- FAQ ACCORDION ---- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) 0;
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  background: none;
  border: none;
  gap: var(--space-4);
}

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

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

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

.faq-item.active .faq-answer {
  max-height: 600px;
  padding-bottom: var(--space-6);
}

.faq-answer p {
  font-size: var(--text-base);
  color: var(--gray-text);
  line-height: 1.8;
}

/* ---- CONTACT FORM ---- */
.contact-form {
  display: grid;
  gap: var(--space-4);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--gray-medium);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.1);
}

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

/* ---- BLOG CARDS ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.blog-card-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
}

.blog-card-image svg {
  width: 48px;
  height: 48px;
}

.blog-card-body {
  padding: var(--space-6);
}

.blog-card-meta {
  font-size: var(--text-xs);
  color: var(--gray-dark);
  margin-bottom: var(--space-2);
}

.blog-card-meta span {
  color: var(--red);
  font-weight: 600;
}

.blog-card h3 {
  font-size: var(--text-lg);
  color: var(--navy);
  margin-bottom: var(--space-2);
}

.blog-card p {
  font-size: var(--text-sm);
  color: var(--gray-text);
  line-height: 1.6;
}

/* ---- FEATURES LIST (for service pages) ---- */
.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.05);
}

.section-white .feature-item {
  background: var(--gray-light);
}

.feature-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--red);
  margin-top: 2px;
}

.feature-item h4 {
  font-size: var(--text-base);
  color: var(--navy);
  margin-bottom: var(--space-1);
}

.feature-item p {
  font-size: var(--text-sm);
  color: var(--gray-text);
}

/* ---- PROCESS STEPS ---- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  counter-reset: step;
}

.process-step {
  text-align: center;
  position: relative;
  counter-increment: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--text-xl);
  font-weight: 800;
  color: rgba(196, 30, 58, 0.15);
  margin-bottom: var(--space-3);
}

.process-step h3 {
  font-size: var(--text-base);
  color: var(--navy);
  margin-bottom: var(--space-2);
}

.process-step p {
  font-size: var(--text-sm);
  color: var(--gray-dark);
}

/* ---- MAP PLACEHOLDER ---- */
.map-placeholder {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  background: var(--gray-light);
  border: 1px solid var(--gray-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-dark);
}

.map-placeholder svg {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-3);
  opacity: 0.5;
}

/* ---- GALLERY PAGE FILTERS ---- */
.gallery-filters {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.gallery-filter-btn {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-xl);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-dark);
  border: 1px solid var(--gray-medium);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ---- SCROLL ANIMATIONS ---- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .content-two-col { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2rem, 6vw, 3rem); }
  .hero-stats { flex-direction: column; gap: var(--space-6); }
  .form-row { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .features-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; }
}

/* ---- CONTACT INFO GRID ---- */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.contact-info-card {
  text-align: center;
  padding: var(--space-8);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
}

.contact-info-card svg {
  width: 32px;
  height: 32px;
  margin: 0 auto var(--space-3);
  color: var(--red);
}

.contact-info-card h3 {
  font-size: var(--text-base);
  color: var(--navy);
  margin-bottom: var(--space-2);
}

.contact-info-card p,
.contact-info-card a {
  font-size: var(--text-sm);
  color: var(--gray-text);
}

.contact-info-card a:hover {
  color: var(--red);
}

@media (max-width: 768px) {
  .contact-info-grid { grid-template-columns: 1fr; }
}

/* ---- TRUST BADGES ROW ---- */
.trust-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  padding: var(--space-6) 0;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--gray-dark);
  font-weight: 500;
}

.trust-badge svg {
  width: 40px;
  height: 40px;
  color: var(--navy);
}

/* ---- SERVICE AREA CITY LIST ---- */
.city-service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.city-service-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--gray-light);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--navy);
}

.city-service-item svg {
  width: 18px;
  height: 18px;
  color: var(--red);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .city-service-list { grid-template-columns: 1fr; }
}

/* ---- GALLERY ITEM IMAGES ---- */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.content-two-col .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
