/**
 * Garant Plus Main Stylesheet
 * Vanilla CSS with variables
 * Organized and Optimized by AI
 */

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
  /* ====================================================================================================
   COLORS
   ==================================================================================================== */
  --clr-white: #ffffff;
  --clr-light-gray: #f8f9fa;
  --clr-gray: #e0e0e0;
  --clr-text: #333333;
  --clr-dark-gray: #888888;
  --clr-blue: #1e3a8a;
  --clr-black: #111111;
  --clr-accent: #e63946;
  --clr-accent-hover: #c42632;
  --clr-focus: rgba(230, 57, 70, 0.4);
  --text-main: var(--clr-text);
  --text-light: var(--clr-dark-gray);
  --bg-main: var(--clr-white);
  --bg-alt: var(--clr-light-gray);
  /* ====================================================================================================
   TYPOGRAPHY
   ==================================================================================================== */
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-heading: "Outfit", "Inter", sans-serif;
  /* ====================================================================================================
   LAYOUT
   ==================================================================================================== */
  --container-width: 1300px;
  --container-padding: 20px;
  --header-height: 80px;
  --header-top-height: 48px;
  /* ====================================================================================================
   STYLING
   ==================================================================================================== */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  /* ====================================================================================================
   ANIMATIONS
   ==================================================================================================== */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--clr-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--clr-accent);
}

ul,
ol {
  list-style: none;
}

hr {
  border: none;
  border-top: 1px solid var(--clr-gray);
  margin: 20px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--clr-black);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

p {
  margin-bottom: 1rem;
}

blockquote,
.wp-block-quote {
  border-left: 4px solid var(--clr-accent) !important;
  padding-left: 20px;
  margin: 30px 0;
  color: var(--text-main);
  font-style: italic;
}

blockquote p,
.wp-block-quote p {
  margin-bottom: 0;
}

.entry-content ul,
.typography-preview ul {
  list-style-type: disc;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  text-align: left;
}

.entry-content ol,
.typography-preview ol {
  list-style-type: decimal;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  text-align: left;
}

.entry-content ul li::marker,
.typography-preview ul li::marker {
  color: var(--clr-accent);
}

.entry-content li,
.typography-preview li {
  margin-bottom: 0.5rem;
}

.entry-content ul ul,
.entry-content ol ol,
.typography-preview ul ul,
.typography-preview ol ol {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* ====================================================================================================
   TABLES
   ==================================================================================================== */

.entry-content table,
.typography-preview table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  border: 1px solid var(--clr-gray);
}

.entry-content th,
.entry-content td,
.typography-preview th,
.typography-preview td {
  padding: 12px 15px;
  border: 1px solid var(--clr-gray);
  text-align: left;
}

.entry-content thead th,
.typography-preview thead th {
  background-color: #f8f9fa;
  /* ====================================================================================================
   СВЕТЛО-СЕРЫЙ ФОН ШАПКИ
   ==================================================================================================== */
  font-weight: 600;
}

.entry-content tbody tr,
.typography-preview tbody tr {
  transition: background-color 0.2s ease;
}

.entry-content tbody tr:hover,
.typography-preview tbody tr:hover {
  background-color: #f1f3f5;
  /* ====================================================================================================
   ЛЕГКОЕ ЗАТЕМНЕНИЕ ПРИ НАВЕДЕНИИ
   ==================================================================================================== */
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: 30px 0 80px;
}

/* ====================================================================================================
   HOME OVERRIDE
   ==================================================================================================== */

.home .section,
.front-page .section {
  padding: 80px 0;
}

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

/* ==========================================================================
   CTA Horizontal Banner
   ========================================================================== */

.cta-horizontal-banner {
  color: var(--clr-white);
}

.cta-horizontal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-horizontal-title {
  flex: 1;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
  color: var(--clr-white);
}

.cta-horizontal-box {
  flex: 0 0 550px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-sizing: border-box;
}

.cta-horizontal-box p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  color: var(--clr-white);
  opacity: 0.9;
  flex: 1;
}

.text-center {
  text-align: center;
}

.section .text-center h2,
.hero .text-center h2 {
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 15px;
}

.section .text-center h2::after,
.hero .text-center h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--clr-accent);
  border-radius: 2px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
  overflow: hidden;
  z-index: 1;
  box-sizing: border-box;
}

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

.btn-primary::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--clr-accent);
  z-index: -1;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover,
a.btn-primary:hover {
  color: var(--clr-white);
  transform: translateY(-2px);
}

.btn-primary:hover::before,
a.btn-primary:hover::before {
  height: 100%;
}

.btn-outline {
  background-color: transparent;
  color: var(--clr-blue);
  box-shadow: inset 0 0 0 2px var(--clr-gray);
}

.btn-outline:hover,
a.btn-outline:hover {
  box-shadow: inset 0 0 0 2px var(--clr-accent);
  color: var(--clr-accent);
  background-color: transparent;
  transform: translateY(-2px);
}

.btn-light {
  background-color: var(--clr-white);
  color: var(--clr-blue);
}

.btn-light::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--clr-accent);
  z-index: -1;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-light:hover,
a.btn-light:hover {
  color: var(--clr-white);
  transform: translateY(-2px);
}

.btn-light:hover::before,
a.btn-light:hover::before {
  height: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  transition: transform var(--transition-base),
    background-color var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  transform: translateY(calc(var(--header-top-height) * -1));
}

.header-top {
  height: var(--header-top-height);
  border-bottom: 1px solid var(--clr-gray);
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--header-top-height);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-black);
}

.header-top-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-phone-top,
.header-license {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-black);
  transition: color var(--transition-fast);
}

.header-phone-top svg,
.header-license svg {
  color: inherit;
  flex-shrink: 0;
}

.header-phone-top:hover {
  color: var(--clr-accent);
}

.secondary-nav ul {
  display: flex;
  gap: 20px;
  text-transform: uppercase;
}

