/* =========================================================
   KMS / KESMAKSAN — Red, White & Graphite Brand Theme
   Loaded after the original stylesheet to preserve content and layout.
   ========================================================= */
:root {
  --navy-950: #090909;
  --navy-900: #111111;
  --navy-850: #181818;
  --navy-800: #222222;
  --blue-700: #b51218;
  --blue-600: #d71920;
  --blue-500: #e5252b;
  --blue-400: #ff5b60;
  --red-600: #a50f15;
  --red-500: #d71920;
  --steel-900: #181818;
  --steel-700: #4d4d4d;
  --steel-600: #666666;
  --steel-500: #858585;
  --steel-300: #d2d2d2;
  --steel-200: #e7e7e7;
  --steel-150: #efefef;
  --steel-100: #f7f7f7;
  --white: #ffffff;
  --shadow-sm: 0 12px 28px rgba(0,0,0,.08);
  --shadow-md: 0 24px 56px rgba(0,0,0,.13);
  --shadow-lg: 0 38px 88px rgba(0,0,0,.25);
}

body { color: #202020; background: #fff; }
::selection { color:#fff; background:#d71920; }
:focus-visible { outline-color:#e5252b; }

.utility-bar {
  color:#f1f1f1;
  background:linear-gradient(90deg,#090909,#171717);
  border-bottom:1px solid rgba(215,25,32,.26);
}
.utility-item svg { color:#ff5b60; }

.site-header {
  background:rgba(255,255,255,.98);
  border-bottom:1px solid rgba(215,25,32,.12);
  backdrop-filter:blur(18px);
}
.site-header.is-scrolled { box-shadow:0 16px 42px rgba(0,0,0,.10); }
.site-header__inner { gap:24px; }
.brand { gap:14px; min-width:0; }
.brand__mark {
  display:grid;
  width:116px;
  height:62px;
  flex:0 0 116px;
  place-items:center;
  overflow:hidden;
  padding:6px 8px;
  background:#fff;
  border:1px solid rgba(215,25,32,.10);
  border-radius:15px;
  box-shadow:0 9px 24px rgba(0,0,0,.075);
}
.brand__mark img,
.footer-logo .brand__mark img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  transform:none;
}
.brand__wordmark { display:flex; flex-direction:column; justify-content:center; min-width:0; line-height:1; white-space:nowrap; }
.brand__wordmark strong { color:#111; font-size:1.38rem; font-weight:900; letter-spacing:.055em; }
.brand__wordmark small { margin-top:7px; color:#b51218; font-size:.47rem; font-weight:850; letter-spacing:.17em; }
.primary-nav > a { color:#171717; }
.primary-nav > a::after { height:3px; background:#d71920; border-radius:999px; }
.primary-nav > a:hover,
.primary-nav > a.is-active { color:#b51218; }
.menu-toggle { background:#f7f7f7; border:1px solid #ececec; }
.menu-toggle span { background:#151515; }

.btn { background:#d71920; border-color:#d71920; box-shadow:0 14px 30px rgba(215,25,32,.20); }
.btn:hover { background:#b51218; border-color:#b51218; box-shadow:0 16px 34px rgba(181,18,24,.28); }
.btn--dark { background:#111; border-color:#111; box-shadow:0 14px 30px rgba(0,0,0,.16); }
.btn--dark:hover { background:#d71920; border-color:#d71920; }
.btn--outline-light { background:rgba(255,255,255,.04); border-color:rgba(255,255,255,.48); box-shadow:none; }
.btn--outline-light:hover { color:#111; background:#fff; border-color:#fff; }
.btn--outline-dark { color:#111; border-color:#cfcfcf; box-shadow:none; }
.btn--outline-dark:hover { color:#fff; background:#d71920; border-color:#d71920; }
.link-arrow { color:#b51218; }

.eyebrow { color:#d71920; }
.eyebrow--light { color:#ff5b60; }
.text-blue { color:#d71920; }

.hero { min-height:min(820px,calc(100vh - 38px)); background:#090909; }
.hero__media { background:#090909 url('../images/kms-selected-poster-desktop-v5.webp') center/cover no-repeat; }
.hero__media video { filter:saturate(1.02) contrast(1.06) brightness(.88); transform:scale(1.01); }
.hero__overlay {
  background:
    linear-gradient(90deg,rgba(7,7,7,.97) 0%,rgba(11,11,11,.87) 43%,rgba(16,8,9,.46) 73%,rgba(10,10,10,.54) 100%),
    linear-gradient(0deg,rgba(6,6,6,.92) 0%,transparent 50%);
}
.hero__overlay::after {
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(215,25,32,.075) 1px,transparent 1px);
}
.hero h1 span { color:#ff4b52; }
.hero__lead { color:#e3e3e3; }
.hero__fact::before { background:#d71920; box-shadow:0 0 0 5px rgba(215,25,32,.16); }
.hero__scroll span::after { background:#ff5b60; }
.hero-video-toggle {
  position:absolute;
  z-index:5;
  right:clamp(18px,3vw,44px);
  bottom:clamp(20px,3vw,38px);
  display:inline-flex;
  min-height:44px;
  align-items:center;
  gap:10px;
  padding:0 16px;
  color:#fff;
  cursor:pointer;
  background:rgba(12,12,12,.74);
  border:1px solid rgba(255,255,255,.24);
  border-radius:999px;
  box-shadow:0 10px 28px rgba(0,0,0,.26);
  backdrop-filter:blur(12px);
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.hero-video-toggle[hidden] { display:none; }
.hero-video-toggle svg { width:17px; height:17px; }

.page-hero {
  background:#090909 url('../images/kms-page-hero.jpg') center/cover no-repeat;
}
.page-hero::before {
  background:
    linear-gradient(90deg,rgba(8,8,8,.98) 0%,rgba(13,13,13,.90) 51%,rgba(23,7,8,.56) 100%),
    linear-gradient(0deg,rgba(8,8,8,.78),transparent 62%);
}
.breadcrumb__sep,
.breadcrumb a:hover { color:#ff5b60; }

.section--muted { background:#f7f7f7; }
.section--dark { color:#dedede; background:linear-gradient(135deg,#090909,#181818); }
.section--grid::before {
  background-image:
    linear-gradient(rgba(215,25,32,.052) 1px,transparent 1px),
    linear-gradient(90deg,rgba(215,25,32,.052) 1px,transparent 1px);
}

.stats-grid { border-color:#ececec; box-shadow:0 24px 58px rgba(0,0,0,.14); }
.stat-card::before,
.stat-card:nth-child(2)::before,
.stat-card:nth-child(4)::before { background:#d71920; }
.stat-card__value { color:#111; }

.media-frame__accent { border-color:rgba(215,25,32,.34); }
.media-frame__badge { background:#111; border-left-color:#d71920; }
.check-list li::before { background:#d71920; }

.product-card,
.machine-card,
.contact-card,
.form-card,
.sector-card,
.product-spec,
.detail-list li { border-color:rgba(215,25,32,.10); }
.product-card:hover,
.machine-card:hover { border-color:rgba(215,25,32,.28); box-shadow:0 25px 55px rgba(0,0,0,.13); }
.product-card__image { background:linear-gradient(145deg,#fafafa,#ededed); }
.product-card__index { color:#b51218; border-color:rgba(215,25,32,.12); }
.product-card__tag,
.product-spec svg,
.machine-card__icon,
.sector-card__number,
.process-step::before,
.timeline-item__year { color:#d71920; }
.machine-card__icon,
.faq-question span:last-child { color:#d71920; background:#fff0f1; }
.detail-list li::before { background:#d71920; border-color:#ffe0e2; }
.sector-card:hover { background:#111; border-color:#111; }

.service-card { background:linear-gradient(145deg,#111,#202020); border:1px solid rgba(215,25,32,.16); }
.service-card:hover { background:linear-gradient(145deg,#171717,#2b0e10); }
.service-card__icon { color:#ff5b60; background:rgba(215,25,32,.12); border-color:rgba(255,91,96,.25); }
.service-card p { color:#c8c8c8; }
.service-card::after { opacity:.07; }

.capability-item__number,
.capability-item__arrow { color:#ff5b60; }
.capability-item:hover .capability-item__arrow { color:#fff; background:#d71920; }

.filter-btn:hover,
.filter-btn.is-active { color:#fff; background:#d71920; border-color:#d71920; }

.cta-banner { background:linear-gradient(120deg,#b51218,#e5252b 58%,#a80f15); }
.cta-banner p { color:#fff1f1; }
.cta-banner::before { opacity:.10; }

.gallery-card__overlay { background:linear-gradient(0deg,rgba(7,7,7,.92),transparent); }
.contact-card__icon { background:#d71920; }
.contact-card a:hover { color:#b51218; }
.form-control:focus { border-color:#d71920; box-shadow:0 0 0 4px rgba(215,25,32,.10); }
.map-panel {
  background:
    linear-gradient(135deg,rgba(9,9,9,.96),rgba(33,7,8,.80)),
    url('../images/catalog/gearboxes-aligned-three.webp') center/cover no-repeat;
}

.site-footer { color:#c1c1c1; background:#090909; border-top:4px solid #d71920; }
.footer-logo { display:inline-flex; align-items:center; gap:14px; margin-bottom:24px; }
.footer-logo .brand__mark { width:124px; height:68px; flex-basis:124px; background:#fff; border-radius:14px; box-shadow:0 10px 30px rgba(0,0,0,.30); }
.footer-logo .brand__wordmark strong { color:#fff; }
.footer-logo .brand__wordmark small { color:#ff6c71; }
.footer-brand p,
.footer-links a,
.footer-contact__item { color:#b7b7b7; }
.footer-links a::before { background:#d71920; }
.footer-social a:hover { color:#fff; background:#d71920; }
.footer-contact__item svg { color:#ff5b60; }
.footer-bottom { border-color:rgba(255,255,255,.10); }

.back-to-top { background:#111; }
.back-to-top:hover { background:#d71920; }

@media (max-width:1180px) {
  .brand__mark { width:100px; height:56px; flex-basis:100px; }
  .brand__wordmark strong { font-size:1.16rem; }
  .brand__wordmark small { font-size:.40rem; letter-spacing:.13em; }
}
@media (max-width:980px) {
  .primary-nav { border-top:1px solid rgba(215,25,32,.10); }
  .primary-nav > a { color:#181818; }
}
@media (max-width:700px) {
  .brand { gap:9px; }
  .brand__mark { width:82px; height:50px; flex-basis:82px; padding:5px; border-radius:12px; }
  .brand__wordmark strong { font-size:1.03rem; letter-spacing:.035em; }
  .brand__wordmark small { display:none; }
  .hero,
  .hero__inner { min-height:760px; }
  .hero__media { background-image:url('../images/kms-selected-poster-mobile-v5.webp'); }
  .hero__media video { object-position:center center; filter:saturate(1.02) contrast(1.06) brightness(.84); }
  .hero__overlay {
    background:
      linear-gradient(180deg,rgba(7,7,7,.80) 0%,rgba(7,7,7,.55) 34%,rgba(8,8,8,.78) 68%,rgba(8,8,8,.98) 100%),
      linear-gradient(90deg,rgba(7,7,7,.70),rgba(25,7,8,.30));
  }
  .hero h1 { font-size:clamp(2.72rem,13.2vw,4.45rem); }
  .hero h1 span { color:#ff5258; }
  .hero__lead { color:#ececec; }
  .hero-video-toggle { right:14px; bottom:16px; min-height:40px; padding:0 13px; font-size:.66rem; }
  .footer-logo .brand__mark { width:106px; height:60px; flex-basis:106px; }
}
@media (max-width:420px) {
  .brand__mark { width:74px; height:46px; flex-basis:74px; }
  .brand__wordmark strong { font-size:.94rem; }
}

/* Selected media / logo integration, 2026-09-05. */
[hidden] { display:none !important; }
.brand .brand__mark img, .footer-logo .brand__mark img {
  width:100%; height:100%; max-width:100%; object-fit:contain; transform:none;
}
.hero__media video { object-fit:cover; object-position:center center; transform:none; }
.hero__media .hero__video { opacity:0; transition:opacity .25s ease; }
.hero.is-video-ready .hero__media .hero__video { opacity:1; }
.hero-video-toggle { bottom:28px; right:28px; min-height:44px; }
.hero__media, .hero__overlay { pointer-events:none; }
.btn--light { color:#111; background:#fff; border-color:#fff; box-shadow:none; }
.btn--light:hover { color:#111; background:#f5f5f5; border-color:#f5f5f5; }
.btn--outline-dark { background:transparent; }
@media (max-width:1180px) {
  .primary-nav { gap:0; }
  .primary-nav > a { padding-inline:7px; }
  .site-header__inner { gap:14px; }
}
@media (max-width:980px) {
  .menu-toggle { display:block; flex-shrink:0; }
  .primary-nav { height:calc(100dvh - var(--header-height)); bottom:auto; background:#fff; }
}
@media (max-width:700px) {
  .hero-video-toggle { bottom:24px; left:14px; right:auto; font-size:.65rem; }
  .hero__inner { padding-bottom:110px; }
  .floating-actions { bottom:max(14px,env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion:reduce) {
  .hero__media .hero__video { transition:none; }
}
/* Preserve the hero control and image frames inside smaller viewports. */
@media (min-width:701px) {
  .hero-video-toggle { right:92px; bottom:64px; }
}
@media (max-width:980px) {
  .media-frame__accent { right:0; }
  .media-frame__badge { right:14px; }
}


/* =========================================================
   KMS V3 — VIDEO-FIRST HERO / CLEAN HEADER
   Approved logo is used as-is; no redraw, no badge/card.
   ========================================================= */
.utility-bar{display:none!important}
:root{--header-height:72px}
.site-header{height:var(--header-height);background:rgba(255,255,255,.985)}
.site-header__inner{gap:20px}
.site-header .brand{gap:0;flex:0 0 auto;min-width:auto}
.site-header .brand__mark{
  width:164px;height:62px;flex:0 0 164px;padding:0;margin:0;
  overflow:visible;background:transparent;border:0;border-radius:0;box-shadow:none;
  display:flex;align-items:center;justify-content:flex-start;
}
.site-header .brand__mark img{width:100%;height:100%;object-fit:contain;object-position:left center;transform:none}
.site-header .brand__wordmark{display:none!important}
.primary-nav> a{font-size:.84rem;font-weight:780}

/* Video is the hero. Text only supports it. */
.hero{min-height:calc(100svh - var(--header-height));background:#050505}
.hero__inner{
  min-height:calc(100svh - var(--header-height));
  align-items:flex-end;
  padding:72px 0 64px;
}
.hero__content{max-width:610px;padding:0}
.hero .eyebrow{display:none!important}
.hero h1{
  max-width:610px;margin:0 0 14px;
  font-size:clamp(2.45rem,4.25vw,4.25rem);
  line-height:1.00;letter-spacing:-.035em;
  text-shadow:0 4px 20px rgba(0,0,0,.52);
}
.hero__lead{
  max-width:520px;margin:0 0 20px;color:rgba(255,255,255,.88);
  font-size:clamp(.93rem,1.12vw,1.06rem);line-height:1.55;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.hero__actions{gap:10px}
.hero__actions .btn{min-height:46px;padding:0 20px;font-size:.79rem}
.hero__actions .btn--outline-light{display:none!important}
.hero__media video{
  filter:saturate(1.03) contrast(1.03) brightness(1.0)!important;
  transform:none!important;object-fit:cover;object-position:center center;
}
.hero__overlay{
  background:
    linear-gradient(90deg,rgba(0,0,0,.62) 0%,rgba(0,0,0,.28) 30%,rgba(0,0,0,.05) 55%,rgba(0,0,0,0) 76%),
    linear-gradient(0deg,rgba(0,0,0,.64) 0%,rgba(0,0,0,.22) 27%,rgba(0,0,0,0) 52%)!important;
}
.hero__overlay::after{opacity:.18!important}
/* Do not cover the video with playback chrome when autoplay works. */
.hero-video-toggle{background:rgba(9,9,9,.54);border-color:rgba(255,255,255,.18);backdrop-filter:blur(8px)}

@media(max-width:980px){
  :root{--header-height:66px}
  .site-header .brand__mark{width:142px;height:54px;flex-basis:142px}
  .site-header__inner{gap:12px}
  .primary-nav{top:var(--header-height);height:calc(100dvh - var(--header-height))}
}
@media(max-width:700px){
  :root{--header-height:62px}
  .site-header .brand__mark{width:128px;height:49px;flex-basis:128px}
  .hero,.hero__inner{min-height:calc(100svh - var(--header-height))!important}
  .hero__inner{align-items:flex-end;padding:48px 0 30px!important}
  .hero__content{width:min(100%,460px);max-width:460px}
  .hero h1{
    max-width:92%;margin-bottom:12px;
    font-size:clamp(2.05rem,9.7vw,3.05rem)!important;
    line-height:1.02;
  }
  .hero__lead{display:none!important}
  .hero__actions{width:auto!important}
  .hero__actions .btn{width:auto!important;min-height:44px;padding:0 18px;font-size:.76rem}
  .hero__media{background-image:url('../images/kms-selected-poster-mobile-v5.webp')!important}
  .hero__media video{object-position:center center!important;filter:saturate(1.02) contrast(1.02) brightness(1.02)!important}
  .hero__overlay{
    background:
      linear-gradient(180deg,rgba(0,0,0,.08) 0%,rgba(0,0,0,.03) 44%,rgba(0,0,0,.42) 73%,rgba(0,0,0,.78) 100%)!important;
  }
  .hero__overlay::after{display:none!important}
  .hero-video-toggle{left:auto!important;right:12px!important;bottom:12px!important;min-height:38px;padding:0 11px;font-size:.61rem}
}
@media(max-width:420px){
  .site-header .brand__mark{width:118px;height:46px;flex-basis:118px}
  .hero h1{font-size:clamp(1.95rem,9.5vw,2.7rem)!important}
  .hero__actions .btn{min-height:42px;padding-inline:16px}
}


/* =========================================================
   KMS V4 — CLEAN VIDEO / BALANCED MOBILE HERO
   ========================================================= */
@media (min-width:701px){
  .hero__media{background-image:url('../images/kms-selected-poster-desktop-v5.webp')!important}
}

@media (max-width:700px){
  :root{--header-height:60px}
  .site-header .brand__mark{width:116px;height:45px;flex-basis:116px}

  /* Keep the video dominant without letting it consume the whole first screen. */
  .hero{
    min-height:clamp(560px,72svh,680px)!important;
    height:auto!important;
  }
  .hero__inner{
    min-height:clamp(560px,72svh,680px)!important;
    height:auto!important;
    align-items:flex-end!important;
    padding:34px 0 28px!important;
  }
  .hero__content{
    width:min(92%,420px)!important;
    max-width:420px!important;
  }
  .hero h1{
    max-width:100%!important;
    margin:0 0 12px!important;
    font-size:clamp(1.85rem,8.6vw,2.48rem)!important;
    line-height:1.03!important;
    letter-spacing:-.028em!important;
  }
  .hero__lead{display:none!important}
  .hero__actions{width:auto!important;gap:8px!important}
  .hero__actions .btn{
    width:auto!important;
    min-height:41px!important;
    padding:0 16px!important;
    font-size:.70rem!important;
    border-radius:8px!important;
  }
  .hero__media{background-image:url('../images/kms-selected-poster-mobile-v5.webp')!important}
  .hero__media video{
    object-position:center 46%!important;
    filter:saturate(1.01) contrast(1.02) brightness(.99)!important;
  }
  .hero__overlay{
    background:
      linear-gradient(180deg,rgba(0,0,0,.02) 0%,rgba(0,0,0,.01) 43%,rgba(0,0,0,.26) 66%,rgba(0,0,0,.72) 100%)!important;
  }
  .hero__overlay::after{display:none!important}
  .hero-video-toggle{
    right:10px!important;bottom:10px!important;left:auto!important;
    min-height:34px!important;padding:0 10px!important;font-size:.58rem!important;
  }

  /* Bring useful company facts into the first scroll instead of leaving a long empty transition. */
  .stats-strip{
    z-index:12!important;
    margin-top:-12px!important;
    padding:0 14px 0!important;
    background:transparent!important;
  }
  .stats-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    overflow:hidden!important;
    border:1px solid rgba(181,18,24,.12)!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 16px 38px rgba(0,0,0,.11)!important;
  }
  .stat-card{
    min-height:88px!important;
    padding:17px 16px 15px!important;
  }
  .stat-card::before{
    left:16px!important;width:32px!important;height:3px!important;background:#cf1f25!important;
  }
  .stat-card + .stat-card{border-left:1px solid #ececec!important;border-top:0!important}
  .stat-card:nth-child(3),.stat-card:nth-child(4){border-top:1px solid #ececec!important}
  .stat-card:nth-child(3){border-left:0!important}
  .stat-card__value{
    margin-bottom:5px!important;
    font-size:clamp(1.65rem,8vw,2.15rem)!important;
  }
  .stat-card__label{
    font-size:.61rem!important;
    letter-spacing:.045em!important;
    line-height:1.35!important;
  }
  #kurumsal.section{padding-top:58px!important}
}
@media(max-width:420px){
  .hero{min-height:clamp(535px,70svh,640px)!important}
  .hero__inner{min-height:clamp(535px,70svh,640px)!important;padding-bottom:24px!important}
  .hero h1{font-size:clamp(1.75rem,8.5vw,2.25rem)!important}
  .stat-card{min-height:82px!important;padding:15px 14px 13px!important}
  .stat-card__label{font-size:.57rem!important}
}


/* =========================================================
   KMS V5 — NEW HERO VIDEO / 0.5X / MOBILE BALANCE
   ========================================================= */
@media (min-width:701px){
  .hero__media{background-image:url('../images/kms-selected-poster-desktop-v5.webp')!important}
}
@media (max-width:700px){
  /* Center the approved KMS logo in the mobile header. */
  .site-header__inner{
    position:relative!important;
    justify-content:flex-end!important;
  }
  .site-header .brand{
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    transform:translate(-50%,-50%)!important;
    margin:0!important;
    z-index:3!important;
  }
  .site-header .brand__mark{
    width:132px!important;
    height:50px!important;
    flex-basis:132px!important;
  }
  .menu-toggle{
    position:relative!important;
    z-index:4!important;
    margin-left:auto!important;
  }

  /* Keep video dominant, but move the compact copy upward so it does not sit on the very bottom edge. */
  .hero{
    min-height:clamp(600px,76svh,700px)!important;
  }
  .hero__inner{
    min-height:clamp(600px,76svh,700px)!important;
    align-items:flex-end!important;
    padding:30px 0 90px!important;
  }
  .hero__content{
    width:min(88%,370px)!important;
    max-width:370px!important;
  }
  .hero h1{
    max-width:100%!important;
    margin:0 0 10px!important;
    font-size:clamp(1.65rem,7.7vw,2.12rem)!important;
    line-height:1.04!important;
    letter-spacing:-.025em!important;
    text-shadow:0 3px 16px rgba(0,0,0,.65)!important;
  }
  .hero__lead{
    display:block!important;
    max-width:100%!important;
    margin:0 0 14px!important;
    color:rgba(255,255,255,.90)!important;
    font-size:clamp(.72rem,3.1vw,.82rem)!important;
    line-height:1.48!important;
    -webkit-line-clamp:4!important;
    text-shadow:0 2px 12px rgba(0,0,0,.72)!important;
  }
  .hero__actions .btn{
    min-height:39px!important;
    padding:0 14px!important;
    font-size:.66rem!important;
  }
  .hero__media{background-image:url('../images/kms-selected-poster-mobile-v5.webp')!important}
  .hero__media video{
    object-position:center center!important;
    filter:saturate(1.01) contrast(1.02) brightness(1.01)!important;
  }
  /* Only darken the lower-left copy zone, leaving most of the video untouched. */
  .hero__overlay{
    background:
      linear-gradient(180deg,rgba(0,0,0,.00) 0%,rgba(0,0,0,.02) 48%,rgba(0,0,0,.24) 66%,rgba(0,0,0,.72) 100%),
      linear-gradient(90deg,rgba(0,0,0,.40) 0%,rgba(0,0,0,.12) 62%,rgba(0,0,0,0) 100%)!important;
  }
  .hero-video-toggle{bottom:12px!important;right:10px!important}
  .stats-strip{margin-top:-10px!important}
}
@media (max-width:420px){
  .site-header .brand__mark{width:124px!important;height:47px!important;flex-basis:124px!important}
  .hero{min-height:clamp(570px,74svh,650px)!important}
  .hero__inner{min-height:clamp(570px,74svh,650px)!important;padding-bottom:78px!important}
  .hero__content{width:min(90%,350px)!important}
  .hero h1{font-size:clamp(1.52rem,7.6vw,1.95rem)!important}
  .hero__lead{font-size:clamp(.69rem,3.05vw,.78rem)!important;line-height:1.44!important}
}

/* =========================================================
   KMS V6 — MOBILE MEDIA INFO BADGES
   Keep informative labels readable without hiding products.
   ========================================================= */
/* Slightly more discreet on larger screens as well. */
.media-frame__badge{
  width:176px;
  padding:18px 18px 17px;
  border-left-width:4px;
  box-shadow:0 14px 30px rgba(0,0,0,.16);
}
.media-frame__badge strong{
  margin-bottom:4px;
  font-size:1.06rem;
  line-height:1.18;
}
.media-frame__badge span{
  font-size:.70rem;
  line-height:1.42;
}

@media (max-width:700px){
  /* Put the information at the image edge instead of over the product. */
  .media-frame{
    margin-bottom:8px;
  }
  .media-frame__badge{
    position:relative!important;
    z-index:4!important;
    right:auto!important;
    bottom:auto!important;
    width:min(158px,46vw)!important;
    margin:-9px 10px 0 auto!important;
    padding:10px 12px 11px!important;
    border-left-width:3px!important;
    border-radius:0 0 8px 8px!important;
    box-shadow:0 9px 22px rgba(0,0,0,.14)!important;
  }
  .media-frame__badge strong{
    margin:0 0 3px!important;
    font-size:.88rem!important;
    line-height:1.15!important;
    letter-spacing:-.01em!important;
  }
  .media-frame__badge span{
    display:block!important;
    font-size:.57rem!important;
    line-height:1.35!important;
    color:rgba(255,255,255,.76)!important;
  }
  /* Give the image full visual priority. */
  .media-frame__main{
    border-radius:20px!important;
  }
  .media-frame__main img{
    display:block!important;
  }
}

@media (max-width:420px){
  .media-frame__badge{
    width:min(146px,44vw)!important;
    margin-top:-7px!important;
    padding:9px 10px 10px!important;
  }
  .media-frame__badge strong{font-size:.82rem!important}
  .media-frame__badge span{font-size:.54rem!important}
}
