/* SEO-friendly heading styles for snow removal page */

/* H3 step titles in How It Works section */
.snow-removal-how-it-works__step-title {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin: 12px 0 8px 0;
  text-align: center;
}

/* H3 subtitles */
.snow-removal-before-after__subtitle,
.snow-removal-testimonials__subtitle,
.snow-removal-faq__subtitle {
  font-weight: 400;
  color: #6c757d;
  text-align: center;
  margin-top: 12px;
  margin-bottom: 32px;
}

/* H4 in FAQ questions */
.snow-removal-faq__question h4 {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  padding: 0;
  display: inline;

  @media (max-width: 430px) {
    font-size: 18px;
  }
}

.snow-removal-faq__question h4 span {
  font-weight: 600;
}

/* Related services section */
.snow-removal-related-services {
  background: #f8f9fa;
  padding: 60px 20px;
  margin-top: 40px;
}

.snow-removal-related-services__container {
  max-width: 1200px;
  margin: 0 auto;
}

.snow-removal-related-services__title {
  font-size: 32px;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 32px;
}

.snow-removal-related-services__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.snow-removal-related-link {
  display: block;
  padding: 20px;
  background: white;
  border: 2px solid #38A1DF;
  border-radius: 8px;
  text-align: center;
  color: #38A1DF;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.snow-removal-related-link:hover {
  background: #38A1DF;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(56, 161, 223, 0.3);
}

/* Ensure FAQ answers have proper spacing with internal links */
.snow-removal-faq__answer a {
  color: #38A1DF;
  text-decoration: underline;
  font-weight: 500;
}

.snow-removal-faq__answer a:hover {
  color: #2980b9;
}

/* ===== PROGRESSIVE FAQ LOADING STYLES ===== */

/* Hide the checkbox input (used for CSS-only toggle) */
.snow-removal-faq__toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
}

/* FAQ Groups */
.snow-removal-faq__group--initial {
  display: block;
}

/* Group 2 (CSS-hidden) - hidden by default, shown when checkbox checked */
.snow-removal-faq__group--css-hidden {
  display: none;
  animation: faqFadeIn 0.4s ease-out;
}

/* When checkbox is checked, show group 2 */
.snow-removal-faq__toggle-input:checked~.snow-removal-faq__group--css-hidden {
  display: block;
}

/* AJAX group styling */
.snow-removal-faq__group--ajax {
  animation: faqFadeIn 0.4s ease-out;
}

.snow-removal-faq__group--ajax[style*="display: block"] {
  display: block !important;
}

/* Show More Button (CSS-only toggle) */
.snow-removal-faq__show-more-btn {
  font-family: 'ProximaNova' !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px auto;
  padding: 14px 28px;
  background-color: #fff;
  color: #ff8800;
  border: solid 1px #f80;
  /* height: 64px; */
  width: 215px;
  border-radius: 32px;
  font-size: 18px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
}

.snow-removal-faq__show-more-btn .snow-removal-faq__show-more-text {
  font-size: 18px !important;
  font-weight: 600 !important;
}

.snow-removal-faq__show-more-btn:hover {
  background: #faf7f9;
  transform: translateY(-2px);
}

.snow-removal-faq__show-more-icon {
  transition: transform 0.3s ease;
}

/* Toggle button text states */
.snow-removal-faq__show-less-text {
  display: none;
}

.snow-removal-faq__toggle-input:checked~.snow-removal-faq__show-more-btn--css .snow-removal-faq__show-more-text {
  display: none;
}

.snow-removal-faq__toggle-input:checked~.snow-removal-faq__show-more-btn--css .snow-removal-faq__show-less-text {
  display: inline;
}

.snow-removal-faq__toggle-input:checked~.snow-removal-faq__show-more-btn--css .snow-removal-faq__show-more-icon {
  transform: rotate(180deg);
}

