/* Base Design System - Based on Finexo Template Design Code */

:root {
    /* Colors */
    --midnight-blue: #13274d;
    --bright-royal-blue: #0556f2;
    --slate-gray: #706f7e;
    --steel-gray: #5a606a;
    --silver-gray: #d9dade;
    --white: #ffffff;
    --soft-white: #f3f3f3;
    --transparent: #fff0;

    /* Backgrounds */
    --bg-default: var(--white);
    --bg-light: var(--soft-white);
    --bg-dark: var(--midnight-blue);

    /* Text */
    --text-primary: var(--midnight-blue);
    --text-secondary: var(--slate-gray);
    --text-light: var(--steel-gray);
    --text-inverse: var(--white);

    /* Typography */
    --font-family--primary: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-family--secondary: 'Noto Serif', Georgia, serif;

    /* Font Sizes */
    --font--h1: 64px;
    --font--h2: 52px;
    --font--h3: 32px;
    --font--h4: 28px;
    --font--h5: 26px;
    --font--h6: 24px;
    --font--paragraph: 18px;
    --font--paragraph-s: 16px;

    /* Line Heights */
    --line-height-tiny: 113%;
    --line-height-regular: 110%;
    --line-height-s: 100%;
    --line-height-m: 120%;
    --line-height-l: 130%;
    --line-height-xl: 140%;
    --line-height-xxl: 150%;

    /* Font Weights */
    --font-weight--regular: 400;
    --font-weight--semi-bold: 500;
    --font-weight--bold: 600;
    --font-weight--extra-bold: 700;

    /* Spacing */
    --spacing-l: 130px;
    --spacing-m: 90px;
    --spacing-s: 80px;

    /* Effects */
    --radius-s: 8px;
    --radius-m: 12px;
    --radius-l: 14px;
    --radius-xl: 16px;
    --transition-default: 0.3s;
    --transition-fast: 0.1s;
}

/* Global Styles */
* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    font-family: var(--font-family--primary);
    font-size: var(--font--paragraph);
    line-height: var(--line-height-xxl);
    font-weight: var(--font-weight--semi-bold);
    color: var(--text-secondary);
    background-color: var(--bg-default);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: var(--font-weight--bold);
}

h1 {
    font-size: var(--font--h1);
    line-height: var(--line-height-tiny);
    letter-spacing: -1.28px;
}

h2 {
    font-size: var(--font--h2);
    line-height: var(--line-height-regular);
    letter-spacing: -0.52px;
}

h3 {
    font-size: var(--font--h3);
    line-height: var(--line-height-l);
    letter-spacing: -0.32px;
}

h4 {
    font-size: var(--font--h4);
    line-height: var(--line-height-regular);
    letter-spacing: -0.56px;
}

h5 {
    font-size: var(--font--h5);
    line-height: var(--line-height-l);
    letter-spacing: -0.26px;
}

h6 {
    font-size: var(--font--h6);
    line-height: var(--line-height-regular);
    letter-spacing: -0.24px;
}

p {
    margin-top: 0;
    margin-bottom: 10px;
}

a {
    color: var(--bright-royal-blue);
    text-decoration: none;
    transition: color var(--transition-default);
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout */
.container {
    max-width: 1310px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.section {
    padding: var(--spacing-s) 0;
}

.section.hero {
    padding: var(--spacing-l) 0 60px;
    background-color: var(--midnight-blue);
    color: var(--white);
}

.hero.v2 {
    background-color: var(--midnight-blue);
    padding: 80px 0 60px;
    color: var(--white);
}

.hero-wrapper {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    color: var(--white);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 20px;
    color: var(--silver-gray);
    margin-bottom: 0;
}

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

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--white);
}

/* Components - Breadcrumbs */
.breadcrumb-section {
    padding: 15px 0;
    font-size: 14px;
    font-weight: var(--font-weight--semi-bold);
    background-color: var(--white);
    border-bottom: 1px solid var(--soft-white);
}

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

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--slate-gray);
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    color: var(--silver-gray);
    font-size: 12px;
}

.breadcrumb-link {
    color: var(--bright-royal-blue);
    text-decoration: none;
    transition: color var(--transition-default);
}

.breadcrumb-link:hover {
    color: var(--midnight-blue);
}

.breadcrumb-current {
    color: var(--slate-gray);
}

/* Breadcrumbs inside dark Hero if moved there */
.hero .breadcrumb-section {
    background-color: transparent;
    border-bottom: none;
    padding: 0 0 20px;
}

