/* =========================================================
   FROOBOOK UI CSS (universal components + responsive tokens)
   Font: Mulish
   Breakpoints: MOB 360, TABLET 768, MID 1280, XL 1920
   Colors from your guideline:
   primary #C9F76E, secondary #FFF86A, on-primary #151515
   success #22C55E, error #F15555, attention #3B82F6, warning #FF9F0A
   base #F5F5F5 / #FFFFFF, extra #FFE95A #D296FE #A6F3E6 #FAA7BF
   Border radius: 8px, border: 1px
   ========================================================= */

/* ---- 0) Font ---- */
@import url("https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;600;700;800&display=swap");

/* ---- 1) Design tokens ---- */
:root {
  /* colors */
  --c-primary: #c9f76e;
  --c-secondary: #fff86a;
  --c-on-primary: #151515; 

  --c-success: #22c55e;
  --c-error: #f15555;
  --c-attention: #3b82f6;
  --c-warning: #ff9f0a;

  --c-bg: #ffffff;
  --c-surface: #ffffff;
  --c-muted: #f5f5f5;

  --c-extra-1: #ffe95a;
  --c-extra-2: #d296fe;
  --c-extra-3: #a6f3e6;
  --c-extra-4: #faa7bf;

  /* neutrals (simple, predictable) */
  --c-text: #151515;
  --c-text-2: #4b4b4b;
  --c-text-3: #7a7a7a;
  --c-border: #e6e6e6;
  --c-border-2: #d7d7d7;

  /* typography */
  --ff: "Mulish", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* base size */
  --fs-0: 16px;

  /* responsive headings (safe clamps) */
/*  --h1: clamp(26px, 2.3vw + 14px, 44px);*/
  --h2: clamp(22px, 1.6vw + 14px, 34px);
  --h3: clamp(18px, 1.0vw + 14px, 26px);
  --h4: clamp(16px, 0.6vw + 14px, 20px); 

  --lh-tight: 1.15;
  --lh: 1.35;
  --lh-loose: 1.55;

  /* radius + borders */
  --r: 8px;
  --b: 1px;

  /* shadow (soft, neutral) */
  --sh-1: 0 8px 22px rgba(0, 0, 0, 0.08);
  --sh-2: 0 14px 34px rgba(0, 0, 0, 0.12);

  /* spacing scale (8px grid) */
 --s-0: 0px;
  --s-1: var(--space-4);
  --s-2: var(--space-8);
  --s-3: var(--space-12);  
  --s-4: var(--space-16);
  --s-5: var(--space-20);  
  --s-6: var(--space-24);
  --s-7: var(--space-32);  
  --s-8: var(--space-40); 
  --s-9: var(--space-48);
  --s-10: var(--space-64);

  /* layout */
  --container-max: 1200px;
  --container-pad: 16px; /* MOB default */
  --gap: 16px;          /* default vertical gap */
}

/* TABLET */
@media (min-width: 768px) {
  :root {
    --container-pad: 24px;
    --gap: 20px;
  }
}
/* MID */
@media (min-width: 1280px) {
  :root {
    --container-pad: 32px;
    --gap: 24px;
    --container-max: 1280px;
  }
}
/* XL */
@media (min-width: 1920px) {
  :root {
    --container-pad: 40px;
    --gap: 28px;
    --container-max: 1440px;
  }
}

/* ---- 2) Base reset ---- */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: var(--fs-0);
  line-height: var(--lh-loose);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
a:hover{
  color: inherit;
}
button, input, select, textarea { font: inherit; color: inherit; }
:focus { outline: none; }
:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--c-attention) 35%, transparent);
  outline-offset: 2px;
}

/* ---- 3) Typography helpers ---- */
.h1, h1 { font-size: var(--h1); line-height: var(--lh-tight); margin: 0 0 var(--s-4); text-transform: uppercase; font-weight: 800 !important; }
.h2, h2 { font-size: var(--h2); line-height: var(--lh-tight); margin: 0 0 var(--s-3); text-transform: uppercase; font-weight: 800 !important; }
.h3, h3 { font-size: var(--h3); line-height: var(--lh);       margin: 0 0 var(--s-3); text-transform: uppercase; font-weight: 800 !important; }
.h4, h4 { font-size: var(--h4); line-height: var(--lh);       margin: 0 0 var(--s-2); text-transform: uppercase; font-weight: 700 !important; }

