/* ═══════════════════════════════════════════════════════
   1440px — Wide monitors
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1440px) {
  .hero-content {
    gap: var(--space-7);
  }
}

/* ═══════════════════════════════════════════════════════
   1024px — Laptops, small desktops
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Nav */
  .logo img {
    height: 50px;
  }

  .navbar {
    padding-inline: var(--space-5);
  }

  .nav-links a {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }

  /* Hero */
  .hero {
    padding-top: 120px;
  }

  .hero-content {
    gap: var(--space-6);
  }

  .hero-image-main {
    max-width: 440px;
    max-height: 440px;
  }

  .hero-description {
    font-size: 1rem;
  }

  /* Products */
  .products-rows {
    gap: var(--space-7);
  }

  .product-row {
    gap: var(--space-6);
  }

  /* Projects */
  .project-row {
    gap: var(--space-5);
  }

  .project-panel {
    padding: var(--space-4) var(--space-5);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--space-6);
  }

  .footer-newsletter {
    grid-column: 1 / -1;
    max-width: 400px;
  }
}

/* ═══════════════════════════════════════════════════════
   768px — Tablets, nav switches to mobile
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Nav — switch to mobile */
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
  }

  .logo img {
    height: 42px;
  }

  .site-header {
    background: var(--cream);
  }

  .navbar {
    position: relative;
    flex-wrap: wrap;
    padding-inline: var(--space-4);
  }

  .hero-bg-image {
    background-attachment: scroll;
  }

  .section-bg-image {
    background-attachment: scroll;
  }

  /* Hero — single column */
  .hero {
    padding: 110px 0 var(--space-7);
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-7);
    text-align: center;
  }

  .hero-text {
    max-width: none;
  }

  .hero-description {
    max-width: none;
    margin-inline: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    align-items: center;
  }

  .hero-image-main {
    max-width: 420px;
    min-height: 400px;
    overflow: hidden;
    margin-top: 0;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  .about-heading {
    font-size: 1.875rem;
  }

  .about-datasheet {
    margin: calc(-1 * var(--space-6)) var(--space-4) 0;
  }

  .about-ds-row {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  /* About + Process — tighter mobile padding */
  .about {
    padding: var(--space-8) 0 0;
  }

  .process {
    padding: var(--space-8) 0 0;
  }

  /* Process — single column */
  .process-layout {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  .process-intro {
    position: static;
  }

  .process-title {
    font-size: 1.75rem;
  }

  /* Products — single column rows */
  .products {
    padding: var(--space-8) 0 0;
  }

  .products-header {
    max-width: none;
  }

  .product-row {
    grid-template-columns: 1fr;
    padding: var(--space-5) 0;
  }

  .product-row.is-reversed {
    direction: ltr;
  }

  .product-row-image-wrap {
    height: auto;
    aspect-ratio: 2 / 3;
  }

  .product-row-title {
    font-size: 1.8rem;
  }

  /* Trust strip */
  .trust-strip {
    padding: var(--space-8) 0;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  /* Partnership CTA */
  .partnership-cta {
    padding: var(--space-8) 0;
  }

  .partnership-card {
    padding: var(--space-6) var(--space-5);
  }

  .partnership-buttons {
    flex-direction: column;
    align-items: center;
  }

  .partnership-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Contact page */
  .contact-page {
    padding: 110px 0 var(--space-7);
  }

  .contact-hero {
    margin-bottom: var(--space-7);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-form-panel {
    padding: var(--space-6) var(--space-5);
  }

  .contact-sidebar {
    padding: var(--space-6) var(--space-5);
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-checkbox-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .newsletter-input input,
  .newsletter-btn {
    width: 100%;
  }

  /* Section CTA */
  .section-cta {
    padding: var(--space-6) var(--space-5);
  }

  /* CTA panel */
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-panel-main {
    padding: var(--space-7) var(--space-6);
  }

  /* Product carousel */
  .product-carousel-track {
    height: auto;
  }

  .product-carousel-arrow {
    width: 34px;
    height: 34px;
  }

  /* Projects */
  .project-row {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .project-row.is-reversed {
    direction: ltr;
  }

  .projects-header {
    margin-bottom: var(--space-5);
  }

  .cta-panel-side {
    border-left: none;
    border-top: 1px solid rgba(244, 241, 230, 0.14);
    padding: var(--space-6);
  }

  /* Projects page */
  .projects-page {
    padding: 110px 0 var(--space-7);
  }

  .projects-page-hero {
    margin-bottom: var(--space-7);
  }

  /* Testimonials */
  .testimonial-quote {
    font-size: 1rem;
  }
}

/* ═══════════════════════════════════════════════════════
   480px — Large phones
   ═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* Container tighter gutter */
  .container {
    width: 92%;
  }

  /* Hero */
  .hero {
    padding: 100px 0 var(--space-6);
  }

  .hero-content {
    gap: var(--space-6);
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-image-main {
    max-width: none;
    width: 100%;
    min-height: 360px;
    margin-top: 0;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .hero-buttons .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  /* Process */
  .process-step {
    padding: var(--space-4) 0 var(--space-4) var(--space-4);
  }

  .product-carousel-arrow {
    width: 30px;
    height: 30px;
  }

  .product-carousel-prev {
    left: var(--space-2);
  }

  .product-carousel-next {
    right: var(--space-2);
  }

  .product-row-title {
    font-size: 1.5rem;
  }

  .product-row-description {
    font-size: 0.9rem;
  }

  .product-row-cta {
    flex-wrap: wrap;
    gap: var(--space-4);
  }

  /* Trust strip */
  .trust-grid {
    gap: var(--space-5);
  }

  .stats-dark .stat-number {
    font-size: 1.8rem;
  }

  .stats-dark .stat-label {
    font-size: 0.75rem;
  }

  /* Contact */
  .contact-form-panel {
    padding: var(--space-5) var(--space-4);
  }

  .contact-sidebar {
    padding: var(--space-5) var(--space-4);
  }

  /* Footer */
  .footer-main {
    padding: var(--space-7) 0 var(--space-6);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Projects */
  .project-panel {
    padding: var(--space-4);
  }

  .project-panel-line {
    flex-direction: column;
    gap: var(--space-1);
    align-items: flex-start;
  }

  .project-panel-value {
    text-align: left;
  }

  .project-row-title {
    font-size: 1.4rem;
  }

  /* CTA panel */
  .cta-panel-main {
    padding: var(--space-6) var(--space-5);
  }

  .cta-panel-side {
    padding: var(--space-5);
  }

  /* Projects page */
  .projects-page {
    padding: 100px 0 var(--space-6);
  }

  .projects-page-hero {
    margin-bottom: var(--space-6);
  }

  /* Testimonials */
  .testimonial-carousel {
    padding: 0;
  }
}

/* ═══════════════════════════════════════════════════════
   375px — Small phones (iPhone SE, older Android)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 375px) {
  .container {
    width: 94%;
  }

  /* Hero */
  .hero {
    padding: 90px 0 var(--space-5);
  }

  .hero-badge .badge {
    font-size: 0.7rem;
    padding: 5px 14px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
    display: flex;
  }

  .hero-image-main {
    max-width: none;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .product-row-title {
    font-size: 1.3rem;
  }

  /* Trust strip */
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }

  .stats-dark .stat-number {
    font-size: 1.5rem;
  }

  /* Partnership */
  .partnership-title {
    font-size: 1.5rem;
  }

  .partnership-text {
    font-size: 0.95rem;
  }

  .partnership-card {
    padding: var(--space-5) var(--space-4);
  }

  /* Testimonials */
  .testimonial-quote {
    font-size: 0.9375rem;
  }

  .testimonial-arrow {
    width: 32px;
    height: 32px;
  }

  /* Contact */
  .contact-hero {
    margin-bottom: var(--space-6);
  }

}