/* Кнопка кредита на главной страницы */
.btn {
  background-color: #4CAF50;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
}

.btn:hover {
  background-color: #3e8e41;
}

.credit-highlight1 {
  color: #FFD700;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.1em;
  letter-spacing: 1px;
}

.on-site1 {
  color: #FFA500;
  font-weight: 600;
  font-style: italic;
  border-bottom: 1px dashed #FFD700;
  padding-bottom: 1px;
}









/* Основные стили для страницы СПОСОБЫ ОПЛАТЫ */
.payment-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

.payment-intro {
  font-size: 1.2rem;
  color: #2c3e50;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 500;
}

/* Стили для таблицы */
.payment-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}

.payment-table td {
  padding: 25px 15px;
  vertical-align: top;
  border-bottom: 1px solid #f0f5ff;
  transition: all 0.3s ease;
}

.payment-table tr:last-child td {
  border-bottom: none;
}

.payment-table tr:hover td {
  background-color: #f9fbfd;
}

.payment-table p {
  margin: 10px 0;
  color: #34495e;
  line-height: 1.6;
}

/* Стили для карточек оплаты */
.payment-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 20px 10px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.payment-card:hover {
  transform: translateY(-5px);
}

.payment-device {
  width: 140px;
  height: 240px;
  background: white;
  border-radius: 20px;
  border: 8px solid #333;
  position: relative;
  margin-bottom: 20px;
  box-shadow: 0 15px 25px rgba(0,0,0,0.1);
  overflow: hidden;
}

.payment-device-screen {
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  background: #f5f9ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  text-align: center;
}

.payment-device-content {
  font-size: 0.75rem;
  color: #2c3e50;
  line-height: 1.4;
  width: 100%;
}

.payment-device-content img {
  max-width: 60px;
  margin-bottom: 10px;
}

.payment-device::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 5px;
  background: #333;
  border-radius: 0 0 10px 10px;
}

.payment-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 10px;
}

.payment-description {
  font-size: 0.95rem;
  color: #7f8c8d;
  text-align: center;
  line-height: 1.5;
}

/* Стили для инструкции */
.instruction-box {
  background: linear-gradient(to bottom, #f8f9ff, #eef5ff);
  border-left: 4px solid #3498db;
  padding: 20px;
  border-radius: 0 8px 8px 0;
  margin-top: 15px;
}

.instruction-title {
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.instruction-steps {
  list-style-type: none;
  padding-left: 0;
}

.instruction-steps li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: #34495e;
  font-size: 0.95rem;
}

.instruction-steps li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: #3498db;
  font-weight: bold;
}

/* Стили для списка */
.payment-features {
  list-style-type: none;
  padding-left: 0;
  margin-top: 30px;
}

.payment-features li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
  color: #2c3e50;
  font-size: 1.05rem;
  line-height: 1.6;
}

.payment-features li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  background-color: #3498db;
  border-radius: 50%;
  display: inline-block;
}

.payment-features li:after {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 6px;
  color: white;
  font-size: 0.8rem;
}

/* Адаптивность */
@media (max-width: 768px) {
  .payment-table td {
    width: 100% !important;
    display: block;
    margin-bottom: 20px;
  }
  
  .payment-device {
    width: 100px;
    height: 180px;
  }
}
.credit-icon {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
}









/* Стили для страницы "Наше производство" */
.production-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

.production-intro {
  text-align: center;
  margin-bottom: 40px;
}

