/* Цветовая палитра — серые тона */
:root {
    --color-primary: #374151;
    --color-accent: #7489ad;
    --color-action: #4B5563;
    --color-bg: #FAFAFA;
    --color-text: #1F2937;
    --color-text-light: #6B7280;
    --color-border: #E5E7EB;
    --color-slate-100: #F1F5F9;
    --color-slate-200: #E2E8F0;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1E293B;
    --color-slate-900: #0F172A;
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(30, 41, 59, 0.08);
    --shadow-hover: 0 8px 30px rgba(30, 41, 59, 0.12);
}

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
.header {
    background: linear-gradient(180deg, var(--color-slate-900) 0%, var(--color-slate-800) 100%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.logo-group:hover {
    opacity: 0.8;
}

.logo-group:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 4px;
    border-radius: 4px;
}

.logo__image {
    height: 50px;
    width: auto;
    filter: brightness(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.logo__name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.logo__tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

.logo__image--footer {
    height: 70px;
    opacity: 0.9;
    filter: brightness(1.1);
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav__link {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    background-color: var(--color-slate-600);
    padding: 10px 20px;
    border-radius: 5px;
    color: #FFFFFF;
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    background-color: var(--color-slate-600);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(71, 85, 105, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #FFFFFF;
    transition: var(--transition);
}

/* Переключатель языков */
.language-switcher {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-left: 20px;
}

.language-switcher__btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}

.language-switcher__btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.language-switcher__btn--active {
    background-color: var(--color-slate-600);
    border-color: var(--color-slate-600);
    color: #FFFFFF;
}

.language-switcher__btn--active:hover {
    background-color: var(--color-slate-700);
    border-color: var(--color-slate-700);
}

/* Hero-блок */
.hero {
    background: linear-gradient(152deg, var(--color-slate-600) 0%, var(--color-slate-700) 28%, var(--color-slate-800) 58%, var(--color-slate-900) 100%);
    color: #FFFFFF;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.06)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease;
}

/* Левая колонка: логотип + инфо */
.hero__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    animation: fadeInUp 0.8s ease 0.1s both;
}

/* Правая колонка: ячейки услуг (только десктоп) */
.hero__right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    animation: fadeInUp 0.8s ease 0.15s both;
}

.hero__services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    align-content: start;
}

.hero__service-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.hero__service-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero__service-icon {
    font-size: 20px;
    line-height: 1;
}

.hero__service-title {
    flex: 1;
}

.hero__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero__logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 32px;
    text-decoration: none;
    transition: opacity 0.3s ease;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero__logo:hover {
    opacity: 0.9;
}

.hero__logo:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 4px;
    border-radius: 4px;
}

.hero__social--mobile {
    display: none;
}

.hero__social--desktop {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    row-gap: 10px;
    margin-top: 30px;
    max-width: 100%;
}

.hero__social--desktop .hero__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    text-decoration: none;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__social--desktop .hero__social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero__social--desktop .hero__social-link img,
.hero__social--desktop .hero__social-link svg {
    max-width: 100%;
    max-height: 100%;
}

.hero__social--desktop .hero__social-icon {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.hero__social--desktop .hero__social-link:hover .hero__social-icon {
    transform: scale(1.1);
}


.hero__logo-image {
    height: 70px;
    width: auto;
    filter: brightness(1.2);
}

.hero__logo-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.hero__logo-name {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.hero__logo-tagline {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: left;
}

.hero__subtitle {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
}

.btn--primary {
    background-color: var(--color-slate-600);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(71, 85, 105, 0.35);
}

.btn--primary:hover {
    background-color: var(--color-slate-700);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(71, 85, 105, 0.4);
}

.btn--sticky {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    padding: 15px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(71, 85, 105, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.btn--sticky:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(71, 85, 105, 0.5);
}

.btn--sticky__icon {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 6px 25px rgba(71, 85, 105, 0.4);
    }
    50% {
        box-shadow: 0 6px 35px rgba(71, 85, 105, 0.55);
    }
}


.btn--full {
    width: 100%;
}

/* Секции */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.section-title--white {
    color: #FFFFFF;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* О нас */
.about {
    background-color: var(--color-slate-100);
}

.about__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__paragraph {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--color-text);
}

.about__certificate {
    margin-top: 40px;
    text-align: center;
}

.about__certificate-image {
    max-width: 100%;
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, cursor 0.3s ease;
    border: 1px solid var(--color-border);
    cursor: pointer;
}

.about__certificate-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.about__certificate-caption {
    margin-top: 15px;
    font-size: 14px;
    color: var(--color-text-light);
    font-style: italic;
}

.about__stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-card__number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.stat-card__label {
    font-size: 14px;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Услуги */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #FFFFFF;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid transparent;
    transform: translateY(0);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-slate-600), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(30, 41, 59, 0.18);
    border-top-color: var(--color-accent);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card--expanded {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(30, 41, 59, 0.2);
    border-top-color: var(--color-accent);
}

.service-card--expanded::before {
    transform: scaleX(1);
}

.service-card__header {
    position: relative;
}

.service-card__icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(71, 85, 105, 0.12) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card__icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card__icon-wrapper::before {
    opacity: 0.1;
}

.service-card__icon {
    font-size: 56px;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    display: block;
}

.service-card:hover .service-card__icon {
    transform: scale(1.15) rotate(5deg);
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 15px;
    transition: color 0.3s ease;
    text-align: center;
}

.service-card:hover .service-card__title {
    color: var(--color-accent);
}

.service-card__description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 20px;
    text-align: center;
}

.service-card__toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0.6;
}