.secondary-nav a {
  color: var(--text-light);
  font-weight: 600;
  transition: color var(--transition-fast);
}

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

.header-top-right .bvi-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  color: var(--clr-black);
  transition: color var(--transition-fast);
}

.header-search-toggle:hover {
  color: var(--clr-accent) !important;
}

.header-search-wrap.active .header-search-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.header-top-right .bvi-btn:hover {
  color: var(--clr-accent);
}

.header-top-right .bvi-btn svg {
  color: inherit;
  flex-shrink: 0;
}

.header-main {
  height: var(--header-height);
  border-bottom: 1px solid var(--clr-gray);
}

.header-main .container {
  height: 100%;
}

.site-header.scrolled .header-main {
  border-bottom: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--clr-blue);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--clr-accent);
}

/* ====================================================================================================
   DESKTOP MENU
   ==================================================================================================== */

.main-nav ul {
  display: flex;
  gap: 30px;
}

.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--clr-black);
  position: relative;
  padding: 10px 0;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--clr-black);
}

.main-nav .menu-item-has-children>a {
  padding-right: 15px;
}

.main-nav .menu-item-has-children>a::before {
  content: "";
  position: absolute;
  right: 0;
  top: calc(50% - 2px);
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--clr-black);
  border-bottom: 2px solid var(--clr-black);
  transform: translateY(-50%) rotate(45deg);
  transition: transform var(--transition-base);
  opacity: 0.7;
}

.main-nav .menu-item-has-children:hover>a::before {
  transform: translateY(-30%) rotate(225deg);
  opacity: 1;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--clr-accent);
  transition: width var(--transition-base);
}

.main-nav a:hover::after,
.main-nav ul li.current-menu-item>a::after {
  width: 100%;
}

/* ====================================================================================================
   DROPDOWN
   ==================================================================================================== */

.main-nav li {
  position: relative;
}

.main-nav ul ul {
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  background-color: var(--clr-white);
  min-width: 220px;
  flex-direction: column;
  gap: 0;
  padding: 10px 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  z-index: 10;
}

.main-nav ul ul::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
  background: transparent;
}

.main-nav li:hover>ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav ul ul a {
  padding: 10px 20px;
  display: block;
  white-space: nowrap;
  font-size: 14px;
}

.main-nav ul ul a::after {
  display: none;
}

.main-nav ul ul a:hover {
  background-color: var(--bg-alt);
  color: var(--clr-accent);
}

/* ====================================================================================================
   HEADER ACTIONS
   ==================================================================================================== */

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  font-weight: 700;
  font-size: 1.1rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1002;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--clr-blue);
  position: absolute;
  left: 0;
  transition: all var(--transition-base);
}

.mobile-menu-toggle span:nth-child(1) {
  top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 11px;
}

.mobile-menu-toggle span:nth-child(3) {
  bottom: 0;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* ====================================================================================================
   MOBILE MENU OVERLAY
   ==================================================================================================== */

.mobile-nav-overlay {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  background-color: var(--clr-white);
  z-index: 999;
  transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  padding: 120px 30px 40px;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.mobile-nav-overlay.active {
  top: 0;
}

.mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(4px);
  transition: all var(--transition-base);
}

.mobile-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-overlay ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: auto;
  width: 100%;
  padding-right: 45px;
}

.mobile-nav-overlay a {
  font-size: 1.5rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--clr-black);
  text-decoration: none;
  display: block;
  padding-right: 0;
}

.mobile-nav-overlay ul ul {
  width: calc(100% + 30px);
  padding-right: 30px;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-right: 2px solid var(--clr-accent);
  transition: max-height 0.4s ease-in-out,
    opacity 0.3s ease,
    margin-top 0.3s ease;
}

.mobile-nav-overlay li {
  position: relative;
  width: 100%;
}

.mobile-nav-overlay .menu-item-wrapper {
  display: block;
  position: relative;
  width: 100%;
}

.mobile-nav-overlay .submenu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--clr-accent);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  position: absolute;
  right: -45px;
  top: 50%;
  transform: translateY(-50%);
}

.mobile-nav-overlay .menu-item-has-children.open-submenu>ul {
  max-height: 500px;
  opacity: 1;
  visibility: visible;
  margin-top: 15px;
}

.mobile-nav-overlay ul ul a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  padding-right: 0;
}

.mobile-secondary-nav {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--clr-gray);
  width: 100%;
  padding-right: 45px;
}

.mobile-secondary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-secondary-nav a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: none;
  text-transform: uppercase;
  display: block;
}

.mobile-nav-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--clr-gray);
  width: 100%;
  padding-right: 45px;
}

.mobile-nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.mobile-nav-logo span {
  color: var(--clr-accent);
}

.mobile-nav-phone {
  font-size: 1.25rem;
  font-weight: 700;
  display: block;
  margin-bottom: 20px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding-top: calc(var(--header-height) + var(--header-top-height) + 60px);
  padding-bottom: 100px;
  background-color: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.hero-fullwidth {
  background-size: cover;
  background-position: center;
  background-color: var(--clr-black);
  padding-top: calc(var(--header-height) + var(--header-top-height) + 120px);
  padding-bottom: 150px;
  color: var(--clr-white);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      rgba(17, 17, 17, 0.95) 0%,
      rgba(17, 17, 17, 0.7) 50%,
      rgba(17, 17, 17, 0.3) 100%);
  z-index: 1;
}

.relative-container {
  position: relative;
  z-index: 2;
}

.hero-content-full {
  max-width: 750px;
}

