/* ============================================
   1. IMPORT & VARIABLES
   ============================================ */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

:root {
  /* Colors */
  --black: #231F20;
  --accent: #FFCB03;
  --white: #fff;
  --gray-100: #f8f9fa;
  --gray-200: #eee;
  --gray-300: #ddd;
  --gray-400: #ccc;
  --gray-500: #999;
  --gray-600: #6c757d;
  --gray-800: #333031;
  --blue: #0d6efd;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #d63384;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #198754;
  --teal: #20c997;
  --cyan: #0dcaf0;
  
  /* Typography */
  --font: "Rubik", serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --line-height-base: 1.3;
  --line-height-sm: 1.2;
  
  /* Spacing */
  --spacer-0: 0;
  --spacer-1: 0.25rem;
  --spacer-2: 0.5rem;
  --spacer-3: 1rem;
  --spacer-4: 1.5rem;
  --spacer-5: 3rem;
  
  /* Transitions */
  --transition: all 0.3s ease;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 1rem;
}

/* ============================================
   2. RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  outline: none;
}

html {
  font-size: calc(100vw / 105);
  max-width: 100%;
  scroll-behavior: auto;
  margin: 0 auto;
}

@media (min-width: 1300px) {
  html {
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  html {
    font-size: 2.5vw;
  }
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: var(--font-weight-normal);
  font-optical-sizing: auto;
  font-style: normal;
  line-height: var(--line-height-base);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #F3F3F3;
}

main {
  position: relative;
  flex: 1;
}

a {
  transition: var(--transition);
  text-decoration: none;
}

button {
  border: none;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-sm);
}

h1, .h1 { font-size: 2.5rem; }
h2, .h2 { font-size: 2rem; }
h3, .h3 { font-size: 1.75rem; }
h4, .h4 { font-size: 1.5rem; }
h5, .h5 { font-size: 1.25rem; }
h6, .h6 { font-size: 1rem; }

@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.75rem; }
  h3, .h3 { font-size: 1.5rem; }
  h4, .h4 { font-size: 1.25rem; }
}

p.lead {
  font-size: 1.375rem;
  font-weight: 300;
  line-height: 1.5rem;
  
}

.text-lg { font-size: 1.5rem !important; }
.text-xl { font-size: 2rem !important; }
.text-2xl { font-size: 3rem !important; }

/* ============================================
   4. LAYOUT & GRID
   ============================================ */
.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  width: 100%;
  padding-right: var(--bs-gutter-x, 2.5rem);
  padding-left: var(--bs-gutter-x, 2.5rem);
}

@media (min-width: 1300px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1280px;
  }
}

@media (max-width: 575px) {
  .container,
  .container-fluid,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    padding-right: var(--bs-gutter-x, 1.5rem);
    padding-left: var(--bs-gutter-x, 1.5rem);
  }
}

/* Custom Grid System */
.grid { display: grid; }

/* Grid Columns */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* Gaps */
.gap-0 { gap: 0; }
.gap-5 { gap: 5px; }
.gap-10 { gap: 10px; }
.gap-15 { gap: 15px; }
.gap-20 { gap: 20px; }
.gap-25 { gap: 25px; }
.gap-30 { gap: 30px; }
.gap-40 { gap: 40px; }
.gap-50 { gap: 50px; }

.gap-row-10 { row-gap: 10px; }
.gap-row-15 { row-gap: 15px; }
.gap-row-20 { row-gap: 20px; }
.gap-row-30 { row-gap: 30px; }

.gap-col-10 { column-gap: 10px; }
.gap-col-15 { column-gap: 15px; }
.gap-col-20 { column-gap: 20px; }
.gap-col-30 { column-gap: 30px; }

/* Column & Row Span */
.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-5 { grid-column: span 5 / span 5; }
.col-span-6 { grid-column: span 6 / span 6; }
.col-span-full { grid-column: 1 / -1; }

.row-span-1 { grid-row: span 1 / span 1; }
.row-span-2 { grid-row: span 2 / span 2; }
.row-span-3 { grid-row: span 3 / span 3; }
.row-span-full { grid-row: 1 / -1; }

.col-start-1 { grid-column-start: 1; }
.col-start-2 { grid-column-start: 2; }
.col-start-auto { grid-column-start: auto; }

/* ============================================
   5. DISPLAY UTILITIES
   ============================================ */
