/* ============================================================
   SPAR Rewards Sri Lanka – SaveMor
   Corporate Responsive Stylesheet
   ============================================================ */

/* ---- Large Desktop (1200px+) ---- */
@media screen and (min-width: 1200px) {
  .hero-title     { font-size: 62px; }
  .hero-subtitle  { font-size: 22px; }
  .hero-desc      { font-size: 17px; }
  .content-box h2 { font-size: 38px; }
  .feature-list li { font-size: 17px; }
  .download-title { font-size: 50px; }
}

/* ---- Desktop / Tablet Landscape (994px – 1199px) ---- */
@media screen and (min-width: 994px) and (max-width: 1199px) {
  .hero-title     { font-size: 46px; }
  .hero-subtitle  { font-size: 19px; }
  .hero-desc      { font-size: 15px; }
  .content-box h2 { font-size: 30px; }
  .feature-list li { font-size: 15px; }
  .product-img    { max-width: 260px; }
  .section-flex   { gap: 40px; }
}

/* ---- Tablet Portrait (768px – 993px) ---- */
@media screen and (min-width: 768px) and (max-width: 993px) {
  .container { padding: 0 24px; }

  .hero-section   { min-height: 500px; }
  .hero-title     { font-size: 38px; }
  .hero-subtitle  { font-size: 18px; }
  .hero-desc      { font-size: 15px; }
  .hero-content   { padding: 50px 0 80px; }
  .hero-stats     { gap: 28px; }
  .hero-stat-num  { font-size: 26px; }

  .phone-mockup img { max-height: 380px; }

  .section-flex   { gap: 32px; }
  .section-image  { flex: 1 1 200px; }
  .section-content { flex: 1 1 260px; }
  .content-box h2 { font-size: 26px; }
  .feature-list li { font-size: 14px; }
  .product-img    { max-width: 220px; }
  .chocolate-img  { max-width: 200px; }
  .coffee-img     { max-width: 180px; }

  .rewards-section,
  .communication-section,
  .deals-section,
  .cc-section { padding: 70px 0; }

  .download-title { font-size: 34px; }
  .download-desc  { font-size: 15px; }

  .slide-title  { font-size: 19px; }
  .step-desc    { font-size: 15px; }
  .slide-img img { max-height: 240px; }
}

/* ---- Mobile Large (421px – 767px) ---- */
@media screen and (min-width: 421px) and (max-width: 767px) {
  .container { padding: 0 20px; }

  .hero-section   { min-height: auto; }
  .hero-title     { font-size: 30px; letter-spacing: -0.3px; margin-bottom: 14px; }
  .hero-subtitle  { font-size: 17px; }
  .hero-desc      { font-size: 14px; }
  .hero-content   { padding: 36px 0 56px; }
  .hero-text      { text-align: center; }
  .hero-eyebrow   { justify-content: center; }
  .hero-stats     { justify-content: center; gap: 24px; }
  .hero-stat-num  { font-size: 24px; }

  .site-logo img  { width: 155px; }

  .app-store-buttons { flex-direction: column; gap: 10px; padding-top: 24px; }
  .btn-app-store img,
  .btn-google-play img { width: 158px; }

  .phone-mockup img { max-height: 320px; }

  .feature-menu { flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; }
  .feature-menu li a { font-size: 13px; padding: 8px 14px; }

  .rewards-section,
  .communication-section,
  .deals-section,
  .cc-section { padding: 60px 0; }

  .section-flex       { flex-direction: column; gap: 28px; }
  .section-image--desktop { display: none; }
  .section-image--mobile  { display: block; }
  .section-image      { width: 100%; }
  .product-img        { max-width: 200px; }
  .chocolate-img      { max-width: 220px; }

  .content-box h2     { font-size: 24px; }
  .feature-list li    { font-size: 14px; }
  .feature-buttons    { justify-content: center; }

  .download-section   { padding: 70px 0 56px; }
  .download-title     { font-size: 30px; }
  .download-desc      { font-size: 15px; }
  .download-btns img  { width: 148px; }

  .footer-logo img    { width: 155px; }
  .copy-rights        { font-size: 13px; }

  /* Modal */
  .modal-box          { border-radius: 10px; }
  .modal-feature      { padding: 24px 18px 16px; }
  .slide-title        { font-size: 17px; }
  .slide-row          { flex-direction: column; gap: 18px; }
  .slide-img img      { max-height: 200px; }
  .step-desc          { font-size: 14px; }
}

