@font-face {
  font-family: "IranYekan";
  src: url("../fonts/iranyekanLight.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #041019;
  --bg-deep: #02070b;
  --bg-soft: #0a1d29;
  --panel: rgba(9, 30, 44, 0.76);
  --panel-strong: rgba(8, 24, 36, 0.92);
  --panel-solid: rgba(8, 30, 43, 0.96);
  --panel-solid-strong: rgba(5, 17, 25, 0.98);
  --line: rgba(87, 195, 255, 0.3);
  --glow: #ffd84d;
  --cyan: #39d1ff;
  --text: #e8fbff;
  --muted: #8fb9c4;
  --shadow: 0 0 60px rgba(37, 219, 255, 0.16);
  --footer-bg: rgba(5, 18, 27, 0.78);
  --footer-border: rgba(104, 212, 255, 0.14);
  --footer-pill: rgba(9, 28, 40, 0.72);
  --overlay: rgba(2, 11, 18, 0.54);
  --card-fill: rgba(8, 30, 43, 0.92);
  --card-glass: rgba(9, 28, 40, 0.72);
  --card-glass-strong: rgba(5, 18, 27, 0.88);
  --card-border-strong: rgba(104, 212, 255, 0.16);
  --card-border-soft: rgba(104, 212, 255, 0.12);
  --icon-surface: rgba(255, 216, 77, 0.18);
  --icon-border: rgba(255, 216, 77, 0.3);
  --node-fill: rgba(4, 16, 25, 0.88);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: "IranYekan", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(27, 111, 145, 0.25), transparent 32%),
    radial-gradient(circle at bottom, rgba(15, 187, 158, 0.16), transparent 28%),
    linear-gradient(145deg, var(--bg) 0%, var(--bg-soft) 48%, var(--bg-deep) 100%);
  color: var(--text);
  overflow: hidden;
  transition: background 260ms ease, color 260ms ease;
  color-scheme: dark;
}

body.theme-light {
  --bg: #dfeef8;
  --bg-deep: #edf7fc;
  --bg-soft: #f6fbff;
  --panel: rgba(240, 248, 255, 0.72);
  --panel-strong: rgba(230, 242, 250, 0.9);
  --panel-solid: rgba(245, 251, 255, 0.96);
  --panel-solid-strong: rgba(232, 244, 251, 0.98);
  --line: rgba(31, 131, 180, 0.22);
  --glow: #f0b400;
  --cyan: #0c8bb5;
  --text: #0d2430;
  --muted: #53707c;
  --shadow: 0 0 38px rgba(50, 137, 180, 0.14);
  --footer-bg: rgba(240, 248, 255, 0.86);
  --footer-border: rgba(31, 131, 180, 0.14);
  --footer-pill: rgba(221, 239, 248, 0.88);
  --overlay: rgba(220, 236, 245, 0.52);
  --card-fill: rgba(244, 250, 254, 0.94);
  --card-glass: rgba(227, 241, 248, 0.88);
  --card-glass-strong: rgba(235, 246, 251, 0.92);
  --card-border-strong: rgba(31, 131, 180, 0.18);
  --card-border-soft: rgba(31, 131, 180, 0.14);
  --icon-surface: rgba(12, 139, 181, 0.14);
  --icon-border: rgba(12, 139, 181, 0.22);
  --node-fill: rgba(236, 247, 252, 0.92);
  color-scheme: light;
}

body.modal-open {
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 42vmax;
  height: 42vmax;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.28;
  pointer-events: none;
}

body::before {
  top: -16vmax;
  right: -10vmax;
  background: rgba(34, 199, 255, 0.22);
}

body::after {
  bottom: -18vmax;
  left: -12vmax;
  background: rgba(78, 242, 210, 0.14);
}

