:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #edf3fb;
  --text: #102033;
  --muted: #67758a;
  --line: #dde6f1;
  --primary: #0b3f9c;
  --primary-2: #0d69c8;
  --gold: #b88a3b;
  --gold-2: #e4bd6d;
  --ink: #07111f;
  --shadow: 0 20px 60px rgba(15, 35, 66, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
}

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

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

.floating-help {
  position: fixed;
  z-index: 60;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 44px);
  padding: 11px 17px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #075e54, #128c7e);
  box-shadow: 0 14px 34px rgba(18, 140, 126, 0.3);
}

.whatsapp-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #25d366;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.whatsapp-icon svg {
  width: 25px;
  height: 25px;
  fill: #fff;
}

.floating-help span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.floating-help strong {
  display: block;
  direction: ltr;
  font-size: 15px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(15, 35, 66, 0.08);
  backdrop-filter: blur(14px);
}

.topbar,
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-inline: clamp(18px, 5vw, 72px);
}

.topbar {
  min-height: 40px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.topbar-contact,
.topbar-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.topbar a,
.topbar button {
  color: var(--primary);
  font-weight: 800;
}

.phone-link {
  direction: ltr;
}

.topbar button {
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 9px 18px;
  cursor: pointer;
}

.nav-wrap {
  min-height: 94px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--primary);
  font-size: 18px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  direction: ltr;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.nav > a,
.nav-group > a {
  padding: 14px 0;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--primary);
}

.nav-group {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 245px;
  display: grid;
  gap: 4px;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: 0.18s ease;
}

.dropdown.wide {
  min-width: 330px;
  grid-template-columns: 1fr 1fr;
}

.dropdown a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
}

.dropdown a:hover {
  background: var(--surface-2);
}

.nav-group:hover .dropdown,
.nav-group:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.support-pill {
  border: 1px solid var(--primary);
  border-radius: 999px;
  padding: 9px 16px !important;
  color: var(--primary);
}

.hero-slider {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--ink);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  min-height: 620px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.08) contrast(1.06);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.16), rgba(7, 17, 31, 0.82)),
    linear-gradient(0deg, rgba(7, 17, 31, 0.38), rgba(7, 17, 31, 0.04));
}

.media-cctv {
  background-image: url("./assets/hero/kayan-office-parking-solutions.png");
}

.media-pos {
  background-image: url("./assets/hero/pos-systems.jpg");
  background-position: center;
}

.media-fleet {
  background-image: url("./assets/hero/vehicle-tracking.jpg");
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, calc(100% - 36px));
  margin-inline-start: clamp(18px, 7vw, 96px);
  color: #fff;
}

.hero-content h1,
.hero-content h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-content p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0;
}

.hero-slider .eyebrow,
.quote-band .eyebrow,
.jobs-section .eyebrow {
  color: var(--gold-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 20px;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
}

.button.light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
}

.slide-dots {
  position: absolute;
  z-index: 4;
  bottom: 28px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.slide-dots button {
  width: 28px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.slide-dots button.active {
  background: var(--gold-2);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 32px;
}

.section-heading.centered {
  justify-items: center;
  text-align: center;
}

h2 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.25;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
}

p {
  overflow-wrap: anywhere;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.56fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  background: #fff;
}

.about-copy p:not(.eyebrow) {
  max-width: 860px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--primary);
  font-weight: 900;
}

.about-card {
  display: grid;
  justify-items: center;
  gap: 20px;
  min-height: 430px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 34%, rgba(13, 105, 200, 0.14), transparent 42%),
    #f8fbff;
}

.about-card img {
  width: min(88%, 330px);
  height: auto;
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.about-points span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(15, 35, 66, 0.08);
}

.mission-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: linear-gradient(135deg, #edf4ff, #ffffff);
}

.mission-card,
.solution-card,
.software-grid article,
.media-grid article,
.branch-grid article,
.contact-links a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.mission-card,
.solution-card,
.software-grid article,
.media-grid article,
.branch-grid article {
  padding: 26px;
}

.card-number,
.solution-icon {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #e8f0ff;
  color: var(--primary);
  font-weight: 900;
}

