/* ==========================================================================
   PREMIUM LAYER — визуальный слой поверх base.css / content.css.
   Подключён последним. Чтобы отключить оформление, уберите строку
   <link rel="stylesheet" href="assets/premium.css"> из index.html.
   ========================================================================== */

@property --pm-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

html body {
  --pm-night: #050a1a;
  --pm-navy: #0a1330;
  --pm-deep: #101d4a;
  --pm-ink: #0b1736;
  --pm-text: #3a4c6d;
  --pm-muted: #5a6b8c;
  --pm-blue: #2f5bff;
  --pm-blue-2: #1d46e8;
  --pm-sky: #7ea0ff;
  --pm-cyan: #22d3ee;
  --pm-line: rgba(11, 23, 54, 0.1);
  --pm-grad: linear-gradient(135deg, #2f5bff 0%, #4f78ff 50%, #22d3ee 135%);
  --pm-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pm-header: 66px;
  background: #f3f6fd;
  color: var(--pm-ink);
}

html {
  scroll-padding-top: calc(var(--pm-header) + 12px);
}

::selection {
  background: #2f5bff;
  color: #fff;
}

/* ---------- Шапка: тёмное стекло ---------- */
html body header {
  background: rgba(6, 11, 29, 0.74) !important;
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  backdrop-filter: saturate(170%) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: background 0.35s var(--pm-ease), box-shadow 0.35s var(--pm-ease);
}
html body header.is-scrolled {
  background: rgba(5, 10, 26, 0.92) !important;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.6);
}
html body header > .header-info-strip {
  background: rgba(255, 255, 255, 0.03) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  color: #8fa3d4 !important;
}
html body header > .header-info-strip strong {
  color: #fff !important;
}
html body header > .header-info-strip .text-slate-300 {
  color: rgba(255, 255, 255, 0.18) !important;
}
html body header a[aria-label] > span:first-child {
  color: #fff !important;
  letter-spacing: -0.01em;
}
html body header a[aria-label]:hover > span:first-child {
  color: var(--pm-sky) !important;
}
html body header a[aria-label] > span:last-child {
  color: #8fa3d4 !important;
}
html body header nav a {
  color: #cbd6f6 !important;
  border-radius: 10px;
  position: relative;
  transition: color 0.25s, background 0.25s;
}
html body header nav a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
html body header nav a[aria-current]:not([aria-current="false"]) {
  color: #fff !important;
  background: rgba(47, 91, 255, 0.22) !important;
  box-shadow: inset 0 0 0 1px rgba(126, 160, 255, 0.35);
}
html body header .bg-primary-container,
html body main .bg-primary-container:is(a, button):not([role="tab"]),
html body footer a.bg-primary-container {
  background: var(--pm-grad) !important;
  border: 0 !important;
  border-radius: 12px !important;
  color: #fff !important;
  box-shadow: 0 10px 28px -10px rgba(47, 91, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--pm-ease), box-shadow 0.3s var(--pm-ease), filter 0.3s;
}
html body header .bg-primary-container::after,
html body main .bg-primary-container:is(a, button):not([role="tab"])::after,
html body footer a.bg-primary-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--pm-ease);
  z-index: -1;
}
html body header .bg-primary-container:hover,
html body main .bg-primary-container:is(a, button):not([role="tab"]):hover,
html body footer a.bg-primary-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(47, 91, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  filter: saturate(1.12);
}
html body header .bg-primary-container:hover::after,
html body main .bg-primary-container:is(a, button):not([role="tab"]):hover::after,
html body footer a.bg-primary-container:hover::after {
  transform: translateX(120%);
}
html body header .bg-primary-container:active,
html body main .bg-primary-container:is(a, button):not([role="tab"]):active {
  transform: translateY(0) scale(0.98);
}

/* ---------- Первый экран ---------- */
html body main {
  padding-top: 0 !important;
}
html body main > section:first-child {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(47, 91, 255, 0.62), transparent 62%),
    radial-gradient(760px 460px at 4% 108%, rgba(34, 211, 238, 0.2), transparent 62%),
    linear-gradient(180deg, #050a1a 0%, #0a1330 100%) !important;
  border-bottom: 0 !important;
}
html body main > section:first-child::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 62% 42%, #000 15%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 70% at 62% 42%, #000 15%, transparent 78%);
}
html body main > section:first-child::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: 6%;
  top: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.28), transparent 65%);
  filter: blur(30px);
  animation: pm-drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
html body main > section:first-child > .max-w-7xl {
  padding-top: calc(var(--pm-header) + 56px);
  padding-bottom: 80px;
}