.landing-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.site-footer {
  position: fixed;
  right: 1rem;
  bottom: 0.75rem;
  left: 1rem;
  z-index: 25;
  min-height: 2.85rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--footer-border);
  border-radius: 999px;
  background: var(--footer-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 0 24px rgba(20, 96, 126, 0.08);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.about-sidebar {
  position: fixed;
  inset: 0;
  z-index: 27;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.about-sidebar.is-open {
  opacity: 1;
  visibility: visible;
}

.about-sidebar__backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  backdrop-filter: blur(10px);
}

.about-sidebar__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(29rem, 100vw);
  background: linear-gradient(180deg, var(--panel-solid), var(--panel-solid-strong));
  border-left: 1px solid var(--card-border-strong);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform 260ms ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.about-sidebar.is-open .about-sidebar__panel {
  transform: translateX(0);
}

html[dir="ltr"] .about-sidebar__panel {
  right: auto;
  left: 0;
  border-left: 0;
  border-right: 1px solid var(--card-border-strong);
  transform: translateX(-100%);
}

.about-sidebar__close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid var(--card-border-strong);
  background: var(--card-glass);
  color: var(--text);
  font: inherit;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 2;
}

html[dir="ltr"] .about-sidebar__close {
  left: auto;
  right: 1rem;
}

.about-sidebar__body {
  flex: 1;
  overflow-y: auto;
  padding: 2.5rem 1.5rem 6rem;
  display: grid;
  gap: 1rem;
}

.about-sidebar__logo {
  width: 8rem;
  height: 8rem;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.about-sidebar__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(2px 4px 10px rgba(255, 255, 255, 0.2));
}

.about-sidebar__title {
  margin: 0;
  text-align: center;
  font-size: 1.3rem;
}

.about-sidebar__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(104, 212, 255, 0.35), transparent);
}

.about-sidebar__description,
.about-sidebar__address p {
  margin: 0;
  color: var(--muted);
  line-height: 2;
  font-size: 0.94rem;
}

.about-sidebar__label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
  color: var(--text);
  font-size: 0.85rem;
}

.about-sidebar__inline-icon {
  width: 1.2rem;
  height: 1.2rem;
  display: inline-block;
  flex: 0 0 auto;
  color: var(--glow);
}

.about-sidebar__badges {
  overflow: hidden;
  padding: 0.35rem 0;
}

