html {
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  padding-bottom: 76px; /* keeps content clear of the fixed sticky bar */
}

h1, h2, h3, p {
  margin: 0 0 0.5em;
}

a {
  color: inherit;
}

.cta-button,
.cta-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  border: 1px solid transparent;
}

.cta-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.logo-slot {
  height: 32px;
  display: flex;
  align-items: center;
}

.logo-slot svg {
  height: 100%;
  width: auto;
  color: var(--color-accent);
}

.main-nav {
  display: flex;
  gap: 20px;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
}

.header-phone {
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.switcher-toggle,
.nav-toggle {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
}

.nav-toggle {
  display: none;
}

.hero {
  text-align: center;
  padding: 64px 24px;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.hero-subhead {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.hero .cta-secondary {
  margin-left: 12px;
}

.switcher-panel {
  position: fixed;
  top: 64px;
  right: 24px;
  z-index: 20;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px;
  width: 220px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.switcher-panel[hidden] {
  display: none;
}

.switcher-group {
  margin-bottom: 12px;
}

.switcher-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.swatches {
  display: flex;
  gap: 10px;
}

.swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
}

.swatch.is-active {
  border-color: var(--color-text);
}

.logo-options {
  display: flex;
  gap: 8px;
}

.logo-option {
  border: 2px solid var(--color-border);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  background: var(--color-bg);
  color: var(--color-text);
  cursor: pointer;
}

.logo-option.is-active {
  border-color: var(--color-text);
}

.services {
  padding: 48px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.services-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.services-list li {
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
}

.services-list li::before {
  content: "\2713";
  color: var(--color-accent);
  font-weight: 700;
  margin-right: 8px;
}

.gallery {
  padding: 48px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.gallery-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-surface);
}

.gallery-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.gallery-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--color-border);
  color: var(--color-text-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-caption {
  padding: 12px 16px;
  font-weight: 600;
}

.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}

.sticky-cta {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 20px;
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  font-weight: 600;
  text-decoration: none;
}

.contact {
  padding: 48px 24px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-phone {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 12px;
}

.contact-address {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.contact-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 8px;
}

.site-footer {
  text-align: center;
  padding: 24px;
  color: var(--color-text-muted);
  font-size: 13px;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 639px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 24px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .site-header {
    position: relative;
  }

  .nav-toggle {
    display: inline-block;
  }

  .header-phone {
    display: none;
  }

  .switcher-panel {
    top: auto;
    bottom: 76px;
    left: 0;
    right: 0;
    width: auto;
    border-radius: 16px 16px 0 0;
  }

  .gallery-images {
    grid-template-columns: 1fr;
  }

  .hero .cta-secondary {
    display: block;
    margin: 12px 0 0;
  }
}