/* Hero Trust Bar */
.hero-trust-bar {
    display: flex;
    gap: 20px;
    margin: 30px 0 40px;
    animation: fadeInUp 0.8s ease backwards 0.4s;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.trust-icon {
    font-size: 18px;
}

.trust-text {
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-text strong {
    font-size: 16px;
    color: var(--white);
    line-height: 1;
}

.trust-text span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

/* Active Consultation Button */
.hero-button-wrapper .button.primary {
    padding: 18px 45px;
    font-size: 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-button-wrapper .button.primary:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(26, 115, 232, 0.6);
}

.hero-button-wrapper .button.primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite, pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(26, 115, 232, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0);
    }
}

@keyframes shine {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

@media screen and (max-width: 767px) {

    .hero-title,
    h1 {
        font-size: 32px !important;
        line-height: var(--line-height-m);
        letter-spacing: -0.5px;
    }

    .hero.v2 {
        padding: 40px 0 40px;
    }

    .hero-trust-bar {
        flex-direction: column;
        gap: 15px;
    }
}

.hero .breadcrumb-item {
    color: rgba(255, 255, 255, 0.6);
}

.hero .breadcrumb-link {
    color: rgba(255, 255, 255, 0.8);
}

.hero .breadcrumb-link:hover {
    color: var(--white);
}

.hero .breadcrumb-item:not(:last-child)::after {
    color: rgba(255, 255, 255, 0.3);
}

/* Grids - Webflow legacy style */
.w-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.w-col {
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
}

.w-col-3 {
    width: 25%;
}

.w-col-4 {
    width: 33.33%;
}

.w-col-6 {
    width: 50%;
}

.w-col-8 {
    width: 66.66%;
}

.w-col-9 {
    width: 75%;
}

@media screen and (max-width: 991px) {
    .w-col-medium-6 {
        width: 50%;
    }

    .w-col-medium-12 {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .w-col-small-12 {
        width: 100%;
    }

    .w-row {
        flex-direction: column;
    }

    .w-col {
        width: 100% !important;
        margin-bottom: 20px;
    }
}

/* Components - Buttons */
.button {
    display: inline-block;
    padding: 14px 24px;
    background-color: var(--bright-royal-blue);
    color: var(--white);
    border-radius: var(--radius-s);
    text-align: center;
    font-weight: var(--font-weight--bold);
    cursor: pointer;
    border: none;
    transition: background-color var(--transition-default), transform var(--transition-fast);
}

.button:hover {
    background-color: #044bd1;
    transform: translateY(-2px);
    color: var(--white);
}

.button:active {
    transform: translateY(0);
}

.button.secondary {
    background-color: var(--soft-white);
    color: var(--midnight-blue);
}

.button.secondary:hover {
    background-color: var(--silver-gray);
}

.button.large {
    padding: 18px 36px;
    font-size: 20px;
}

.primary-button-text {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Components - Cards */
.card {
    background-color: var(--white);
    border-radius: var(--radius-m);
    padding: 30px;
    box-shadow: 0 4px 20px rgba(19, 39, 77, 0.05);
    transition: transform var(--transition-default), box-shadow var(--transition-default);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(19, 39, 77, 0.1);
}

.guidence-card-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    text-decoration: none;
}

.guidence-icon-wrapper {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--soft-white);
    border-radius: var(--radius-s);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.guidence-details-wrapper {
    flex-grow: 1;
}

.guidence-title {
    margin-bottom: 8px;
    font-size: 22px;
}

.guidence-title a {
    color: var(--midnight-blue);
    text-decoration: none;
    transition: color var(--transition-default);
}

.guidence-title a:hover {
    color: var(--bright-royal-blue);
}

.guidence-description {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--slate-gray);
}

.card-button-wrapper {
    margin-top: 15px;
}

/* Section Titles */
.section-title {
    font-size: var(--font--h2);
    font-weight: var(--font-weight--bold);
    color: var(--midnight-blue);
    margin-bottom: 20px;
}

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

/* Listing Grid */
.listing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media screen and (max-width: 991px) {
    .listing-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section-title {
        font-size: 36px;
    }
}

@media screen and (max-width: 767px) {
    .listing-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }
}

/* Forms */
.form-field {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--soft-white);
    border-radius: var(--radius-s);
    background-color: var(--soft-white);
    font-family: inherit;
    font-size: 16px;
    transition: border-color var(--transition-default), background-color var(--transition-default);
}

