/* MUKLAWA_UK_RESPONSIVE_V4_FINAL */

html, body {
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

img {
  max-width:100%;
  height:auto;
}

/* ---------- HEADER ---------- */

.site-header {
  width:100%;
  overflow:visible;
}

.site-header .nav {
  width:min(1500px, calc(100% - 32px)) !important;
  height:74px !important;
  margin:0 auto !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  gap:18px !important;
  overflow:visible !important;
}

.brand {
  flex:0 0 auto !important;
  margin:0 !important;
}

.brand img {
  width:auto !important;
  height:44px !important;
  max-width:190px !important;
  object-fit:contain !important;
}

.nav-links {
  display:flex !important;
  flex:1 1 auto !important;
  align-items:center !important;
  justify-content:center !important;
  flex-wrap:nowrap !important;
  gap:18px !important;
  margin:0 !important;
  padding:0 !important;
  min-width:0 !important;
}

.nav-links a {
  display:inline-flex !important;
  align-items:center !important;
  white-space:nowrap !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
  font-size:15px !important;
  line-height:1.2 !important;
  font-weight:700 !important;
  padding:6px 0 !important;
  margin:0 !important;
}

.desktop-download {
  flex:0 0 auto !important;
  min-height:46px !important;
  padding:0 20px !important;
  white-space:nowrap !important;
  font-size:15px !important;
}

.mobile-menu-v2 {
  display:none !important;
}

/* ---------- HERO ---------- */

.hero {
  padding:58px 0 48px !important;
  min-height:auto !important;
}

.hero .container {
  width:min(1280px, calc(100% - 40px)) !important;
  margin:0 auto !important;
}

.hero-grid {
  display:grid !important;
  grid-template-columns:minmax(0,1.04fr) minmax(380px,.96fr) !important;
  gap:clamp(36px,5vw,70px) !important;
  align-items:center !important;
}

.hero-grid > * {
  min-width:0 !important;
}

.hero h1 {
  font-size:clamp(46px,4.4vw,68px) !important;
  line-height:1.02 !important;
  letter-spacing:-.045em !important;
  max-width:700px !important;
  margin:14px 0 22px !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
}

.hero .lead {
  font-size:clamp(17px,1.35vw,20px) !important;
  line-height:1.65 !important;
  max-width:680px !important;
}

.hero-card {
  width:100% !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
}

.hero-card img {
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:min(100%,520px) !important;
  max-height:720px !important;
  object-fit:contain !important;
  margin:0 auto !important;
}

/* ---------- SCREEN GRIDS ---------- */

.uk-screens-grid {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:24px !important;
  width:100% !important;
}

.uk-screen-card,
.uk-screen-image {
  min-width:0 !important;
  max-width:100% !important;
}

.uk-screen-image img {
  width:auto !important;
  max-width:100% !important;
  height:auto !important;
  object-fit:contain !important;
}

/* ---------- NARROW DESKTOP / TABLET ---------- */

@media (max-width:1360px) {

  .nav-links,
  .desktop-download {
    display:none !important;
  }

  .mobile-menu-v2 {
    display:block !important;
    margin-left:auto !important;
    position:relative !important;
    z-index:9999 !important;
  }

  .site-header .nav {
    width:calc(100% - 28px) !important;
  }

  .hero-grid {
    grid-template-columns:minmax(0,1fr) minmax(320px,.85fr) !important;
    gap:34px !important;
  }

  .hero-card img {
    max-width:430px !important;
  }

  .uk-screens-grid {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

/* ---------- TABLET PORTRAIT ---------- */

@media (max-width:900px) {

  .site-header .nav {
    height:68px !important;
  }

  .brand img {
    height:38px !important;
    max-width:150px !important;
  }

  .hero {
    padding:42px 0 !important;
  }

  .hero .container {
    width:calc(100% - 28px) !important;
  }

  .hero-grid {
    grid-template-columns:1fr !important;
    gap:34px !important;
  }

  .hero h1 {
    font-size:clamp(40px,7vw,54px) !important;
    max-width:650px !important;
  }

  .hero-card img {
    max-width:410px !important;
    max-height:none !important;
  }
}

/* ---------- MOBILE ---------- */

@media (max-width:620px) {

  .site-header .nav {
    width:calc(100% - 24px) !important;
    height:64px !important;
  }

  .brand img {
    height:34px !important;
    max-width:136px !important;
  }

  .mobile-menu-panel-v2 {
    width:calc(100vw - 24px) !important;
    max-width:340px !important;
    right:0 !important;
    top:52px !important;
  }

  .hero {
    padding:34px 0 38px !important;
  }

  .hero .container {
    width:calc(100% - 24px) !important;
  }

  .hero h1 {
    font-size:clamp(38px,11vw,48px) !important;
    line-height:1.03 !important;
  }

  .hero .lead {
    font-size:17px !important;
  }

  .hero .actions {
    display:grid !important;
    grid-template-columns:1fr !important;
    width:100% !important;
    gap:12px !important;
  }

  .hero .actions .btn {
    width:100% !important;
    min-height:52px !important;
  }

  .hero-card img {
    max-width:min(100%,340px) !important;
  }

  .uk-screens-grid {
    grid-template-columns:1fr !important;
    gap:26px !important;
  }
}

/* ---------- SMALL MOBILE ---------- */

@media (max-width:390px) {

  .site-header .nav,
  .hero .container {
    width:calc(100% - 20px) !important;
  }

  .brand img {
    height:31px !important;
    max-width:124px !important;
  }

  .hero h1 {
    font-size:38px !important;
  }

  .hero .lead {
    font-size:16px !important;
  }

  .hero-card img {
    max-width:295px !important;
  }
}

/* END MUKLAWA_UK_RESPONSIVE_V4_FINAL */