.mission-card p,
.solution-card p,
.software-grid p,
.media-grid p,
.branch-grid p,
.jobs-section p {
  margin: 0;
  color: var(--muted);
}

.solution-grid,
.product-grid,
.software-grid,
.media-grid,
.branch-grid {
  display: grid;
  gap: 16px;
}

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

.quote-band {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.92), rgba(11, 63, 156, 0.88)),
    url("./assets/hero/security-systems.jpg");
  background-size: cover;
  background-position: center;
}

.quote-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  background: #fff;
}

textarea {
  resize: vertical;
}

fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

legend {
  padding: 0 8px;
  color: var(--text);
  font-weight: 900;
}

fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

fieldset input {
  width: auto;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.products-section {
  background: #fff;
}

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

.product-card {
  position: relative;
  min-height: 220px;
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(7, 17, 31, 0.92), rgba(7, 17, 31, 0.32) 60%, rgba(7, 17, 31, 0.04)),
    radial-gradient(circle at 18% 18%, rgba(228, 189, 109, 0.34), transparent 30%),
    linear-gradient(135deg, rgba(11, 63, 156, 0.22), rgba(184, 138, 59, 0.2));
}

.product-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.product-card img.product-image-contain {
  object-fit: contain;
  padding: 18px 18px 70px;
  background:
    radial-gradient(circle at 50% 42%, rgba(228, 189, 109, 0.2), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #eef5ff 72%, #dfe9f7 100%);
  transform: none;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 63, 156, 0.35);
}

.product-card:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.06);
}

.product-card span {
  position: relative;
  z-index: 3;
  color: var(--gold-2);
  font-weight: 900;
  direction: ltr;
}

.product-card strong {
  position: relative;
  z-index: 3;
  color: #fff;
  font-size: 18px;
  line-height: 1.45;
}

.catalog-section {
  background:
    radial-gradient(circle at 92% 6%, rgba(184, 138, 59, 0.18), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.catalog-list {
  display: grid;
  gap: 14px;
}

.catalog-category {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 35, 66, 0.08);
}

.catalog-category summary {
  position: relative;
  display: grid;
  grid-template-columns: 126px auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  list-style: none;
}

.catalog-category summary::-webkit-details-marker {
  display: none;
}

.catalog-category summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-weight: 900;
}

.catalog-category[open] summary::after {
  content: "-";
  background: var(--gold);
}

.catalog-category-image {
  width: 126px;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
  background: var(--surface-2);
  box-shadow: 0 10px 24px rgba(15, 35, 66, 0.12);
}

.catalog-category-image.product-image-contain,
.catalog-product-image.product-image-contain {
  object-fit: contain;
  padding: 10px;
  background:
    radial-gradient(circle at 50% 42%, rgba(228, 189, 109, 0.18), transparent 35%),
    linear-gradient(145deg, #ffffff 0%, #f4f8ff 68%, #e4edf9 100%);
}

.catalog-icon {
  display: grid;
  place-items: center;
  min-width: 58px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #09275f);
  border: 1px solid rgba(11, 63, 156, 0.22);
  box-shadow: 0 10px 22px rgba(11, 63, 156, 0.16);
  font-weight: 900;
  direction: ltr;
}

.catalog-category strong,
.catalog-category small {
  display: block;
}

.catalog-category strong {
  font-size: 20px;
  color: var(--text);
}

.catalog-category small {
  color: var(--muted);
  font-weight: 700;
}

.category-carousel {
  margin: 0 20px 18px;
  overflow: hidden;
  border: 1px solid rgba(221, 230, 241, 0.95);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(11, 63, 156, 0.08), rgba(184, 138, 59, 0.08)),
    #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.category-carousel-track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 14px;
  animation: category-scroll 34s linear infinite;
}

.category-carousel:hover .category-carousel-track {
  animation-play-state: paused;
}

.category-carousel figure {
  display: grid;
  flex: 0 0 214px;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 44%, rgba(228, 189, 109, 0.16), transparent 36%),
    linear-gradient(145deg, #ffffff 0%, #f7faff 72%, #e8f0fb 100%);
  box-shadow: 0 10px 24px rgba(15, 35, 66, 0.08);
}

