/* Public-site display safety across monitor sizes, zoom levels and phones. */
html { overflow-x: clip; }
body { max-width: 100%; }
img, video, iframe { max-width: 100%; }
button, a, input, select, textarea { touch-action: manipulation; }
button, input, select, textarea { max-width: 100%; }
.container, .bc-wrap, .pf-page, .pf-header-inner { max-width: 100%; }
.pad-smart-back {
  position: fixed; left: max(14px, env(safe-area-inset-left));
  bottom: max(18px, env(safe-area-inset-bottom)); z-index: 850;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 18px; border-radius: 999px;
  background: #0b2757; color: #fff; text-decoration: none;
  font: 700 13px/1.3 Poppins, sans-serif; box-shadow: 0 8px 28px #001a4f55;
}
.pad-smart-back:hover, .pad-smart-back:focus-visible { background: #1972f9; color: #fff; }
.hero-mobile-products { display: none !important; }
.hero-scroll { display: none; }
@media (max-width: 1100px) {
  .header .navbar { gap: 14px; }
  .header .nav-actions { gap: 8px; }
  .hero-content h1 { font-size: clamp(2rem, 5vw, 4rem); }
  .bc-header { grid-template-columns: auto 1fr; height: auto; min-height: 72px; gap: 12px; padding: 12px 20px; }
  .bc-nav { grid-column: 1/-1; grid-row: 2; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
  .bc-home { grid-column: 2; grid-row: 1; }
  .bc-hero { min-height: 0; padding: 75px 24px; }
}
@media (max-width: 780px) {
  .navigation, .nav-actions { display: none; }
  .mobile-toggle { display: block; }
  .header .navbar { min-width: 0; }
  .hero, .hero-content, .hero-content h1 { max-width: 100%; }
  .bc-hero { grid-template-columns: minmax(0,1fr); padding: 64px 24px; }
  .bc-hero__mark { display: none; }
  .bc-intro, .bc-section__heading, .bc-logo-grid, .bc-rule-grid { grid-template-columns: minmax(0,1fr); }
  .bc-intro { gap: 22px; }
  .bc-hero__actions { flex-wrap: wrap; }
  .pf-header-inner { min-width: 0; }
  .pf-sortbar { flex-wrap: wrap; height: auto; }

  /* Mobile Hero 2.0: readable content above real project photography. */
  .hero {
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    min-height: 570px;
    height: min(850px, 90svh);
    padding: 112px 0 90px;
    isolation: isolate;
    text-align: left;
    background: #061b3f;
  }
  .hero-media, .hero-slider, .hero-overlay { position: absolute; inset: 0; }
  .hero .slide img { object-fit: cover; object-position: center; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(3,15,38,.32) 0%, rgba(4,20,48,.38) 27%, rgba(4,17,43,.78) 59%, #061b3f 100%);
  }
  .hero .container { z-index: 5; width: min(100% - 40px, 540px); margin: 0 auto; }
  .hero .hero-content { display: block !important; max-width: 100%; padding: 0; text-align: left; }
  .hero .hero-tag {
    display: inline-flex; align-items: center; margin-bottom: 16px;
    padding: 8px 12px; border: 1px solid #ffffff55; border-radius: 999px;
    background: #ffffff18; backdrop-filter: blur(8px);
    color: #b9dfff; font-size: 10px; font-weight: 800; letter-spacing: .18em;
  }
  .hero .hero-title {
    max-width: 530px; margin: 0;
    font-size: clamp(2.3rem, 9vw, 4.2rem);
    line-height: 1.06; letter-spacing: -.055em;
    color: #fff; text-wrap: balance; overflow-wrap: normal;
  }
  .hero .hero-desc {
    max-width: 440px; margin: 19px 0 25px;
    color: #e1eaf9; font-size: clamp(.88rem, 3.5vw, 1rem); line-height: 1.65;
    text-wrap: pretty;
  }
  .hero .hero-buttons { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .hero .hero-buttons .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; min-width: 0; min-height: 51px; padding: 12px 10px;
    border-radius: 12px; font-size: 12px; font-weight: 800;
    line-height: 1.3; text-align: center; white-space: normal;
  }
  .hero .hero-buttons > a[href="#blog"] { display: none; }
  .hero .hero-buttons .hero-mobile-products { display: inline-flex !important; }
  .hero .hero-scroll { display: block; position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 6; }
  .hero .hero-scroll a { display: flex; flex-direction: column; align-items: center; gap: 7px; color: #ffffffc9; font-size: 9px; letter-spacing: .11em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
  .hero .hero-controls { display: none; }
  .hero .hero-progress { bottom: 0; }
}
@media (max-width: 430px) {
  .bc-wrap { width: calc(100% - 30px); }
  .bc-header { padding-inline: 14px; }
  .bc-nav { gap: 8px 12px; }
  .bc-home { padding: 9px 12px; }
  .bc-hero h1 { font-size: clamp(2.5rem, 12vw, 4rem); overflow-wrap: anywhere; }
  .bc-hero__actions > a { width: 100%; }
  .pf-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pad-smart-back { bottom: max(12px, env(safe-area-inset-bottom)); }
  .hero { min-height: 540px; height: 88svh; padding: 100px 0 75px; }
  .hero .container { width: calc(100% - 36px); }
  .hero .hero-title { font-size: clamp(2.25rem, 10.4vw, 3.3rem); }
  .hero .hero-desc { margin-block: 16px 22px; }
  .hero .hero-scroll { bottom: 19px; }
}
@media (max-width: 780px) and (max-height: 630px) {
  .hero { height: auto; min-height: 550px; }
}
@media (max-width: 780px) and (prefers-reduced-motion: reduce) {
  .hero-slider .slide { transition: none; }
}
@media (max-height: 680px) and (min-width: 781px) {
  .hero { min-height: min(700px, 100svh); }
  .pad-video-ad__panel { max-height: calc(100dvh - 24px); overflow-y: auto; }
}
