/* ==========================================================================
   EURO+ — Responsive Refinements
   Breakpoints: 1440 / 1200 / 992 / 768 / 576 / 480 / 375 / 320
   ========================================================================== */

/* Prevent horizontal overflow everywhere */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ==========================================================================
   1440px — Large Desktop
   ========================================================================== */
@media (max-width: 1440px) {
  :root { --container: 1220px; }

  .hero-title { font-size: clamp(36px, 5vw, 60px); }
  .board-range-grid { gap: 26px; }
  .giant-board { width: min(520px, 90%); }
}

/* ==========================================================================
   1200px — Small Desktop / Large Tablet Landscape
   ========================================================================== */
@media (max-width: 1200px) {
  :root { --container: 1040px; }

  .hero-stats { gap: 34px; }
  .nav-links { gap: 30px; }
  .topbar-left, .topbar-right { gap: 18px; }
  .benefit-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   992px — Tablet Landscape / Small Laptop
   ========================================================================== */
@media (max-width: 992px) {
  :root { --container: 860px; }

  .about-badge {
    position: static;
    margin-top: 22px;
    display: inline-block;
  }
  .featured-cols { row-gap: 40px; }
  .story-badge { bottom: -10px; right: 10px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .sustainability-grid { grid-template-columns: repeat(2, 1fr); }

  .board-range-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-info-row { gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 44px; }
}

/* ==========================================================================
   768px — Tablet Portrait
   ========================================================================== */
@media (max-width: 768px) {
  :root { --gap-section: 84px; }

  #topBar { display: none; }
  #hero { padding-top: calc(var(--nav-h) + 30px); }

  .section-head { margin-bottom: 44px; }
  .hero-visual { order: -1; }

  .contact-preview-grid { grid-template-columns: 1fr; gap: 30px; }
  .journey-timeline { grid-template-columns: 1fr 1fr; }
  .journey-timeline::before { display: none; }
  .contact-item { flex-direction: row; }

  .certifications-grid { gap: 30px; }
  .page-banner { min-height: 60vh; padding: 120px 0 60px; }
  .story-frame { aspect-ratio: 4/4; }
  .mv-card { padding: 36px 28px; }
  .leadership-card { padding: 40px 30px; }
  .leader-quote { font-size: 48px; }

  .about-grid { gap: 40px; }
  .feature-card { padding: 34px 26px; }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
  .bcp-tag { font-size: 10px; padding: 6px 14px; }
  .bcp-heading h4 { font-size: 20px; }
  .compare-table { min-width: 640px; }

  .contact-panel { padding: 60px 34px; }
  .testimonial-swiper { padding: 0 6px; }
  .testimonial-nav-btn { display: none; }
}

/* ==========================================================================
   576px — Mobile
   ========================================================================== */
@media (max-width: 576px) {
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn-euro { justify-content: center; }
  .hero-stats {
    gap: 22px;
    justify-content: space-between !important;
    width: 100%;
  }
  .stat b { font-size: 25px; }
  .stat span { font-size: 9.5px; }

  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-panel { text-align: center; }

  .page-banner { min-height: 50vh; padding: 100px 0 40px; }
  .page-banner h1 { font-size: 32px; }
  .banner-btns { flex-direction: column; align-items: center; }
  .banner-btns .btn-euro { width: 100%; justify-content: center; }

  .story-badge { padding: 14px 18px; }
  .story-badge .badge-number { font-size: 22px; }
  .story-badge .badge-label { font-size: 9px; }

  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-item b { font-size: 30px; }
  .sustainability-grid { grid-template-columns: 1fr; }
  .certifications-grid { gap: 20px; }
  .cert-item { font-size: 10px; }
  .cert-item i { font-size: 24px; }

  .footer-grid { grid-template-columns: 1fr; }
  .journey-timeline { grid-template-columns: 1fr; gap: 20px; }
  .journey-step { padding-top: 54px; }
  .journey-step .step-icon { width: 48px; height: 48px; font-size: 16px; }

  .mv-card { padding: 30px 22px; }
  .mv-card .mv-icon { width: 50px; height: 50px; font-size: 20px; }
  .mv-card h3 { font-size: 19px; }
  .leadership-card { padding: 30px 20px; }
  .leader-quote { font-size: 38px; }
  .leadership-card blockquote { font-size: 18px; }
  .testimonial-card { padding: 30px 24px; }

  .contact-info { gap: 18px; }
  .contact-item .contact-icon { width: 38px; height: 38px; font-size: 14px; }
  .contact-item h6 { font-size: 12px; }
  .contact-item p { font-size: 13px; }
  .contact-map { min-height: 240px; }
  .contact-map iframe { min-height: 240px; }

  #backToTop { width: 42px; height: 42px; bottom: 20px; right: 20px; font-size: 14px; }

  /* index.html specific */
  .trust-row { justify-content: center; gap: 18px 26px; }
  .trust-item { font-size: 11px; }
  .about-copy h2 { font-size: 28px !important; }
  .feature-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .board-range-grid { grid-template-columns: 1fr; }
  .board-range-foot p { font-size: 16px; }
  .collection-grid { grid-template-columns: 1fr; }
  .hardware-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { column-count: 1; }
  .gal-grid { column-count: 2; }
  .contact-info-row { flex-direction: column; gap: 16px; align-items: center; }
  .video-banner-play { width: 70px; height: 70px; }
}

/* ==========================================================================
   480px — Small Mobile
   ========================================================================== */
@media (max-width: 480px) {
  .container-xl { padding: 0 18px; }
  .hero-title { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .eyebrow { font-size: 10.5px; gap: 10px; }
  .section-head p { font-size: 14.5px; }
  .btn-euro { padding: 15px 24px; font-size: 11px; }
  .nav-cta .btn-euro.primary { padding: 12px 22px; font-size: 10.5px; }
  .bcp-body > p { font-size: 13.5px; }
  .contact-panel h2 { font-size: 28px; }
  #video-banner { padding: 100px 0; }
  #video-banner h2 { font-size: 26px; margin-bottom: 32px; }
  .play-btn { width: 74px; height: 74px; font-size: 18px; }
}

/* ==========================================================================
   375px — Small Mobile
   ========================================================================== */
@media (max-width: 375px) {
  .hero-title { font-size: 28px; }
  .btn-euro { padding: 14px 22px; font-size: 11px; }
  .page-banner h1 { font-size: 28px; }
  .page-banner p { font-size: 14px; }
  .stat-item b { font-size: 26px; }
  .container-xl { padding: 0 16px; }

  .journey-step h5 { font-size: 13px; }
  .journey-step p { font-size: 11px; }
  .value-card { padding: 28px 20px; }
  .value-card h4 { font-size: 15px; }
  .sustainability-card .sust-icon { width: 54px; height: 54px; font-size: 20px; }
  .sustainability-card h5 { font-size: 13px; }

  .brand img { height: 40px; }
  .hero-stats { gap: 16px; }
  .stat b { font-size: 22px; }
  .bcp-tag { padding: 5px 12px; font-size: 9px; }
  .footer-brand img.footer-logo { height: 64px; }
  .offcanvas-brand img { height: 40px; }
}

/* ==========================================================================
   320px — Extra Small Mobile
   ========================================================================== */
@media (max-width: 320px) {
  .container-xl { padding: 0 14px; }
  .hero-title { font-size: 25px; }
  .hero-sub { font-size: 13.5px; }
  .btn-euro { padding: 12px 18px; font-size: 10px; letter-spacing: 0.1em; }
  .section-head h2 { font-size: 24px; }
  .stat b { font-size: 19px; }
  .stat span { font-size: 8.5px; }
  .hardware-grid { grid-template-columns: 1fr; }
  .gal-grid { column-count: 1; }
}