.d-none { display: none !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-grid { display: grid !important; }
.d-table { display: table !important; }
.d-table-row { display: table-row !important; }
.d-table-cell { display: table-cell !important; }

/* ============================================
   6. SPACING UTILITIES
   ============================================ */
/* Margin */
.m-0 { margin: var(--spacer-0); }
.m-1 { margin: var(--spacer-1); }
.m-2 { margin: var(--spacer-2); }
.m-3 { margin: var(--spacer-3); }
.m-4 { margin: var(--spacer-4); }
.m-5 { margin: var(--spacer-5); }

.mt-0 { margin-top: var(--spacer-0); }
.mt-1 { margin-top: var(--spacer-1); }
.mt-2 { margin-top: var(--spacer-2); }
.mt-3 { margin-top: var(--spacer-3); }
.mt-4 { margin-top: var(--spacer-4); }
.mt-5 { margin-top: var(--spacer-5); }

.mb-0 { margin-bottom: var(--spacer-0); }
.mb-1 { margin-bottom: var(--spacer-1); }
.mb-2 { margin-bottom: var(--spacer-2); }
.mb-3 { margin-bottom: var(--spacer-3); }
.mb-4 { margin-bottom: var(--spacer-4); }
.mb-5 { margin-bottom: var(--spacer-5); }

.ms-0 { margin-inline-start: var(--spacer-0); }
.ms-1 { margin-inline-start: var(--spacer-1); }
.ms-2 { margin-inline-start: var(--spacer-2); }
.ms-3 { margin-inline-start: var(--spacer-3); }
.ms-auto { margin-inline-start: auto; }

.me-0 { margin-inline-end: var(--spacer-0); }
.me-1 { margin-inline-end: var(--spacer-1); }
.me-2 { margin-inline-end: var(--spacer-2); }
.me-3 { margin-inline-end: var(--spacer-3); }
.me-auto { margin-inline-end: auto; }

.mx-0 { margin-inline: var(--spacer-0); }
.mx-1 { margin-inline: var(--spacer-1); }
.mx-2 { margin-inline: var(--spacer-2); }
.mx-3 { margin-inline: var(--spacer-3); }
.mx-auto { margin-inline: auto; }

.my-0 { margin-block: var(--spacer-0); }
.my-1 { margin-block: var(--spacer-1); }
.my-2 { margin-block: var(--spacer-2); }
.my-3 { margin-block: var(--spacer-3); }
.my-auto { margin-block: auto; }

/* Padding */
.p-0 { padding: var(--spacer-0); }
.p-1 { padding: var(--spacer-1); }
.p-2 { padding: var(--spacer-2); }
.p-3 { padding: var(--spacer-3); }
.p-4 { padding: var(--spacer-4); }
.p-5 { padding: var(--spacer-5); }

.pt-0 { padding-top: var(--spacer-0); }
.pt-1 { padding-top: var(--spacer-1); }
.pt-2 { padding-top: var(--spacer-2); }
.pt-3 { padding-top: var(--spacer-3); }
.pt-4 { padding-top: var(--spacer-4); }
.pt-5 { padding-top: var(--spacer-5); }

.pb-0 { padding-bottom: var(--spacer-0); }
.pb-1 { padding-bottom: var(--spacer-1); }
.pb-2 { padding-bottom: var(--spacer-2); }
.pb-3 { padding-bottom: var(--spacer-3); }
.pb-4 { padding-bottom: var(--spacer-4); }
.pb-5 { padding-bottom: var(--spacer-5); }

.px-0 { padding-inline: var(--spacer-0); }
.px-1 { padding-inline: var(--spacer-1); }
.px-2 { padding-inline: var(--spacer-2); }
.px-3 { padding-inline: var(--spacer-3); }
.px-4 { padding-inline: var(--spacer-4); }
.px-5 { padding-inline: var(--spacer-5); }

.py-0 { padding-block: var(--spacer-0); }
.py-1 { padding-block: var(--spacer-1); }
.py-2 { padding-block: var(--spacer-2); }
.py-3 { padding-block: var(--spacer-3); }
.py-4 { padding-block: var(--spacer-4); }
.py-5 { padding-block: var(--spacer-5); }

/* ============================================
   7. COMPONENTS - BUTTONS
   ============================================ */
/* Bootstrap-compatible buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  font-style: italic;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  vertical-align: middle;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  transition: color 0.15s, background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
  cursor: pointer;
  user-select: none;
}

/* Custom theme button overrides Bootstrap */
.btn-primary,
.btn-secondary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info,
.btn-light,
.btn-dark,
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-warning,
.btn-outline-info,
.btn-outline-light,
.btn-outline-dark {
  /* Bootstrap compatibility preserved */
}

.btn-accent {
    color: var(--black);
     background-color: var(--accent);
}

.btn-primary {
  color: var(--white);
  background-color: var(--blue);
  border-color: var(--blue);
}

.btn-secondary {
  color: var(--white);
  background-color: var(--gray-600);
  border-color: var(--gray-600);
}

.btn-success {
  color: var(--white);
  background-color: var(--green);
  border-color: var(--green);
}

.btn-danger {
  color: var(--white);
  background-color: var(--red);
  border-color: var(--red);
}

.btn-warning {
  color: #212529;
  background-color: var(--yellow);
  border-color: var(--yellow);
}

.btn-info {
  color: var(--white);
  background-color: var(--cyan);
  border-color: var(--cyan);
}

.btn-light {
  color: #212529;
  background-color: var(--gray-100);
  border-color: var(--gray-100);
}

.btn-dark {
  color: var(--white);
  background-color: #212529;
  border-color: #212529;
}

/* Outline variants */
.btn-outline-primary {
  color: var(--blue);
  background-color: transparent;
  border-color: var(--blue);
}

.btn-outline-secondary {
  color: var(--gray-600);
  background-color: transparent;
  border-color: var(--gray-600);
}

.btn-outline-success {
  color: var(--green);
  background-color: transparent;
  border-color: var(--green);
}

.btn-outline-danger {
  color: var(--red);
  background-color: transparent;
  border-color: var(--red);
}

.btn-outline-warning {
  color: var(--yellow);
  background-color: transparent;
  border-color: var(--yellow);
}

.btn-outline-info {
  color: var(--cyan);
  background-color: transparent;
  border-color: var(--cyan);
}

.btn-outline-light {
  color: var(--gray-100);
  background-color: transparent;
  border-color: var(--gray-100);
}

.btn-outline-dark {
  color: #212529;
  background-color: transparent;
  border-color: #212529;
}

/* Custom project button styles (specificity preserved) */
.btn:hover {
  background: var(--black);
  color: var(--accent);
  border-color: var(--black);
}

.btn-lg {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  display: block;
  width: 100%;
}

.btn:disabled,
.btn.disabled {
  opacity: 0.65;
  pointer-events: none;
}

.btn.active,
.btn:active {
  background-color: #0b5ed7;
  border-color: #0a58ca;
  color: var(--white);
}

.btn-link {
  font-weight: var(--font-weight-normal);
  color: var(--blue);
  text-decoration: underline;
  background-color: transparent;
  border: none;
}

/* ============================================
   8. UTILITIES
   ============================================ */
.bg-white { background: var(--white); }
.img-fluid { max-width: 100%; height: auto; display: block; }
.rounded { border-radius: var(--radius-md) !important; }
.rounded-0 { border-radius: 0 !important; }
.rounded-1 { border-radius: 0.2rem !important; }
.rounded-2 { border-radius: var(--radius-md) !important; }
.rounded-3 { border-radius: 0.3rem !important; }
.rounded-4 { border-radius: 0.375rem !important; }
.rounded-5 { border-radius: var(--radius-lg) !important; }
.rounded-6 { border-radius: 0.75rem !important; }
.rounded-7 { border-radius: 1rem !important; }
.rounded-8 { border-radius: 1.25rem !important; }
.rounded-9 { border-radius: 1.5rem !important; }

.overflow { overflow: hidden !important; }

/* Title component */
.title {
  margin-bottom: 3.75rem;
  font-size: 2.625rem;
  font-weight: var(--font-weight-bold);
  font-style: italic;
  line-height: 3.110625rem;
  text-align: center;
  text-transform: uppercase;
}

/* Line decoration */
.with-line div {
  position: relative;
  display: inline-block;
}

.with-line div span {
  position: relative;
  z-index: 2;
}

.with-line div::after {
  content: "";
  position: absolute;
  bottom: 0.6rem;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 0.625rem;
  background: var(--accent);
}

.with-line--gray div::after {
  background: var(--gray-300);
}

/* ============================================
   9. FORMS
   ============================================ */
input[type="text"],
input[type="tel"],
input[type="password"],
input[type="email"],
select,
textarea {
  width: 100%;
  height: 2.75rem;
  padding: 0.3125rem 1rem;
  font-size: 0.875rem;
  background: var(--white);
  border: 1px solid #D5D5D5;
  border-radius: var(--radius-md);
}

textarea {
  height: auto;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

input:focus,
textarea:focus {
  border-color: var(--black);
}

.form-checkbox {
  cursor: pointer;
  font-size: 0.8rem;
}

.checkbox {
  display: inline-flex;
  margin-right: 1.25rem;
}

.checkbox input {
  display: none;
}

.checkbox span {
  position: relative;
  display: block;
  width: 1.4375rem;
  height: 1.4375rem;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #D9D9D9;
  border-radius: var(--radius-md);
}

.checkbox span::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../img/check.svg) no-repeat center;
  background-size: 70%;
  opacity: 0;
  filter: invert(1);
  transition: all 0.3s ease;
}

.checkbox input:checked + span {
  background-color: var(--accent);
  border-color: var(--accent);
}

.checkbox input:checked + span::after {
  opacity: 1;
}

.error {
  margin-top: 0.4rem;
  font-size: 0.7rem;
  color: brown;
}

.has-error,
.is-invalid {
  color: brown !important;
  border-color: brown !important;
}

/* ============================================
   10. HEADER
   ============================================ */
.header {
  position: relative;
  z-index: 50;
  padding: 0;
}

.header .top-bar {
  background-color: var(--white);
}

.header .row {
  align-items: center;
}

.header-logo {
  display: flex;
  align-items: center;
  line-height: 140%;
  color: var(--black);
  text-decoration: none;
}

.header-logo:hover {
  color: var(--black);
}

.header-logo img {
  width: 23.125rem;
  max-width: 100%;
}

.header-logo span {
  margin-left: 1.4375rem;
  font-size: 1.125rem;
  font-weight: 300;
  font-style: italic;
}

.header-contacts a {
  position: relative;
  display: block;
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  font-style: italic;
  color: var(--black);
  text-decoration: none;
}

.header-contacts a:first-child::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: -2rem;
  width: 1.5rem;
  height: 1.5rem;
  background: url(../img/phone.svg) no-repeat;
  background-size: 100%;
}

