/* global.css — tokens, base, layout, components (self-hosted Inter) */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/**
 * Design tokens — short palette, px units, 8px spacing grid
 */
:root {
  color-scheme: light;

  /* —— Color —— */
  --color-white: #ffffff;
  --color-black: #0d0d0d;
  --color-ink: #1f1f1f;
  --color-text: #262626;
  --color-muted: #868686;
  --color-subtle: #5b5b5b;
  --color-line: #e2e2e2;
  --color-soft: #f8f8f8;
  --color-soft-2: #f0f0f0;
  --color-mid: #4c4c4c;
  --color-deep: #383838;
  --color-blue: #3086f3;
  --color-navy: #0f0c16;
  --color-pink: #f1caff;
  --color-star: #f3b000;
  --color-ok: #16a34a;
  --color-bad: #dc2626;
  --color-white-rgb: 255, 255, 255;
  --color-ink-rgb: 31, 31, 31;
  --color-blue-rgb: 48, 134, 243;

  /* Roles (thin aliases for components) */
  --color-bg: var(--color-white);
  --color-bg-muted: var(--color-soft);
  --color-bg-inverse: var(--color-black);
  --color-main: var(--color-ink);
  --color-text-main: var(--color-text);
  --color-text-body: var(--color-muted);
  --color-text-muted: var(--color-subtle);
  --color-text-secondary: var(--color-muted);
  --color-text-inverse: var(--color-white);
  --color-text-heading: var(--color-text);
  --color-primary: var(--color-blue);
  --color-primary-light: var(--color-soft);
  --color-border: var(--color-line);
  --color-link: var(--color-blue);
  --color-link-hover: var(--color-navy);
  --color-focus: var(--color-blue);

  /* Gradients */
  --gradient-hero: linear-gradient(
    110deg,
    var(--color-navy) 2%,
    #24183f 12%,
    var(--color-blue) 49%,
    var(--color-pink) 100%
  );
  --gradient-hero-radial: radial-gradient(
    circle at 31% 50%,
    rgba(170, 60, 156, 0.35) 0%,
    transparent 70%
  );

  /*
   * Default inner-hero video tint. Per-page colours live on
   * `.page--* .inner-hero` in main.css (color filter + radial glow).
   */
  --inner-hero-color-filter: rgba(20, 10, 40, 0.45);
  --inner-hero-color-filter-blend: normal;

  /* —— Type —— */
  --font-family-display: "Inter", system-ui, sans-serif;
  --font-family-body: "Inter", system-ui, sans-serif;
  --font-display: var(--font-family-display);
  --font-body: var(--font-family-body);

  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-md: 18px;
  --font-size-lg: 24px;
  --font-size-xl: 32px;
  --font-size-2xl: 40px;

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.15;
  --line-height-snug: 1.35;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.65;

  /* —— Space (8px grid) —— */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 40px;
  --space-8: 48px;
  --space-10: 64px;
  --space-12: 80px;
  --space-20: 128px;

  /* —— Layout —— */
  --container-max: 1440px;
  --container-padding: 40px;
  --header-height: 80px;
  --section-padding-y: 80px;
  --content-max-prose: 512px;

  /* —— Radius —— */
  --radius-sm: 8px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 40px;
  --radius-pill: 999px;
  --radius-full: 50%;

  /* —— Shadow —— */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-soft: var(--shadow-lg);
  --shadow-btn-rest: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-btn-hover: 0 16px 32px rgba(0, 0, 0, 0.18), 0 8px 16px rgba(0, 0, 0, 0.1);
  --shadow-btn-white-rest: 0 4px 16px rgba(0, 0, 0, 0.14);
  --shadow-btn-white-hover: 0 16px 32px rgba(0, 0, 0, 0.22), 0 8px 16px rgba(0, 0, 0, 0.12);

  /* —— Z + motion —— */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-header: 300;
  --z-overlay: 400;
  --z-modal: 500;
  --z-toast: 600;

  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-button: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
}

@media (max-width: 991px) {
  :root {
    --section-padding-y: 64px;
    --container-padding: 24px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
  }
}

@media (max-width: 767px) {
  :root {
    --section-padding-y: 48px;
    --container-padding: 16px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --header-height: 72px;
  }
}

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

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

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-family-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text-secondary);
  background-color: var(--color-bg);
  overflow-x: clip;
}

body.is-nav-open {
  overflow: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-display);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  text-wrap: balance;
}

h1 {
  font-size: var(--font-size-2xl);
}

h2 {
  font-size: var(--font-size-xl);
}

h3 {
  font-size: var(--font-size-lg);
}

p {
  margin-block-end: var(--space-4);
  text-wrap: balance;
}

p:last-child {
  margin-block-end: 0;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-default);
}

a:hover,
a:focus,
a:active,
a:visited {
  text-decoration: none;
}