html body main > section:first-child .lg\:col-span-7 > .inline-flex {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 7px 14px;
  color: #c7d3f5;
  font-size: 11px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
html body main > section:first-child .w-2.h-2 {
  background: var(--pm-cyan) !important;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  flex: none;
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.7);
  animation: pm-ping 2.2s ease-out infinite;
}
html body main > section:first-child h1 {
  color: #fff !important;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.07;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-transform: none;
  text-wrap: balance;
}
.pm-grad {
  white-space: nowrap;
  background: linear-gradient(95deg, #8fb0ff 0%, #5b8bff 38%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
html body main > section:first-child .lg\:col-span-7 > p {
  color: #b4c3ea !important;
  font-size: 17px;
  line-height: 1.75;
  max-width: 640px;
}

/* Вторичная кнопка в hero — стекло */
html body main > section:first-child a.bg-slate-100 {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  border-radius: 12px !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.3s, transform 0.3s var(--pm-ease), border-color 0.3s;
}
html body main > section:first-child a.bg-slate-100:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-2px);
}
html body main > section:first-child .flex.flex-wrap a {
  min-height: 52px;
  padding-left: 28px;
  padding-right: 28px;
}

/* Три принципа — стеклянные карточки */
html body main > section:first-child .sm\:grid-cols-3 {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  gap: 14px;
}
html body main > section:first-child .sm\:grid-cols-3 > div {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px;
  padding: 16px 16px 18px !important;
  background: rgba(255, 255, 255, 0.045);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--pm-ease), background 0.4s, border-color 0.4s;
}
html body main > section:first-child .sm\:grid-cols-3 > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 38%;
  background: var(--pm-grad);
  border-radius: 0 0 2px 0;
  transition: width 0.5s var(--pm-ease);
}
html body main > section:first-child .sm\:grid-cols-3 > div:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(126, 160, 255, 0.4) !important;
}
html body main > section:first-child .sm\:grid-cols-3 > div:hover::before {
  width: 100%;
}
html body main > section:first-child .sm\:grid-cols-3 .font-mono {
  color: var(--pm-sky) !important;
}
html body main > section:first-child .sm\:grid-cols-3 .font-bold {
  color: #fff !important;
}
html body main > section:first-child .sm\:grid-cols-3 .text-body-sm {
  color: #9db0dc !important;
}

/* Визуал справа: светящаяся рамка + «парение» */
html body main > section:first-child .lg\:col-span-5 > div {
  position: relative;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 28px;
  padding: 12px !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 50px 100px -35px rgba(47, 91, 255, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  animation: reveal 1s var(--ease) 0.15s backwards, pm-float 7s ease-in-out 1.3s infinite;
}
html body main > section:first-child .lg\:col-span-5 > div::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 28px;
  padding: 1.5px;
  background: conic-gradient(from var(--pm-angle), transparent 0 62%, #22d3ee 78%, #2f5bff 90%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: pm-spin 6s linear infinite;
  pointer-events: none;
}
html body main > section:first-child .lg\:col-span-5 .overflow-hidden {
  border: 0 !important;
  border-radius: 18px !important;
  background: #eef3ff !important;
}
html body main > section:first-child .lg\:col-span-5 .mt-3 {
  background: rgba(5, 10, 26, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 14px;
  color: #c7d3f5 !important;
}
html body main > section:first-child .lg\:col-span-5 .mt-3 > span:last-child {
  white-space: nowrap;
  margin-left: 12px;
}
html body main > section:first-child .lg\:col-span-5 .mt-3 .text-slate-500 {
  color: var(--pm-cyan) !important;
}

/* Плавающие плашки у иллюстрации */
.pm-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: #fff;
  color: var(--pm-ink);
  border-radius: 999px;
  font: 700 11px/1 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.55);
  animation: pm-float 5.5s ease-in-out infinite;
  pointer-events: none;
}
.pm-chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16c784;
  box-shadow: 0 0 0 4px rgba(22, 199, 132, 0.2);
}
.pm-chip--a {
  top: -16px;
  right: 28px;
}
.pm-chip--b {
  left: -26px;
  bottom: 84px;
  animation-delay: -2.4s;
}
.pm-chip--b i {
  background: var(--pm-blue);
  box-shadow: 0 0 0 4px rgba(47, 91, 255, 0.2);
}

