* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html,
body {
    font-family: "Manrope";
    background: #f8f8f8;
    height: 100%;
    overflow-x: hidden;
}
a {
    color: inherit;
    text-decoration: none;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}
@keyframes checkmarkAnim {
    0% {
        transform: translate(-50%, -50%) rotate(45deg) scale(0);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) rotate(45deg) scale(1);
        opacity: 1;
    }
}
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.wrap {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 24px;
    animation: fadeInUp 0.8s ease-out;
}

header {
    background: #fff;
    padding: 20px 0;
    margin-bottom: 20px;
    width: 100%;
    animation: fadeInUp 0.6s ease-out;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

header.scrolled .logo-img {
    height: 40px;
    transition: height 0.3s ease;
}

header.scrolled .schedule-title {
    font-size: 14px;
    transition: font-size 0.3s ease;
}

header.scrolled .schedule-time {
    font-size: 16px;
    transition: font-size 0.3s ease;
}

header.scrolled .phone,
header.scrolled .messenger-link {
    font-size: 14px;
    transition: font-size 0.3s ease;
}

header.scrolled .order-btn {
    padding: 12px 25px;
    font-size: 13px;
    border-radius: 12px;
    transition: all 0.3s ease;
}
@media (max-width: 768px) {
    header {
        position: sticky;
        top: 0;
    }
    
    header.scrolled {
        padding: 10px 0;
    }
    
    header.scrolled .logo-img {
        height: 35px;
    }
    
    .mobile-header-controls {
        transition: all 0.3s ease;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 15px !important;
        transition: padding 0.3s ease;
    }
    
    header.scrolled .header-container {
        padding: 0 10px !important;
    }
    
    body {
        padding-top: 0;
    }
    
    .mobile-menu {
        top: 0;
        height: 100vh;
        padding-top: 80px;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

header.header-hidden {
    animation: slideUp 0.3s ease forwards;
}

header.header-visible {
    animation: slideDown 0.3s ease forwards;
}

.header-container {
    max-width: 1550px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: fadeInLeft 0.8s ease-out;
}
.logo-section {
    display: flex;
    align-items: center;
    gap: 50px;
}
.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.logo-img:hover {
    transform: scale(1.05);
}
.schedule-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.schedule-title {
    font-size: 16px;
    font-family: "Manrope";
    color: #6b7280;
    white-space: nowrap;
}
.schedule-time {
    font-size: 18.5px;
    font-family: "Manrope";
    font-weight: 800;
    color: #111827;
    white-space: nowrap;
}
.contact-info {
    display: flex;
    align-items: center;
    gap: 30px;
}
.phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: #111827;
    white-space: nowrap;
    transition: transform 0.3s ease;
}
.phone:hover {
    transform: translateY(-2px);
}
.phone i {
    color: #1e40af;
}
.messengers {
    display: flex;
    align-items: center;
    gap: 20px;
}
.messenger-link {
    font-family: "Manrope";
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4b5563;
    font-size: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 8px;
}
.messenger-link:hover {
    color: #1e40af;
    background: #f3f4f6;
    transform: translateY(-2px);
}
.messenger-link i {
    font-size: 16px;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: fadeInRight 0.8s ease-out;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav-link {
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 8px;
    position: relative;
    font-family: 'Manrope';
    font-weight: 800;
}
.nav-link:hover {
    color: #1e40af;
    background: #f3f4f6;
    transform: translateY(-2px);
}
.nav-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #1e40af;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after {
    width: 80%;
}
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 4px;
    animation: scaleIn 0.5s ease-out;
}
.lang-btn {
    background: none;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.lang-btn.active {
    background: #fff;
    color: #1e40af;
    transform: scale(1.05);
}
.lang-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}
.order-btn {
    padding: 15px 35px;
    border-radius: 15px;
    background: linear-gradient(135deg, #09203f, #537895);
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.order-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}
.order-btn:hover {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    transform: translateY(-4px) scale(1.05);
}
.order-btn:hover::before {
    left: 100%;
}
.order-btn:active {
    transform: translateY(-1px) scale(0.98);
}
.burger-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}
.burger-line {
    width: 100%;
    height: 3px;
    background: #1e40af;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    padding: 80px 20px 30px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-y: auto;
}
.mobile-menu.active {
    right: 0;
}
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
    z-index: 999;
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
.mobile-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transition: all 0.3s ease;
}
.mobile-close-btn:hover {
    background: #e5e7eb;
    transform: rotate(90deg);
}
.mobile-close-btn i {
    font-size: 20px;
    color: #374151;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}
.mobile-nav-link {
    color: #111827;
    font-size: 18px;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.mobile-nav-link:hover {
    background: #f3f4f6;
    color: #1e40af;
    transform: translateX(5px);
}
.mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}
.mobile-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}
.mobile-messengers {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}
.mobile-messenger-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4b5563;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 8px;
    background: #f3f4f6;
    transition: all 0.3s ease;
}
.mobile-messenger-link:hover {
    background: #e5e7eb;
    color: #1e40af;
}
.mobile-language-switcher {
    display: flex;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 4px;
    margin-top: 20px;
}
.mobile-lang-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    text-align: center;
}
.mobile-lang-btn.active {
    background: #fff;
    color: #1e40af;
}
.hero {
    background: linear-gradient(135deg, #1e3c72 0%, #1e3c72 1%, #2a5298 100%);
    border-radius: 60px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    margin: 20px 0;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 20s infinite linear;
}
.hero-text {
    max-width: 600px;
    color: white;
    position: relative;
    z-index: 1;
    animation: fadeInLeft 0.8s ease-out 0.4s both;
}
.hero h1 {
    font-size: 42px;
    line-height: 1.2;
    margin: 0 0 20px;
    font-weight: 700;
    font-family: "Unbounded", sans-serif;
    font-weight: 400;
}
.hero p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
    font-family: "Manrope", sans-serif;
    font-weight: 300;
}
.hero-form {
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    width: 450px;
    padding: 40px;
    position: relative;
    z-index: 1;
    animation: fadeInRight 0.8s ease-out 0.6s both;
    transform-origin: center;
}
.hero-form input {
    padding: 18px 16px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    font-size: 14px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    transition: all 0.3s ease;
}
.hero-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}
.hero-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
.hero-form input:-webkit-autofill,
.hero-form input:-webkit-autofill:hover,
.hero-form input:-webkit-autofill:focus,
.hero-form input:-webkit-autofill:active {
    -webkit-text-fill-color: #fff !important;
    transition: background-color 5000s ease-in-out 0s;
}
.checkbox-group {
    display: flex;
    gap: 30px;
    margin: 20px 0;
}
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
    transition: transform 0.3s ease;
}
.checkbox-group label:hover {
    transform: translateX(5px);
}
.checkbox-group .custom-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkbox-group .checkmark {
    position: absolute;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.checkbox-group label:hover .checkmark {
    border-color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}
.checkbox-group .custom-checkbox:checked ~ .checkmark {
    background-color: white;
    border-color: white;
    animation: pulse 0.4s ease;
}
.checkbox-group .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 5px;
    height: 9px;
    border: solid #3a65b1;
    border-width: 0 2px 2px 0;
}
.checkbox-group .custom-checkbox:checked ~ .checkmark:after {
    display: block;
    animation: checkmarkAnim 0.3s ease 0.2s both;
}
.checkbox-group .checkbox-text {
    font-family: "Manrope";
    font-weight: 400;
    color: white;
}
.hero-form button {
    background: linear-gradient(135deg, #498bea, #3a65b1);
    color: white;
    font-size: 16px;
    padding: 20px;
    border: none;
    border-radius: 12px;
    width: 100%;
    cursor: pointer;
    font-family: "Manrope";
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}
.hero-form button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}
.hero-form button:hover {
    background: linear-gradient(135deg, #3a65b1, #498bea);
    transform: translateY(-3px);
}
.hero-form button:hover::before {
    left: 100%;
}
.hero-form button:active {
    transform: translateY(-1px);
}
.hero-form .note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    margin-top: 12px;
    text-align: center;
}
.stats {
    display: flex;
    gap: 20px;
    margin: 40px 0;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}
