/* ============ TOKENS ============ */
:root{
  --ink:        #12181F;
  --steel-dark: #1B2733;
  --steel:      #5b7288;
  --steel-soft: #8A96A3;
  --paper:      #F5F7F9;
  --paper-dim:  #E7EBEF;
  --blue:       #2E6B9E;
  --blue-deep:  #1F4F78;
  --amber:      #E8A33D;
  --amber-deep: #C77F1F;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 3px;
  --wrap: 1180px;
  --shadow-card: 0 1px 2px rgba(18,24,31,0.06), 0 8px 24px -12px rgba(18,24,31,0.18);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 28px;}

h1,h2,h3{
  font-family:var(--font-display);
  font-weight:600;
  letter-spacing:0.01em;
  margin:0;
  color:var(--ink);
}

:focus-visible{outline:2.5px solid var(--amber);outline-offset:2px;}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important;}
}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  font-family:var(--font-display);
  font-size:14px;letter-spacing:0.06em;text-transform:uppercase;
  padding:14px 26px;
  border-radius:var(--radius);
  border:1.5px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn-primary{
  background:var(--amber);
  color:var(--ink);
  box-shadow:0 4px 14px -4px rgba(232,163,61,0.55);
}
.btn-primary:hover{background:var(--amber-deep); transform:translateY(-1px);}
.btn-ghost{
  background:transparent;
  border-color:rgba(255,255,255,0.35);
  color:#fff;
}
.btn-ghost:hover{border-color:var(--amber); color:var(--amber);}
.btn-large{font-size:15px; padding:17px 34px; margin-top:8px;}