.hero-title {
  color: var(--clr-white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 10px;
  line-height: 1.15;
}

.hero-title-sub {
  color: var(--clr-white);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  margin-bottom: 25px;
  line-height: 1.2;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.btn-outline-white {
  color: var(--clr-white);
  box-shadow: inset 0 0 0 2px var(--clr-white);
}

.btn-outline-white:hover,
a.btn-outline-white:hover {
  box-shadow: inset 0 0 0 2px var(--clr-accent);
  color: var(--clr-accent);
  background-color: transparent;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* ==========================================================================
   Cards & Grids
   ========================================================================== */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.card {
  background-color: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-img {
  margin: -20px -20px 20px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
  aspect-ratio: 16/9;
  background-color: var(--clr-gray);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.card-desc {
  color: var(--text-light);
  flex-grow: 1;
}

/* ====================================================================================================
   BRANCH CARDS
   ==================================================================================================== */

.branch-card-img {
  aspect-ratio: 4/3;
}

.branch-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-black);
  margin-top: 15px;
  margin-bottom: 10px;
}

.branch-card-phone {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-blue);
  text-decoration: none;
  margin-top: 10px;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.branch-card-phone:hover {
  color: var(--clr-accent);
}

.branch-schedule {
  font-size: 0.8rem;
  margin-top: auto;
  margin-bottom: 25px;
  line-height: 1.6;
  color: var(--text-light);
  font-weight: 400;
  flex-grow: 0;
}

.branch-schedule strong {
  display: inline;
  font-weight: 500;
  margin-right: 5px;
}

.branch-schedule .schedule-text {
  display: inline;
}

.branch-card-actions {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.branch-card-actions .btn {
  width: 100%;
  padding: 0 10px;
  font-size: 14px;
}

/* ====================================================================================================
   PAGINATION STYLING
   ==================================================================================================== */

.pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.pagination .screen-reader-text {
  display: none;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.post-navigation .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
  flex: 1;
  min-width: 250px;
}

.post-navigation .nav-next {
  text-align: right;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 15px;
  border-radius: var(--radius-sm);
  background-color: var(--clr-white);
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--clr-gray);
}

.pagination .page-numbers:hover:not(.current):not(.dots) {
  background-color: var(--bg-alt);
  color: var(--clr-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pagination .page-numbers.current {
  background-color: var(--clr-blue);
  color: var(--clr-white);
  box-shadow: 0 4px 10px rgba(11, 60, 169, 0.3);
  border-color: var(--clr-blue);
}

.pagination .page-numbers.dots {
  background-color: transparent;
  box-shadow: none;
  border: none;
  color: var(--text-light);
  font-weight: 700;
  padding: 0 5px;
  min-width: auto;
}

.training-banner-card {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: all var(--transition-base);
  aspect-ratio: 4/3;
  background-color: var(--clr-white);
  border: 1px solid var(--clr-gray);
  border-bottom: 5px solid var(--clr-accent);
  box-shadow: var(--shadow-sm);
}

.training-banner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.training-banner-card img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  display: block;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform var(--transition-base);
}

.training-banner-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--clr-blue);
  color: var(--clr-white);
  text-align: center;
  padding: 12px 15px;
  box-sizing: border-box;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
  margin: 0;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumbs {
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: transparent !important;
}

.breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  font-size: 0.9rem;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
}

.breadcrumbs a {
  color: var(--clr-blue);
  text-decoration: none;
  transition: color var(--transition-base);
}

.breadcrumbs a:hover {
  color: var(--clr-accent);
}

.breadcrumbs .separator {
  margin-left: 0;
  margin-right: 8px;
  color: var(--clr-gray);
  display: inline-block;
}

/* ==========================================================================
   Modals
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  overflow-y: auto;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: var(--clr-white);
  width: 100%;
  max-width: 500px;
  margin: auto;
  border-radius: var(--radius-md);
  padding: 40px;
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-light);
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--clr-accent);
}

.modal-title {
  font-size: 1.5rem;
  color: var(--clr-primary);
  margin-bottom: 5px;
}

.modal-subtitle {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ====================================================================================================
   PROMO POPUP STYLES
   ==================================================================================================== */

.promo-modal-container {
  padding: 0;
  max-width: 1000px;
  overflow: hidden;
}

.promo-content-wrapper {
  display: flex;
  flex-direction: column;
}

.promo-content-wrapper.has-image {
  flex-direction: column;
}

.promo-image-col {
  width: 100%;
}

.promo-image-col img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  max-height: 400px;
  margin: 0 auto;
}

.promo-text-col {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-header {
  text-align: left;
  margin-bottom: 20px;
}

.promo-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--clr-accent);
}

.promo-desc {
  margin-bottom: 30px;
  color: var(--text-main);
  line-height: 1.6;
  font-size: 1.1rem;
}

.promo-desc p {
  margin-bottom: 15px;
}

.promo-action {
  margin-top: auto;
}

#promo-popup .modal-close {
  background: var(--clr-white);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 15px;
  right: 15px;
  box-shadow: var(--shadow-md);
  color: var(--clr-black);
  z-index: 10;
}

#promo-popup .modal-close:hover {
  background: var(--clr-accent);
  color: var(--clr-white);
}

/* ====================================================================================================
   FORM STYLES
   ==================================================================================================== */

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--clr-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  background-color: var(--bg-alt);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--clr-gray);
  background-color: var(--clr-white);
  box-shadow: none;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  margin-top: 10px;
}

.form-message {
  display: none;
  padding: 15px;
  border-radius: var(--radius-sm);
  margin-top: 20px;
  text-align: center;
  font-weight: 500;
}

.form-message.success {
  display: block;
  background-color: #d4edda;
  color: #155724;
}

.form-message.error {
  display: block;
  background-color: #f8d7da;
  color: #721c24;
}

/* ====================================================================================================
   HONEYPOT
   ==================================================================================================== */

.trap-field {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
}

/* ==========================================================================
   Swiper
   ========================================================================== */

.swiper-pagination-bullet-active {
  background-color: var(--clr-accent) !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--clr-blue) !important;
  background: var(--clr-white);
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1.2rem !important;
  font-weight: bold;
}

/* ==========================================================================
   Animations (Intersection Observer)
   ========================================================================== */