.stat {
    background: #e6e9ec;
    padding: 30px;
    border-radius: 25px;
    flex: 1;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.stat h3 {
    font-size: 36px;
    font-family: "Unbounded";
    font-weight: 400;
    margin-bottom: 8px;
    color: #000;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}
.stat.animated h3 {
    animation: countUp 1s ease-out forwards;
}
.stat p {
    color: #6b7280;
    font-size: 14px;
    transition: color 0.3s ease;
}
.section-title {
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 24px;
    color: #111827;
    font-family: "Unbounded";
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 1s both;
    width: 100%;
}
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 1.2s both;
}
.card {
    background: linear-gradient(135deg, #28323c 0%, #485563 100%);
    padding: 30px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}
.card:hover {
    transform: translateY(-10px) scale(1.02);
}
.card:hover::before {
    transform: translateY(0);
}
.card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 400;
    color: #fff;
    font-family: "Unbounded";
    transition: transform 0.3s ease;
}
.card:hover h4 {
    transform: translateX(10px);
}
.card p {
    font-size: 14px;
    line-height: 1.5;
    color: #babec2;
    font-family: "Manrope";
    font-weight: 500;
    transition: transform 0.3s ease 0.1s;
}
.card:hover p {
    transform: translateX(10px);
}
.team {
    margin: 40px 0;
    animation: fadeInUp 0.8s ease-out 1.4s both;
}
.team-grid {
    display: flex;
    gap: 32px;
    justify-content: space-between;
}
.member {
    text-align: center;
    width: 180px;
    transition: all 0.4s ease;
}
.member:hover {
    transform: translateY(-10px);
}
.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 4px solid #f3f4f6;
    transition: all 0.4s ease;
}
.member:hover .avatar {
    transform: scale(1.1);
    border-color: #dbeafe;
}
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.member:hover .avatar img {
    transform: scale(1.1);
}
.member p {
    font-size: 16px;
    font-family: "Unbounded";
    font-weight: 400;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}