.production-title {
  color: #0d378b;
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-phone {
  display: inline-block;
  background: #f0f8ff;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.8rem;
  color: #0d378b;
  font-weight: 700;
  margin-top: 15px;
  box-shadow: 0 5px 15px rgba(13, 55, 139, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-phone:hover {
  background: #e1f0ff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(13, 55, 139, 0.3);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.service-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-image {
  height: 250px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-image img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-content {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-name {
  font-size: 1.4rem;
  color: #0d378b;
  margin: 10px 0;
  font-weight: 600;
}

.portfolio-section {
  margin-top: 60px;
  text-align: center;
}

.portfolio-title {
  color: #0d378b;
  font-size: 1.8rem;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.portfolio-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #0d378b;
  border-radius: 2px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.portfolio-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  position: relative;
  height: 250px;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 55, 139, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay span {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  padding: 15px;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .production-intro .production-title {
    font-size: 1.4rem !important;
    line-height: 1.5;
    padding: 0 10px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr)) !important;
    gap: 15px !important;
  }
  
  .service-card {
    padding: 10px;
  }
  
  .service-image {
    height: 150px;
  }
  
  .service-name {
    font-size: 0.9rem;
    margin: 5px 0;
  }
  
  .portfolio-title {
    font-size: 1.4rem;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr));
    gap: 10px;
  }
  
  .portfolio-item {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .production-intro .production-title {
    font-size: 1.2rem !important;
  }
  
  .production-section {
    padding: 15px 10px;
  }
  
  .contact-phone {
    padding: 8px 16px;
    font-size: 1.2rem;
  }
}








/* Стили для страницы контактов (КОНТАКТЫ на главной) */
.contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 30px;
}

.contact-header {
  width: 100%;
  margin-bottom: 20px;
}

.contact-title {
  color: #0d378b;
  font-size: 28px;
  margin-bottom: 10px;
  text-align: center;
}

.contact-info-image-container {
  flex: 1;
  min-width: 300px;
  text-align: center;
  position: relative;
}

.info-image-wrapper {
  display: inline-block;
  position: relative;
  max-width: 100%;
}

.info-image {
  max-width: 100%;
  height: auto;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block;
  pointer-events: none; /* Отключаем взаимодействие */
}

.info-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

.info-image-wrapper:hover .info-image-overlay {
  opacity: 1;
}

.info-image-overlay-text {
  background: rgba(13, 55, 139, 0.85);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
}

.map-address {
  background: #f8f9ff;
  padding: 15px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.5;
  margin-top: 15px;
}

.contact-details {
  flex: 1;
  min-width: 300px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.contact-block {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 15px;
  background: #f9fbfd;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-block:hover {
  background: #eef5ff;
  transform: translateY(-3px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: #0d378b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.contact-content h3 {
  color: #0d378b;
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-content p {
  color: #34495e;
  line-height: 1.6;
  margin: 5px 0;
}

.contact-content a {
  color: #0d378b;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  margin: 3px 0;
  transition: all 0.2s ease;
}

.contact-content a:hover {
  color: #ff6b00;
  transform: translateX(3px);
}

.phone-list {
  list-style: none;
  padding-left: 0;
  margin: 10px 0 0;
}

.phone-list li {
  margin-bottom: 8px;
}

.phone-list li:before {
  content: "•";
  color: #0d378b;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Адаптивность */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    padding: 20px;
  }
  
  .contact-info-image-container,
  .contact-details {
    width: 100%;
  }
}







/* о компании */
.about-content {
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Arial', sans-serif;
}

.scroll-anchor {
  position: absolute;
  top: -80px; /* Смещение для точной прокрутки */
}

.about-intro {
  background: white;
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 40px;
  font-size: 1.1rem;
  line-height: 1.8;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #0d378b;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #0d378b;
}

.feature-card h3 {
  color: #0d378b;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.accordion-section {
  margin-bottom: 50px;
}

.accordion {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #0d378b;
  color: white;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: #0a2a6d;
}

.accordion-icon {
  font-size: 1.8rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.accordion.active .accordion-icon {
  transform: rotate(0);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  background: white;
}

.accordion.active .accordion-content {
  max-height: 5000px;
}

.accordion-content-inner {
  padding: 25px;
}

.modern-list {
  list-style: none;
  padding-left: 0;
}

.modern-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.modern-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #0d378b;
  font-size: 1.5rem;
  line-height: 1;
}

.product-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.category {
  background: #f8f9ff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e0e7ff;
}

.category h4 {
  color: #0d378b;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0d378b;
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  text-align: center;
  margin-top: 30px;
}

.stat-item {
  background: linear-gradient(to bottom, #0d378b, #1a5f9e);
  color: white;
  padding: 25px 15px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(13, 55, 139, 0.3);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  transition: all 1s ease-out;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .about-intro {
    padding: 30px;
  }
}

@media (max-width: 992px) {
  .about-intro {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-intro {
    padding: 25px;
  }
  
  .stats-section {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .accordion-header {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
}

@media (max-width: 576px) {
  .about-intro {
    padding: 20px;
    font-size: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-section {
    grid-template-columns: 1fr;
  }
  
  .stat-item {
    padding: 20px 10px;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .product-categories {
    grid-template-columns: 1fr;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
}