.p, p { margin: 0 0 var(--s-4); color: var(--c-text); }
.muted { color: var(--c-text-3); }
.small { font-size: 13px; line-height: var(--lh); }
.kbd {
  font-size: 12px;
  padding: 2px 6px;
  border: var(--b) solid var(--c-border);
  border-radius: 6px;
  background: var(--c-muted);
}

/* ---- 4) Layout primitives ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.stack { display: flex; flex-direction: column; gap: var(--gap); }
.row { display: flex; gap: var(--gap); align-items: center; }
.row.wrap { flex-wrap: wrap; }

.grid {
  display: grid;
  gap: var(--gap);
}
.grid.cols-2 { grid-template-columns: 1fr; }
.grid.cols-3 { grid-template-columns: 1fr; }
.grid.cols-4 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
  .grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.divider { height: 1px; background: var(--c-border); width: 100%; }

/* ---- 5) Surface: Card ---- */
.card {
  background: var(--c-surface);
  border: var(--b) solid var(--c-border);
  border-radius: var(--r);
  box-shadow: none;
}
.card.pad { padding: var(--s-6); }
.card.shadow { box-shadow: var(--sh-1); border-color: transparent; }
.card.header {
  padding: var(--s-5) var(--s-6);
  border-bottom: var(--b) solid var(--c-border);
}
.card.body { padding: var(--s-6); }
.card.footer {
  padding: var(--s-5) var(--s-6);
  border-top: var(--b) solid var(--c-border);
  background: color-mix(in srgb, var(--c-muted) 55%, transparent);
  border-bottom-left-radius: var(--r);
  border-bottom-right-radius: var(--r);
}

/* ---- 6) Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r);
  border: var(--b) solid transparent;
  padding: 10px 14px;
  min-height: 40px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: transform .06s ease, background-color .15s ease, border-color .15s ease, opacity .15s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.btn--primary {
  background: var(--c-primary);
  color: var(--c-on-primary);
}
.btn--primary:hover { background: color-mix(in srgb, var(--c-primary) 88%, #000); }

.btn--secondary {
  background: var(--c-secondary);
  color: var(--c-on-primary);
}
.btn--secondary:hover { background: color-mix(in srgb, var(--c-secondary) 88%, #000); }

.btn--outline {
  background: transparent;
  border-color: var(--c-border-2);
  color: var(--c-text);
}
.btn--outline:hover { background: color-mix(in srgb, var(--c-muted) 70%, transparent); }

.btn--ghost {
  background: transparent;
  color: var(--c-text);
}
.btn--ghost:hover { background: color-mix(in srgb, var(--c-muted) 70%, transparent); }

.btn--danger {
  background: var(--c-error);
  color: #fff;
}
.btn--danger:hover { background: color-mix(in srgb, var(--c-error) 85%, #000); }

.btn--sm { padding: 8px 12px; min-height: 36px; font-size: 14px; }
.btn--lg { padding: 12px 16px; min-height: 44px; font-size: 16px; }

.btn--block { width: 100%; }

/* ---- 7) Inputs / forms ---- */
.field { display: grid; gap: 6px; }
.label { font-weight: 700; font-size: 13px; color: var(--c-text-2); }

.control,
.select,
.textarea {
  width: 100%;
  border-radius: var(--r);
  border: var(--b) solid var(--c-border-2);
  background: #fff;
  padding: 10px 12px;
  min-height: 40px;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.textarea { min-height: 96px; resize: vertical; padding-top: 10px; }

.control::placeholder,
.textarea::placeholder { color: var(--c-text-3); }

.control:focus,
.select:focus,
.textarea:focus {
  border-color: color-mix(in srgb, var(--c-attention) 55%, var(--c-border-2));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-attention) 18%, transparent);
}

