/* ==========================================================================
   Integrity Garage Doors & Gates — Design System
   ========================================================================== */

/* ---------- Custom Properties ---------- */
:root {
  /* Colors */
  --navy: #233E57;
  --navy-dark: #1a2f42;
  --navy-light: #2d5070;
  --gold: #D8B952;
  --gold-dark: #c4a63e;
  --gold-light: #e5cc6f;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --success: #16a34a;
  --error: #dc2626;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fw-normal: 400;
  --fw-semi: 600;
  --fw-bold: 700;
  --lh-body: 1.6;
  --lh-heading: 1.2;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-nav: 300;
  --z-overlay: 400;
  --z-modal: 500;

  /* Layout */
  --nav-height: 72px;
  --container-max: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: var(--font-body);
  font-weight: var(--fw-normal);
  line-height: var(--lh-body);
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--navy);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  z-index: 9999;
  font-weight: var(--fw-semi);
}
.skip-link:focus { top: var(--space-md); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: clamp(1.05rem, 2vw, 1.25rem); }
p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-navy { color: var(--navy); }
.section-subtitle {
  color: var(--gray-500);
  font-size: 1.1rem;
  max-width: 600px;
  margin: var(--space-sm) auto var(--space-2xl);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.section {
  padding: var(--space-3xl) 0;
}
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.grid { display: grid; gap: var(--space-xl); }
.grid--2col { grid-template-columns: 1fr; }
.grid--3col { grid-template-columns: 1fr; }
.grid--4col { grid-template-columns: 1fr 1fr; }

@media (min-width: 768px) {
  .grid--2col { grid-template-columns: repeat(2, 1fr); }
  .grid--3col { grid-template-columns: repeat(2, 1fr); }
  .grid--4col { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 992px) {
  .grid--3col { grid-template-columns: repeat(3, 1fr); }
  .container { padding: 0 var(--space-xl); }
  .section { padding: var(--space-4xl) 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  font-weight: var(--fw-semi);
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover { background: var(--navy-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--white {
  background: var(--white);
  color: var(--navy);
}
.btn--white:hover { background: var(--gray-100); transform: translateY(-1px); }
.btn--lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn--block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: var(--space-md); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--white);
  z-index: var(--z-nav);
  transition: box-shadow 0.3s ease;
}
.nav--scrolled { box-shadow: var(--shadow-md); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.nav__logo img { height: 44px; width: auto; }
.nav__links { display: none; align-items: center; gap: var(--space-lg); }
.nav__link {
  font-weight: var(--fw-semi);
  color: var(--gray-700);
  padding: var(--space-sm) 0;
  transition: color 0.2s;
  position: relative;
}
.nav__link:hover, .nav__link--active { color: var(--navy); }
.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: var(--radius-full);
}

/* Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: var(--fw-semi);
  color: var(--gray-700);
  padding: var(--space-sm) 0;
  transition: color 0.2s;
  cursor: pointer;
  background: none;
  border: none;
  font-size: inherit;
}
.nav__dropdown-toggle:hover { color: var(--navy); }
.nav__dropdown-arrow {
  width: 12px;
  height: 12px;
  transition: transform 0.2s;
}
.nav__dropdown.open .nav__dropdown-arrow { transform: rotate(180deg); }
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + var(--space-sm));
  left: calc(-1 * var(--space-md));
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: var(--z-dropdown);
}
.nav__dropdown.open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown-item {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  color: var(--gray-700);
  font-weight: var(--fw-normal);
  transition: all 0.15s;
}
.nav__dropdown-item:hover {
  background: var(--gray-50);
  color: var(--navy);
  padding-left: calc(var(--space-lg) + 4px);
}

.nav__cta {
  display: none;
  align-items: center;
  gap: var(--space-sm);
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: var(--fw-bold);
  transition: background 0.2s;
}
.nav__cta:hover { background: var(--gold-dark); }
.nav__cta svg { width: 18px; height: 18px; }

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  cursor: pointer;
  z-index: calc(var(--z-overlay) + 1);
}
.nav__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}
.nav__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--white);
  z-index: var(--z-overlay);
  padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}
.mobile-menu.open { right: 0; }
.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: calc(var(--z-overlay) - 1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-menu__overlay.open { opacity: 1; visibility: visible; }
.mobile-menu__link {
  display: block;
  padding: var(--space-md) 0;
  font-weight: var(--fw-semi);
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-200);
  font-size: 1.1rem;
}
.mobile-menu__link:hover { color: var(--navy); }
.mobile-menu__sub { padding-left: var(--space-lg); }
.mobile-menu__sub a {
  display: block;
  padding: var(--space-sm) 0;
  color: var(--gray-500);
  font-size: 0.95rem;
}
.mobile-menu__sub a:hover { color: var(--navy); }
.mobile-menu__cta {
  margin-top: var(--space-xl);
}
body.menu-open { overflow: hidden; }

@media (min-width: 992px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__hamburger { display: none; }
  .mobile-menu, .mobile-menu__overlay { display: none; }
}

/* Content offset for fixed nav */
.page-content { padding-top: var(--nav-height); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}
.hero h1 { color: var(--white); margin-bottom: var(--space-md); }
.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255,255,255,0.1);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: var(--fw-semi);
  backdrop-filter: blur(4px);
}
.hero__badge svg { width: 16px; height: 16px; color: var(--gold); }

/* Inner hero for subpages */
.hero--inner {
  min-height: 40vh;
  text-align: center;
}
.hero--inner .hero__content { max-width: 800px; margin: 0 auto; }

/* ---------- Quote Form ---------- */
.quote-form {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 420px;
  color: var(--gray-800);
}
.quote-form__title {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin-bottom: var(--space-lg);
}
.form-group {
  margin-bottom: var(--space-md);
}
.form-group label {
  display: block;
  font-weight: var(--fw-semi);
  font-size: 0.875rem;
  color: var(--gray-700);
  margin-bottom: var(--space-xs);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  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(35,62,87,0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: var(--error); }
.form-error {
  color: var(--error);
  font-size: 0.8rem;
  margin-top: var(--space-xs);
  display: none;
}
.form-success {
  background: #dcfce7;
  color: var(--success);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-weight: var(--fw-semi);
  text-align: center;
  display: none;
}

/* Hero layout: content + form side by side */
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
  width: 100%;
}
@media (min-width: 992px) {
  .hero__grid { grid-template-columns: 1fr 420px; }
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--space-lg) 0;
}
.trust-bar__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md) var(--space-xl);
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: var(--fw-semi);
  color: var(--navy);
  font-size: 0.95rem;
  white-space: nowrap;
}
.trust-bar__item svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card__icon {
  width: 48px;
  height: 48px;
  background: rgba(35,62,87,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--navy);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: var(--space-sm); font-size: 1.15rem; }
