/* ===== CSS Custom Properties ===== */

/* Theme: Dark + Teal (from logo) */
:root, [data-theme="dark-teal"] {
  --bg: #0c0c0c;
  --bg-alt: #141418;
  --surface: #1a1a20;
  --border: #2a2a32;
  --accent: #4ecdc4;
  --accent-glow: rgba(78, 205, 196, 0.15);
  --accent-hover: #3dbdb5;
  --text: #ededed;
  --text-secondary: #999;
  --text-muted: #666;
  --success: #2d6a4f;
  --radius: 12px;
  --radius-sm: 8px;
  --header-height: 70px;
  --container: 1100px;
  --hero-gradient: linear-gradient(135deg, #0c1a18 0%, #0c0c0c 40%, #0c0c14 100%);
  --star-color: #4ecdc4;
  --badge-bg: rgba(45, 106, 79, 0.15);
  --badge-border: rgba(45, 106, 79, 0.3);
  --badge-text: #6bcf9a;
}

/* Theme: Dark + Gold (from business card) */
[data-theme="dark-gold"] {
  --bg: #0c0c0c;
  --bg-alt: #12120e;
  --surface: #1a1a14;
  --border: #2e2c22;
  --accent: #c9a82c;
  --accent-glow: rgba(201, 168, 44, 0.15);
  --accent-hover: #dabb3a;
  --text: #ededed;
  --text-secondary: #999;
  --text-muted: #666;
  --success: #8a7a2a;
  --hero-gradient: linear-gradient(135deg, #1a1608 0%, #0c0c0c 40%, #0c0a06 100%);
  --star-color: #c9a82c;
  --badge-bg: rgba(140, 120, 30, 0.15);
  --badge-border: rgba(140, 120, 30, 0.3);
  --badge-text: #d4c060;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

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

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

/* ===== Utilities ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #0c0c0c;
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #0c0c0c;
  transform: translateY(-1px);
  box-shadow: 0 0 30px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent-glow);
  color: var(--accent);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 17px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(12, 12, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(12, 12, 12, 0.95);
  border-bottom-color: var(--border);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-logo {
  flex-shrink: 0;
}

.logo-img {
  height: 48px;
  width: auto;
  border-radius: 6px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.header-nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

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

.header-cta {
  padding: 8px 18px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
  border-radius: 2px;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--header-height) 24px 60px;
  background: url('../images/hero-bg.png') center center / cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, 0.78);
  background-image: var(--hero-gradient);
  opacity: 0.85;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, var(--accent-glow) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 48px;
}

/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.25s ease;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-2px);
}

.service-icon {
  margin-bottom: 16px;
  width: 64px;
  height: 64px;
  transition: all 0.4s ease;
}

.service-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  /* Teal theme: white → #4ecdc4 */
  filter: invert(70%) sepia(50%) saturate(600%) hue-rotate(130deg) brightness(95%) contrast(85%);
  transition: all 0.4s ease;
}

[data-theme="dark-gold"] .service-icon img {
  /* Gold theme: white → #c9a82c */
  filter: invert(65%) sepia(80%) saturate(600%) hue-rotate(10deg) brightness(95%) contrast(90%);
}

/* ===== Full-art icon mode ===== */
[data-icon-mode="full"] .service-card {
  position: relative;
  overflow: hidden;
  padding: 36px 28px;
  min-height: 200px;
}

[data-icon-mode="full"] .service-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

[data-icon-mode="full"] .service-icon img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  opacity: 0.15;
  /* Color tint + thicken lines via stacked drop-shadows */
  filter:
    invert(70%) sepia(50%) saturate(600%) hue-rotate(130deg) brightness(95%) contrast(85%)
    drop-shadow(0 0 0.5px rgba(255,255,255,0.8))
    drop-shadow(0 0 0.5px rgba(255,255,255,0.6));
}

[data-theme="dark-gold"][data-icon-mode="full"] .service-icon img {
  filter:
    invert(65%) sepia(80%) saturate(600%) hue-rotate(10deg) brightness(95%) contrast(90%)
    drop-shadow(0 0 0.5px rgba(255,255,255,0.8))
    drop-shadow(0 0 0.5px rgba(255,255,255,0.6));
}

[data-icon-mode="full"] .service-card h3,
[data-icon-mode="full"] .service-card p {
  position: relative;
  z-index: 1;
}

[data-icon-mode="full"] .service-card h3 {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

[data-icon-mode="full"] .service-card p {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.5;
}

/* ===== Process Steps ===== */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.process-step {
  text-align: center;
  flex: 1;
  max-width: 280px;
  padding: 0 20px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #0c0c0c;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 24px var(--accent-glow);
}

.process-step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--text-secondary);
  font-size: 15px;
}

