/* ==========================================================
   DXP — true mobile/tablet reflow (≤1023px)
   Desktop keeps the pixel-exact scaled canvas; below 1024px
   the page reflows into a flowing, readable, tap-friendly layout.
   ========================================================== */
.nav-toggle { display: none; }
.hamburger { display: none; }

@media (max-width: 1023px) {
  /* --- canvas reflow --- */
  .viewport, .viewport.wingo-vp { height: auto !important; overflow: visible; }
  .canvas, .wingo-canvas { transform: none !important; left: 0; width: 100%; height: auto !important; }
  .canvas > section, .canvas > div, .canvas > footer, .canvas > h2 { position: static !important; width: auto !important; height: auto !important; }

  /* --- header --- */
  .site-header { transform: none !important; left: 0; margin-left: 0; width: 100%; border-radius: 0; height: 64px; padding: 8px 16px; }
  .header-inner { width: 100%; height: 48px; }
  .logo { width: 118px; height: 40px; background-size: cover; }
  .logo .wordmark { background-size: 109.665% 270.699%; }
  .logo .mark { width: 38px; height: 40px; }
  .hamburger { display: flex; flex-direction: column; gap: 5px; width: 44px; height: 44px; justify-content: center; align-items: center; cursor: pointer; order: 3; }
  .hamburger span { display: block; width: 24px; height: 2.5px; background: #101010; border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: #fff; box-shadow: 0 12px 24px rgba(0,0,0,0.15); flex-direction: column; gap: 0; padding: 8px 0 12px; }
  .main-nav a { padding: 13px 24px; font-size: 16px; }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .nav-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav-drop { width: 100%; }
  .nav-drop > a { width: 100%; padding: 13px 24px; box-sizing: border-box; }
  .drop-menu { position: static; padding: 0; display: block; }
  .drop-menu ul { width: 100%; border-radius: 0; box-shadow: none; padding: 0 0 0 16px; background: #FFF8EA; }
  .drop-menu a { padding: 11px 24px; }
  .header-icons { gap: 10px; }
  .account-btn { width: 44px; height: 44px; }

  /* --- hero --- */
  /* --- hero: text + CTA first, image below --- */
  .hero-bg { display: flex; flex-direction: column; }
  .hero-bg { position: relative !important; inset: auto; height: auto !important; background: #F8E3AE; padding: 96px 20px 24px; box-sizing: border-box; overflow: hidden; }
  .hero-bg .base, .hero-bg .pattern, .hero-bg .arch, .splash-hero-r, .splash-hero-l { display: none; }
  .hero-product { position: relative !important; left: auto !important; top: auto !important; width: 100% !important; max-width: 620px; margin: 12px auto 0; aspect-ratio: 857 / 500; height: auto !important; background-size: contain !important; background-position: center bottom !important; }
  .hero-text { position: relative !important; left: auto !important; top: auto !important; width: auto !important; background: #F8E3AE; padding: 84px 20px 16px; }
  .hero-cta { position: relative !important; left: auto !important; top: auto !important; display: flex; margin: 0 auto; width: min(320px, 86%); min-height: 48px; }
  .hero-cta-wrap { background: #F8E3AE; padding: 4px 20px 8px; }
  .hero-bg { padding-top: 0; }
  .hero-hand { font-size: clamp(34px, 9vw, 52px); line-height: 1.1; }
  .hero-bold { font-size: clamp(28px, 8vw, 44px); line-height: 1.15; }
  .hero-text p { font-size: 16px; line-height: 1.5; max-width: 560px; margin: 0 auto; }
  .hero-cta { position: relative !important; left: auto !important; top: auto !important; display: flex; margin: 20px auto 0; width: min(320px, 86%); min-height: 48px; }
  /* hero-text comes before hero-cta in source; hero-bg holds the image */
  .hero-text { order: 0; }

  /* --- sections general --- */
  .section-head, .head-products { position: static !important; width: auto !important; padding: 40px 20px 8px; }
  .section-head h2, .features .head h2, .faq-title, .insta-head h2, .band-text h2 { font-size: clamp(24px, 6vw, 32px) !important; line-height: 1.2 !important; white-space: normal !important; width: auto !important; }
  .section-head p, .features .head p, .band-text p { font-size: 16px !important; line-height: 1.5 !important; white-space: normal !important; }

  /* --- products --- */
  .product-row { position: static !important; width: auto !important; display: flex; flex-flow: row wrap; gap: 16px; justify-content: center; padding: 12px 16px 32px; }
  .product-card { flex: 0 1 222px; }

  /* --- trust + stat --- */
  .trust-row { position: static !important; width: auto !important; height: auto !important; display: flex; flex-direction: column; gap: 16px; padding: 8px 16px; }
  .trust-col { width: 100% !important; max-width: 520px; height: auto !important; margin: 0 auto; }
  .trust-label { height: 110px; font-size: 22px; }
  .trust-img { height: 240px; }
  .discover { height: 110px; padding: 0 24px; }
  .discover .label { font-size: 20px; white-space: normal; }
  .stat-card { position: static !important; width: 100% !important; max-width: 520px; height: auto !important; margin: 16px auto; padding: 36px 0; }
  .stat-card .big { font-size: 34px; line-height: 1.2; }
  .stat-card .small { font-size: 20px; line-height: 1.3; }

  /* --- features --- */
  .splash-right, .splash-left, .w-splash-r, .w-splash-l { display: none; }
  .features { position: static !important; width: auto !important; display: flex; flex-direction: column; gap: 24px; padding: 40px 20px; }
  .features .head { width: auto !important; }
  .features .stage { position: static !important; height: auto !important; display: flex; flex-direction: column; gap: 24px; align-items: center; }
  .can-wrap { position: relative !important; left: auto !important; top: auto !important; order: -1; transform: scale(0.72); transform-origin: top center; height: 400px; animation: none !important; }
  .feature { position: static !important; width: 100% !important; max-width: 460px; text-align: center !important; gap: 8px; }
  .feature h3 { font-size: 19px; }
  .feature p { font-size: 16px; line-height: 1.45; }

  /* --- yellow band --- */
  .band, .w-band { position: relative !important; left: 0 !important; top: auto !important; width: 100% !important; height: auto !important; background: linear-gradient(89.466deg, #F2EC8C -2.24%, #EDE33E 94.76%); }
  .band .shape, .band .dots, .band .glow, .band .spark { display: none; }
  .band .clip { position: static; }
  .band .bottle-r, .band .bottle-l { display: none; }
  .band-text, .w-band-text { position: static !important; width: auto !important; padding: 40px 20px; margin-top: -1px; background: transparent; }
  .band { padding-bottom: 0; }
  .band + .band-text, .w-band + .band-text { background: linear-gradient(89.466deg, #F2EC8C -2.24%, #EDE33E 94.76%); }
  .band { display: none; }
  .band-text h2 { width: auto !important; }
  .band-text .pill-btn { min-height: 48px; }

  /* --- FAQ --- */
  .faq-title, .w-faq-title { position: static !important; padding: 40px 20px 4px; display: block; }
  .faq-list, .w-faq-list { position: static !important; width: auto !important; margin: 12px 16px 8px; }
  .faq-item summary { height: auto; min-height: 50px; padding: 8px 8px 8px 18px; gap: 10px; }
  .faq-item .q { font-size: 15px; line-height: 1.4; }
  .faq-item .a { padding: 2px 18px 16px; font-size: 15px; line-height: 1.5; }
  .faq-item .toggle { min-width: 38px; }
  .faq-visual, .w-faq-visual { position: relative !important; left: auto !important; top: auto !important; width: 100% !important; max-width: 460px; height: 380px !important; margin: 8px auto 0; transform: scale(0.8); transform-origin: top center; }

  /* --- instagram --- */
  .insta-head { position: static !important; width: auto !important; padding: 24px 20px 8px; }
  .insta-head h2 { white-space: normal !important; }
  .insta-head .pill-btn { min-height: 48px; }
  .insta-collage { position: static !important; width: auto !important; height: auto !important; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 16px; }
  .tile { position: static !important; width: 100% !important; height: auto !important; aspect-ratio: 1; }

  /* --- footer --- */
  .site-footer, .w-footer { position: static !important; width: auto !important; height: auto !important; padding: 40px 24px 12px !important; }
  .footer-cols { flex-direction: column; gap: 32px; }
  .footer-brand { width: auto !important; gap: 20px; }
  .footer-brand .about { width: auto !important; }
  .footer-links { flex-flow: row wrap; gap: 28px 40px; }
  .col-office { width: auto !important; }
  .office span { width: auto !important; }
  .copyright p { white-space: normal !important; font-size: 12px; }
  .socials a { width: 44px; height: 44px; }

  /* --- wingo page --- */
  .w-hero { position: relative !important; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; min-height: 300px; margin-top: 64px; }
  .w-hero-text { position: relative !important; left: auto !important; top: auto !important; width: auto !important; padding: 28px 20px 8px; gap: 16px; }
  .w-hero-text h1 { font-size: clamp(56px, 14vw, 84px); line-height: 1; }
  .w-hero-text p { font-size: 16px; line-height: 1.5; }
  .w-head { position: static !important; width: auto !important; padding: 32px 20px 8px; }
  .w-head h2 { font-size: clamp(24px, 6vw, 32px); white-space: normal; }
  .w-head p { font-size: 16px; line-height: 1.5; }
  .w-cards { position: static !important; width: auto !important; display: flex; flex-flow: row wrap; gap: 20px; justify-content: center; padding: 12px 16px 32px; }
  .w-card { flex: 0 1 340px; height: auto; padding: 0 30px 24px; }
  .w-card h3 { font-size: 21px; line-height: 30px; white-space: pre; max-width: none; }
}

@media (max-width: 420px) {
  .product-card { flex-basis: 100%; max-width: 280px; }
  .w-card { flex-basis: 100%; }
  .insta-collage { grid-template-columns: 1fr 1fr; }
}