.member:hover p {
    color: #1e40af;
}
.member span {
    display: block;
    color: #6b7280;
    font-size: 14px;
    font-family: "Manrope";
    transition: color 0.3s ease;
}
.member:hover span {
    color: #374151;
}
.cta {
    background:
        linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(30, 64, 175, 0.9)),
        url("/img/cta_bg.jpg") center/cover no-repeat;
    color: #fff;
    border-radius: 40px;
    padding: 60px;
    margin: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 1.6s both;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}
.cta h3 {
    font-size: 32px;
    font-family: "Unbounded";
    font-weight: 450;
    margin: 0;
    max-width: 500px;
    position: relative;
    z-index: 1;
}
.cta-btn {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    padding: 25px 100px;
    border-radius: 15px;
    color: #fff;
    font-family: "Manrope";
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 16px;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.cta-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}
.cta-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    transform: translateY(-5px) scale(1.05);
}
.cta-btn:hover::before {
    left: 100%;
}
.cta-btn:active {
    transform: translateY(-2px) scale(1.02);
}
/* Process */
.process {
    margin: 40px 0;
    animation: fadeInUp 0.8s ease-out 1.8s both;
}
.steps {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}
.step {
    flex: 1;
    text-align: center;
    padding: 0 10px;
    transition: transform 0.4s ease;
}
.step:hover {
    transform: translateY(-10px);
}
.step .num {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #cfd9df 0%, #e2ebf0 100%);
    color: #000;
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 16px;
    font-family: "Unbounded";
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.step:hover .num {
    transform: scale(1.1) rotate(5deg);
}
.step .title {
    font-weight: 450;
    font-family: "Unbounded";
    margin-bottom: 8px;
    font-size: 16px;
    transition: color 0.3s ease;
}
.step:hover .title {
    color: #1e40af;
}
.step .desc {
    font-family: "Manrope";
    font-weight: 450;
    color: #6b7280;
    font-size: 14px;
    transition: color 0.3s ease;
}
.step:hover .desc {
    color: #374151;
}
.advantages {
    background: linear-gradient(to right, #d5d4d0 0%, #d5d4d0 1%, #eeeeec 31%);
    padding: 60px 40px;
    border-radius: 40px;
    margin: 40px 0;
    animation: fadeInUp 0.8s ease-out 2s both;
    position: relative;
    overflow: hidden;
}
.advantages::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
}
.advantages:hover::before {
    animation: shimmer 2s ease;
}
.advantages h2 {
    font-weight: 400;
    font-size: 40px;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 0 150px;
}
.advantages .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-bottom: 20px;
    align-items: start;
}
.adv {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.4s ease;
}
.adv:hover {
    transform: translateY(-10px);
}
.adv h5 {
    font-weight: 400;
    font-family: "Unbounded";
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.4;
    height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}
