/* Импорт шрифта Gilroy */
@import url('https://fonts.cdnfonts.com/css/gilroy-bold');

/* CSS Variables */
:root {
    --color-primary: #13D6D1;
    --color-secondary: #5aa0f1;
    --color-dark: #1B2333;
    --color-text: #3C4A5A;
    --color-text-light: #91959C;
    --color-bg: #FAFCFE;
    --color-bg-light: #F1F5F5;
    --color-white: #ffffff;
    --color-border: #E4E4E4;
    --color-success: #10B981;
    --color-warning: #F59E0B;

    --max-width: 1440px;
    --header-height: 115px;
    --header-height-mobile: 130px;

    --radius-sm: 10px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.65;
    color: var(--color-dark);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

/* Accessibility: Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

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

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

a:hover {
    opacity: 0.8;
}

a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

ul {
    list-style-position: inside;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 110px;
    }
}

/* Header */
header {
    background-color: var(--color-white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border: none;
}

.logo-link {
    display: flex;
}

.logo {
    height: auto;
    width: auto;
    max-height: 40px;
}

.header-info {
    display: none;
    flex: 1;
    align-items: center;
    gap: 1.25rem;
}

@media (min-width: 1280px) {
    .header-info {
        display: flex;
    }
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.info-item svg {
    flex-shrink: 0;
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.info-label {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.info-value {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icon-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.icon-btn:hover {
    border-color: var(--color-primary);
    background-color: rgba(19, 214, 209, 0.1);
    transform: translateY(-2px);
}

.icon-btn:active {
    transform: translateY(0);
}

.icon-btn:focus-visible {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(19, 214, 209, 0.2);
}

@media (max-width: 767px) {
    .icon-btn {
        display: none;
    }
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0 1rem;
    height: 42px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-dark);
    transition: var(--transition);
}

.lang-selector:hover {
    border-color: var(--color-primary);
    background-color: rgba(19, 214, 209, 0.1);
}

/* Main Content */
.main-content {
    padding-top: var(--header-height);
    min-height: 100vh;
}

@media (min-width: 768px) {
    .main-content {
        padding-top: var(--header-height-mobile);
    }
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    overflow-x: auto;
    white-space: nowrap;
}

.breadcrumbs a {
    min-width: fit-content;
    color: var(--color-text);
}

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

.breadcrumbs .active {
    color: var(--color-primary);
    min-width: fit-content;
}

.breadcrumbs svg {
    flex-shrink: 0;
}

@media (min-width: 1280px) {
    .breadcrumbs {
        padding-bottom: 2.5rem;
    }
}

/* Hero Banner */
/* Hero Section */
.hero {
    padding: 2rem 0;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .hero {
        padding: 4rem 0;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-grid {
        gap: 4rem;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-dark);
    margin: 0;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark) 70%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }
}

.hero-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0;
    font-weight: 400;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.0625rem;
        line-height: 1.75;
    }
}

@media (min-width: 1024px) {
    .hero-description {
        font-size: 1.1875rem;
        line-height: 1.8;
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    order: -1;
}

@media (min-width: 768px) {
    .hero-image-wrapper {
        order: 0;
    }
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(19, 214, 209, 0.1), rgba(90, 160, 241, 0.1));
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.hero-image-wrapper:hover::after {
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.08);
}

@media (min-width: 768px) {
    .hero-image {
        max-height: 500px;
    }
}

/* Widget Section */
.widget-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: fit-content;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #ffffff 0%, #f8fdfd 100%);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(19, 214, 209, 0.1);
    position: relative;
    transition: var(--transition);
}

.widget-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-primary));
    opacity: 0.8;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.widget-section:hover {
    box-shadow: 0 12px 28px rgba(19, 214, 209, 0.15);
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .widget-section {
        padding: 0rem;
    }
}

@media (min-width: 1024px) {
    .widget-section {
        gap: 1.25rem;
        margin-bottom: 4rem;
    }
}

.widget-iframe {
    width: 100%;
    min-height: 600px;
    height: auto;
    background-color: var(--color-white);
    border: none;
    border-radius: var(--radius-sm);
    transition: height 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Benefits Section */
.benefits-section {
    margin-bottom: 3rem;
    padding: 2rem 0;
}

@media (min-width: 1024px) {
    .benefits-section {
        margin-bottom: 5rem;
        padding: 3rem 0;
    }
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--color-dark);
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

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

@media (min-width: 1024px) {
    .benefits-grid {
        gap: 1.25rem;
    }
}

.benefit-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(19, 214, 209, 0.15);
}

