@media (max-width: 1080px) {
  .main-nav { gap: 14px; font-size: 13px; }
  .header-actions .btn-small { display: none; }
  .card-grid.six { grid-template-columns: repeat(2, 1fr); }
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { display: grid; grid-template-columns: 260px 1fr; gap: 18px; }
  .product-card img { grid-row: span 4; margin: 0; }
}

@media (max-width: 860px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 64px 0; }
  .header-inner { min-height: 68px; }
  .brand img { width: 86px; }
  .header-actions { gap: 8px; }
  .icon-link { width: 38px; height: 38px; font-size: 12px; }
  .burger { width: 40px; height: 40px; padding: 9px; flex: 0 0 40px; }
  .burger { display: block; }
  .main-nav {
    position: fixed;
    inset: 68px 0 auto auto;
    width: min(340px, calc(100% - 28px));
    height: calc(100vh - 68px);
    display: grid;
    align-content: start;
    gap: 0;
    padding: 18px;
    background: #fff;
    border-left: 1px solid var(--color-border);
    box-shadow: -20px 20px 60px rgba(23, 74, 36, .16);
    transform: translateX(105%);
    transition: transform .25s ease;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { padding: 16px 4px; border-bottom: 1px solid var(--color-border); font-size: 16px; }
  .hero { padding-top: 28px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 30px; }
  .hero-grid > *, .hero-copy { min-width: 0; max-width: 100%; }
  .hero-visual { min-height: 430px; }
  .quiz-shell, .two-col { grid-template-columns: 1fr; }
  .dry-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  h1 { font-size: 34px; overflow-wrap: anywhere; word-break: break-word; }
  h2 { font-size: 30px; }
  .header-actions { margin-left: auto; }
  .header-inner { gap: 8px; }
  .header-actions .icon-link { display: none; }
  .badges span { width: 100%; }
  .hero-actions .btn, .card-actions .btn { width: 100%; }
  .hero-copy { width: 100%; max-width: 350px; }
  .hero-copy p, .hero-copy h1, .hero-actions { max-width: 350px; }
  .hero-visual { min-height: 360px; border-radius: 26px; }
  .hero-machine { width: 84%; right: 4%; top: 7%; }
  .hero-food { width: 52%; left: 5%; bottom: 6%; }
  .card-grid.six, .card-grid.four, .dry-grid { grid-template-columns: 1fr; }
  .feature-card, .plain-card, .kit-card, .lead-form, .quiz { border-radius: 22px; }
  .product-card { display: flex; }
  .product-card img { width: 100%; }
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-controls { display: grid; grid-template-columns: 1fr 1fr; }
  .quiz-controls .btn:last-child { grid-column: 1 / -1; }
  .cookie-banner { left: 14px; right: 14px; bottom: 86px; width: auto; display: grid; }
  .float-contact { right: 14px; bottom: 14px; }
  .float-toggle { display: inline-flex; }
  .float-list { display: none; }
  .float-contact.is-open .float-list { display: grid; }
  .float-list a { min-width: 150px; }
  .thanks-card { padding: 30px 20px; }
}

@media (max-width: 430px) {
  .hero-copy, .hero-copy p, .hero-copy h1, .hero-actions { max-width: 330px; }
}

@media (max-width: 390px) {
  .container { width: min(100% - 24px, 1180px); }
  h1 { font-size: 32px; }
  .brand img { width: 75px; }
  .burger { width: 38px; height: 38px; }
  .hero-visual { min-height: 320px; }
  .btn { padding-left: 18px; padding-right: 18px; }
}

/* Original ECOLAND responsive parity */
@media (min-width: 1280px) {
  .container { width: min(100% - 48px, 1230px); }
}

@media (max-width: 1100px) {
  .hero-grid, .quiz-shell, .two-col { grid-template-columns: 1fr; }
  .hero-visual { min-height: 520px; aspect-ratio: 16 / 10; }
  .card-grid.six, .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card { display: flex; }
}

@media (max-width: 860px) and (min-width: 769px) {
  .desktop-nav.main-nav {
    position: static;
    width: auto;
    height: auto;
    display: flex;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }
}