.about-sidebar__badges-track {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding-inline: 0.15rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.about-sidebar__badges-track::-webkit-scrollbar {
  display: none;
}

.about-sidebar__badge {
  min-width: 7rem;
  padding: 0.35rem 0.25rem;
  display: grid;
  gap: 0.55rem;
  justify-items: center;
  scroll-snap-align: center;
}

.about-sidebar__badge img {
  width: 3.2rem;
  height: 3.2rem;
  object-fit: contain;
}

.about-sidebar__badge span {
  font-size: 0.8rem;
  color: var(--muted);
}

.about-sidebar__footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 4.2rem;
  padding: 0.9rem 1.4rem;
  border-top: 1px solid var(--card-border-soft);
  background: var(--card-glass-strong);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.about-sidebar__company-number {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.about-sidebar__socials {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.about-sidebar__socials a {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--footer-border);
  display: inline-grid;
  place-items: center;
  color: var(--text);
  text-decoration: none;
  background: var(--card-glass);
  font-size: 0.95rem;
}

.about-sidebar__socials a .bx {
  --bx-size: 1rem;
}

.footer-chip,
.footer-icon-button,
.language-option {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

.footer-about,
.footer-icon-button,
.language-option {
  border-radius: 999px;
}

.footer-about {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.1rem;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.footer-icon {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  display: inline-block;
  border: 1px solid rgba(112, 210, 243, 0.18);
  padding: 0.24rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

.footer-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-direction: row-reverse;
}

.footer-icon-button {
  position: relative;
  min-width: 2.3rem;
  height: 2.05rem;
  padding: 0.2rem 0.4rem;
  background: transparent;
  border: 0;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.theme-toggle__track {
  position: relative;
  width: 3.25rem;
  height: 1.55rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.theme-toggle__icon {
  position: relative;
  z-index: 1;
  justify-self: center;
  color: var(--text);
}

.theme-toggle__icon.bx {
  --bx-size: 0.8rem;
}

.theme-toggle__thumb {
  position: absolute;
  top: 50%;
  right: 0.12rem;
  width: 1.3rem;
  height: 1.3rem;
  translate: 0 -50%;
  border-radius: 999px;
  background: var(--icon-surface);
  border: 1px solid var(--icon-border);
  transition: transform 220ms ease, background 220ms ease;
}

body.theme-light .theme-toggle__thumb {
  transform: translateX(-1.55rem);
  background: rgba(12, 139, 181, 0.18);
  border-color: rgba(12, 139, 181, 0.22);
}

.language-menu {
  position: relative;
}

.language-popover {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.55rem);
  translate: -50% 0;
  min-width: 7rem;
  padding: 0.3rem;
  background: var(--footer-bg);
  border: 1px solid var(--footer-border);
  border-radius: 0.95rem;
  box-shadow: 0 0 24px rgba(20, 96, 126, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: grid;
  gap: 0.2rem;
}

.language-popover[hidden] {
  display: none;
}

.language-option {
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
  text-align: right;
  color: var(--text);
  cursor: pointer;
}

.language-option.is-active {
  background: var(--footer-pill);
}

.background-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(111, 194, 228, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 194, 228, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 90%);
  opacity: 0.55;
}

.signal-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.95;
}

.signal-network .static-lines path {
  fill: none;
  stroke: var(--line);
  stroke-width: 2.4;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(57, 209, 255, 0.18));
}

.signal-network .nodes circle {
  filter: drop-shadow(0 0 12px rgba(78, 242, 210, 0.65));
}

.signal-network .nodes circle.filled {
  fill: rgba(186, 250, 255, 0.95);
}

.signal-network .nodes circle.hollow {
  fill: var(--node-fill);
  stroke: rgba(186, 250, 255, 0.95);
  stroke-width: 2;
}

.dynamic-pulse {
  fill: var(--glow);
  filter: drop-shadow(0 0 8px rgba(255, 216, 77, 0.78));
}

[id^="track-"] {
  fill: none;
  stroke: transparent;
}

.hero-layout {
  position: relative;
  min-height: 100vh;
  padding: 4rem;
}

.brands-orbit {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.brands-carousel {
  display: none;
}

.centerpiece {
  position: absolute;
  inset: 40% auto auto 50%;
  width: min(30rem, 74vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
}

.center-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(97, 210, 255, 0.18);
}

.center-ring::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px dashed rgba(78, 242, 210, 0.24);
}

.center-ring-one {
  animation: rotateSlow 16s linear infinite;
}

.center-ring-two {
  inset: 7%;
  animation: rotateSlowReverse 22s linear infinite;
}

.center-core {
  position: relative;
  z-index: 1;
  width: 66%;
  min-height: auto;
  padding: 0;
  text-align: center;
  display: grid;
  align-content: center;
  gap: 0;
}

.logo-placeholder {
  width: 6.25rem;
  height: 6.25rem;
  margin: 0 auto 0.4rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(130, 255, 233, 0.34);
  background:
    linear-gradient(145deg, rgba(78, 242, 210, 0.18), rgba(57, 209, 255, 0.12)),
    var(--card-fill);
  display: grid;
  place-items: center;
  font-family: "IranYekan", "Segoe UI", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  box-shadow: inset 0 0 28px rgba(78, 242, 210, 0.1);
}

.logo-main {
  filter: drop-shadow(2px 3px 4px #18445b);
  padding: 15px;
  width: 15rem;
  height: 15rem;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.has-image {
  overflow: hidden;
}

.has-image img {
  filter: drop-shadow(2px 4px 6px #FFFfff99);
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sub-brand {
  position: absolute;
  width: min(12rem, 28vw);
  min-height: 6.2rem;
  padding: 2.2rem 1rem 1rem;
  border-radius: 1.4rem;
  background: linear-gradient(180deg, var(--panel), var(--panel-strong));
  border: 1px solid var(--card-border-strong);
  box-shadow: 0 0 25px rgba(24, 153, 199, 0.1);
  backdrop-filter: blur(12px);
  display: grid;
  align-content: center;
  gap: 0.4rem;
  text-align: center;
  cursor: pointer;
  appearance: none;
  font: inherit;
  color: inherit;
  outline: none;
}

.sub-brand::before {
  content: "";
  position: absolute;
  inset: 0.65rem;
  border: 1px dashed var(--footer-border);
  border-radius: 1rem;
  pointer-events: none;
}

.sub-brand:hover,
.sub-brand:focus-visible {
  border-color: color-mix(in srgb, var(--cyan) 35%, white 25%);
  box-shadow: 0 0 30px rgba(57, 209, 255, 0.18);
}

.brand-top-logo {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4.5rem;
  height: 4.5rem;
  translate: -50% -50%;
  border-radius: 1.1rem;
  border: 1px solid color-mix(in srgb, var(--cyan) 35%, white 20%);
  background:
    linear-gradient(145deg, rgba(78, 242, 210, 0.18), rgba(57, 209, 255, 0.12)),
    var(--card-fill);
  display: grid;
  place-items: center;
  font-family: "IranYekan", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  color: var(--text);
}

.brand-top-logo.has-image {
  padding: 0.45rem;
}

.sub-brand strong {
  font-size: 1.1rem;
  color: var(--text);
}

.brand-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.brand-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.brand-modal__backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--overlay) 82%, black 18%);
  backdrop-filter: blur(12px);
}

.brand-modal__dialog {
  position: relative;
  width: min(34rem, calc(100vw - 2rem));
  padding: 2.4rem 1.4rem 2rem;
  border-radius: 1.8rem;
  border: 1px solid color-mix(in srgb, var(--card-border-strong) 88%, white 12%);
  background: linear-gradient(180deg, var(--panel-solid), var(--panel-solid-strong));
  box-shadow: 0 0 50px rgba(36, 188, 238, 0.18);
  overflow: visible;
}

.brand-modal__dialog::before {
  content: "";
  position: absolute;
  inset: 0.75rem;
  border: 1px dashed var(--footer-border);
  border-radius: 1.2rem;
  pointer-events: none;
}

.brand-modal__close {
  position: absolute;
  top: 5px;
  left: -10px;
  width: 2.4rem;
  height: 2.4rem;
  translate: 0 -52%;
  border: 1px solid var(--card-border-strong);
  border-radius: 999px;
  background: var(--card-fill);
  color: var(--text);
  font-size: 1.35rem;
  cursor: pointer;
  z-index: 2;
}

.brand-modal__logo {
  position: absolute;
  top: 0;
  left: 50%;
  width: 6.25rem;
  height: 6.25rem;
  translate: -50% -62%;
  border-radius: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--cyan) 35%, white 20%);
  background:
    linear-gradient(145deg, rgba(78, 242, 210, 0.18), rgba(57, 209, 255, 0.12)),
    var(--panel-solid);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0.65rem;
  z-index: 2;
}

.brand-modal__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-modal__logo:not(.has-image) img {
  display: none;
}

.brand-modal__logo.has-image #brand-modal-logo-fallback {
  display: none;
}

.brand-modal__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.9rem;
}