.form-field:focus {
    outline: none;
    border-color: var(--bright-royal-blue);
    background-color: var(--white);
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

/* Tabs and Alphabet */
.tabs-menu {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tab-button {
    padding: 10px 20px;
    border: 1px solid var(--silver-gray);
    border-radius: var(--radius-s);
    color: var(--midnight-blue);
    background-color: var(--white);
    font-weight: var(--font-weight--semi-bold);
    cursor: pointer;
    transition: all var(--transition-default);
}

.tab-button:hover,
.tab-button.w--current {
    background-color: var(--bright-royal-blue);
    color: var(--white);
    border-color: var(--bright-royal-blue);
}

/* FAQ */
.faq-list-wrapper {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    cursor: pointer;
    padding: 0;
}

.faq-item summary {
    padding: 24px 30px;
    list-style: none;
    font-weight: var(--font-weight--bold);
    font-size: 20px;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 28px;
    transition: transform var(--transition-default);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px 24px;
    border-top: 1px solid var(--soft-white);
}

/* Navbar */
.navbar {
    background-color: var(--white);
    border-bottom: 1px solid var(--soft-white);
    padding: 10px 0;
    z-index: 1000;
}

.navbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.navbar-logo-img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    flex: 1;
    justify-content: center;
}

.nav-menu-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: var(--font-weight--semi-bold);
    color: var(--text-primary);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--bright-royal-blue);
}

.nav-button-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-social-link {
    width: 38px;
    height: 38px;
    background-color: var(--soft-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2313274d'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.64 6.8c-.15 1.58-.8 5.42-1.13 7.19-.14.75-.42 1-.68 1.03-.58.05-1.02-.38-1.58-.75-.88-.58-1.38-.94-2.23-1.5-.99-.65-.35-1.01.22-1.59.15-.15 2.71-2.48 2.76-2.69.01-.03.01-.14-.07-.2-.08-.06-.19-.04-.27-.02-.11.02-1.93 1.23-5.46 3.62-.51.35-.98.52-1.4.51-.46-.01-1.35-.26-2.01-.48-.81-.27-1.45-.42-1.39-.89.03-.24.37-.49 1.02-.73 4.02-1.75 6.7-2.9 8.04-3.46 3.83-1.58 4.63-1.85 5.15-1.86.11 0 .37.03.54.17.14.12.18.28.2.44.02.12.02.26.01.39z'/%3E%3C/svg%3E");
    background-size: 24px;
    background-position: center;
    background-repeat: no-repeat;
}

.navbar-social-link:hover {
    background-color: var(--silver-gray);
}

/* Burger Button */
.navbar-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: var(--soft-white);
    border: none;
    border-radius: var(--radius-s);
    position: relative;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.navbar-toggle-icon {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--midnight-blue);
    position: relative;
    transition: background 0.3s;
}

.navbar-toggle-icon::before,
.navbar-toggle-icon::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--midnight-blue);
    left: 0;
    transition: transform 0.3s;
}

.navbar-toggle-icon::before {
    top: -6px;
}

.navbar-toggle-icon::after {
    top: 6px;
}

.navbar-menu-toggle.active .navbar-toggle-icon {
    background: transparent;
}

.navbar-menu-toggle.active .navbar-toggle-icon::before {
    transform: translateY(6px) rotate(45deg);
}

