/* ==========================================================================
   AUREVIA GLOBAL — responsive.css
   All media queries. Breakpoints: 1440 / 1200 / 992 / 768 / 600 / 480 / 360
   ========================================================================== */

@media (max-width:1440px){
  :root{--container:1140px;}
}

@media (max-width:1200px){
  .nav__list{gap:2px;padding:3px 4px;}
  .nav__link{padding:6px 12px;font-size:.8438rem;}
  .footer__grid{grid-template-columns:1.4fr 1fr 1fr 1.1fr;gap:32px;}
  .hero__inner{grid-template-columns:1.05fr .95fr;gap:32px;}
}

/* ---------- 992px and below ---------- */
@media (max-width:992px){
  :root{--header-h:80px;}

  .nav,.header__cta{display:none;}
  .nav-toggle{display:flex;}

  .grid--4{grid-template-columns:repeat(2,1fr);}
  .grid--3{grid-template-columns:repeat(2,1fr);}
  .product-grid{grid-template-columns:repeat(3,1fr);gap:16px;}
  .adv-grid{grid-template-columns:repeat(2,1fr);}
  .adv:nth-child(odd){border-left:0;}

  .split{grid-template-columns:1fr;gap:36px;}
  .feature{grid-template-columns:1fr;}
  .feature--reverse .feature__media{order:0;}
  .feature--reverse .feature__body{order:0;}
  .feature__media{min-height:300px;}
  .toolblock{grid-template-columns:1fr;}
  .toolblock--reverse .toolblock__media{order:0;}
  .toolblock--reverse .toolblock__body{order:0;}
  .icard{grid-template-columns:1fr;}
  .icard__media{border-right:0;border-bottom:1px solid var(--line);}
  .pcard{grid-template-columns:1fr;}
  .pcard--reverse .pcard__media{order:0;}
  .field-row{grid-template-columns:1fr;gap:0;}

  /* Hero stacks — image on top */
  .hero{padding-top:calc(var(--header-h) + 24px);padding-bottom:48px;}
  .hero__inner{grid-template-columns:1fr;gap:36px;}
  .hero__showcase{order:-1;width:100%;max-width:620px;margin-inline:auto;}

  /* Timeline → vertical */
  .timeline{grid-template-columns:1fr;gap:0;}
  .timeline__track{top:0;bottom:0;left:19px;right:auto;width:2px;height:auto;}
  .timeline__fill{transform-origin:top;transform:scaleY(0);}
  .timeline.is-visible .timeline__fill{transform:scaleY(1);}
  .step{display:grid;grid-template-columns:40px 1fr;gap:0 22px;padding-bottom:34px;}
  .step__badge{margin-bottom:0;}
  .step h3,.step p{grid-column:2;}

  .stats{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:32px;padding-top:20px;}
  .stats__item{padding:12px 14px;}

  .iconrow{grid-template-columns:1fr;}
  .iconrow__item{padding-inline:0;}
  .iconrow__item + .iconrow__item{border-left:0;border-top:1px solid var(--line);}
  .page-hero--media .iconrow__item + .iconrow__item{border-top-color:rgba(255,255,255,.16);}

  /* Lightbox responsive */
  .lightbox__content{grid-template-columns:1fr;}
  .lightbox__image-container{min-height:240px;border-right:0;border-bottom:1px solid var(--line);padding:24px;}
  .lightbox__img{max-height:220px;}
  .lightbox__details{padding:24px 20px;}

  .footer__grid{grid-template-columns:1fr 1fr;gap:36px;}
}

/* ---------- 768px and below ---------- */
@media (max-width:768px){
  :root{--gutter:20px;}
  .section{padding-block:56px;}
  .grid--2{grid-template-columns:1fr;}
  .product-grid{grid-template-columns:repeat(2,1fr);gap:16px;}
  .adv-grid{grid-template-columns:1fr;}
  .adv{border-left:0 !important;}
  .btn-row .btn{width:100%;}
  .toolblock__media{padding:20px;}
  .footer__bottom{flex-direction:column;align-items:flex-start;}
}

/* ---------- 680px and below ---------- */
@media (max-width:680px){
  .tabs{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    padding-bottom:6px;
    margin-inline:calc(-1 * var(--gutter));
    padding-inline:var(--gutter);
  }
  .tabs::-webkit-scrollbar{display:none;}
  .tab{white-space:nowrap;flex:0 0 auto;}
}

/* ---------- 600px and below ---------- */
@media (max-width:600px){
  .grid--3,.grid--4{grid-template-columns:1fr;}
  .stats{grid-template-columns:1fr;gap:10px;}
  .stats__item{padding:14px 16px;}
  .trust-strip{flex-direction:column;align-items:flex-start;gap:14px;padding:18px 20px;}
  .product-grid{grid-template-columns:repeat(2,1fr);gap:12px;}
  .catalog-search{flex-direction:column;align-items:stretch;}
  .search-input-wrap{max-width:none;}
  .footer__grid{grid-template-columns:1fr;gap:32px;}
  .strengths li{grid-template-columns:1fr;gap:4px;}
  .strengths h3,.strengths p,.strengths__body{grid-column:1;}
  .strengths__num{line-height:1.4;}
}

/* ---------- 480px and below ---------- */
@media (max-width:480px){
  :root{--gutter:16px;}
  .hero h1{font-size:2rem;line-height:1.15;letter-spacing:-.02em;}
  h2{font-size:1.55rem;line-height:1.2;letter-spacing:-.015em;}
  .lead{font-size:1rem;line-height:1.65;}
  .eyebrow{font-size:.7rem;letter-spacing:.14em;}
  .mobile-nav__list a{font-size:1.2rem;padding:13px 0;}
  .header__logo img{height:48px;}
  .header.is-stuck .header__logo img{height:42px;}
  .tab{padding:8px 14px;font-size:.8125rem;}
  .product-grid{grid-template-columns:repeat(2,1fr);gap:10px;}
  .product__media{padding:12px;}
  .product__badge{font-size:.62rem;padding:2px 6px;top:6px;left:6px;}
  .product__info{padding:10px 10px 12px;}
  .product__name{font-size:.8438rem;margin-bottom:6px;-webkit-line-clamp:2;}
  .product__footer{font-size:.75rem;}
  .feature__body,.form-panel,.contact-card{padding:22px;}
  .quote-panel{padding:22px;}
}

/* ---------- 360px and below ---------- */
@media (max-width:360px){
  .hero h1{font-size:1.8rem;line-height:1.16;}
  .product-grid{grid-template-columns:1fr;gap:12px;}
}

/* ---------- Print ---------- */
@media print{
  .header,.mobile-nav,.to-top,.subnav,.nav-toggle,.lightbox{display:none !important;}
  body{background:#fff;color:#000;}
  .hero,.page-hero{min-height:auto;padding-top:24px;}
  .section--dark,.cta-band,.export-band{background:#fff !important;color:#000 !important;}
}
