/* ========================================
   RESPONSIVE.CSS — Mobile-First Breakpoints
   pebbitapply.rest
   ======================================== */

/* --- Tablet: 1024px and below --- */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--padding-tablet);
  }

  .section {
    padding: var(--section-spacing-tablet) 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-desc {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

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

  .tech-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .process-grid::before {
    display: none;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-grid.reverse {
    direction: ltr;
  }

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

  .compliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-main {
    display: none;
  }

  .header-cta .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

/* --- Mobile Large: 768px and below --- */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--padding-mobile);
  }

  .section {
    padding: var(--section-spacing-mobile) 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

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

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

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

  .cta-card {
    padding: 48px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .process-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

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

  .page-hero {
    padding: 130px 0 60px;
  }

  .hero-submarine-scene {
    height: 260px;
  }

  .submarine-body {
    width: 200px;
    height: 65px;
  }

  .hero-image-container {
    padding: 16px;
    min-height: 300px;
  }
}

/* --- Mobile Small: 480px and below --- */
@media (max-width: 480px) {
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .glass-card {
    padding: 24px 20px;
  }

  .service-card {
    padding: 28px 20px;
  }

  .contact-form-wrapper {
    padding: 24px 20px;
  }
}

/* --- Large Desktop: 1400px and above --- */
@media (min-width: 1400px) {
  :root {
    --max-width: 1400px;
  }
}

/* --- Print Styles --- */
@media print {
  .site-header,
  .site-footer,
  .bubbles-container,
  .back-to-top,
  .toast,
  .mobile-nav-overlay {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .glass-card,
  .service-card,
  .testimonial-card,
  .stat-item {
    background: #f5f5f5;
    border: 1px solid #ddd;
    box-shadow: none;
    backdrop-filter: none;
  }

  * {
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
  }
}