/* CSS Custom Properties */
:root {
  /* Brand colours */
  --brand-green: #007a00;
  --brand-black: #111111;
  --brand-white: #ffffff;

  /* Text */
  --text-dark: #111111;
  --text-muted: #555555;

  /* Surfaces & borders */
  --surface-alt: #f5f5f5;
  --border-light: #e5e7eb;

  /* Legacy HSL tokens kept for shadow/opacity calculations */
  --surface: 0 0% 100%;
  --shadow: 0 0% 7%;

  --success: 142 71% 45%;
  --warning: 38 100% 50%;
  --error: 0 84% 60%;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;

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

  /* Layout */
  --container-max-width: 1200px;
  --header-height: 80px;
  --contact-banner-height: 40px;
  --fixed-header-height: calc(var(--header-height) + var(--contact-banner-height));
  --border-radius: 8px;
  --border-radius-lg: 12px;

  /* Transitions */
  --transition-fast: 200ms ease-out;
  --transition-normal: 400ms ease-out;
  --transition-slow: 600ms ease-out;

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

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Smooth scroll animations */
.animate-ready {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--brand-white);
  overflow-x: hidden;
  max-width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
  margin-bottom: var(--space-4);
  color: var(--text-muted);
}

.lead {
  font-size: var(--font-size-lg);
  font-weight: 500;
  color: var(--text-dark);
}

/* Links */
a {
  color: var(--brand-green);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-green);
}

/* Utilities */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-sm);
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

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

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

.btn-secondary {
  background-color: var(--brand-white);
  color: var(--text-dark);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background-color: var(--surface-alt);
  color: var(--text-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--brand-green);
  border-color: var(--brand-green);
}

.btn-outline:hover {
  background-color: var(--brand-green);
  color: white;
}

.btn-large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-base);
}

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--brand-white);
  border-top: 1px solid var(--border-light);
  padding: var(--space-4);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.cookie-notice.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max-width);
  margin: 0 auto;
  gap: var(--space-4);
}

.cookie-content p {
  margin: 0;
  flex: 1;
}

.cookie-content .btn {
  margin-left: var(--space-2);
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content .btn {
    margin: var(--space-2) 0 0 0;
  }
}

/* Navigation */
.contact-review-banner {
  position: fixed;
  inset: 0 0 auto;
  height: var(--contact-banner-height);
  z-index: 102;
  background: var(--brand-black);
  color: var(--brand-white);
  font-size: var(--font-size-sm);
}

.contact-review-banner__inner {
  max-width: var(--container-max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
}

.contact-review-banner a { color: #fff; font-weight: 600; }
.contact-review-banner__label { color: rgba(255,255,255,.78); }
.contact-review-banner__button,
.contact-review-banner__feedback-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin-left: 0;
  padding: 5px 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.contact-review-banner__button:hover,
.contact-review-banner__feedback-button:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}

.contact-review-banner__button:active,
.contact-review-banner__feedback-button:active {
  background: rgba(255,255,255,.16);
}

.contact-review-banner a:focus-visible,
.contact-review-banner__button:focus-visible,
.contact-review-banner__feedback-button:focus-visible,
.review-dialog :focus-visible {
  outline: 3px solid #ffdc61;
  outline-offset: 3px;
}
.contact-review-banner-only { padding-top: var(--contact-banner-height) !important; }

.navbar {
  position: fixed;
  top: var(--contact-banner-height);
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-height);
  z-index: 100;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

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

.nav-logo a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.logo {
  height: 60px;
  width: auto;
  background-color: white;
  border-radius: 6px;
  padding: 6px;
}

.logo-text {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-dark);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-8);
}

.nav-link {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-dark);
  text-transform: none;
  letter-spacing: 0.3px;
  padding: var(--space-2) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-green);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-green);
  transition: width var(--transition-normal);
}

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