.service-card__toggle:hover {
    opacity: 1;
    transform: scale(1.15);
}

.service-card__toggle:hover .service-card__toggle-icon {
    color: var(--color-accent);
}

.service-card__toggle-icon {
    font-size: 14px;
    color: var(--color-text-light);
    transition: all 0.3s ease;
    display: inline-block;
}

.service-card__details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}

.service-card--expanded .service-card__details {
    max-height: 1000px;
    opacity: 1;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--color-border);
}

.service-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.service-card__feature {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text);
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.service-card__feature:hover {
    transform: translateX(5px);
    color: var(--color-primary);
}

.service-card__feature::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #059669 100%);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
    transition: transform 0.2s ease;
}

.service-card__feature:hover::before {
    transform: scale(1.1);
}

.service-card__result {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-primary);
    font-weight: 600;
    padding: 15px;
    background: linear-gradient(135deg, rgba(71, 85, 105, 0.08) 0%, rgba(16, 185, 129, 0.06) 100%);
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
    border-left: 3px solid var(--color-accent);
}

/* Преимущества */
.advantages {
    background: linear-gradient(135deg, var(--color-slate-100) 0%, #FFFFFF 100%);
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    background-color: #FFFFFF;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    transform: translateY(0);
}

.advantage-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.advantage-card__icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.advantage-card__title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.advantage-card__description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-light);
}

/* Отзывы */
.reviews {
    background-color: var(--color-slate-100);
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background-color: #FFFFFF;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    transform: translateY(0);
}

.review-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: var(--shadow-hover);
}

.review-card__content {
    flex: 1;
    margin-bottom: 25px;
}

.review-card__text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text);
    font-style: italic;
}

.review-card__author {
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
}

.review-card__name {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.review-card__position {
    font-size: 14px;
    color: var(--color-text-light);
}

/* Контакты */
.contact {
    background: linear-gradient(152deg, var(--color-slate-600) 0%, var(--color-slate-700) 35%, var(--color-slate-800) 70%, var(--color-slate-900) 100%);
    color: #FFFFFF;
    padding: 100px 0;
}

.contact__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact__description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
    text-align: center;
}

.contact__methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    align-items: center;
}

.contact-method {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
}

.contact-method__info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-method__icon-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-method__icon-link:hover {
    transform: scale(1.1);
}

.contact-method__icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.contact-method__icon img,
.contact-method__icon svg {
    max-width: 100%;
    max-height: 100%;
}

.contact-method__icon-svg {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    filter: brightness(0) invert(1);
}

