/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; */
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  overflow: hidden;
  margin-top: 0px;
  padding-top: 100px;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(135deg, rgba(41, 72, 42, 0.9), rgba(78, 137, 80, 0.8), rgba(159, 185, 127, 0.7)); */
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
}

.hero-text {
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: white;
  margin-bottom: 1.5rem;
}

.hero-highlight {
  background: linear-gradient(135deg, #704e8a, #894e87);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-highlight_red {
background: #8c052e;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: #4e8950;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  background: linear-gradient(135deg, #4e8950, #29482a);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(41, 72, 42, 0.3);
}

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  background: white;
  /* color: #4e8950;
  border: 2px solid #4e8950; */
  color: #811936;
  border: 2px solid #811936;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  /* background: #4e8950; */
  background: #811936;
  color: white;
  transform: translateY(-2px);
}

/* Ограничиваем правую колонку */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: stretch;
  max-width: 100%;
}

/* Баннер не выходит за экран */
.hero-side-banner {
  width: 100%;
  height: auto;
  max-width: 500px;          /* ключевой предел */
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.hero-right > a {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Форма тоже вписывается */
.hero-form {
  max-width: 500px;          /* тот же предел что у баннера */
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Адаптив под планшеты/мобильные */
@media (max-width: 768px) {
  .hero-right {
    max-width: 100%;
  }

  .hero-side-banner,
  .hero-form {
    max-width: 100%;
  }
}

/* Section Styles */
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  /* background: linear-gradient(135deg, #29482a, #11453b); */
  background: #811936;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.125rem;
  text-align: center;
  color: #3d6042;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Benefits Section */
.benefits-section {
  padding: 100px 0;
  /* background: linear-gradient(135deg, #f8fafc, #d6ffd8); */
  background: #f6f6f6;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.benefit-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #f1f5f9;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  /* background: linear-gradient(135deg, #4e8950, #29482a); */
  background: #811936;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 24px;
}

.benefit-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.benefit-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* Cases Section */
.cases-section {
  padding: 100px 0;
  background: white;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.case-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.case-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.case-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.case-content {
  padding: 30px;
}

.case-year {
  display: inline-block;
  background: linear-gradient(135deg, #894e87, #704e8a);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.case-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.case-content p {
  /* color: #3d6042; */
  color: #6b7280;
  margin-bottom: 20px;
  line-height: 1.6;
}

.case-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-specs span {
  background: #f1f5f9;
  color: #475569;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Process Section */
.process-section {
  padding: 100px 0;
  /* background: linear-gradient(135deg, #f8fafc, #d6ffd8); */
  background: #f6f6f6;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.process-step {
  position: relative;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 30px;
  width: 40px;
  height: 40px;
  /* background: linear-gradient(135deg, #4e8950, #29482a); */
  background: #811936;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
  margin-top: 10px;
}

.step-content p {
  color: #6b7280;
  margin-bottom: 15px;
  line-height: 1.6;
}

.step-time {
  /* color: #4e8950; */
  color: #811936;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Pricing Section */
.pricing-section {
  padding: 50px 0;
  background: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  position: relative;
  background: white;
  border: 2px solid #f1f5f9;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pricing-card:hover {
  transform: translateY(-10px);
  /* border-color: #4e8950; */
  border-color: #811936;
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.pricing-card.featured {
  /* border-color: #4e8950; */
  border-color: #811936;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #894e87, #704e8a);
  color: white;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  /* color: #4e8950; */
  color: #811936;
  margin-bottom: 30px;
}

.price span {
  font-size: 1rem;
  color: #6b7280;
  font-weight: 500;
}

.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 30px;
}

.price-features li {
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
  position: relative;
  padding-left: 30px;
}

.price-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  /* color: #10b981; */
  color: #811936;
  font-weight: bold;
}

.calculator-cta {
  text-align: center;
  margin-top: 50px;
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  /* background: linear-gradient(135deg, #f8fafc, #d6ffd8); */
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.testimonial-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
  flex-shrink: 0;
}

.avatar-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background: #e5e5e5;
}

.testimonial-content {
  flex: 1;
}

.rating {
  display: flex;
  gap: 2px;
  margin-bottom: 15px;
}

.star-filled {
  color: #fbbf24;
  width: 16px;
  height: 16px;
}

.testimonial-content p {
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author strong {
  color: #1a1a1a;
  font-weight: 700;
}

.testimonial-author span {
  color: #6b7280;
  font-size: 0.875rem;
  display: block;
  margin-top: 5px;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  background: white;
}

.faq-list {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  border-bottom: 1px solid #e5e5e5;
}

.faq-question {
  padding: 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  color: #1a1a1a;
  transition: color 0.3s ease;
}

.faq-question:hover {
  /* color: #4e8950; */
  color: #631028;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding-bottom: 25px;
  color: #6b7280;
  line-height: 1.6;
}

/* Final CTA Section */
.final-cta-section {
  padding: 100px 0;
  /* background: linear-gradient(135deg, #4e8950, #11453b); */
  background: #811936;
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.125rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-form {
  display: flex;
  gap: 20px;
  max-width: 500px;
  margin: 0 auto 3rem;
}

.cta-form .form-input {
  flex: 1;
}

.cta-benefits {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
}

.cta-benefit i {
  width: 16px;
  height: 16px;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  text-align: center;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  text-align: left;
}

.footer-logo h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 10px;
  /* background: linear-gradient(135deg, #29482a,#4e8950,#9fb97f); */
  background: #811936;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-logo p {
  color: #9ca3af;
  margin-bottom: 20px;
}

.contact-item {
  justify-content: right;
  display: flex;
  align-items: right;
  gap: 10px;
  margin-bottom: 15px;
  color: #e5e5e5;
}

.contact-item i {
  width: 16px;
  height: 16px;
  color: #4e8950;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid #374151;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9ca3af;
}

.footer-link {
  /* color: #4e8950; */
  color: #811936;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #f59e0b;
}

.phone_footer, .phone_footer:hover, .phone_footer:active {
    text-decoration: none;
    color: white;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .benefits-grid,
  .cases-grid,
  .process-timeline,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }
  
  .cta-form {
    flex-direction: column;
  }
  
  .cta-benefits {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    flex-direction: column;
    text-align: center;
  }
}

/* === Calculator Modal === */
.calculator-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.calculator-content {
  background: #fff;
  padding: 25px 30px;
  border-radius: 16px;
  width: 480px;
  height: 100%; 
  box-shadow: 0 5px 25px rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden; 
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  animation: fadeIn 0.3s ease;
}

.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}

.calc-form {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 10px;
  padding-right: 5px;
}

.service-item {
  margin-bottom: 15px;
}

.area-input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.area-input:disabled {
  opacity: 0.4;
}

.calc-result {
  border-top: 1px solid #eee;
  padding-top: 10px;
  font-size: 15px;
  overflow-y: auto;
  flex-shrink: 0;
}

.calc-result ul {
  margin: 8px 0;
  padding-left: 18px;
}

.total-sum {
  font-size: 18px;
  margin-top: 10px;
  font-weight: bold;
}

.muted {
  color: #777;
  text-align: center;
  margin-top: 10px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Navbar === */
.navbar {
  /* background: linear-gradient(90deg, #f8fafc ,#d6ffd8); */
  background: #f6f6f6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 15px 20px;
  gap: 40px;
}

.navbar-logo img {
  height: 50px;
  width: auto;
}

.navbar-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}

.navbar-menu li a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.navbar-menu li a:hover {
  /* color: #4e8950; */
  color: #811936;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: #1a1a1a;
  transition: color 0.3s ease;
}

.dropdown-toggle:hover {
  /* color: #4e8950; */
  color: #811936;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 10px 0;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s ease;
  z-index: 100;
}

.dropdown-toggle {
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: #1a1a1a;
  transition: color 0.3s ease;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 10px 0;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s ease;
  z-index: 100;
}

.dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 10px 20px;
}

.dropdown-menu li a {
  display: block;
  color: #1a1a1a;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
  /* color: #4e8950; */
  color: #811936;
  background: #f1f5f9;
  padding-left: 25px;
}

/* === Мобильное меню === */
.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 25px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.navbar-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Анимация гамбургера при открытии */
.navbar-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}
.navbar-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Меню для мобильной версии */
@media (max-width: 992px) {
  .navbar-container {
    justify-content: space-between;
  }

  .navbar-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .navbar-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navbar-menu li a {
    font-size: 1.1rem;
  }

  .navbar-toggle {
    display: flex;
  }

  .phone-menu {
    display: none;
  }
}

/* Каталог плитки */
    .catalog-container {
      display: flex;
      gap: 40px;
      flex-wrap: wrap;
      margin: 50px 20px;
    }

    .tile-filter {
      flex: 1;
      min-width: 250px;
      background: #f8fafc;
      padding: 20px;
      border-radius: 16px;
      box-shadow: 0 10px 20px rgba(0,0,0,0.05);
      height: fit-content;
    }

    .tile-filter h3 {
      font-size: 1.25rem;
      margin-bottom: 15px;
      color: #1a1a1a;
    }

    .tile-filter .filter-group {
      margin-bottom: 15px;
      display: flex;
      flex-direction: column;
    }

    .tile-filter .filter-group label {
      margin-bottom: 5px;
      font-weight: 600;
    }

    .tile-filter select,
    .tile-filter input {
      padding: 8px 12px;
      border-radius: 8px;
      border: 1px solid #e5e5e5;
      font-size: 1rem;
    }

    .tile-filter button {
      margin-top: 10px;
      width: 100%;
    }

    .catalog-grid {
  flex: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

    .tile-card {
      background: white;
      border-radius: 16px;
      box-shadow: 0 10px 20px rgba(0,0,0,0.05);
      overflow: hidden;
      text-align: center;
      padding-bottom: 15px;
      transition: all 0.3s ease;
      
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .tile-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 25px rgba(0,0,0,0.1);
    }

    .tile-card img {
      width: 100%;
      height: 150px;
      object-fit: cover;
      border-bottom: 1px solid #e5e5e5;
    }

    .tile-card .tile-info {
      padding: 10px 15px;
      text-align: left;
      font-size: 0.95rem;
      color: #1a1a1a;
    }

    .tile-info p {
      margin: 5px 0;
    }

    @media (max-width: 768px) {
      .catalog-container {
        flex-direction: column;
      }
      .tile-filter {
        width: 100%;
      }
    }

    @media (max-width: 992px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

    /* Общий стиль текстовой секции */

.info-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 20px;
}

.info-text {
  flex: 1 1 50%;
}

.info-title {
  font-size: 2rem;
  font-weight: 700;
  /* background: #29482a; */
  background: #811936;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.info-description {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 15px;
}

.info-description_mobile {
    display: none;
}

.info-image {
  flex: 1 1 45%;
  text-align: center;
}

.info-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.info-image img:hover {
  transform: scale(1.03);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95rem;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-table_mobile {
    display: none;
}

.info-table th {
  /* background: #4e8950; */
  background: #631028;
  color: #fff;
  text-align: left;
  padding: 12px 16px;
}

.info-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e5e5e5;
  color: #333;
}

.info-table tr:nth-child(even) td {
  background: #f6f9f7;
}

/* Адаптив */
@media (max-width: 900px) {
  .info-container {
    flex-direction: column;
    text-align: center;
  }

  .info-text, .info-image {
    flex: 1 1 100%;
  }

  .info-title {
    font-size: 1.6rem;
  }
}

.info-text, .info-image {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.info-text.visible, .info-image.visible {
  opacity: 1;
  transform: translateY(0);
}

 /* gallery-section */
.gallery-section {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.gallery-title {
  font-size: 2rem;
  font-weight: 700;
  /* background: #29482a; */
  background: #811936;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px; /* расстояние между карточками */
  max-width: 1300px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.95rem;
  padding: 6px 12px;
  border-radius: 6px;
}

/* адаптив */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 220px;
  }
}

.about-section {
  padding: 60px 20px;
  /* background: linear-gradient(135deg, #f8fafc, #d6ffd8); */
  background: #f6f6f6;
}

.about-container {
  max-width: 1300px;
  margin: 0 auto;
  /* display: flex; */
  /* align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap; */
}

/* Слайдер */
.about-slider {
  position: relative;
  flex: 1 1 50%;
  overflow: hidden;
  border-radius: 12px;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.slider-controls {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-controls button {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.slider-controls button:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* Правая колонка */
.about-content {
  flex: 1 1 45%;
  
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-content div {
    width: 50%;
}

.about-content h2 {
  font-size: 2rem;
  font-weight: 700;
  /* background: #29482a; */
  background: #811936;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

.about-content ul {
  list-style: none;
  padding-left: 0;
}

.about-content li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 1.5rem;
  /* background: linear-gradient(135deg, #29482a, #4e8950); */
  background: #811936;
  border-radius: 20px;
}


/* адаптив */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-content {
    flex: 1 1 100%;
  }

  .about-slider {
    flex: 1 1 100%;
  }
}

.cta-banner {
  /* background: linear-gradient(135deg, #29482a, #4e8950); */
  background: #811936;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  border-radius: 20px;              /* ← Скруглённые углы */
  margin: 10px auto;                /* Отступы между секциями */
  max-width: 1100px;                /* Чтобы не тянулась на всю ширину */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);  /* Мягкая тень */
}

.cta-banner-container {
  max-width: 900px;
  margin: 0 auto;
}

.cta-banner-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.4;
}

.cta-banner-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.cta-banner-form input {
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  width: 240px;
  outline: none;
}

.cta-banner-form button {
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  background: #fff;
  color: #4e8950;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-banner-form button:hover {
  background: #e9f3ea;
  transform: translateY(-2px);
}

/* адаптив */
@media (max-width: 600px) {
  .cta-banner-form {
    flex-direction: column;
    align-items: center;
  }

  .cta-banner-form input,
  .cta-banner-form button {
    width: 100%;
    max-width: 320px;
  }
}

.contacts-section {
  margin-top: 40px;
  padding: 80px 20px;
  background: #fff;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.section-subtitle {
  text-align: center;
  color: #475569;
  font-size: 1.1rem;
  margin-bottom: 50px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.contact-info p {
  color: #475569;
  font-size: 1rem;
}

.contact-info a {
  /* color: #4e8950; */
  color: #811936;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.map-block iframe {
  border-radius: 12px;
  margin-top: 15px;
  width: 100%;
}

/* Форма */
.contact-form-block {
  background: #f8fafc;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.contact-page-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-input,
.contact-page-form input,
.contact-page-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
  transition: border 0.3s ease;
}

.contact-page-form input:focus,
.contact-page-form textarea:focus {
  border-color: #4e8950;
  outline: none;
}

.btn-primary {
  /* background: #4e8950; */
  /* background: #811936; */
  background: #9f183c;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  /* background: #3c6f3e; */
  background: #631028;
}

/* 📱 Адаптация под телефон */
@media (max-width: 992px) {
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info {
    text-align: center;
  }

  .map-block iframe {
    height: 250px;
  }

  .contact-form-block {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .form-title {
    font-size: 1.3rem;
  }

  .btn-primary {
    width: 100%;
  }
}

/* === Service Price Page === */
.service-price-header {
  padding-top: 120px;
  padding-bottom: 30px;
  /* background: linear-gradient(135deg, #f8fafc, #d6ffd8); */
  background: linear-gradient(135deg, #f6f6f6, #f6f6f6);
  text-align: center;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  /* background: #4e8950; */
  background: #811936;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-download:hover {
  /* background: #3c6f3e; */
  background: #9f183c;
  transform: translateY(-2px);
}

.service-price-section {
  padding: 60px 0 100px;
  background: #fff;
}

.service-price-category {
  font-size: 1.8rem;
  font-weight: 700;
  /* color: #29482a; */
  color: #811936;
  margin-top: 60px;
  margin-bottom: 20px;
  /* border-left: 6px solid #4e8950; */
  border-left: 6px solid #631028;
  padding-left: 15px;
}

.service-price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-price-table th {
  /* background: #4e8950; */
  background: #631028;
  color: white;
  text-align: left;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 600;
  min-width: 120px;
}

.service-price-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #e5e5e5;
  color: #475569;
  min-width: 120px;
}

.service-price-table tr:nth-child(even) td {
  background: #f9fafb;
}

/* адаптив */
@media (max-width: 768px) {
  .service-price-table th,
  .service-price-table td {
    font-size: 0.9rem;
    padding: 10px 12px;
  }

  .service-price-category {
    font-size: 1.4rem;
  }

  .btn-download {
    width: 100%;
    justify-content: center;
  }
}

.phones_mob {
    display: none;
}

@media (max-width: 425px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-content {
        padding-block: 15px;
    }
    
    .phones_mob {
        display: flex;
        flex-direction: column;
    }
    
    .phones_mob a, .phones_mob a:link, .phones_mob a:visited, .phones_mob a:focus, .phones_mob a:hover, .phones_mob a:active {
        text-decoration: none;
        color: #1a1a1a;
        font-weight: 600;
        font-size: 1rem;
        transition: color 0.3s ease;
    }    
    
    .about-content {
        flex-wrap: wrap;
    }
    
    .about-content div {
        width: 100%;
    }
    
    .about-content li {
        padding: 10px;
    }
    
    .slider-wrapper {
        height: 500px !important;
    }
    
    .dropdown-toggle {
        font-size: 1.1rem;
    }
    
    .pricing-card {
        padding: 15px 30px;
    }
    
    .pricing-card.featured {
        padding-top: 30px;
    }
    
    .info-container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .info-table_mobile {
        display: inline-table;
    }
    
    .info-table_desktop {
        display: none;
    }
    
    .info-text.visible ul {
        margin-left: 20px !important;
        list-style-type: disc !important;
        text-align: left;
    }
    
    .info-text.visible ol {
        margin-left: 20px !important;
        /* list-style-type: disc !important; */
        text-align: left;
    }
    
    .info-description_mobile {
        display: block;
    }
    
    .info-description_desktop {
        display: none;
    }
    
    .benefit-card {
        padding: 25px 25px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .final-cta-section {
        padding: 60px 0;
    }
    
    .footer {
        padding: 30px 0 30px;
    }
    
    .hero-bg-image {
       width: auto;
       transform: translateX(-800px);
    }
    
    .image-drenaige-hide {
        display: none;
    }
    
    .testimonial-content p {
        text-align: justify;
    }
    
    .faq-section {
        padding-top: 0;
    }
    
    .info-description {
        /* text-align: justify; */
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .slide img {
        /* object-fit: contain; */
    }
    
    .table-fade {
        position: relative;
    }
    
    /* скролл */
    .service-price-table-wrapper {
        overflow-x: auto;
    }
    
    /* таблица шире экрана */
    .service-price-table {
        min-width: 1000px;
        border-collapse: collapse;
        margin-right: 40px;
        table-layout: fixed;
        position: relative;
    }
    
    /* градиент */
    .table-fade::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 50px;
        height: 100%;
        pointer-events: none;
        background: linear-gradient(to right, transparent, white);
        z-index: 10;
    }
    
    
    /* ширины колонок */
    .service-price-table th:nth-child(1),
    .service-price-table td:nth-child(1) {
        width: 25%;
    }
    
    .service-price-table th:nth-child(2),
    .service-price-table td:nth-child(2) {
        width: 10%;
    }
    
    .service-price-table th:nth-child(3),
    .service-price-table td:nth-child(3) {
        width: 10%;
    }
    
    .service-price-table th:nth-child(4),
    .service-price-table td:nth-child(4) {
        width: 30%;
    }
}



@media (max-width: 380px) {
    .phones_mob {
        margin-left: -30px;
    }
    
    .phones_mob a, .phones_mob a:link, .phones_mob a:visited, .phones_mob a:focus, .phones_mob a:hover, .phones_mob a:active  {
        font-size: 0.9rem;
    }
    
    .hero-content {
        width: 100%;
        /* overflow: hidden; */
        justify-content: center;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 335px) {
    .phones_mob a, .phones_mob a:link, .phones_mob a:visited, .phones_mob a:focus, .phones_mob a:hover, .phones_mob a:active  {
        font-size: 0.7rem;
    }
}

@media (max-width: 305px) {
    .phones_mob a, .phones_mob a:link, .phones_mob a:visited, .phones_mob a:focus, .phones_mob a:hover, .phones_mob a:active  {
        font-size: 0.5rem;
    }
}


.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  z-index: 9999;
}
.cookie-banner p {
  margin: 0;
  font-size: 14px;
  color: #444;
  flex: 1 1 320px;
}
.cookie-banner a { color: inherit; text-decoration: underline; }
.cookie-banner button { flex-shrink: 0; }
.cookie-banner.hidden { display: none; }