/* Mobile Navigation */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  background: none;
  border: none;
  padding: var(--space-2);
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  transition: all var(--transition-normal);
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 var(--space-4);
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--fixed-header-height);
    right: -100%;
    width: 100%;
    height: calc(100vh - var(--fixed-header-height));
    background-color: var(--brand-white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: var(--space-8) 0;
    transition: right var(--transition-normal);
    gap: var(--space-4);
  }

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

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

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

.review-dialog[hidden], .review-form[hidden], .review-success[hidden], .review-dialog__chooser[hidden] { display: none; }

.review-section-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: var(--space-2);
  padding: 11px 24px;
  border: 1px solid var(--brand-green);
  border-radius: 999px;
  background: var(--brand-green);
  color: #fff;
  font: inherit;
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(0, 122, 0, .18);
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.review-section-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.review-private-feedback-trigger {
  border: 0;
  background: transparent;
  color: var(--brand-green);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.review-private-feedback-trigger:focus-visible {
  outline: 3px solid rgba(0, 122, 0, .28);
  outline-offset: 3px;
}

.review-section-trigger:hover {
  background: #006900;
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(0, 122, 0, .24);
}

.review-section-trigger:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 122, 0, .18);
}

.review-section-trigger:focus-visible {
  outline: 3px solid rgba(0, 122, 0, .28);
  outline-offset: 3px;
}

