:root {
  --color-bg: #f8f6f3;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #5c5c5c;
  --color-primary: #3d2914;
  --color-primary-dark: #2a1c0e;
  --color-accent: #c17f3a;
  --color-accent-hover: #a86a2f;
  --color-border: #e5dfd6;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow: 0 4px 24px rgba(61, 41, 20, 0.08);
  --radius: 12px;
  --header-h: 72px;
  --max-width: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-accent-hover);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
}

.logo__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
  object-fit: cover;
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__tagline {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-muted);
}

.logo span.logo__tagline {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-muted);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--color-accent);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
}

.hero-lead {
  font-size: 1.15rem;
  opacity: 0.92;
  max-width: 42rem;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero .btn-outline {
  border-color: #fff;
  color: #fff;
}

.hero .btn-outline:hover {
  background: #fff;
  color: var(--color-primary);
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-primary);
}

.section-lead {
  color: var(--color-muted);
  margin: 0 0 2rem;
  max-width: 40rem;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(61, 41, 20, 0.12);
}

.card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.card-body {
  padding: 1.25rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card h3 a {
  color: var(--color-primary);
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--color-accent);
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature {
  background: var(--color-surface);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--color-primary);
}

.feature p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* Page header */
.page-header {
  padding: 2.5rem 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--color-primary);
}

.breadcrumbs {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin: 0 0 0.75rem;
}

.breadcrumbs a {
  color: var(--color-muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 0.35rem;
  color: var(--color-border);
}

/* Content */
.content {
  max-width: 48rem;
}

.content h2 {
  margin: 2rem 0 1rem;
  font-size: 1.35rem;
  color: var(--color-primary);
}

.content h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.1rem;
}

.content p,
.content ul {
  margin: 0 0 1rem;
}

.content ul {
  padding-left: 1.25rem;
}

.content-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .content-layout--aside {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }
}

.aside-cta {
  background: var(--color-primary);
  color: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.aside-cta h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.aside-cta p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.aside-cta .btn-primary {
  width: 100%;
}

/* Steps */
.steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  font-size: 0.95rem;
}

/* FAQ */
.faq {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
}

.faq-item + .faq-item {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--color-accent);
}

.faq-item.is-open .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.25rem 1rem;
  display: none;
  color: var(--color-muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  background: none;
  text-align: left;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  font-size: 0.85rem;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.875rem;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.gallery-item.is-hidden {
  display: none;
}

/* Service images inline */
.service-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

/* Form */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font: inherit;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.form-success {
  display: none;
  padding: 1rem;
  background: #e8f5e9;
  border-radius: 8px;
  color: #2e7d32;
}

.form-success.is-visible {
  display: block;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin-bottom: 1rem;
}

.contact-list strong {
  display: block;
  color: var(--color-primary);
}

.messenger-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Map */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 320px;
}

.map-wrap iframe,
#service-area-map {
  width: 100%;
  height: 360px;
  border: 0;
}

#service-area-map {
  background: var(--color-border);
  z-index: 0;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.map-legend__swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-right: 0.4rem;
  vertical-align: -2px;
  border: 2px solid var(--color-primary);
}

.map-legend__swatch--city {
  background: rgba(193, 127, 58, 0.35);
  border-color: var(--color-accent);
}

.map-legend__swatch--region {
  background: rgba(61, 41, 20, 0.12);
  border-style: dashed;
}

.map-marker-pin span {
  display: block;
  width: 14px;
  height: 14px;
  margin: 1px;
  background: var(--color-accent);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover {
  color: var(--color-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: #fff;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 0.4rem;
}

.footer-grid a {
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  text-align: center;
}

/* CTA band */
.cta-band {
  background: var(--color-accent);
  color: #fff;
  padding: 2.5rem 0;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.cta-band p {
  margin: 0 0 1.25rem;
  opacity: 0.95;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--color-primary);
}

.cta-band .btn-primary:hover {
  background: var(--color-bg);
}

/* Sticky call */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 90;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .sticky-call {
    display: inline-flex;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
    display: none;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .header-phone .btn {
    display: none;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-height: 90vh;
  max-width: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.related-services {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.related-services h2 {
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--color-primary);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.related-links a {
  padding: 0.5rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.related-links a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.price-from {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin: 0.5rem 0 1rem;
}

.price-from strong {
  font-size: 1.35rem;
  color: var(--color-accent);
}

.card-body .price-from {
  display: block;
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin-top: 1rem;
}

.price-table th,
.price-table td {
  border: 1px solid var(--color-border);
  padding: 0.65rem 0.85rem;
  text-align: left;
}

.price-table th {
  background: var(--color-primary);
  color: #fff;
}

.price-table tr:nth-child(even) td {
  background: var(--color-surface);
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.before-after figure {
  margin: 0;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.before-after img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.before-after figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
}

.before-after figcaption.is-after {
  color: var(--color-accent);
}

@media (max-width: 640px) {
  .before-after {
    grid-template-columns: 1fr;
  }
}