.fade-up {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 0.7s ease-out,
    transform 0.7s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Cookie Banner
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 400px;
  background-color: var(--clr-white);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   Footer Custom Design
   ========================================================================== */

.site-footer.custom-footer {
  background-color: #191a1c;
  color: #e0e0e0;
  padding: 0;
  border-radius: 40px 40px 0 0;
  margin-top: -40px;
  position: relative;
  z-index: 10;
  overflow: hidden;
  font-family: var(--font-sans);
}

.custom-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-footer-col {
  padding: 50px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-footer-col:not(:last-child) {
  padding-right: 30px;
}

.custom-footer-col:not(:first-child) {
  padding-left: 30px;
}

.custom-footer-col:last-child {
  border-right: none;
}

.custom-footer-title {
  color: #8c8c8c;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 30px;
  font-family: var(--font-sans);
}

.custom-footer-col p {
  font-size: 0.95rem;
  color: #e0e0e0;
  margin-bottom: 8px;
}

.custom-footer-col a {
  color: #e0e0e0;
  transition: color 0.3s;
}

.custom-footer-col a:hover {
  color: #fff;
}

.custom-footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.custom-footer-socials a {
  font-size: 0.95rem;
  position: relative;
}

.custom-footer-socials a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.3);
  transition: background-color 0.3s;
}

.custom-footer-socials a:hover::after {
  background-color: #fff;
}

.custom-footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.custom-footer-col ul li a {
  font-size: 0.95rem;
}

.custom-footer-middle {
  padding: 40px 0;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glow-subtitle {
  font-family: "Inter", sans-serif;
  font-size: clamp(0.6rem, 1.5vw, 1.2rem);
  letter-spacing: 0.5em;
  color: var(--clr-accent);
  margin-bottom: 5px;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  font-weight: 300;
}

.glow-title {
  font-size: 15vw;
  font-family: var(--font-heading);
  color: #fff;
  margin: 0;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  /* ====================================================================================================
   GLOW EFFECT BASED ON THE IMAGE
   ==================================================================================================== */
  text-shadow: 0 0 20px rgba(100, 200, 255, 0.6),
    0 0 40px rgba(100, 200, 255, 0.4),
    0 0 60px rgba(100, 200, 255, 0.2);
  position: relative;
  z-index: 1;
}

.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--clr-blue);
  border: 1px solid var(--clr-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease,
    transform 0.3s ease;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.scroll-top-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-color: var(--clr-accent);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s ease-in-out;
  z-index: 1;
}

.scroll-top-btn svg {
  position: relative;
  z-index: 2;
  transition: transform 0.3s;
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  transform: translateY(-5px);
}

.scroll-top-btn:hover::before {
  transform: translate(-50%, -50%) scale(1.1);
}

.scroll-top-btn:hover svg {
  transform: translateY(-2px);
}

.custom-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 30px 40px;
  font-size: 0.8rem;
  color: #666;
}

.custom-footer-bottom-left {
  max-width: 45%;
}

.custom-footer-bottom-right {
  text-align: right;
  max-width: 45%;
}

.enrollment-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

/* ==========================================================================
   Training Program Section
   ========================================================================== */

.program-card {
  background-color: var(--clr-blue);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  text-align: left;
  height: 100%;
  box-shadow: 0 10px 20px rgba(30, 58, 138, 0.15);
  transition: transform 0.3s ease,
    box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.35);
}

.program-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--clr-white);
  text-transform: uppercase;
  line-height: 1.4;
}

.program-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

.page-hero-banner {
  width: 100%;
  min-height: 250px;
  padding-top: calc(var(--header-height) + var(--header-top-height) + 60px);
  padding-bottom: 60px;
  margin-top: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.page-hero-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.hero-banner-action-card {
  background: rgba(30, 58, 138, 0.85);
  /* semi-transparent --clr-blue */
  padding: 30px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 600px;
  max-width: 100%;
}

.hero-banner-action-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero-banner-action-title {
  color: var(--clr-white);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  font-family: var(--font-heading);
  margin: 0;
}

.hero-banner-action-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
}

.social-links-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 15px;
  /* space before mobile toggle / other actions */
}

.social-links-header a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--clr-blue);
  color: var(--clr-white);
  transition: all 0.3s ease;
}

.social-links-header a:hover {
  background: var(--clr-accent);
  color: var(--clr-white);
}

/* ==========================================================================
   Utility Classes (Extracted inline styles)
   ========================================================================== */

.inline-style-1 {
  grid-column: 1/-1;
  text-align: center;
}