.review-dialog {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}
.review-dialog__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.review-dialog__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow: hidden;
  background: #fff;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
}
.review-dialog__content {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 56px 36px 36px;
}
.review-dialog__close {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--text-dark);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.review-dialog__eyebrow { color: var(--brand-green); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; margin-bottom: 6px; }
.review-dialog__choices { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.review-form h3, .review-success h3 { padding-right: 36px; }
.review-form .form-group { margin-bottom: 16px; }
.review-form label, .review-rating legend { display: block; color: var(--text-dark); font-weight: 600; margin-bottom: 6px; }
.review-form input[type="text"], .review-form input[type="email"], .review-form input[type="tel"], .review-form textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #b5b5b5; border-radius: 6px; font: inherit;
}
.review-form input[type="text"], .review-form input[type="email"], .review-form input[type="tel"] { min-height: 44px; }
.review-form textarea { min-height: 104px; resize: vertical; }
.review-rating { border: 0; margin: 0 0 16px; padding: 0; }
.review-rating__options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.review-rating__options label { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 3px; padding: 8px 3px; border: 1px solid var(--border-light); border-radius: 6px; font-size: .72rem; text-align: center; cursor: pointer; }
.review-rating__options label:has(input:checked) { border-color: var(--brand-green); background: #effbef; }
.review-rating__options input { width: 18px; height: 18px; }
.review-rating__options [aria-hidden] { color: #8a6500; font-size: 1.25rem; }
.review-form__privacy { font-size: .82rem; line-height: 1.5; }
.review-form__status { margin: 0 0 12px; font-weight: 600; }
.review-form__status--error { color: #a40000; }
.review-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.optional { font-weight: 400; color: var(--text-muted); }
.review-dialog-open { overflow: hidden; }

@media (max-width: 560px) {
  :root { --contact-banner-height: 72px; }
  .contact-review-banner__inner { justify-content: center; align-content: center; flex-wrap: wrap; gap: 0 10px; padding: 4px 12px; }
  .contact-review-banner__label { display: none; }
  .contact-review-banner__button,
  .contact-review-banner__feedback-button { width: max-content; margin-top: 2px; }
  .contact-review-banner__divider { display: none; }
  .review-dialog {
    padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  }
  .review-dialog__panel {
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
  }
  .review-dialog__content { padding: 52px 16px 16px; }
  .review-dialog__close { top: 4px; right: 6px; }
  .review-dialog__choices { flex-direction: column; }
  .review-dialog__choices .btn { width: 100%; min-height: 44px; }
  .review-form h3 { margin-bottom: 12px; }
  .review-form .form-group { margin-bottom: 12px; }
  .review-form label, .review-rating legend { margin-bottom: 4px; }
  .review-form .review-rating { display: block; margin-bottom: 12px; }
  .review-rating__options { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .review-rating__options label { min-height: 62px; padding: 6px 2px; font-size: .68rem; line-height: 1.2; }
  .review-rating__options [aria-hidden] { font-size: 1.05rem; }
  .review-form textarea { min-height: 88px; }
  .review-form__privacy { margin-bottom: 12px; }
  .review-form .btn[type="submit"] { min-height: 44px; }
}

@media (max-width: 340px) {
  .review-rating__options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .review-rating__options label { min-height: 56px; }
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

section[id] { scroll-margin-top: var(--fixed-header-height); }

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/hero-background.jpg');
  background-image: image-set(
    url('assets/optimized/hero-background-960.webp') type('image/webp') 1x
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

@media (min-width: 769px) {
  .hero-background {
    background-image: url('assets/hero-background.jpg');
    background-image: image-set(
      url('assets/optimized/hero-background-1920.webp') type('image/webp') 1x
    );
  }
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.hero-subtitle {
  display: block;
  font-size: var(--font-size-2xl);
  font-weight: 400;
  letter-spacing: 2px;
  opacity: 0.9;
}

.hero-description {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-8);
  opacity: 0.9;
  color: white;
}


.scroll-indicator {
  display: block;
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  display: block;
  width: 30px;
  height: 30px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

#about {
  scroll-margin-top: var(--fixed-header-height);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 0 var(--space-4);
  }

  .hero-title {
    font-size: var(--font-size-4xl);
  }

  .hero-subtitle {
    font-size: var(--font-size-xl);
  }

  .hero-description {
    font-size: var(--font-size-base);
  }
}

/* Section Styles */
section {
  padding: var(--space-24) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-4);
}

.section-logo {
  display: flex;
  justify-content: center;
  margin-top: var(--space-6);
}

.section-logo-img {
  height: 50px;
  width: auto;
  opacity: 0.6;
}

/* About Section */
.about {
  background-color: var(--brand-white);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text {
  font-size: var(--font-size-base);
}

.quote {
  background-color: var(--surface-alt);
  border-left: 4px solid var(--brand-green);
  padding: var(--space-6);
  margin: var(--space-8) 0;
  font-style: italic;
  border-radius: var(--border-radius);
}

.quote cite {
  display: block;
  text-align: right;
  margin-top: var(--space-4);
  font-weight: 600;
  color: var(--brand-green);
}

.insurance-note {
  background-color: hsl(var(--success) / 0.1);
  border: 1px solid hsl(var(--success) / 0.2);
  padding: var(--space-4);
  border-radius: var(--border-radius);
  margin-top: var(--space-6);
}

/* Services Section */
.services {
  background-color: var(--surface-alt);
}

.services-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-8);
}

.service-card {
  background-color: var(--brand-white);
  padding: var(--space-8);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  text-align: center;
}

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

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green));
  border-radius: 50%;
  margin: 0 auto var(--space-6);
  color: white;
  font-size: var(--font-size-2xl);
}

.service-title {
  margin-bottom: var(--space-4);
  color: var(--text-dark);
}

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

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

/* Portfolio Section */
.portfolio {
  background-color: var(--brand-white);
  overflow: hidden;
}

/* Gallery wrapper holds arrows + scrolling track */
.portfolio-gallery-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* Scrolling track */
.portfolio-gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 0 var(--space-6) var(--space-4);
  cursor: grab;
  /* hide scrollbar visually, keep it functional */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.portfolio-gallery-track::-webkit-scrollbar {
  display: none;
}

/* Individual gallery item */
.gallery-item {
  flex: 0 0 auto;
  width: calc(33.333% - 0.7rem);
  min-width: 260px;
  height: 420px;
  scroll-snap-align: start;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  outline-offset: 3px;
}

.gallery-item:focus-visible {
  outline: 2px solid var(--brand-green);
}

/* Zoom-on-hover wrapper */
.gallery-zoom-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-zoom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item .image-error {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  background: var(--bg-light);
  color: var(--text-muted);
  text-align: center;
}