.navbar-menu-toggle.active .navbar-toggle-icon::after {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Navigation */
@media screen and (max-width: 991px) {
    .navbar-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        z-index: 1000;
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease;
        padding: 40px;
        flex: none;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu-list {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .nav-link {
        font-size: 24px;
    }
}

.no-scroll {
    overflow: hidden;
}

/* Footer */
.footer {
    background-color: var(--midnight-blue);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-heading {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 20px;
}

.footer-link {
    color: var(--silver-gray);
    margin-bottom: 12px;
    display: block;
}

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

.footer-logo-img {
    height: 55px;
    width: auto;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--silver-gray);
    margin-bottom: 25px;
}

.footer-social-wrapper {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat;
}

.social-link:hover {
    background-color: var(--bright-royal-blue);
}

.social-link.vk {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M13.162 18.994c-6.098 0-9.57-4.172-9.715-11.106h3.059c.1 5.088 2.341 7.243 4.115 7.687V7.888h2.877v4.392c1.761-.189 3.585-2.183 4.21-4.392h2.877a10.151 10.151 0 01-3.89 5.8 10.339 10.339 0 014.561 6.1h-3.155c-.628-1.956-2.193-3.463-4.127-3.66v3.66h.188z'/%3E%3C/svg%3E");
}

.social-link.tg {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.64 6.8c-.15 1.58-.8 5.42-1.13 7.19-.14.75-.42 1-.68 1.03-.58.05-1.02-.38-1.58-.75-.88-.58-1.38-.94-2.23-1.5-.99-.65-.35-1.01.22-1.59.15-.15 2.71-2.48 2.76-2.69.01-.03.01-.14-.07-.2-.08-.06-.19-.04-.27-.02-.11.02-1.93 1.23-5.46 3.62-.51.35-.98.52-1.4.51-.46-.01-1.35-.26-2.01-.48-.81-.27-1.45-.42-1.39-.89.03-.24.37-.49 1.02-.73 4.02-1.75 6.7-2.9 8.04-3.46 3.83-1.58 4.63-1.85 5.15-1.86.11 0 .37.03.54.17.14.12.18.28.2.44.02.12.02.26.01.39z'/%3E%3C/svg%3E");
}

@media screen and (max-width: 767px) {
    .footer-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


.footer-bottom-section {
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.footer-bottom-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--silver-gray);
    font-size: 14px;
}

/* Utilities */
.w-hidden {
    display: none !important;
}

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

.w-inline-block {
    display: inline-block;
}

.w-list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}

.h-100 {
    height: 100%;
}

.rich-text-block h1,
.rich-text-block h2,
.rich-text-block h3 {
    margin-top: 40px;
}

.rich-text-block p {
    margin-bottom: 20px;
    font-weight: 400;
    color: var(--steel-gray);
}

/* Quiz Styles */
.quiz-card-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.quiz-progress-wrapper {
    margin-bottom: 30px;
}

.progress-bar-bg {
    height: 8px;
    background-color: var(--soft-white);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--bright-royal-blue);
    width: 25%;
    transition: width 0.4s ease;
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 30px 0;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border: 2px solid var(--soft-white);
    border-radius: var(--radius-s);
    cursor: pointer;
    transition: all var(--transition-default);
}

.quiz-option:hover {
    border-color: var(--silver-gray);
}

.quiz-option input {
    width: 20px;
    height: 20px;
}

.quiz-option:has(input:checked) {
    border-color: var(--bright-royal-blue);
    background-color: rgba(5, 86, 242, 0.05);
}

.quiz-nav {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* Office Map */
#office-map-container {
    height: 450px;
    width: 100%;
    border-radius: var(--radius-m);
}

.office-card.highlighted {
    border: 2px solid var(--bright-royal-blue);
    transform: scale(1.02);
}

.pulse {
    animation: pulse-border 1.5s infinite;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(5, 86, 242, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(5, 86, 242, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(5, 86, 242, 0);
    }
}

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

.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-value {
    font-size: 42px;
    font-weight: var(--font-weight--extra-bold);
    color: var(--bright-royal-blue);
    line-height: var(--line-height-tiny);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
}

@media screen and (max-width: 767px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Sidebar Styles */
.sidebar-card {
    background-color: var(--soft-white);
    padding: 30px;
    border-radius: var(--radius-m);
}

.sidebar-title {
    font-size: 20px;
    margin-bottom: 20px;
}

.sidebar-link {
    display: block;
    padding: 12px 15px;
    background-color: var(--white);
    border-radius: var(--radius-s);
    margin-bottom: 10px;
    color: var(--midnight-blue);
    font-weight: var(--font-weight--semi-bold);
    transition: all var(--transition-default);
}

.sidebar-link:hover {
    background-color: var(--bright-royal-blue);
    color: var(--white);
    transform: translateX(5px);
}

/* Benefits Grid (Hero/Intro) */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: var(--radius-s);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-default);
}

.bg-light .benefit-item {
    background: var(--white);
    border-color: rgba(19, 39, 77, 0.1);
    box-shadow: 0 4px 12px rgba(19, 39, 77, 0.05);
}

.benefit-icon {
    font-size: 24px;
}