.adv:hover h5 {
    color: #1e40af;
}
.adv p {
    color: #606060;
    font-size: 14px;
    line-height: 1.5;
    flex-grow: 1;
    transition: color 0.3s ease;
}
.adv:hover p {
    color: #374151;
}
.faq {
    margin: 40px 0;
    animation: fadeInUp 0.8s ease-out 2.2s both;
}
.qa {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-left: 4px solid transparent;
}
.qa:hover {
    transform: translateX(10px);
    border-left-color: #1e40af;
}
.qa.active {
    background: #f8fafc;
    transform: translateX(10px);
    border-left-color: #1e40af;
}
.qa .question {
    font-weight: 600;
    font-family: "Manrope";
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16`px;
    transition: color 0.3s ease;
}
.qa:hover .question {
    color: #1e40af;
}
.qa.active .question {
    color: #1e40af;
}
.qa .question span {
    transition: transform 0.3s ease;
}
.qa.active .question span {
    transform: rotate(180deg);
}
.qa .answer {
    display: none;
    padding-top: 12px;
    color: #6b7280;
    font-size: 15px;
    font-family: "Manrope";
    animation: fadeInUp 0.3s ease;
}
.qa.active .answer {
    display: block;
}

/* ==================== КАРУСЕЛЬ ОТЗЫВОВ ==================== */

.carousel-container {
    position: relative;
    max-width: 1350px;
    margin: 30px auto 40px;
    overflow: hidden;
    /*padding: 0 24px;*/
}

.carousel-track-container {
    overflow: hidden;
    margin: 0 -10px;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 33.333%;
    min-width: 33.333%;
    padding: 0 10px;
    box-sizing: border-box;
}

/* ТОЧНЫЕ СТИЛИ КАРТОЧЕК КАК В ОРИГИНАЛЕ */
.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.testimonial-card:hover::before {
    transform: translateY(0);
}

.testimonial-header {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.testimonial-author strong {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #111827;
    font-family: "Unbounded";
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-author strong {
    color: #1e40af;
}

.testimonial-author .company {
    font-size: 14px;
    color: #6b7280;
    font-family: "Manrope", sans-serif;
    margin: 0;
    transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-author .company {
    color: #374151;
}

.testimonial-content {
    flex-grow: 1;
    margin-bottom: 20px;
}

.testimonial-content .review-text {
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
    font-family: "Manrope", sans-serif;
    margin: 0;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-content .review-text {
    transform: translateX(5px);
}

.testimonial-footer {
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.service-type {
    display: inline-block;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: #4b5563;
    font-size: 12px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: "Manrope", sans-serif;
    transition: all 0.3s ease;
}

.testimonial-card:hover .service-type {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    transform: scale(1.05);
}

/* Кнопки навигации для десктопа */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #1e40af;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: #1e40af;
    color: white;
    border-color: #1e40af;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #f3f4f6;
    color: #9ca3af;
    border-color: #e5e7eb;
}

.carousel-btn.disabled:hover {
    background: #f3f4f6;
    color: #9ca3af;
    transform: translateY(-50%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Кнопки навигации для мобильных */
.mobile-carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.mobile-carousel-btn {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #1e40af;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-carousel-btn:hover {
    background: #1e40af;
    color: white;
    border-color: #1e40af;
    transform: scale(1.1);
}

.mobile-carousel-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #f3f4f6;
    color: #9ca3af;
    border-color: #e5e7eb;
}

.mobile-carousel-btn.disabled:hover {
    background: #f3f4f6;
    color: #9ca3af;
    transform: scale(1);
}

/* Индикаторы */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-dot.active {
    background: #1e40af;
    transform: scale(1.0);
}

.carousel-dot:hover:not(.active) {
    background: #c7d2fe;
}

/* ========== АДАПТИВНОСТЬ ========== */

/* Планшеты (768px - 1024px) */
@media (max-width: 1024px) {
    .carousel-slide {
        flex: 0 0 50%;
        min-width: 50%;
    }
    
    .carousel-container {
        padding: 0 50px;
    }
    
    .carousel-btn {
        width: 48px;
        height: 48px;
    }
}

/* МОБИЛЬНЫЕ (до 768px) */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: flex !important;
    }
    
    .carousel-container {
        padding: 0 20px;
        margin: 40px auto 30px;
    }
    
    .carousel-track-container {
        margin: 0 -8px;
    }
    
    .carousel-slide {
        flex: 0 0 100%; /* 1 СЛАЙД НА ВЕСЬ ЭКРАН */
        min-width: 100%;
        padding: 0 8px;
    }
    
    .testimonial-card {
        padding: 25px;
        min-height: auto;
    }
    
    .carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .carousel-dots {
        margin-top: 30px;
    }
}

/* Маленькие мобильные (до 576px) */
@media (max-width: 576px) {
    .carousel-container {
        padding: 0 15px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-author strong {
        font-size: 15px;
    }
    
    .testimonial-author .company {
        font-size: 13px;
    }
    
    .testimonial-content .review-text {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .service-type {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .mobile-carousel-btn {
        width: 45px;
        height: 45px;
    }
}

/* Очень маленькие экраны (до 400px) */
@media (max-width: 400px) {
    .carousel-container {
        padding: 0 10px;
    }
    
    .testimonial-card {
        padding: 18px;
    }
    
    .mobile-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

footer {
    margin: 40px 0 20px;
    padding: 40px 0;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 14px;
    font-family: 'Manrope', sans-serif;
    animation: fadeInUp 0.8s ease-out 2.6s both;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1550px;
    margin: 0 auto;
}

/* Левая часть - логотип и график работы */
.footer-logo-schedule {
    display: flex;
    align-items: center;
    gap: 50px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.footer-logo-img:hover {
    transform: scale(1.05);
}

/* Правая часть - контакты и кнопка */
.footer-contact-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-phone {
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
    transition: transform 0.3s ease;
}
.footer-phone:hover {
    transform: translateY(-2px);
    color: #1e40af;
}

.footer-separator {
    color: #d1d5db;
    font-weight: 300;
}

.footer-messenger {
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 6px;
}
.footer-messenger:hover {
    color: #1e40af;
    background: #f3f4f6;
    transform: translateY(-2px);
}

/* Кнопка в футере */
.footer-order-btn {
    padding: 12px 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, #09203F, #537895);
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    font-family: 'Manrope', sans-serif;
    position: relative;
    overflow: hidden;
}
.footer-order-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}
.footer-order-btn:hover {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    transform: translateY(-3px) scale(1.05);
}
.footer-order-btn:hover::before {
    left: 100%;
}

/* Копирайт */
.footer-copyright {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    color: #9ca3af;
    animation: fadeInUp 0.8s ease-out 2.8s both;
}
html {
    scroll-behavior: smooth;
}
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Мобильные элементы управления в заголовке */
.mobile-header-controls {
    display: none;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.mobile-header-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #1e40af;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mobile-header-phone:hover {
    background: #e5e7eb;
    transform: scale(1.05);
}

.mobile-header-language {
    display: flex;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}

.mobile-header-lang-btn {
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.mobile-header-lang-btn.active {
    background: #fff;
    color: #1e40af;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.mobile-header-lang-btn:hover:not(.active) {
    background: rgba(255,255,255,0.5);
}

/* Адаптивные стили для мобильной версии */
@media (max-width: 768px) {
    .mobile-header-controls {
        display: flex;
        align-items: center;
    }
    
    .burger-toggle {
        margin-left: 0;
    }
    
    /* Скрываем расписание в мобильной версии в основном заголовке */
    .schedule-info {
        display: none;
    }
    
    .logo-section {
        display: flex;
        align-items: center;
        width: 100%;
    }
    
    .logo {
        flex-shrink: 0;
    }
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        gap: 32px;
        padding: 40px;
        text-align: center;
    }
    .hero-text,
    .hero-form {
        margin-top: 30px;
        width: 100%;
        max-width: 100%;
    }
    .hero-form {
        padding: 32px 28px;
    }
    .stats {
        flex-direction: column;
    }
    .services,
    .advantages .grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .steps {
        flex-direction: column;
    }
    .cta {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    .cta-btn {
        width: 100%;
    }
    .team-grid {
        flex-wrap: wrap;
        justify-content: center;
    }
    .advantages h2 {
        font-size: 32px;
    }
}
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        padding: 0 20px;
    }
    .header-left {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 0;
    }
    .logo-section {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        gap: 20px;
        align-items: center;
    }
    .schedule-info,
    .contact-info,
    .header-right {
        display: none;
    }
    .burger-toggle {
        display: flex;
    }
    .mobile-contact {
        display: flex;
    }
    .mobile-schedule {
        margin: 20px 0;
        padding: 15px;
        background: #f3f4f6;
        border-radius: 8px;
    }
    .mobile-schedule-title {
        font-size: 14px;
        color: #6b7280;
        margin-bottom: 5px;
    }
    .mobile-schedule-time {
        font-size: 16px;
        font-weight: 600;
        color: #111827;
    }
    .hero {
        padding: 28px 20px;
        border-radius: 32px;
    }
    .hero h1 {
        font-size: 28px;
        line-height: 1.25;
    }
    .hero p {
        font-size: 14px;
    }
    .hero-form input {
        font-size: 14px;
        padding: 14px;
    }
    .checkbox-group {
        flex-direction: column;
        gap: 12px;
    }
    .section-title {
        font-size: 22px;
        text-align: center;
    }
    .card {
        padding: 24px;
    }
    .member {
        width: 140px;
    }
    .avatar {
        width: 100px;
        height: 100px;
    }
    .cta {
        padding: 28px 20px;
        border-radius: 28px;
    }
    .cta h3 {
        font-size: 22px;
    }
    .advantages {
        padding: 40px 20px;
    }
    .advantages h2 {
        font-size: 28px;
        text-align: left;
        margin-top: 15px;
    }
    .advantages .grid {
        gap: 20px;
        margin-top: 30px;
    }
    footer {
        padding: 30px 0 20px;
        margin: 30px 0 10px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        padding: 0 15px;
    }
    
    .footer-left {
        width: 100%;
        order: 1;
    }
    
    .footer-logo-schedule {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .footer-logo {
        margin-bottom: 5px;
    }
    
    .footer-logo-img {
        height: 45px;
    }
    
    .schedule {
        text-align: center;
    }
    
    .schedule-title {
        font-size: 14px;
        margin-bottom: 3px;
    }
    
    .schedule-time {
        font-size: 16px;
        font-weight: 700;
    }
    
    .footer-right {
        width: 100%;
        order: 2;
    }
    
    .footer-contact-wrapper {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        width: 100%;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 20px;
        background: #f9fafb;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }
    
    .footer-phone {
        font-size: 18px;
        font-weight: 600;
        color: #111827;
        margin-bottom: 5px;
    }
    
    .footer-separator {
        display: none;
    }
    
    /* Горизонтальный блок для мессенджеров */
    .messengers-row {
        display: flex;
        justify-content: center;
        gap: 15px;
        width: 100%;
        margin-top: 10px;
    }
    
    .messenger-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        min-width: 70px;
    }
    
    .messenger-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        transition: all 0.3s ease;
    }
    
    .messenger-icon.telegram {
        background: #0088cc;
        color: white;
    }
    
    .messenger-icon.whatsapp {
        background: #25D366;
        color: white;
    }
    
    .messenger-name {
        font-size: 12px;
        color: #6b7280;
        font-weight: 500;
    }
    
    .footer-messenger {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        padding: 10px;
        border-radius: 8px;
        background: #f3f4f6;
        min-width: 80px;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .footer-messenger:hover {
        background: #e5e7eb;
        transform: translateY(-2px);
    }
    
    .footer-messenger i {
        font-size: 20px;
        margin-bottom: 3px;
    }
    
    .footer-messenger.telegram i {
        color: #0088cc;
    }
    
    .footer-messenger.whatsapp i {
        color: #25D366;
    }
    
    .footer-order-btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
        border-radius: 12px;
        margin-top: 10px;
        box-shadow: 0 4px 12px rgba(30, 64, 175, 0.15);
    }
    
    .footer-copyright {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #e5e7eb;
        font-size: 12px;
        color: #9ca3af;
        order: 3;
    }

    .qa .question {
        font-size: 14px;
    }
    .qa .answer  {
        font-size: 14px;
    }
}
@media (min-width: 481px) and (max-width: 768px) {
    .mobile-menu {
        width: 400px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }
    .mobile-menu-overlay {
        display: block;
    }
}
@media (max-width: 480px) {
    .wrap {
        padding: 0 12px;
    }
    .hero h1 {
        font-size: 24px;
    }
    .hero-form {
        margin-top: 0px;
        padding: 22px 18px;
    }
    .hero-form button {
        font-size: 14px;
        padding: 16px;
    }
    .stat h3 {
        font-size: 28px;
    }
    .advantages {
        padding: 32px 25px;
    }
    .advantages h2 {
        font-size: 24px;
    }
    .mobile-menu {
        width: 100%;
    }
    .mobile-menu-overlay {
        display: none;
    }
    .mobile-menu.active ~ .mobile-menu-overlay {
        display: none !important;
    }
    .footer-messengers {
        flex-direction: column;
    }
    .footer-messenger-btn {
        width: 100%;
    }

    .qa:hover {
        transform: translateX(0px);
    }
    .qa.active {
        transform: translateX(0px);
    }
    .qa .question span {
        transition: transform 0.3s ease;
    }
    .qa.active .question span {
        transform: rotate(180deg);
    }
}

/* Попап с контактами */
.contacts-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9998;
}

.contacts-popup-overlay.active {
    opacity: 1;
    visibility: visible;
    display: block;
}

.contacts-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    overflow-y: auto;
}

.contacts-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.popup-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.popup-close-btn:hover {
    background: #e5e7eb;
    transform: rotate(90deg);
}

.popup-close-btn i {
    font-size: 18px;
    color: #374151;
}

.popup-title {
    font-size: 28px;
    font-family: "Unbounded";
    font-weight: 500;
    color: #111827;
    margin-bottom: 30px;
    text-align: center;
}

.contact-items {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start; /* Выравнивание по верхнему краю */
    gap: 20px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    flex-direction: row; /* Гарантируем горизонтальное расположение */
}

.contact-item:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
}

.contact-details h4 {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-family: "Manrope";
}

.contact-details p {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.call-btn, .email-btn, .map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #1e40af;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.call-btn:hover, .email-btn:hover, .map-btn:hover {
    background: #3730a3;
    transform: translateY(-2px);
}

.social-section {
    margin-bottom: 30px;
}

.social-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
    font-family: "Manrope";
}

.social-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 140px;
    justify-content: center;
}

.social-btn.telegram {
    background: #0088cc;
    color: white;
}

.social-btn.whatsapp {
    background: #25D366;
    color: white;
}

.social-btn.viber {
    background: #7360F2;
    color: white;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.map-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
    font-family: "Manrope";
}

.map-container {
    background: #f3f4f6;
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: #6b7280;
}

.map-placeholder i {
    font-size: 60px;
    margin-bottom: 15px;
    color: #9ca3af;
}

.map-placeholder p {
    font-size: 16px;
}

/* Адаптивность попапа */
@media (max-width: 768px) {
    .contacts-popup {
        width: 95%;
        padding: 30px 20px 20px;
        max-height: 85vh;
    }
    
    .popup-title {
        font-size: 24px;
    }
    
    .contact-item {
        flex-direction: row; /* Оставляем горизонтальное расположение */
        text-align: left; /* Выравнивание текста по левому краю */
        gap: 15px;
        align-items: center; /* Центрируем по вертикали */
    }
    
    .contact-icon {
        width: 50px; /* Можно сделать меньше на мобильных */
        height: 50px;
        flex-shrink: 0; /* Запрещаем сжатие иконки */
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .social-btn {
        width: 100%;
        min-width: auto;
    }
    
    .map-container {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .contact-item {
        gap: 12px;
        padding: 15px;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .contact-details h4 {
        font-size: 15px;
    }
    
    .contact-details p {
        font-size: 16px;
    }
}

/* Стили для Яндекс статичной карты */
.yandex-static-map {
    display: block;
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
    text-decoration: none;
    background: #f3f4f6;
}

.static-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.map-interactive-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.9), rgba(59, 130, 246, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

.yandex-static-map:hover .map-interactive-overlay {
    opacity: 1;
}

.yandex-static-map:hover .static-map-img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.map-overlay-content {
    color: white;
    max-width: 300px;
}

.map-overlay-content i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.map-overlay-content h5 {
    font-size: 20px;
    margin: 0 0 10px;
    font-weight: 600;
    font-family: 'Unbounded', sans-serif;
}

.map-overlay-content p {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.4;
}

.map-open-btn {
    background: white;
    color: #1e40af;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.map-open-btn:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Адаптивность */
@media (max-width: 768px) {
    .yandex-static-map {
        height: 250px;
    }
    
    .map-interactive-overlay {
        opacity: 0.9; /* Всегда показываем на мобильных */
        background: linear-gradient(135deg, rgba(30, 64, 175, 0.95), rgba(59, 130, 246, 0.95));
    }
    
    .map-overlay-content h5 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .yandex-static-map {
        height: 200px;
    }
    
    .map-overlay-content i {
        font-size: 36px;
    }
    
    .map-overlay-content h5 {
        font-size: 16px;
    }
}

/* Попап с формой */
.form-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

.form-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.form-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    padding: 40px 30px 30px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.form-popup-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.form-popup-close-btn:hover {
    background: #e5e7eb;
    transform: rotate(90deg);
}

.form-popup-close-btn i {
    font-size: 18px;
    color: #374151;
}

.form-popup-content {
    text-align: center;
}

.form-popup-title {
    font-size: 28px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 10px;
    font-family: 'Unbounded', sans-serif;
}

.form-popup-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Стили формы в попапе */
.form-popup-form {
    text-align: left;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 16px 16px 16px 45px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Manrope', sans-serif;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 16px;
}

.form-checkbox-group {
    margin: 25px 0;
}

.form-checkbox-title {
    font-size: 15px;
    color: #374151;
    margin-bottom: 12px;
    font-weight: 500;
}

.checkbox-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkbox-item:hover {
    background: #f3f4f6;
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkbox-checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 5px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-item input:checked + .checkbox-checkmark {
    background: #3b82f6;
    border-color: #3b82f6;
}

.checkbox-item input:checked + .checkbox-checkmark::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
}

.checkbox-label {
    font-size: 14px;
    color: #374151;
}

.form-popup-submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
    margin-top: 10px;
}

.form-popup-submit-btn:hover {
    background: linear-gradient(135deg, #1e40af, #3730a3);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
}

.form-popup-submit-btn:active {
    transform: translateY(0);
}

.form-popup-agreement {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    margin-top: 15px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .form-popup {
        width: 95%;
        padding: 30px 20px 25px;
        border-radius: 16px;
    }
    
    .form-popup-title {
        font-size: 24px;
    }
    
    .form-popup-subtitle {
        font-size: 14px;
    }
    
    .checkbox-row {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .form-popup {
        padding: 25px 15px 20px;
    }
    
    .form-popup-title {
        font-size: 22px;
    }
    
    .form-group input {
        padding: 14px 14px 14px 40px;
    }
    
    .form-group i {
        font-size: 15px;
        left: 14px;
    }
}

#services,
#process,
#advantages,
#faq,
#testimonials {
    scroll-margin-top: 100px;
}

@media (max-width: 768px) {
    #services,
    #process,
    #advantages,
    #faq,
    #testimonials {
        scroll-margin-top: 80px;
    }
}

.float-contact {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9998;
}

.float-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.6);
    background: linear-gradient(135deg, #1e40af, #3730a3);
}

.float-btn:active {
    transform: scale(0.95) translateY(0);
}

.float-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(30, 64, 175, 0.3);
    animation: pulseRing 2s ease-out infinite;
    pointer-events: none;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.float-icons {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.float-icons.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.float-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    text-decoration: none;
    transform: translateX(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.float-icons.active .float-icon {
    transform: translateX(0);
    opacity: 1;
}

.float-icons.active .float-icon:nth-child(1) { transition-delay: 0.1s; }
.float-icons.active .float-icon:nth-child(2) { transition-delay: 0.2s; }
.float-icons.active .float-icon:nth-child(3) { transition-delay: 0.3s; }
.float-icons.active .float-icon:nth-child(4) { transition-delay: 0.4s; }

.float-icon.phone {
    background: linear-gradient(135deg, #10b981, #059669);
}

.float-icon.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.float-icon.telegram {
    background: linear-gradient(135deg, #0088cc, #005c8a);
}

.float-icon.email {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.float-icon:hover {
    transform: translateY(-5px) scale(1.1) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.float-icon::after {
    content: attr(title);
    position: absolute;
    right: 60px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-family: 'Manrope', sans-serif;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.float-icon:hover::after {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .float-contact {
        bottom: 20px;
        right: 20px;
    }
    
    .float-btn {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    .float-icons {
        bottom: 65px;
        gap: 12px;
    }
    
    .float-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
   
    .float-icon::after {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        bottom: -40px;
        font-size: 11px;
    }
    
    .float-icon:hover::after {
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 480px) {
    .float-contact {
        bottom: 15px;
        right: 15px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .float-icons {
        bottom: 60px;
    }
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-details .phone-number {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
    padding: 5px 0;
    border-bottom: 1px solid #f3f4f6;
}

.contact-details .call-btn,
.contact-details .email-btn,
.contact-details .map-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: #1e40af;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 5px;
    width: fit-content;
}

.contact-details .email-btn {
    background: #10b981;
}

.contact-details .email-btn:hover {
    background: #059669;
}

.contact-details .map-btn {
    background: #8b5cf6;
}

.contact-details .map-btn:hover {
    background: #7c3aed;
}

.contact-details p {
    margin-bottom: 12px;
    padding-bottom: 5px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

@media (max-width: 768px) {
    .contact-details .call-btn,
    .contact-details .email-btn,
    .contact-details .map-btn {
        width: 100%;
        text-align: center;
    }
}

/* ===== ЮРИДИЧЕСКИЙ БАНЕР CBS PARTNERS ===== */
.legal-banner {
    margin: 30px 0 40px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 40px;
    padding: 25px 35px;
    color: white;
    box-shadow: 0 15px 30px rgba(30, 60, 114, 0.25);
    animation: fadeInUp 0.8s ease-out;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.legal-banner::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.legal-banner .banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    position: relative;
    z-index: 2;
}

.legal-banner .banner-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.legal-banner:hover .banner-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.legal-banner .banner-text {
    flex: 1;
    min-width: 250px;
}

.legal-banner .banner-text h3 {
    font-family: 'Unbounded', sans-serif;
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 6px 0;
    color: white;
    line-height: 1.3;
}

.legal-banner .banner-text p {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    color: white;
    font-weight: 400;
}

.legal-banner .banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #1e3c72;
    padding: 14px 28px;
    border-radius: 40px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    border: 2px solid transparent;
    flex-shrink: 0;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.legal-banner .banner-btn:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateX(5px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.legal-banner .banner-btn i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.legal-banner .banner-btn:hover i {
    transform: translateX(5px);
}

/* Адаптация для мобильных */
@media (max-width: 1024px) {
    .legal-banner {
        padding: 22px 30px;
        border-radius: 35px;
    }
    
    .legal-banner .banner-text h3 {
        font-size: 19px;
    }
    
    .legal-banner .banner-btn {
        padding: 13px 25px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .legal-banner {
        margin: 25px 0 30px;
        padding: 22px 20px;
        border-radius: 28px;
    }
    
    .legal-banner .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 18px;
    }
    
    .legal-banner .banner-icon {
        margin: 0 auto;
        width: 55px;
        height: 55px;
        font-size: 26px;
    }
    
    .legal-banner .banner-text h3 {
        font-size: 18px;
    }
    
    .legal-banner .banner-text p {
        font-size: 13px;
    }
    
    .legal-banner .banner-btn {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
    }
}

@media (max-width: 480px) {
    .legal-banner {
        margin: 20px 0 25px;
        padding: 20px 15px;
        border-radius: 22px;
    }
    
    .legal-banner .banner-text h3 {
        font-size: 17px;
    }
    
    .legal-banner .banner-text p {
        font-size: 13px;
    }
    
    .legal-banner .banner-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .legal-banner .banner-btn {
        padding: 12px 18px;
        font-size: 12px;
    }
}