/* ==========================================================================
   KHARJA Design System
   Premium Moroccan road app: black, orange, white, useful and mobile-first.
   ========================================================================== */

:root {
  --k-black: #050505;
  --k-black-2: #0b0b0c;
  --k-anthracite: #111113;
  --k-surface: #151517;
  --k-surface-2: #1d1d20;
  --k-orange: #ff6a00;
  --k-orange-2: #ff8a1c;
  --k-white: #ffffff;
  --k-muted: #b8b8bd;
  --k-muted-2: #85858c;
  --k-border: rgba(255, 106, 0, .22);
  --k-border-soft: rgba(255, 255, 255, .09);
  --k-green: #18c37d;
  --k-red: #ff3b30;
  --k-font-title: "Poppins", "Inter", system-ui, sans-serif;
  --k-font-body: "Inter", system-ui, sans-serif;
  --k-container: 1180px;
  --k-radius: 8px;
  --k-radius-lg: 8px;
  --k-shadow: 0 24px 70px rgba(0, 0, 0, .45);
  --k-shadow-orange: 0 18px 45px rgba(255, 106, 0, .24);
  --k-section-y: clamp(64px, 8vw, 118px);
  --k-ease: cubic-bezier(.2, .7, .25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--k-black);
  color: var(--k-white);
  font-family: var(--k-font-body);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.k-blank-canvas {
  background: var(--k-black);
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--k-white);
  font-family: var(--k-font-title);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.9rem);
}

h2 {
  font-size: clamp(1.75rem, 3.7vw, 3.05rem);
}

h3 {
  font-size: clamp(1.12rem, 1.6vw, 1.42rem);
}

p {
  color: var(--k-muted);
  margin: 0 0 1rem;
}

.k-container {
  margin-inline: auto;
  width: min(100% - 40px, var(--k-container));
}

.k-narrow {
  max-width: 880px;
}

.k-section {
  overflow: hidden;
  padding-block: var(--k-section-y);
  position: relative;
}

.k-section--alt {
  background: var(--k-black-2);
}

.k-section--soft {
  background:
    linear-gradient(180deg, rgba(255, 106, 0, .055), rgba(255, 106, 0, 0) 55%),
    var(--k-black);
}

.k-section--page {
  min-height: 56vh;
}

.k-section-head {
  margin-bottom: clamp(32px, 5vw, 58px);
  max-width: 760px;
}

.k-center {
  text-align: center;
}

.k-center .k-section-head,
.k-center.k-section-head,
.k-center .k-lead,
.k-center-row {
  margin-inline: auto;
}

.k-lead {
  color: var(--k-muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  max-width: 64ch;
}

.k-eyebrow {
  align-items: center;
  background: rgba(255, 106, 0, .08);
  border: 1px solid var(--k-border);
  border-radius: 999px;
  color: var(--k-orange);
  display: inline-flex;
  font-family: var(--k-font-title);
  font-size: .76rem;
  font-weight: 800;
  gap: 8px;
  letter-spacing: .08em;
  margin-bottom: 18px;
  padding: 7px 14px;
  text-transform: uppercase;
}

.text-orange {
  color: var(--k-orange);
}

.k-btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--k-font-title);
  font-size: .96rem;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  transition: transform .22s var(--k-ease), border-color .22s var(--k-ease), background .22s var(--k-ease), box-shadow .22s var(--k-ease);
  white-space: nowrap;
}

.k-btn--primary {
  background: linear-gradient(135deg, var(--k-orange), var(--k-orange-2));
  box-shadow: var(--k-shadow-orange);
  color: #170900;
}

.k-btn--primary:hover,
.k-btn--primary:focus-visible {
  box-shadow: 0 20px 54px rgba(255, 106, 0, .34);
  transform: translateY(-2px);
}

.k-btn--ghost {
  background: rgba(255, 255, 255, .035);
  border-color: var(--k-border-soft);
  color: var(--k-white);
}

.k-btn--ghost:hover,
.k-btn--ghost:focus-visible {
  border-color: var(--k-orange);
  color: var(--k-orange);
  transform: translateY(-2px);
}

.k-btn--dark {
  background: var(--k-surface);
  border-color: var(--k-border-soft);
}