@media (max-width: 767px) {
    .benefit-card {
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem;
    }
}

.benefit-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(19, 214, 209, 0.15), rgba(90, 160, 241, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(19, 214, 209, 0.1);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(19, 214, 209, 0.2);
}

.benefit-icon img {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.benefit-card h4 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--color-dark);
}

@media (min-width: 1024px) {
    .benefit-card h4 {
        font-size: 1.125rem;
        line-height: 1.5;
    }
}

/* Risks Section */
.risks-section {
    margin-bottom: 3rem;
    padding: 2rem 0;
}

@media (min-width: 1024px) {
    .risks-section {
        margin-bottom: 5rem;
        padding: 3rem 0;
    }
}

.risks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

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

@media (min-width: 1024px) {
    .risks-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

.risk-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.risk-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.risk-card:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.risk-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(90, 160, 241, 0.12);
}

@media (max-width: 767px) {
    .risk-card {
        padding: 1.5rem;
    }
}

.risk-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(90, 160, 241, 0.15), rgba(19, 214, 209, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(90, 160, 241, 0.1);
}

.risk-card:hover .risk-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(90, 160, 241, 0.2);
}

.risk-icon img {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.risk-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.risk-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
    .risk-card h4 {
        font-size: 1.25rem;
        line-height: 1.4;
    }
}

.risk-desc {
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.65;
}

@media (min-width: 1024px) {
    .risk-desc {
        font-size: 1rem;
        line-height: 1.7;
    }
}

/* Coverage Banner */
.coverage-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #ffffff 0%, #f8fdfd 100%);
    box-shadow: var(--shadow-md);
    padding: 0.625rem;
    margin-bottom: 2rem;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(19, 214, 209, 0.1);
}

.coverage-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-primary));
    opacity: 0.8;
}

.coverage-banner:hover {
    box-shadow: 0 12px 28px rgba(19, 214, 209, 0.15);
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .coverage-banner {
        flex-direction: row;
        height: 335px;
    }
}

@media (min-width: 1024px) {
    .coverage-banner {
        margin-bottom: 4rem;
    }
}

.coverage-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.25rem 0.25rem 0.5rem;
}

@media (min-width: 768px) {
    .coverage-content {
        max-width: 408px;
        gap: 1rem;
        padding: 0;
    }
}

.coverage-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: -0.02em;
    line-height: 1.3;
    background: linear-gradient(135deg, var(--color-dark), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 1024px) {
    .coverage-content h2 {
        font-size: 2rem;
    }
}

.coverage-text {
    font-size: 0.875rem;
    color: var(--color-text);
    line-height: 1.7;
}

@media (min-width: 768px) {
    .coverage-text {
        max-width: 408px;
    }
}

.coverage-text p {
    margin-bottom: 0.5rem;
}

.coverage-text strong {
    font-weight: 700;
}

.coverage-image {
    width: 100%;
    max-width: 557px;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
    transition: var(--transition);
}

.coverage-banner:hover .coverage-image {
    transform: scale(1.03);
}

@media (max-width: 767px) {
    .coverage-image {
        order: -1;
    }
}

/* FAQ Section */
.faq-section {
    position: relative;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 1rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.faq-section:hover {
    box-shadow: var(--shadow-md);
}

.faq-icon .icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor; /* Позволяет менять цвет через color у родителя */
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.minus-icon {
    display: none;
}

/* Пример переключения состояния */
.faq-item.is-active .plus-icon {
    display: none;
}

.faq-item.is-active .minus-icon {
    display: block;
}

@media (min-width: 768px) {
    .faq-section {
        padding: 2.5rem 2rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .faq-section {
        margin-bottom: 4rem;
    }
}

.faq-section .section-title {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 1024px) {
    .faq-section .section-title {
        font-size: 1.5rem;
    }
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--color-bg-light);
    border-radius: 1rem;
    padding: 0 1.25rem;
    border: 1px solid transparent;
    transition: var(--transition);
}

.faq-item:hover {
    background-color: rgba(19, 214, 209, 0.03);
    border-color: rgba(19, 214, 209, 0.2);
}

.faq-item.active {
    background-color: rgba(19, 214, 209, 0.05);
    border-color: var(--color-primary);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    padding: 0.75rem 0;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    background-color: transparent;
    color: var(--color-dark);
    transition: var(--transition);
}

@media (min-width: 768px) {
    .faq-question {
        padding: 1.5rem 0;
        font-size: 1.25rem;
    }
}

.faq-question:hover {
    cursor: pointer;
    color: var(--color-primary);
}

.faq-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background-color: var(--color-white);
    border-radius: 50%;
    transform: translateY(2px);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item:hover .faq-icon {
    background: linear-gradient(135deg, rgba(19, 214, 209, 0.1), var(--color-white));
    box-shadow: 0 4px 12px rgba(19, 214, 209, 0.15);
}

.faq-item.active .faq-icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    transform: translateY(2px) rotate(180deg);
}