.contact-method__label {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.contact-method__value {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-method__value:hover {
    color: var(--color-accent);
}

/* Горизонтальное расположение ссылок на больших экранах */
@media (min-width: 769px) {
    .contact__methods {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }
    
    .contact-method {
        flex-direction: column;
        gap: 15px;
        width: auto;
        flex: 0 0 auto;
    }
    
    .contact-method__icon {
        margin-bottom: 5px;
    }
}

/* Форма */
.contact-form {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: #FFFFFF;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-family: var(--font-main);
    font-size: 15px;
    transition: var(--transition);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Модальное окно */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.modal--active {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal__content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

.modal__image {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.modal__close:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Модальное окно WeChat */
.modal__content--wechat {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.wechat-modal__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.wechat-modal__qr {
    max-width: 100%;
    width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.wechat-modal__id-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.wechat-modal__id-label {
    font-size: 14px;
    color: var(--color-text-light);
    font-weight: 500;
}

.wechat-modal__id-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #F8F9FA;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    width: 100%;
    justify-content: space-between;
}

.wechat-modal__id {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    color: var(--color-primary);
    font-weight: 600;
    flex: 1;
    word-break: break-all;
}

.wechat-modal__copy-btn {
    background-color: var(--color-primary);
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    width: 36px;
    height: 36px;
}

.wechat-modal__copy-btn:hover {
    background-color: var(--color-slate-700);
    transform: scale(1.05);
}

.wechat-modal__copy-btn:active {
    transform: scale(0.95);
}

.wechat-modal__copy-btn svg {
    width: 18px;
    height: 18px;
    stroke: #FFFFFF;
}

.wechat-modal__copy-message {
    font-size: 14px;
    color: var(--color-accent);
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    height: 20px;
}

.wechat-modal__copy-message.show {
    opacity: 1;
}

@media (max-width: 768px) {
    .modal__content--wechat {
        padding: 20px;
        max-width: 90%;
    }
    
    .wechat-modal__qr {
        width: 250px;
    }
    
    .wechat-modal__id {
        font-size: 14px;
    }
    
    .wechat-modal__copy-btn {
        width: 32px;
        height: 32px;
        padding: 6px;
    }
    
    .wechat-modal__copy-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Футер */
.footer {
    background: linear-gradient(165deg, var(--color-slate-800) 0%, var(--color-slate-900) 45%, #020617 100%);
    color: #FFFFFF;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.footer__logo .logo-text {
    text-align: left;
}

.footer__text {
    font-size: 14px;
    opacity: 0.7;
    letter-spacing: 0.3px;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Адаптивность */
@media (max-width: 968px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .language-switcher {
        margin-left: 15px;
    }
    
    .logo-group {
        gap: 15px;
    }
    
    .logo__name {
        font-size: 16px;
    }
    
    .logo__tagline {
        font-size: 11px;
    }
    
    .about__content {
        grid-template-columns: 1fr;
    }
    
    .about__stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .contact__content {
        max-width: 100%;
    }
    
    .services__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-card__icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .service-card__icon {
        font-size: 48px;
    }
    
    .service-card__toggle {
        width: 20px;
        height: 20px;
        top: 8px;
        right: 8px;
    }
    
    .service-card__toggle-icon {
        font-size: 12px;
    }
}

/* Laptop: уменьшенные заголовки и отступы */
@media (min-width: 769px) and (max-width: 1100px) {
    section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: clamp(24px, 3.2vw, 34px);
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .hero {
        padding: 45px 0;
    }
    
    .hero__content {
        gap: 40px;
    }
    
    .hero__title {
        font-size: clamp(28px, 4vw, 42px);
        margin-bottom: 16px;
    }
    
    .hero__subtitle {
        font-size: clamp(15px, 1.8vw, 18px);
        margin-bottom: 28px;
    }
    
    .hero__logo-image {
        height: 58px;
    }
    
    .hero__logo {
        margin-bottom: 24px;
    }
    
    .hero__social--desktop {
        margin-top: 24px;
        gap: 12px;
        row-gap: 8px;
    }
    
    .hero__social--desktop .hero__social-link {
        width: 40px;
        height: 40px;
    }
    
    .hero__social--desktop .hero__social-icon {
        width: 20px;
        height: 20px;
        max-width: 20px;
        max-height: 20px;
    }
    
    .hero__services {
        gap: 10px;
    }
    
    .hero__service-link {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .hero__service-icon {
        font-size: 18px;
    }
    
    .advantage-card__title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .advantage-card {
        padding: 32px 24px;
    }
    
    .advantage-card__icon {
        font-size: 40px;
        margin-bottom: 16px;
    }
    
    .service-card__title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .service-card {
        padding: 32px 24px;
    }
    
    .services__grid,
    .advantages__grid,
    .reviews__grid {
        gap: 24px;
    }
    
    .review-card {
        padding: 32px 24px;
    }
    
    .contact {
        padding: 60px 0;
    }
    
    .about__content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 80px;
    }
    
    section {
        padding: 20px 0 28px;
    }
    
    .section-header {
        margin-bottom: 24px;
    }
    
    .hero {
        padding: 24px 0 20px;
    }
    
    .hero__content {
        display: flex;
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .hero__left {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero__right {
        display: flex;
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .hero__logo {
        display: none;
    }
    
    .hero__social--mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        flex: 0 0 auto;
        order: 1;
        margin: 0 auto;
        flex-wrap: wrap;
        padding-bottom: 10px;
    }
    
    .hero__social--desktop {
        display: none;
    }
    
    .hero__social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.1);
        transition: var(--transition);
        text-decoration: none;
        overflow: hidden;
    }
    
    .hero__social-link img,
    .hero__social-link svg {
        max-width: 100%;
        max-height: 100%;
    }
    
    .hero__social-link:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }
    
    .hero__social-icon {
        width: 24px !important;
        height: 24px !important;
        max-width: 24px !important;
        max-height: 24px !important;
        filter: brightness(0) invert(1);
    }
    
    .hero__text {
        order: 2;
        align-items: center;
        text-align: center;
    }
    
    .hero__title {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 26px;
        text-align: center;
    }
    
    .hero__subtitle {
        display: none;
    }
    
    .hero__text .btn {
        display: none;
    }
    
    .hero__services {
        width: 100%;
        gap: 10px;
        justify-items: stretch;
    }
    
    .hero__service-link {
        padding: 12px 14px;
        font-size: 14px;
        justify-content: center;
    }
    
    .hero__service-icon {
        font-size: 18px;
    }
    
    .about__stats {
        flex-direction: column;
    }
    
    .about__certificate {
        margin-top: 30px;
    }
    
    .about__certificate-image {
        max-width: 100%;
    }
    
    .modal {
        padding: 10px;
    }
    
    .modal__content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .modal__image {
        max-height: 95vh;
    }
    
    .modal__close {
        top: -35px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
    
    .services__grid,
    .advantages__grid,
    .reviews__grid {
        grid-template-columns: 1fr;
    }
    
    .services .section-subtitle {
        display: none;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-card__icon-wrapper {
        display: none;
    }
    
    .advantage-card,
    .review-card {
        padding: 30px 20px;
    }
    
    .about__paragraph {
        margin-bottom: 15px;
    }
    
    .contact {
        padding: 50px 0;
    }
    
    .contact-form {
        padding: 25px 20px;
    }
    
    .contact__methods {
        align-items: stretch;
        width: 100%;
    }
    
    .contact-method {
        justify-content: center;
        text-align: center;
        align-items: center;
    }
    
    .contact-method__info {
        text-align: center;
        align-items: center;
    }
    
    .footer {
        padding: 25px 0;
    }
    
    .footer__content {
        gap: 12px;
    }
    
    .logo__image--footer {
        height: 60px;
    }
}

/* Навигация по услугам — скрыта на всех вариантах */
.services__nav {
    display: none;
}

.service-nav-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(71, 85, 105, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(71, 85, 105, 0.2);
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.service-nav-btn:hover {
    background-color: var(--color-slate-600);
    color: #FFFFFF;
    border-color: var(--color-slate-600);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(71, 85, 105, 0.25);
}

@media (max-width: 768px) {
    .service-card {
        padding: 20px 15px;
    }
    
    .advantage-card,
    .review-card {
        padding: 25px 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 14px 0 20px;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .hero {
        padding: 18px 0 16px;
    }
    
    .hero__content {
        gap: 18px;
    }
    
    .hero__social--mobile {
        gap: 12px;
    }
    
    .hero__social-link {
        width: 36px;
        height: 36px;
    }
    
    .hero__social-icon {
        width: 20px !important;
        height: 20px !important;
        max-width: 20px !important;
        max-height: 20px !important;
    }
    
    .hero__title {
        font-size: 22px;
    }
    
    .hero__services {
        gap: 8px;
    }
    
    .hero__service-link {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .hero__service-icon {
        font-size: 16px;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .logo-group {
        gap: 12px;
    }
    
    .logo__image {
        height: 40px;
    }
    
    .logo__name {
        font-size: 14px;
    }
    
    .logo__tagline {
        font-size: 10px;
    }
    
    .language-switcher {
        margin-left: 10px;
    }
    
    .language-switcher__btn {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .service-card {
        padding: 18px 15px;
    }
    
    .advantage-card,
    .review-card {
        padding: 20px 15px;
    }
    
    .contact {
        padding: 32px 0;
    }
    
    .contact-form {
        padding: 20px 15px;
    }
    
    .btn--sticky {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        padding: 12px;
    }
    
    .btn--sticky__icon {
        width: 24px;
        height: 24px;
    }
    
    .service-card__icon-wrapper {
        display: none;
    }
    
    .service-card__title {
        font-size: 18px;
    }
    
    .service-card__description {
        font-size: 14px;
    }
    
    .service-card__toggle {
        width: 18px;
        height: 18px;
        top: 5px;
        right: 5px;
    }
    
    .service-card__toggle-icon {
        font-size: 10px;
    }
    
    .service-card__feature {
        font-size: 14px;
        padding-left: 24px;
    }
    
    .service-card__feature::before {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }
    
    .footer {
        padding: 20px 0;
    }
    
    .footer__content {
        gap: 10px;
    }
    
    .logo__image--footer {
        height: 50px;
    }
}

@media (max-width: 410px) {
    section {
        padding: 12px 0 18px;
    }
    
    .section-header {
        margin-bottom: 18px;
    }
    
    .hero {
        padding: 14px 0 12px;
    }
    
    .hero__content {
        gap: 14px;
    }
    
    .hero__title {
        font-size: 20px;
    }
    
    .hero__services {
        gap: 6px;
    }
    
    .hero__service-link {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .hero__service-icon {
        font-size: 14px;
    }
    
    .hero__social--mobile {
        gap: 10px;
    }
    
    .hero__social-link {
        width: 32px;
        height: 32px;
    }
    
    .hero__social-icon {
        width: 18px !important;
        height: 18px !important;
        max-width: 18px !important;
        max-height: 18px !important;
    }
}
