/* GLOBAL: remove underlines from all links */
a {
    text-decoration: none !important;
}

/* FONT FAMILY SETTINGS: change font-family here if needed */
/* === Подключение шрифтов === */
@font-face {
    font-family: 'MyriadPro';
    src: url('fonts/MyriadPro-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bender';
    src: url('fonts/Jovanny Lemonad - Bender.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bender';
    /* Предполагаем, что жирное начертание может понадобиться */
    src: url('fonts/Jovanny Lemonad - Bender-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* === Базовые стили и сброс === */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Bender', sans-serif;
    /* Базовый шрифт, если MyriadPro не загрузится */
    position: relative;
    /* Необходимо для корректного позиционирования псевдоэлемента с z-index */
}

body::before {
    content: "";
    /* Обязательно для псевдоэлементов */
    position: fixed;
    /* Чтобы фон покрывал весь экран и не скроллился с контентом */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/bg-logo.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

/* === Стили для Header === */
.header {
    max-width: 1200px;
    margin: 20px auto;
    background: #f8f9fa;
    border-radius: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo img {
    height: 50px;
    transition: opacity 0.3s ease;
    display: block;
}

.logo img:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
    position: relative;
}

.nav-menu a {
    font-size: 17px;
    color: #002c5f;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: #007bff;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 30px;
    left: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    z-index: 10;
    padding: 10px 0;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.dropdown:hover .dropdown-content,
.dropdown a[aria-expanded="true"]+.dropdown-content {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    color: #002c5f;
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover,
.dropdown-content a:focus {
    background: #007bff;
    color: #fff;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.connect-button,
.account-button {
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
    border: 2px solid transparent;
}

.connect-button {
    background: transparent;
    border-color: #007bff;
    color: #007bff;
}

.connect-button:hover,
.connect-button:focus {
    background: #007bff;
    color: #fff;
    transform: scale(1.03);
}

.account-button {
    background: #002c5f;
    color: #fff;
    border-color: #002c5f;
}

.account-button:hover,
.account-button:focus {
    background: #0056b3;
    border-color: #0056b3;
    transform: scale(1.03);
}

/* === Стили для Info Section === */
.info-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 30px auto;
    padding: 30px;
    background: linear-gradient(120deg, #ffffff, #f2f7ff);
    border-radius: 20px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

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

.info-image {
    flex: 1.2;
    text-align: center;
    padding-right: 20px;
}

.info-image img {
    max-width: 90%;
    height: auto;
    display: block;
}

.info-content {
    flex: 1.8;
    padding-left: 20px;
    font-family: 'MyriadPro', sans-serif;
}

.info-content p {
    font-size: 18px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 500;
    max-width: 100%;
    text-align: left;
    line-height: 1.6;
}

.info-buttons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.info-button {
    font-family: 'Bender', sans-serif;
    padding: 14px 22px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 220px;
}

.blue-button {
    background: #007bff;
    color: white !important;
    border-color: #007bff;
}

.blue-button:hover,
.blue-button:focus {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    color: white !important;
}

.light-button {
    background: white;
    color: #007bff !important;
    border-color: #007bff;
}

.light-button:hover,
.light-button:focus {
    background: #007bff;
    color: white !important;
    border-color: #007bff;
    transform: translateY(-2px);
}

.phone-icon {
    font-size: 18px;
    margin-right: 8px;
}


/* === Адаптивность === */
@media (min-width: 901px) {
    .mobile-only {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 15px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 4px;
        width: 100%;
        margin-top: 10px;
    }

    .nav-menu a {
        font-size: 16px;
        padding: 8px 0;
        display: block;
        width: 100%;
        text-align: center;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 0;
        margin-top: 5px;
        background: #e9ecef;
        border-radius: 0;
    }

    .dropdown a[aria-expanded="true"]+.dropdown-content {
        display: block;
    }


    .dropdown-content a {
        padding: 10px 0;
        border-bottom: 1px solid #ddd;
        text-align: center;
        color: #002c5f;
    }

    .dropdown-content a:hover,
    .dropdown-content a:focus {
        background: #007bff;
        color: #fff;
    }

    .dropdown-content a:last-child {
        border-bottom: none;
    }

    .header-buttons {
        margin-top: 15px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
        width: 100%;
    }

    .header-buttons a {
        padding: 10px 18px;
        font-size: 16px;
        width: 80%;
        max-width: 280px;
        text-align: center;
        border-radius: 25px;
    }

    .connect-button {
        display: block;
        background: #007bff;
        color: #fff;
        border: 2px solid #007bff;
    }

    .account-button {
        background: #002c5f;
        color: #fff;
        border: 2px solid #002c5f;
    }

    .connect-button:hover,
    .connect-button:focus,
    .account-button:hover,
    .account-button:focus {
        transform: scale(1.02);
    }


    .dropdown-content .mobile-only {
        font-weight: bold;
    }
}

@media (max-width: 768px) {
    .info-section {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
        max-width: 95%;
        margin: 20px auto;
    }

    .info-image {
        padding-right: 0;
        margin-bottom: 15px;
    }

    .info-content {
        padding-left: 0;
        margin-top: 15px;
    }

    .info-content p {
        text-align: center;
    }

    .info-buttons {
        flex-direction: column;
        align-items: center;
    }

    .info-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Vertical features list styling */
.features {
    list-style: none;
    padding: 0;
    margin: 1em 0;
}

.features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75em;
}

.features li svg {
    margin-right: 0.75em;
}

.features li svg path {
    stroke: #006CFF;
}

.features li span {
    color: #333;
}

/* Pricing section */

.pricing-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1em;
    color: #002c5f;
}

.pricing-section .plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(187px, 299px));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.pricing-section .plan-card {
    padding: 1.5rem;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform .2s;
    display: flex;
    flex-direction: column;
}

.pricing-section .plan-card:hover {
    transform: translateY(-4px);
}

.pricing-section .plan-card h4 {
    margin: 0 0 0.5em;
    font-size: 1.25rem;
    color: #002c5f;
}

.pricing-section .plan-card .price {
    font-size: 2rem;
    font-weight: bold;
    margin: 0.5em 0;
    color: #006CFF;
}

.pricing-section .plan-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
}

.pricing-section .plan-card ul li {
    margin-bottom: 0.5rem;
}

.pricing-section .plan-card .info-button {
    margin-top: auto;
    align-self: flex-start;
    width: auto;
}


/* Updated Pricing Section */
.pricing-section {
    padding: 40px 0;
    background: none;
}

.pricing-section .pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(120deg, #ffffff, #f2f7ff);
    border-radius: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

/* Reduced spacing for tariff cards */
.pricing-section .plan-card h4 {
    margin: 0 0 0.2em;
}

.pricing-section .plan-card .price {
    margin: 0.2em 0;
}

.pricing-section .plan-card ul li {
    margin-bottom: 0.2rem;
}


/* Badges for speed and archive */
.speed-badge {
    display: inline-block;
    background-color: #002c5f;
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.archive-badge {
    display: inline-block;
    background-color: #28a745;
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* Section header layout */
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-header h3 {
    margin: 0;
}

/* REQUEST BUTTON STYLES START: adjust padding, font-size, color here */
.request-btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #002c5f;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.25rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: 'Bender', sans-serif;
}

/* REQUEST BUTTON STYLES END */

/* Hover animation for request button */
.request-btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.request-btn:hover {
    transform: scale(1.05);
    background-color: #001f48;
}

/* Enhanced pulse animation for request button */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Apply enhanced animation to request button */
.request-btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Notification section styles */

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.notification-section {
    background: linear-gradient(-45deg, #ff5f6d, #ff6f61, #ff5f6d);
    background-size: 400% 400%;
    color: #ffffff;
    padding: 1rem;
    border-radius: 0.75rem;
    text-align: center;
    margin: 1rem auto;
    max-width: 1200px;
    width: calc(50% - 2rem);
    font-family: 'Bender', sans-serif;
    font-size: 1rem;
    animation: notification-pulse 2s ease-in-out infinite, gradientBG 10s ease infinite;
}

@keyframes notification-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

/* Стиль для слайдера тарифов */
.swiper.pricing-swiper {
    padding: 1rem 0;
}

.pricing-arrows {
    text-align: center;
    margin-top: 1rem;
}

.pricing-arrows .arrow {
    background: none;
    border: none;
    font-size: 2rem;
    margin: 0 1rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.pricing-arrows .arrow:hover {
    opacity: 1;
}

/* Disabled arrow style */
.pricing-arrows .arrow.disabled {
    opacity: 0.2;
    cursor: default;
}

/* CSS FOR CORPORATE MODE CENTERING AND SIZING */

/* REMOVED: Rule for specific max-width on corporate plan-cards, so they behave like normal plan-cards */
/*
.pricing-swiper.corporate-mode .plan-card {
    max-width: 299px; 
    margin: 0 auto;
}
*/

/* REMOVED: Rule for auto-width on corporate slides, width will be determined by slidesPerView: 3 */
/*
.pricing-swiper.corporate-mode .swiper-slide {
    width: auto;
}
*/

/* REMOVED: justify-content: center; from swiper-wrapper for corporate mode,
   as centerInsufficientSlides: true in JS should handle this. */
/*
.pricing-swiper.corporate-mode .swiper-wrapper {
    justify-content: center; 
}
*/
/* Icon styles in header */
.nav-menu a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-icon {
    width: 20px;
    height: 20px;
}

.button-icon {
    width: 20px;
    height: 20px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Features Section */
.features-section {
    padding: 60px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.features-section h2 {
    font-size: 32px;
    font-weight: bold;
    color: #002c5f;
    text-align: center;
    margin-bottom: 10px;
}

.features-section p.subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 40px;
}

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

.feature-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card-icon {
    width: 60px;
    height: 60px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-card-icon svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #002c5f;
}

.feature-card p {
    font-size: 16px;
    color: #666;
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-section h2 {
    font-size: 32px;
    font-weight: bold;
    color: #002c5f;
    text-align: center;
    margin-bottom: 10px;
}

.testimonials-section p.subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 40px;
}

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

.testimonial-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 20px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #007bff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    font-size: 18px;
}

.testimonial-name {
    font-size: 18px;
    font-weight: bold;
    color: #002c5f;
    display: flex;
    align-items: center;
}

.testimonial-rating {
    display: flex;
    color: #FFC107;
    margin-left: 10px;
}

.testimonial-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.testimonial-plan {
    font-size: 14px;
    color: #999;
}

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

.testimonial-header {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.testimonial-avatar {
    background-color: #007BFF;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-stars {
    margin: 8px 0;
}

.testimonial-stars img.star {
    width: 20px;
    height: 20px;
}

.testimonial-text {
    text-align: left;
    margin: 10px auto;
    max-width: 90%;
}

.testimonial-tariff {
    text-align: left;
    color: #003366;
    font-weight: 600;
    margin-top: 8px;
}

.dropdown-icon {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    vertical-align: middle;
}

.testimonial-name {
    text-align: left;
}

.testimonial-header {
    justify-content: flex-start;
    text-align: left;
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.testimonials-section .subtitle {
    color: #666;
    margin-bottom: 40px;
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 300px;
    text-align: left;
    position: relative;
}

.testimonial-card .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #0073e6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    position: absolute;
    top: -30px;
    left: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonial-card .name {
    margin-left: 80px;
    font-weight: bold;
    font-size: 1.1em;
}

.testimonial-card .stars {
    color: #f5c518;
    margin: 10px 0;
}

.testimonial-card .text {
    font-size: 0.95em;
    color: #333;
    margin-top: 10px;
    line-height: 1.4em;
}


/* Privacy Policy Page Styles */
.privacy-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.privacy-title {
    font-size: 28px;
    font-weight: bold;
    color: #002c5f;
    margin-bottom: 30px;
    text-align: center;
}

.section-card {
    background: white;
    border-radius: 15px;
    padding: 20px 25px;
    font-size: 16px;
    color: #333;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    line-height: 1.6;
    margin-bottom: 25px;
    transition: box-shadow 0.3s ease;
}

.section-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.section-card h3 {
    font-size: 18px;
    font-weight: bold;
    color: #002c5f;
    margin-bottom: 10px;
}

.section-card ul {
    padding-left: 20px;
    margin-top: 10px;
}

.section-card ul li {
    margin-bottom: 10px;
}


/* === HEADER BUTTONS === */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.connect-btn,
.account-btn {
    background-color: #002c5f;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 9999px;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.account-btn {
    padding: 8px;
    justify-content: center;
}

.connect-btn:hover,
.account-btn:hover {
    transform: scale(1.05);
}

.btn-icon {
    width: 18px;
    height: 18px;
}


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

.nav-menu {
    display: flex;
    gap: 12px;
    margin-left: 30px;
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 32px;
    background-color: #f9f9f9;
    border-radius: 40px;
}

.header-left,
.header-center,
.header-right {
    display: flex;
    align-items: center;
}

.header-center {
    flex-grow: 1;
    justify-content: center;
    gap: 32px;
}

.nav-menu {
    display: flex;
    gap: 12px;
}

.header-right {
    gap: 10px;
}


.header-center {
    flex-grow: 1;
    justify-content: center;
    display: flex;
}

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


.dropdown-arrow {
    width: 14px;
    height: 14px;
    margin-left: 4px;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.dropdown[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

/* Центрируем кнопку и не даём ей растягиваться */
.pricing-section .pricing-arrows+.request-btn {
    display: inline-block;
    /* элемент подгоняется под свой контент */
    margin: 1.5rem auto 0;
    /* сверху отступ, по центру по горизонтали */
    padding: 0.75rem 1.5rem;
    /* можно чуть подправить паддинги под дизайн */
    width: auto;
    /* сбрасываем любые ширины */
    min-width: 0;
    /* на случай, если было задано min-width */
}

/* При этом стрелки всё ещё центрированы */
.pricing-section .pricing-arrows {
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Центрируем стрелки и кнопку под ними */
.pricing-section .pricing-arrows {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
    /* или по вкусу */
}

.pricing-section .request-btn {
    display: inline-block;
    /* чтобы не растягивалась */
    margin: 1.5rem auto 0;
    /* сверху отступ, по центру по горизонтали */
    padding: 0.75rem 1.5rem;
    /* по желанию подкорректируйте */
    width: auto;
    /* сброс любых ширин */
}

/* === Override for Pricing Section Button Centering === */
.pricing-arrows {
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 1rem !important;
}

.pricing-arrows .arrow {
    background: none !important;
    border: none !important;
    font-size: 2rem !important;
    margin: 0 1rem !important;
    cursor: pointer !important;
    opacity: .5 !important;
    transition: opacity .2s !important;
}

.pricing-arrows .arrow:hover {
    opacity: 1 !important;
}

.pricing-arrows .arrow.disabled {
    opacity: .2 !important;
    cursor: default !important;
}

.request-btn {
    display: block !important;
    /* block-level to center via margin */
    margin: 1rem auto 0 !important;
    /* auto horizontal centering */
    padding: .75rem 1.5rem !important;
    background: #002c5f !important;
    color: #fff !important;
    font-size: 1.25rem !important;
    font-weight: bold !important;
    text-align: center !important;
    border: none !important;
    border-radius: .5rem !important;
    cursor: pointer !important;
    transition: transform .2s, background-color .2s !important;
}

.request-btn:hover {
    transform: scale(1.05) !important;
    background: #001f48 !important;
}

/* Центрируем всё внутри контейнера, включая кнопку */
.pricing-container {
    text-align: center !important;
}

/* Кнопка – лишь inline-block, не растягиваем её по ширине */
.request-btn {
    display: inline-block !important;
    width: auto !important;
    /* сброс любых width:100% */
    margin: 1rem 0 0 !important;
    /* отступ сверху */
    /* остальные стили без изменений */
}

/* тонкий декоративный разделитель между физ и юр тарифами */
.tariff-divider {
    width: 60%;
    /* длина линии (подберите под дизайн) */
    margin: 2rem auto 1.5rem;
    /* отступы сверху/снизу */
    border: none;
    border-top: 1px solid #e0e6ef;
    /* мягкий светло-голубой */
}

.contact-button {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    color: #002c5f;
    font-family: 'Bender', sans-serif;
    padding: 12px 16px;
    border-radius: 14px;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
    cursor: default;
    transition: transform 0.2s ease;
    min-width: 240px;
    max-width: 100%;
    flex: 1 1 280px;
}

.contact-button:hover {
    transform: translateY(-2px);
}

.contact-button .contact-icon {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-label {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-info {
    font-size: 15px;
    line-height: 1.3;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
}

.connect-btn,
.account-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 30px;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.connect-btn:hover,
.account-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.connect-btn img,
.account-btn img {
    filter: brightness(1000%);
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-button.full-width {
    width: 100%;
    margin-top: 12px;
    justify-content: flex-start;
}

.connect-btn,
.account-btn {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #002c5f;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 30px;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.connect-btn:hover,
.account-btn:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.connect-btn img,
.account-btn img {
    filter: none;
}


.contact-card,
.address-card,


.contact-card:hover,
.address-card:hover,



.contact-card,
.address-card,


.contact-card:hover,
.address-card:hover,



.contact-card,
.address-card,


.contact-card:hover,
.address-card:hover,


.contact-card,
.address-card,
.accounting-card {
    background-color: #f2f7ff !important;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.contact-card:hover,
.address-card:hover,
.accounting-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Стили для центрирования сеток с тарифами */
.plans-grid {
  justify-content: center;
}

/* Стили для иконок в разделе "Почему выбирают KaspNet?" */
.feature-card-icon {
  background-color: #005eff;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem; /* Добавьте отступ снизу */
}

/* === FAQ Section Container === */
.faq-section {
  padding: 60px 30px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-section h2 {
  font-size: 32px;
  font-weight: bold;
  color: #002c5f;
  text-align: center;
  margin-bottom: 10px;
}

.faq-section .subtitle {
  color: #666;
  text-align: center;
  margin-bottom: 40px;
}

/* === FAQ Item === */
.faq-item {
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;            /* чтобы фон ответа не выходил за рамки */
}

/* === Question Button === */
.faq-question {
  width: 100%;
  background: #f8f9fa;
  border: none;
  padding: 20px;
  text-align: left;
  font-size: 16px;
  color: #002c5f;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #e9ecef;
}

/* === Chevron Icon === */
.icon-chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease-out;
}

.faq-item.open .icon-chevron {
  transform: rotate(180deg);
}

/* === Answer Panel === */
/* 1) Закрытое состояние */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  background: none;
  transition:
    max-height 0.3s ease-out,
    padding 0.3s ease-out;
}

/* 2) Открытое состояние */
.faq-item.open .faq-answer {
  padding: 16px 20px;
  background-color: #ffffff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Внутри ответа абзацы */
.faq-answer p {
  margin: 0;
  color: #333;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .contact-options {
    display: flex;
    flex-direction: column;   /* стопка сверху вниз */
    align-items: center;      /* центрируем кнопки */
    gap: 12px;                /* отступ между ними */
    width: 100%;
  }

  .contact-button {
    /* Отменяем любую предыдущую ширину */
    width: auto !important;
    /* Гибко сжимаемся/растём до содержимого */
    flex: 0 0 auto !important;
    /* Пределы, чтобы совсем не колбасило */
    min-width: 180px;
    max-width: 90%;
    justify-content: center;   /* центр текста и иконок */
  }
}

/* спрячем mobile-header на десктопах */
@media (min-width: 901px) {
  .mobile-header { display: none; }
}

/* спрячем desktop-header на мобилках и покажем mobile-header */
@media (max-width: 900px) {
  .desktop-header { display: none; }
  .mobile-header { display: block; }

  /* стили для панельки (logo + бургер) */
  .mobile-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 40px;
    margin: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  .burger-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }
  .burger-btn img {
    width: 24px;
    height: 24px;
  }

  /* меню по умолчанию скрыто */
  .mobile-nav-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin: 0 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  /* когда BURGER раскрыт — показываем меню */
  .burger-btn[aria-expanded="true"] + .mobile-nav-menu {
    display: flex;
  }

  /* пункты меню */
  .mobile-nav-menu a,
  .mobile-nav-menu .dropdown > a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    color: #002c5f;
    text-decoration: none;
    padding: 8px 0;
  }

  /* выпадашки */
  .mobile-nav-menu .dropdown .dropdown-content {
    display: none;
    flex-direction: column;
    background: #e9ecef;
    padding: 8px 0;
    border-radius: 0 0 10px 10px;
  }
  .mobile-nav-menu .dropdown > a[aria-expanded="true"] + .dropdown-content {
    display: flex;
  }
  .mobile-nav-menu .dropdown-content a {
    padding: 8px 15px;
    border-bottom: 1px solid #ddd;
    text-align: left;
  }
  .mobile-nav-menu .dropdown-content a:last-child {
    border-bottom: none;
  }
}

/* моб меню закругление */

@media (max-width: 900px) {
  /* 1) Центрируем все пункты меню */
  .mobile-nav-menu {
    display: flex;             /* у вас уже flex-direction: column */
    flex-direction: column;
    align-items: center;       /* вот это центрирует каждый пункт по горизонтали */
    gap: 4px;
    /* ...остальные ваши стили... */
  }

  .mobile-nav-menu a,
  .mobile-nav-menu .dropdown > a {
    /* чтобы сами ссылки не растягивались на 100% */
    width: auto;               /* вместо stretch */
    max-width: 90%;            /* при желании ограничить ширину */
    justify-content: center;   /* текст + иконка по центру */
    padding: 10px 20px;        /* можно подправить отступы */
    box-sizing: border-box;
  }

  /* 2) Центрируем «Подключиться» так же, как «Личный кабинет» */
  .mobile-nav-menu .connect-btn,
  .mobile-nav-menu .account-btn {
    display: block;            /* чтобы margin:auto заработал */
    margin: 0 auto;            /* центрируем блок */
    width: auto;               /* ширина по содержимому */
    max-width: 90%;
  }

  /* 3) Меняем скругления под себя */
  .mobile-nav-menu .connect-btn {
    border-radius: 10px;       /* ставьте свои значения */
  }
  .mobile-nav-menu .account-btn {
    border-radius: 10px 10px;  /* разное скругление: top-left/right, bottom-left/right */
  }
}

/* Сбрасываем растяжение */
.mobile-nav-menu .dropdown > a {
  display: flex;               /* flex-контейнер */
  justify-content: center;     /* центр по горизонтали */
  align-items: center;         /* центр по вертикали */
  width: auto;                 /* сброс ширины 100% */
  padding: 10px 20px;          /* можно подкорректировать */
  box-sizing: border-box;
}

/* Простая позиция стрелки */
.mobile-nav-menu .dropdown-arrow {
  margin-left: 8px;            /* отодвигаем стрелку от текста */
}

@media (max-width: 900px) {
  /* ... ваши текущие стили ... */

  /* ========== Простое центрирование ========== */

  /* 1. Центрируем все пункты меню */
  .mobile-nav-menu {
    text-align: center;      /* всё внутри по центру */
  }

  /* 2. Отменяем растяжение, делаем инлайн-блоки */
  .mobile-nav-menu a,
  .mobile-nav-menu .dropdown > a {
    display: inline-block;   /* занимают ровно размер контента */
    margin: 4px auto;        /* немного отступов сверху/снизу и по центру */
    text-align: center;      /* если текст переносится — тоже по центру */
    width: auto !important;  /* сбросить старые width:100% */
  }

  /* 3. Немного отступа у стрелки (она уже внутри <a>) */
  .mobile-nav-menu .dropdown-arrow {
    margin-left: 4px;
  }

  /* ===== центрируем кнопки «Подключиться» и «Личный кабинет» ===== */
  .mobile-nav-menu .connect-btn,
  .mobile-nav-menu .account-btn {
    display: inline-block;
    margin: 12px auto;       /* отступ и автоматическое центрирование */
    width: auto !important;
  }

  /* При желании можно подкрутить скругления */
  .mobile-nav-menu .connect-btn {
    border-radius: 10px;
  }
  .mobile-nav-menu .account-btn {
    border-radius: 10px;
  }
}

/* === Pay: прокрутка iframe внутри контейнера === */
.form-wrapper {
  position: relative;
  height: 1200px;                      /* фиксируем высоту области */
  overflow: auto;                     /* скролл внутри обёртки */
  -webkit-overflow-scrolling: touch;  /* плавный скролл на iOS */
  border-radius: 8px;
}

.form-wrapper iframe {
  width: 100%;
  height: 1200px !important;           /* принудительно та же высота */
  border: none;
}

/* === Опционально: стили для WebKit-скроллбара 24.07 13:35 === */
.form-wrapper::-webkit-scrollbar {
  width: 6px;
}
.form-wrapper::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.05);
  border-radius: 3px;
}
.form-wrapper::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 3px;
}

/* === Опционально: визуальный намёк на скролл — градиент внизу === */
.form-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(transparent, rgba(255,255,255,0.8));
  pointer-events: none;
}


