/* Компоненты и дополнительные стили */

/* Исправление цвета итоговой цены */
.final-price, #calc-final-price, .price-display .final-price {
    color: #2E8B57 !important;
    font-weight: 700 !important;
    font-size: 36px !important;
}

/* Исправление цвета старой цены */
.old-price, #calc-old-price, .price-display .old-price, .calc-result .old-price {
    color: #6c757d !important;
    text-decoration: line-through !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    margin-left: 10px !important;
    opacity: 0.8 !important;
}

/* Исправление цвета скидки */
.discount-badge, #calc-discount, .calc-result .discount-badge {
    color: #dc3545 !important;
    background: #f8d7da !important;
    border: 1px solid #f5c6cb !important;
    padding: 5px 10px !important;
    border-radius: 15px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    margin-top: 8px !important;
    display: inline-block !important;
    text-align: center !important;
}

/* === ОСНОВНОЙ КОНТЕНТ === */
#main-content {
  padding-bottom: 2rem;
}

/* === HERO СЕКЦИЯ === */
.hero-section {
  background: var(--gradient-light);
  padding: 3rem 0;
  margin-bottom: 2rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.federal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-blue);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
}

.highlight {
  color: var(--primary-blue);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

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

.benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.benefit .icon {
  font-size: 1.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
  }
}

.btn-xl {
  padding: 1.25rem 2rem;
  font-size: 1.1rem;
}

.urgency-timer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 107, 53, 0.1);
  padding: 1rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-orange);
}

.countdown-timer {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #dc3545;
  font-size: 18px;
  background: rgba(220, 53, 69, 0.1);
  padding: 8px 12px;
  border-radius: 6px;
  border: 2px solid #dc3545;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* === КАРТОЧКА КАЛЬКУЛЯТОРА === */
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--primary-blue);
}

.card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.card-header p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

/* === ДОВЕРИЕ === */
.trust-section {
  padding: 2rem 0;
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.trust-item {
  text-align: center;
  padding: 1rem;
}

.trust-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.trust-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  display: block;
}

.trust-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 0.25rem;
}

/* === УСЛУГИ === */
.services-section {
  padding: 3rem 0;
  background: var(--light-gray);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.service-card.featured {
  border: 2px solid var(--accent-orange);
  transform: scale(1.05);
}

.service-badge {
  position: absolute;
  top: -10px;
  right: 1rem;
  background: var(--accent-orange);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  font-weight: 600;
}

.service-badge.popular {
  background: var(--accent-red);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.service-price {
  margin-bottom: 1.5rem;
}

.service-price .from {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.service-price .price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.service-price .old-price {
  font-size: 1rem;
  color: var(--gray-400);
  text-decoration: line-through;
  margin-left: 0.5rem;
}

.service-features {
  list-style: none;
  margin: 0 0 2rem 0;
  padding: 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.service-features li::before {
  content: '✅';
  font-size: 0.875rem;
}

/* === АКТИВНОСТЬ === */
.activity-section {
  padding: 3rem 0;
  background: var(--white);
}

.activity-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .activity-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.activity-left h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1.5rem;
}

.live-indicators {
  margin-bottom: 2rem;
}

.indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.master-widget {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.widget-header h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.master-info {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.master-photo {
  position: relative;
}

.master-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.online-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--success-green);
  color: var(--white);
  font-size: 0.6rem;
  padding: 0.125rem 0.25rem;
  border-radius: var(--radius-sm);
}

.master-details {
  flex: 1;
}

.master-name {
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
}

.master-rating,
.master-distance,
.master-status {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-bottom: 0.125rem;
}

.master-status {
  color: var(--success-green);
  font-weight: 500;
}

/* === АКТИВНОСТЬ ЛЕНТА === */
.activity-feed {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.activity-feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--light-gray);
  border-bottom: 1px solid var(--gray-200);
}

.activity-feed-header .title {
  font-weight: 600;
  color: var(--gray-800);
}

.live-badge {
  background: var(--accent-red);
  color: var(--white);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.5; }
}

/* === АВТОРИТЕТ === */
.authority-section {
  padding: 3rem 0;
  background: var(--light-gray);
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .authority-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.authority-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.authority-logo {
  font-size: 2rem;
}

.authority-text h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
}

.authority-text p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
}

.certificates-row {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-top: 2rem;
}

.certificates-text {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.certificates-text strong {
  color: var(--gray-800);
  font-weight: 600;
}

/* === SEO КОНТЕНТ === */
.seo-content-section {
  padding: 4rem 0;
  background: var(--white);
}

.seo-content h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-800);
  text-align: center;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .seo-content h2 {
    font-size: 2rem;
  }
}

.seo-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .seo-text-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.seo-column h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.seo-column h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-800);
  margin: 2rem 0 1rem 0;
}

.seo-column p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.seo-services-list,
.seo-advantages-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.seo-services-list li,
.seo-advantages-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--gray-600);
}

