/* ===== Aramé Header (MOBILE) ===== */
@media (max-width: 900px) {

  .ag-header__inner {
    padding: 12px 16px;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  /* Center logo smaller */
  .ag-header__center { text-align: center; }

  .ag-logo__title {
    font-size: 20px;
    line-height: 1.05;
  }

  .ag-logo__sub {
    font-size: 9px;
    letter-spacing: 1.4px;
  }

  /* Phones hidden on mobile top bar (будут внутри меню) */
  .ag-phones { display: none; }

  /* Social smaller */
  .ag-social {
    width: 26px;
    height: 26px;
  }
  .ag-social svg {
    width: 20px;
    height: 20px;
  }

  /* Menu button */
  .ag-menu-btn__text { font-size: 13px; }
  .ag-menu-btn__icon { font-size: 18px; }

  /* Drawer width a bit larger on small screens */
  .ag-drawer { width: 92vw; }
}


@media (max-width: 640px){
  .ag-footer-logo{
    max-width:260px;
  }
}


@media (max-width: 640px){
  
  .ag-footer-brand__title{ font-size:30px; }
  .ag-footer-brand__sub{ font-size:12px; }
  .ag-ico{ width:38px; height:38px; border-radius:10px; }

  .ag-footer-main__inner{ padding:18px 16px; }
  .ag-footer-menu{ gap:18px; align-items: center; justify-content: center;}
  .ag-footer-menu a{ font-size:16px; }

  .ag-footer-form{
    flex-direction:column;
    align-items:stretch;
    gap:14px;
  }
  .ag-footer-btn{
    width:100%;
    justify-content:space-between;
  }

  .ag-footer-bottom__inner{
    padding:18px 16px;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }
  .ag-footer-copy, .ag-footer-dev{ font-size:15px; }
}


/* ===== Responsive ===== */
@media (max-width: 1024px){
  .ag-footer-top__inner{
    grid-template-columns: 1fr;
    text-align:center;
  }
  .ag-footer-socials{ justify-content:center; }
  .ag-footer-phones{ justify-content:center; flex-wrap:wrap; }

  .ag-footer-main__inner{
    flex-direction:column;
    align-items:flex-start;
  }
  .ag-footer-form{
    width:100%;
    margin-left:0;
    justify-content:space-between;
  }
  .ag-footer-input{
    width:100%;
    max-width:100%;
  }
}



@media (max-width: 900px){
  .ag-footer-top__inner{
    position:static;
    flex-direction:column;
    align-items:center;
    justify-content:center;
  }
  .ag-footer-brand{
    position:static;
    transform:none;
    order:1;
  }
  .ag-footer-socials{ order:0; }
  .ag-footer-phones{
    order:2;
    justify-content:center;
    flex-wrap:wrap;
    gap:16px;
  }
}



/*ABOUT US START*/

@media (max-width: 1100px){
  .ag-about__container{ padding: 0 40px; }
  .ag-about__grid{ gap: 40px; }
}

@media (max-width: 900px){
  .ag-about__container{ padding: 0 18px; }
  .ag-about__grid{
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .ag-header__left{display:none}
  .ag-about__title{ font-size: 38px; }
  .ag-about__text{ max-width: 100%; }
  .ag-about__media{ padding: 12px; }
}


/*ABOUT US END*/


/*HOME PAGE ABOUT US START*/
@media (max-width: 1024px){
  .ag-home-about{
    padding: 60px 0;
  }
  .ag-home-about__inner{
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ag-home-about__title{
    font-size: 36px;
  }
  .ag-home-about__left{
    max-width: 620px;
  }
  .ag-home-about__right{
    order: 2;
  }
}
/*HOME PAGE ABOUT US END*/