.benefit-text {
    font-size: 15px;
    font-weight: var(--font-weight--semi-bold);
    color: var(--midnight-blue);
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.benefit-text strong {
    font-size: 16px;
    font-weight: 700;
}

.benefit-text span {
    font-size: 13px;
    color: var(--slate-gray);
    font-weight: 400;
}

.hero .benefit-text,
.bg-dark .benefit-text {
    color: var(--white);
}

@media screen and (max-width: 991px) {
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 767px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Enhanced Hero v2 */
.hero.v2 {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--midnight-blue) 0%, #1a3a7a 100%);
}

.hero.v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 30px 30px;
}

.paragraph-large {
    font-size: 22px;
    line-height: 1.5;
    color: var(--silver-gray);
    margin-bottom: 20px;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.step-card {
    position: relative;
    padding: 30px;
    text-align: center;
}

.step-number {
    font-size: 48px;
    font-weight: var(--font-weight--extra-bold);
    color: rgba(5, 86, 242, 0.1);
    margin-bottom: 0;
    line-height: 1;
}

.step-title {
    font-size: 20px;
    margin: 15px 0 10px;
}

@media screen and (max-width: 991px) {
    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 767px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* Systems Grid */
.systems-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.system-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-m);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.system-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.system-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.system-item:hover .system-logo {
    filter: grayscale(0);
    opacity: 1;
}

.system-item span {
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-gray);
}

@media screen and (max-width: 991px) {
    .systems-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 479px) {
    .systems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Document Tabs */
.docs-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.docs-tab-btn {
    padding: 12px 24px;
    background: var(--soft-white);
    border: none;
    border-radius: var(--radius-m);
    font-weight: 600;
    color: var(--slate-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.docs-tab-btn.active {
    background: var(--bright-royal-blue);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.docs-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.docs-tab-content.active {
    display: block;
}

/* Tariffs */
.tariffs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.offices-grid.limited>*:nth-child(n+7) {
    display: none !important;
}

.tariff-card {
    display: flex;
    flex-direction: column;
    padding: 40px;
    border: 1px solid var(--soft-white);
}

@media screen and (max-width: 767px) {
    .tariffs-grid {
        grid-template-columns: 1fr;
    }
}

.tariff-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--soft-white);
}

.tariff-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.tariff-price {
    font-size: 36px;
    font-weight: var(--font-weight--extra-bold);
    color: var(--midnight-blue);
}

.tariff-price span {
    font-size: 16px;
    font-weight: var(--font-weight--semi-bold);
    color: var(--slate-gray);
}

.tariff-features {
    flex-grow: 1;
    margin-bottom: 30px;
}

.tariff-features li {
    padding: 8px 0;
    font-size: 16px;
    position: relative;
    padding-left: 25px;
}

.tariff-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--bright-royal-blue);
    font-weight: bold;
}

/* Explanation Comparison */
.explanation-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.explanation-box {
    flex: 1;
    max-width: 400px;
    padding: 30px;
    border-radius: var(--radius-m);
}

.explanation-box.old {
    background-color: #f9f9f9;
    border: 1px dashed var(--silver-gray);
    opacity: 0.8;
}

.explanation-box.new {
    background-color: var(--white);
    border: 2px solid var(--bright-royal-blue);
    position: relative;
    z-index: 1;
}

.box-header {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--slate-gray);
}

.new .box-header {
    color: var(--bright-royal-blue);
}

.box-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
}

.explanation-arrow {
    font-size: 32px;
    color: var(--silver-gray);
}

@media screen and (max-width: 767px) {
    .explanation-comparison {
        flex-direction: column;
    }

    .explanation-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
}

/* Documents */
.doc-item {
    margin-bottom: 20px;
}

.doc-name {
    display: block;
    font-weight: var(--font-weight--bold);
    color: var(--midnight-blue);
}

.doc-note {
    font-size: 14px;
    color: var(--slate-gray);
}

/* Offices */
.offices-summary-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.badge-count {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--soft-white);
    padding: 10px 25px;
    border-radius: 50px;
}

.badge-count .number {
    font-size: 24px;
    font-weight: var(--font-weight--extra-bold);
    color: var(--bright-royal-blue);
}

.badge-count .label {
    font-size: 16px;
    font-weight: var(--font-weight--semi-bold);
    color: var(--midnight-blue);
}

.map-wrapper {
    margin-bottom: 40px;
    overflow: hidden;
    padding: 0;
}

#office-map-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: var(--radius-m);
}

@media screen and (max-width: 767px) {
    .map-wrapper {
        height: 300px;
    }
}