@media (min-width: 1024px) {
    .faq-icon {
        width: 48px;
        height: 48px;
    }
}

.faq-icon svg {
    width: 16px;
    height: 16px;
    pointer-events: none;
    transition: var(--transition);
}

.faq-item.active .faq-icon svg {
    stroke: white;
}

.faq-icon .minus-icon {
    position: absolute;
    display: none;
}

.faq-item.active .faq-icon .plus-icon {
    display: none;
}

.faq-item.active .faq-icon .minus-icon {
    display: block;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--color-text);
    opacity: 0;
}

@media (min-width: 1024px) {
    .faq-answer {
        font-size: 1rem;
    }
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    padding-bottom: 1.5rem;
    opacity: 1;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer ul {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer h4 {
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.faq-answer a {
    color: var(--color-primary);
    text-decoration: underline;
}

.faq-answer a:hover {
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: var(--color-dark);
    border-radius: 1.5rem 1.5rem 0 0;
    padding: 2rem 0 6.25rem;
    color: var(--color-white);
}

@media (min-width: 1024px) {
    .footer {
        padding: 2rem 0 1.25rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 0;
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.footer-brand {
    grid-column: span 1;
}

.footer-logo {
    display: flex;
    margin-bottom: 2.5rem;
}

.footer-logo img {
    width: auto;
    max-width: 128px;
    height: auto;
}

@media (min-width: 1024px) {
    .footer-logo img {
        max-width: 193px;
    }
}

.footer-company {
    font-size: 0.75rem;
    opacity: 0.5;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 1023px) {
    .footer-links {
        padding-top: 2rem;
    }
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 0;
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 1023px) {
    .footer-contacts {
        grid-row: 3;
        grid-column: span 2;
        padding-top: 2rem;
    }
}

@media (min-width: 1024px) {
    .footer-contacts {
        grid-column: 3;
        grid-row: 1;
    }
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-link:hover {
    opacity: 0.7;
}

.footer-separator {
    width: 100%;
    height: 1px;
    background-color: var(--color-white);
    opacity: 0.2;
    margin: 2rem 0 0.625rem;
}

@media (min-width: 1024px) {
    .footer-separator {
        margin: 4rem 0 0.625rem;
    }
}

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

.footer-bottom p {
    font-size: 0.875rem;
    opacity: 0.5;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in {
    animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.125rem;
    background: linear-gradient(135deg, rgba(19, 214, 209, 0.12), rgba(90, 160, 241, 0.12));
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0;
    transition: var(--transition);
    width: fit-content;
    border: 1px solid rgba(19, 214, 209, 0.2);
    box-shadow: 0 2px 8px rgba(19, 214, 209, 0.15);
    animation: fadeInDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-badge span:first-child {
    font-size: 1.125rem;
    animation: bounce 2s infinite;
}

.hero-badge:hover {
    background: linear-gradient(135deg, rgba(19, 214, 209, 0.18), rgba(90, 160, 241, 0.18));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(19, 214, 209, 0.25);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    border: none;
    position: relative;
    overflow: hidden;
    min-height: 48px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), #0FBDB8);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(19, 214, 209, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0FBDB8, var(--color-primary));
    box-shadow: 0 8px 20px rgba(19, 214, 209, 0.35);
    transform: translateY(-3px);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(19, 214, 209, 0.3);
}

.btn-outline {
    border: 2px solid var(--color-border);
    color: var(--color-dark);
    background-color: var(--color-white);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    background-color: rgba(19, 214, 209, 0.05);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline:active {
    transform: translateY(-1px);
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(19, 214, 209, 0.3);
}

/* Section Header with Subtitle */
.section-header-modern {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-subtitle {
    color: var(--color-text-light);
    font-size: 1.125rem;
    margin-top: 1rem;
    line-height: 1.6;
}

/* Responsive Helpers */
@media (max-width: 639px) {
    .sm\:hidden {
        display: none;
    }
}

@media (min-width: 640px) and (max-width: 767px) {
    .md\:hidden {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .lg\:hidden {
        display: none;
    }
}

@media (min-width: 1024px) {
    .xl\:hidden {
        display: none;
    }
}

/* Additional Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Pulse Animation for Important Elements */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(19, 214, 209, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(19, 214, 209, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}