.header-adress {
  font-size: 1.125rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.3125rem;
}

.header-btn a {
  width: 14.5rem;
  height: 2.75rem;
}

/* ============================================
   11. NAVIGATION
   ============================================ */
.nav {
  position: relative;
  z-index: 50;
  transition: var(--transition);
}

.nav a {color: var(--white);}

.nav.sticky {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background: var(--black);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav.sticky .wrapper {
  border-color: var(--black);
}

.nav .row {
  align-items: center;
  justify-content: space-between;
}

.nav .wrapper {
  padding: 1rem 1.625rem;
  background: var(--black);
  border-bottom: 1px solid var(--white);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.nav-ul ul {
  display: flex;
  gap: 0 2rem;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.nav-ul ul li {
  position: relative;
  display: flex;
}

.nav-ul a {
  display: block;
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  font-style: italic;
  color: var(--white);
  text-transform: uppercase;
}

.nav-ul a:hover {
  color: var(--accent);
}

/* Dropdowns */
.nav ul > li > ul,
.mobile-nav ul > li > ul {
  position: absolute;
  top: calc(100% + 1rem);
  left: 0;
  z-index: 10;
  display: none;
  width: max-content;
  padding: 0;
  list-style: none;
  background-color: var(--black);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.nav ul > li > ul::before {
  content: "";
  position: absolute;
  top: -1rem;
  left: 0;
  width: 100%;
  height: 1rem;
}

.nav li:hover > ul,
.mobile-nav li:hover > ul {
  display: block;
}

.nav ul > li > ul > li a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  color: var(--white);
}

.nav ul > li > ul > li a:hover {
  color: var(--black);
  background-color: var(--accent);
}

.nav li.first.active > a,
.nav li.last.active > a {
  color: var(--white);
  background-color: #0056b3;
}

.nav-tooltip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: var(--font-weight-bold);
  color: var(--white);
}

.nav-tooltip span {
  padding: 0.2rem 0.5rem;
  margin-left: 0.2rem;
  font-size: 1.25rem;
  color: var(--black);
  background: var(--accent);
  border-radius: var(--radius-md);
}

/* ============================================
   12. HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding-top: 2rem;
  padding-bottom: 5rem;
  color: var(--white);
}

.hero-white {
  border-bottom-right-radius: 1rem;
  border-bottom-left-radius: 1rem;
}

.hero .back-bg,
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.hero .wrapper {
  position: relative;
  z-index: 20;
  background-color: #353334;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-blend-mode: overlay;
  border-radius: 1rem;
}

.hero-inner {
  padding-top: 18rem;
}

.hero.hero-inner .wrapper {
  background: none;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: var(--font-weight-bold);
  font-style: italic;
  line-height: 1.2;
  color: var(--white);
  text-transform: uppercase;
}

.hero-title span {
  color: var(--accent);
}

.hero .h4 {
  font-weight: 300;
  color: var(--gray-400);
}

.hero-cards i.bi {
  display: block;
  font-size: 30px;
}

.hero-cards i.bi::before {
  width: 36px;
  height: 36px;
  color: var(--accent);
}

.hero-cards .item {
  padding: 1.25rem;
  background-color: var(--black);
  border-radius: 1rem;
}

.hero-tick-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-tick-list .item {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--gray-400);
}

.hero-tick-list .item:last-child {
  margin-bottom: 0;
}

.hero-tick-list .item::before {
  content: "";
  position: absolute;
  top: 0.25rem;
  left: 0;
  width: 1rem;
  height: 1rem;
  background: url(../img/tick-y.svg) center no-repeat;
  background-size: contain;
}

.hero-block {
  margin-top: 20rem;
}

.hero-block::before {
  content: "";
  display: block;
  width: 31.25rem;
  height: 0.3125rem;
  margin-bottom: 3.125rem;
  background: var(--accent);
  border-radius: var(--radius-md);
}

.hero-block_line {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-block_line:last-child {
  margin-bottom: 0;
}

.hero-block_line a {
  position: relative;
  display: flex;
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  font-style: italic;
  color: var(--white);
  text-decoration: none;
}

.hero-block_line a::after {
  content: "•";
  margin: 0 0.6rem;
}

.hero-block_line a:last-child::after {
  display: none;
}

.hero-block_line:last-child a {
  color: var(--accent);
}

/* Hero Caption */
.hero-caption {
  position: relative;
  bottom: -5rem;
  z-index: 9;
  width: 50%;
  padding: 2.8125rem 4.0625rem;
  background: var(--black);
  border-radius: 0.5rem 0.5rem 0 0;
}

.hero-caption.colored {
  background: #ffcb03;
}

.hero-caption.colored img {
  filter: invert(1);
}

.hero-caption .hero-caption_title {
  color: var(--white);
}

.hero-caption.colored .hero-caption_title {
  color: var(--black);
}

.hero-caption_title {
  margin-bottom: 3rem;
  font-size: 3.125rem;
  font-style: italic;
  font-weight: var(--font-weight-bold);
  line-height: 3.625rem;
  text-transform: uppercase;
}

.hero-caption .row {
  align-items: flex-end;
  justify-content: space-between;
}

.hero-caption_link {
  text-align: right;
}

.hero-caption_link a {
  font-size: 1.5625rem;
  font-style: italic;
  line-height: 1.5625rem;
  color: var(--accent);
  text-decoration: underline;
}

.hero-caption.colored .hero-caption_link a {
  color: var(--black);
}

.hero-caption_link a:hover {
  text-decoration: none;
}

.hero-caption_img img {
  width: 6.875rem;
}

/* ============================================
   13. CATEGORIES
   ============================================ */
.categories {
  position: relative;
}

.categories .item {
  display: flex;
  min-height: 18.75rem;
  margin-bottom: 1.5rem;
}

.categories .item .wrap {
  position: relative;
  display: flex;
  width: 100%;
  padding: 1.625rem;
  text-decoration: none;
  background-color: var(--black);
  background-image: url(../img/motor.svg);
  background-repeat: no-repeat;
  background-position: bottom 1.625rem right 1.625rem;
  background-size: 6.875rem 6.25rem;
  border-radius: var(--radius-lg);
}

.categories .item:hover .wrap {
  background-color: var(--accent);
}

.categories .item:hover .wrap * {
  color: var(--black);
}

.categories .item-title {
  font-size: 1.5625rem;
  font-weight: var(--font-weight-medium);
  font-style: italic;
  line-height: 1.851875rem;
  color: var(--accent);
  text-transform: uppercase;
}

.categories .item-caption {
  margin-bottom: 1.5rem;
}

.categories .item-caption .wrap {
  padding: 2.1875rem 2.8125rem;
  background: var(--white);
  border-radius: var(--radius-lg);
}

.categories .item-caption_title {
  margin-bottom: 1.875rem;
  font-size: 2.625rem;
  font-weight: var(--font-weight-bold);
  font-style: italic;
  line-height: 3.125rem;
  text-transform: uppercase;
}

.categories .item-caption_btn a {
  width: 14.5rem;
  height: 2.75rem;
  font-size: 1.25rem;
}

/* Item Custom */
.item-custom .wrap {
  display: flex;
  gap: 0 2.0625rem;
  padding: 1.6875rem 1.125rem;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius-lg);
}

.item-custom .img img {
  width: 29.8125rem;
}

.item-custom .caption-title {
  font-size: 2rem;
  font-weight: var(--font-weight-medium);
  font-style: italic;
  line-height: 2.37rem;
}

.item-custom .caption-text {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.48125rem;
}

.item-custom .caption-call {
  display: inline-flex;
  align-items: center;
  margin-top: 1.6rem;
  background: #F3F3F3;
  border-radius: var(--radius-md);
  transform: skew(-3deg, 0deg);
}

.item-custom .caption-call_phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.3125rem;
  height: 2.6875rem;
  background: var(--accent);
  border-radius: 0.4rem;
}

