*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #4da3ff;
  --primary-dark: #2d8ae8;
  --accent: #ff7a2e;
  --accent-hover: #e86a20;
  --text: #f0f0f0;
  --text-soft: #c4c4c4;
  --muted: #888;
  --line: #222;
  --bg: #000;
  --bg-gray: #0a0a0a;
  --card: #111;
  --card-alt: #1a1a1a;
  --input-bg: #0d0d0d;
  --badge-bg: #151515;
  --urgent: #f05252;
  --shadow: rgba(0, 0, 0, .5);
}

html { scroll-behavior: smooth; color-scheme: dark; }

body {
  font-family: 'Tajawal', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 15px;
}

html[dir="ltr"] body { font-family: 'Tajawal', system-ui, sans-serif; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 16px; }

.topbar {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}

.header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 10px;
}

.logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name { font-weight: 800; font-size: 1.25rem; color: var(--primary); direction: ltr; unicode-bidi: isolate; }
.logo__tag { font-size: 11px; color: var(--muted); font-weight: 500; }

.nav { display: none; gap: 18px; align-items: center; }
.nav a { font-weight: 500; font-size: 14px; color: var(--text); }
.nav a:hover, .nav a.active { color: var(--primary); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__phone {
  display: none;
  font-weight: 700;
  color: var(--primary);
  font-size: 15px;
  direction: ltr;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.lang-switch button {
  padding: 6px 10px;
  border: none;
  background: var(--card-alt);
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  color: var(--muted);
}

.lang-switch button.active {
  background: var(--primary);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }
.btn--outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn--outline:hover { background: rgba(77, 163, 255, .1); }
.btn--wa { background: #128c7e; color: #fff; font-size: 13px; padding: 8px 14px; }
.btn--wa:hover { background: #0f7a6e; }
.btn--block { width: 100%; padding: 13px; font-size: 16px; }

.menu-btn { background: none; border: none; cursor: pointer; padding: 6px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; }

.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 12px 16px 16px; background: var(--card); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; }

.page-hero {
  background: var(--bg-gray);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}

.page-hero h1 { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.page-hero p { color: var(--muted); max-width: 560px; }

.hero {
  position: relative;
  min-height: calc(100svh - 96px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-bottom: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, .25) 100%);
  pointer-events: none;
}

html[dir="rtl"] .hero__overlay {
  background:
    linear-gradient(to left, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .55) 42%, rgba(0, 0, 0, .15) 72%, transparent 100%),
    linear-gradient(to top, rgba(0, 0, 0, .75) 0%, transparent 55%);
}

html[dir="ltr"] .hero__overlay {
  background:
    linear-gradient(to right, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .55) 42%, rgba(0, 0, 0, .15) 72%, transparent 100%),
    linear-gradient(to top, rgba(0, 0, 0, .75) 0%, transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  width: 100%;
  min-height: calc(100svh - 96px);
  padding: 48px 0 32px;
}

.hero__inner {
  max-width: 620px;
  color: #fff;
}

.hero__promo {
  display: inline-block;
  background: var(--urgent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  margin-bottom: 14px;
}

.hero__title {
  font-size: clamp(1.55rem, 4.5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 12px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}

.hero__text {
  color: rgba(255, 255, 255, .88);
  margin-bottom: 22px;
  max-width: 520px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .92);
}

.hero__points li { display: flex; align-items: center; gap: 6px; }
.hero__points li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero__btn-outline {
  border-color: rgba(255, 255, 255, .75);
  color: #fff;
}

.hero__btn-outline:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.hero__slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}

.hero__slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding-bottom: 4px;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}

.hero__dot.active {
  background: #fff;
  transform: scale(1.15);
}

.hero__caption {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
}

html[dir="rtl"] .hero__caption { text-align: right; }
html[dir="ltr"] .hero__caption { text-align: left; }

.hero__caption strong {
  display: block;
  color: var(--accent);
  font-size: 14px;
  margin-top: 4px;
}

.brands-bar {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
}

.brands-bar__label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
  text-align: center;
  font-weight: 600;
  letter-spacing: .04em;
}

.brands-bar__track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.brands-bar__scroll {
  display: flex;
  align-items: center;
  gap: 12px 36px;
  width: max-content;
  animation: brands-scroll 35s linear infinite;
}

.brands-bar__track:hover .brands-bar__scroll {
  animation-play-state: paused;
}

.brands-bar__item {
  font-weight: 800;
  font-size: 15px;
  color: var(--text);
  white-space: nowrap;
  opacity: .9;
  transition: color .2s, opacity .2s;
  direction: ltr;
  unicode-bidi: isolate;
}

.brands-bar__item:hover {
  color: var(--primary);
  opacity: 1;
}

.brands-bar__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line);
  flex-shrink: 0;
}

@keyframes brands-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

html[dir="rtl"] .brands-bar__scroll {
  animation-name: brands-scroll-rtl;
}

@keyframes brands-scroll-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

.services-quick {
  padding: 16px 0 18px;
  background: var(--bg-gray);
  border-bottom: 1px solid var(--line);
}

.services-quick__label {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 12px;
  font-weight: 600;
}