.help { font-size: 12px; color: var(--c-text-3); }
.error { font-size: 12px; color: var(--c-error); }

.field.is-error .control,
.field.is-error .select,
.field.is-error .textarea {
  border-color: color-mix(in srgb, var(--c-error) 60%, var(--c-border-2));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-error) 18%, transparent);
}

/* checkbox / radio */
.check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.check input { width: 18px; height: 18px; accent-color: var(--c-primary); }

/* ---- 8) Badges / Chips ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  border: var(--b) solid transparent;
}

.badge--primary { background: color-mix(in srgb, var(--c-primary) 40%, #fff); color: var(--c-on-primary); }
.badge--success { background: color-mix(in srgb, var(--c-success) 18%, #fff); color: #0c3a1f; border-color: color-mix(in srgb, var(--c-success) 25%, var(--c-border)); }
.badge--error   { background: color-mix(in srgb, var(--c-error) 18%, #fff);   color: #5a0f0f; border-color: color-mix(in srgb, var(--c-error) 25%, var(--c-border)); }
.badge--warn    { background: color-mix(in srgb, var(--c-warning) 18%, #fff); color: #5a3a00; border-color: color-mix(in srgb, var(--c-warning) 25%, var(--c-border)); }
.badge--info    { background: color-mix(in srgb, var(--c-attention) 16%, #fff); color: #0b2b5d; border-color: color-mix(in srgb, var(--c-attention) 25%, var(--c-border)); }

/* ---- 9) Alerts ---- */
.alert {
  border-radius: var(--r);
  border: var(--b) solid var(--c-border);
  padding: var(--s-4) var(--s-5);
  background: var(--c-muted);
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
}
.alert__title { font-weight: 900; margin: 0; }
.alert__text { margin: 2px 0 0; color: var(--c-text-2); }