.card p { color: var(--gray-600); font-size: 0.95rem; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-md);
  font-weight: var(--fw-semi);
  color: var(--navy);
  font-size: 0.9rem;
  transition: gap 0.2s;
}
.card__link:hover { gap: 8px; color: var(--gold-dark); }
.card__link svg { width: 16px; height: 16px; }

/* Service card (clickable) */
a.card { display: block; color: inherit; }

/* Pricing card */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 2px solid var(--gray-200);
  text-align: center;
  transition: all 0.3s ease;
}
.pricing-card:hover { border-color: var(--gold); box-shadow: var(--shadow-lg); }
.pricing-card__price {
  font-size: 2.5rem;
  font-weight: var(--fw-bold);
  color: var(--navy);
  margin: var(--space-md) 0 var(--space-sm);
}
.pricing-card__label {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: var(--space-md);
}
.pricing-card ul {
  text-align: left;
  margin-bottom: var(--space-lg);
}
.pricing-card li {
  padding: var(--space-sm) 0;
  color: var(--gray-600);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}
.pricing-card li::before {
  content: '✓';
  color: var(--success);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--gray-200);
}
.testimonial-card__stars { color: var(--gold); margin-bottom: var(--space-md); font-size: 1.2rem; letter-spacing: 2px; }
.testimonial-card__quote {
  font-style: italic;
  color: var(--gray-700);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}