.item-custom .caption-call_phone img {
  width: 1.6875rem;
}

.item-custom .caption-call_text {
  margin-left: 1rem;
  padding-right: 1rem;
  font-size: 1.625rem;
  font-weight: var(--font-weight-medium);
  color: var(--black);
  text-decoration: none;
}

.item-custom .caption-call_text img {
  margin-left: 0.6rem;
  width: 1.4375rem;
}

.item-custom .caption-cols {
  display: flex;
  align-items: center;
  gap: 0 1.25rem;
  margin-top: 2.1875rem;
}

.item-custom .caption-cols_img img {
  width: 7.0625rem;
}

.item-custom .caption-cols_text {
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.25rem;
  color: #000;
}

/* Item Colored */
.categories .item-colored {
  display: block;
  height: 50%;
  padding: 1.4375rem;
  font-size: 1.5625rem;
  font-weight: var(--font-weight-medium);
  font-style: italic;
  line-height: 1.851875rem;
  color: var(--black);
  text-transform: uppercase;
  text-decoration: none;
  background: var(--accent);
  border-radius: var(--radius-lg);
}

.categories .item-colored:first-child {
  height: calc(50% - 0.9375rem);
  margin-bottom: 0.9375rem;
}

.categories .item-colored:hover {
  color: var(--accent);
  background: var(--black);
}

/* ============================================
   14. TRIGGERS
   ============================================ */
.triggers {
  padding: 3.375rem 0 4.875rem;
}

.triggers .item .wrap {
  position: relative;
  height: 100%;
  padding-left: 1rem;
  font-size: 1.5625rem;
  font-weight: var(--font-weight-normal);
  font-style: italic;
  line-height: 1.851875rem;
}

.triggers .item .wrap::before {
  content: "";
  position: absolute;
  left: 0;
  width: 0.25rem;
  height: 100%;
  background: var(--accent);
}

/* ============================================
   15. SLIDER
   ============================================ */
.slider {
  position: relative;
}

.slider .wrap {
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius-lg);
}

.slider .wrapper,
.slider .wrap,
.slider #slider {
  height: 100%;
}

.slider .slide {
  position: relative;
  background: var(--white);
}

.slider .slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(179.86deg, rgba(0, 0, 0, 0) 56.15%, rgba(0, 0, 0, 0.8) 90%);
  border-radius: 1rem;
}

.slider .slide img {
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  object-fit: cover;
}

.slider .slide-caption {
  position: absolute;
  bottom: 3rem;
  left: 2rem;
  right: 2rem;
  z-index: 2;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  color: var(--white);
  text-align: center;
}

.slider-arrows {
  position: absolute;
  right: 1.5625rem;
  bottom: 1.5625rem;
  display: flex;
  gap: 0 0.625rem;
}

.slider-prev,
.slider-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background-color: var(--accent);
  background-size: 1.5rem !important;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.slider-prev:hover,
.slider-next:hover {
  background-color: var(--black);
}

.slider-prev img,
.slider-next img {
  width: 1.5rem;
  height: 1.5rem;
}