.gallery-item .image-error p {
  margin: 0;
}

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

/* Arrow buttons */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--brand-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
  color: var(--text-dark);
}

.gallery-arrow:hover {
  background-color: var(--brand-green);
  color: var(--brand-white);
  border-color: var(--brand-green);
  box-shadow: var(--shadow-lg);
}

.gallery-arrow--prev {
  left: var(--space-2);
}

.gallery-arrow--next {
  right: var(--space-2);
}

@media (max-width: 768px) {
  .gallery-item {
    width: 75vw;
    height: 260px;
  }

  .gallery-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}

.project-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-details {
  padding: var(--space-6);
}

.project-title {
  margin-bottom: var(--space-4);
  color: var(--text-dark);
}

.project-description {
  margin-bottom: var(--space-6);
  color: var(--text-muted);
}

.project-social {
  display: flex;
  gap: var(--space-4);
}

.blog-promotion {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: var(--space-8);
}

.blog-item {
  background-color: var(--brand-white);
  padding: var(--space-6);
  border-radius: var(--border-radius-lg);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-md);
}

.blog-title {
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--text-dark);
}

.blog-description {
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Reviews Section */
.reviews {
  background-color: var(--brand-white);
}

.reviews-content {
  max-width: 800px;
  margin: 0 auto;
}

.google-rating {
  text-align: center;
  margin-bottom: var(--space-12);
}

.rating-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.rating-title {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  margin: 0;
  color: var(--text-dark);
}

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

.score {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--brand-green);
}

.stars {
  display: flex;
  gap: var(--space-1);
}

.stars i {
  color: var(--brand-green);
  font-size: var(--font-size-lg);
}

.review-count {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

.review-item {
  background-color: var(--surface-alt);
  padding: var(--space-6);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.reviewer-info {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.reviewer-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--brand-green);
  border-radius: 50%;
  color: white;
  font-size: var(--font-size-lg);
}

.reviewer-details {
  flex: 1;
}

.reviewer-name {
  font-weight: 600;
  margin-bottom: var(--space-1);
  color: var(--text-dark);
}

.reviewer-title {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

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

.review-time {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.review-response {
  border-top: 1px solid var(--border-light);
  padding-top: var(--space-4);
}

.response-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--brand-green);
}

.response-text {
  margin-bottom: var(--space-2);
  color: var(--text-muted);
}

.response-time {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

/* Contact Section */
.contact {
  background-color: var(--surface-alt);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  margin-bottom: var(--space-16);
}

.contact-intro {
  margin-bottom: var(--space-8);
  font-size: var(--font-size-lg);
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--brand-green);
  border-radius: 50%;
  color: white;
  font-size: var(--font-size-lg);
  flex-shrink: 0;
}

.contact-text h4 {
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text-dark);
}

.contact-text p {
  margin: 0;
  color: var(--text-muted);
}

.contact-text a {
  color: var(--brand-green);
  text-decoration: none;
}

.contact-text a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form-container {
  background-color: var(--brand-white);
  padding: var(--space-8);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

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

.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-weight: 500;
  color: var(--text-dark);
  font-size: var(--font-size-sm);
}

.form-group input,
.form-group textarea {
  padding: var(--space-3);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: var(--font-size-base);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(0, 150, 0, 0.1);
}

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

.form-note,
.form-submit-note {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.form-submit-note {
  font-style: italic;
}

/* Map Container */
.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-container {
    padding: var(--space-6);
  }
}

@media (max-width: 480px) {
  .contact-form-container {
    padding: var(--space-4);
  }

  .contact-intro {
    font-size: var(--font-size-base);
  }
}

/* Footer */
.footer {
  background-color: var(--brand-black);
  color: white;
  padding: var(--space-16) 0 var(--space-8);
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  margin-bottom: var(--space-4);
  filter: brightness(0) invert(1);
}

.footer-title {
  display: block;
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin: 0;
}

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

.footer-address,
.footer-contact,
.footer-copyright {
  margin-bottom: var(--space-2);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
}