.process-connector {
  width: 60px;
  height: 2px;
  background: var(--border);
  margin-top: 28px;
  flex-shrink: 0;
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

/* Project card (Instagram-style) */
.gallery-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s ease;
}

.gallery-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}

.gallery-carousel {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}

.gallery-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-carousel img.active {
  opacity: 1;
}

/* Carousel arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 2;
}

.gallery-carousel:hover .carousel-arrow {
  opacity: 1;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

/* Carousel dots */
.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}

.carousel-dot.active {
  background: white;
  transform: scale(1.2);
}

/* Photo count badge */
.carousel-count {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 10px;
  z-index: 2;
}

/* Project info below carousel */
.gallery-card-info {
  padding: 16px 18px;
}

.gallery-card-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.gallery-card-info .gallery-location {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 6px;
}

.gallery-card-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Placeholder for projects with no photos yet */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 15px;
}

.gallery-placeholder small {
  font-size: 13px;
  color: var(--text-muted);
}

.gallery-carousel .gallery-placeholder {
  position: relative;
  border: none;
  border-radius: 0;
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox.open {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 36px;
  cursor: pointer;
  z-index: 1001;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-content {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 90vw;
  max-height: 80vh;
}

.lightbox-image-wrap {
  position: relative;
  max-width: 80vw;
  max-height: 75vh;
}

.lightbox-img {
  max-width: 80vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-caption {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 12px;
}

.lightbox-arrow {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  opacity: 0.7;
  transition: all 0.2s;
  flex-shrink: 0;
}

.lightbox-arrow:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
}

.lightbox-dots {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.lightbox-dots .carousel-dot {
  width: 8px;
  height: 8px;
}

.lightbox-counter {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 8px;
}

/* ===== About ===== */
.about-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

.about-photo {
  aspect-ratio: 3/4;
}

.about-placeholder {
  height: 100%;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.about-lead {
  font-size: 19px !important;
  color: var(--text) !important;
  font-weight: 500;
}

.credentials {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.credential-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  border-radius: var(--radius-sm);
  color: var(--badge-text);
  font-size: 14px;
  font-weight: 500;
}

.credential-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: invert(70%) sepia(50%) saturate(600%) hue-rotate(130deg) brightness(95%) contrast(85%);
  transition: filter 0.3s ease;
}

[data-theme="dark-gold"] .credential-icon {
  filter: invert(65%) sepia(80%) saturate(600%) hue-rotate(10deg) brightness(95%) contrast(90%);
}

/* ===== Service Area ===== */
.area-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}

.area-map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.area-map {
  height: 400px;
  width: 100%;
  background: #111;
}

/* Dark map tiles */
.leaflet-tile-pane {
  filter: brightness(0.7) contrast(1.1) saturate(0.3);
}

.leaflet-container {
  background: #111;
  font-family: inherit;
}

.leaflet-popup-content-wrapper {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.leaflet-popup-tip {
  background: var(--surface);
}

.leaflet-popup-content {
  margin: 10px 14px;
  font-size: 14px;
  font-weight: 500;
}

.area-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.area-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.area-tag {
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}

.area-tag:hover,
.area-tag.active {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--accent);
}

.area-tag.primary {
  border-color: var(--accent);
  color: var(--accent);
}

.area-note {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* ===== Reviews ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.review-stars {
  color: var(--star-color);
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-text {
  color: var(--text-secondary);
  font-size: 16px;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 12px;
}

.review-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.review-card-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  border-style: dashed;
}

.review-card-cta p {
  color: var(--text-secondary);
}

/* ===== Contact Form ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
  transition: all 0.2s;
  white-space: nowrap;
  overflow: hidden;
}

.checkbox-label:hover {
  border-color: var(--accent);
  color: var(--text);
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
  position: relative;
  top: 0;
  flex-shrink: 0;
  order: -1;
}

.checkbox-label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--text);
}

.other-input {
  margin-top: 8px;
}

.contact-info {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-info h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.contact-method:last-child {
  border-bottom: none;
}

.contact-method svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.contact-method div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-method strong {
  color: var(--text);
  font-size: 14px;
}

.contact-method a,
.contact-method span {
  font-size: 14px;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 60px 24px;
  color: var(--accent);
}

.form-success h3 {
  font-size: 24px;
  color: var(--text);
}

.form-success p {
  color: var(--text-secondary);
  max-width: 400px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
}

.footer-brand {
  text-align: center;
  margin-bottom: 40px;
}

.footer-logo {
  height: 240px;
  width: auto;
  border-radius: 10px;
  margin: 0 auto 16px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 400px;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-bottom: 36px;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-links a,
.footer-contact a {
  color: var(--text-secondary);
  font-size: 14px;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

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

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

.version-tag {
  font-size: 10px;
  color: var(--border);
  font-family: monospace;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .header-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    flex: none;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    padding: 16px 24px;
    gap: 0;
    z-index: 200;
  }

  .header-nav.open {
    display: flex;
  }

  /* Elevate entire header above Leaflet map when menu is open */
  .site-header:has(.header-nav.open) {
    z-index: 10000;
  }

  .header-nav a {
    font-size: 17px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    text-align: center;
  }

  .header-nav a:last-child {
    border-bottom: none;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .section {
    padding: 56px 0;
  }

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

  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .process-connector {
    width: 2px;
    height: 32px;
    margin: 0;
  }

  .area-layout {
    grid-template-columns: 1fr;
  }

  .area-map {
    height: 300px;
  }

  .area-grid {
    justify-content: center;
  }

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

  .about-photo {
    max-width: 240px;
    margin: 0 auto;
  }

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

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

  .checkbox-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .checkbox-label {
    font-size: 12px;
    padding: 8px 10px;
    gap: 6px;
  }

  .checkbox-label input[type="checkbox"] {
    width: 14px;
    height: 14px;
    min-width: 14px;
  }

  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .footer-links,
  .footer-contact {
    align-items: center;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

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

  .theme-toggle {
    top: calc(var(--header-height) + 8px);
    right: 12px;
    padding: 5px 10px;
    font-size: 11px;
  }
}

/* ===== Theme Toggle ===== */
.theme-toggle {
  position: fixed;
  top: calc(var(--header-height) + 12px);
  right: 16px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--text);
}

.theme-toggle .swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  transition: all 0.3s;
}

[data-theme="dark-teal"] .theme-toggle .swatch,
:root .theme-toggle .swatch {
  background: #c9a82c;
}

[data-theme="dark-gold"] .theme-toggle .swatch {
  background: #4ecdc4;
}

/* ===== Icon Mode Toggle ===== */
.icon-mode-toggle {
  position: fixed;
  top: calc(var(--header-height) + 44px);
  right: 16px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.icon-mode-toggle:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* Show/hide correct icon based on mode */
.icon-mode-toggle .icon-mode-full { display: inline; }
.icon-mode-toggle .icon-mode-small { display: none; }

[data-icon-mode="full"] ~ .icon-mode-toggle .icon-mode-full { display: none; }
[data-icon-mode="full"] ~ .icon-mode-toggle .icon-mode-small { display: inline; }

@media (max-width: 768px) {
  .icon-mode-toggle {
    top: calc(var(--header-height) + 40px);
    right: 12px;
    padding: 5px 10px;
    font-size: 11px;
  }
}