/* Load More Button (AJAX) */
.snow-removal-faq__load-more-btn {
  height: 64px;
  width: 215px;
  font-family: 'ProximaNova' !important;
  border-radius: 32px;
  border: solid 1px #f80;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto 0;
  font-size: 18px !important;
  font-weight: 600 !important;
  cursor: pointer;
  color: #ff8800 !important;
  background-color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.snow-removal-faq__load-more-btn:hover {
  background: #faf7f9;
  transform: translateY(-2px);
}

.snow-removal-faq__load-more-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.snow-removal-faq__load-more-icon {
  transition: transform 0.3s ease;
}

/* Loading spinner */
.snow-removal-faq__spinner {
  animation: faqSpin 1s linear infinite;
}

@keyframes faqSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* AJAX loaded group */
.snow-removal-faq__group--ajax {
  animation: faqFadeIn 0.4s ease-out;
}

.snow-removal-faq__group--ajax:empty {
  display: none;
}

/* Fade in animation for new FAQs */
@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Noscript fallback styles */
.snow-removal-faq__group--noscript {
  margin-top: 20px;
}

.snow-removal-faq__details {
  background: white;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  -webkit-overflow-scrolling: touch;
}

.snow-removal-faq__summary {
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.snow-removal-faq__summary::-webkit-details-marker {
  display: none;
}

.snow-removal-faq__summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: #38A1DF;
  transition: transform 0.3s ease;
}

.snow-removal-faq__details[open] .snow-removal-faq__summary::after {
  content: '−';
}

.snow-removal-faq__summary h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #2c3e50;
}

.snow-removal-faq__answer-noscript {
  padding: 0 24px 20px;
  color: #4a5568;
  line-height: 1.7;
}

/* Center the buttons in container */
.snow-removal-faq__container {
  text-align: center;
}

.snow-removal-faq__group,
.snow-removal-faq__item {
  text-align: left;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .snow-removal-how-it-works__step-title {
    font-size: 16px;
  }

  .snow-removal-related-services {
    padding: 40px 15px;
  }

  .snow-removal-related-services__title {
    font-size: 24px;
  }

  .snow-removal-related-services__links {
    grid-template-columns: 1fr;
  }

  .snow-removal-faq__show-more-btn,
  .snow-removal-faq__load-more-btn {
    max-width: 300px;
  }

  .snow-removal-faq__summary {
    padding: 16px 18px;
  }

  .snow-removal-faq__summary h4 {
    font-size: 16px;
  }
}

/* Service Options Section */
.snow-removal-service-options {
  background: #f9fafb;
  /* Lighter background for the section */
  padding: 80px 20px;
  font-family: 'ProximaNova', sans-serif;
  overflow: hidden;
}

.snow-removal-service-options__container {
  max-width: 1200px;
  /* Increased width */
  margin: 0 auto;
}

.snow-removal-service-options__header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 1000px;
  /* Increased to allow single line text */
  margin-left: auto;
  margin-right: auto;
}

.snow-removal-service-options__title {
  font-size: 42px;
  font-weight: 700;
  color: #144961;
  margin-bottom: 16px;
  line-height: 1.2;
}

.snow-removal-service-options__subtitle {
  font-size: 20px;
  color: #546e7a;
  line-height: 1.5;
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto;
}

.snow-removal-service-options__cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  align-items: stretch;
}