/* Text links only — not buttons or nav */
a:where(:not(.btn):not(.btn-default):not(.btn--primary):not(.btn--white):not(.btn--ghost):not(.btn-outline-link):not(.product-card-link):not(.nav__link):not(.nav .dropdown > a):not(.nav .dropdown ul a):not(.header__phone):not(.header__logo):not(.site-footer__cta)):hover,
a:where(:not(.btn):not(.btn-default):not(.btn--primary):not(.btn--white):not(.btn--ghost):not(.btn-outline-link):not(.product-card-link):not(.nav__link):not(.nav .dropdown > a):not(.nav .dropdown ul a):not(.header__phone):not(.header__logo):not(.site-footer__cta)):focus {
  color: var(--color-link-hover);
}

.lead {
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
  max-width: var(--content-max-prose);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 10001;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--color-ink);
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.catalog-search {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 0 0 24px;
}

.catalog-search input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-text);
}

.catalog-search button {
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-ink);
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
}


.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page__main {
  flex: 1;
}

.page__main--offset {
  padding: calc(var(--header-height) + 128px) 0 80px;
}

/* Site buttons (extends Bootstrap .btn) */
a.btn,
a.btn-default,
a.btn--primary,
a.btn--white,
a.btn--ghost,
a.btn-outline-link,
a.product-card-link {
  text-decoration: none;
}

a.btn:hover,
a.btn:focus,
a.btn-default:hover,
a.btn-default:focus,
a.btn--primary:hover,
a.btn--primary:focus,
a.btn-outline-link:hover,
a.btn-outline-link:focus {
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 40px;
  padding: var(--space-2) var(--space-5);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  transform: translate3d(0, 0, 0);
  transition:
    background-color var(--duration-base) var(--ease-button),
    border-color var(--duration-base) var(--ease-button),
    color var(--duration-base) var(--ease-button),
    box-shadow var(--duration-base) var(--ease-button),
    transform var(--duration-base) var(--ease-button);
}

.btn--primary {
  background-color: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-white);
  box-shadow: var(--shadow-btn-rest);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--color-deep);
  border-color: var(--color-deep);
  color: var(--color-white);
  transform: translate3d(0, -3px, 0);
  box-shadow: var(--shadow-btn-hover);
}

.btn--primary:active {
  transform: translate3d(0, -1px, 0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.btn--white {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-ink);
  box-shadow: var(--shadow-btn-white-rest);
}

.btn--white:hover,
.btn--white:focus-visible {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-ink);
  transform: translate3d(0, -3px, 0);
  box-shadow: var(--shadow-btn-white-hover);
}

.btn--white:active {
  transform: translate3d(0, -1px, 0);
  box-shadow: var(--shadow-btn-white-rest);
}

.btn--ghost {
  padding: var(--space-3) var(--space-4);
  border-color: var(--color-border);
  color: var(--color-ink);
  background: transparent;
  box-shadow: none;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--color-ink);
  color: var(--color-ink);
  background: var(--color-soft);
  transform: translate3d(0, -2px, 0);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:active {
  transform: translate3d(0, 0, 0);
}

/* Legacy aliases */
.btn-default {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 40px;
  padding: var(--space-2) var(--space-5);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  transform: translate3d(0, 0, 0);
  transition:
    background-color var(--duration-base) var(--ease-button),
    border-color var(--duration-base) var(--ease-button),
    color var(--duration-base) var(--ease-button),
    box-shadow var(--duration-base) var(--ease-button),
    transform var(--duration-base) var(--ease-button);
}

.btn-default.btn-dark {
  background-color: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-white);
  box-shadow: var(--shadow-btn-rest);
}

.btn-default.btn-dark:hover,
.btn-default.btn-dark:focus-visible {
  background-color: var(--color-deep);
  border-color: var(--color-deep);
  color: var(--color-white);
  transform: translate3d(0, -3px, 0);
  box-shadow: var(--shadow-btn-hover);
}

.btn-default.btn-dark:active {
  transform: translate3d(0, -1px, 0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.btn-default.btn-white {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-ink);
  box-shadow: var(--shadow-btn-white-rest);
}

.btn-default.btn-white:hover,
.btn-default.btn-white:focus-visible {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-ink);
  transform: translate3d(0, -3px, 0);
  box-shadow: var(--shadow-btn-white-hover);
}

.btn-default.btn-white:active {
  transform: translate3d(0, -1px, 0);
  box-shadow: var(--shadow-btn-white-rest);
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn-default {
    transition:
      background-color var(--duration-base) var(--ease-default),
      border-color var(--duration-base) var(--ease-default),
      color var(--duration-base) var(--ease-default),
      box-shadow var(--duration-base) var(--ease-default);
  }

  .btn:hover,
  .btn:focus-visible,
  .btn-default:hover,
  .btn-default:focus-visible,
  .btn:active,
  .btn-default:active {
    transform: none;
  }
}