.services-quick__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.services-quick__item {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  transition: border-color .2s, color .2s, background .2s;
}

.services-quick__item:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--card-alt);
}

.features-bar { background: var(--primary); color: #fff; padding: 14px 0; }
.features-bar__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 16px; }
.features-bar__item { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; }
.features-bar__icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.15);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.features-bar__icon svg { width: 16px; height: 16px; fill: #fff; }

.section { padding: 44px 0; }
.section--gray { background: var(--bg-gray); }
.section-head { margin-bottom: 24px; }
.section-head h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: 4px; }
.section-head p { color: var(--muted); font-size: 14px; }
.section-head--center { text-align: center; }
.section-head--center p { margin: 0 auto; }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.service {
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.service__img-wrap {
  background: var(--card-alt);
  padding: 0;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.service__img-wrap img { height: 100%; width: 100%; object-fit: cover; margin: 0; }
.service__body { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.service__cat { font-size: 11px; color: var(--muted); margin-bottom: 2px; }
.service__name { font-size: 13px; font-weight: 700; line-height: 1.45; margin-bottom: 6px; flex: 1; }
.service__issues { font-size: 12px; color: var(--muted); margin-bottom: 8px; line-height: 1.5; }
.service__price { display: none; }
.dept-detail__price { display: none; }
.service .btn { font-size: 13px; padding: 9px; }
.service__actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }

.dept-breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.dept-breadcrumb a { color: var(--primary); }
.dept-breadcrumb a:hover { text-decoration: underline; }

.dept-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.dept-detail__img {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 0;
  text-align: center;
  overflow: hidden;
}

.dept-detail__img img {
  max-height: 320px;
  margin: 0 auto;
  object-fit: cover;
  width: 100%;
  min-height: 220px;
}

.dept-detail__brand {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--badge-bg);
  padding: 4px 10px;
  margin-bottom: 10px;
}

.dept-detail__info h1 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.35;
}

.dept-detail__about {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.dept-detail__price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 20px;
}

.dept-detail__price small {
  font-weight: 500;
  color: var(--muted);
  font-size: 13px;
}

.dept-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dept-blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

.dept-block {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 20px;
}

.dept-block h2 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.dept-block p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.dept-block ul {
  list-style: none;
}

.dept-block li {
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.dept-block li:last-child { border-bottom: none; }

.dept-block li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}

.dept-not-found {
  text-align: center;
  padding: 48px 20px;
}

.dept-not-found h1 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.dept-not-found p { color: var(--muted); margin-bottom: 20px; }

@media (min-width: 768px) {
  .dept-detail__grid { grid-template-columns: 1fr 1.2fr; }
  .dept-blocks { grid-template-columns: repeat(3, 1fr); }
}

.urgent-box { background: var(--card); border: 2px solid var(--urgent); padding: 20px 16px; }
.urgent-box__top { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.urgent-box__title { font-size: 1.1rem; font-weight: 800; color: var(--urgent); margin-bottom: 4px; }
.urgent-list { display: flex; flex-direction: column; gap: 10px; }
.urgent-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; background: var(--bg-gray); border: 1px solid var(--line);
}
.urgent-item__icon {
  width: 40px; height: 40px; background: var(--primary); color: #fff;
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; flex-shrink: 0;
}
.urgent-item__info { flex: 1; min-width: 0; }
.urgent-item__name { font-size: 13px; font-weight: 700; }
.urgent-item__desc { font-size: 12px; color: var(--muted); margin-top: 2px; }

.why-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.why-list li {
  padding: 12px 0; border-bottom: 1px solid var(--line);
  display: flex; gap: 12px; font-size: 14px;
}
.why-list li:last-child { border-bottom: none; }
.why-list strong { display: block; font-weight: 700; margin-bottom: 2px; }
.why-list span { color: var(--muted); font-size: 13px; }
.why-list .num { font-weight: 800; color: var(--primary); font-size: 18px; line-height: 1; min-width: 24px; }

.why-aside { background: var(--primary); color: #fff; padding: 24px 20px; }
.why-aside h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 12px; }
.why-aside p { font-size: 14px; opacity: .9; line-height: 1.7; margin-bottom: 16px; }
.why-aside ul { font-size: 13px; }
.why-aside li { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.why-aside li:last-child { border: none; }

.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.review { background: var(--card); border: 1px solid var(--line); padding: 16px; }
.review__top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: #fff; flex-shrink: 0;
}
.review__name { font-weight: 700; font-size: 14px; }
.review__loc { font-size: 12px; color: var(--muted); }
.review__device { font-size: 11px; color: var(--primary); margin-bottom: 6px; font-weight: 600; }
.review__stars { color: #f5a623; font-size: 12px; margin-bottom: 8px; }
.review__text { font-size: 14px; color: var(--text-soft); line-height: 1.7; }

.numbers {
  background: var(--bg-gray);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.numbers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.numbers__item strong {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}

.numbers__grid span { font-size: 13px; color: var(--muted); display: block; margin-top: 6px; }

.faq-item { border: 1px solid var(--line); margin-bottom: 8px; background: var(--card); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

html[dir="rtl"] .faq-q { text-align: right; }
html[dir="ltr"] .faq-q { text-align: left; }

.faq-q:hover { color: var(--primary); }
.faq-q .arrow { font-size: 18px; color: var(--muted); transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 16px 14px; font-size: 14px; color: var(--muted); line-height: 1.75; }
.faq-item.open .faq-a { display: block; }

.order-section { background: var(--bg-gray); }
.order-box {
  max-width: 520px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 28px 20px;
}

.order-box h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 4px; text-align: center; }
.order-box > p { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 22px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 3px; background: var(--input-bg); color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
}
.field textarea { resize: vertical; min-height: 80px; }
.form-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 10px; }
.form-done { display: none; text-align: center; padding: 20px 0; }
.form-done.show { display: block; }
.order-form.hide { display: none; }
.form-done h3 { font-weight: 800; margin-bottom: 8px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 20px;
}

.contact-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; color: var(--primary); }
.contact-card p, .contact-card a { font-size: 14px; color: var(--muted); line-height: 1.7; }
.contact-card a:hover { color: var(--primary); }