/* ---- Mobile Small (max 420px) ---- */
@media screen and (max-width: 420px) {
  .container { padding: 0 16px; }

  .hero-section   { min-height: auto; }
  .hero-title     { font-size: 26px; letter-spacing: -0.2px; margin-bottom: 12px; }
  .hero-subtitle  { font-size: 15px; }
  .hero-desc      { font-size: 13px; }
  .hero-content   { padding: 28px 0 44px; }
  .hero-text      { text-align: center; }
  .hero-eyebrow   { justify-content: center; font-size: 10px; }
  .hero-stats     { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .hero-stat-num  { font-size: 22px; }
  .hero-stat-label { font-size: 10px; }

  .site-logo img  { width: 140px; }

  .app-store-buttons { flex-direction: column; align-items: center; gap: 10px; padding-top: 20px; }
  .btn-app-store img,
  .btn-google-play img { width: 150px; }

  .phone-mockup img { max-height: 280px; }

  .feature-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 4px;
  }
  .feature-menu li a { font-size: 12px; padding: 7px 10px; }

  .rewards-section,
  .communication-section,
  .deals-section,
  .cc-section { padding: 48px 0; }

  .section-flex        { flex-direction: column; gap: 22px; }
  .section-image--desktop { display: none; }
  .section-image--mobile  { display: block; }
  .section-image       { width: 100%; }
  .product-img         { max-width: 180px; }
  .chocolate-img       { max-width: 200px; }
  .coffee-img          { max-width: 160px; }
  .chips-img           { max-width: 200px; }

  .content-box h2      { font-size: 21px; }
  .feature-list li     { font-size: 13px; }
  .feature-buttons     { justify-content: center; }
  .feature-btn em      { font-size: 13px; padding: 0 12px; }
  .feature-btn, .btn-icon { height: 50px; }
  .btn-icon            { width: 50px; }
  .btn-icon i          { width: 24px; height: 24px; }

  .spar2u-logo         { width: 160px; }

  .download-section    { padding: 56px 0 44px; }
  .download-title      { font-size: 26px; }
  .download-desc       { font-size: 14px; }
  .download-btns       { flex-direction: column; align-items: center; gap: 12px; }
  .download-btns img   { width: 150px; }

  .site-footer         { padding: 36px 0 20px; }
  .footer-logo img     { width: 140px; }
  .copy-rights         { font-size: 12px; }

  /* Modal */
  .modal-overlay       { padding: 12px 8px; }
  .modal-box           { border-radius: 10px; }
  .modal-feature       { padding: 18px 14px 14px; }
  .slide-title         { font-size: 15px; }
  .slide-step          { font-size: 11px; margin-bottom: 16px; }
  .slide-row           { flex-direction: column; gap: 16px; padding: 0; }
  .step-num            { width: 36px; height: 36px; font-size: 15px; }
  .step-desc           { font-size: 13px; }
  .slide-img img       { max-height: 180px; }
  .carousel-prev,
  .carousel-next       { font-size: 20px; width: 34px; height: 34px; }
}

/* ---- Sticky nav override for small screens ---- */
@media screen and (max-width: 767px) {
  .feature-nav.sticky-nav {
    width: 100%;
    left: 0;
    transform: none;
    top: 0;
    border-radius: 0;
    padding: 6px 12px;
    background: var(--corp-navy, #1a2e44);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .feature-menu {
    background: transparent;
    border-color: transparent;
    padding: 2px 0;
    justify-content: center;
  }
}