@media (max-width: 820px) {
  .desktop-nav, .dealer-pill, .header-actions .icon-btn:first-of-type { display: none; }
  .header-inner { height: 72px; min-height: 72px; }
  .hero { min-height: auto; padding-top: 28px; }
}

@media (max-width: 768px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  body { padding-bottom: 96px; }
  .site-header { display: none; }
  .mobile-shop-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    display: block;
    width: 100%;
    max-width: 100%;
    background: rgba(248, 244, 236, .96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
  }
  .mobile-shop-row {
    display: grid;
    grid-template-columns: minmax(108px, 1fr) repeat(4, 36px);
    gap: 6px;
    align-items: center;
    width: calc(100% - 24px);
    max-width: 100%;
    height: 72px;
    margin: 0 auto;
  }
  .mobile-shop-logo { display: inline-flex; align-items: center; min-width: 0; }
  .mobile-shop-logo img { width: 75px; max-width: 100%; height: auto; }
  .mobile-head-icon, .mobile-lang, .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    font-weight: 900;
  }
  .mobile-menu-toggle {
    flex-direction: column;
    gap: 4px;
    padding: 0;
    cursor: pointer;
  }
  .mobile-menu-toggle span {
    width: 17px;
    height: 2px;
    margin: 0;
    border-radius: 999px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
  }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .mobile-drawer-backdrop {
    position: fixed;
    inset: 72px 0 0;
    z-index: 1190;
    display: block;
    background: rgba(31, 47, 36, .24);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }
  .mobile-drawer-backdrop:not([hidden]) { opacity: 1; pointer-events: auto; }
  .mobile-drawer {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 1201;
    display: grid;
    width: 100%;
    max-width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(31, 47, 36, .16);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .mobile-drawer.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-drawer a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 0 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 16px;
    font-weight: 800;
  }
  body.mobile-menu-open { overflow: hidden; }
  .mobile-nav {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 1100;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    width: 100%;
    max-width: 100%;
    padding: 8px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: rgba(255, 253, 248, .96);
    box-shadow: var(--shadow);
  }
  .mobile-nav a {
    display: grid;
    min-width: 0;
    place-items: center;
    overflow: hidden;
    border-radius: 16px;
    padding: 9px 4px;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-nav a:hover { background: var(--primary-light); color: var(--primary-hover); }
  .container, .site-header .container { width: calc(100% - 24px) !important; max-width: 100%; }
  .hero, .hero-grid, .hero-copy, .section, .container { min-width: 0 !important; max-width: 100% !important; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) !important; min-height: auto; overflow: hidden; }
  .hero h1 {
    max-width: 100% !important;
    font-size: clamp(25px, 6vw, 30px) !important;
    line-height: 1.14 !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .hero p, .section p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .hero-visual { min-height: 420px; }
  .floating-contact {
    right: 14px;
    bottom: 88px;
    max-width: calc(100vw - 28px);
    z-index: 1090;
  }
  .floating-list { max-width: calc(100vw - 28px); }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 92px;
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner button { width: 100%; }
}

@media (max-width: 640px) {
  .section { padding: 40px 0; }
  .card-grid.six, .card-grid.four, .product-grid, .dry-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 340px; border-radius: 24px; }
  .hero-machine { width: 86%; }
  .hero-food { left: 14px; bottom: 14px; width: 48%; }
  .button-row .btn, .hero-actions .btn, .card-actions .btn, .lead-form .btn { width: 100%; }
  .floating-toggle {
    width: 52px;
    height: 52px;
    min-height: 52px;
    padding: 0;
    border-radius: 999px;
    font-size: 0;
  }
  .floating-toggle::before { content: "✉"; font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 430px) {
  .mobile-shop-row {
    display: flex;
    justify-content: flex-start;
    gap: 5px;
    width: calc(100% - 18px);
  }
  .mobile-shop-logo { flex: 1 1 auto; max-width: 120px; }
  .mobile-menu-toggle { margin-left: auto; }
  .mobile-cart-link { display: none !important; }
  .mobile-shop-logo img { width: 64px; }
  .mobile-head-icon,
  .mobile-lang,
  .mobile-menu-toggle {
    flex: 0 0 34px;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    font-size: 14px;
  }
  .hero h1 { font-size: 28px !important; }
  .hero-copy,
  .hero-copy p,
  .contact-band p,
  .footer-grid a {
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}