/* ---------- Бегущая лента ---------- */
.pm-ticker {
  position: relative;
  overflow: hidden;
  background: #070e26;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.pm-ticker__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: pm-marquee 48s linear infinite;
}
.pm-ticker:hover .pm-ticker__track {
  animation-play-state: paused;
}
.pm-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  white-space: nowrap;
  font: 600 13px/1 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9db0dc;
}
.pm-ticker__item::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--pm-grad);
}

/* ---------- Заголовки и ритм секций ---------- */
html body main > section:not(:first-child) {
  position: relative;
  border-bottom: 0 !important;
}
html body main > section:not(:first-child) h2 {
  color: var(--pm-ink) !important;
  font-size: clamp(1.85rem, 3.3vw, 2.85rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  font-weight: 800;
  text-transform: none;
  text-wrap: balance;
}
html body main > section:not(:first-child) .font-mono.uppercase:not(button):not(th):not(td) {
  color: var(--pm-blue);
}
html body main > section:not(:first-child) p.text-slate-600 {
  color: var(--pm-text) !important;
}
html body #services {
  background:
    radial-gradient(700px 360px at 100% 0, rgba(47, 91, 255, 0.09), transparent 70%),
    linear-gradient(180deg, #f3f6fd, #eaf0fe) !important;
}
html body #repair {
  background:
    radial-gradient(640px 340px at 0 100%, rgba(34, 211, 238, 0.1), transparent 70%),
    linear-gradient(180deg, #eef3fe, #e8eefc) !important;
}
html body #order-form {
  background:
    radial-gradient(700px 400px at 90% 0, rgba(47, 91, 255, 0.08), transparent 70%),
    linear-gradient(180deg, #ffffff, #f1f5ff) !important;
}
html body #faq {
  background: linear-gradient(180deg, #f3f6fd, #eaf0fe) !important;
}

/* ---------- Прайс: таблица как набор карточек ---------- */
html body #services .overflow-x-auto {
  border: 1px solid rgba(11, 23, 54, 0.08) !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 40px 80px -40px rgba(20, 40, 110, 0.35), 0 2px 0 rgba(255, 255, 255, 0.8) inset;
}
html body #services thead tr {
  background: linear-gradient(180deg, #f2f5fd, #eaf0fc) !important;
}
html body #services tbody tr {
  position: relative;
  transition: background 0.3s var(--pm-ease), box-shadow 0.3s var(--pm-ease);
}
html body #services tbody tr:hover {
  background: linear-gradient(90deg, rgba(47, 91, 255, 0.07), rgba(34, 211, 238, 0.04)) !important;
  box-shadow: inset 3px 0 0 var(--pm-blue);
}
html body #services tbody td.font-mono.text-primary-container {
  background: linear-gradient(95deg, #1d46e8, #22a6e8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.1rem;
}
html body #services td button:not(.bg-primary-container) {
  border-radius: 12px !important;
  transition: background 0.3s, transform 0.3s var(--pm-ease), border-color 0.3s, color 0.3s;
}
html body #services td button:not(.bg-primary-container):hover {
  background: var(--pm-ink) !important;
  color: #fff !important;
  border-color: var(--pm-ink) !important;
  transform: translateY(-2px);
}

/* ---------- Форма: мягкие объёмные карточки ---------- */
html body #order-form form,
html body #order-form .bg-white.border,
html body #order-form .bg-slate-50.border {
  border-radius: 24px !important;
  border-color: rgba(11, 23, 54, 0.08) !important;
  box-shadow: 0 34px 70px -42px rgba(20, 40, 110, 0.38);
}
html body #order-form :is(input, select, textarea):focus {
  border-color: var(--pm-blue) !important;
  box-shadow: 0 0 0 4px rgba(47, 91, 255, 0.16) !important;
  outline: none;
}
html body #order-form [role="tab"] {
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

/* ---------- Ремонт: карточки направлений ---------- */
html body #repair .grid > div.bg-white,
html body #repair .grid > article,
html body #repair .grid > .border {
  border-radius: 20px !important;
  border-color: rgba(11, 23, 54, 0.08) !important;
  transition: transform 0.45s var(--pm-ease), box-shadow 0.45s var(--pm-ease), border-color 0.45s;
}
html body #repair .grid > div.bg-white:hover,
html body #repair .grid > article:hover,
html body #repair .grid > .border:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 60px -32px rgba(20, 40, 110, 0.5);
  border-color: rgba(47, 91, 255, 0.35) !important;
}

/* Подсветка карточек под курсором (координаты задаёт premium.js) */
.pm-spot {
  position: relative;
  overflow: hidden;
}
.pm-spot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(47, 91, 255, 0.14), transparent 60%);
}
.pm-spot:hover::after {
  opacity: 1;
}