.centered-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.cta-section {
    padding: 80px 0;
    background-color: var(--soft-white);
    margin-top: 40px;
}

.button.large {
    padding: 20px 50px;
    font-size: 18px;
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    animation: slideUp 0.5s ease;
}

@media screen and (max-width: 767px) {
    .mobile-sticky-cta {
        display: block;
    }

    .mobile-sticky-cta .button {
        width: 100%;
        margin: 0;
    }

    /* Отступ снизу для футера, чтобы липкая кнопка не перекрыла контент */
    .main-body {
        padding-bottom: 80px;
    }
}

/* Utility Classes */
.mb-50 {
    margin-bottom: 50px;
}

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

.mt-40 {
    margin-top: 40px;
}

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

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

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

.flex-center {
    justify-content: center;
}

.text-slate {
    color: var(--slate-gray);
}

.centered-limited {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.cta-text {
    margin-bottom: 30px;
}

.bg-light-card {
    background-color: var(--soft-white);
    padding: 25px;
    border: none;
}

.icon-col {
    font-size: 32px;
    text-align: center;
}

.info-box-title {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 700;
}

/* EP Hub - City Cards & Search */
.search-section {
    max-width: 500px;
    margin: 0 auto 40px;
    text-align: center;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 20px;
    font-size: 20px;
    opacity: 0.6;
}

.search-field {
    width: 100%;
    padding: 16px 20px 16px 50px;
    font-size: 18px;
    border: 2px solid var(--silver-gray);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.search-field:focus {
    border-color: var(--bright-royal-blue);
    box-shadow: 0 0 0 4px rgba(5, 86, 242, 0.1);
    outline: none;
}

.search-hint {
    font-size: 14px;
    color: var(--slate-gray);
    margin-top: 10px;
}

.no-results-message {
    display: none;
    text-align: center;
    padding: 40px;
    color: var(--slate-gray);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.city-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: var(--white);
    border: 1px solid var(--silver-gray);
    border-radius: var(--radius-m);
    text-decoration: none;
    transition: all 0.3s ease;
}

.city-card:hover {
    border-color: var(--bright-royal-blue);
    box-shadow: 0 8px 25px rgba(5, 86, 242, 0.15);
    transform: translateY(-3px);
}

.city-card-content {
    flex: 1;
}

.city-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.city-card-region {
    font-size: 14px;
    color: var(--slate-gray);
    margin: 5px 0 0;
}

.city-card-arrow {
    font-size: 20px;
    color: var(--bright-royal-blue);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.city-card:hover .city-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.cities-section {
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
}

@media screen and (max-width: 767px) {
    .cities-grid {
        grid-template-columns: 1fr;
    }

    .search-field {
        font-size: 16px;
        padding: 14px 18px 14px 45px;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Cities Hub Styles */
.search-section {
    margin-bottom: 30px;
}

.search-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.search-wrapper .form-field {
    background-color: var(--white);
    border: 2px solid var(--silver-gray);
    padding: 16px 24px 16px 50px;
    font-size: 16px;
}

.search-wrapper .form-field:focus {
    border-color: var(--bright-royal-blue);
    box-shadow: 0 0 0 3px rgba(5, 86, 242, 0.1);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    pointer-events: none;
}

.search-wrapper {
    position: relative;
}

.alphabet-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
}

.index-card-wrapper {
    padding: 30px;
}

.section-subtitle {
    font-size: 20px;
    font-weight: var(--font-weight--bold);
    color: var(--midnight-blue);
    margin-bottom: 20px;
}

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

.index-column {
    min-width: 0;
}

.index-letter-heading {
    font-size: 24px;
    font-weight: var(--font-weight--bold);
    color: var(--bright-royal-blue);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--soft-white);
}

.index-city-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.index-city-list li {
    margin-bottom: 8px;
}

.index-city-link {
    color: var(--slate-gray);
    font-size: 15px;
    transition: color var(--transition-default);
}

.index-city-link:hover {
    color: var(--bright-royal-blue);
}

.cities-detail-section {
    padding-top: 40px;
}

.alphabet-group-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    margin-top: 50px;
}

.alphabet-group-header:first-child {
    margin-top: 0;
}

.alphabet-letter-tag {
    font-size: 32px;
    font-weight: var(--font-weight--bold);
    color: var(--white);
    background-color: var(--bright-royal-blue);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-s);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.alphabet-separator-line {
    flex-grow: 1;
    height: 2px;
    background-color: var(--soft-white);
}

.city-group-wrapper {
    margin-bottom: 40px;
}

.city-group-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.city-group-title {
    font-size: 28px;
    margin: 0;
}

.city-group-badge {
    font-size: 14px;
    background-color: var(--soft-white);
    color: var(--slate-gray);
    padding: 4px 12px;
    border-radius: 20px;
}

@media screen and (max-width: 991px) {
    .index-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .index-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .alphabet-nav-tabs {
        gap: 6px;
    }

    .alphabet-nav-tabs .tab-button {
        padding: 8px 12px;
        font-size: 14px;
    }

    .city-group-title {
        font-size: 22px;
    }

    .alphabet-letter-tag {
        font-size: 24px;
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 479px) {
    .index-grid {
        grid-template-columns: 1fr;
    }
}

/* Home Page Specific Styles */
.main-hero {
    position: relative;
    overflow: hidden;
    padding: 140px 0 160px;
    background: linear-gradient(135deg, var(--midnight-blue) 0%, #1a3a7a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-accent {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(circle, rgba(5, 86, 242, 0.2) 0%, transparent 75%);
    z-index: 0;
    pointer-events: none;
}

.hero-wrapper {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--white);
}

.hero-title span {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

.paragraph-large {
    font-size: 22px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin-bottom: 45px;
}

.hero-button-wrapper {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-partners-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.partners-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partners-logos {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.partner-mini-logo {
    height: 35px;
    width: auto;
    filter: none;
    opacity: 1;
    transition: transform 0.3s ease;
}

.partner-mini-logo:hover {
    transform: scale(1.1);
}

/* Service Main Cards */
.service-main-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    text-align: left;
    border: 1px solid var(--silver-gray);
}

.service-card-icon {
    font-size: 44px;
    margin-bottom: 25px;
    background: var(--soft-white);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-m);
}

.service-card-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--midnight-blue);
}

.service-card-desc {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: var(--slate-gray);
}

.service-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    flex-grow: 1;
}

.service-card-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--midnight-blue);
}

