/* ============================================
   RESPONSIVE STYLESHEET
   Mobile-First Breakpoints
   ============================================ */

/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
  :root {
    --section-gap: 80px;
  }

  .container {
    padding-left: var(--padding-tablet);
    padding-right: var(--padding-tablet);
  }

  .section {
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
  }

  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }

  /* Header */
  .nav__list {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: var(--space-4xl);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .hero__content {
    max-width: 100%;
    text-align: center;
  }

  .hero__title {
    font-size: var(--text-4xl);
  }

  .hero__subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    max-width: 560px;
    margin: 0 auto;
  }

  .hero__image {
    height: 400px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Story */
  .story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .story-grid--reversed {
    direction: ltr;
  }

  .story__content {
    max-width: 100%;
  }

  .story__image {
    height: 360px;
  }

  /* Products */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Subscription */
  .subscription-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

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

  /* Map */
  .map-section__inner {
    grid-template-columns: 1fr;
  }

  .map-placeholder {
    height: 350px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: span 2;
    max-width: 100%;
  }

  /* Page Hero */
  .page-hero {
    padding-top: 120px;
  }

  .page-hero__title {
    font-size: var(--text-4xl);
  }

  /* Sustainability */
  .sustainability-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: below 768px */
@media (max-width: 767px) {
  :root {
    --section-gap: 60px;
  }

  .container {
    padding-left: var(--padding-mobile);
    padding-right: var(--padding-mobile);
  }

  .section {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
  }

  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  h3 { font-size: var(--text-xl); }

  /* Header */
  .header__inner {
    height: 60px;
  }

  .header__logo {
    font-size: var(--text-lg);
  }

  .header__logo svg {
    width: 32px;
    height: 32px;
  }

  .header .btn {
    display: none;
  }

  /* Hero */
  .hero {
    padding-top: 110px;
    padding-bottom: var(--space-3xl);
  }

  .hero__title {
    font-size: var(--text-3xl);
  }

  .hero__subtitle {
    font-size: var(--text-base);
  }

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

  .hero__actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--space-lg);
    align-items: center;
  }

  .hero__image {
    height: 300px;
  }

  .hero__float-card--top {
    top: 10px;
    right: 10px;
  }

  .hero__float-card--bottom {
    bottom: 10px;
    left: 10px;
  }

  .hero__float-card {
    padding: var(--space-sm) var(--space-md);
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Products */
  .products-grid {
    grid-template-columns: 1fr;
  }

  /* Subscription */
  .subscription-grid {
    grid-template-columns: 1fr;
  }

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

  /* CTA Banner */
  .cta-banner {
    padding: var(--space-2xl) var(--space-lg);
  }

  .cta-banner__title {
    font-size: var(--text-2xl);
  }

  .cta-banner__form {
    flex-direction: column;
  }

  .cta-banner__btn {
    width: 100%;
  }

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

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__brand {
    grid-column: span 1;
  }

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

  /* Page Hero */
  .page-hero {
    padding-top: 100px;
    padding-bottom: var(--space-2xl);
  }

  .page-hero__title {
    font-size: var(--text-3xl);
  }

  /* Legal */
  .legal-content h1 {
    font-size: var(--text-3xl);
  }

  .legal-content .trust-icons {
    flex-direction: column;
    gap: var(--space-md);
  }

  /* Sustainability */
  .sustainability-grid {
    grid-template-columns: 1fr;
  }

  .sustainability-stat__number {
    font-size: var(--text-4xl);
  }

  /* Plan card */
  .plan-card {
    padding: var(--space-xl);
  }

  /* Map */
  .map-placeholder {
    height: 280px;
  }

  /* Section headers */
  .section__title {
    font-size: var(--text-2xl);
  }
}

/* Small mobile: below 400px */
@media (max-width: 399px) {
  h1 { font-size: var(--text-2xl); }
  
  .hero__title {
    font-size: var(--text-2xl);
  }

  .header__logo-text {
    display: none;
  }

  .plan-card__price {
    font-size: var(--text-3xl);
  }
}

/* Large screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero__particle {
    display: none;
  }
}

/* High contrast */
@media (prefers-contrast: high) {
  .glass-card,
  .product-card,
  .plan-card,
  .testimonial-card,
  .map-location {
    border-width: 2px;
    border-color: var(--text-primary);
  }

  .nav__link::after {
    height: 3px;
  }
}

/* Print */
@media print {
  .header,
  .mobile-nav,
  .cta-banner,
  .hero__particles,
  .btn {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .section {
    padding: 20px 0;
  }
}