/* ===== Boston Aluminium Index v4 ===== */
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:#fff}
body{
  margin:0;min-width:320px;
  color:#0a244a;background:#fff;
  font-family:"Roboto Condensed","Arial Narrow",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img,svg{display:block}
.content-wrap{max-width:1200px;margin:0 auto;padding:0 24px}

/* ===== HEADER ===== */
.site-header{
  position:sticky;top:0;z-index:100;
  background:#fff;border-bottom:1px solid #e8eaef;
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  min-height:64px;padding:0 40px;
  max-width:1200px;margin:0 auto;
}
.site-header.scrolled{box-shadow:0 2px 20px rgba(0,0,0,.08)}
.brand{width:180px;flex-shrink:0}
.brand img{width:100%;height:auto}
.nav{
  display:flex;align-items:center;gap:28px;
  color:#071d3f;
  font-family:"Barlow Condensed","Arial Narrow",Arial,sans-serif;
  font-size:15px;font-weight:800;line-height:1;
  text-transform:uppercase;white-space:nowrap;
}
.nav a{transition:color .18s ease}
.nav a:hover,.nav a:focus-visible{color:#2073df}

/* ===== MOBILE MENU ===== */
.hamburger{display:none;flex-direction:column;gap:4px;cursor:pointer;background:none;border:none;padding:4px}
.hamburger span{width:22px;height:2px;background:#071d3f;display:block;transition:.3s}
.mobile-menu{
  display:none;position:fixed;inset:0;z-index:200;
  background:rgba(255,255,255,.98);
  flex-direction:column;align-items:center;justify-content:center;
  gap:24px;opacity:0;transform:translateY(-16px);
  transition:opacity .35s,transform .35s;
}
.mobile-menu.open{display:flex;opacity:1;transform:translateY(0)}
.mobile-menu a{font-size:22px;font-weight:700;color:#071d3f;font-family:"Barlow Condensed","Arial Narrow",Arial,sans-serif;text-transform:uppercase}
.mobile-menu a:hover{color:#2073df}
.mobile-close{position:absolute;top:20px;right:24px;background:none;border:none;font-size:36px;cursor:pointer;color:#071d3f}

/* ===== HERO ===== */
.hero{
  position:relative;isolation:isolate;
  width:100%;aspect-ratio:941/630;min-height:420px;max-height:800px;
  overflow:hidden;color:#fff;background:#051a36;
}
.hero__bg{
  position:absolute;inset:0;z-index:0;
  width:100%;height:100%;object-fit:cover;object-position:center;
}
.hero__shade{
  position:absolute;inset:0;z-index:1;
  background:
    radial-gradient(circle at 20% 12%,rgba(50,135,235,0.18),transparent 38%),
    linear-gradient(90deg,rgba(2,15,34,0.84) 0%,rgba(3,23,52,0.73) 43%,rgba(3,23,52,0.2) 68%,rgba(3,23,52,0) 100%);
  pointer-events:none;
}
.hero::before,.hero::after{content:"";position:absolute;left:0;right:0;pointer-events:none}
.hero::before{
  z-index:1;bottom:0;
  height:clamp(100px,24%,180px);
  background:linear-gradient(90deg,#0751a8 0%,#126bcc 46%,#064996 100%);
  clip-path:polygon(0 73%,60% 42%,100% 18%,100% 31%,61% 56%,0 89%);
}
.hero::after{
  z-index:2;bottom:-1px;
  height:clamp(94px,22%,170px);
  background:linear-gradient(176deg,#f6f7f8 0%,#fff 44%,#f3f4f5 100%);
  clip-path:polygon(0 88%,61% 53%,100% 23%,100% 100%,0 100%);
}
.hero__content{
  position:absolute;inset:0;z-index:5;
  width:min(100%,1200px);margin:auto;
}
.hero__copy{
  position:absolute;z-index:5;
  top:14.7%;left:4.15%;width:51%;max-width:480px;
}
.hero__title{
  margin:0 0 2.2%;color:#fff;
  font-family:"Barlow Condensed","Arial Narrow",Arial,sans-serif;
  font-size:clamp(42px,7.1vw,67px);font-weight:800;
  line-height:0.82;letter-spacing:0;text-transform:uppercase;white-space:nowrap;
}
.hero__title span{color:#2f86ff}
.hero__subtitle{
  width:min(100%,425px);margin:0;color:#fff;
  font-family:"Barlow Condensed","Arial Narrow",Arial,sans-serif;
  font-size:clamp(26px,3.82vw,36px);font-weight:800;
  line-height:1.08;text-transform:uppercase;
}
.hero__rule{
  width:122px;max-width:26%;height:2px;
  margin:3.55% 0 2.7%;
  background:linear-gradient(90deg,#fff 0 46%,#2f86ff 46% 100%);
}
.hero__text{
  width:min(100%,394px);margin:0;color:rgba(255,255,255,0.98);
  font-size:clamp(15px,1.92vw,18px);font-weight:700;line-height:1.43;
}
.hero__features{
  position:absolute;z-index:4;
  left:4.15%;top:58.7%;
  display:grid;width:36.9%;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid rgba(52,137,255,0.84);
}
.hero__feature{
  min-width:0;min-height:122px;padding-top:24px;
  color:#fff;text-align:center;
  font-family:"Barlow Condensed","Arial Narrow",Arial,sans-serif;text-transform:uppercase;
}
.hero__feature+.hero__feature{border-left:1px solid rgba(255,255,255,0.32)}
.hero__icon{
  display:grid;place-items:center;
  width:58px;height:58px;margin:0 auto 10px;color:#fff;
  border:2px solid #2f86ff;border-radius:50%;
  background:rgba(5,28,61,0.28);
}
.hero__icon svg{width:58%;height:58%;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.hero__icon i,.icon-ring i{font-size:26px}
.hero__feature strong,.hero__feature span:not(.hero__icon){display:block;font-size:clamp(12px,1.82vw,17px);font-weight:800;line-height:0.96}
.hero__product{
  position:absolute;z-index:10;
  right:-20%;bottom:0;width:100%;height:auto;
  pointer-events:none;filter:saturate(0.9) contrast(1.03);
}

/* ===== SECTION COMMONS ===== */
.section-title{
  margin:0;color:#09244a;
  font-family:"Barlow Condensed","Arial Narrow",Arial,sans-serif;
  font-size:clamp(26px,3.5vw,36px);font-weight:800;
  line-height:1;text-align:center;text-transform:uppercase;
}
.section-rule{width:60px;height:2px;margin:14px auto 0;background:#297ee7}

/* ===== PRODUCTS ===== */
.products{
  padding:60px 0;
  background:
    radial-gradient(circle at 50% 0%,rgba(11,40,80,0.06),transparent 32%),
    linear-gradient(180deg,#fff 0%,#f7f8fb 100%);
}
.products-lead{
  margin:18px 0 32px;color:#0e2b54;
  font-size:15px;font-weight:700;line-height:1.2;text-align:center;
}
.products-block{max-width:900px;margin:0 auto 28px}
.ribbon{
  display:inline-flex;align-items:center;
  height:32px;padding:0 20px 0 18px;margin-bottom:16px;
  clip-path:polygon(0 0,92% 0,100% 100%,0 100%);
  color:#fff;
  background:linear-gradient(90deg,#1654a9,#2478e5);
  font-family:"Barlow Condensed","Arial Narrow",Arial,sans-serif;
  font-size:19px;font-weight:800;
  line-height:1;text-transform:uppercase;
}
.products-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:18px;margin-bottom:24px;
}
.product-card{text-align:center}
.product-card a{display:block}
.product-card img{
  width:100%;aspect-ratio:1/1;object-fit:cover;
  border:1px solid #e2e5eb;background:#eef1f6;
  transition:transform .3s;
}
.product-card a:hover img{transform:scale(1.03)}
.product-card h3{
  margin:10px 0 0;color:#071f44;
  font-family:"Barlow Condensed","Arial Narrow",Arial,sans-serif;
  font-size:14px;font-weight:800;line-height:1.05;text-transform:uppercase;
}
.products-view-all{text-align:center;margin-top:20px}
.view-all-link{
  display:inline-block;padding:12px 32px;
  background:#0d2344;color:#fff;
  font-family:"Barlow Condensed","Arial Narrow",Arial,sans-serif;
  font-size:15px;font-weight:700;text-transform:uppercase;
  transition:background .2s;border-radius:2px;
}
.view-all-link:hover{background:#2f86ff}

/* ===== NEWS ===== */
.news{padding:60px 0;background:#fff}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:32px}
.news-card{transition:transform .3s}
.news-card:hover{transform:translateY(-3px)}
.news-card a{display:block}
.news-img-wrap{
  aspect-ratio:16/10;overflow:hidden;position:relative;
  border-radius:4px;background:#eef1f6;margin-bottom:12px;
}
.news-img-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.news-card:hover .news-img-wrap img{transform:scale(1.06)}
.news-cat-tag{
  position:absolute;bottom:10px;left:10px;
  background:rgba(13,35,68,.78);backdrop-filter:blur(4px);
  color:#fff;font-size:10px;font-weight:600;letter-spacing:.4px;
  padding:4px 10px;border-radius:3px;text-transform:uppercase;
}
.news-date{font-size:11px;color:#999;display:block;margin-bottom:6px}
.news-title{
  font-size:17px;font-weight:700;color:#0d2344;
  font-family:"Barlow Condensed","Arial Narrow",Arial,sans-serif;
  line-height:1.2;margin-bottom:6px;transition:color .2s;
}
.news-card:hover .news-title{color:#2f86ff}
.news-excerpt{font-size:13px;color:#888;line-height:1.5}

/* ===== WHY CHOOSE US ===== */
.why{
  position:relative;overflow:hidden;color:#fff;padding:60px 0;
  background:
    radial-gradient(circle at 10% 30%,rgba(37,129,244,0.24),transparent 21%),
    radial-gradient(circle at 90% 70%,rgba(17,83,168,0.22),transparent 23%),
    linear-gradient(90deg,#041a38 0%,#062651 50%,#031832 100%);
}
.why::before{
  content:"";position:absolute;inset:0;opacity:0.17;
  background-image:radial-gradient(circle,rgba(255,255,255,0.55) 0 1px,transparent 1px);
  background-size:8px 8px;
  mask-image:radial-gradient(ellipse at 50% 46%,#000 0 42%,transparent 74%);
}
.why .section-title{position:relative;color:#fff}
.why .section-rule{position:relative}
.why-grid{
  position:relative;display:grid;grid-template-columns:repeat(4,1fr);
  margin-top:40px;
}
.why-card{text-align:center;padding:0 28px}
.why-card+.why-card{border-left:1px solid rgba(255,255,255,0.24)}
.icon-ring{
  display:grid;place-items:center;
  width:56px;height:56px;margin:0 auto 16px;color:#fff;
  border:2px solid #2f86ff;border-radius:50%;
  background:rgba(5,28,61,0.28);
}
.why-card .icon-ring{margin-bottom:16px;border-color:#2e89ff;background:rgba(4,26,57,0.24)}
.why-card h3{
  margin:0 0 8px;color:#fff;
  font-family:"Barlow Condensed","Arial Narrow",Arial,sans-serif;
  font-size:16px;font-weight:800;line-height:1;text-transform:uppercase;
}
.why-card p{
  margin:0 auto;max-width:200px;color:rgba(255,255,255,0.94);
  font-size:13px;font-weight:400;line-height:1.3;
}

/* ===== FOOTER ===== */
.footer-wrap{background:#061f45}
.footer{
  position:relative;display:grid;grid-template-columns:31.6% 34.8% 1fr;
  min-height:96px;color:#fff;gap:0;
  max-width:1200px;margin:0 auto;
}
.footer-logo-panel{
  display:flex;align-items:center;padding-left:40px;
  background:#fff;clip-path:polygon(0 0,86% 0,100% 100%,0 100%);
}
.footer-logo-panel img{width:180px;height:auto}
.footer-touch{
  display:flex;align-items:center;gap:18px;padding-left:80px;
  margin-left:-70px;
  background:linear-gradient(125deg,#145ab7 0%,#1269cc 52%,#0c3474 100%);
  clip-path:polygon(0 0,84% 0,100% 100%,14% 100%);
}
.footer-icon{flex:0 0 auto;width:36px;height:36px;color:#fff}
.footer-icon svg{width:100%;height:100%;stroke:currentColor;stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.footer-touch h2{
  margin:0 0 6px;
  font-family:"Barlow Condensed","Arial Narrow",Arial,sans-serif;
  font-size:19px;font-weight:800;line-height:1;text-transform:uppercase;
}
.footer-touch p{margin:0;color:rgba(255,255,255,0.94);font-size:14px;line-height:1.3}
.footer-contact{
  display:grid;align-content:center;gap:14px;
  padding-left:60px;background:#071f45;
}
.contact-item{
  display:flex;align-items:center;gap:14px;
  color:#fff;font-size:15px;font-weight:700;line-height:1;
}
.contact-item svg{
  width:24px;height:24px;flex-shrink:0;
  stroke:currentColor;stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round;
}

/* ===== BACK TO TOP ===== */
.btt{
  position:fixed;bottom:28px;right:28px;
  width:42px;height:42px;border-radius:50%;
  background:#0d2344;color:#fff;border:none;
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  font-size:17px;opacity:0;transform:translateY(16px);
  transition:all .3s;z-index:50;box-shadow:0 4px 16px rgba(0,0,0,.15);
}
.btt.visible{opacity:1;transform:translateY(0)}
.btt:hover{background:#2f86ff}

/* ===== CART TOAST ===== */
.cart-toast{
  position:fixed;bottom:80px;right:28px;
  background:#0d2344;color:#fff;padding:12px 20px;
  border-radius:4px;font-size:13px;font-weight:500;
  box-shadow:0 6px 24px rgba(0,0,0,.2);
  opacity:0;transform:translateY(10px);
  transition:all .3s;z-index:60;pointer-events:none;
}
.cart-toast.show{opacity:1;transform:translateY(0)}

.no-data{padding:30px;text-align:center;color:#999;font-size:13px}

/* ===== RESPONSIVE ===== */
@media(max-width:900px){
  .nav{display:none}
  .hamburger{display:flex}
  .news-grid{grid-template-columns:repeat(2,1fr)}
  .products-grid{grid-template-columns:repeat(3,1fr);gap:14px}
  .why-grid{grid-template-columns:1fr 1fr;gap:32px 0}
  .why-card:nth-child(3){border-left:0}
  .footer{grid-template-columns:1fr}
  .footer-logo-panel,.footer-touch,.footer-contact{clip-path:none;padding:28px 24px;justify-content:center;text-align:center}
  .footer-touch{padding-left:24px}
  .footer-contact{padding-left:24px;justify-items:center}
}
@media(max-width:760px){
  .hero{width:100%;aspect-ratio:auto}
  .hero__bg{object-position:60% center}
  .hero__shade{
    background:
      radial-gradient(circle at 28% 10%,rgba(50,135,235,0.16),transparent 38%),
      linear-gradient(90deg,rgba(2,15,34,0.96) 0%,rgba(3,23,52,0.8) 100%);
  }
  .hero__content{width:100%}
  .hero__copy{top:8%;left:6%;right:6%;width:auto;max-width:none}
  .hero__title{white-space:normal}
  .hero__product{right:-20%;width:100%;opacity:0.55}
  .hero__features{left:6%;right:6%;top:auto;bottom:17%;width:auto;z-index:999}
}
@media(max-width:600px){
  .site-header{padding:0 20px}
  .products{padding:40px 0}
  .products-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .product-card h3{font-size:12px}
  .news-grid{grid-template-columns:1fr}
  .why-grid{grid-template-columns:1fr}
  .why-card+.why-card{border-left:0}
}
@media(max-width:480px){
  .hero{min-height:620px}
  .hero__copy{top:7%}
  .hero__features{grid-template-columns:1fr;gap:10px;bottom:12%;border-top:0}
  .hero__feature{display:flex;align-items:center;gap:14px;min-height:0;padding-top:0;text-align:left}
  .hero__feature+.hero__feature{border-left:0}
  .hero__icon{flex:0 0 auto;width:50px;height:50px;margin:0}
  .hero__product{right:-40%;width:100%;opacity:0.35}
}
