/* Print Hybrid - Responsive Styles */

/* ============================================
   TABLET (1024px and below)
   ============================================ */

@media (max-width: 1024px) {
  :root {
    --section-padding: 60px 0;
  }

  .hero-content {
    gap: 40px;
  }

  .hero-logo {
    width: 400px;
    max-width: 400px;
  }

  .hero-tagline h1 {
    font-size: 72px;
    line-height: 65px;
  }

  .tagline-rotate .text-yellow {
    font-size: 54px;
  }

  .value-prop-content {
    gap: 40px;
  }

  .services-grid {
    gap: 20px;
  }

  .faq-grid {
    gap: 20px;
  }

  .twenty-years {
    gap: 40px;
    padding: 60px 20px;
  }

  .what-is-grid {
    gap: 40px;
  }

  .location-content {
    gap: 40px;
  }

  .robot-left,
  .robot-right {
    max-width: 150px;
  }
}

/* ============================================
   TABLET PORTRAIT (768px and below)
   ============================================ */

@media (max-width: 768px) {
  :root {
    --section-padding: 50px 0;
  }

  .hero {
    padding: 80px 20px 40px;
    justify-content: center;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 30px;
  }

  .hero-logo {
    width: 280px;
    max-width: 280px;
  }

  .hero-tagline {
    text-align: center;
  }

  .hero-tagline h1 {
    font-size: 48px;
    line-height: 45px;
  }

  .tagline-rotate .text-yellow {
    font-size: 36px;
  }

  .hero-tagline .tagline-lines {
    margin: 0 auto 15px;
    max-width: 350px;
  }

  .value-prop-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .value-prop-text {
    order: 1;
  }

  .value-prop-image {
    order: 2;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .flip-card {
    height: 280px;
  }

  .service-card {
    aspect-ratio: 16/9;
  }

  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }

  .twenty-years {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .twenty-years-image {
    order: 2;
  }

  .twenty-years-text {
    order: 1;
  }

  .twenty-years-image img {
    max-width: 350px;
    margin: 0 auto;
  }

  .what-is-grid {
    grid-template-columns: 1fr;
  }

  .what-is-card {
    padding: 40px 30px;
  }

  .location-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .location-info {
    order: 1;
  }

  .location-map {
    order: 2;
  }

  .location-item {
    justify-content: center;
  }

  .location-map iframe {
    height: 300px;
  }

  .robot-left,
  .robot-right {
    max-width: 120px;
  }

  .nav-overlay {
    max-width: 100%;
  }

  /* Nav text sizing handled by cqw in main.css - scales with panel width */

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}

/* ============================================
   MOBILE (480px and below)
   ============================================ */

@media (max-width: 480px) {
  :root {
    --section-padding: 40px 0;
    --container-padding: 0 15px;
  }

  .hero {
    min-height: auto;
    padding: 100px 15px 40px;
  }

  .hero-logo {
    width: 220px;
    max-width: 220px;
  }

  .hero-tagline h1 {
    font-size: 36px;
    line-height: 34px;
  }

  .tagline-rotate .text-yellow {
    font-size: 28px;
  }

  .hero-tagline .tagline-lines {
    max-width: 280px;
  }

  .services-grid {
    gap: 15px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-card {
    padding: 30px 20px;
    min-height: 200px;
  }

  .faq-card .question-mark {
    font-size: 2.5rem;
  }

  .faq-card h4 {
    font-size: 1.1rem;
  }

  .integrity-section {
    padding: 60px 15px;
  }

  .twenty-years {
    padding: 40px 15px;
  }

  .what-is-section {
    padding: 60px 15px;
  }

  .location-section {
    padding: 60px 15px;
  }

  .location-map iframe {
    height: 250px;
  }

  .robot-left,
  .robot-right {
    display: none;
  }

  .btn {
    font-size: 1rem;
    padding: 12px 30px;
  }

  .footer {
    padding: 30px 15px;
  }
}

/* ============================================
   SMALL MOBILE (375px and below)
   ============================================ */

@media (max-width: 375px) {
  .hero-logo {
    max-width: 180px;
  }

  .hero-tagline h1 {
    font-size: 1.5rem;
  }

  .section-heading {
    font-size: 1.75rem;
  }

  .integrity-section h2,
  .faq-section h2,
  .twenty-years-text h2,
  .location-info h2 {
    font-size: 1.75rem;
  }

  .what-is-card h3 {
    font-size: 1.5rem;
  }
}

/* ============================================
   LARGE SCREENS (1440px and above)
   ============================================ */

@media (min-width: 1440px) {
  :root {
    --section-padding: 100px 0;
  }

  .hero-logo {
    max-width: 450px;
  }

  .services-grid {
    max-width: 1400px;
  }

  .robot-left,
  .robot-right {
    max-width: 250px;
  }
}

/* ============================================
   HEIGHT ADJUSTMENTS
   ============================================ */

@media (max-height: 700px) {
  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 40px;
  }
}

/* ============================================
   LANDSCAPE MOBILE
   ============================================ */

@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 60px 20px 30px;
  }

  .hero-content {
    flex-direction: row;
    gap: 30px;
  }

  .hero-logo {
    max-width: 150px;
  }

  .hero-tagline h1 {
    font-size: 1.5rem;
  }

  .nav-overlay {
    padding: 20px;
  }

  /* Nav text sizing handled by cqw in main.css */
}