/* Card Styles - Redesigned to be cleaner */
.snow-removal-card {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  background: #fff;
  border-radius: 12px;
  /* Softer radius */
  padding: 40px 30px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid #edf2f7;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.snow-removal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Standard Card */
.snow-removal-card--standard {
  border-top: 5px solid #bdc3c7;
  /* Subtle visual cue */
}

/* Premium Card - "GreenPal" Style implementation */
.snow-removal-card--premium {
  border: 1px solid #38A1DF;
  /* GreenPal Blue border */
  border-top: 5px solid #EF9A1A;
  /* Orange accent for premium */
  box-shadow: 0 10px 30px rgba(56, 161, 223, 0.15);
  background: #fff;
  color: #2c3e50;
  /* Reset text color */
}

/* Badge - Refined */
.snow-removal-card__badge {
  position: absolute;
  top: -15px;
  /* Half in half out */
  right: 20px;
  /* Aligned right */
  left: auto;
  transform: none;
  background: #EF9A1A;
  /* Orange */
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 10px rgba(239, 154, 26, 0.3);
}

/* Icons */
.snow-removal-card__icon-wrapper {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.snow-removal-card__icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #38A1DF;
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.snow-removal-card__icon-number {
  color: #38A1DF;
  font-size: 24px;
  font-weight: 700;
}

/* Titles */
.snow-removal-card__title {
  font-size: 26px;
  /* Slightly larger */
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #2c3e50;
  text-align: center;
}

.snow-removal-card__title--light {
  color: #2c3e50;
  /* Kept dark for white card */
}

/* Description */
.snow-removal-card__description {
  font-size: 16px;
  color: #7f8c8d;
  margin: 0 0 30px 0;
  line-height: 1.6;
  text-align: center;
}

.snow-removal-card__description--light {
  color: #7f8c8d;
}

/* Divider */
.snow-removal-card__divider {
  height: 1px;
  background: #f1f1f1;
  width: 100%;
  margin-bottom: 30px;
}

.snow-removal-card__divider--light {
  background: #f1f1f1;
}

/* Features List */
.snow-removal-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.snow-removal-card__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: #34495e;
}

.snow-removal-card__feature--light {
  color: #34495e;
}

.snow-removal-card__check {
  flex-shrink: 0;
  color: #EF9A1A;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .snow-removal-service-options {
    padding: 60px 15px;
  }

  .snow-removal-service-options__title {
    font-size: 32px;
    line-height: 1.2;
  }

  .snow-removal-service-options__subtitle {
    font-size: 18px;
  }

  .snow-removal-service-options__header {
    margin-bottom: 40px;
  }

  .snow-removal-service-options__cards {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .snow-removal-card {
    width: 100%;
    margin: 0;
    max-width: 100%;
    /* Ensure it doesn't overflow container */
    box-sizing: border-box;
    /* Critical for padding */
  }

  /* Fix badge overflow on small screens */
  .snow-removal-card--premium {
    margin-top: 20px;
    /* Give space for badge */
    overflow: visible;
    /* Ensure badge is visible */
  }

  .snow-removal-card__badge {
    right: 50%;
    transform: translateX(50%);
    /* Center badge on mobile */
    top: -16px;
    width: auto;
    white-space: nowrap;
    font-size: 12px;
    padding: 6px 16px;
  }
}

@media (max-width: 400px) {
  .snow-removal-service-options {
    padding: 40px 10px;
  }

  .snow-removal-service-options__title {
    font-size: 26px;
  }

  .snow-removal-card {
    padding: 30px 15px;
    /* Reduce padding on very small screens */
  }

  .snow-removal-card__title {
    font-size: 22px;
  }

  .snow-removal-card__badge {
    font-size: 11px;
    padding: 5px 12px;
  }
}

/* Guarantee Section */
.snow-removal-guarantee {
  background: linear-gradient(90deg, #E6F3FA 0%, #F5FAFD 100%);
  /* Snow removal color scheme gradient */
  padding: 50px 20px;
  border-bottom: 1px solid #e1e8ed;
  margin-bottom: 80px;
  /* Spacing before next section on desktop */
}

.snow-removal-guarantee__container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  text-align: left;
}

.snow-removal-guarantee__icon {
  flex-shrink: 0;
}

.snow-removal-guarantee__content {
  max-width: 600px;
}

.snow-removal-guarantee__title {
  font-size: 30px;
  /* Increased from 24px */
  font-weight: 700;
  color: #144961;
  margin: 0 0 10px 0;
}

.snow-removal-guarantee__text {
  font-size: 24px;
  /* Increased from 18px */
  color: #546e7a;
  line-height: 1.5;
  margin: 0;
}

.snow-removal-guarantee__text strong {
  color: #144961;
  font-weight: 600;
}

/* Mobile Responsiveness for Guarantee */
@media (max-width: 768px) {
  .snow-removal-guarantee {
    padding: 40px 15px;
    background: linear-gradient(180deg, #E6F3FA 0%, #F5FAFD 100%);
    /* Top to bottom on mobile */
    margin-bottom: 40px;
    /* Reduce spacing on mobile */
  }

  .snow-removal-guarantee__container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .snow-removal-guarantee__title {
    font-size: 22px;
  }

  .snow-removal-guarantee__text {
    font-size: 16px;
  }
}
