/* =========================================
   RESPONSIVE.CSS — Sannaly Website
   Breakpoints: 1920 | 1366 | 1024 | 768 | 480 | 375
   ========================================= */

/* ---- LARGE SCREENS (1920px+) ---- */
@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
  }

  .hero-title {
    font-size: 4.5rem;
  }

  .section-title {
    font-size: 2.8rem;
  }

  .cards-grid-3 {
    gap: 2.5rem;
  }

  .cards-grid-2 {
    gap: 2.5rem;
  }

  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* ---- STANDARD DESKTOP (1366px and below) ---- */
@media (max-width: 1366px) {
  .container {
    max-width: 1200px;
    padding: 0 2rem;
  }

  .hero-title {
    font-size: 3rem;
  }
}

/* ---- TABLET LANDSCAPE / SMALL DESKTOP (1024px) ---- */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  /* Nav */
  .nav-links {
    gap: 1.5rem;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  /* Hero */
  .hero {
    padding: 7rem 0 4rem;
  }

  .hero-title {
    font-size: 2.6rem;
  }

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

  .hero-stats {
    gap: 2rem;
  }

  /* Sections */
  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  /* Grids */
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-grid-2 {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: 0 auto;
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Split sections */
  .split-section {
    gap: 3rem;
  }

  .split-section,
  .split-reverse {
    flex-direction: column;
  }

  .split-visual {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  /* Timeline */
  .timeline {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .timeline-connector {
    display: none;
  }

  .timeline-step {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 160px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .footer-col-wide {
    grid-column: 1 / -1;
  }

  /* Newsletter */
  .newsletter-block {
    flex-direction: column;
    gap: 2.5rem;
  }

  .newsletter-content,
  .newsletter-form-wrap {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ---- TABLET PORTRAIT (768px) ---- */
@media (max-width: 768px) {
  /* Header */
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  /* Mobile menu */
  .mobile-menu {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid rgba(184, 116, 61, 0.2);
    margin-top: 0.5rem;
  }

  .mobile-menu.open {
    display: block;
  }

  .mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .mobile-menu ul li a {
    display: block;
    padding: 0.75rem 0;
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(184, 116, 61, 0.1);
    transition: color 0.2s;
  }

  .mobile-menu ul li a:hover {
    color: var(--accent-copper);
  }

  /* Hero */
  .hero {
    padding: 6rem 0 3rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.2rem;
  }

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

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .hero-stat-sep {
    display: none;
  }

  .hero-badge {
    margin: 0 auto 1rem;
  }

  /* Sections */
  .section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Grids */
  .cards-grid-3 {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

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

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

  /* Timeline */
  .timeline {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .timeline-step {
    width: 100%;
    max-width: 500px;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }

  .timeline-content {
    text-align: center;
  }

  /* Split sections */
  .split-section,
  .split-reverse {
    flex-direction: column;
    text-align: center;
  }

  .checklist {
    text-align: right;
  }

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

  .cta-group .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* CTA Section */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-col-wide {
    grid-column: auto;
  }

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

  /* Page hero */
  .page-hero {
    padding: 5rem 0 3rem;
  }

  .page-hero-title {
    font-size: 2rem;
  }

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

  /* Manifesto teaser */
  .manifesto-teaser {
    padding: 2.5rem 1.5rem;
  }

  .manifesto-title {
    font-size: 1.6rem;
  }

  /* Newsletter block */
  .newsletter-block {
    flex-direction: column;
  }

  /* Callout */
  .callout {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  /* Contact cards */
  .contact-cards {
    grid-template-columns: 1fr;
  }

  /* Visual cards */
  .visual-card {
    padding: 1.5rem;
  }

  /* Incubator steps */
  .incubator-steps {
    gap: 1.5rem;
  }

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

  .incubator-step-num {
    margin: 0 auto;
  }

  /* Criteria grid */
  .criteria-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- MOBILE (480px) ---- */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  /* Header */
  .logo-en {
    display: none;
  }

  /* Hero */
  .hero-title {
    font-size: 1.9rem;
    line-height: 1.3;
  }

  .hero-badge {
    font-size: 0.75rem;
  }

  /* Section */
  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-tag {
    font-size: 0.72rem;
  }

  /* Cards */
  .card {
    padding: 1.5rem;
  }

  .card-glass {
    padding: 1.5rem;
  }

  /* Categories grid */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .category-card {
    padding: 1.25rem 0.75rem;
  }

  .category-emoji {
    font-size: 2rem;
  }

  /* Brands grid */
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .brand-card {
    padding: 1rem;
  }

  .brand-letter {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  /* Timeline */
  .timeline-num {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  /* Forms */
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
  }

  /* Buttons */
  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

  /* Footer */
  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-heading {
    font-size: 0.9rem;
  }

  /* Newsletter */
  .newsletter-benefits {
    gap: 0.6rem;
  }

  /* Page hero */
  .page-hero-title {
    font-size: 1.7rem;
  }

  /* Manifesto */
  .manifesto-title {
    font-size: 1.4rem;
  }

  /* Visual card */
  .visual-steps {
    gap: 0.5rem;
  }

  .vstep {
    font-size: 0.85rem;
  }
}

/* ---- SMALL MOBILE (375px) ---- */
@media (max-width: 375px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .btn-lg {
    padding: 0.8rem 1.25rem;
    font-size: 0.9rem;
  }

  .logo-ar {
    font-size: 1.1rem;
  }

  .hero-stat .stat-num {
    font-size: 1.8rem;
  }

  .categories-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .brand-card {
    padding: 0.875rem;
  }
}

/* ---- PRINT ---- */
@media print {
  .header,
  .footer,
  .newsletter-block,
  .cta-block,
  .hero-ctas,
  .cta-buttons {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .section-dark,
  .section-newsletter,
  .section-cta {
    background: white !important;
    color: black !important;
  }
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