/* ============ HEADER ============ */
.site-header{
  position:sticky; top:0; z-index:100;
  background:
    linear-gradient(180deg, rgba(18,24,31,0.55) 0%, rgba(18,24,31,0.55) 100%),
    url('img/bg-ducts.webp') center 20% / cover no-repeat;
  backdrop-filter:blur(4px);
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.header-inner{
  display:flex; align-items:center; gap:28px;
  height:72px;
}
.logo{display:flex;align-items:center;gap:10px;color:#fff;flex-shrink:0;}
.logo-mark{color:var(--amber); display:flex; align-items:center;}
.logo-mark img{width:36px; height:36px; object-fit:contain; border-radius:6px;}
.logo-text{
  font-family:var(--font-display);
  font-size:19px; letter-spacing:0.04em;
  font-weight:400;
}
.logo-text b{font-weight:700; color:var(--amber);}
.logo-text--small{color:var(--ink);}
.logo-text--small b{color:var(--blue);}

.main-nav{display:flex; gap:4px; margin-left:12px;}
.nav-link{
  color:rgba(255,255,255,0.72);
  font-size:14.5px; font-weight:500;
  padding:10px 14px; border-radius:var(--radius);
  transition:color .18s ease, background .18s ease;
  position:relative;
}
.nav-link:hover{color:#fff; background:rgba(255,255,255,0.06);}
.nav-link.is-active{color:#fff;}
.nav-link.is-active::after{
  content:''; position:absolute; left:14px; right:14px; bottom:4px; height:2px; background:var(--amber);
}

.phone-badge{
  margin-left:auto;
  display:flex; align-items:center; gap:8px;
  color:#fff; font-family:var(--font-mono); font-size:14.5px; font-weight:500;
  padding:9px 16px;
  border:1.5px solid rgba(255,255,255,0.18);
  border-radius:var(--radius);
  transition:border-color .18s ease, color .18s ease;
  flex-shrink:0;
}
.phone-badge:hover{border-color:var(--amber); color:var(--amber);}

.burger{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px; background:transparent; border:none; cursor:pointer; padding:0;
  margin-left:8px;
}
.burger span{display:block; height:2px; width:100%; background:#fff; border-radius:2px; transition:transform .25s ease, opacity .2s ease;}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0;}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* ============ HERO ============ */
.hero{
  position:relative;
  background:
    linear-gradient(180deg, rgba(18,24,31,0.58) 0%, rgba(27,39,51,0.66) 100%),
    url('img/bg-ducts.webp') center 62% / cover no-repeat;
  overflow:hidden;
  padding:88px 0 76px;
}
.hero-hatch{
  position:absolute; inset:0; opacity:0.05; pointer-events:none;
  background-image:repeating-linear-gradient(45deg, #fff 0 2px, transparent 2px 18px);
}
.hero-inner{
  position:relative; z-index:1;
  display:grid; grid-template-columns:1.05fr 0.95fr; gap:48px; align-items:center;
}
.eyebrow{
  font-family:var(--font-mono);
  font-size:12.5px; letter-spacing:0.12em; text-transform:uppercase;
  color:var(--amber);
  margin:0 0 14px;
}
.hero-copy h1{
  color:#fff; font-size:clamp(32px,4vw,46px); line-height:1.12;
  margin-bottom:20px;
}
.hero-copy h1 span{color:var(--blue); -webkit-text-stroke:0; }
@supports (background-clip:text){
  .hero-copy h1 span{
    background:linear-gradient(90deg, #5b9bd4, var(--blue));
    -webkit-background-clip:text; background-clip:text; color:transparent;
  }
}
.hero-lede{
  color:rgba(245,247,249,0.72); font-size:16.5px; max-width:520px; margin-bottom:32px;
}
.hero-actions{display:flex; gap:14px; margin-bottom:48px; flex-wrap:wrap;}
.hero-stats{
  display:flex; gap:36px; margin:0; padding-top:28px;
  border-top:1px solid rgba(255,255,255,0.12);
}
.hero-stats dt{
  font-family:var(--font-display); font-size:26px; color:#fff; font-weight:600;
}
.hero-stats dd{
  margin:2px 0 0; font-size:12.5px; color:rgba(245,247,249,0.55);
}

.hero-figure{display:flex; justify-content:center;}
.duct-svg{width:100%; height:auto; max-width:460px;}
.fan-blades{animation:spin 6s linear infinite;}
@keyframes spin{ to{ transform:rotate(360deg);} }
.air-flow circle{ animation:flow 3.2s linear infinite; }
.air-flow-2 circle{ animation-duration:3.2s; animation-delay:1.1s; }
@keyframes flow{
  from{ transform:translateX(0); }
  to{ transform:translateX(400px); }
}

/* ============ SECTION HEAD ============ */
.section-head{max-width:640px; margin-bottom:44px;}
.section-head h2{font-size:clamp(26px,3vw,34px); margin-bottom:14px;}
.section-lede{color:var(--steel); font-size:15.5px; margin:0;}
.section-lede code{
  font-family:var(--font-mono); background:var(--paper-dim); padding:1px 6px; border-radius:2px; font-size:0.9em;
}
.section-head--light .eyebrow{color:var(--amber);}
.section-head--light h2{color:#fff;}
.section-head--light .section-lede{color:rgba(245,247,249,0.65);}

.hatch-divider{
  height:14px;
  background-image:repeating-linear-gradient(-45deg, var(--amber) 0 10px, var(--ink) 10px 20px);
  background-size:28px 28px;
}

/* ============ CATALOG ============ */
.catalog{
  position:relative;
  padding:88px 0;
  background:
    linear-gradient(180deg, rgba(245,247,249,0.82) 0%, rgba(245,247,249,0.88) 100%),
    url('img/bg-ducts.webp') center 30% / cover no-repeat;
}
.catalog-toolbar{
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  flex-wrap:wrap; margin-bottom:32px;
  padding-bottom:22px; border-bottom:1px solid var(--paper-dim);
}
.filter-group{display:flex; gap:8px; flex-wrap:wrap;}
.filter-chip{
  font-family:var(--font-body); font-size:13.5px; font-weight:500;
  padding:8px 15px; border-radius:20px;
  border:1.5px solid var(--paper-dim);
  background:#fff; color:var(--steel);
  cursor:pointer; transition:all .18s ease;
}
.filter-chip:hover{border-color:var(--blue); color:var(--blue);}
.filter-chip.is-active{background:var(--blue); border-color:var(--blue); color:#fff;}

.search-box{
  display:flex; align-items:center; gap:8px;
  background:#fff; border:1.5px solid var(--paper-dim); border-radius:var(--radius);
  padding:9px 14px; min-width:260px; color:var(--steel-soft);
}
.search-box:focus-within{border-color:var(--blue);}
.search-box input{
  border:none; outline:none; font-family:var(--font-body); font-size:14px; width:100%;
  color:var(--ink); background:transparent;
}

.catalog-grid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(258px,1fr)); gap:20px;
}
.product-card{
  background:#fff; border:1px solid var(--paper-dim); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow-card);
  display:flex; flex-direction:column;
  transition:transform .18s ease, box-shadow .18s ease;
}
.product-card:hover{transform:translateY(-3px); box-shadow:0 4px 6px rgba(18,24,31,0.05), 0 16px 32px -14px rgba(18,24,31,0.24);}
.product-thumb{
  aspect-ratio:4/3; background:var(--paper-dim);
  display:flex; align-items:center; justify-content:center; color:var(--steel-soft);
  position:relative; overflow:hidden;
}
.product-thumb img{width:100%; height:100%; object-fit:contain; padding:10%;}
.product-thumb-icon{
  display:flex; align-items:center; justify-content:center;
  width:100%; height:100%; padding:14%;
  color:var(--blue-deep);
}
.product-thumb-icon svg{width:100%; height:100%; max-width:110px;}
.product-cat-tag{
  position:absolute; top:10px; left:10px;
  font-family:var(--font-mono); font-size:10.5px; letter-spacing:0.04em; text-transform:uppercase;
  background:rgba(18,24,31,0.78); color:#fff; padding:4px 8px; border-radius:2px;
  z-index:1;
}
.product-body{padding:16px 16px 18px; display:flex; flex-direction:column; gap:8px; flex:1;}
.product-sku{font-family:var(--font-mono); font-size:11.5px; color:var(--blue); letter-spacing:0.03em;}
.product-name{font-family:var(--font-display); font-size:16px; font-weight:500; color:var(--ink); line-height:1.3;}
.product-specs{font-size:12.5px; color:var(--steel); margin:0;}
.product-foot{
  margin-top:auto; padding-top:10px;
}
.product-btn{
  font-family:var(--font-mono); font-size:11.5px; text-transform:uppercase; letter-spacing:0.04em;
  color:var(--blue); border:1.5px solid var(--blue); border-radius:2px; padding:9px 10px;
  background:transparent; cursor:pointer; transition:all .15s ease;
}
.product-btn:hover{background:var(--blue); color:#fff;}
.product-btn--full{width:100%; text-align:center;}

.catalog-section-note{
  font-size:13.5px; color:var(--steel-soft); line-height:1.55;
  max-width:820px; margin:0 0 26px; padding:12px 16px;
  background:#fff; border-left:3px solid var(--blue); border-radius:2px;
}
.catalog-empty{text-align:center; color:var(--steel-soft); padding:40px 0; font-size:15px;}

/* ============ WORKS / CAROUSEL ============ */
.works{
  position:relative;
  background:
    linear-gradient(180deg, rgba(18,24,31,0.6) 0%, rgba(18,24,31,0.68) 100%),
    url('img/bg-ducts.webp') center 40% / cover no-repeat;
  padding:80px 0 92px;
}
.carousel{
  position:relative; border-radius:6px; overflow:hidden;
  aspect-ratio:16/7; background:var(--steel-dark);
  box-shadow:0 20px 50px -20px rgba(0,0,0,0.6);
  touch-action:pan-y;
}
.carousel-track{
  display:flex; height:100%;
  transition:transform .6s cubic-bezier(.65,0,.35,1);
}
.carousel-slide{
  min-width:100%; height:100%; position:relative;
  display:flex; align-items:flex-end;
}
.carousel-slide img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:contain;
  background:var(--steel-dark);
}
.carousel-slide .slide-caption{
  position:relative; z-index:2; width:100%;
  padding:22px 26px;
  background:linear-gradient(0deg, rgba(18,24,31,0.88) 0%, rgba(18,24,31,0) 100%);
  color:#fff;
}
.slide-caption .n{
  font-family:var(--font-mono); font-size:11.5px; color:var(--amber); letter-spacing:0.06em;
}
.slide-caption .t{font-family:var(--font-display); font-size:18px; margin-top:2px;}

.carousel.is-empty .carousel-nav,
.carousel.is-empty .carousel-dots{display:none;}
.carousel-empty{
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:12px; color:var(--steel-soft); padding:20px; text-align:center;
}
.carousel-empty svg{opacity:0.5;}
.carousel-empty span{font-family:var(--font-mono); font-size:12.5px; letter-spacing:0.02em; max-width:320px;}

.carousel-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:44px; height:44px; border-radius:50%;
  background:rgba(18,24,31,0.55); border:1.5px solid rgba(255,255,255,0.25);
  color:#fff; display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:background .18s ease, border-color .18s ease;
  z-index:3;
}
.carousel-nav:hover{background:var(--amber); border-color:var(--amber); color:var(--ink);}
.carousel-prev{left:16px;}
.carousel-next{right:16px;}

.carousel-dots{
  position:absolute; bottom:16px; right:22px; z-index:3;
  display:flex; gap:7px;
}
.carousel-dots button{
  width:8px; height:8px; border-radius:50%; border:none; padding:0; cursor:pointer;
  background:rgba(255,255,255,0.35); transition:background .18s ease, transform .18s ease;
}
.carousel-dots button.is-active{background:var(--amber); transform:scale(1.25);}

/* ============ SERVICES ============ */
.services{
  position:relative;
  padding:88px 0;
  background:
    linear-gradient(180deg, rgba(231,235,239,0.82) 0%, rgba(231,235,239,0.88) 100%),
    url('img/bg-ducts.webp') center 45% / cover no-repeat;
}
.services-grid{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(300px,1fr)); gap:22px;
}
.service-card{
  background:#fff; border:1px solid #DEE3E8; border-radius:var(--radius);
  padding:28px 26px; box-shadow:var(--shadow-card);
}
.service-icon{
  width:52px; height:52px; border-radius:8px;
  background:var(--blue-deep); color:var(--amber);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.service-card h3{font-size:18px; margin-bottom:10px;}
.service-card p{font-size:14.5px; color:var(--steel); margin:0; line-height:1.55;}

/* ============ CONTACTS ============ */
.contacts{
  position:relative;
  background:
    linear-gradient(180deg, rgba(27,39,51,0.6) 0%, rgba(18,24,31,0.68) 100%),
    url('img/bg-ducts.webp') center 55% / cover no-repeat;
  padding:88px 0 96px; text-align:center;
}
.contacts-inner{display:flex; flex-direction:column; align-items:center;}
.contacts .section-head{margin-left:auto; margin-right:auto; text-align:center;}
.contacts-grid{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(160px,1fr)); gap:1px;
  background:rgba(255,255,255,0.1);
  border-radius:6px; overflow:hidden;
  margin-bottom:36px; width:100%; max-width:1000px;
}
.contact-card{
  background:var(--steel-dark); padding:26px 20px;
  display:flex; flex-direction:column; gap:8px;
}
.contact-label{
  font-family:var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:0.08em;
  color:var(--steel-soft);
}
.contact-value{
  font-family:var(--font-display); font-size:19px; color:#fff; transition:color .18s ease;
  word-break:break-word;
}
a.contact-value:hover{color:var(--amber);}
.contact-value--static{color:rgba(245,247,249,0.85);}

.contacts-map{
  width:100%; max-width:1000px;
  aspect-ratio:16/7; border-radius:8px; overflow:hidden;
  border:1.5px solid rgba(255,255,255,0.15);
  box-shadow:0 20px 50px -24px rgba(0,0,0,0.6);
}
.contacts-map iframe{display:block; width:100%; height:100%; border:0;}

/* ============ FOOTER ============ */
.site-footer{
  position:relative;
  background:
    linear-gradient(180deg, rgba(18,24,31,0.72) 0%, rgba(18,24,31,0.78) 100%),
    url('img/bg-ducts.webp') center 70% / cover no-repeat;
  border-top:1px solid rgba(255,255,255,0.08); padding:26px 0;
}
.footer-inner{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px;
  color:rgba(245,247,249,0.5); font-size:13px;
}
.footer-inner a{color:rgba(245,247,249,0.7); font-family:var(--font-mono);}
.footer-inner a:hover{color:var(--amber);}
.footer-inner .logo-text{color:#fff;}
.footer-inner .logo-text b{color:var(--amber);}

/* ============ PRODUCT PHOTO — CLICK TO ZOOM ============ */
.product-thumb{cursor:default;}
.product-thumb.is-zoomable{cursor:zoom-in;}
.product-thumb.is-zoomable:hover img{transform:scale(1.04);}
.product-thumb img{transition:transform .25s ease;}

.lightbox{
  position:fixed; inset:0; z-index:1000;
  background:rgba(12,16,21,0.92); backdrop-filter:blur(4px);
  display:flex; align-items:center; justify-content:center;
  padding:40px 20px;
  animation:lightboxFade .18s ease;
}
.lightbox[hidden]{display:none;}
@keyframes lightboxFade{ from{opacity:0;} to{opacity:1;} }

.lightbox-figure{
  margin:0; max-width:min(880px, 92vw); max-height:88vh;
  display:flex; flex-direction:column; align-items:center; gap:14px;
}
.lightbox-figure img{
  max-width:100%; max-height:76vh; width:auto; height:auto;
  border-radius:6px; background:#fff;
  box-shadow:0 20px 60px -20px rgba(0,0,0,0.7);
}
.lightbox-figure figcaption{
  font-family:var(--font-display); font-size:16px; color:#fff; text-align:center;
}

.lightbox-close{
  position:absolute; top:20px; right:20px;
  width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,0.08); border:1.5px solid rgba(255,255,255,0.25);
  color:#fff; display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:background .18s ease, border-color .18s ease;
}
.lightbox-close:hover{background:var(--amber); border-color:var(--amber); color:var(--ink);}

/* ============================================================
   RESPONSIVE
   Breakpoints: ≥1180 desktop · 1179–921 small desktop/tablet-landscape
   920–701 tablet · 700–481 large phone · ≤480 phone
   ============================================================ */

/* ---- Large desktop fluid safety (very wide screens) ---- */
@media (min-width:1600px){
  .wrap{max-width:1320px;}
  .hero-copy h1{font-size:52px;}
}

/* ---- Small desktop / tablet landscape (≤1179px) ---- */
@media (max-width:1179px){
  .wrap{padding:0 24px;}
  .hero-inner{gap:36px;}
  .services-grid{grid-template-columns:repeat(auto-fit, minmax(260px,1fr));}
}

/* ---- Tablet (≤920px) ---- */
@media (max-width:920px){
  .hero-inner{grid-template-columns:1fr; text-align:left;}
  .hero-figure{order:-1; max-width:380px; margin:0 auto 12px;}
  .main-nav{
    position:fixed; top:72px; left:0; right:0; bottom:0;
    background:rgba(18,24,31,0.98); backdrop-filter:blur(8px);
    flex-direction:column; padding:14px 24px 28px;
    border-bottom:1px solid rgba(255,255,255,0.1);
    transform:translateY(-8px); opacity:0; pointer-events:none;
    transition:transform .2s ease, opacity .2s ease;
    overflow-y:auto;
  }
  .main-nav.is-open{transform:translateY(0); opacity:1; pointer-events:auto;}
  .nav-link{padding:14px 8px; font-size:16px; border-bottom:1px solid rgba(255,255,255,0.06);}
  .nav-link.is-active::after{display:none;}
  .nav-link.is-active{color:var(--amber);}
  .phone-badge{display:none;}
  .burger{display:flex;}
  .contacts-grid{grid-template-columns:1fr;}
  .catalog-grid{grid-template-columns:repeat(auto-fill, minmax(220px,1fr));}
}

/* ---- Tablet portrait (≤768px) ---- */
@media (max-width:768px){
  .wrap{padding:0 20px;}
  .header-inner{gap:16px;}
  .hero{padding:64px 0 56px;}
  .hero-copy h1{font-size:clamp(28px,5vw,38px);}
  .hero-lede{font-size:15.5px;}
  .hero-actions{gap:10px;}
  .hero-stats{gap:24px;}
  .hero-stats dt{font-size:22px;}

  .section-head{margin-bottom:32px;}
  .section-head h2{font-size:26px;}

  .catalog-toolbar{flex-direction:column; align-items:stretch; gap:16px;}
  .filter-group{gap:6px;}
  .filter-chip{font-size:13px; padding:7px 13px;}
  .search-box{min-width:0;}
  .catalog-grid{grid-template-columns:repeat(auto-fill, minmax(200px,1fr)); gap:14px;}

  .carousel{aspect-ratio:4/3;}
  .carousel-nav{width:40px; height:40px;}

  .services-grid{grid-template-columns:repeat(auto-fit, minmax(240px,1fr)); gap:16px;}
  .service-card{padding:22px 20px;}

  .contacts-grid{grid-template-columns:repeat(2,1fr);}
}

/* ---- Large phone (≤600px) ---- */
@media (max-width:600px){
  .header-inner{height:64px;}
  .hero{padding:52px 0 48px;}
  .hero-stats{gap:18px 22px; flex-wrap:wrap;}
  .hero-stats > div{min-width:calc(50% - 11px);}
  .catalog, .services, .works, .contacts{padding-top:52px; padding-bottom:52px;}
  .catalog-toolbar{flex-direction:column; align-items:stretch;}
  .search-box{min-width:0;}
  .carousel{aspect-ratio:1/1;}
  .contacts-grid{grid-template-columns:1fr;}
  .btn-large{width:100%; justify-content:center;}
}

/* ---- Phone (≤480px) ---- */
@media (max-width:480px){
  .wrap{padding:0 16px;}
  .header-inner{gap:10px;}
  .logo-text{font-size:16px;}
  .logo-mark svg{width:28px; height:28px;}

  .lightbox{padding:20px 14px;}
  .lightbox-close{top:12px; right:12px; width:38px; height:38px;}
  .lightbox-figure figcaption{font-size:14px;}

  .eyebrow{font-size:11px;}
  .hero-copy h1{font-size:26px; line-height:1.18; margin-bottom:14px;}
  .hero-lede{font-size:14.5px; margin-bottom:24px;}
  .hero-actions{flex-direction:column; align-items:stretch; margin-bottom:32px;}
  .hero-actions .btn{width:100%; justify-content:center;}
  .hero-stats{padding-top:20px;}
  .hero-stats dt{font-size:19px;}
  .hero-stats dd{font-size:11px;}
  .hero-figure{max-width:280px;}

  .section-head h2{font-size:22px;}
  .section-lede{font-size:14px;}

  .filter-chip{font-size:12.5px; padding:7px 12px;}
  .catalog-grid{grid-template-columns:1fr 1fr; gap:10px;}
  .product-body{padding:12px 12px 14px; gap:6px;}
  .product-name{font-size:14px;}
  .product-specs{font-size:11.5px;}
  .product-btn{padding:8px 10px; font-size:10.5px;}

  .carousel{aspect-ratio:4/5; border-radius:4px;}
  .carousel-nav{width:36px; height:36px;}
  .carousel-nav svg{width:16px; height:16px;}
  .slide-caption{padding:16px 18px;}
  .slide-caption .t{font-size:15px;}

  .services-grid{grid-template-columns:1fr;}

  .contacts-grid{grid-template-columns:1fr; gap:1px;}
  .contact-card{padding:20px 16px;}
  .contact-value{font-size:17px;}
  .contacts-map{aspect-ratio:4/5;}

  .footer-inner{flex-direction:column; text-align:center; gap:10px;}
}

/* ---- Very small phone (≤360px) ---- */
@media (max-width:360px){
  .wrap{padding:0 14px;}
  .hero-copy h1{font-size:23px;}
  .catalog-grid{grid-template-columns:1fr;}
  .hero-stats{flex-direction:column; gap:14px;}
  .hero-stats > div{min-width:0;}
}

/* ---- Touch devices: larger tap targets, no hover-lift ---- */
@media (hover:none) and (pointer:coarse){
  .nav-link, .filter-chip, .product-btn, .carousel-nav, .burger{min-height:40px;}
  .product-card:hover{transform:none;}
  .btn-primary:hover{transform:none;}
}

/* ---- Filter chips: horizontal scroll on small phones ---- */
@media (max-width:600px){
  .filter-group{
    flex-wrap:nowrap; overflow-x:auto; padding-bottom:6px; margin-bottom:-6px;
    -webkit-overflow-scrolling:touch; scrollbar-width:none;
  }
  .filter-group::-webkit-scrollbar{display:none;}
  .filter-chip{flex-shrink:0;}
}

@media (max-width:768px){
  .hero, .works, .contacts, .site-footer, .catalog, .services, .site-header{
    background-attachment:scroll;
  }
}

