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

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

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;
  top: 0;
  z-index: 100;
}

header.transparent {
  background: rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0;
  width: 100%;
  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: 60px;
}

.hero.has-hero-bg {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center top;
}

.hero.has-hero-bg::before {
  content: '';
  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: rgba(0, 0, 0, 0.3);
  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: rgba(0, 0, 0, 0.3);
  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: "";
  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;
  position: relative;
  z-index: 1;
}

.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 {
  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);
  }

  body {
    overflow-x: hidden;
  }
}

.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;
    padding: 4px 12px;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
  }

  .logo img {
    height: 28px !important;
    opacity: 0.7 !important;
  }

  .site-title {
    font-size: 14px !important;
    margin: 0 !important;
    line-height: 1.2;
  }

  .header-contacts {
    font-size: 11px !important;
    gap: 4px 10px !important;
  }

  .header-contacts .label {
    display: none;
  }

  .header-contacts a {
    padding: 2px 0;
  }

  .hero {
    padding-top: 10px;
  }

  .section-title {
    font-size: 22px;
  }

  .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: 1fr;
  gap: 16px;
  padding: 0;
  scroll-snap-type: y mandatory;
}

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

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

.gallery-slider {
  margin-left: -15px;
  margin-right: -15px;
  width: calc(100% + 30px);
}

.gallery-btn {
  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: 1fr;
    gap: 8px;
  }
  
  .gallery-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .services-slider,
  .gallery-slider {
    overflow-x: hidden;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  /* Services slider - 1 card full width */
  .services-slide {
    flex: 0 0 100% !important;
    min-width: auto !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: center !important;
  }

  .services-slide > * {
    width: 100% !important;
    max-width: 100% !important;
  }

  .services-track {
    gap: 0 !important;
  }

  .services-slider {
    margin: 20px 0 0 0 !important;
    width: 100% !important;
  }

  .services-wrapper {
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .services-btn {
    width: 24px !important;
    height: 24px !important;
    font-size: 12px !important;
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(2px);
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
  }

  .services-btn:hover {
    background: rgba(255, 255, 255, 0.6) !important;
  }

  .services-prev { left: 8px !important; }
  .services-next { right: 8px !important; }
}

.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;
}
}

/* Fullscreen Gallery - Sticky on scroll */
.fullscreen-gallery {
  position: relative;
  width: 100%;
  height: calc(100vh - 200px);
  min-height: 400px;
  overflow: hidden;
  margin: 0 -15px;
}

.fullscreen-gallery-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.fullscreen-slide {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.fullscreen-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.fullscreen-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-progress {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.3);
  z-index: 10;
}

.gallery-progress-bar {
  height: 100%;
  width: 0%;
  background: rgba(255,255,255,0.8);
  transition: width 0.1s linear;
}

.gallery-counter {
  bottom: 15px;
  right: 15px;
  color: white;
  font-size: 14px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  z-index: 10;
}

/* Mobile */
@media (max-width: 768px) {
  .fullscreen-gallery {
    height: 60vh;
    min-height: 300px;
  }
}


/* Hero Gallery - Fullscreen Slideshow */
.hero-gallery {
  position: relative;
  width: 100%;
  height: calc(100vh - 180px);
  min-height: 400px;
  overflow: hidden;
  margin-top: 20px;
  border-radius: 12px;
}

.hero-gallery-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-gallery-overlay {
  bottom: 20px;
  right: 20px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
}


/* Blog Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
}
.blog-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.blog-content {
  padding: 20px;
}
.blog-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #264d26;
}
.blog-excerpt {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Blog Post Styles */
.blog-post {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.blog-post-image {
  height: 400px;
  background-size: cover;
  background-position: center;
}
.blog-post h1 {
  padding: 30px 30px 10px;
  font-size: 2rem;
  color: #264d26;
}
.blog-post-content {
  padding: 0 30px 30px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}
.blog-post-content p {
  margin-bottom: 15px;
}

.blog-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 8px 8px 0 0;
}

/* Blog article styles */
.blog-article {
  background: #f1ebe0;
  padding: 30px;
  border-radius: 8px;
  max-width: 100%;
  overflow: hidden;
}

.blog-article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
  max-width: 100%;
}

.blog-article-content p {
  margin-bottom: 15px;
}

/* Mobile blog styles */
@media (max-width: 768px) {
  .blog-post-image {
    height: 250px;
    width: 100%;
    border-radius: 0;
  }
  .blog-post h1 {
    padding: 20px 15px 10px;
    font-size: 1.5rem;
  }
  .blog-post-content {
    padding: 0 15px 20px;
    text-align: justify;
  }
  .blog-post-content p {
    margin-bottom: 15px;
  }
  .blog-article {
    padding: 15px !important;
    border-radius: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
    box-sizing: border-box;
  }
  .blog-article-content {
    padding: 0;
  }
  .container {
    max-width: 100vw !important;
    padding: 0 15px !important;
  }
  /* Blog list mobile */
  .blog-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    padding: 20px 15px !important;
    box-sizing: border-box !important;
    margin-top: 0 !important;
  }
  .card > div:first-child {
  body {
    overflow-x: hidden !important;
  }
  #services.section {
    padding: 40px 15px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
  #services > .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100vw !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }
  #services > .container {
    max-width: 100% !important;
    padding: 0 15px !important;
  }
  .card {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 8px !important;
    padding: 15px !important;
    box-sizing: border-box !important;
  }
  .card > div:first-child {
    height: 180px !important;
    border-radius: 0 !important;
  }
}
