.menu-toggle{
  display:none;
}

.mobile-menu{
  position:fixed;
  inset:0;
  z-index:120;
  pointer-events:none;
}

.mobile-menu__overlay{
  position:absolute;
  inset:0;
  border:0;
  background:rgba(15,23,42,.42);
  opacity:0;
  transition:opacity .22s ease;
}

.mobile-menu__panel{
  position:absolute;
  top:0;
  left:0;
  bottom:0;
  width:min(86vw,380px);
  background:#fff;
  box-shadow:0 18px 40px rgba(2,6,23,.18);
  transform:translateX(-104%);
  transition:transform .22s ease;
  display:flex;
  flex-direction:column;
  padding:18px 16px calc(18px + env(safe-area-inset-bottom));
}

.mobile-menu__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-bottom:14px;
  border-bottom:1px solid var(--line);
}

.mobile-menu__title{
  font-size:28px;
  line-height:1.1;
  font-weight:900;
}

.mobile-menu__close{
  width:52px;
  height:52px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  font-size:24px;
  cursor:pointer;
}

.mobile-menu__nav{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:18px 0;
  overflow:auto;
}

.mobile-menu__link{
  display:flex;
  align-items:center;
  min-height:58px;
  padding:0 14px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:800;
  font-size:18px;
  line-height:1.2;
}

.mobile-menu__bottom{
  margin-top:auto;
  padding-top:14px;
  border-top:1px solid var(--line);
}

.mobile-menu__cta{
  width:100%;
  min-height:56px;
}

.mobile-menu.is-open{
  pointer-events:auto;
}

.mobile-menu.is-open .mobile-menu__overlay{
  opacity:1;
}

.mobile-menu.is-open .mobile-menu__panel{
  transform:translateX(0);
}

body.menu-open{
  overflow:hidden;
}

@media (max-width: 980px){
  .nav-desktop{
    display:none !important;
  }

  .menu-toggle{
    display:inline-flex;
    width:52px;
    height:52px;
    border-radius:16px;
    border:1px solid var(--line);
    background:#fff;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:4px;
    padding:0;
    cursor:pointer;
    flex:0 0 auto;
  }

  .menu-toggle span{
    display:block;
    width:22px;
    height:2px;
    background:#0f172a;
    border-radius:999px;
  }
}

@media (max-width: 720px){
  .container{
    padding:0 14px;
  }

  .site-main{
    padding-bottom:106px;
  }

  .header-row{
    min-height:72px;
    padding:10px 0;
  }

  .brand{
    max-width:calc(100% - 66px);
  }

  .brand-label{
    font-size:18px;
    line-height:1.08;
  }

  .hero{
    padding:14px 0;
  }

  .hero-grid{
    grid-template-columns:1fr !important;
    gap:16px;
    padding:18px;
    border-radius:22px;
  }

  .hero-copy h1{
    font-size:32px;
    line-height:1.04;
    margin:0 0 10px;
  }

  .lead{
    font-size:15px;
    line-height:1.45;
    max-width:none;
  }

  .hero-note{
    font-size:13px;
    line-height:1.45;
    max-width:none;
  }

  .cta-row{
    flex-direction:column;
  }

  .cta-row .btn{
    width:100%;
    min-height:54px;
  }

  /* Калькуляторна сторінка */
  .section--calc-page{
    padding-top:12px;
  }

  .calc-page-head{
    margin-bottom:12px;
  }

  .calc-page-head .page-title{
    font-size:30px;
    line-height:1.04;
    margin-bottom:8px;
  }

  .calc-page-lead{
    font-size:15px;
    line-height:1.4;
    margin-bottom:0;
  }

  /* Сильно чистимо мобільний калькулятор */
  .loan-calc-v2{
    margin-top:0 !important;
  }

  .loan-calc-shell{
    padding:14px !important;
    border-radius:18px !important;
  }

  .loan-calc-head{
    grid-template-columns:1fr !important;
    gap:12px !important;
  }

  .loan-calc-main{
    padding:16px !important;
    border-radius:18px !important;
  }

  .loan-calc-best{
    display:none !important;
  }

  .loan-calc-title{
    font-size:28px !important;
    line-height:1.04 !important;
    margin-bottom:8px !important;
  }

  .loan-calc-subtitle{
    display:none !important;
  }

  .range-block{
    padding:14px !important;
    margin-bottom:12px !important;
    border-radius:16px !important;
  }

  .range-top{
    gap:8px !important;
    margin-bottom:8px !important;
  }

  .range-label{
    font-size:16px !important;
  }

  .range-value{
    font-size:22px !important;
  }

  .loan-calc-options{
    gap:10px !important;
    margin:8px 0 14px !important;
  }

  .loan-check{
    flex:1 1 100% !important;
    padding:10px 12px !important;
    border-radius:14px !important;
    font-size:14px !important;
  }

  .loan-kpi-row{
    grid-template-columns:1fr !important;
    gap:8px !important;
    margin:12px 0 14px !important;
  }

  .loan-kpi{
    padding:12px !important;
    border-radius:14px !important;
  }

  .loan-kpi strong{
    font-size:20px !important;
  }

  .loan-actions{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
    margin-top:0 !important;
  }

  .btn-calc,
  .btn-offer{
    width:100% !important;
    min-height:54px !important;
    border-radius:14px !important;
    font-size:18px !important;
  }

  /* Ось головний фікс: прибираємо полотно з карток на мобілці */
  .loan-offers{
    display:none !important;
  }

  .loan-disclaimer{
    margin-top:12px !important;
    font-size:12px !important;
    line-height:1.45 !important;
  }

  .calc-after-copy{
    margin-top:18px !important;
  }

  .content-block h2{
    font-size:22px;
    margin:0 0 10px;
  }

  .content-block p,
  .content-block li{
    font-size:15px;
    line-height:1.55;
  }

  .cta-panel{
    margin-top:18px;
    padding:16px;
    border-radius:18px;
    flex-direction:column;
    align-items:stretch;
    gap:12px;
  }

  .cta-panel h3{
    font-size:20px;
    margin:0 0 8px;
  }

  .cta-panel p{
    font-size:15px;
    margin:0;
  }

  .faq-item{
    border-radius:18px;
  }

  .faq-item summary{
    padding:16px;
    font-size:17px;
    line-height:1.3;
  }

  .faq-answer{
    padding:0 16px 16px;
    font-size:15px;
  }

  .footer-links{
    flex-direction:column;
    gap:10px;
  }

  .sticky-cta{
    padding:8px 12px calc(8px + env(safe-area-inset-bottom));
  }

  .sticky-cta .btn{
    min-height:54px;
    border-radius:16px;
    font-size:17px;
  }
}