.k-btn--sm {
  font-size: .86rem;
  min-height: 40px;
  padding: 9px 17px;
}

.k-btn--block {
  width: 100%;
}

.k-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.k-header {
  backdrop-filter: blur(16px);
  background: rgba(5, 5, 5, .78);
  border-bottom: 1px solid var(--k-border-soft);
  position: sticky;
  top: 0;
  transition: box-shadow .25s var(--k-ease), background .25s var(--k-ease);
  z-index: 120;
}

.k-header.is-scrolled {
  background: rgba(5, 5, 5, .92);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .38);
}

.k-header__inner {
  align-items: center;
  display: flex;
  gap: 22px;
  min-height: 76px;
}

.k-logo {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
  min-width: max-content;
}

.k-logo img {
  max-height: 48px;
  width: auto;
}

.k-logo__mark {
  align-items: center;
  background: linear-gradient(135deg, var(--k-orange), var(--k-orange-2));
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(255, 106, 0, .35);
  color: #170900;
  display: inline-flex;
  font-family: var(--k-font-title);
  font-size: 1.1rem;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.k-logo__text {
  color: var(--k-white);
  font-family: var(--k-font-title);
  font-size: 1.28rem;
  font-weight: 900;
}

.k-logo__text span {
  color: var(--k-orange);
}

.k-nav {
  align-items: center;
  display: flex;
  margin-left: auto;
}

.k-nav__list {
  align-items: center;
  display: flex;
  gap: clamp(14px, 1.8vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.k-nav__list li {
  margin: 0;
}

.k-nav a {
  color: var(--k-muted);
  font-size: .92rem;
  font-weight: 700;
  padding: 8px 0;
  position: relative;
}

.k-nav a::after {
  background: var(--k-orange);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--k-ease);
  width: 100%;
}

.k-nav a:hover,
.k-nav a:focus-visible,
.k-nav a.is-active,
.k-nav .current-menu-item > a {
  color: var(--k-white);
}

.k-nav a:hover::after,
.k-nav a:focus-visible::after,
.k-nav a.is-active::after,
.k-nav .current-menu-item > a::after {
  transform: scaleX(1);
}

.k-header__actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.k-burger {
  align-items: center;
  background: transparent;
  border: 1px solid var(--k-border-soft);
  border-radius: 8px;
  color: var(--k-white);
  display: none;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.k-burger span {
  background: currentColor;
  border-radius: 999px;
  display: block;
  height: 2px;
  position: absolute;
  width: 21px;
}

.k-burger span:nth-child(1) { transform: translateY(-7px); }
.k-burger span:nth-child(3) { transform: translateY(7px); }

.k-drawer {
  background: rgba(5, 5, 5, .98);
  color: var(--k-white);
  display: flex;
  flex-direction: column;
  gap: 24px;
  inset: 0;
  padding: 24px;
  position: fixed;
  z-index: 300;
}

.k-drawer[hidden] {
  display: none;
}

.k-drawer__top {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.k-drawer__close {
  background: var(--k-surface);
  border: 1px solid var(--k-border-soft);
  border-radius: 8px;
  color: var(--k-white);
  cursor: pointer;
  font-size: 2rem;
  height: 44px;
  line-height: 1;
  width: 44px;
}

.k-drawer__nav {
  display: grid;
  gap: 4px;
}

.k-drawer__nav-list {
  display: grid;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.k-drawer__nav-list li {
  margin: 0;
}

.k-drawer__nav a {
  border-bottom: 1px solid var(--k-border-soft);
  color: var(--k-white);
  font-family: var(--k-font-title);
  font-size: clamp(1.2rem, 7vw, 2rem);
  font-weight: 800;
  padding: 14px 0;
}

.k-drawer__cta {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.k-hero-home {
  min-height: calc(100svh - 76px);
  overflow: hidden;
  position: relative;
}

.k-hero-home__slider {
  inset: 0;
  position: absolute;
}

.k-slide {
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 900ms var(--k-ease), transform 6000ms linear;
}

.k-slide.is-active {
  opacity: 1;
  transform: scale(1.035);
}

.k-slide img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.k-hero-home::after {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, .95) 0%, rgba(5, 5, 5, .78) 42%, rgba(5, 5, 5, .24) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, .82), rgba(5, 5, 5, .12) 42%, rgba(5, 5, 5, .56));
  content: "";
  inset: 0;
  position: absolute;
}

.k-hero-home__content {
  align-items: center;
  display: grid;
  gap: clamp(28px, 6vw, 64px);
  grid-template-columns: minmax(0, 1.03fr) minmax(280px, .72fr);
  min-height: calc(100svh - 76px);
  padding-block: clamp(58px, 8vw, 110px);
  position: relative;
  z-index: 2;
}

.k-hero-home h1 {
  max-width: 780px;
}

.k-hero-home .k-lead {
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  margin-top: 22px;
  max-width: 690px;
}

.k-hero-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
  max-width: 680px;
}

.k-stat {
  background: rgba(255, 255, 255, .065);
  border: 1px solid var(--k-border-soft);
  border-radius: var(--k-radius);
  padding: 14px;
}

.k-stat strong {
  color: var(--k-white);
  display: block;
  font-family: var(--k-font-title);
  font-size: 1.05rem;
}

.k-stat span {
  color: var(--k-muted);
  font-size: .84rem;
}

.k-slider-dots {
  display: flex;
  gap: 8px;
  margin-top: 26px;
}

.k-slider-dot {
  background: rgba(255, 255, 255, .35);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 9px;
  padding: 0;
  width: 26px;
}

.k-slider-dot.is-active {
  background: var(--k-orange);
}

.k-phone-frame {
  background: linear-gradient(160deg, #28282d, #020202);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 36px;
  box-shadow: var(--k-shadow), 0 0 60px rgba(255, 106, 0, .2);
  margin-inline: auto;
  max-width: 300px;
  padding: 11px;
  transform: rotate(3deg);
}

.k-phone-frame__screen {
  background: var(--k-black);
  border-radius: 28px;
  overflow: hidden;
}

.k-hero-lite {
  background:
    linear-gradient(135deg, rgba(255, 106, 0, .15), rgba(255, 106, 0, 0) 42%),
    var(--k-black);
  padding-block: clamp(58px, 8vw, 104px);
}

.k-hero-lite--center {
  align-items: center;
  display: flex;
  min-height: 62vh;
  text-align: center;
}

.k-hero-lite .k-lead {
  margin-top: 18px;
}

.k-grid {
  display: grid;
  gap: 22px;
}

.k-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.k-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.k-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.k-card {
  background: linear-gradient(180deg, var(--k-surface), #0d0d0f);
  border: 1px solid var(--k-border-soft);
  border-radius: var(--k-radius);
  overflow: hidden;
  padding: 26px;
  position: relative;
  transition: transform .24s var(--k-ease), border-color .24s var(--k-ease), box-shadow .24s var(--k-ease);
}

.k-card:hover {
  border-color: var(--k-border);
  box-shadow: var(--k-shadow);
  transform: translateY(-4px);
}

.k-card__icon,
.k-icon {
  align-items: center;
  background: rgba(255, 106, 0, .12);
  border: 1px solid var(--k-border);
  border-radius: 8px;
  color: var(--k-orange);
  display: inline-flex;
  font-size: 1.35rem;
  height: 50px;
  justify-content: center;
  margin-bottom: 18px;
  width: 50px;
}

.k-card h2 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

.k-card h3 {
  margin-bottom: 10px;
}

.k-card p:last-child {
  margin-bottom: 0;
}

.k-feature {
  align-items: flex-start;
  display: flex;
  gap: 15px;
}

.k-feature .k-icon {
  flex: 0 0 auto;
  height: 46px;
  margin: 0;
  width: 46px;
}

.k-split {
  align-items: center;
  display: grid;
  gap: clamp(32px, 6vw, 68px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.k-split--reverse .k-split__media {
  order: -1;
}

.k-media-panel {
  background: linear-gradient(145deg, rgba(255, 106, 0, .15), rgba(255, 255, 255, .035));
  border: 1px solid var(--k-border-soft);
  border-radius: var(--k-radius-lg);
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.k-media-panel img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  width: 100%;
}

.k-media-panel__caption {
  background: rgba(5, 5, 5, .78);
  border: 1px solid var(--k-border-soft);
  bottom: 18px;
  left: 18px;
  padding: 14px 16px;
  position: absolute;
  right: 18px;
}

.k-media-panel__caption strong {
  display: block;
  font-family: var(--k-font-title);
}

.k-media-panel__caption span {
  color: var(--k-muted);
  font-size: .9rem;
}

.k-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.k-chip {
  align-items: center;
  background: var(--k-surface);
  border: 1px solid var(--k-border-soft);
  border-radius: 999px;
  color: var(--k-white);
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
  padding: 10px 16px;
}

.k-chip i {
  color: var(--k-orange);
}

.k-store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.k-store-row--center {
  justify-content: center;
}

.k-store-badge {
  align-items: center;
  background: #0c0c0e;
  border: 1px solid var(--k-border-soft);
  border-radius: 8px;
  display: inline-flex;
  gap: 12px;
  min-width: 205px;
  padding: 12px 18px;
  transition: border-color .22s var(--k-ease), transform .22s var(--k-ease);
}

.k-store-badge:hover {
  border-color: var(--k-orange);
  transform: translateY(-2px);
}

.k-store-badge__icon {
  color: var(--k-orange);
  font-size: 1.7rem;
}

.k-store-badge small {
  color: var(--k-muted);
  display: block;
  font-size: .72rem;
  line-height: 1.2;
}

.k-store-badge strong {
  color: var(--k-white);
  display: block;
  font-family: var(--k-font-title);
  line-height: 1.25;
}

.k-inline-cta,
.k-final-cta {
  background:
    linear-gradient(135deg, rgba(255, 106, 0, .16), rgba(255, 255, 255, .035)),
    var(--k-anthracite);
  border: 1px solid var(--k-border);
  border-radius: var(--k-radius-lg);
  padding: clamp(28px, 5vw, 54px);
}

.k-final-cta {
  text-align: center;
}

.k-final-cta .k-lead {
  margin-inline: auto;
  margin-top: 14px;
}

.k-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.k-list li {
  color: var(--k-muted);
  display: flex;
  gap: 10px;
}

.k-list li::before {
  color: var(--k-orange);
  content: "✓";
  flex: 0 0 auto;
  font-weight: 900;
}

.k-notice {
  background: rgba(255, 106, 0, .08);
  border: 1px solid var(--k-border);
  border-left: 4px solid var(--k-orange);
  border-radius: var(--k-radius);
  color: var(--k-white);
  padding: 16px 18px;
}

.k-notice--red {
  background: rgba(255, 59, 48, .08);
  border-color: rgba(255, 59, 48, .35);
  border-left-color: var(--k-red);
}

.k-form {
  background: var(--k-surface);
  border: 1px solid var(--k-border-soft);
  border-radius: var(--k-radius-lg);
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.k-form__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.k-form label {
  color: var(--k-white);
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.k-form label span {
  font-size: .9rem;
}

.k-form input,
.k-form select,
.k-form textarea,
.search-form input[type="search"] {
  background: #070707;
  border: 1px solid var(--k-border-soft);
  border-radius: 8px;
  color: var(--k-white);
  padding: 13px 14px;
  width: 100%;
}

.k-form input:focus,
.k-form select:focus,
.k-form textarea:focus,
.search-form input[type="search"]:focus {
  border-color: var(--k-orange);
  outline: none;
}

.k-form textarea {
  min-height: 130px;
  resize: vertical;
}

.k-consent {
  align-items: flex-start;
  display: flex !important;
  gap: 10px !important;
  font-weight: 500 !important;
}

.k-consent input {
  margin-top: 6px;
  width: auto;
}

.k-form__note {
  color: var(--k-green);
  font-size: .92rem;
  margin: 0;
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-form input[type="submit"] {
  background: var(--k-orange);
  border: 0;
  border-radius: 999px;
  color: #170900;
  cursor: pointer;
  font-weight: 800;
  padding: 0 20px;
}

.k-search-wrap {
  margin-inline: auto;
  margin-top: 28px;
  max-width: 520px;
}

.k-blog-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.k-post-card {
  padding: 0;
}

.k-post-card__thumb {
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
}

.k-post-card__thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.k-post-card__body {
  padding: 24px;
}

.k-post-card__cat,
.k-post-meta,
.k-back-link {
  color: var(--k-orange);
  display: inline-block;
  font-size: .82rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.k-post-card h2 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.k-post-cover {
  margin-top: -38px;
  position: relative;
  z-index: 2;
}

.k-post-cover img {
  border: 1px solid var(--k-border-soft);
  border-radius: var(--k-radius-lg);
  box-shadow: var(--k-shadow);
  width: 100%;
}

.k-section--article {
  padding-top: 48px;
}

.k-comments {
  margin-top: 42px;
}

.k-comments .comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.k-comments .comment {
  background: var(--k-surface);
  border: 1px solid var(--k-border-soft);
  border-radius: var(--k-radius);
  margin-bottom: 14px;
  padding: 18px;
}

.k-widget {
  background: var(--k-surface);
  border: 1px solid var(--k-border-soft);
  border-radius: var(--k-radius);
  padding: 22px;
}

.k-footer {
  background: #030303;
  border-top: 1px solid var(--k-border-soft);
  padding-block: 64px 30px;
}

.k-footer__top {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(0, 1fr));
}

.k-footer h2 {
  color: var(--k-orange);
  font-size: .82rem;
  letter-spacing: .08em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.k-footer__brand p {
  margin-top: 16px;
  max-width: 36ch;
}

.k-footer__download {
  margin-top: 18px;
}

.k-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.k-footer__links li {
  margin-bottom: 9px;
}

.k-footer__links a,
.k-footer__contact a,
.k-footer__contact li {
  color: var(--k-muted);
}

.k-footer__links a:hover,
.k-footer__contact a:hover {
  color: var(--k-orange);
}

.k-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.k-footer__socials a,
.k-footer__socials span {
  align-items: center;
  background: var(--k-surface);
  border: 1px solid var(--k-border-soft);
  border-radius: 8px;
  color: var(--k-muted);
  display: inline-flex;
  font-size: .78rem;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.k-footer__socials a:hover {
  border-color: var(--k-orange);
  color: var(--k-orange);
}

.k-social-placeholder {
  opacity: .62;
}

.k-footer__contact {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.k-footer__bottom {
  border-top: 1px solid var(--k-border-soft);
  color: var(--k-muted-2);
  display: flex;
  flex-wrap: wrap;
  font-size: .88rem;
  gap: 12px;
  justify-content: space-between;
  margin-top: 42px;
  padding-top: 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s var(--k-ease), transform .65s var(--k-ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1160px) {
  .k-provider-link {
    display: none;
  }

  .k-nav {
    gap: 14px;
  }
}

@media (max-width: 1024px) {
  .k-grid--4,
  .k-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .k-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .k-nav,
  .k-header__actions > .k-btn {
    display: none;
  }

  .k-burger {
    display: inline-flex;
  }

  .k-header__actions {
    margin-left: auto;
  }

  .k-hero-home__content {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 64px 44px;
  }

  .k-phone-frame {
    max-width: 245px;
    transform: none;
  }

  .k-split,
  .k-split--reverse .k-split__media {
    grid-template-columns: 1fr;
    order: 0;
  }
}

@media (max-width: 720px) {
  .k-container {
    width: min(100% - 28px, var(--k-container));
  }

  .k-grid--2,
  .k-grid--3,
  .k-grid--4,
  .k-blog-grid,
  .k-form__grid,
  .k-footer__top,
  .k-hero-stats {
    grid-template-columns: 1fr;
  }

  .k-hero-home::after {
    background:
      linear-gradient(0deg, rgba(5, 5, 5, .94), rgba(5, 5, 5, .62)),
      linear-gradient(90deg, rgba(5, 5, 5, .9), rgba(5, 5, 5, .34));
  }

  .k-cta-row,
  .k-store-row,
  .search-form {
    align-items: stretch;
    flex-direction: column;
  }

  .k-btn,
  .k-store-badge {
    width: 100%;
  }

  .k-card {
    padding: 22px;
  }

  .k-media-panel,
  .k-media-panel img {
    min-height: 260px;
  }
}

@media (max-width: 420px) {
  .k-logo__text {
    font-size: 1.08rem;
  }

  .k-logo__mark {
    height: 36px;
    width: 36px;
  }

  .k-stat {
    padding: 12px;
  }
}