.service-card-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--bright-royal-blue);
    font-weight: 900;
}

.service-main-card.highlighted {
    background: var(--white);
    border: 2px solid var(--bright-royal-blue);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(5, 86, 242, 0.1);
    z-index: 2;
}

/* Stats Circle Grid */
.stats-card-main {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
}

.stats-circle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-circle-item {
    padding: 35px 15px;
    text-align: center;
    background: var(--soft-white);
    border-radius: var(--radius-m);
    transition: all 0.3s ease;
}

.stat-circle-item.highlight {
    background: var(--bright-royal-blue);
    color: var(--white);
}

.stat-circle-item.highlight .stat-circle-value {
    color: var(--white);
}

.stat-circle-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--midnight-blue);
    margin-bottom: 8px;
}

.stat-circle-label {
    font-size: 15px;
    font-weight: 600;
    opacity: 0.9;
}

/* Reasons List */
.reasons-list {
    margin-top: 40px;
}

.reason-item {
    display: flex;
    gap: 24px;
    margin-bottom: 35px;
}

.reason-icon-small {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.reason-text strong {
    display: block;
    font-size: 19px;
    margin-bottom: 6px;
    color: var(--midnight-blue);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease backwards;
}

.animate-fade-in-delayed {
    animation: fadeIn 0.8s ease backwards 0.8s;
}

.animate-slide-up {
    animation: fadeInUp 0.8s ease backwards;
}

.animate-slide-up-delayed {
    animation: fadeInUp 0.8s ease backwards 0.3s;
}

.animate-slide-up-more {
    animation: fadeInUp 0.8s ease backwards 0.5s;
}

/* Responsive Home */
@media screen and (max-width: 991px) {
    .service-main-card.highlighted {
        transform: none;
        order: -1;
    }

    .hero-title {
        font-size: 52px;
    }

    .main-hero {
        padding: 100px 0 100px;
    }

    .hero-partners-strip {
        margin-top: 40px;
    }
}

@media screen and (max-width: 767px) {
    .hero-title {
        font-size: 38px !important;
    }

    .paragraph-large {
        font-size: 18px;
    }

    .stat-circle-item {
        padding: 25px 10px;
    }

    .stat-circle-value {
        font-size: 28px;
    }

    .partners-logos {
        gap: 20px;
        flex-wrap: wrap;
    }

    .hero-button-wrapper {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
}