.slider-prev:hover img,
.slider-next:hover img {
  filter: invert(1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

.slider-dots {
  display: flex;
  gap: 0 0.125rem;
  margin-bottom: 1rem;
}

.slider-dots .slider-dot {
  width: 1.25rem;
  height: 0.375rem;
  background: rgba(255, 255, 255, 0.5);
  border: none;
}

.slider-dots .slider-dot.active {
  background: var(--accent);
}

.slider .caption {
  padding: 4.375rem 3.75rem;
}

.slider .caption-title {
  font-size: 2.625rem;
  font-weight: var(--font-weight-bold);
  font-style: italic;
  line-height: 3.15rem;
}

.slider .caption .item {
  margin-top: 2.125rem;
}

.slider .caption .item-title {
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 5.3325rem;
}

.slider .caption .item-text {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.48125rem;
}

/* ============================================
   16. TYPES
   ============================================ */
.types {
  padding: 4.125rem 0 0;
}

.types .item {
  padding: 2.375rem;
  background: var(--white);
  border-radius: var(--radius-lg);
}

.types .item p:last-child {
  margin-bottom: 0;
}

.types .item.item-1 {
  height: 100%;
  background: url(../img/types1.png) no-repeat bottom center var(--white);
  background-size: 29.6875rem 10.4375rem;
}

.types .item.item-2 {
  height: calc(50% - 1.5rem);
  margin-bottom: 1.5rem;
  background: url(../img/types2.png) no-repeat bottom right 2rem var(--white);
  background-size: 13.75rem 9.125rem;
}

.types .item.item-2 .item-text {
  margin-bottom: 1rem;
  padding-right: 15rem;
}

.types .item.item-3 {
  height: 50%;
  padding-left: 12rem;
  background: url(../img/types3.png) no-repeat center left -1rem var(--white);
  background-size: 11.5rem 14.0625rem;
}

.types .item-title {
  font-size: 1.8rem;
  font-weight: var(--font-weight-medium);
  font-style: italic;
  line-height: 2.4rem;
  text-transform: uppercase;
}

.types .item-text {
  margin-top: 1.2rem;
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.6rem;
}

/* ============================================
   17. SERVICES
   ============================================ */
.services {
  padding-top: 4.75rem;
  padding-bottom: 4.75rem;
}

.services .item-img {
  width: 10.3125rem;
  height: 7.8125rem;
  margin: auto;
  mix-blend-mode: multiply;
}

.services .item-img img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

.services .item-title {
  margin: auto;
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: var(--font-weight-normal);
  font-style: italic;
  line-height: 1.333125rem;
  text-align: center;
  text-transform: uppercase;
}

/* ============================================
   18. LOGOS
   ============================================ */
.logos {
  position: relative;
  margin-top: 8rem;
  background: var(--white);
}

.logos-badge {
  position: absolute;
  top: -5.175rem;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 56.25rem;
  height: 5.3125rem;
  margin: auto;
  padding: 0 1rem;
}

.logos-badge::before {
  content: "";
  position: absolute;
  left: -2rem;
  z-index: 0;
  width: calc(100% + 4rem);
  height: 0;
  border-bottom: 5rem solid var(--accent);
  border-left: 1.875rem solid transparent;
  border-right: 1.875rem solid transparent;
}

.logos-badge * {
  z-index: 2;
}

.logos-badge_title {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.48125rem;
}

.logos-badge_text {
  font-size: 2.5rem;
  font-weight: var(--font-weight-medium);
  line-height: 3.705rem;
}

.logos-badge img {
  position: absolute;
  top: -2rem;
  right: -6rem;
  left: 0;
  width: 11.25rem;
  margin: auto;
}

.logos .wrapper {
  padding: 2.5rem 1rem;
}

.logos .items {
  align-items: center;
  justify-content: center;
}

.logos .items .item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.logos .items .item img {
  max-width: 20rem;
  max-height: 5rem;
}

/* ============================================
   19. DIAGNOSTICS
   ============================================ */
.diag {
  padding: 3.75rem 0;
  color: var(--white);
  background: var(--black);
}

.diag-title {
  margin-bottom: 2.8125rem;
  font-size: 2.25rem;
  color: var(--white);
  text-align: left;
}

.diag-white {
  background: var(--white);
}

.diag-white * {
  color: #000 !important;
}

.diag-white .btn:hover {
  color: var(--accent) !important;
  border-color: var(--black) !important;
}

.diag-radios {
  display: flex;
  gap: 0 2rem;
  color: var(--white);
}

.diag-radios label {
  font-size: 1.25rem;
  font-weight: var(--font-weight-normal);
  font-style: italic;
  line-height: 1.48125rem;
  color: var(--white);
  cursor: pointer;
}

.diag-radios label input {
  display: none;
}

.diag-radios label span:hover {
  color: var(--accent);
}

.diag-radios label input:checked + span {
  border-bottom: 1px solid var(--accent);
}

.diag-form {
  margin-top: 2.5rem;
}

.diag-form .form-group {
  margin-bottom: 1rem;
}

.diag-form .form-group:last-child {
  margin-bottom: 0;
}

.diag-form label {
  margin-bottom: 0.2rem;
  font-style: italic;
  color: var(--gray-500);
}

.diag-form textarea {
  height: 8.2rem;
}

.diag-form button {
  width: 100%;
  height: 3.375rem;
  margin-top: 2rem;
  border: 1px solid var(--accent);
}

.diag-form button:hover {
  border-color: var(--accent);
}

.diag-phones {
  margin-top: 4rem;
}

.diag-contacts a,
.diag-phones a {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.3125rem;
  font-style: italic;
  color: var(--white);
  text-decoration: none;
}

.diag-contacts a {
  display: flex;
  align-items: center;
  gap: 0 0.6rem;
  font-size: 1.0625rem;
}

.diag-contacts a img {
  width: 1.5rem;
  height: 1.5rem;
}

.diag-contacts a:last-child,
.diag-phones a:last-child {
  margin-bottom: 0;
}

.diag-contacts a:hover,
.diag-phones a:hover {
  color: var(--accent);
}

.diag-contacts {
  display: flex;
  gap: 0 3rem;
  margin-top: 2rem;
}

/* ============================================
   20. CLIENTS
   ============================================ */
.clients {
  padding-top: 6.25rem;
  padding-bottom: 6.25rem;
}

.clients .container {
  position: relative;
}

.clients-title.title {
  margin-bottom: 1rem;
  text-align: left;
}

.clients-subtitle {
  margin-bottom: 1.375rem;
  font-size: 2rem;
  font-weight: var(--font-weight-normal);
  font-style: italic;
  line-height: 2.4rem;
  text-transform: uppercase;
}

.clients-text {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.7775rem;
}

.clients-arrows {
  position: absolute;
  bottom: 0;
  display: flex;
  gap: 0 0.5rem;
}

.clients-img img {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* ============================================
   21. MAP
   ============================================ */
.map {
  position: relative;
}

.map .caption {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  max-width: 480px;
  padding: 1.5rem 2rem;
  background: var(--white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

.map .caption-title {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  font-style: italic;
  line-height: 2rem;
  text-transform: uppercase;
}

.map .caption-title div {
  font-weight: 300;
}

.map .caption-btn {
  margin-top: 2rem;
}

.pin {
  width: 4.25rem;
  height: 4.25rem;
}

/* ============================================
   22. FOOTER
   ============================================ */
.footer {
  padding: 3.4375rem 0;
  background: var(--black);
  border-top: 0.5rem solid var(--accent);
}

.footer a {
  color: var(--accent);
}

.footer .row {
  position: relative;
}

.footer-text {
  margin-top: 1.9375rem;
  font-size: 1.3125rem;
  font-style: italic;
  color: var(--accent);
}

.footer-phones {
  margin-top: 0;
}

.footer-contacts a,
.footer-phones a {
  position: relative;
  display: block;
  padding-left: 2rem;
  margin-bottom: 0.3rem;
  font-size: 1.3125rem;
  font-style: italic;
  color: var(--white);
  text-decoration: none;
}

.footer-contacts a {
  display: flex;
  align-items: center;
  gap: 0 0.6rem;
  padding-left: 0;
  font-size: 1.0625rem;
}

.footer-contacts a img {
  width: 1.5rem;
  height: 1.5rem;
}

.footer-phones a:first-child::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: url(../img/phone.svg) no-repeat;
  background-size: 1.5625rem;
}

.footer-contacts a:hover,
.footer-phones a:hover {
  color: var(--accent);
}

.footer-logo img {
  width: 23.75rem;
}

.footer-nav ul {
  display: flex;
  gap: 0 1rem;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.footer-nav ul li a {
  font-style: italic;
  color: var(--accent);
  text-transform: uppercase;
  text-decoration: none;
}

.footer-nav ul li a:hover {
  color: var(--white);
}

.footer-address {
  margin-top: 2.5rem;
  padding-left: 2rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5rem;
  color: #d9d9d9;
}

.footer-road {
  margin-top: 1rem;
  padding-left: 2rem;
}

.footer-road a {
  font-weight: 300;
  font-style: italic;
  color: var(--accent);
  text-decoration: none;
}

.footer-road a:hover {
  color: var(--white);
}

.footer-promo {
  display: flex;
  align-items: center;
  gap: 0 1rem;
  margin-top: 4.5rem;
  padding: 0.5rem;
  color: var(--white);
  background: var(--gray-800);
  border-radius: var(--radius-lg);
}

.footer-promo .img {
  flex: 0 0 45%;
}

.footer-promo .img img {
  width: 100%;
}

.footer-promo .caption {
  flex: 0 0 55%;
}

.footer-promo .caption-title {
  margin-bottom: 0.5rem;
  font-size: 1.3125rem;
  font-weight: var(--font-weight-medium);
  font-style: italic;
  color: var(--accent);
  text-transform: uppercase;
}

.footer-promo .caption-phone {
  display: flex;
  align-items: center;
  gap: 0 0.5rem;
  font-size: 1.75rem;
  font-weight: var(--font-weight-bold);
  color: var(--white);
  text-decoration: none;
}

.footer-promo .caption-phone img:first-child {
  width: 2.4375rem;
}

.footer-promo .caption-phone img:last-child {
  width: 1.5rem;
}

.footer-policy {
  position: absolute;
  bottom: 0;
}

.footer-policy a {
  font-weight: 300;
  font-style: italic;
  color: var(--accent);
  text-decoration: none;
}

.footer-policy a:hover {
  color: var(--white);
}

/* ============================================
   23. MODALS
   ============================================ */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4rem);
  transition: all 0.3s ease;
}

.modal.active {
  display: flex;
  pointer-events: all;
  opacity: 1;
  transform: translateY(0);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  display: none;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.modal-overlay.active {
  display: block;
}

.modal .wrap {
  position: relative;
  width: 27rem;
  max-width: 100%;
  max-height: 90vh;
  padding: 2rem;
  margin: auto;
  overflow-y: auto;
  background: var(--white);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.modal-content {
  border: none;
}

.modal-title {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  font-weight: var(--font-weight-bold);
  font-style: italic;
  line-height: 2.125rem;
  text-transform: uppercase;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 99999;
  height: 1.2rem;
  font-size: 2.25rem;
  line-height: 0.4;
  cursor: pointer;
  opacity: 0.3;
  transition: var(--transition);
  transform-origin: center center;
}

.modal-close:hover {
  color: var(--accent);
  opacity: 1;
  transform: rotate(180deg);
}

.modal-form .form-group {
  margin-bottom: 1rem;
}

.modal-form .form-group label {
  font-style: italic;
}

.modal-form .form-group button {
  width: 100%;
  height: 2.8125rem;
}

/* ============================================
   24. PAGE CONTENT
   ============================================ */
.page-service {
  padding: 4rem 0;
}

.page-service .title {
  text-align: left;
}

.page-service .block {
  position: relative;
  padding: 3.125rem 3.4375rem;
  margin-bottom: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
}

.page-service .block:last-child {
  margin-bottom: 0;
}

.page-service .block::after {
  content: "";
  position: absolute;
  top: 2.7rem;
  left: -1.6rem;
  width: 3.125rem;
  height: 3.125rem;
  background: var(--accent);
  border-radius: var(--radius-lg);
}

.page-service .block-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0 6rem;
}

.page-service .block-title div:first-child {
  margin-bottom: 1.5625rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 2rem;
}

.page-service .block-title div:last-child a {
  width: 15.625rem;
  height: 3.125rem;
}

.page-service .block-text {
  width: 70%;
  font-size: 1.125rem;
  line-height: 1.4rem;
}

.page-service .block-list {
  margin-top: 2rem;
}

.page-service .block-list_title {
  margin-bottom: 2rem;
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  font-style: italic;
  line-height: 1.7775rem;
  text-transform: uppercase;
}

.page-service .block-list_title .tabs {
  display: flex;
  gap: 0 2rem;
  margin-top: 3rem;
}

.page-service .block-list_title .tabs div {
  font-size: 1.5rem;
  font-weight: 300;
  font-style: normal;
  cursor: pointer;
  transition: var(--transition);
}

.page-service .block-list_title .tabs div.active {
  border-bottom: 1px solid var(--accent);
}

.page-service .block-list_title .tabs div:hover {
  color: var(--accent);
}

.page-service .block-list_cols {
  column-count: 2;
  column-gap: 1.5rem;
}

.page-service .block-list_cols .item {
  display: inline-block;
  margin-bottom: 1.5rem;
  line-height: 1.3125rem;
}

.page-service .block-list_cols .item-title {
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
  font-weight: var(--font-weight-medium);
}

.page-service .block-list_cols .item-text ul {
  padding-left: 1.25rem;
}

.page-service .block-list_cols .item-text ul li {
  margin-bottom: 0.5rem;
}

.page-service .block-list_cols .item-text ul li:last-child {
  margin-bottom: 0;
}

.tabs-content_tab {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.tabs-content_tab.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.page-content {
  padding: 4rem 0 2rem;
}

.page-content .row {
  align-items: center;
}

.page-content_nav ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.page-content_nav ul li {
  margin-bottom: 1.5rem;
}

.page-content_nav ul li:last-child {
  margin-bottom: 0;
}

.page-content_nav ul li a {
  font-size: 1.5625rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.8125rem;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.page-content_nav ul li a:hover {
  color: var(--accent);
}

.page-content_img {
  display: flex;
  justify-content: flex-end;
  mix-blend-mode: multiply;
}

.page-content_img img {
  width: 32rem;
  max-width: 100%;
}

.page-text {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.page-text .title {
  text-align: left;
}

/* ============================================
   25. CONTACTS
   ============================================ */
.contacts {
  padding: 4.375rem 0;
}

.contacts .title {
  text-align: left;
}

.contacts .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.contacts .item {
  margin-bottom: 2.4rem;
}

.contacts .item-title {
  margin-bottom: 1rem;
  font-size: 1.375rem;
  font-family: var(--accent-font, var(--font));
}

.contacts .item-block {
  display: flex;
  align-items: flex-start;
  gap: 0 0.5rem;
  margin-bottom: 1rem;
}

.contacts .item-block__img {
  flex: 0 0 3.125rem;
}

.contacts .item-block__content * {
  display: block;
}

.contacts .item-block__content span,
.contacts .item-block__content div {
  font-size: 0.8125rem;
}

.contacts .item-block__content span {
  margin-bottom: 0.3rem;
}

.contacts .item-block__content a {
  margin-bottom: 0.3rem;
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  color: #000;
}

/* ============================================
   26. CONTACT GROUPS & MESSENGERS
   ============================================ */
.contact-group {
  display: flex;
  gap: 0.5rem;
}

.contact-group a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  text-decoration: none;
}

.contact-group a span {
  display: inline-block;
  font-size: 1.25rem;
  white-space: nowrap;
}

.contact-group a .icon {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
}

.contact-group a.max {
  color: var(--white);
  background: #5A4FF5;
}

.contact-group a.tg {
  color: var(--white);
  background: #63B6FF;
}

.contact-group a.form {
  color: var(--white);
  background: #333031;
}

.contact-group a.tel {
  color: var(--black);
  background: #FFCB03;
}

/* Messengers */
.msngrs a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1;
  color: inherit;
  text-decoration: none;
  background: var(--gray-200);
  border-radius: var(--radius-md);
}

.msngrs a i {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1;
}

.msngrs a span {
  display: inline-block;
  line-height: 1;
}

.msngrs a.wa {
  color: var(--white);
  background: #1daa61;
}

.msngrs.msgnrs-lg a {
  padding: 0.5rem;
}

.msngrs.msgnrs-lg a i {
  width: 20px;
  height: 20px;
}

/* ============================================
   27. MOBILE MENU
   ============================================ */
.mobile {
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 100;
  width: 80%;
  height: 100%;
  padding: 1.25rem 2.5rem;
  overflow-y: auto;
  background: var(--black);
  transition: var(--transition);
}

.mobile.active {
  right: 0;
}

.mobile-close {
  position: absolute;
  top: 0;
  right: 0.9375rem;
  height: 3.125rem;
  font-size: 4.25rem;
  line-height: 1;
  color: var(--accent);
}

.mobile-logo img {
  width: 18rem;
}

.mobile-text {
  margin-top: 4rem;
  font-size: 1.3125rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
}

.mobile-phones {
  margin-top: 2rem;
}

.mobile-contacts a,
.mobile-phones a {
  position: relative;
  display: block;
  padding-left: 2rem;
  margin-bottom: 0.3rem;
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  text-decoration: none;
}

.mobile-contacts a {
  display: flex;
  align-items: center;
  gap: 0 0.6rem;
  padding-left: 0;
}

.mobile-contacts a img {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-phones a:first-child::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: url(../img/phone.svg) no-repeat;
  background-size: 1.5625rem;
}

.mobile-contacts a:hover,
.mobile-phones a:hover {
  color: var(--accent);
}

.mobile-nav ul {
  margin-top: 2.1875rem;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.mobile-nav ul li {
  position: relative;
  margin-bottom: 1.25rem;
}

.mobile-nav ul li:last-child {
  margin-bottom: 0;
}

.mobile-nav ul li.has-children::after {
  content: "";
  position: absolute;
  top: 0.3rem;
  right: -3rem;
  width: 2.2rem;
  height: 1.5rem;
  background: url(../img/v.svg) no-repeat center right;
  filter: invert(1);
}

.mobile-nav ul li a {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--accent);
  text-transform: uppercase;
  text-decoration: none;
}

.mobile-address {
  margin-top: 2.5rem;
  font-size: 1.3rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5rem;
  color: #d9d9d9;
}

.mobile-road {
  margin-top: 1rem;
  font-size: 1.3rem;
}

.mobile-road a {
  font-weight: 300;
  font-style: italic;
  color: var(--accent);
  text-decoration: none;
}

.mobile-road a:hover {
  color: var(--white);
}

.mobile-promo {
  display: flex;
  align-items: center;
  gap: 0 1rem;
  margin-top: 1.5rem;
  padding: 0.5rem 1rem;
  color: var(--white);
  background: var(--gray-800);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
}

.mobile-promo .row {
  align-items: center;
}

.mobile-promo .img {
  flex: 0 0 45%;
}

.mobile-promo .img img {
  width: 100%;
}

.mobile-promo .caption {
  flex: 0 0 55%;
}

.mobile-promo .caption-title {
  font-size: 1.8rem;
  font-weight: var(--font-weight-medium);
  font-style: italic;
  line-height: 2rem;
  color: var(--accent);
  text-transform: uppercase;
}

.mobile-promo .caption-phone {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0 0.5rem;
  font-size: 1.75rem;
  font-weight: var(--font-weight-bold);
  color: var(--white);
  text-decoration: none;
}

.mobile-promo .caption-phone img:first-child {
  width: 2.4375rem;
}

.mobile-promo .caption-phone img:last-child {
  position: absolute;
  right: 0;
  width: 1.5rem;
}

.mobile-policy a {
  font-size: 1.3rem;
  font-weight: 300;
  font-style: italic;
  color: var(--accent);
  text-decoration: none;
}

.mobile-policy a:hover {
  color: var(--white);
}

.mobile-nav ul > li > ul {
  position: static;
  padding-left: 1rem;
}

/* ============================================
   28. RESPONSIVE
   ============================================ */
@media (max-width: 1400px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-tick-list li {
    font-size: 1rem;
  }
}

@media (max-width: 575px) {
  .header {
    position: fixed;
    top: 0;
    z-index: 3;
    width: 100%;
    background: var(--white);
  }
  
  body {
    padding-top: 6rem;
  }
  
  .nav,
  .header-btn,
  .header-adress,
  .header-contacts,
  .header-logo span {
    display: none;
  }
  
  .contacts .row {
    display: block;
  }
  
  .contacts + .profi {
    padding-top: 0;
  }
  
  .header-burger {
    position: absolute;
    top: 0;
    right: 1.5rem;
    flex-direction: column;
    align-items: flex-end;
  }
  
  .header-burger .wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 3.4375rem;
    height: 3.125rem;
    background: var(--accent);
    border-radius: var(--radius-lg);
  }
  
  .header-burger span {
    display: block;
    width: 2rem;
    height: 0.25rem;
    margin-bottom: 0.4375rem;
    background: var(--black);
    border-radius: 0.625rem;
  }
  
  .header-burger span:last-child {
    margin-bottom: 0;
  }
  
  .header-logo img {
    width: 20rem;
  }
  
  .hero {
    margin-right: 1.5rem;
    margin-left: 1.5rem;
    overflow: hidden;
  }
  
  .hero-title {
    font-size: 2.2rem;
    line-height: 2.9rem;
  }
  
  .hero {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  .hero-block {
    margin-top: 4rem;
  }
  
  .hero-block::before {
    width: 100%;
    margin-bottom: 2rem;
  }
  
  .hero-block_line {
    flex-wrap: wrap;
  }
  
  .hero-block_line a {
    font-size: 1.3rem;
    font-weight: var(--font-weight-normal);
  }
  
  .hero-caption {
    bottom: 0;
    width: 100%;
    margin-top: 22rem;
  }
  
  .hero-tick-list .item {
    font-size: 1rem;
  }
  
  .categories {
    padding: 2rem 0;
  }
  
  .categories .item {
    height: auto;
    width: 100%;
    min-height: auto;
  }
  
  .categories .item .wrap {
    width: 100%;
    padding: 3rem 10rem 3rem 2rem;
    background-position: right 1rem center;
  }
  
  .categories .item-title {
    font-size: 2rem;
    line-height: 2.5rem;
  }
  
  .categories .item-caption {
    margin-bottom: 1.5rem;
  }
  
  .categories .item-caption .wrap {
    padding: 3rem 2rem;
  }
  
  .categories .item-caption_btn a {
    width: 20rem;
    font-size: 1.5rem;
  }
  
  .categories .item-colored {
    height: auto !important;
    padding: 3rem 10rem 3rem 2rem;
  }
  
  .categories .item-colored:first-child {
    margin-top: 1rem;
    margin-bottom: 0;
  }
  
  .item-custom .wrap {
    display: block;
    padding: 3rem 2rem;
  }
  
  .item-custom .img img {
    width: 100%;
  }
  
  .item-custom .caption {
    display: flex;
    flex-direction: column;
  }
  
  .item-custom .caption-title {
    margin-top: 1rem;
  }
  
  .item-custom .caption-text {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  
  .item-custom .caption-cols {
    order: 2;
    margin-top: 1.5rem;
  }
  
  .item-custom .caption-cols_img img {
    width: 10rem;
  }
  
  .item-custom .caption-cols_text {
    font-size: 1.2rem;
    line-height: 1.5rem;
  }
  
  .item-custom .caption-call {
    order: 3;
    width: 21rem;
    margin-top: 1.6rem;
  }
  
  .item-custom .caption-call_phone {
    width: 4.3125rem;
    height: 3.6875rem;
  }
  
  .item-custom .caption-call_text {
    font-size: 2.225rem;
  }
  
  .item-custom .caption-call_text img {
    width: 2.1rem;
  }
  
  .triggers {
    padding: 1.375rem 0 1.875rem;
  }
  
  .triggers .item {
    margin-bottom: 2rem;
  }
  
  .slider .col-12:first-child {
    order: 2;
  }
  
  .slider .col-12:last-child {
    order: 1;
  }
  
  .slider .wrap {
    border-radius: 1rem;
  }
  
  .slider .caption {
    padding: 3.3rem 3.6rem;
  }
  
  .slider .caption .items {
    display: flex;
    justify-content: space-between;
    gap: 0 1rem;
  }
  
  .slider-prev,
  .slider-next {
    width: 3.5rem;
    height: 3.5rem;
  }
  
  .types .item.item-1 {
    height: auto;
    margin-bottom: 2rem;
    padding-bottom: 13rem;
  }
  
  .types .item.item-2 {
    height: auto;
    padding-right: 0;
  }
  
  .types .item.item-2 .item-text {
    padding-right: 0;
  }
  
  .types .item.item-3 {
    height: auto;
    padding-left: 2rem;
  }
  
  .service-title {
    font-size: 2.4rem;
    text-align: left;
  }
  
  .services .item {
    margin-bottom: 1.4rem;
  }
  
  .services .item-img {
    width: 14rem;
    height: 8rem;
  }
  
  .services {
    padding-bottom: 7.75rem;
  }
  
  .logos {
    margin-top: 10rem;
    margin-bottom: 2rem;
    background: var(--white);
    border-radius: 1.125rem;
  }
  
  .logos-badge {
    top: -12.175rem;
    width: 100%;
    height: 12.3125rem;
    background: var(--accent);
  }
  
  .logos-badge::before {
    display: none;
  }
  
  .logos-badge img {
    position: relative;
    top: -4rem;
    right: auto;
    left: 1rem;
    width: 15.25rem;
    margin: 0;
  }
  
  .logos-badge_title {
    position: absolute;
    top: 7.3125rem;
    left: 0;
    width: 100%;
    font-size: 1.7rem;
    line-height: 1.9125rem;
    text-align: center;
  }
  
  .logos-badge_text {
    position: relative;
    top: -2.75rem;
    font-size: 3.5rem;
    line-height: 3.705rem;
  }
  
  .logos .items .item {
    margin-bottom: 2rem;
  }
  
  .diag {
    padding: 2rem 1.5rem;
    border-radius: 1.125rem;
  }
  
  .diag-radios {
    display: block;
  }
  
  .diag-radios label {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.7rem;
    line-height: 2.5rem;
  }
  
  .diag-form label {
    font-size: 1.5rem;
  }
  
  .diag-form .form-group:last-child {
    margin-bottom: 1rem;
  }
  
  input[type="text"],
  input[type="tel"],
  input[type="password"],
  input[type="email"],
  select,
  textarea {
    height: 4rem;
    font-size: 1.2rem;
  }
  
  .btn {
    height: 4rem !important;
    font-size: 1.4rem;
  }
  
  .diag-form button {
    margin-top: 0;
  }
  
  .diag-phones {
    margin-top: 3rem;
  }
  
  .diag-contacts a,
  .diag-phones a {
    font-size: 1.8rem;
  }
  
  .diag-contacts {
    display: block;
  }
  
  .clients-img {
    margin-top: 1.5rem;
  }
  
  .clients-arrows {
    right: 2.5rem;
    bottom: 1rem;
  }
  
  .map .caption {
    left: 1.5rem;
    width: 22rem;
  }
  
  .footer-nav ul {
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
  }
  
  .footer-nav ul li a {
    font-size: 1.8rem;
  }
  
  .footer-contacts a {
    font-size: 1.5rem;
  }
  
  .footer-phones a {
    font-size: 1.8rem;
  }
  
  .footer-address,
  .footer-road {
    padding-left: 0;
    font-size: 1.5rem;
    line-height: 2rem;
  }
  
  .footer-promo {
    gap: 0;
  }
  
  .footer-promo .caption {
    padding-left: 2rem;
  }
  
  .footer-promo .caption-title {
    font-size: 1.6rem;
  }
  
  .footer-promo .caption-phone {
    font-size: 2.4rem;
  }
  
  .footer-promo .caption-phone img:last-child {
    width: 2rem;
  }
  
  .footer-text {
    margin-top: 2.5rem;
    font-size: 1.8rem;
  }
  
  .footer-policy {
    position: static;
    font-size: 1.5rem;
  }
  
  .footer-logo img {
    width: 30rem;
  }
  
  .modal .wrap {
    width: 35rem;
  }
  
  .modal-title {
    font-size: 2.2rem;
  }
  
  .modal-form .form-group label {
    font-size: 1.5rem;
  }
  
  .form-checkbox {
    font-size: 1.3rem;
  }
  
  p.lead {
    font-size: 1.5rem;
  }
  
  .msngrs a span {
    font-size: 1.25rem;
  }
  
  .types .item,
  .categories .item-colored,
  .categories .item-custom .wrap,
  .categories .item .wrap,
  .categories .item-caption .wrap,
  .hero {
    border-radius: 1rem;
  }
  
  .page-content_img {
    justify-content: flex-start;
    margin-top: 4rem;
  }
  
  .page-service .block {
    padding: 2.125rem 2.4375rem;
  }
  
  .page-service .block-title {
    gap: 0 1rem;
  }
  
  .page-service .block-text {
    width: 100%;
  }
  
  .page-service .block-list_cols {
    column-count: 1;
  }
  
  .page-service .block-title div:last-child a {
    font-size: 1.2rem;
  }
}

/* Responsive Grid Classes */
@media (min-width: 576px) {
  .grid-cols-sm-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .grid-cols-sm-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-cols-sm-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-cols-sm-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-cols-sm-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .grid-cols-sm-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  
  .col-span-sm-1 { grid-column: span 1 / span 1; }
  .col-span-sm-2 { grid-column: span 2 / span 2; }
  .col-span-sm-3 { grid-column: span 3 / span 3; }
  .col-span-sm-4 { grid-column: span 4 / span 4; }
  .col-span-sm-5 { grid-column: span 5 / span 5; }
  .col-span-sm-6 { grid-column: span 6 / span 6; }
  .col-span-sm-full { grid-column: 1 / -1; }
  
  .row-span-sm-1 { grid-row: span 1 / span 1; }
  .row-span-sm-2 { grid-row: span 2 / span 2; }
  
  .d-sm-none { display: none !important; }
  .d-sm-inline { display: inline !important; }
  .d-sm-inline-block { display: inline-block !important; }
  .d-sm-block { display: block !important; }
  .d-sm-flex { display: flex !important; }
}

@media (min-width: 768px) {
  .grid-cols-md-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .grid-cols-md-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-cols-md-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-cols-md-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-cols-md-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .grid-cols-md-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  
  .col-span-md-1 { grid-column: span 1 / span 1; }
  .col-span-md-2 { grid-column: span 2 / span 2; }
  .col-span-md-3 { grid-column: span 3 / span 3; }
  .col-span-md-4 { grid-column: span 4 / span 4; }
  .col-span-md-5 { grid-column: span 5 / span 5; }
  .col-span-md-6 { grid-column: span 6 / span 6; }
  .col-span-md-full { grid-column: 1 / -1; }
  
  .row-span-md-1 { grid-row: span 1 / span 1; }
  .row-span-md-2 { grid-row: span 2 / span 2; }
  
  .d-md-none { display: none !important; }
  .d-md-flex { display: flex !important; }
}

@media (min-width: 992px) {
  .grid-cols-lg-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .grid-cols-lg-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-cols-lg-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-cols-lg-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-cols-lg-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .grid-cols-lg-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  
  .col-span-lg-1 { grid-column: span 1 / span 1; }
  .col-span-lg-2 { grid-column: span 2 / span 2; }
  .col-span-lg-3 { grid-column: span 3 / span 3; }
  .col-span-lg-4 { grid-column: span 4 / span 4; }
  .col-span-lg-5 { grid-column: span 5 / span 5; }
  .col-span-lg-6 { grid-column: span 6 / span 6; }
  .col-span-lg-full { grid-column: 1 / -1; }
  
  .row-span-lg-1 { grid-row: span 1 / span 1; }
  .row-span-lg-2 { grid-row: span 2 / span 2; }
  
  .d-lg-none { display: none !important; }
  .d-lg-flex { display: flex !important; }
}

@media (min-width: 1200px) {
  .grid-cols-xl-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .grid-cols-xl-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-cols-xl-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-cols-xl-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-cols-xl-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .grid-cols-xl-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  
  .col-span-xl-1 { grid-column: span 1 / span 1; }
  .col-span-xl-2 { grid-column: span 2 / span 2; }
  .col-span-xl-3 { grid-column: span 3 / span 3; }
  .col-span-xl-4 { grid-column: span 4 / span 4; }
  .col-span-xl-5 { grid-column: span 5 / span 5; }
  .col-span-xl-6 { grid-column: span 6 / span 6; }
  .col-span-xl-full { grid-column: 1 / -1; }
  
  .row-span-xl-1 { grid-row: span 1 / span 1; }
  .row-span-xl-2 { grid-row: span 2 / span 2; }
  
  .d-xl-none { display: none !important; }
  .d-xl-flex { display: flex !important; }
}

@media (min-width: 1400px) {
  .grid-cols-xxl-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .grid-cols-xxl-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-cols-xxl-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-cols-xxl-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-cols-xxl-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .grid-cols-xxl-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  
  .col-span-xxl-1 { grid-column: span 1 / span 1; }
  .col-span-xxl-2 { grid-column: span 2 / span 2; }
  .col-span-xxl-3 { grid-column: span 3 / span 3; }
  .col-span-xxl-4 { grid-column: span 4 / span 4; }
  .col-span-xxl-5 { grid-column: span 5 / span 5; }
  .col-span-xxl-6 { grid-column: span 6 / span 6; }
  .col-span-xxl-full { grid-column: 1 / -1; }
  
  .row-span-xxl-1 { grid-row: span 1 / span 1; }
  .row-span-xxl-2 { grid-row: span 2 / span 2; }
  
  .d-xxl-none { display: none !important; }
  .d-xxl-flex { display: flex !important; }
}