/* Move-Out Cleaning Las Vegas - Mobile Specific Styles */

/* Mobile-First Overrides (320px - 767px) */
@media (max-width: 767px) {
  .container {
    padding: 0 15px;
  }

  /* Typography adjustments for mobile */
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  p {
    font-size: 1rem;
  }

  /* Hero section mobile rebuild — mobile-first stack, no viewport-based height */
  .hero {
    display: block; /* override desktop flex */
    height: auto;
    min-height: initial;
    padding: 56px 0 24px; /* more top spacing under nav, tighter bottom */
    overflow: hidden; /* keep bg clipped */
  }

  .hero h1 {
    font-size: clamp(1.6rem, 5.5vw, 2.2rem);
    line-height: 1.15;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
  }

  .hero-subtitle {
    font-size: clamp(1rem, 3.8vw, 1.2rem);
    margin-bottom: 8px;
  }

  .hero-description {
    font-size: clamp(0.95rem, 3.4vw, 1.05rem);
    margin: 0 auto 16px;
    max-width: 38ch;
  }

  .cta-button {
    width: 100%;
    max-width: 340px;
    padding: 14px 18px;
    font-size: 1rem;
    margin: 8px auto 12px;
    display: inline-flex;
    justify-content: center;
  }

  .hero-trust {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    width: 100%;
    max-width: 360px;
    margin: 12px auto 0;
  }

  .hero-trust span {
    font-size: 0.95rem;
    text-align: left;
    white-space: normal;
    padding: 10px 12px;
    width: 100%;
    max-width: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.3;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
  }

  .hero-trust .icon-check {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--white);
  }

  /* Reviews section mobile — rebuild spacing to avoid overlap */
  .reviews-section {
    height: auto;
    min-height: initial;
    padding: 28px 0 24px;
  }

  .reviews-section .container {
    max-width: 100%;
    padding: 0 15px;
  }

  .reviews-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .reviews-header h2 {
    font-size: 1.5rem;
    margin: 0;
    text-align: center;
  }

  .platform-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 1.5rem auto;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .tab-button {
    width: 100%;
    min-height: 52px;
    padding: 16px 20px;
    gap: 10px;
    justify-content: center;
    text-align: center;
  }

  .reviews-content {
    margin-top: 14px; /* ensure clearance under tabs */
  }

  .reviews-carousel {
    margin-top: 6px;
  }

  .reviews-intro {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .reviews-stats {
    gap: 10px;
    margin-bottom: 12px;
  }

  .review-stat {
    padding: 0.75rem;
    min-width: 100px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .reviews-platforms {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .platform-reviews {
    padding: 1rem;
    min-width: auto;
    max-width: none;
  }

  .platform-header {
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .brand-logo {
    height: 36px;
    max-width: 120px;
  }

  .platform-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
  }

  .platform-rating {
    gap: 0.5rem;
  }

  .rating-number {
    font-size: 1.2rem;
  }

  .rating-stars {
    font-size: 1rem;
  }

  .rating-count {
    font-size: 0.8rem;
  }

  .platform-summary {
    font-size: 0.85rem;
    margin-top: 0.25rem;
  }

  .reviews-cta {
    padding: 1rem;
  }

  .cta-text {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .reviews-cta .cta-button {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .review-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .review-link {
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  /* Button adjustments for mobile */
  .btn-primary {
    padding: 14px 24px;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
  }

  .btn-primary.large {
    padding: 18px 32px;
    font-size: 1.1rem;
  }

  /* Section padding adjustments */
  .why-section,
  .services-section,
  .process-section,
  .testimonials-section,
  .faq-section {
    padding: 60px 0;
  }

  .final-cta-section {
    padding: 60px 0;
  }

  /* Grid adjustments for mobile */
  .benefits-grid,
  .services-grid,
  .process-steps,
  .testimonials-grid,
  .faq-grid,
  .before-after-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Before/After component mobile adjustments */
  .before-after-container {
    padding: 1.5rem;
  }

  .before-after-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .image-container {
    aspect-ratio: 16/9;
    min-height: 250px;
  }

  .service-badge {
    font-size: 1rem;
    padding: 0;
    gap: 0.5rem;
  }

  .transformation-details {
    padding: 1rem;
    gap: 0.75rem;
  }

  .detail-item {
    font-size: 0.9rem;
  }

  .results-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .results-cta {
    padding: 1.5rem;
  }

  .results-guarantee {
    font-size: 1rem;
  }

  /* Mobile styles for new guarantee section */
  .guarantee-section {
    padding: 2rem 1.5rem;
    margin-top: 1.5rem;
  }

  .guarantee-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .guarantee-badge-new {
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .guarantee-badge-new h3 {
    font-size: 1.6rem;
  }

  .guarantee-icon {
    font-size: 2rem;
  }

  .guarantee-description {
    font-size: 1rem;
    text-align: center;
  }

  .guarantee-features {
    align-items: center;
  }

  .feature-item {
    justify-content: center;
    font-size: 0.9rem;
  }

  .guarantee-image {
    order: -1;
  }

  .cleaner-headshot {
    width: 200px;
    height: 200px;
  }

  /* Why Choose Section - Left align text on mobile */
  .benefit {
    text-align: left;
  }

  .benefit h3 {
    justify-content: flex-start;
  }

  .image-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .guarantee-cta {
    padding-top: 1.5rem;
  }

  /* Card padding adjustments */
  .benefit,
  .service,
  .step,
  .testimonial,
  .faq-item {
    padding: 1.5rem;
  }

  /* Final CTA section mobile */
  .final-cta-section h2 {
    font-size: 1.8rem;
  }

  .final-cta-section p {
    font-size: 1rem;
  }

  /* Footer adjustments */
  .footer {
    padding: 30px 0 15px 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 1rem;
  }

  /* Touch-friendly improvements */
  .cta-button,
  .btn-primary {
    min-height: 48px;
    min-width: 48px;
  }

  /* Improved readability on small screens */
  .service li,
  .faq-item p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* Contact info mobile styling */
  .contact-info {
    margin-top: 1.5rem;
  }

  .contact-info p {
    font-size: 0.9rem;
  }

  /* Make mobile header logo 15% larger */
  .vb-logo-icon {
    height: 37px; /* was 32px in header.css; 32 * 1.15 ≈ 36.8 */
  }
}

/* Extra small devices (320px and down) */
@media (max-width: 320px) {
  .container {
    padding: 0 10px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .btn-primary {
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .benefit,
  .service,
  .step,
  .testimonial,
  .faq-item {
    padding: 1rem;
  }
}
