/* =========================
   HOME HEADER
========================= */

.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  color: var(--header-text);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.site-header__utility{
  background: var(--bg-dark);
  color: var(--text-light);
  font-size: 13px;
}

.site-header__utility-inner{
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header__utility-left,
.site-header__utility-right{
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-header__utility a{
  color: var(--text-light);
  text-decoration: none;
}

.site-header__utility-link{
  font-weight: 700;
}

.site-header__main{
  min-height: 88px;
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  align-items: center;
  gap: 30px;
}

.site-header__brand{
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.site-header__logo{
  width: 100px;
  height: 100px;
  flex: 0 0 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
}

.site-header__logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.site-header__brand-text{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  min-width: 0;
}

.site-header__brand-line{
  display: block;
  line-height: 1;
  white-space: nowrap;
}

.site-header__brand-line--top{
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--text-main);
}

.site-header__brand-line--bottom{
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--brand-green);
}

.site-header__brand-sub{
  font-size: 12px;
  line-height: 1.2;
  color: var(--text-main);
  opacity: 0.65;
  margin-top: 4px;
}

.site-header__search{
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 520px;
  width: 100%;
}

.site-header__search input{
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 14px;
}

.site-header__search input:focus{
  outline: none;
  border-color: var(--primary);
  background: var(--bg-surface);
}

.site-header__search button{
  height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-soft);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.site-header__actions{
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-action-link{
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
}

.header-action-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--accent-orange);
  color: var(--primary-contrast);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.site-header__nav-wrap{
  border-top: 1px solid var(--border-soft);
  background: var(--header-bg);
}

.site-header__nav{
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 22px;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-header__nav::-webkit-scrollbar{
  display: none;
}

.site-header__nav a{
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.site-header__nav a:hover,
.header-action-link:hover,
.header-action-btn:hover,
.site-header__utility a:hover,
.site-header__search button:hover{
  opacity: 0.88;
}

.nav-toggle{
  display: none;
}

/* =========================
   MOBILE DRAWER
========================= */

.mobile-drawer[hidden]{
  display: none !important;
}

.mobile-drawer{
  position: fixed;
  inset: 0;
  z-index: 11000;
}

.mobile-drawer__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
}

.mobile-drawer__panel{
  position: absolute;
  top: 16px;
  right: 16px;
  bottom: 16px;
  left: 16px;
  background: var(--bg-surface);
  color: var(--text-main);
  border-radius: 26px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 24px 60px rgba(0,0,0,0.32);
  padding: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-drawer__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 20px;
}

.mobile-drawer__brand{
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.mobile-drawer__logo-wrap{
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  overflow: visible;
}

.mobile-drawer__logo-wrap img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.mobile-drawer__brand-text{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  min-width: 0;
}

.mobile-drawer__brand-line{
  display: block;
  line-height: 0.98;
  white-space: nowrap;
}

.mobile-drawer__brand-line--top{
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.01em;
}

.mobile-drawer__brand-line--bottom{
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-green);
  letter-spacing: 0.02em;
}

.mobile-drawer__brand-sub{
  font-size: 11px;
  line-height: 1.2;
  color: var(--text-main);
  opacity: 0.65;
  margin-top: 4px;
}

.mobile-drawer__close{
  border: 1px solid var(--border-soft);
  background: var(--bg-surface);
  color: var(--text-main);
  border-radius: 18px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-drawer__search{
  display: flex;
  gap: 10px;
  margin: 0 0 18px;
}

.mobile-drawer__search input{
  flex: 1;
  height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: var(--bg-surface);
  color: var(--text-main);
}

.mobile-drawer__search button{
  height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: var(--accent-orange);
  color: var(--primary-contrast);
  font-weight: 700;
}

.mobile-drawer__nav{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  overflow-y: auto;
  min-height: 0;
  padding-right: 4px;
}

.mobile-drawer__nav a{
  color: var(--text-main);
  text-decoration: none;
  font-size: 20px;
  line-height: 1.25;
  padding: 14px 6px;
  border-radius: 14px;
}

.mobile-drawer__nav a:hover{
  background: var(--brand-blue-soft);
}

.mobile-drawer__actions{
  margin-top: auto;
  padding-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  flex-shrink: 0;
  border-top: 1px solid var(--border-soft);
}

.mobile-drawer__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 18px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 18px;
}

.mobile-drawer__btn--primary{
  background: var(--accent-orange);
  color: var(--primary-contrast);
}

.mobile-drawer__btn--secondary{
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-soft);
}

/* =========================
   HOME HERO
========================= */

.hero--home{
  padding: 56px 0 40px;
  background: transparent;
}

.hero-home{
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: center;
  opacity: 1;
  transition: opacity 0.35s ease;
  padding: 60px 0;
}

.hero-home.is-fading{
  opacity: 0;
}

.hero-home__content{
  max-width: 520px;
  position: relative;
  z-index: 2;
}

.hero-home__eyebrow{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.hero-home__headline-bar{
  display: inline-block;
  max-width: 100%;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 16px 20px;
  border-radius: 18px;
  margin-bottom: 22px;
}

.hero-home__headline-main{
  display: block;
  font-size: clamp(22px, 2.6vw, 40px);
  font-weight: 800;
  line-height: 1.08;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-home__title{
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  margin-bottom: 16px;
  color: var(--text-main);
}

.hero-home__fallback{
  font-size: 18px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--text-main) 70%, white);
  margin-bottom: 22px;
}

.hero__actions{
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}

.hero__actions .btn{
  background: var(--accent-orange);
  color: white;
  border: none;
}

.hero__actions .btn--secondary{
  background: white;
  color: var(--text-main);
  border: 1px solid var(--border-soft);
}

.hero-home__visual{
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.hero-home__product-card{
  width: 100%;
  max-width: 100%;
  min-height: 460px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(239,239,235,0.90));
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  overflow: hidden;
}

.hero-home__product-image{
  width: auto;
  height: auto;
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  display: block;
}

.hero-home__visual.is-visual .hero-home__product-card,
.hero-home__visual.is-product .hero-home__product-card{
  max-width: 500px;
  min-height: 430px;
  padding: 26px;
}

.hero-home__visual.is-visual .hero-home__product-image,
.hero-home__visual.is-product .hero-home__product-image{
  width: auto;
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.hero-home__media-video{
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.hero-home__pdf-link{
  display: block;
  width: 100%;
  height: 100%;
}

.hero-home__media-empty{
  font-size: 14px;
  color: #777;
}

.hero-home__controls{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.hero-home__arrow{
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-soft);
  background: var(--bg-surface);
  color: var(--primary);
  border-radius: 999px;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.hero-home__arrow:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.10);
  border-color: color-mix(in srgb, var(--text-main) 25%, white);
}

.hero-home__dots{
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-home__dot{
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 0;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  padding: 0;
  transition: transform 0.18s ease, background 0.18s ease;
}

.hero-home__dot:hover{
  transform: scale(1.08);
  background: rgba(0, 0, 0, 0.3);
}

.hero-home__dot.is-active{
  background: var(--primary);
  transform: scale(1.15);
}

/* =========================
   DISTRIBUTOR STRIP
========================= */

.distributor-strip{
  padding: 18px 0 10px;
}

.distributor-strip__inner{
  background:
    radial-gradient(
      1200px 700px at 75% 10%,
      rgba(var(--m4-blue-rgb), 0.35),
      transparent 60%
    ),
    radial-gradient(
      900px 600px at 15% 0%,
      rgba(var(--m4-navy2-rgb), 0.45),
      transparent 58%
    ),
    linear-gradient(
      135deg,
      var(--m4-navy) 0%,
      var(--m4-navy2) 45%,
      var(--m4-blue) 100%
    );
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  border-radius: 24px;
  padding: 28px 32px;
  box-shadow: 0 16px 34px rgba(0,0,0,0.12);
  width: min(1200px, 90%);
  margin: 0 auto;
}

.distributor-strip__grid{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
}

.distributor-strip__logo{
  width: 110px;
  height: 110px;
  background: #fff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  overflow: hidden;
  flex-shrink: 0;
}

.distributor-strip__logo img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.distributor-strip__label{
  color: var(--accent-yellow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.distributor-strip__title{
  font-size: clamp(24px, 3vw, 38px);
  margin-bottom: 10px;
}

.distributor-strip__text{
  font-size: 17px;
  line-height: 1.5;
  max-width: 760px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.86);
}

.distributor-strip__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

.home-authority{
  padding: 70px 0 50px;
}

.home-authority__grid{
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.home-authority__eyebrow{
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.home-authority__title{
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.1;
  margin-bottom: 18px;
}

.home-authority__text{
  font-size: 17px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--text-main) 70%, white);
  margin-bottom: 20px;
}

.home-authority__list{
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.home-authority__list li{
  position: relative;
  padding-left: 20px;
  font-size: 16px;
}

.home-authority__list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-yellow);
}

.home-authority__visual{
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-authority__card{
  width: 100%;
  max-width: 520px;
  min-height: 320px;
  background: linear-gradient(135deg, var(--bg-dark), var(--primary));
  color: #fff;
  padding: 48px 42px;
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-authority__card strong{
  display: block;
  font-size: 20px;
  margin-bottom: 12px;
}

.home-authority__card p{
  font-size: 15px;
  color: rgba(255,255,255,0.75);
}

.home-authority__card-title{
  font-size: 24px;
  margin-bottom: 16px;
  display: block;
}

.home-authority__card-text{
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
}

.home-authority__cta{
  margin-top: 24px;
}

.hero-home__pdf-preview{
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  border-radius: 18px;
  gap: 12px;
  text-align: center;
}

.hero-home__pdf-icon{
  font-size: 48px;
}

.hero-home__pdf-text{
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px){
  .site-header__utility{
    display: none;
  }

  .site-header__main{
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .site-header__search,
  .site-header__actions,
  .site-header__nav-wrap{
    display: none;
  }

  .site-header__brand{
    min-width: 0;
    overflow: hidden;
    gap: 0;
  }

  .mobile-drawer__brand{
    gap: 0;
  }

  .mobile-drawer__brand-line--top{
    font-size: 21.7px;
  }

  .mobile-drawer__brand-line--bottom{
    font-size: 16px;
  }

  .nav-toggle{
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    margin-left: auto;
    justify-self: end;
    align-self: center;
  }

  .nav-toggle span{
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    border-radius: 999px;
    margin-left: auto;
  }

  .hero-home{
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .home-authority {
	padding: 0px 0 50px;
  }

  .hero-home__content{
    max-width: none;
  }

  .hero-home__visual{
    order: -1;
  }
  .hero-home__eyebrow, .home-authority__eyebrow{
	font-size: 16px;
  }

  .hero-home__product-card,
  .hero-home__visual.is-visual .hero-home__product-card,
  .hero-home__visual.is-product .hero-home__product-card{
    width: 100%;
    max-width: 100%;
    min-height: 340px;
  }

  .hero-home__visual.is-visual .hero-home__product-image{
    max-height: 420px;
  }

  .distributor-strip__grid{
    grid-template-columns: 1fr;
  }

  .distributor-strip__logo{
    margin: 0 auto;
  }

  .home-authority__grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px){
  .mobile-drawer__actions{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){

  .mobile-drawer__search input {
    font-size: 16px;
  }
  
  .site-header__main{
    min-height: 76px;
    gap: 12px;
  }

  .site-header__brand-line--top{
    font-size: 16px;
  }

  .site-header__brand-line--bottom{
    font-size: 12.2px;
  }

  .site-header__logo{
    width: 70px;
    height: 70px;
    flex-basis: 70px;
  }

  .hero--home {
    padding: 5px 0 40px;
  }
  
  .hero-home {
	padding: 10px;
  }

  .hero-home__controls{
    justify-content: center;
  }

  .hero-home__headline-bar{
    display: inline-flex;
    align-items: center;
    background: var(--brand-blue-soft);
    color: var(--primary);
    padding: 10px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
    border: 1px solid var(--border-soft);
  }

  .hero-home__title{
    font-size: clamp(28px, 10vw, 44px);
  }

  .distributor-strip__inner{
    padding: 22px 20px;
  }

  .distributor-strip__meta{
    flex-direction: column;
    gap: 8px;
  }

  .mobile-drawer__panel{
    top: 12px;
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 18px;
    border-radius: 22px;
  }

  .mobile-drawer__actions{
    grid-template-columns: 1fr;
  }
}