.inline-style-2 {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.inline-style-3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.inline-style-4 {
  font-size: 0.95rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

.inline-style-5 {
  margin-top: 50px;
  text-align: center;
}

.inline-style-6 {
  color: inherit;
  text-decoration: none;
}

.u-mt-auto {
  margin-top: auto;
}

.inline-style-8 {
  color: var(--clr-accent);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.inline-style-9 {
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: block;
  line-height: 0;
}

.u-delay-100 {
  transition-delay: 0.1s;
}

.u-delay-200 {
  transition-delay: 0.2s;
}

.inline-style-12 {
  position: relative;
}

.inline-style-13 {
  width: 100%;
  text-align: center;
}

.inline-style-14 {
  white-space: nowrap;
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  letter-spacing: -1px;
}

.inline-style-15 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.inline-style-16 {
  padding: 10px 20px;
}

.u-mb-50 {
  margin-bottom: 50px;
}

.u-text-center {
  text-align: center;
}

.inline-style-19 {
  padding-bottom: 50px;
}

.inline-style-20 {
  height: 100%;
}

.inline-style-21 {
  margin-top: 30px;
}

.u-mt-50 {
  margin-top: 50px;
}

.inline-style-23 {
  min-width: 200px;
}

.inline-style-24 {
  white-space: nowrap;
}

.inline-style-25 {
  color: var(--text-light);
}

.inline-style-26 {
  color: var(--clr-accent);
  font-size: 2rem;
  margin-bottom: 10px;
}

.inline-style-27 {
  color: var(--text-light);
  font-size: 0.95rem;
}

.inline-style-28 {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.inline-style-30 {
  margin: 0;
  font-size: 1.1rem;
}

.inline-style-31 {
  color: var(--text-light);
  font-size: 0.8rem;
}

.inline-style-32 {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.inline-style-33 {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--clr-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.inline-style-35 {
  text-align: center;
  width: 100%;
  grid-column: 1 / -1;
  color: var(--text-light);
}

.inline-style-36 {
  color: var(--clr-white);
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-family: var(--font-heading);
  font-weight: 700;
}

.inline-style-37 {
  margin-bottom: 30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.inline-style-38 {
  font-size: 1.1rem;
  max-width: 900px;
}

.inline-style-39 {
  font-size: 1.1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.inline-style-40 {
  margin-top: 30px;
  gap: 50px;
  margin-bottom: 0;
}

.inline-style-41 {
  font-size: 1.1rem;
  max-width: 800px;
}

.training-info {
  padding-top: 15px;
}

.inline-style-42 {
  border-radius: var(--radius-lg);
  overflow: hidden;
  align-self: start;
  position: sticky;
  top: 120px;
}

.u-mb-30 {
  margin-bottom: 30px;
}

.inline-style-44 {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.u-mb-40 {
  margin-bottom: 40px;
}

.inline-style-46 {
  color: var(--text-light);
  font-size: 0.9rem;
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.discounts-page-content {
  margin-top: -30px;
  margin-bottom: 60px;
}

.discounts-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.discount-item {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease,
    box-shadow 0.3s ease;
}

.discount-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.discount-item-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.discount-item-icon {
  font-size: 1.5rem;
  background: #eef2ff;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.discount-item-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.discount-item-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--clr-black);
}

.discount-item-amount {
  font-weight: 500;
  color: var(--clr-accent);
  background: #fff0f0;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.inline-style-47 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.inline-style-48 {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-main);
}

.inline-style-49 {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--clr-gray);
}

.u-mb-20 {
  margin-bottom: 20px;
}

.u-mx-auto {
  margin: 0 auto;
}

.inline-style-52 {
  color: var(--clr-blue);
}

.inline-style-53 {
  display: flex;
  gap: 15px;
  margin-top: 5px;
}

.inline-style-54 {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}

.inline-style-55 {
  width: 100%;
  border: 1px solid var(--clr-gray);
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.inline-style-56 {
  width: 100%;
  padding: 16px;
}

.inline-style-59 {
  margin-bottom: 25px;
  color: var(--text-light);
  line-height: 1.5;
}

/* ==========================================================================
   Utility Classes (Extracted inline styles)
   ========================================================================== */

/* Reviews Archive specific styles extracted from PHP files */

.u-mt-40 {
  margin-top: 40px !important;
}

.u-mb-20 {
  margin-bottom: 20px !important;
}

.u-mb-30 {
  margin-bottom: 30px !important;
}

.u-mb-40 {
  margin-bottom: 40px !important;
}

.u-mb-50 {
  margin-bottom: 50px !important;
}

.u-mt-50 {
  margin-top: 50px !important;
}

.reviews-archive-top-actions {
  margin-bottom: 40px;
}

.review-avatar-container {
  flex-shrink: 0;
}

.review-content-text {
  color: #555555;
}

.reviews-empty-callout {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  background: var(--clr-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.reviews-empty-callout-text {
  font-size: 1.1rem;
  color: var(--text-main);
}

.review-text-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  /* 4 lines maximum for identical block heights */
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

#reviews .swiper {
  padding-bottom: 50px !important;
}

#reviews .swiper-pagination-bullet {
  width: 16px !important;
  height: 16px !important;
}

/* ====================================================================================================
   CUSTOM CHECKBOX FOR PRIVACY POLICY
   ==================================================================================================== */

.form-checkbox-group {
  margin-bottom: 20px;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  position: relative;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: relative;
  top: 2px;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: var(--clr-white);
  border: 1px solid var(--clr-gray);
  border-radius: 4px;
  margin-right: 10px;
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.custom-checkbox:hover input~.checkmark {
  border-color: var(--clr-blue);
}

.custom-checkbox input:checked~.checkmark {
  background-color: var(--clr-blue);
  border-color: var(--clr-blue);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input:checked~.checkmark:after {
  display: block;
}

.custom-checkbox .checkmark:after {
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-text a {
  color: var(--clr-blue);
  text-decoration: underline;
}

.checkbox-text a:hover {
  color: var(--clr-accent);
}

/* ==========================================================================
   Contacts Template Styles
   ========================================================================== */

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-card {
  background: var(--bg-main);
  border: 1px solid var(--clr-gray);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.contact-card h3 {
  margin-bottom: 30px;
  font-size: 2rem;
  color: var(--clr-primary);
}

.contact-item {
  margin-bottom: 25px;
}

.contact-item .item-label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.contact-item .item-label.branch-address-label {
  font-size: 1.3rem;
  color: var(--text-main);
  font-weight: 600;
}

.contact-item a,
.contact-item p {
  color: var(--text-main);
  text-decoration: none;
  line-height: 1.5;
  font-weight: 500;
  margin: 0;
}

.contact-item a:hover {
  color: var(--clr-accent);
}

.contact-social-link {
  font-size: 1.15rem;
  font-weight: 500;
  position: relative;
  color: var(--clr-blue);
  text-decoration: none;
}

.contact-social-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(30, 58, 138, 0.3);
  transition: background-color var(--transition-base);
}

.contact-social-link:hover {
  color: var(--clr-accent);
}

.contact-social-link:hover::after {
  background-color: var(--clr-accent);
}

.requisites-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
}

.req-item {
  padding-bottom: 15px;
  border-bottom: 1px solid var(--clr-gray);
}

.req-item.full-width {
  grid-column: 1 / -1;
}

.req-item .item-label {
  display: block;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.req-item span {
  font-weight: 500;
  color: var(--text-main);
}

/* ==========================================================================
   Header Logo
   ========================================================================== */

.site-branding .logo img {
  display: block;
  height: 65px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   Utility Classes (Extracted inline styles v2)
   ========================================================================== */

.styled-box-100 {
  padding: 120px 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.styled-box-101 {
  margin-bottom: 40px;
}

.styled-box-102 {
  position: relative;
  text-align: center;
  margin-bottom: 30px;
}

.styled-box-103 {
  display: inline-block;
}

.styled-box-104 {
  font-size: clamp(120px, 25vw, 280px);
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: none;
}

.styled-box-105 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  color: var(--clr-text);
}

.styled-box-106 {
  max-width: 600px;
  margin: 0 auto;
}

.styled-box-107 {
  color: var(--clr-dark-gray);
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.styled-box-108 {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.styled-box-109 {
  min-width: 200px;
}

.styled-box-110 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.styled-box-111 {
  text-align: center;
}

.styled-box-112 {
  display: flex;
  align-items: center;
  gap: 20px;
}

.styled-box-113 {
  position: relative;
}

.styled-box-114 {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: var(--clr-black);
  transition: color 0.3s ease;
}

.styled-box-115 {
  position: absolute;
  top: calc(100% + 15px);
  right: -10px;
  width: 300px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.styled-box-116 {
  display: flex;
  gap: 10px;
}

.styled-box-117 {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 12px;
  outline: none;
  transition: border-color 0.3s ease;
  font-family: inherit;
  font-size: 0.95rem;
  min-width: 0;
  color: var(--clr-text);
}

.styled-box-118 {
  background: var(--clr-accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.styled-box-119 {
  padding: 60px 0;
  min-height: 60vh;
}

.styled-box-120 {
  margin-bottom: 50px;
}

.styled-box-121 {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 500;
  color: var(--clr-text);
}

.styled-box-122 {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.styled-box-123 {
  aspect-ratio: 16/10;
  overflow: hidden;
  display: block;
  background: #eee;
}

.styled-box-124 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.styled-box-125 {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.styled-box-126 {
  color: var(--clr-dark-gray);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.styled-box-127 {
  margin: 0 0 15px;
  font-size: 1.25rem;
  font-weight: 600;
}

.styled-box-128 {
  color: inherit;
  text-decoration: none;
}

.styled-box-129 {
  color: var(--clr-text);
  margin-bottom: 20px;
  line-height: 1.5;
  flex-grow: 1;
}

.styled-box-130 {
  margin-top: auto;
}

.styled-box-131 {
  color: var(--clr-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.styled-box-132 {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.styled-box-133 {
  padding: 60px 0;
}

.styled-box-134 {
  margin-bottom: 20px;
}

.styled-box-135 {
  font-size: clamp(40px, 8vw, 80px);
  text-transform: none;
  letter-spacing: -0.02em;
}

.styled-box-136 {
  color: var(--clr-dark-gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.styled-box-137 {
  max-width: 500px;
  margin: 0 auto 50px;
}

/* ==========================================================================
   Utility Classes (Extracted inline styles v2)
   ========================================================================== */

/* ====================================================================================================
   EXTRACTED FROM TEMPLATE-SITEMAP.PHP
   ==================================================================================================== */

.sitemap-content {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: start;
}

/* ==========================================================================
   Utility Classes (Extracted inline styles v3)
   ========================================================================== */

/* ==========================================================================
   AI Extracted Inline Styles
   ========================================================================== */

.content-cover-img {
  width: 100%;
  height: auto;
}

.pt-80 {
  padding-top: 80px;
}

.title-clamp {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.divider-line {
  margin: 0;
  padding: 0;
  height: 1px;
  border: none;
  background-color: var(--clr-gray, #e5e7eb);
}

.section-training-program {
  padding-top: 80px;
  box-shadow: 0 -17px 30px 4px rgba(0, 0, 0, 0.05);
}

.mb-40 {
  margin-bottom: 40px;
}

.discount-title {
  color: var(--clr-blue);
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-weight: 700;
}

.align-start {
  align-items: flex-start;
}

.mb-5 {
  margin-bottom: 5px;
}

.discount-content {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.4;
}

.training-sidebar-sticky {
  align-self: start;
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.training-price-large {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clr-black);
}

.training-btn-wrap {
  margin-bottom: 30px;
  justify-content: center;
  width: 100%;
}

.btn-enroll-large {
  width: 100%;
  max-width: 300px;
  padding: 15px 30px;
  font-size: 1.1rem;
}

.mt-20-static {
  position: static;
  margin-top: 20px;
}

.training-cover-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

.branch-info-card {
  background: var(--clr-white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.mb-20-fs115 {
  margin-bottom: 20px;
  font-size: 1.15rem;
}

.branch-label-uppercase {
  color: var(--clr-dark-gray);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.branch-phone-link {
  color: var(--clr-blue);
  font-weight: 700;
  text-decoration: none;
}

.mb-20-lh15 {
  margin-bottom: 20px;
  line-height: 1.5;
}

.fs09-fw600 {
  font-size: 0.9rem;
  font-weight: 600;
}

.flex-grow-1 {
  flex-grow: 1;
}

.mt-auto-pt-30 {
  margin-top: auto;
  padding-top: 30px;
}

.btn-full-center {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.branch-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/** ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */

/** ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */

/* ====================================================================================================
   BRANCH ROUTE ACTIONS
   ==================================================================================================== */

.branch-routes-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.branch-route-btn {
  flex: 1;
  text-align: center;
}

.branch-routes-hint {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
  text-align: center;
}

/* ==========================================================================
   About Page Styles
   ========================================================================== */

.hero-about.section {
  padding: 30px 0 0;
}

.about-hero-content {
  max-width: 100%;
}

.about-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--clr-black);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.reasons-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-transform: uppercase;
}

.about-hero-lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 20px;
}

.about-info-text h2 {
  color: var(--clr-black);
  margin-bottom: 30px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-transform: uppercase;
}

.styled-box-lg {
  border-radius: var(--radius-lg);
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.section-desc {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text-light);
}

/* ====================================================================================================
   REASONS GRID
   ==================================================================================================== */

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.reason-card {
  background-color: var(--clr-light-gray);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  gap: 20px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border: 1px solid var(--clr-gray);
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.reason-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--clr-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
  background-color: transparent;
}

.reason-content h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--clr-black);
}

.reason-content p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--text-light);
}

/* ====================================================================================================
   CTA
   ==================================================================================================== */

.amount-btn {
  margin-top: 30px;
}

.cta-box-large {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--clr-blue);
  color: var(--clr-white);
  padding: 60px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-box-large::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}

.cta-box-large h2 {
  color: var(--clr-white);
  position: relative;
  z-index: 1;
}

.cta-box-large p {
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}

.cta-box-large .lead {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 30px;
}

.cta-actions {
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.15);
  padding: 30px;
  border-radius: var(--radius-md);
  margin-top: 30px;
}

.highlight-text {
  font-size: 1.1rem;
  color: var(--clr-white);
  margin-top: 20px;
}

/* ====================================================================================================
   MOBILE RESPONSIVE ADJUSTMENTS
   ==================================================================================================== */

/* Centered layout for training page when left column is empty */

.training-center-layout {
  display: block;
  text-align: center;
}

.training-center-layout .training-sidebar {
  max-width: 600px;
  margin: 0 auto;
  position: static;
}

.training-center-layout .training-price-wrap {
  justify-content: center;
}

.training-center-layout .training-cover-img {
  margin-left: auto;
  margin-right: auto;
}

/* Pricing layout fixes for multiple options */

.training-prices-list {
  margin-bottom: 25px;
  width: 100%;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 15px;
}


/* ====================================================================================================
   DOCUMENTS PAGE (ACCORDION)
   ==================================================================================================== */
.documents-accordion-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.documents-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.doc-group-item {
  background-color: var(--clr-white);
  border-radius: 7px;
  box-shadow: none;
  overflow: hidden;
  border: 1px solid transparent;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.doc-group-item:hover,
.doc-group-item.active {
  box-shadow: var(--shadow-md);
}

.doc-group-item.active {
  border-color: var(--clr-gray);
}

.doc-group-header {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: var(--clr-blue);
  transition: background-color var(--transition-base);
}

.doc-group-item.active .doc-group-header {
  background-color: var(--clr-white);
  border-bottom: 1px solid var(--clr-gray);
}

.doc-group-title {
  font-size: 1.25rem;
  margin: 0;
  color: var(--clr-white);
  font-weight: 500;
  transition: color var(--transition-base);
}

.doc-group-item.active .doc-group-title {
  color: var(--clr-black);
}

.doc-group-toggle-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--clr-white);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
}

.doc-group-toggle-icon::before,
.doc-group-toggle-icon::after {
  content: "";
  position: absolute;
  background-color: var(--clr-accent);
  transition: transform var(--transition-base);
}

.doc-group-toggle-icon::before {
  width: 14px;
  height: 2px;
}

.doc-group-toggle-icon::after {
  height: 14px;
  width: 2px;
}

.doc-group-item.active .doc-group-toggle-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.doc-group-item.active .doc-group-toggle-icon {
  transform: rotate(180deg);
}

.doc-group-content {
  padding: 25px;
}

.doc-files-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.doc-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 20px;
  border: 1px solid var(--clr-gray);
  border-radius: 7px;
  background-color: var(--clr-white);
  text-decoration: none !important;
  transition: all var(--transition-base);
}

.doc-file-item-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-grow: 1;
}

.doc-file-item:hover {
  border-color: var(--clr-accent);
  box-shadow: var(--shadow-sm);
}

.doc-file-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--clr-white);
  position: relative;
}

.icon-file-pdf {
  background-color: #E2574C;
}

.icon-file-word {
  background-color: #2b579a;
}

.icon-file-excel {
  background-color: #217346;
}

.icon-file-image {
  background-color: #8C52FF;
}

.icon-file-zip {
  background-color: #fca130;
}

.icon-file-generic {
  background-color: var(--clr-graphite);
}

.icon-file-pdf::after {
  content: "PDF";
}

.icon-file-word::after {
  content: "DOC";
}

.icon-file-excel::after {
  content: "XLS";
}

.icon-file-image::after {
  content: "IMG";
}

.icon-file-zip::after {
  content: "ZIP";
}

.icon-file-generic::after {
  content: "FILE";
}

.doc-file-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.doc-file-name {
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.3;
}

.doc-file-meta {
  font-size: 0.85rem;
  color: var(--text-light);
}

.doc-file-ext {
  font-weight: 600;
  color: var(--clr-gray-dark);
}

.doc-file-action {
  flex-shrink: 0;
}

.doc-download-btn {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-accent);
  background-color: rgba(230, 57, 70, 0.1);
  border-radius: 7px;
  transition: all var(--transition-base);
}

.doc-file-item:hover .doc-download-btn {
  background-color: var(--clr-accent);
  color: var(--clr-white);
}

.doc-empty-msg {
  color: var(--text-light);
  font-style: italic;
  margin: 0;
}



/* ====================================================================================================
   DOCUMENT IMAGE GRID & LIGHTBOX
   ==================================================================================================== */
.doc-image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.doc-gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 7px;
  border: 1px solid var(--clr-gray);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  aspect-ratio: 3 / 4;
}

.doc-gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-accent);
}

.doc-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.doc-gallery-item:hover .doc-gallery-img {
  transform: scale(1.05);
}

.doc-gallery-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.doc-gallery-caption {
  font-size: 0.85rem;
  color: #888;
  font-style: italic;
  text-align: center;
  margin: 0;
  line-height: 1.3;
}

/* Lightbox Base */
.doc-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.doc-lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.doc-lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 7px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.doc-lightbox-close {
  position: absolute;
  top: -40px;
  right: 0px;
  color: var(--clr-text);
  font-size: 35px;
  cursor: pointer;
  line-height: 1;
  font-weight: 300;
  background: none;
  border: none;
  padding: 0;
  z-index: 2;
}

.doc-lightbox-close:hover {
  color: var(--clr-accent);
}

/* Embedded Media Queries */
@media (max-width: 992px) {
  .doc-image-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .doc-image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .doc-image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}


/* ==========================================================================
   АДАПТИВНОСТЬ (MEDIA QUERIES)
   ========================================================================== */

/* --- ПЛАНШЕТЫ (992PX) --- */

@media (max-width: 992px) {
  .cta-horizontal-inner {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .cta-horizontal-title {
    font-size: 1.8rem;
  }

  .cta-horizontal-box {
    flex-basis: auto;
    width: 100%;
    flex-direction: column;
    text-align: center;
  }

  .about-info .grid-2,
  .discounts-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .styled-box-lg {
    height: auto;
    min-height: auto;
  }
}

/* --- ПЛАНШЕТЫ (992PX) --- */

@media (max-width: 980px) {

  .main-nav,
  .header-actions .btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .inline-style-40 {
    grid-template-columns: 1fr;
  }

  .contacts-grid,
  .requisites-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-card {
    padding: 30px;
  }
}

/* --- МОБИЛЬНЫЕ (768PX) --- */

@media (min-width: 768px) {
  .promo-image-col img {
    max-height: 600px;
  }

  .promo-content-wrapper.has-image {
    flex-direction: row;
    gap: 20px;
    /* Очень большой отступ между картинкой и текстом */
    align-items: center;
  }

  .promo-image-col {
    flex: 0 0 450px;
    max-width: 450px;
  }

  .promo-text-col {
    flex: 1;
    padding: 60px 60px 60px 0;
  }

  .sitemap-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- НОУТБУКИ (1024PX) --- */

@media (max-width: 1024px) {
  .hero-fullwidth {
    padding-top: calc(var(--header-height) + 120px);
  }

  .page-hero-banner {
    padding-top: calc(var(--header-height) + 60px);
  }

  .header-top {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-height) + 60px);
  }

  .site-header.scrolled {
    transform: none;
  }

  .custom-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .custom-footer-col:nth-child(odd) {
    padding-left: 30px;
    padding-right: 30px;
  }

  .custom-footer-col:nth-child(even) {
    padding-left: 30px;
    padding-right: 30px;
    border-right: none;
  }

  .custom-footer-col:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .glow-title {
    font-size: 20vw;
  }
}

/* --- МОБИЛЬНЫЕ (768PX) --- */

@media (max-width: 768px) {
  .custom-footer-grid {
    grid-template-columns: 1fr;
  }

  .custom-footer-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
  }

  .custom-footer-col:last-child {
    grid-column: span 1;
    border-top: none;
  }

  .custom-footer-middle,
  .custom-footer-bottom {
    padding: 40px 20px;
  }

  .custom-footer-bottom {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .custom-footer-bottom-left,
  .custom-footer-bottom-right {
    max-width: 100%;
    text-align: left;
  }

  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
  }

  .page-hero-banner-inner {
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    text-align: center;
  }

  .hero-banner-action-card {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 20px;
  }

  .hero-banner-action-content {
    align-items: center;
  }

  .hero-about {
    padding-top: 30px;
  }

  .about-hero-title {
    font-size: 1.8rem;
  }

  .about-hero-lead {
    font-size: 1.1rem;
  }

  .cta-box-large {
    padding: 30px 20px;
  }

  .cta-actions {
    padding: 20px 15px;
  }
}

/* --- МАЛЫЕ ЭКРАНЫ (576PX) --- */

@media (max-width: 580px) {
  .site-branding .logo img {
    height: 44px;
    /* ====================================================================================================
   REDUCED FROM 65PX
   ==================================================================================================== */
  }

  .social-links-header a {
    width: 30px;
    /* ====================================================================================================
   REDUCED FROM 36PX
   ==================================================================================================== */
    height: 30px;
  }

  .social-links-header a svg {
    width: 18px;
    /* ====================================================================================================
   STANDARDIZE INNER SVG ICON SIZE
   ==================================================================================================== */
    height: 18px;
  }

  /* ====================================================================================================
   ALLOW MAIN TITLE TO WRAP
   ==================================================================================================== */

  .inline-style-24,
  .hero-title span {
    white-space: normal !important;
  }

  /* ====================================================================================================
   DECREASE PARAGRAPH UNDER SUBTITLE
   ==================================================================================================== */

  .hero-subtitle {
    font-size: 1rem;
  }

  .modal-container {
    padding: 10px 5px;
  }
}

/* --- МАЛЫЕ ЭКРАНЫ (576PX) --- */

@media (max-width: 576px) {
  .hero-banner-action-card {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 20px;
  }

  .social-links {
    flex-direction: column;
  }

  .social-links .btn {
    width: 100%;
    text-align: center;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .branch-routes-actions {
    flex-direction: column;
  }

  .branch-route-btn {
    flex: none;
    width: 100%;
  }
}

/* --- МАЛЫЕ ЭКРАНЫ (576PX) --- */

@media (max-width: 480px) {
  .training-discounts-wrap {
    text-align: center;
  }

  .training-discounts-wrap h4 {
    text-align: center;
  }

  .discount-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 20px 15px;
  }

  .discount-item-info {
    flex-direction: column;
    align-items: center !important;
    text-align: center;
    gap: 12px;
  }
}