.btn-outline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 2px solid #d1d1d1;
  border-radius: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-main);
  white-space: nowrap;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.btn-outline-link i {
  font-size: 18px;
  line-height: 1;
}

.btn-outline-link:hover,
.btn-outline-link:focus {
  border-bottom-color: var(--color-main);
  color: var(--color-main);
}


.form-control:focus {
  border-color: var(--color-focus);
  box-shadow: 0 0 0 3.20pxpx rgba(var(--color-blue-rgb), 0.2);
}

.back-to-top {
  position: fixed;
  inset-block-end: var(--space-6);
  inset-inline-end: var(--space-6);
  z-index: var(--z-sticky);
  visibility: hidden;
  opacity: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-blue);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--duration-slow), visibility var(--duration-slow), background var(--duration-fast);
}

.back-to-top i {
  font-size: 28px;
  line-height: 0;
}

.back-to-top:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.back-to-top.is-visible {
  visibility: visible;
  opacity: 1;
}

.breadcrumbs {
  margin-block-end: var(--space-4);
}

.breadcrumbs ol {
	list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
	padding: 3px 8px;
	font-size: 12px;
	background: #ffffff;
	width: fit-content;
	border-radius: 50px;
}

.breadcrumbs a {
  color: var(--color-text-secondary);
}

.breadcrumbs [aria-current="page"] {
  color: var(--color-text);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-inline-end: var(--space-2);
  color: var(--color-text-muted);
}

/* Section backgrounds (tgq pattern) */
.section-bg {
  background: var(--color-bg);
}

.section-light-bg {
  background: var(--color-bg-muted);
}

section,
.section {
  padding-block: var(--section-padding-y);
}

/* Section titles */
.section-title {
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.section-title .badge {
  display: block;
  margin: 0 0 16px;
  padding: 0;
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-blue);
}

.section-title h1 {
  margin: 0 0 16px;
  font-size: var(--font-size-2xl);
  line-height: 1.15;
  font-weight: var(--font-weight-regular);
  color: var(--color-text-main);
  text-wrap: balance;
}

.section-title h2 {
  margin-bottom: 16px;
  font-size: 40px;
  line-height: 1.25;
  font-weight: var(--font-weight-regular);
  color: var(--color-text-main);
  text-wrap: balance;
}

.section-title h2 span {
  font-weight: var(--font-weight-semibold);
  color: var(--color-navy);
}

.section-title p {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-text-body);
  max-width: 620px;
  text-wrap: pretty;
}

.section-title p:last-child {
  margin-bottom: 0;
}

/* Heading + action link (e.g. Browse all) on one row */
.section-title--with-action {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
}

.section-title--with-action .section-title__main {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.section-title--with-action .section-title__main h2 {
  margin-bottom: 16px;
}

.section-title--with-action .section-title__main p {
  margin-bottom: 0;
  max-width: 560px;
}

.section-title--with-action .section-title__action {
  flex: 0 0 auto;
  align-self: flex-end;
  white-space: nowrap;
  margin-bottom: 0;
}

.section-title.text-center {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 32px;
  text-align: center;
}

.section-title.text-center .badge {
  display: inline-block;
}

.section-title.text-center p {
  margin-inline: auto;
  max-width: 560px;
}

@media (max-width: 991px) {
  .section-title h2 {
    font-size: 32px;
  }

  .section-title {
    margin-bottom: 32px;
  }

  .section-title.text-center p {
    max-width: 80%;
  }
}

@media (max-width: 767px) {
  .section-title h2 {
    font-size: 28px;
  }

  .section-title {
    margin-bottom: 24px;
  }

  .section-title.text-center {
    margin-bottom: 24px;
  }

  .section-title p,
  .section-title.text-center p {
    max-width: 100%;
    font-size: 16px;
  }

  .section-title--with-action {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .section-title--with-action .section-title__action {
    align-self: flex-start;
  }
}

/* Page loader — center logo + progress track (no text) */
html:not(.skip-loader) body:not(.is-loaded) {
  overflow: hidden;
}

html.skip-loader .page-loader {
  display: none !important;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: var(--color-bg);
  transition: opacity var(--duration-base) var(--ease-default), visibility var(--duration-base);
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__inner {
  display: grid;
  gap: 24px;
  justify-items: center;
}

.page-loader__logo {
  height: 50px;
  width: auto;
  animation: page-loader-pulse 1.2s ease-in-out infinite;
}

.page-loader__bar {
  display: block;
  position: relative;
  width: 120px;
  height: 3px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--color-line);
}

.page-loader__bar::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 40%;
  border-radius: inherit;
  background: var(--color-blue);
  animation: page-loader-slide 1s ease-in-out infinite;
}

@keyframes page-loader-pulse {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.98);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes page-loader-slide {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(250%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader__logo,
  .page-loader__bar::after {
    animation: none;
  }

  .page-loader {
    transition: none;
  }
}