.footer-copyright {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-credit {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: var(--space-1);
}

.footer-credit-link {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.footer-credit-link:hover { color: #ffffff; }

.footer-links {
  display: flex;
  justify-content: center;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: white;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-6);
  }
}

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

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

/* Loading States */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

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

/* Error States */
.error-message {
  background-color: hsl(var(--error) / 0.1);
  border: 1px solid hsl(var(--error) / 0.2);
  color: #8a0018;
  padding: var(--space-4);
  border-radius: var(--border-radius);
  text-align: center;
  margin: var(--space-4) 0;
}

.empty-state {
  text-align: center;
  padding: var(--space-12);
  color: var(--text-muted);
}

.empty-state i {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-4);
  opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 480px) {
  :root {
    --font-size-4xl: 1.875rem;
    --font-size-3xl: 1.5rem;
    --font-size-2xl: 1.25rem;
  }

  .container {
    padding: 0 var(--space-3);
  }

  section {
    padding: var(--space-16) 0;
  }

  .section-header {
    margin-bottom: var(--space-12);
  }

  .services-content {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

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

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

/* Trust Badges */
.trust-badges {
  margin-top: var(--space-16);
  text-align: center;
}

.trust-badges-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.trust-badges-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  border-radius: var(--border-radius-lg);
  border: 2px solid transparent;
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.trust-badge--fmb {
  background: transparent;
  border-color: transparent;
}

.trust-badge--fmb:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.trust-badge--guild {
  background: white;
  border-color: var(--border-light);
}

.trust-badge--guild:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.trust-badge__img {
  display: block;
  height: 100px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .trust-badges-row {
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
  }

  .trust-badge__img {
    height: 80px;
  }
}

/* Edison Quote Section */
.edison-quote {
  background: var(--brand-green);
  padding: var(--space-20) 0;
  text-align: center;
}

.edison-quote__text {
  max-width: 800px;
  margin: 0 auto;
  border: none;
  padding: 0;
  background: none;
}

.edison-quote__text p {
  font-size: var(--font-size-2xl);
  font-style: italic;
  font-weight: 300;
  color: white;
  line-height: 1.5;
  margin-bottom: var(--space-6);
}

.edison-quote__cite {
  display: block;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--brand-white);
  letter-spacing: 1px;
  font-style: normal;
}

@media (max-width: 768px) {
  .edison-quote__text p {
    font-size: var(--font-size-xl);
  }
}

/* Print Styles */
@media print {
  .navbar,
  .cookie-notice,
  .scroll-indicator,
  .hamburger {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .hero {
    height: auto;
    padding: 2rem 0;
  }

  .hero-background {
    display: none;
  }

  .hero-content {
    color: black;
  }

  section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }

  .contact-form-container,
  .map-container {
    display: none;
  }
}

/* Accessibility */
@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;
  }
}

/* Skip to Content */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 200;
  padding: var(--space-3) var(--space-6);
  background-color: var(--brand-green);
  color: var(--brand-white);
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
}

.skip-to-content:focus {
  top: var(--space-4);
  color: var(--brand-white);
}

/* Focus Styles */
*:focus {
  outline: 3px solid var(--brand-black);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--brand-white);
}

.btn:focus {
  outline-offset: 4px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --text-dark: #000000;
    --text-muted: #333333;
    --border-light: #808080;
  }
}

/* Image Modal (portfolio) */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: hsl(var(--shadow) / 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.image-modal .modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 90vw;
  max-height: min(90vh, 90%);
  background: var(--brand-white);
  border-radius: var(--border-radius);
  overflow: visible;
}

.image-modal .modal-close {
  position: fixed;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 36px;
  color: var(--brand-white);
  cursor: pointer;
  z-index: 1002;
  line-height: 1;
}