.category-carousel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 42%, rgba(228, 189, 109, 0.16), transparent 35%),
    linear-gradient(145deg, #ffffff 0%, #f4f8ff 70%, #e4edf9 100%);
}

.category-carousel figcaption {
  color: var(--primary);
  font-weight: 900;
  text-align: center;
  direction: ltr;
}

@keyframes category-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.catalog-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 20px 20px;
}

.catalog-product {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(228, 189, 109, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(11, 63, 156, 0.07), rgba(184, 138, 59, 0.08)),
    #fff;
  box-shadow: 0 14px 34px rgba(15, 35, 66, 0.08);
}

.catalog-product.featured-product {
  grid-column: span 2;
}

.catalog-product-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
  background: var(--surface-2);
  box-shadow: 0 10px 24px rgba(15, 35, 66, 0.1);
}

.catalog-product h3 {
  margin: 0;
  color: var(--primary);
}

.catalog-product p {
  margin: 0;
  color: var(--muted);
}

.catalog-product ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.catalog-product li {
  position: relative;
  padding-inline-start: 18px;
}

.catalog-product li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.8em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.catalog-product .button {
  width: fit-content;
}

.catalog-product .button.light {
  border-color: var(--line);
  background: #fff;
  color: var(--primary);
}

.laptop-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(228, 189, 109, 0.24), transparent 26%),
    linear-gradient(135deg, #07111f 0%, #0b3f9c 48%, #f7fbff 48%, #ffffff 100%);
}

.laptop-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  margin-bottom: 28px;
  color: #fff;
}

.laptop-copy {
  max-width: 850px;
}

.laptop-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.laptop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.laptop-tags span,
.brand-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-weight: 900;
}

.laptop-tags span {
  padding: 8px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.store-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #07111f;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 18px 34px rgba(7, 17, 31, 0.2);
}

.laptop-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.laptop-carousel {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  background: rgba(255, 255, 255, 0.92);
}

.processor-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.processor-strip span {
  padding: 12px 14px;
  border: 1px solid rgba(221, 230, 241, 0.95);
  border-radius: 8px;
  color: var(--primary);
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 35, 66, 0.1);
  font-weight: 900;
}

.laptop-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(221, 230, 241, 0.95);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 35, 66, 0.14);
}

.laptop-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #edf3fb;
}

.laptop-card-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.brand-badge {
  padding: 6px 10px;
  color: var(--primary);
  background: #e8f0ff;
  font-size: 13px;
}

.laptop-card h3,
.product-dialog h3 {
  margin: 0;
}

.laptop-card p,
.product-dialog p {
  margin: 0;
  color: var(--muted);
}

.laptop-card ul,
.product-dialog ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.laptop-card li,
.product-dialog li {
  position: relative;
  padding-inline-start: 18px;
}

.laptop-card li::before,
.product-dialog li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.8em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.laptop-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.laptop-actions .button {
  width: 100%;
  padding-inline: 12px;
}

.laptop-actions .button.light {
  border-color: var(--line);
  background: #fff;
}

.product-modal[hidden] {
  display: none;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 17, 31, 0.72);
  cursor: pointer;
}

.product-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.85fr);
  width: min(980px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(7, 17, 31, 0.34);
}

.product-dialog > img {
  width: 100%;
  min-height: 100%;
  object-fit: cover;
  background: #edf3fb;
}

.product-dialog-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(24px, 4vw, 42px);
}

.product-dialog-copy .button {
  width: fit-content;
}

.modal-close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

body.modal-open {
  overflow: hidden;
}

.software-section {
  background: var(--surface-2);
}

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

.partners-section {
  padding: 52px clamp(18px, 5vw, 72px);
  text-align: center;
  background: #f4f6fa;
  color: var(--text);
}

.partners-section h2 {
  margin-inline: auto;
  font-size: clamp(24px, 3vw, 38px);
}

.brand-grid-image {
  display: block;
  width: min(1120px, 100%);
  margin: 26px auto 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 35, 66, 0.12);
}

.partner-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.partner-strip span {
  min-width: 118px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--primary);
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 35, 66, 0.08);
  font-weight: 900;
}

.media-section {
  background: #fff;
}

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

.media-grid article span {
  color: var(--gold);
  font-weight: 900;
}