.testimonial-card__author { font-weight: var(--fw-semi); color: var(--navy); }
.testimonial-card__city { font-size: 0.85rem; color: var(--gray-500); }

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:first-child { border-top: 1px solid var(--gray-200); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  text-align: left;
  font-weight: var(--fw-semi);
  font-size: 1.05rem;
  color: var(--navy);
  cursor: pointer;
  background: none;
  border: none;
}
.faq-question:hover { color: var(--gold-dark); }
.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: var(--space-lg);
}
.faq-answer p {
  color: var(--gray-600);
  line-height: 1.7;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  font-size: 0.875rem;
}
.breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb__sep { color: rgba(255,255,255,0.4); }
.breadcrumb__current { color: var(--gold); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: var(--fw-semi);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-item__caption { transform: translateY(0); }

/* Gallery filters */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}
.gallery-filter {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: var(--fw-semi);
  color: var(--gray-600);
  border: 1px solid var(--gray-300);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s;
}
.gallery-filter:hover { border-color: var(--navy); color: var(--navy); }
.gallery-filter.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Horizontal scroll gallery (home page) */
.gallery-scroll {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-md);
}
.gallery-scroll::-webkit-scrollbar { height: 6px; }
.gallery-scroll::-webkit-scrollbar-track { background: var(--gray-100); border-radius: var(--radius-full); }
.gallery-scroll::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: var(--radius-full); }
.gallery-scroll__item {
  flex: 0 0 280px;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  scroll-snap-align: start;
}
.gallery-scroll__item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  color: var(--white);
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: var(--radius-full);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,0.3); }
.lightbox__close { top: var(--space-lg); right: var(--space-lg); }
.lightbox__prev { left: var(--space-lg); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: var(--space-lg); top: 50%; transform: translateY(-50%); }
.lightbox__caption {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 0.95rem;
  text-align: center;
  max-width: 600px;
}

/* ---------- Service Areas Grid ---------- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
@media (min-width: 576px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .area-grid { grid-template-columns: repeat(4, 1fr); } }
.area-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  font-weight: var(--fw-semi);
  color: var(--navy);
  transition: all 0.2s;
}
.area-link:hover { border-color: var(--gold); box-shadow: var(--shadow-md); background: var(--gray-50); }
.area-link svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: var(--space-3xl) 0;
}
.cta-section h2 { color: var(--white); margin-bottom: var(--space-md); }
.cta-section p { color: rgba(255,255,255,0.8); margin-bottom: var(--space-xl); max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: var(--space-3xl) 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}
@media (min-width: 576px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer h4 { color: var(--white); margin-bottom: var(--space-lg); font-size: 1rem; }
.footer__about p { font-size: 0.9rem; line-height: 1.7; }
.footer__logo { height: 36px; width: auto; margin-bottom: var(--space-md); }
.footer__links a {
  display: block;
  padding: var(--space-xs) 0;
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--gold); }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
}
.footer__contact-item svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer__contact-item a { color: var(--gray-400); transition: color 0.2s; }
.footer__contact-item a:hover { color: var(--gold); }
.footer__bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-lg) 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ---------- Content Pages ---------- */
.content { max-width: 800px; margin: 0 auto; }
.content h2 { margin: var(--space-2xl) 0 var(--space-md); }
.content h3 { margin: var(--space-xl) 0 var(--space-md); }
.content p { color: var(--gray-700); }
.content ul, .content ol { margin: var(--space-md) 0 var(--space-lg) var(--space-xl); }
.content li { padding: var(--space-xs) 0; color: var(--gray-700); list-style: disc; }
.content ol li { list-style: decimal; }
.content strong { color: var(--navy); }

/* Service page two-column */
.service-content { display: grid; grid-template-columns: 1fr; gap: var(--space-2xl); }
@media (min-width: 992px) { .service-content { grid-template-columns: 2fr 1fr; } }
.service-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
  align-self: start;
}
.sidebar-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  border: 1px solid var(--gray-200);
}
.sidebar-card h4 { margin-bottom: var(--space-md); }
.sidebar-card ul { margin: 0; }
.sidebar-card li {
  list-style: none;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--gray-200);
}
.sidebar-card li:last-child { border-bottom: none; }
.sidebar-card a { color: var(--navy); font-weight: var(--fw-semi); transition: color 0.2s; }
.sidebar-card a:hover { color: var(--gold-dark); }

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}
.contact-info-card svg { width: 24px; height: 24px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-info-card h4 { margin-bottom: var(--space-xs); font-size: 1rem; }
.contact-info-card p { font-size: 0.9rem; color: var(--gray-600); }
.map-embed {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: var(--radius-lg);
}

/* ---------- Scroll Animations ---------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }
.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }

/* ---------- Noscript fallback nav ---------- */
noscript .fallback-nav {
  background: var(--navy);
  padding: var(--space-md) 0;
}
noscript .fallback-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
noscript .fallback-nav a {
  color: var(--white);
  font-weight: var(--fw-semi);
  font-size: 0.9rem;
}

/* ---------- Print ---------- */
@media print {
  .nav, .mobile-menu, .mobile-menu__overlay, .cta-section, .quote-form { display: none !important; }
  .hero { min-height: auto; padding: var(--space-xl) 0; }
  body { font-size: 12pt; color: #000; }
  .section { padding: var(--space-xl) 0; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #666; }
}