.alert--success { background: color-mix(in srgb, var(--c-success) 12%, #fff); border-color: color-mix(in srgb, var(--c-success) 25%, var(--c-border)); }
.alert--error   { background: color-mix(in srgb, var(--c-error) 12%, #fff);   border-color: color-mix(in srgb, var(--c-error) 25%, var(--c-border)); }
.alert--warn    { background: color-mix(in srgb, var(--c-warning) 12%, #fff); border-color: color-mix(in srgb, var(--c-warning) 25%, var(--c-border)); }
.alert--info    { background: color-mix(in srgb, var(--c-attention) 10%, #fff); border-color: color-mix(in srgb, var(--c-attention) 25%, var(--c-border)); }

/* ---- 10) Table ---- */
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: var(--b) solid var(--c-border);
  border-radius: var(--r);
  overflow: hidden;
  background: #fff;
}
.table th, .table td {
  padding: 12px 14px;
  border-bottom: var(--b) solid var(--c-border);
  vertical-align: top;
  text-align: left;
}
.table th {
  background: color-mix(in srgb, var(--c-muted) 80%, #fff);
  font-weight: 900;
  color: var(--c-text-2);
  white-space: nowrap;
}
.table tr:last-child td { border-bottom: 0; }

.table--striped tbody tr:nth-child(2n) td {
  background: color-mix(in srgb, var(--c-muted) 55%, #fff);
}

.table-wrap {
  width: 100%;
  overflow: auto;
  border-radius: var(--r);
}

/* ---- 11) Tabs ---- */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: var(--b) solid var(--c-border);
}
.tab {
  padding: 10px 12px;
  border-radius: var(--r) var(--r) 0 0;
  font-weight: 800;
  color: var(--c-text-2);
  cursor: pointer;
  border: var(--b) solid transparent;
  border-bottom: 0;
}
.tab:hover { background: color-mix(in srgb, var(--c-muted) 70%, transparent); }
.tab.is-active {
  background: #fff;
  color: var(--c-text);
  border-color: var(--c-border);
}

/* ---- 12) Pagination ---- */
.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.page {
  min-width: 40px;
  height: 40px;
  border-radius: var(--r);
  border: var(--b) solid var(--c-border-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: #fff;
  cursor: pointer;
}
.page:hover { background: color-mix(in srgb, var(--c-muted) 70%, #fff); }
.page.is-active {
  background: var(--c-primary);
  border-color: transparent;
  color: var(--c-on-primary);
}

/* ---- 13) Modal (CSS only; показывать через .is-open) ---- */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--container-pad);
  background: rgba(0,0,0,.45);
  z-index: 9999;
}
.modal.is-open { display: flex; }

.modal__panel {
  width: min(720px, 100%);
  background: #fff;
  border-radius: var(--r);
  border: var(--b) solid var(--c-border);
  box-shadow: var(--sh-2);
  overflow: hidden;
}
.modal__head {
  padding: var(--s-5) var(--s-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--b) solid var(--c-border);
}
.modal__body { padding: var(--s-6); }
.modal__foot {
  padding: var(--s-5) var(--s-6);
  border-top: var(--b) solid var(--c-border);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  background: color-mix(in srgb, var(--c-muted) 55%, transparent);
}

/* ---- 14) Simple utilities ---- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: var(--s-4) !important; }
.mb-4 { margin-bottom: var(--s-4) !important; }
.p-4 { padding: var(--s-4) !important; }
.p-6 { padding: var(--s-6) !important; }
.round { border-radius: var(--r) !important; }
.shadow { box-shadow: var(--sh-1) !important; }
.hide-mob { display: none !important; }
@media (min-width: 768px) { .hide-mob { display: initial !important; } }





/* ---- ТОКЕНЫ ПО БРЕЙКПОИНТАМ (ступенчатые) ---- */
:root {
  /* МОБИЛЬНЫЙ до 576px */
  --fs-16: 12px; --fs-14: 11px; --fs-12: 10px;
  --space-240: 60px; --space-120: 48px; --space-100: 28px;
  --space-80:  24px; --space-64:  20px; --space-48:  16px;
  --space-24:  12px; --space-16:  10px; --space-8:   6px;  --space-4:  3px;
}

/* 576px+ */
@media (min-width: 576px) {
  :root {
    --fs-16: 14px; --fs-14: 12px; --fs-12: 10px;
    --space-240: 80px;  --space-120: 68px; --space-100: 32px;
    --space-80:  28px;  --space-64:  24px;  --space-48:  20px;
    --space-24:  14px;  --space-16:  12px;  --space-8:   8px;
  }
}

/* 768px+ */
@media (min-width: 768px) {
  :root {
    --fs-16: 14px; --fs-14: 12px; --fs-12: 10px;
    --space-240: 120px; --space-120: 68px; --space-100: 40px;
    --space-80:  32px;  --space-64:  28px;  --space-48:  24px;
    --space-24:  16px;  --space-16:  14px;  --space-8:   8px;
  }
}

/* 1024px+ */
@media (min-width: 1024px) {
  :root {
    --fs-16: 14px; --fs-14: 12px; --fs-12: 10px;
    --space-240: 160px; --space-120: 80px; --space-100: 48px;
    --space-80:  40px;  --space-64:  32px;  --space-48:  32px;
    --space-24:  18px;  --space-16:  16px;
  }
}

/* 1280px+ */
@media (min-width: 1280px) {
  :root {
    --fs-16: 15px; --fs-14: 13px; --fs-12: 10px;
    --space-240: 200px; --space-120: 100px; --space-100: 56px;
    --space-80:  48px;  --space-64:  60px;  --space-48:  48px;
    --space-24:  20px;  --space-16:  16px;
  }
}

/* 1920px+ */
@media (min-width: 1920px) {
  :root {
    --fs-16: 16px; --fs-14: 14px; --fs-12: 12px;
    --space-240: 240px; --space-120: 120px; --space-100: 80px;
    --space-80:  64px;  --space-64:  64px;  --space-48:  48px;
    --space-24:  24px;  --space-16:  16px;
  }
}

















.b-btn{
  height: 46px;
  width: 100%;
  display: flex !important;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-size: 14px;
  line-height: 22px;
  text-transform: uppercase;
   flex-shrink: 0;
   cursor: pointer;
}

.dark-btn{
  height: 54px;
  width: 100%;
  display: flex !important;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  line-height: 22px;
  text-transform: uppercase;
   flex-shrink: 0;
   cursor: pointer;
   background-color: #151515;
   color: #C9F76E;
}






a.b-btn.h-58 {
    height: 58px;
    width: 100%;
    text-align: center;
    line-height: 58px;
}

.b-btn.h-54 {
    height: 54px;
}

.dark-btn.h-62 {
    height: 62px;
}

.b-btn.h-74{
  height: 74px;
}


.b-btn-246{
  max-width: 246px;
}














.visible-xs,
.visible-sm,
.visible-md,
.visible-lg,
.visible-xl {
  display: none !important;
}

.hidden-xs,
.hidden-sm,
.hidden-md,
.hidden-lg,
.hidden-xl {
  display: block !important;
}

@media (max-width: 576px) {
  .visible-xs { display: block !important; }
  .hidden-xs  { display: none !important; }
}

@media (max-width: 768px) {
  .visible-sm { display: block !important; }
  .hidden-sm  { display: none !important; }
}

@media (max-width: 1024px) {
  .visible-md { display: block !important; }
  .hidden-md  { display: none !important; }
}

@media (max-width: 1280px) {
  .visible-lg { display: block !important; }
  .hidden-lg  { display: none !important; }
}

@media (min-width: 1281px) {
  .visible-xl { display: block !important; }
  .hidden-xl  { display: none !important; }
}








.fs-12 { font-size: var(--fs-12); line-height: 1.5; }
.fs-14 { font-size: var(--fs-14); line-height: 1.42; }
.fs-16 { font-size: var(--fs-16); line-height: 1.375; }
.fs-18 { font-size: 18px; line-height: 1.35; }
.fs-20 { font-size: 20px; line-height: 1.3; }
.fs-24 { font-size: 24px; line-height: 1.25; }
.fs-32 { font-size: 32px; line-height: 1.2; }





.fs-26{
  font-size: 26px;
  line-height: 36px;
}
.fs-28{
  font-size: 28px;
}

.fs-96{
  font-size: 96px;
  line-height: 120px;
}

.fw-600{
  font-weight: 600;
}

.fw-700{
  font-weight: 700;
}






@media (max-width: 1280px) {
.fs-18 { font-size: 16px; line-height: 1.35; }
.fs-20 { font-size: 18px; line-height: 1.3; }
.fs-24 { font-size: 20px; line-height: 1.25; }
.fs-32 { font-size: 26px; line-height: 1.2; }

.fs-26 {
    font-size: 26px;
    line-height: 32px;
}

}

@media (max-width: 1024px) {
.fs-18 { font-size: 16px; line-height: 1.35; }
.fs-20 { font-size: 18px; line-height: 1.3; }
.fs-24 { font-size: 20px; line-height: 1.25; }
.fs-32 { font-size: 26px; line-height: 1.2; }
}

@media (max-width: 768px) {
.fs-18 { font-size: 14px; line-height: 1.35; }
.fs-20 { font-size: 18px; line-height: 1.3; }
.fs-24 { font-size: 20px; line-height: 1.25; }
.fs-32 { font-size: 26px; line-height: 1.2; }

.fs-26 {
        font-size: 22px;
        line-height: 28px;
    }


}

@media (max-width: 576px) {
.fs-18 { font-size: 12px; line-height: 1.35; }
.fs-20 { font-size: 18px; line-height: 1.3; }
.fs-24 { font-size: 20px; line-height: 1.25; }
.fs-32 { font-size: 26px; line-height: 1.2; }


.fs-26 {
        font-size: 14px;
        line-height: 20px;
    }

}









/* ---- MARGIN TOP ---- */
.mt-240 { margin-top: var(--space-240); }
.mt-120 { margin-top: var(--space-120); }
.mt-100 { margin-top: var(--space-100); }
.mt-80  { margin-top: var(--space-80); }
.mt-64  { margin-top: var(--space-64); }
.mt-48  { margin-top: var(--space-48); }
.mt-24  { margin-top: var(--space-24); }
.mt-16  { margin-top: var(--space-16); }
.mt-8   { margin-top: var(--space-8); }
.mt-4   { margin-top: var(--space-4); }


.mt-auto{
  margin-top: auto;
}
.ml-auto{
  margin-left: auto;
}

.m-auto{
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}


/* ---- MARGIN BOTTOM ---- */
.mb-240 { margin-bottom: var(--space-240); }
.mb-120 { margin-bottom: var(--space-120); }
.mb-100 { margin-bottom: var(--space-100); }
.mb-80  { margin-bottom: var(--space-80); }
.mb-64  { margin-bottom: var(--space-64); }
.mb-48  { margin-bottom: var(--space-48); }
.mb-24  { margin-bottom: var(--space-24); }
.mb-16  { margin-bottom: var(--space-16); }
.mb-8   { margin-bottom: var(--space-8); }
.mb-4   { margin-bottom: var(--space-4); }

.mb-20{
  margin-bottom: 20px;
}
.mb-12{
  margin-bottom: 12px;
}


.pt-120{
  padding-top: 120px;
}

.pb-120{
  padding-bottom: 120px;
}


.p-16{
  padding: var(--space-16);;
}


.h-58{
  height: 58px;
}

.w-200{
  max-width: 200px;
  width: 100%;
}

















.arrow-up {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 12px solid #000;
}

.arrow-down {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid #000;
}

.arrow-left {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 12px solid #000;
}

.arrow-right {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #000;
}




.grey-text{
  color: #868686;
}

.grey-text p{
  color: #868686;
}

.flex-right{
  display: flex;
  justify-content: flex-end;
}

.text-grey{
  font-weight: 500;
  font-size: 16px;
  color: #858585;
}

.text-green{
  color: #C9F76E;
  text-transform: uppercase;
}

.text-white{
  color: #fff;
}

.green-bg{
  background-color: #C9F76E;

}

.blue-bg{
  background-color: var(--c-extra-3);
}

.violet-bg{
  background-color: var(--c-extra-2);
}




.bg-yellow {
  background-color: var(--c-secondary);
}

.bg-on-primary {
  background-color: var(--c-on-primary);
}

.bg-dark{
  background: var(--c-on-primary);
}

.bg-surface {
  background-color: #F2F2F2;
}

span.bg-surface,
span.bg-yellow,
span.bg-dark{
  display: flex;
  height: 24px;
  padding: 0px 4px;
  align-items: center;
}





.m-nav_link{
font-weight: 600;
font-size: 12px;
line-height: 16px;
text-transform: uppercase;
}

.s__nav{
  display: flex;
}

.s-nav__link{
  height: 28px;
  padding: 0px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid transparent;
}

.s-link{
  font-weight: 800;
  font-size: 14px;
  line-height: 22px;
  text-transform: uppercase;
  text-decoration: underline;
  color: #999999;
  display: block;
}

.s-link.fw-600{
  font-weight: 600;
}


.space-between-block{
  display: flex;
  justify-content: space-between;
}

.space-around-block{
	display: flex;
	justify-content: space-around;
}


.nav__btn{
    height: 40px;
    border: 1px solid #151515;
    background-color: #fff;
    color: #151515;
    white-space: nowrap;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    gap: 10px;
    cursor: pointer;
}

#modalClose{
    position: absolute;
    top: 36px;
    right: 40px;
    background: none;
    border: none;
    cursor: pointer;
}


.js-modal-close{
    position: absolute;
    top: 32px;
    right: 32px;
    background: none;
    border: none;
    cursor: pointer;
}

.js-open-modal{
  cursor: pointer;
}



.js-modal-close span {
  position: relative;
  width: 18px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.js-modal-close span::before,
.js-modal-close span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: #fff;
  transform-origin: center;
}

.js-modal-close span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.js-modal-close span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}


.modal__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    max-width: 294px;
    width: 100%;
    background-color: #080808;
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    text-transform: uppercase;
    color: #C9F76E;
    cursor: pointer;
}



.home-title{
  display: flex;
  align-items: center;
  font-size: 96px;
  line-height: 120px;
  font-weight: 1000;
  text-transform: uppercase;
}

.sub-title {
    font-weight: 900;
    font-size: 56px;
    line-height: 68px;
    letter-spacing: 0;
    text-transform: uppercase;
}










.gap-66{
  gap: 66px;
}

.gap-48{
  gap: 48px;
}

.gap-24{
  gap: 24px;
}

.gap-16{
  gap: 16px;
}

.gap-12{
  gap: 12px;
}

.gap-8{
  gap: 8px;
}


.p-24{
  padding: 0px 24px;
}



.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}







.h1, h1 { font-size: 34px; line-height: 46px; }
.h2, h2 {  }
.h3, h3 {  }
.h4, h4 {  }



/* Адаптив */
/* Media Queries */
@media (max-width: 1280px) {

.pt-120{
  padding-top: 100px;
}

.pb-120{
  padding-bottom: 100px;
}

.b-btn-246 {
    max-width: 208px;
}

.gap-66{
  gap: 48px;
}

.gap-24{
  gap: 16px;
}

.gap-12{
  gap: 8px;
}



.h1, h1 { font-size: 26px; line-height: 32px; }
.h2, h2 {  }
.h3, h3 { font-size: 22px; line-height: 28px; }
.h4, h4 { font-size: 18px; line-height: 24px; }


.m-nav_link {
    font-size: 10px;
    line-height: 14px;
}

.s-nav__link {
    height: 26px;
}

.b-btn {
    height: 42px;
    font-size: 12px;
    line-height: 18px;
}

.b-btn.h-58 {
    height: 58px;
}

.gallery__images {
    gap: 8px;
}

.gallery__content__inner {
    padding-left: 48px;
}

.nav__btn{
  line-height: 100%;
}


.home-title {
    font-size: 54px;
    line-height: 64px;
}


.h-58 {
    height: 58px;
}



.modal__btn {
    height: 46px;
    max-width: 272px;
    font-size: 12px;
    line-height: 18px;
}

.js-modal-close{
    top: 22px;
    right: 22px;
}



.sub-title {
    font-size: 44px;
    line-height: 56px;
}




  
}

@media (max-width: 1024px) {

      .b-btn-246 {
        max-width: 166px;
    }


    .pt-120{
  padding-top: 80px;
}

.pb-120{
  padding-bottom: 80px;
}


.mb-12{
  margin-bottom: 8px;
}

.s-link {
    font-size: 12px;
    line-height: 18px;
}









  
}

@media (max-width: 768px) {
  .gap-24{
    gap: 16px;
   }


  .h1, h1 { font-size: 22px; line-height: 26px; }
  .h2, h2 {  }
  .h3, h3 { font-size: 20px; line-height: 24px; }
  .h4, h4 {  }



    .pt-120{
  padding-top: 70px;
}

.pb-120{
  padding-bottom: 70px;
}

.s-nav__link {
    height: 24px;
    padding: 0px 12px;

}

.nav__btn {
    height: 32px;
    padding: 4px 8px;
    gap: 10px;
}

.category__list .nav__btn {
    height: 40px;
}


}

@media (max-width: 576px) {

    .gap-24{
    gap: 8px;
   }


  .h1, h1 { font-size: 20px; line-height: 24px; }
  .h2, h2 {  }
  .h3, h3 { font-size: 18px; line-height: 22px;  }
  .h4, h4 { font-size: 16px; line-height: 22px;  }

  .pt-120{
  padding-top: 48px;
}

.pb-120{
  padding-bottom: 48px;
}

    .home-title {
        font-size: 32px;
        line-height: 42px;
    }

    .b-btn.h-58 {
        height: 54px;
    }

    
    .b-btn{
      font-size: 16px;
      height: 48px;
    }


    .dark-btn.h-62 {
    height: 58px;
}

.sub-title {
        font-size: 30px;
        line-height: 40px;
    }




  
}