.brand-modal__content h2 {
  padding-top: 30px;
  margin: 0;
  text-align: center;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
}

.brand-modal__description-box {
  min-height: 9rem;
  padding: 1rem 0.4rem 0.7rem;
}

.brand-modal__description-box p {
  margin: 0;
  color: var(--muted);
  line-height: 2;
  font-size: 0.96rem;
  text-align: center;
}

.brand-modal__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translateY(50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  z-index: 2;
  pointer-events: none;
}

.brand-modal__cta-icon,
.brand-modal__link-info {
  height: 2.45rem;
  border-radius: 999px;
  border: 1px solid var(--icon-border);
  background: var(--card-glass);
  box-shadow: 0 0 18px rgba(255, 216, 77, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand-modal__cta-icon {
  width: 2.45rem;
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: #fff3bf;
  text-decoration: none;
  pointer-events: auto;
}

.brand-modal__link-info {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 0.8rem 0 0.65rem;
  color: #fff3bf;
  flex-direction: row-reverse;
}

.brand-modal__info-icon {
  --bx-size: 0.9rem;
  flex: 0 0 auto;
  color: #fff3bf;
}

.about-sidebar__close .bx,
.brand-modal__close .bx {
  --bx-size: 1.05rem;
}

.brand-modal__cta-icon .bx {
  --bx-size: 0.92rem;
}

.brand-modal__link-text {
  direction: ltr;
  font-family: "IranYekan", "Segoe UI", sans-serif;
  font-size: 0.74rem;
  white-space: nowrap;
}

.brand-modal__cta-icon.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateSlowReverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@keyframes floatCard {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -10px;
  }
}

.sub-brand {
  animation: floatCard 5.4s ease-in-out infinite;
}

.sub-2,
.sub-5 {
  animation-delay: 0.8s;
}

.sub-3,
.sub-7 {
  animation-delay: 1.4s;
}

.sub-4,
.sub-6 {
  animation-delay: 2s;
}

@media (max-width: 980px) {
  body {
    overflow-y: auto;
  }

  .hero-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 0 0 4.5rem;
    overflow-x: hidden;
  }

  .centerpiece {
    position: relative;
    inset: auto;
    transform: none;
    width: min(28rem, 90%);
    order: 1;
    margin: 5rem 0 3rem;
  }

  .brands-orbit {
    display: none;
  }

  .brands-carousel {
    position: relative;
    display: flex;
    width: 100%;
    order: 2;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: visible;
    padding: 2.25rem 22vw 1rem 12vw;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 12vw;
    direction: ltr;
    overscroll-behavior-x: contain;
    scroll-behavior: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .brands-carousel::-webkit-scrollbar {
    display: none;
  }

  .brands-carousel .sub-brand {
    position: relative;
    width: 66vw;
    min-width: 66vw;
    max-width: 20rem;
    min-height: 7rem;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    translate: 0 0;
    transform: none;
    flex: 0 0 auto;
    order: unset;
    scroll-snap-align: center;
    direction: rtl;
  }

  .brands-carousel .sub-brand::after {
    content: "";
    position: absolute;
    top: -1rem;
    left: 50%;
    width: 1px;
    height: 1rem;
    background: rgba(78, 242, 210, 0.38);
  }

  .brand-modal {
    padding: 1rem;
  }

  .about-sidebar__panel {
    width: min(26rem, 100vw);
  }

  .site-footer {
    grid-template-columns: auto 1fr auto;
    gap: 0.45rem;
    right: 0.6rem;
    left: 0.6rem;
    bottom: 20px;
    padding: 0.3rem 0.5rem;
  }

  .footer-copy {
    font-size: 0.72rem;
  }

  .language-popover {
    left: auto;
    right: 0;
    translate: 0 0;
  }
}

@media (max-width: 640px) {
  .background-grid {
    background-size: 42px 42px;
  }

  .brands-carousel {
    padding: 4.25rem 24vw 1rem 10vw;
  }

  .center-core {
    width: 78%;
    min-height: auto;
    padding: 0;
  }

  .logo-placeholder {
    width: 15rem;
    height: 15rem;
  }

  .brands-carousel .sub-brand {
    width: 72vw;
    min-width: 72vw;
  }

  .site-footer {
    min-height: 2.6rem;
  }

  .about-sidebar__body {
    padding-inline: 1rem;
  }

  .about-sidebar__footer {
    padding: 0.85rem 1rem;
  }

  .footer-about span:last-child {
    display: none;
  }

  .footer-copy {
    font-size: 0.66rem;
  }

  .theme-toggle__track {
    width: 2.8rem;
  }

  body.theme-light .theme-toggle__thumb {
    transform: translateX(-1.3rem);
  }
}