.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { font-size: 1.1rem; font-weight: 800; margin: 24px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 10px; }
.legal ul { padding-right: 20px; list-style: disc; }
html[dir="ltr"] .legal ul { padding-right: 0; padding-left: 20px; }

.cta-banner {
  background: var(--primary);
  color: #fff;
  padding: 36px 0;
  text-align: center;
}

.cta-banner h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }
.cta-banner p { opacity: .9; margin-bottom: 18px; font-size: 14px; }
.cta-banner .btn--accent { background: var(--accent); }

.footer {
  background: #000;
  color: #888;
  padding: 36px 0 20px;
  font-size: 13px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.footer__brand .logo__name { color: #fff; }
.footer__brand .logo__tag { color: #888; }
.footer__brand p { margin-top: 10px; line-height: 1.7; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.footer li { margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.footer__tags span { background: #111; padding: 4px 10px; font-size: 12px; border-radius: 3px; }
.footer__bottom { border-top: 1px solid #1a1a1a; padding-top: 16px; text-align: center; font-size: 12px; color: #555; }

.float-btns {
  position: fixed;
  bottom: 16px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

html[dir="rtl"] .float-btns { left: 16px; }
html[dir="ltr"] .float-btns { right: 16px; }

.float-btns a {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px var(--shadow);
}

.float-btns svg { width: 24px; height: 24px; fill: #fff; }
.float-btns .wa { background: #25d366; }
.float-btns .call { background: var(--primary); }

.text-center { text-align: center; }
.text-sub { font-size: 13px; color: var(--muted); }
.mt-24 { margin-top: 24px; }

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .service__img-wrap { height: 160px; }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .features-bar__grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .nav { display: flex; }
  .header__phone { display: block; }
  .menu-btn { display: none; }
  .hero__content {
    justify-content: center;
    padding: 56px 0 48px;
  }
  .hero__inner { max-width: 560px; }
  .why-grid { grid-template-columns: 1.2fr 1fr; }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .numbers__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 639px) {
  .numbers__grid { grid-template-columns: 1fr; gap: 20px; }
}

.hero__title--mobile { display: none; }
.hero__title--desktop { display: block; }

@media (max-width: 767px) {
  body[data-page="home"] {
    display: flex;
    flex-direction: column;
  }

  body[data-page="home"] .topbar { order: 0; }
  body[data-page="home"] .header { order: 1; }
  body[data-page="home"] .hero { order: 2; }
  body[data-page="home"] .brands-bar { order: 3; }
  body[data-page="home"] .services-quick { order: 4; }
  body[data-page="home"] .home-services { order: 5; }
  body[data-page="home"] .features-bar { order: 6; }
  body[data-page="home"] .home-departments { order: 7; }
  body[data-page="home"] #urgent { order: 8; }
  body[data-page="home"] #why { order: 9; }
  body[data-page="home"] #reviews { order: 10; }
  body[data-page="home"] .numbers { order: 11; }
  body[data-page="home"] #faq { order: 12; }
  body[data-page="home"] .cta-banner { order: 13; }
  body[data-page="home"] .footer { order: 14; }
  body[data-page="home"] .float-btns { order: 15; }

  .hero__title--mobile {
    display: block;
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    line-height: 1.45;
    margin-bottom: 0;
  }

  .hero__title--desktop,
  .hero__desktop-only { display: none !important; }

  body[data-page="home"] .hero {
    min-height: calc(100svh - 96px);
  }

  body[data-page="home"] .hero__content {
    min-height: calc(100svh - 96px);
    padding: 32px 0 28px;
    justify-content: flex-end;
  }

  body[data-page="home"] .home-services {
    padding-top: 28px;
  }

  body[data-page="home"] .features-bar__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body[data-page="home"] .features-bar__item:nth-child(4) {
    display: none;
  }

  body[data-page="home"] .features-bar {
    background: var(--card);
    color: var(--text);
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }

  body[data-page="home"] .features-bar__icon {
    background: var(--card-alt);
  }

  body[data-page="home"] .features-bar__icon svg {
    fill: var(--primary);
  }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}