.image-modal .modal-content img {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: 100%;
  max-height: calc(min(90vh, 90%) - 54px);
  object-fit: contain;
  display: block;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.image-modal .modal-caption {
  flex: 0 0 auto;
  padding: 12px 15px;
  text-align: center;
  background: var(--brand-white);
  margin: 0;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}


/* Gallery - single image */
.gallery-single {
  width: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin: 20px 0;
}

.gallery-single img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 500px;
  object-fit: cover;
}

/* Gallery - multi-image */
.post-gallery {
  margin: 20px 0;
  user-select: none;
}

.gallery-main-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--surface-alt);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 10px;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: hsl(var(--shadow) / 0.55);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
  z-index: 2;
}

.gallery-nav:hover {
  background: hsl(var(--shadow) / 0.85);
}

.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

.gallery-counter {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: hsl(var(--shadow) / 0.6);
  color: white;
  font-size: var(--font-size-xs);
  padding: 3px 8px;
  border-radius: 12px;
  pointer-events: none;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-light) transparent;
}

.gallery-thumbs::-webkit-scrollbar {
  height: 4px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}

.gallery-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: var(--surface-alt);
  transition: border-color var(--transition-fast), opacity var(--transition-fast);
  opacity: 0.65;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--brand-green);
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 600px) {
  .gallery-thumb {
    width: 56px;
    height: 42px;
  }
}

/* Blog Styles */
.blog-header {
  background: var(--brand-white);
  color: var(--text-dark);
  padding: var(--space-24) 0 var(--space-16);
  margin-top: var(--fixed-header-height);
  border-bottom: 1px solid var(--border-light);
}

.blog-header-content {
  text-align: center;
}

.blog-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.blog-subtitle {
  font-size: var(--font-size-lg);
  opacity: 0.9;
  margin: 0;
}

.blog-content {
  padding: var(--space-16) 0;
  background-color: var(--brand-white);
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-12);
}

.blog-main {
  min-height: 400px;
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.blog-post {
  background-color: var(--brand-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

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

.post-image {
  height: 250px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-post:hover .post-image img {
  transform: scale(1.05);
}

.post-content {
  padding: var(--space-8);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  font-size: var(--font-size-sm);
  color: #888888;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.post-title {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-4);
  line-height: 1.3;
}

.post-excerpt {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.post-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.blog-sidebar {
  background-color: var(--brand-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-8);
  height: fit-content;
  position: sticky;
  top: calc(var(--fixed-header-height) + 20px);
}

.sidebar-section {
  margin-bottom: var(--space-8);
}

.sidebar-section:last-child {
  margin-bottom: 0;
}

.sidebar-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--brand-green);
}

.sidebar-content {
  color: var(--text-muted);
  line-height: 1.6;
}

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

.category-list li {
  margin-bottom: var(--space-2);
}

.category-link {
  display: block;
  width: 100%;
  padding: var(--space-2) var(--space-3);
  color: var(--text-muted);
  text-decoration: none;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}

.category-link:hover,
.category-link.active {
  background-color: rgba(0, 150, 0, 0.1);
  color: var(--brand-green);
}

.recent-posts {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.recent-post {
  display: flex;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-light);
}

.recent-post:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-post-image {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius);
  overflow: hidden;
  flex-shrink: 0;
}

.recent-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-content {
  flex: 1;
}

.recent-post-title {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: var(--space-1);
  line-height: 1.3;
}

.recent-post-date {
  font-size: var(--font-size-xs);
  color: #888888;
  margin: 0;
}

.sidebar-content .contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.sidebar-content .contact-info p {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  margin: 0;
}

.sidebar-content .contact-info i {
  color: var(--brand-green);
  width: 16px;
}

.error-message {
  text-align: center;
  padding: var(--space-16);
  color: var(--text-muted);
}

.error-message i {
  font-size: var(--font-size-4xl);
  color: #8a0018;
  margin-bottom: var(--space-4);
}

.error-message h3 {
  margin-bottom: var(--space-4);
  color: var(--text-dark);
}

.image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 250px;
  background-color: var(--surface-alt);
  color: #888888;
}

.image-placeholder i {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-2);
}