.seo-services-list li::before {
  content: '🔧';
  position: absolute;
  left: 0;
  top: 0;
}

.seo-advantages-list li::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 0;
}

.seo-services-list li strong,
.seo-advantages-list li strong {
  color: var(--primary-blue);
  font-weight: 600;
}

.seo-detailed-info {
  margin-bottom: 3rem;
}

.seo-detailed-info h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 2.5rem 0 1.5rem 0;
}

.seo-detailed-info p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.seo-detailed-info strong {
  color: var(--primary-blue);
  font-weight: 600;
}

.price-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .price-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.price-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary-blue);
}

.price-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.price-content h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.price-content p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.4;
}

.seo-footer-cta {
  background: var(--gradient-hero);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  color: var(--white);
}

.seo-footer-cta .cta-content h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

@media (max-width: 768px) {
  .seo-footer-cta .cta-content h3 {
    font-size: 1.5rem;
  }
}

.seo-footer-cta .cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.seo-footer-cta .btn {
  background: var(--white);
  color: var(--primary-blue);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}

.seo-footer-cta .btn:hover {
  background: var(--light-gray);
  color: var(--primary-blue);
  transform: translateY(-2px);
} 

/* === КАЛЬКУЛЯТОР С ОПИСАНИЯМИ === */
.option-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  background: var(--white);
}

.option-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.option-card.selected {
  border-color: var(--primary-blue);
  background: var(--blue-50);
}

.option-card .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.option-card .text {
  font-weight: 600;
  color: var(--gray-800);
  display: block;
  margin-bottom: 0.25rem;
}

.option-card .description {
  font-size: 0.8rem;
  color: var(--gray-500);
  display: block;
}

.option-card .badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--orange-500);
  color: var(--white);
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.option-card .badge.discount {
  background: var(--green-500);
}

/* === СЕКЦИЯ ПРОБЛЕМ (ДЕЗИНФЕКЦИЯ) === */
.problems-section {
  padding: 3rem 0;
  background: var(--gray-50);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.problem-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-blue);
}

.problem-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.problem-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.problem-card p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.problem-symptoms {
  margin: 1.5rem 0;
  text-align: left;
}

.symptom {
  display: block;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* === ГАЛЕРЕЯ ВРЕДИТЕЛЕЙ (ДЕЗИНСЕКЦИЯ) === */
.pest-identification-section {
  padding: 3rem 0;
  background: var(--white);
}

.pests-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.pest-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all 0.3s ease;
}

.pest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-blue);
}

.pest-image {
  position: relative;
  background: var(--gradient-light);
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
}

.pest-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.pest-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(59, 130, 246, 0.9);
  color: var(--white);
  padding: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s ease;
}

.pest-card:hover .pest-overlay {
  opacity: 1;
}

.pest-info {
  padding: 1.5rem;
}

.pest-info h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.pest-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.feature {
  background: var(--blue-100);
  color: var(--blue-700);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
}

.pest-damage {
  margin: 1.5rem 0;
}

.pest-damage strong {
  color: var(--gray-800);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}

.pest-damage ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}

.pest-damage li {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.treatment-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.treatment-info .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-600);
}

/* === СЕКЦИЯ ТЕХНОЛОГИЙ (ДЕЗОДОРАЦИЯ) === */
.technologies-section {
  padding: 3rem 0;
  background: var(--gray-50);
}

.technologies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tech-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  position: relative;
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-blue);
}

.tech-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.tech-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.tech-description p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.tech-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.tech-features li {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  padding-left: 0;
}

.tech-effectiveness {
  margin: 1.5rem 0;
}

.effectiveness-label {
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: block;
}

.effectiveness-bar {
  background: var(--gray-200);
  border-radius: var(--radius-full);
  height: 8px;
  overflow: hidden;
  position: relative;
}

.effectiveness-fill {
  background: linear-gradient(90deg, var(--green-400), var(--green-600));
  height: 100%;
  border-radius: var(--radius-full);
  position: relative;
  transition: width 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
}

.tech-best-for {
  background: var(--blue-50);
  padding: 1rem;
  border-radius: var(--radius-lg);
  margin-top: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.tech-best-for strong {
  color: var(--blue-700);
  font-weight: 600;
}

/* === ТАБЛИЦЫ ЦЕН === */
.price-table {
  margin: 2rem 0;
}

.price-table h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1.5rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.pricing-table thead {
  background: var(--gradient-blue);
  color: var(--white);
}

.pricing-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}

.pricing-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}

.pricing-table tbody tr:hover {
  background: var(--gray-50);
}

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

.pricing-table td:first-child {
  font-weight: 600;
  color: var(--gray-800);
}

.pricing-table td:not(:first-child) {
  text-align: center;
  font-weight: 600;
  color: var(--green-600);
}

@media (max-width: 768px) {
  .pricing-table {
    font-size: 0.8rem;
  }
  
  .pricing-table th,
  .pricing-table td {
    padding: 0.75rem 0.5rem;
  }
}

/* === ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ SEO КОНТЕНТА === */
.seo-services-list,
.seo-advantages-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.seo-services-list li,
.seo-advantages-list li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.seo-services-list li:before,
.seo-advantages-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-600);
  font-weight: bold;
}

.seo-services-list li strong,
.seo-advantages-list li strong {
  color: var(--gray-800);
  font-weight: 600;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 768px) {
  .problems-grid,
  .pests-gallery,
  .technologies-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .pest-card,
  .problem-card,
  .tech-card {
    margin: 0 1rem;
  }
  
  .pest-features {
    justify-content: center;
  }
  
  .treatment-info {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
} 

/* Pricing Section Styles */
.pricing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.pricing-card.popular {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fff 0%, #fef3c7 100%);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 30px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.pricing-header p {
    color: #64748b;
    font-size: 16px;
}

.pricing-list {
    margin-bottom: 30px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.price-item:last-child {
    border-bottom: none;
}

.price-item .service {
    font-size: 16px;
    color: #374151;
    flex: 1;
}

.price-item .price {
    font-size: 18px;
    font-weight: 700;
    color: #3b82f6;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
}

.feature-content p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

/* Mobile responsiveness for pricing */
@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .pricing-card {
        padding: 20px;
        margin: 0 10px;
    }
    
    .pricing-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        padding: 20px;
        margin: 30px 10px 0;
    }
    
    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .price-item .price {
        font-size: 16px;
    }
}

/* === НОВЫЕ СТИЛИ ДЛЯ ОБНОВЛЕННОЙ СТРУКТУРЫ === */

/* Ссылки на услуги в заголовках карточек */
.service-link {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #3b82f6;
    text-decoration: underline;
}

/* Действия в карточках услуг */
.service-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.service-actions .btn {
    flex: 1;
    min-width: 120px;
}

.service-actions .btn-outline {
    background: transparent;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.service-actions .btn-outline:hover {
    background: #3b82f6;
    color: #ffffff;
}

/* Секция быстрых ссылок */
.quick-links-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.quick-links-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    transition: all 0.3s ease;
    font-weight: 500;
}

.quick-link:hover {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.quick-link .link-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.quick-link .link-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Адаптивность для новых элементов */
@media (max-width: 768px) {
    .service-actions {
        flex-direction: column;
    }
    
    .service-actions .btn {
        width: 100%;
    }
    
    .quick-link {
        padding: 0.75rem;
    }
    
    .quick-link .link-text {
        font-size: 0.85rem;
    }
} 

/* Очень узкие экраны - исправление калькулятора */
@media (max-width: 348px) {
    /* Контейнер */
    .container {
        padding: 0 8px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Карточка калькулятора */
    .hero-card {
        margin: 0;
        padding: 15px;
        border-radius: 8px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    /* Заголовки карточек */
    .card-header h3 {
        font-size: 16px;
        line-height: 1.3;
    }
    
    .card-header p {
        font-size: 12px;
        line-height: 1.3;
    }
    
    /* Опции */
    .option-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 12px 8px;
        margin: 0;
        border-radius: 8px;
    }
    
    .option-card .icon {
        font-size: 24px;
        margin-bottom: 6px;
    }
    
    .option-card .text {
        font-size: 12px;
        line-height: 1.2;
    }
    
    .option-card .badge {
        font-size: 8px;
        padding: 1px 4px;
        top: -4px;
        right: -4px;
    }
    
    /* Доверительные элементы */
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .trust-item {
        padding: 10px 8px;
    }
    
    .trust-number {
        font-size: 16px;
    }
    
    .trust-label {
        font-size: 10px;
    }
    
    /* Услуги */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-card {
        padding: 15px;
    }
    
    .service-price .price {
        font-size: 18px;
    }
    
    /* Авторитет */
    .authority-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .authority-item {
        padding: 10px 8px;
    }
    
    .authority-text h4 {
        font-size: 14px;
    }
    
    .authority-text p {
        font-size: 11px;
    }
    
    /* Проблемы */
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .problem-card {
        padding: 15px;
    }
    
    /* Вредители */
    .pests-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .pest-card {
        padding: 15px;
    }
    
    .pest-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .treatment-info {
        padding: 15px;
    }
    
    /* Технологии */
    .technologies-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tech-card {
        padding: 15px;
    }
    
    /* Цены */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .pricing-card {
        padding: 15px;
    }
    
    .price-item .price {
        font-size: 14px;
    }
    
    /* Быстрые ссылки */
    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .quick-link {
        padding: 12px;
    }
    
    .quick-link .link-text {
        font-size: 12px;
    }
    
    /* Общие исправления */
    * {
        box-sizing: border-box;
    }
    
    img, video, iframe {
        max-width: 100%;
        height: auto;
    }
    
    table {
        width: 100%;
        max-width: 100%;
        table-layout: fixed;
        font-size: 12px;
    }
    
    .float-left, .float-right {
        float: none;
        width: 100%;
    }
} 