/* v1772609052 */
:root {
  --green: #3b7d3b;
  --green-dark: #285428;
  --accent: #f6b93b;
  --bg-light: #f5f7f4;
  --text: #222;
  --muted: #666;
  --max-width: 1600px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background-color: #fff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

header {
  background: #264d26;
  color: #fff;
  padding: 6px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

header.transparent {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
}

.container {
  max-width: min(1600px, 95vw);
  margin: 0 auto;
  padding: 0 16px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 16px;
}

.logo span {
  color: var(--accent);
}

.header-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 14px;
}

.header-contacts a {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
}

.header-contacts a:hover {
  opacity: 1;
}

.header-contacts .label {
  color: #d7e8d7;
}

.hero {
  background: var(--bg-light);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

header.transparent ~ main .hero {
  padding-top: 80px;
}

.hero.has-hero-bg {
  background-color: #f5f0e6 !important;
  position: relative;
  min-height: 100vh;
  background-color: #f5f0e6;
}

.hero.has-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero.has-hero-bg .hero-inner {
  position: relative;
  z-index: 1;
}

.hero.has-hero-bg .hero-title,
.hero.has-hero-bg .hero-subtitle,
.hero.has-hero-bg .hero-list li,
.hero.has-hero-bg .hero-note {
  color: #fff;
}

.hero.has-hero-bg .hero-note {
  color: rgba(255,255,255,0.8);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 32px;
  align-items: center;
  min-height: calc(100vh - 160px);
}

.hero-title {
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero-list {
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--text);
}

.hero-list li {
  margin-bottom: 6px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero.has-hero-bg .btn-primary {
  background: #fff;
  color: #222;
}

.hero.has-hero-bg .btn-outline {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border-color: #fff;
}

.hero.has-hero-bg .hero-image {
  background: transparent;
  color: #fff;
}

.hero.has-hero-bg .hero-image::before {
  border-color: rgba(255,255,255,0.3);
}

.hero.has-hero-bg .hero-image-title,
.hero.has-hero-bg .hero-image-list li {
  color: #fff;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--green);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  background-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 1px solid rgba(0,0,0,0.12);
}

.btn-outline:hover {
  border-color: var(--green-dark);
  background-color: rgba(0,0,0,0.02);
}

.hero-note {
  font-size: 13px;
  color: var(--muted);
}

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  background: #f5f0e6;
  min-height: 200px;
  position: relative;
  padding: 20px;
  color: #222;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,0.5);
  opacity: 0.7;
}

.hero-image-content {
  position: relative;
  z-index: 1;
}

.hero-image-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-image-list {
  font-size: 14px;
  margin: 0;
  padding-left: 18px;
}

.section {
  padding: 80px 0;
}

.gallery-section {
  background: #f5f0e6;
  padding: 80px 0;
}

.light-section {
  background: #f5f0e6;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

#services {
  background: #f5f0e6;
}

.card {
  border-radius: 12px;
  border: 1px solid #e2e5de;
  padding: 16px 14px;
  background: #e8e0d0;
}

.section-title {
  font-size: 32px;
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
}

.services-grid {
  display: none;
}

.services-slider {
  position: relative;
  display: flex;
  align-items: center;
  margin: 20px -15px 0 -15px;
  width: calc(100% + 30px);
}

.services-wrapper {
  flex: 1;
  overflow: hidden;
}

.services-track {
  display: flex;
  transition: transform 0.4s ease;
  gap: 18px;
}

.services-slide {
  flex: 0 0 calc(33.333% - 12px);
  scroll-snap-align: start;
  min-width: 220px;
  box-sizing: border-box;
}

.services-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(232, 224, 208, 0.85);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  color: #333;
  z-index: 10;
  transition: background 0.2s;
}

.services-btn:hover {
  background: rgba(232, 224, 208, 1);
}

.services-prev { left: -50px; }
.services-next { right: -50px; }

.services-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.services-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}

.services-dots span.active {
  background: var(--green);
}

@media (max-width: 900px) {
  .services-slide {
    flex: 0 0 calc(50% - 9px);
  }
}

@media (max-width: 600px) {
  .services-slide {
    flex: 0 0 calc(100% - 18px);
  }
}

.card {
  border-radius: 12px;
  border: 1px solid #e2e5de;
  padding: 16px 14px;
  background: #e8e0d0;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

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

.adv-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 18px;
}

.adv-badge {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--green-dark);
  font-weight: 600;
}

.adv-text strong {
  display: block;
  margin-bottom: 2px;
}

.adv-text {
  color: #333;
}

.portfolio {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 20px;
}

.portfolio-note {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 10px;
}

.portfolio-list {
  font-size: 14px;
  margin: 0;
  padding-left: 18px;
}

.portfolio-placeholder {
  border-radius: 12px;
  border: 1px dashed #cbd3c1;
  padding: 16px;
  font-size: 13px;
  color: var(--muted);
  background: #fafcf8;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.price-item {
  border-radius: 12px;
  padding: 24px 20px;
  border: 1px solid #e2e5de;
}

.price-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.price-range {
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 8px;
  font-size: 18px;
}

.price-desc {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 20px;
  align-items: flex-start;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e2e5de;
}

.contact-info p {
  margin: 4px 0;
  font-size: 14px;
}

.contact-info a {
  color: var(--green-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.contact-form {
  border-radius: 12px;
  border: 1px solid #e2e5de;
  padding: 14px;
  font-size: 14px;
  background: #e8e0d0;
}

.contact-form label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #4a5240;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 7px;
  border: 1px solid #ccd0c6;
  font-family: inherit;
  font-size: 16px;
  margin-bottom: 16px;
  background: #f0e8d8;
  color: #333;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #6a6a5a;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form small {
  font-size: 12px;
  color: #5a6550;
}

footer {
  border-top: 1px solid #e2e5de;
  padding: 16px 0 18px;
  font-size: 12px;
  color: #4a5240;
  background: #e8e0d0;
}

footer .footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-inner,
  .portfolio,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  header {
    position: static;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-image {
    order: -1;
  }
}
.site-title { font-size: 24px; font-weight: bold; margin-bottom: 5px; color: #fff; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }

/* Gallery Slider */
.gallery-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 20px -15px 0 -15px;
  width: calc(100% + 30px);
}

.gallery-wrapper {
  flex: 1;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  transition: transform 0.4s ease;
}

.gallery-slide {
  min-width: 100%;
}

.gallery-images-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 16px;
}

.gallery-image-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
}

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

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(232, 224, 208, 0.85);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  color: #333;
  z-index: 10;
  transition: background 0.2s;
}

.gallery-btn:hover {
  background: rgba(232, 224, 208, 1);
}

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

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.gallery-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.2s;
}

.gallery-dots span.active {
  background: var(--green);
}

@media (max-width: 768px) {
  .gallery-images-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  
  .gallery-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

.consent-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  flex-wrap: nowrap;
}
.consent-wrapper input[type="checkbox"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
  accent-color: #264d26;
}
.consent-wrapper label {
  cursor: pointer;
  line-height: 1.3;
}
.consent-wrapper a {
  color: #264d26;
  text-decoration: underline;
}
}