@media (max-width: 768px) {
  .blog-layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .blog-sidebar {
    order: -1;
    position: relative;
    top: 0;
  }
  
  .post-meta {
    flex-direction: column;
    gap: var(--space-2);
  }
  
  .blog-title {
    font-size: var(--font-size-3xl);
  }
  
  .post-title {
    font-size: var(--font-size-xl);
  }
}

/* =====================================================
   NEW STANDALONE PAGES: About, Contact, FAQ
   ===================================================== */

/* Skip link */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: var(--space-4);
  z-index: 9999;
  background: var(--brand-green);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--border-radius);
}
.skip-to-content:focus {
  left: var(--space-4);
}

/* Page Hero (shared by About, Contact, FAQ) */
.page-hero {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  margin-top: var(--fixed-header-height);
}

.page-hero__background {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-background.jpg');
  background-image: image-set(
    url('assets/optimized/hero-background-960.webp') type('image/webp') 1x
  );
  background-size: cover;
  background-position: center;
  z-index: -1;
}

@media (min-width: 769px) {
  .page-hero__background {
    background-image: url('assets/hero-background.jpg');
    background-image: image-set(
      url('assets/optimized/hero-background-1920.webp') type('image/webp') 1x
    );
  }
}

.page-hero__background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 30, 0.6);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--space-6);
}

.page-hero__title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: white;
}

.page-hero__subtitle {
  font-size: var(--font-size-xl);
  opacity: 0.9;
  margin: 0;
  color: white;
}

@media (max-width: 768px) {
  .page-hero {
    height: 240px;
  }
  .page-hero__title {
    font-size: var(--font-size-3xl);
  }
  .page-hero__subtitle {
    font-size: var(--font-size-base);
  }
}

/* ---- About Page ---- */

.about-page-section {
  padding: var(--space-24) 0;
}

.about-page-section--white {
  background-color: var(--brand-white);
}

.about-page-section--grey {
  background-color: var(--surface-alt);
}

.about-page-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-16);
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.about-page-intro__text h2 {
  color: var(--text-dark);
  margin-bottom: var(--space-6);
}

.about-page-logo-img {
  width: 160px;
  height: auto;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .about-page-intro {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .about-page-intro__logo {
    display: none;
  }
}

.about-page-person {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-10);
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.about-page-person__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green));
  border-radius: 50%;
  color: white;
  font-size: var(--font-size-3xl);
  flex-shrink: 0;
}

.about-page-person__content h2 {
  color: var(--text-dark);
  margin-bottom: var(--space-6);
}

@media (max-width: 768px) {
  .about-page-person {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .about-page-person__icon {
    width: 70px;
    height: 70px;
    font-size: var(--font-size-2xl);
  }
}

/* Credentials Grid */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-4);
}

.credential-card {
  background-color: var(--surface-alt);
  padding: var(--space-8);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--brand-green);
}

.credential-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--brand-green);
  border-radius: 50%;
  margin-bottom: var(--space-4);
}

.credential-card__abbr {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
}

.credential-card__medal-icon,
.credential-card__shield-icon,
.credential-card__cert-icon {
  color: white;
  font-size: var(--font-size-xl);
}

.credential-card h3 {
  color: var(--text-dark);
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-4);
}

.credential-card p {
  margin-bottom: var(--space-4);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
}

/* Approach Grid */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
}

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

.approach-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green));
  border-radius: 50%;
  margin: 0 auto var(--space-4);
  color: white;
  font-size: var(--font-size-2xl);
}

.approach-item h3 {
  color: var(--text-dark);
  margin-bottom: var(--space-3);
}