.jobs-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #09275f);
}

.jobs-section p {
  color: rgba(255, 255, 255, 0.78);
}

.branches-section {
  background: linear-gradient(135deg, #ffffff, #edf4ff);
}

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

.branch-grid span {
  color: var(--gold);
  font-weight: 900;
}

.branch-grid a,
.contact-links strong {
  color: var(--primary);
  direction: ltr;
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
  background: #fff;
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-links a {
  display: grid;
  gap: 4px;
  padding: 18px;
}

.contact-links .contact-phone {
  border-color: rgba(11, 63, 156, 0.28);
  background: linear-gradient(135deg, rgba(11, 63, 156, 0.08), rgba(184, 138, 59, 0.11));
}

.contact-links span {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(2, minmax(220px, 0.6fr));
  gap: 28px;
  padding: 44px clamp(18px, 5vw, 72px) 26px;
  color: #d7e2f2;
  background: var(--ink);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.brand-column img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.footer-column h3,
.footer-column p {
  margin: 0;
}

.footer-column h3 {
  color: #fff;
}

.footer-column a {
  color: #d7e2f2;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-social a {
  border: 1px solid rgba(215, 226, 242, 0.22);
  border-radius: 999px;
  padding: 7px 12px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  min-width: 0;
}

.newsletter-form button {
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  color: #fff;
  background: var(--primary);
  cursor: pointer;
}

.copyright {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
}

[dir="ltr"] body {
  font-family: Arial, Helvetica, sans-serif;
}

[dir="ltr"] .dropdown {
  right: auto;
  left: 0;
}

@media (max-width: 1100px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav > a,
  .nav-group > a {
    display: block;
    padding: 11px 10px;
  }

  .dropdown,
  .dropdown.wide {
    position: static;
    min-width: 0;
    grid-template-columns: 1fr;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
    padding: 0 12px 8px;
  }

  .solution-grid,
  .product-grid,
  .software-grid,
  .catalog-products,
  .laptop-grid,
  .processor-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .topbar,
  .nav-wrap {
    padding-inline: 16px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 8px;
  }

  .brand small {
    display: none;
  }

  .hero-slider,
  .hero-slide {
    min-height: 620px;
  }

  .hero-content {
    margin-inline: 18px;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: 38px;
  }

  .about-section,
  .quote-band,
  .contact-section,
  .laptop-showcase,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .laptop-section {
    background:
      radial-gradient(circle at 12% 8%, rgba(228, 189, 109, 0.24), transparent 28%),
      linear-gradient(160deg, #07111f 0%, #0b3f9c 58%, #ffffff 58%, #ffffff 100%);
  }

  .store-cta {
    justify-self: start;
  }

  .product-dialog {
    grid-template-columns: 1fr;
  }

  .product-dialog > img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .catalog-category summary {
    grid-template-columns: 108px minmax(0, 1fr) auto;
  }

  .catalog-category summary::after {
    grid-column: auto;
    justify-self: end;
  }

  .catalog-category-image {
    width: 108px;
  }

  .catalog-icon {
    display: none;
  }

  .mission-section,
  .media-grid,
  .branch-grid {
    grid-template-columns: 1fr;
  }

  .jobs-section {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .floating-help {
    right: 14px;
    bottom: 14px;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }

  .form-grid,
  .solution-grid,
  .product-grid,
  .software-grid,
  .catalog-products,
  .laptop-grid,
  .processor-strip {
    grid-template-columns: 1fr;
  }

  .category-carousel {
    margin-inline: 14px;
  }

  .category-carousel figure {
    flex-basis: 178px;
  }

  .catalog-product.featured-product {
    grid-column: auto;
  }

  .catalog-category summary,
  .catalog-products {
    padding-inline: 14px;
  }

  .catalog-category summary {
    grid-template-columns: 1fr;
  }

  .catalog-category summary::after {
    grid-column: 1;
    justify-self: start;
  }

  .catalog-category-image {
    width: 100%;
    max-height: 180px;
  }

  .laptop-actions {
    grid-template-columns: 1fr;
  }

  .product-modal {
    padding: 12px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-carousel-track {
    animation: none;
  }
}