/* ---------- FAQ ---------- */
html body .faq-item {
  border-radius: 18px !important;
  border: 1px solid rgba(11, 23, 54, 0.08) !important;
  background: #fff !important;
  box-shadow: 0 18px 40px -30px rgba(20, 40, 110, 0.35);
  transition: box-shadow 0.35s var(--pm-ease), border-color 0.35s, transform 0.35s var(--pm-ease);
  overflow: hidden;
}
html body .faq-item:hover {
  border-color: rgba(47, 91, 255, 0.3) !important;
  transform: translateY(-2px);
}
html body .faq-item:has(button[aria-expanded="true"]) {
  border-color: rgba(47, 91, 255, 0.45) !important;
  box-shadow: 0 26px 54px -30px rgba(47, 91, 255, 0.55);
}

/* ---------- Подвал ---------- */
html body footer#contacts {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(700px 360px at 85% 0, rgba(47, 91, 255, 0.35), transparent 65%),
    radial-gradient(600px 320px at 0 100%, rgba(34, 211, 238, 0.12), transparent 65%),
    linear-gradient(180deg, #0a1330, #050a1a) !important;
}
html body footer#contacts::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
  mask-image: linear-gradient(180deg, #000, transparent 80%);
}
html body footer#contacts a:not(.bg-primary-container) {
  position: relative;
  transition: color 0.25s, transform 0.3s var(--pm-ease);
}
html body footer#contacts a:not(.bg-primary-container):hover {
  color: #fff !important;
  transform: translateX(4px);
}

/* ---------- Диалог подбора ---------- */
html body #fn-intake-dialog {
  border-radius: 28px;
  box-shadow: 0 60px 120px -40px rgba(5, 10, 26, 0.8);
}
html body #fn-intake-dialog::backdrop {
  background: rgba(5, 10, 26, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* ---------- Прогресс прокрутки ---------- */
html body .scroll-progress {
  height: 3px !important;
  background: linear-gradient(90deg, #22d3ee, #2f5bff, #7c5cff) !important;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.7);
}

/* ---------- Анимации ---------- */
@keyframes pm-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pm-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-60px, 40px) scale(1.18); }
}
@keyframes pm-spin {
  to { --pm-angle: 360deg; }
}
@keyframes pm-ping {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.65); }
  80%, 100% { box-shadow: 0 0 0 12px rgba(34, 211, 238, 0); }
}
@keyframes pm-marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1023px) {
  .pm-chip--b {
    left: 8px;
    bottom: 76px;
  }
}
@media (max-width: 767px) {
  html body {
    --pm-header: 58px;
  }
  html body main > section:first-child .lg\:col-span-7 > .inline-flex {
    border-radius: 16px;
    font-size: 10px;
    padding: 8px 12px;
    line-height: 1.5;
  }
  html body header a[aria-label] > span:last-child {
    font-size: 9px;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }
  html body header .bg-primary-container {
    white-space: nowrap;
    font-size: 11px;
    padding-left: 14px;
    padding-right: 14px;
  }
  html body main > section:first-child > .max-w-7xl {
    padding-top: calc(var(--pm-header) + 34px);
    padding-bottom: 56px;
  }
  html body main > section:first-child h1 {
    font-size: clamp(2.05rem, 9.2vw, 2.7rem);
  }
  .pm-grad {
    white-space: normal;
  }
  html body main > section:first-child .lg\:col-span-7 > p {
    font-size: 15.5px;
  }
  html body main > section:first-child .flex.flex-wrap a {
    flex: 1 1 100%;
  }
  html body main > section:first-child::after {
    width: 320px;
    height: 320px;
    right: -20%;
  }
  .pm-chip {
    font-size: 10px;
    padding: 8px 11px;
  }
  .pm-chip--a {
    right: 14px;
  }
  .pm-ticker {
    padding: 14px 0;
  }
  .pm-ticker__item {
    font-size: 11px;
    gap: 16px;
    padding-right: 16px;
  }
}

/* ---------- Уменьшение движения ---------- */
@media (prefers-reduced-motion: reduce) {
  html body main > section:first-child::after,
  html body main > section:first-child .lg\:col-span-5 > div,
  html body main > section:first-child .lg\:col-span-5 > div::before,
  html body main > section:first-child .w-2.h-2,
  .pm-chip,
  .pm-ticker__track {
    animation: none !important;
  }
  .pm-ticker {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* Three remaining footer sections after removing the contacts column. */
@media (min-width:1024px) { html body #contacts .footer-summary { grid-template-columns:repeat(3,minmax(0,1fr)); } }