/* About CTA */
.about-cta {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.about-cta h2 {
  color: var(--text-dark);
  margin-bottom: var(--space-4);
}

.about-cta__buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

/* ---- Contact Page (standalone variant) ---- */

.contact--standalone {
  background-color: var(--surface-alt);
  padding-top: var(--space-16);
}

.contact-form-title {
  font-size: var(--font-size-2xl);
  color: var(--text-dark);
  margin-bottom: var(--space-6);
}

/* ---- FAQ Page ---- */

.faq-section {
  padding: var(--space-16) 0 var(--space-24);
  background-color: var(--brand-white);
}

.faq-intro {
  max-width: 760px;
  margin: 0 auto var(--space-12);
  font-size: var(--font-size-lg);
  color: var(--text-muted);
}

.faq-group {
  max-width: 760px;
  margin: 0 auto var(--space-12);
}

.faq-group__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--brand-green);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid rgba(0, 150, 0, 0.25);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.faq-group__icon {
  font-size: var(--font-size-lg);
  opacity: 0.8;
}

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

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  background: none;
  border: none;
  padding: var(--space-5) 0;
  cursor: pointer;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  font-family: var(--font-family);
  transition: color var(--transition-fast);
}

.faq-item__question:hover {
  color: var(--brand-green);
}

.faq-item__question[aria-expanded="true"] {
  color: var(--brand-green);
}

.faq-item__chevron {
  flex-shrink: 0;
  font-size: var(--font-size-sm);
  color: var(--brand-green);
  transition: transform var(--transition-normal);
}

.faq-item__question[aria-expanded="true"] .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-item__answer p {
  padding-bottom: var(--space-5);
  margin: 0;
}

/* FAQ CTA */
.faq-cta {
  max-width: 760px;
  margin: var(--space-12) auto 0;
  text-align: center;
  background-color: var(--surface-alt);
  padding: var(--space-12);
  border-radius: var(--border-radius-lg);
}

.faq-cta h2 {
  color: var(--text-dark);
  margin-bottom: var(--space-4);
}

.faq-cta__buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

.faq-cta__buttons .btn i {
  margin-right: var(--space-2);
}

@media (max-width: 768px) {
  .faq-cta {
    padding: var(--space-8);
  }
  .about-cta__buttons,
  .faq-cta__buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ================================================
   Recent Projects Carousel
   ================================================ */

.recent-projects-section {
  background-color: var(--brand-white);
  padding: var(--space-20) 0;
}

.recent-projects-section .section-title {
  color: var(--text-dark);
  text-align: center;
  margin-bottom: var(--space-10);
}

.project-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.carousel-track {
  display: flex;
  transition: transform var(--transition-normal);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  height: 380px;
  display: flex;
  align-items: stretch;
  background-color: var(--brand-white);
}

.carousel-slide__img {
  width: 45%;
  height: 100%;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-slide__img--placeholder,
.carousel-slide__img-placeholder .carousel-slide__img {
  background-color: var(--brand-green);
  opacity: 0.15;
}

.carousel-slide__body {
  width: 55%;
  padding: var(--space-10) var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
}

.carousel-slide__title {
  font-size: var(--font-size-2xl);
  color: var(--text-dark);
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.carousel-slide__excerpt {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.carousel-slide__link {
  align-self: flex-start;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  color: var(--text-dark);
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  z-index: 2;
  line-height: 1;
}

.carousel-btn:hover {
  background-color: var(--brand-green);
  color: var(--brand-white);
  border-color: var(--brand-green);
}

.carousel-btn--prev {
  left: var(--space-4);
}

.carousel-btn--next {
  right: var(--space-4);
}

.carousel-dots {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-2);
  z-index: 2;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background-color var(--transition-fast);
  padding: 0;
}

.carousel-dot--active {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
}

@media (max-width: 768px) {
  .carousel-slide {
    flex-direction: column;
    height: 420px;
  }

  .carousel-slide__img {
    width: 100%;
    height: 220px;
    flex-shrink: 0;
  }

  .carousel-slide__body {
    width: 100%;
    padding: var(--space-6);
    overflow: hidden;
  }

  .carousel-slide__title {
    font-size: var(--font-size-xl);
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: var(--font-size-base);
  }

  .carousel-btn--prev {
    left: var(--space-2);
  }

  .carousel-btn--next {
    right: var(--space-2);
  }
}
