* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark: #f3f4f5;
    --light: #d6d6d5;
    --gray: #949492;
    --gold: #FFD700;
    --white: #1d2846;
    --gold-gradient: linear-gradient(90deg, #D4A017 0%, #FFD700 100%);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* АНИМАЦИЯ ФОНА */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-40px) translateX(-10px);
    }
    75% {
        transform: translateY(-20px) translateX(10px);
    }
}

@keyframes floatSlow {
    0%, 100% {
        opacity: 0.05;
    }
    50% {
        opacity: 0.1;
    }
}

/* АНИМАЦИЯ ЗУМА ФОНА - ЛЮКСОВЫЙ ЭФФЕКТ */
@keyframes bgZoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

body {
    font-family: 'Montserrat', 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1d2846;
    line-height: 1.6;
    background: linear-gradient(135deg, #f8f9fa 0%, #f3f4f5 100%);
    font-size: 16px;
    font-weight: 400;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(243, 244, 245, 0.6) 0%, rgba(255, 255, 255, 0.6) 100%),
        url('./assets/BG.jpg') center/cover no-repeat fixed;
    animation: bgZoom 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
    opacity: 1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(29, 40, 70, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(29, 40, 70, 0.01) 0%, transparent 50%);
    animation: floatSlow 8s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

/* Убираем градиент для главной страницы */
body.page-home::after {
    background: transparent;
    animation: none;
}

/* Затемнение для всех страниц кроме главной */
body:not(.page-home)::before {
    background: 
        linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
        url('./assets/BG.jpg') center/cover no-repeat fixed;
    opacity: 1;
}

/* Белый фон для главной страницы */
body.page-home::before {
    background: #ffffff !important;
    animation: none !important;
    opacity: 0 !important;
}

main {
    position: relative;
    z-index: 1;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: #1a2d52;
    border-bottom: 1.5px solid rgba(29, 40, 70, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.logo {
    display: inline-flex;
    align-items: center;
    color: #e8e8e8;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.logo .logo-img {
    display: block;
    height: 32px;
    width: auto;
    max-width: 180px;
    transition: inherit;
}

.logo:hover {
    color: #FFD700;
    text-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
    transform: scale(1.05);
}

.logo:hover .logo-img {
    filter: brightness(0) saturate(100%) invert(85%) sepia(35%) saturate(1200%) hue-rotate(5deg);
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: #e8e8e8;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    padding-bottom: 4px;
}

.nav-menu {
    display: flex;
    position: static;
    visibility: visible;
    top: auto;
    left: auto;
    right: auto;
    background: none;
    border: none;
    max-height: none;
    backdrop-filter: none;
    box-shadow: none;
    flex-direction: row;
    padding: 0;
}

.nav-menu a {
    border: none;
    padding: 0;
}

.nav-menu a::before {
    display: none;
}

/* Hamburger menu скрыт на десктопе */
.hamburger-menu {
    display: none;
}

@media (max-width: 1366px) {
    .header-container {
        padding: 0 1.25rem;
        gap: 1rem;
    }

    .logo {
        flex: 0 0 auto;
    }

    .logo .logo-img {
        height: 28px;
        max-width: 156px;
    }

    .nav-menu {
        flex: 1 1 auto;
        justify-content: flex-end;
        gap: 1.1rem;
        min-width: 0;
    }

    .nav-menu a {
        font-size: 0.74rem;
        letter-spacing: 0.5px;
    }
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #FFD700;
}

/* MAIN */
main {
    margin-top: 80px;
}

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* HERO */
.hero {
    padding: 10rem 0 6rem 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: #ffffff;
    background-image: url('./assets/kolona.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.hero-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    animation: slideIn 0.8s ease-out;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-left {
    flex: 1 1 0%;
    min-width: 0;
    background: #1d2846;
    padding: 4rem;
    border-radius: 28px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(25px);
    box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
}

.hero-left:hover {
    border: 2px solid rgba(29, 40, 70, 0.4);
    box-shadow: 0 16px 64px 0 rgba(29, 40, 70, 0.15);
    backdrop-filter: blur(30px);
}

.hero h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.8rem);
    line-height: 1.08;
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-wrap: balance;
    hyphens: manual;
}

.hero p {
    font-size: 1.35rem;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-weight: 300;
}

.hero-company-address {
    margin-top: 2.5rem;
    padding: 1.15rem 1.4rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 215, 0, 0.32);
    border-left: 4px solid #FFD700;
    border-radius: 14px;
    max-width: 100%;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.address-city {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
}

.address-street {
    font-size: 0.95rem;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

.address-hours {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-style: italic;
}

.address-separator {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* HERO RIGHT */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-shrink: 0;
}

.hero-contacts-inline {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.8rem;
    background: linear-gradient(135deg, #1d2846 0%, #2a3f5f 100%);
    border: 1.5px solid rgba(255, 215, 0, 0.3);
    border-left: 4px solid #FFD700;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    animation: slideInUp 0.8s ease-out 0.3s backwards;
    transition: all 0.3s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-contacts-inline:hover {
    border: 1.5px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 12px 48px 0 rgba(255, 215, 0, 0.25);
}

/* Блок контактов под обоими блоками */
.hero-contacts-block {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 3rem;
    padding: 1.5rem 1.8rem;
    background: linear-gradient(135deg, #1d2846 0%, #2a3f5f 100%);
    border: 1.5px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    animation: slideInUp 0.8s ease-out 0.4s backwards;
    transition: all 0.3s ease;
}

.hero-contacts-block:hover {
    border: 1.5px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 12px 48px 0 rgba(255, 215, 0, 0.2);
}

.hero-contact-item-block {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 1rem 1rem;
    min-height: 95px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-align: center;
    flex-direction: column;
}

.hero-contact-item-block:hover {
    color: #FFD700;
    background: linear-gradient(135deg, #dfee13 0%, #D3D3D3 50%, #E8E8E8 100%);
    border: 1px solid rgba(255, 215, 0, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.hero-contact-item {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.hero-contact-item:hover {
    color: #FFD700;
    transform: translateX(4px);
}

.hero-contact-address {
    cursor: default !important;
    pointer-events: none;
}

.hero-contact-address:hover {
    transform: none;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #D4A017 0%, #FFD700 100%);
    color: #1d2846;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(180, 180, 180, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-buttons-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.cta-phone {
    display: none;
    align-items: center;
    justify-content: center;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    transition: left 0.35s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, #D4A017 0%, #FFD700 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px hsl(51, 100%, 50%);, inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* FORM */
.hero-form {
    background: linear-gradient(135deg, #1d2846 0%, #2a3f5f 100%);
    box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.3);
    border-radius: 24px;
    padding: 2.8rem 2.2rem;
    min-width: 0;
    max-width: 380px;
    width: 100%;
    flex-shrink: 0;
    border: 2.5px solid hsl(51, 100%, 50%);
    position: relative;
    overflow: hidden;
    animation: slideInRight 0.8s ease-out 0.2s backwards;
    box-sizing: border-box;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #D4A017 0%, #FFD700 100%);
}

.hero-form::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(29, 40, 70, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}

.main-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    z-index: 1;
}

.main-contact-form h3 {
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.main-contact-form input[type="text"],
.main-contact-form input[type="tel"] {
    padding: 1.1rem 1.3rem;
    border: 1.5px solid rgba(255, 215, 0, 0.4);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.main-contact-form input[type="text"]::placeholder,
.main-contact-form input[type="tel"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.main-contact-form input[type="text"]:focus,
.main-contact-form input[type="tel"]:focus {
    border: 1.5px solid #FFD700;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #D4A017 0%, #FFD700 100%);
}

/* Чекбокс для политики конфиденциальности */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 0;
    margin: 0.5rem 0;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.2rem;
    cursor: pointer;
    accent-color: #1d2846;
    flex-shrink: 0;
}

.form-checkbox label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.4;
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: 400;
}

.form-checkbox label:hover {
    color: #FFD700;
}

.form-checkbox label a {
    transition: all 0.3s ease;
}

.form-checkbox label a:hover {
    opacity: 0.8;
}

.main-contact-form button.cta-button {
    width: 100%;
    border-radius: 10px;
    padding: 1.2rem 2rem;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #D4A017 0%, #FFD700 100%);
    color: #1d2846;
    border: none;
    box-shadow: 0 6px 20px rgba(180, 180, 180, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.main-contact-form button.cta-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #D4A017 0%, #FFD700 100%);
}

.form-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.2rem;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* STATS SECTION */
.stats {
    background: linear-gradient(135deg, rgba(243, 244, 245, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    padding: 6rem 0;
    margin: 4rem 0;
    border-radius: 32px;
    box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.08);
    border: 1.5px solid rgba(29, 40, 70, 0.1);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(180deg, rgba(29, 40, 70, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.stats-title {
    font-size: 2.2rem;
    text-align: center;
    color: #1d2846;
    margin-bottom: 3rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(29, 40, 70, 0.08);
    position: relative;
    z-index: 1;
}

.stats-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1d2846 0%, #2a3f5f 100%);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.stat {
    text-align: center;
    animation: fadeInUp 0.8s ease-out backwards;
}

.stat:nth-child(1) { animation-delay: 0.1s; }
.stat:nth-child(2) { animation-delay: 0.2s; }
.stat:nth-child(3) { animation-delay: 0.3s; }
.stat:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(120deg, #1d2846, #2a3f5f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    color: #949492;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* SERVICES SECTION */
.services {
    padding: 8rem 0;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.70) 100%),
        linear-gradient(135deg, rgba(243, 244, 245, 0.35) 0%, rgba(255, 255, 255, 0.4) 100%),
        url('./assets/BG.jpg') center/cover no-repeat fixed;
    border-radius: 32px;
    box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.08);
    border: 1.5px solid rgba(29, 40, 70, 0.1);
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(29, 40, 70, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #1d2846;
    text-shadow: 0 2px 16px rgba(29, 40, 70, 0.08);
    position: relative;
    z-index: 2;
    text-align: center;
}

.services .section-title {
    color: #1d2846;
    text-shadow: 0 2px 16px rgba(29, 40, 70, 0.08);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1d2846 0%, #2a3f5f 100%);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.services .section-title::after {
    background: linear-gradient(90deg, #1d2846 0%, #2a3f5f 100%);
}

.team-section .section-title {
    color: #ffffff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.reviews-section .section-title {
    color: #ffffff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1d2846 0%, #2a3f5f 100%);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* ITEMS LIST LARGE */
.items-list-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

.list-item-large {
    padding: 2.8rem;
    background: linear-gradient(135deg, #1d2846 0%, #2a3f5f 100%);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    color: #ffffff;
    border: 5px solid #ffffff;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out backwards;
    min-width: 0;
    box-sizing: border-box;
}

button.list-item-large {
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.list-item-large:nth-child(1) { animation-delay: 0.1s; }
.list-item-large:nth-child(2) { animation-delay: 0.15s; }
.list-item-large:nth-child(3) { animation-delay: 0.2s; }
.list-item-large:nth-child(4) { animation-delay: 0.25s; }
.list-item-large:nth-child(5) { animation-delay: 0.3s; }
.list-item-large:nth-child(6) { animation-delay: 0.35s; }

.list-item-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 40, 70, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.list-item-large:hover::before {
    opacity: 1;
}

.list-item-large:hover {
    background: linear-gradient(135deg, rgba(243, 244, 245, 0.97) 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 1.5px solid rgba(29, 40, 70, 0.25);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px 0 rgba(29, 40, 70, 0.15);
    border-left: 5px solid #2a3f5f;
}

.list-item-large:hover h3,
.list-item-large:hover p {
    text-shadow: none;
}

.list-item-large:focus-visible {
    outline: 3px solid rgba(255, 215, 0, 0.6);
    outline-offset: 4px;
}

.list-item-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #D4A017 0%, #FFD700 50%, #D4A520 100%);
    color: #1d2846;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(212, 160, 17, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 3;
}

.list-item-large h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    position: relative;
    z-index: 3;
}

.list-item-large p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.66;
    position: relative;
    z-index: 3;
    font-weight: 300;
}

/* COMPANY INFO */
.company-info {
    padding: 3rem 0 4rem 0;
}

.company-description {
    background: linear-gradient(135deg, rgba(243, 244, 245, 0.85) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(12px);
    padding: 3rem;
    border-radius: 16px;
    border: 1.5px solid rgba(29, 40, 70, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.company-description p {
    color: #1d2846;
    font-size: 1.1rem;
    line-height: 1.85;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.5);
}

.company-description p:last-child {
    margin-bottom: 0;
}

.company-description strong {
    color: #2a3f5f;
    font-weight: 700;
}

/* SERVICE PAGE */
.service-page-content {
    padding: 4rem 0;
    position: relative;
    background: url('./assets/BG.jpg') center/cover no-repeat fixed;
}

.service-page-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.76);
    pointer-events: none;
    z-index: 1;
}

/* Фоны для каждой страницы */
body.page-prizyiniki .service-page-content {
    background: url('./assets/priziv.png') center/cover no-repeat fixed;
}

body.page-voennye .service-page-content {
    background: url('./assets/arm.png') center/cover no-repeat fixed;
}

body.page-avto .service-page-content {
    background: url('./assets/avto.png') center/cover no-repeat fixed;
}

body.page-grazhdanskoe .service-page-content {
    background: url('./assets/pravovie.png') center/cover no-repeat fixed;
}

body.page-administrativnoe .service-page-content {
    background: url('./assets/administative.png') center/cover no-repeat fixed;
}

body.page-ugolovnoe .service-page-content {
    background: url('./assets/ugolovnie.png') center/cover no-repeat fixed;
}

.service-page-content > .container {
    position: relative;
    z-index: 2;
}

.service-description {
    background: linear-gradient(135deg, rgba(243, 244, 245, 0.75) 0%, rgba(255, 255, 255, 0.75) 100%);
    backdrop-filter: blur(12px);
    padding: 3.5rem;
    border-radius: 20px;
    margin: -7rem auto 3rem;
    border: 1.5px solid rgba(29, 40, 70, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 3;
    max-width: 1120px;
}

.service-description h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1d2846;
    text-shadow: 0 2px 8px rgba(29, 40, 70, 0.08);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.service-description p {
    color: #1d2846;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.services-anchor-block {
    scroll-margin-top: 110px;
}



/* FOOTER */
footer {
    background: linear-gradient(180deg, #f8f9fa 0%, #f3f4f5 100%);
    color: #949492;
    padding: 3rem 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid rgba(29, 40, 70, 0.1);
    transition: all 0.3s ease;
}

footer:hover {
    background: linear-gradient(180deg, #f8f9fa 0%, #f0f1f3 100%);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        gap: 2rem;
    }
    .hero-left {
        padding: 2.5rem;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p {
        font-size: 1.15rem;
    }
    .hero-form {
        max-width: 100%;
        min-width: 0;
        width: 100%;
        margin-top: 2rem;
    }
    .cta-buttons-group {
        flex-direction: column;
        gap: 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    nav {
        gap: 1.5rem;
        display: none;
    }
    nav a {
        font-size: 0.75rem;
    }
    
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        z-index: 1010;
        width: auto;
        height: auto;
    }
    
    .hamburger-menu span {
        width: 25px;
        height: 2.5px;
        background: #ffffff;
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        display: block;
    }
    
    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }
    
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        background: rgba(255, 255, 255, 0.99);
        backdrop-filter: blur(20px);
        border: 1.5px solid rgba(29, 40, 70, 0.1);
        border-radius: 0 0 24px 24px;
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        box-sizing: border-box;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 0 40px rgba(29, 40, 70, 0.05);
        width: 100%;
        max-height: 80vh;
        overflow-y: auto;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 1000;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
        transform: translateY(0);
    }
    
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: -1;
    }

    .nav-menu.active::before {
        background: rgba(255, 255, 255, 0.4);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-menu a {
        display: block;
        padding: 0.75rem 1.5rem;
        color: #1d2846;
        text-decoration: none;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(29, 40, 70, 0.1);
        position: relative;
        pointer-events: all;
        z-index: 1;
        font-weight: 600;
    }

    .nav-menu a::before {
        content: '';
        position: absolute;
        left: 1.5rem;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(180deg, #1d2846 0%, #2a3f5f 100%);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    .nav-menu a:hover {
        background: rgba(29, 40, 70, 0.05);
        color: #1d2846;
    }

    .nav-menu a:hover::before {
        transform: scaleY(1);
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }
}

@media (max-width: 600px) {
    .logo .logo-img {
        height: 28px;
    }
    nav {
        gap: 0.8rem;
        font-size: 0.7rem;
    }
    nav a {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }
    .hero-left {
        padding: 1.5rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .hero-form {
        padding: 1.5rem 1rem;
        max-width: 100%;
    }
    .cta-buttons-group {
        flex-direction: column;
        gap: 0.8rem;
    }
    .cta-button {
        font-size: 0.85rem;
        padding: 1rem 2rem;
    }
    .items-list-large {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    .stats-title {
        font-size: 1.6rem;
    }
    .stat-number {
        font-size: 2.5rem;
    }
    .stats {
        padding: 3rem 0;
    }
    .list-item-large {
        padding: 2rem;
    }
}


/* SERVICE PAGE */
.service-page-content {
    padding: 4rem 0;
}

.service-description {
    background: linear-gradient(135deg, rgba(243, 244, 245, 0.75) 0%, rgba(255, 255, 255, 0.75) 100%);
    backdrop-filter: blur(12px);
    padding: 3rem;
    border-radius: 18px;
    margin: -7rem auto 3rem;
    border: 1.5px solid rgba(29, 40, 70, 0.1);
    box-shadow: 0 4px 16px 0 rgba(0,0,0,0.08);
    position: relative;
    z-index: 3;
    max-width: 1120px;
}

.service-description h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1d2846;
    text-shadow: 0 2px 8px rgba(29, 40, 70, 0.08);
}

.service-description p {
    color: #1d2846;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #1d2846;
    text-shadow: 0 2px 16px rgba(29, 40, 70, 0.08);
}

/* ITEMS LIST LARGE */
.items-list-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.list-item-large {
    padding: 2.5rem;
    background: linear-gradient(135deg, #1d2846 0%, #2a3f5f 100%);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    color: #ffffff;
    border: 5px solid #ffffff;
    box-shadow: 0 4px 16px 0 rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
}

.list-item-large:hover {
    background: linear-gradient(135deg, #2a3f5f 0%, #3a4f7f 100%);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px 0 rgba(255, 255, 255, 0.2);
}

.list-item-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #D4A017 0%, #FFD700 100%);
    color: #1d2846;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.list-item-large h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.list-item-large p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
}

/* FOOTER */
footer {
    background: linear-gradient(180deg, #f8f9fa 0%, #f3f4f5 100%);
    color: #949492;
    padding: 3rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        gap: 2rem;
    }
    .hero-left {
        padding: 2.5rem;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p {
        font-size: 1.15rem;
    }
    .hero-right {
        width: 100%;
        gap: 1.2rem;
    }
    .hero-form {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
    .hero-contacts-inline {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 1.5rem;
        gap: 0.6rem;
    }
    .hero-contacts-block {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2rem;
        margin-top: 2.5rem;
    }
    .hero-contact-item-block {
        font-size: 0.95rem;
        padding: 1.2rem;
    }
}

@media (max-width: 600px) {
    nav {
        gap: 1rem;
        font-size: 0.8rem;
        display: none;
    }
    .hero-left {
        padding: 1.5rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .hero-right {
        width: 100%;
        gap: 1rem;
    }
    .hero-form {
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
        width: 100%;
        min-width: 0;
    }
    .hero-contacts-inline {
        width: 100%;
        padding: 1.2rem;
        gap: 0.5rem;
        border-left-width: 3px;
    }

    .hero-contacts-block {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.2rem;
        margin-top: 1.5rem;
    }

    .hero-contact-item-block {
        font-size: 0.85rem;
        padding: 0.9rem;
    }
    .items-list-large {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 1.8rem;
    }

    /* ==================== МОБИЛЬНОЕ МЕНЮ ===================*/
    header {
        height: 70px;
    }

    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        flex: 1;
        text-align: left;
    }
    .logo .logo-img {
        height: 26px;
    }

    .nav-menu {
        top: 70px;
    }
}

/* РАЗНЫЕ ФОНЫ ДЛЯ КАЖДОЙ СТРАНИЦЫ */

/* Главная страница - светлый фон */
body.page-home::before {
    background: url('./assets/BG.jpg') center/cover no-repeat fixed;
    animation: bgZoom 20s ease-in-out infinite;
    opacity: 0.30;
}

body.page-home {
    background: linear-gradient(135deg, #f8f9fa 100%, #f3f4f5 100%);
}

/* Защита прав призывников - светлый фон */
body.page-prizyiniki {
    background: linear-gradient(135deg, #f8f9fa 0%, #f3f4f5 100%);
}

/* Защита прав военнослужащих - светлый фон */
body.page-voennye {
    background: linear-gradient(135deg, #f8f9fa 0%, #f3f4f5 100%);
}

/* Автомобильное право - светлый фон */
body.page-avto {
    background: linear-gradient(135deg, #f8f9fa 0%, #f3f4f5 100%);
}

/* Гражданское право - светлый фон */
body.page-grazhdanskoe {
    background: linear-gradient(135deg, #f8f9fa 0%, #f3f4f5 100%);
}

/* Административное право - светлый фон */
body.page-administrativnoe {
    background: linear-gradient(135deg, #f8f9fa 0%, #f3f4f5 100%);
}

/* Уголовное право - светлый фон */
body.page-ugolovnoe {
    background: linear-gradient(135deg, #f8f9fa 0%, #f3f4f5 100%);
}

/* Контакты - светлый фон */
body.page-kontakty {
    background: linear-gradient(135deg, #f8f9fa 0%, #f3f4f5 100%);
}

/* ==================== КОНТАКТЫ ===================*/

/* Контактный герой блок */
.contact-hero {
    padding: 60px 40px 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1d2846;
    animation: slideInDown 0.8s ease-out;
}

.contact-hero-subtitle {
    font-size: 1.3rem;
    color: #1d2846;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Контактная сетка карточек */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

/* Отдельная контактная карточка */
.contact-card {
    position: relative;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(230, 195, 107, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out backwards;
    cursor: pointer;
}

.contact-card:nth-child(1) {
    animation-delay: 0.2s;
}

.contact-card:nth-child(2) {
    animation-delay: 0.4s;
}

.contact-card:nth-child(3) {
    animation-delay: 0.6s;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e6c36b 0%, #bfa14a 100%);
    opacity: 0;
    transition: opacity 0.4s ease-out;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(230, 195, 107, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(230, 195, 107, 0.1);
}

.contact-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    display: inline-block;
    color: #9B7E51;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(90deg, #e6c36b 0%, #bfa14a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-address {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.contact-link {
    font-size: 0.95rem;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    width: fit-content;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e6c36b 0%, #bfa14a 100%);
    transition: width 0.3s ease;
}

.contact-link:hover {
    color: #e6c36b;
}

.contact-link:hover::after {
    width: 100%;
}

.contact-hours {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.6;
    border-top: 1px solid rgba(230, 195, 107, 0.1);
    padding-top: 1rem;
}

/* Секция формы контактов */
.contact-form-section {
    padding: 4rem 0;
}

.contact-form-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Красивая форма */
.beautiful-form {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row.full-width {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.beautiful-form label {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.7rem;
    color: #1d2846;
    transition: color 0.3s ease;
}

.beautiful-form input,
.beautiful-form select,
.beautiful-form textarea {
    padding: 1rem 1.2rem;
    border-radius: 10px;
    border: 1.5px solid rgba(29, 40, 70, 0.15);
    background: rgba(243, 244, 245, 0.8);
    backdrop-filter: blur(10px);
    color: #1d2846;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    outline: none;
}

.beautiful-form input::placeholder,
.beautiful-form textarea::placeholder {
    color: #d6d6d5;
}

.beautiful-form input:focus,
.beautiful-form select:focus,
.beautiful-form textarea:focus {
    border-color: #1d2846;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 20px rgba(29, 40, 70, 0.12), inset 0 0 20px rgba(29, 40, 70, 0.03);
}

.beautiful-form select {
    cursor: pointer;
    appearance: none;
    background-image: 
        linear-gradient(to bottom, transparent 50%, #e6c36b 50%),
        linear-gradient(to right, transparent calc(100% - 20px), #e6c36b calc(100% - 20px));
    background-repeat: no-repeat;
    background-position: right 1rem center, right 1rem center;
    background-size: 5px 5px, 20px 100%;
    padding-right: 2.5rem;
}

.beautiful-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Кнопка отправки */
.beautiful-form .large-button {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
    border-radius: 10px;
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    margin-top: 1.2rem;
}

.form-feedback {
    margin-bottom: 1rem;
    min-height: 0;
    overflow: hidden;
}
.form-feedback:empty {
    display: none;
}
.form-feedback .form-msg {
    margin: 0;
    animation: formMsgIn 0.35s ease;
}
@keyframes formMsgIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.form-msg {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.form-msg-ok {
    background: linear-gradient(135deg, #198754 0%, #2fbf71 100%);
    color: #ffffff;
    border: 1px solid rgba(10, 70, 38, 0.2);
    box-shadow: 0 8px 20px rgba(25, 135, 84, 0.18);
}
.form-msg-err {
    background: #f8d7da;
    color: #721c24;
}

/* Чекбокс для beautiful-form */
.beautiful-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem 0;
    margin: 1rem 0;
}

.beautiful-form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.3rem;
    cursor: pointer;
    accent-color: #1d2846;
    flex-shrink: 0;
}

.beautiful-form-checkbox label {
    color: #949492;
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: 400;
}

.beautiful-form-checkbox label:hover {
    color: #1d2846;
}

.beautiful-form-checkbox label a {
    transition: all 0.3s ease;
}

.beautiful-form-checkbox label a:hover {
    opacity: 0.6;
}

/* Адаптивные контакты */
@media (max-width: 900px) {
    .contact-hero-title {
        font-size: 2.5rem;
    }

    .contact-hero-subtitle {
        font-size: 1.1rem;
    }

    .contact-grid {
        gap: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .contact-hero {
        padding: 40px 20px;
    }

    .contact-hero-title {
        font-size: 2rem;
    }

    .contact-hero-subtitle {
        font-size: 0.95rem;
    }

    .contact-card {
        padding: 1.5rem 1.2rem;
    }

    .contact-card h3 {
        font-size: 1.3rem;
    }

    .beautiful-form input,
    .beautiful-form select,
    .beautiful-form textarea {
        font-size: 16px;
    }
}

/* REVIEWS SECTION */
.reviews-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a2d52 0%, #2a3d62 100%);
    margin: 3rem 0;
    border-top: 1px solid rgba(29, 40, 70, 0.15);
    border-bottom: 1px solid rgba(29, 40, 70, 0.15);
}

.reviews-carousel {
    position: relative;
    margin-top: 3rem;
}

.reviews-wrapper {
    overflow: hidden;
    border-radius: 12px;
}

.reviews-container {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.review-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(243, 244, 245, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(29, 40, 70, 0.1);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.8s ease-out backwards;
}

.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }

.review-card:hover {
    background: linear-gradient(135deg, rgba(243, 244, 245, 1) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1.5px solid rgba(29, 40, 70, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(29, 40, 70, 0.15);
}

.review-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.review-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.review-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1d2846;
    text-shadow: 0 1px 4px rgba(29, 40, 70, 0.08);
}

.review-rating {
    color: #FFD700;
    font-size: 0.9rem;
    letter-spacing: 0.2rem;
}

.review-text {
    color: #1d2846;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-style: italic;
}

.review-link {
    display: inline-block;
    color: #1d2846;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.review-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1d2846;
    transition: width 0.3s ease;
}

.review-link:hover {
    color: #2a3f5f;
}

.review-link:hover::after {
    width: 100%;
}

.reviews-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.review-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.review-nav-btn {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #D4A017 0%, #FFD700 100%);
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-nav-btn:hover {
    background: #ffffff;
    color: #1d2846;
    border-color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* RESPONSIVE REVIEWS */
@media (max-width: 900px) {
    .review-card {
        flex: 0 0 calc(50% - 1rem);
    }

    .reviews-container {
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .reviews-section {
        padding: 3rem 0;
        margin: 2rem 0;
    }

    .review-card {
        flex: 0 0 100%;
        padding: 2rem;
    }

    .review-text {
        font-size: 0.95rem;
    }

    .review-name {
        font-size: 1rem;
    }

    .reviews-carousel {
        margin-top: 2rem;
    }
}

/* CONSULTATION MODAL */
.consultation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.consultation-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: rgba(243, 244, 245, 0.98);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(29, 40, 70, 0.2);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 40px rgba(29, 40, 70, 0.08);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.25rem;
    animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(29, 40, 70, 0.12);
    font-size: 2rem;
    color: #1d2846;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(29, 40, 70, 0.12);
}

.modal-close:hover {
    color: #2a3f5f;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 3rem 0 1rem;
}

.modal-header h2 {
    font-size: 1.8rem;
    color: #1d2846;
    margin: 0;
    text-shadow: 0 2px 8px rgba(29, 40, 70, 0.1);
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(243, 244, 245, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 12px;
    border: 1px solid rgba(29, 40, 70, 0.1);
}

.contact-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
    color: #9B7E51;
}

.contact-text h3 {
    color: #1d2846;
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.contact-text p {
    color: #949492;
    margin: 0.3rem 0;
    font-size: 0.95rem;
}

.contact-link-static {
    display: inline-block;
    width: auto;
}

.contact-link {
    color: #1d2846;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #FFD700;
    text-decoration: underline;
}

.online-consultation {
    color: #FFD700 !important;
    font-size: 0.85rem !important;
    font-style: italic;
    margin-top: 0.5rem !important;
}

.modal-form {
    border-top: 1px solid #FFD700;
    padding-top: 2rem;
}

.modal-form h3 {
    color: #1d2846;
    text-align: center;
    margin: 0 0 1.5rem 0;
    font-size: 1.1rem;
}

.service-modal-note {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
    padding: 0.95rem 1rem;
    background: linear-gradient(135deg, rgba(29, 40, 70, 0.06) 0%, rgba(255, 215, 0, 0.12) 100%);
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 12px;
    color: #1d2846;
}

.service-modal-note strong {
    font-size: 0.98rem;
}

.service-modal-note span {
    font-size: 0.9rem;
    line-height: 1.55;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.consultation-form .form-group {
    display: flex;
    flex-direction: column;
}

.consultation-form input {
    padding: 1rem;
    border: 1.5px solid #FFD700;
    border-radius: 8px;
    background: rgba(243, 244, 245, 0.9);
    color: #1d2846;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.consultation-form input:focus {
    outline: none;
    border: 1.5px solid #FFD700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.25);
}

.consultation-form .form-checkbox-modal {
    margin: 1rem 0 0.5rem 0;
}
.consultation-form .form-checkbox-modal label {
    color: #1d2846;
    font-size: 0.9rem;
}
.consultation-form .form-checkbox-modal label a {
    color: #1a2d52;
    text-decoration: underline;
}
.consultation-form .form-checkbox-modal label a:hover {
    color: #FFD700;
}
.consultation-form .cta-button {
    margin-top: 1rem;
    width: 100%;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .modal-content {
        width: 95%;
        padding: 1.25rem;
        border-radius: 16px;
    }

    .modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 38px;
        height: 38px;
        font-size: 1.6rem;
    }

    .modal-header h2 {
        font-size: 1.35rem;
    }

    .modal-header {
        padding: 0 2.5rem 0 0.25rem;
    }

    .contact-item {
        padding: 1rem;
        gap: 1rem;
    }

    .contact-icon {
        font-size: 1.5rem;
    }

    .modal-form {
        padding-top: 1.5rem;
    }
}

/* COMPANY CONTACTS SECTION */
.company-contacts-section {
    padding: 5rem 0;
    background: rgba(29, 40, 70, 0.9);
    border-top: 1px solid rgba(29, 40, 70, 0.1);
    border-bottom: 1px solid rgba(29, 40, 70, 0.1);
    margin: 3rem 0;
}

.company-contacts-section .section-title {
    color: #ffffff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.contact-card-item {
    padding: 3rem 2.5rem;
    background: linear-gradient(135deg, rgba(243, 244, 245, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(29, 40, 70, 0.1);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out backwards;
}

.contact-card-item:nth-child(1) { animation-delay: 0.1s; }
.contact-card-item:nth-child(2) { animation-delay: 0.2s; }
.contact-card-item:nth-child(3) { animation-delay: 0.3s; }

.contact-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #D4A017 0%, #FFD700 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.contact-card-item:hover::before {
    transform: scaleX(1);
}

.contact-card-item:hover {
    background: linear-gradient(135deg, rgba(243, 244, 245, 1) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1.5px solid rgba(29, 40, 70, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(29, 40, 70, 0.15);
}

.contact-card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.contact-card-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1d2846;
    margin-bottom: 1rem;
    text-shadow: 0 1px 4px rgba(29, 40, 70, 0.08);
    position: relative;
    z-index: 2;
}

.contact-card-content {
    color: #1d2846;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.contact-card-details {
    color: #1d2846;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

.contact-card-link {
    display: inline-block;
    color: #1d2846;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    margin-bottom: 0.5rem;
}

.contact-card-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s ease;
}

.contact-card-link:hover {
    color: #FFD700;
}

.contact-card-link:hover::after {
    width: 100%;
}

/* RESPONSIVE CONTACT CARDS */
@media (max-width: 900px) {
    .company-contacts-section {
        padding: 3rem 0;
        margin: 2rem 0;
    }

    .contact-cards-grid {
        gap: 1.5rem;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .contact-card-item {
        padding: 2rem;
    }

    .contact-card-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .company-contacts-section {
        padding: 2rem 0;
        margin: 1.5rem 0;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-card-item {
        padding: 1.5rem;
    }

    .contact-card-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .contact-card-item h3 {
        font-size: 1.2rem;
    }

    .contact-card-content {
        font-size: 1rem;
    }

    .contact-card-details {
        font-size: 0.9rem;
    }

    .contact-card-link {
        font-size: 1rem;
    }
}

/* FAQ SECTION */
.faq-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(243, 244, 245, 0.7) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-top: 1px solid rgba(29, 40, 70, 0.1);
    border-bottom: 1px solid rgba(29, 40, 70, 0.1);
    margin: 3rem 0;
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: linear-gradient(135deg, rgba(243, 244, 245, 0.85) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(29, 40, 70, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: fadeInUp 0.8s ease-out backwards;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.15s; }
.faq-item:nth-child(3) { animation-delay: 0.2s; }
.faq-item:nth-child(4) { animation-delay: 0.25s; }
.faq-item:nth-child(5) { animation-delay: 0.3s; }
.faq-item:nth-child(6) { animation-delay: 0.35s; }
.faq-item:nth-child(7) { animation-delay: 0.4s; }
.faq-item:nth-child(8) { animation-delay: 0.45s; }

.faq-item:hover {
    background: linear-gradient(135deg, rgba(243, 244, 245, 0.95) 0%, rgba(255, 255, 255, 0.99) 100%);
    border: 1.5px solid rgba(29, 40, 70, 0.25);
    box-shadow: 0 12px 32px rgba(29, 40, 70, 0.12);
    transform: translateY(-6px);
}

.faq-question {
    width: 100%;
    padding: 1.8rem;
    background: none;
    border: none;
    color: #1d2846;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
    gap: 0.5rem;
    flex-shrink: 0;
}

.faq-question:hover {
    color: #2a3f5f;
    text-shadow: 0 1px 4px rgba(29, 40, 70, 0.08);
}

.faq-question span:first-child {
    flex: 1;
    line-height: 1.4;
}

.faq-toggle {
    font-size: 1.6rem;
    color: #1d2846;
    font-weight: 300;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(29, 40, 70, 0.08);
}

.faq-item:hover .faq-toggle {
    background: rgba(29, 40, 70, 0.15);
}

.faq-item.active .faq-toggle {
    transform: rotate(-45deg);
    color: #2a3f5f;
    background: rgba(29, 40, 70, 0.2);
    text-shadow: 0 0 10px rgba(29, 40, 70, 0.2);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(243, 244, 245, 0.4);
    flex: 1;
}

.faq-item.active .faq-answer {
    max-height: 800px;
}

.faq-answer p {
    padding: 1.5rem 1.8rem;
    color: #949492;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE FAQ */
@media (max-width: 900px) {
    .faq-section {
        padding: 3rem 0;
        margin: 2rem 0;
    }

    .faq-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .faq-question {
        padding: 1.5rem;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 1.2rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .faq-section {
        padding: 2rem 0;
        margin: 1.5rem 0;
        border-radius: 12px;
    }

    .faq-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .faq-question {
        padding: 1.2rem;
        font-size: 0.95rem;
    }

    .faq-toggle {
        width: 35px;
        height: 35px;
        font-size: 1.4rem;
    }

    .faq-answer p {
        padding: 1rem 1.2rem;
        font-size: 0.85rem;
        line-height: 1.6;
    }

    .faq-item.active .faq-answer {
        max-height: 400px;
    }
}

/* CONTACTS INFO SECTION */
.contacts-info-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(243, 244, 245, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-radius: 32px;
    box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.08);
    border: 1.5px solid rgba(29, 40, 70, 0.1);
    position: relative;
    overflow: hidden;
    margin: 4rem 0;
    text-align: center;
}

.contacts-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(180deg, rgba(29, 40, 70, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.contacts-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 2;
    justify-items: center;
    align-items: start;
}

.contact-info-card {
    width: 100%;
    max-width: 350px;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, rgba(243, 244, 245, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(29, 40, 70, 0.1);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out backwards;
}

.contact-info-card:nth-child(1) { animation-delay: 0.1s; }
.contact-info-card:nth-child(2) { animation-delay: 0.2s; }
.contact-info-card:nth-child(3) { animation-delay: 0.3s; }

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 40, 70, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-info-card:hover::before {
    opacity: 1;
}

.contact-info-card:hover {
    background: linear-gradient(135deg, rgba(243, 244, 245, 1) 0%, rgba(255, 255, 255, 1) 100%);
    border: 1.5px solid rgba(29, 40, 70, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 16px 48px 0 rgba(29, 40, 70, 0.15);
}

.contact-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
    color: #9B7E51;
}

.contact-info-card h3 {
    color: #1d2846;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 3;
    text-shadow: 0 1px 4px rgba(29, 40, 70, 0.08);
    text-align: center;
    display: block;
    width: 100%;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
}

.contact-info-card .contact-link {
    display: block;
    width: 100%;
    text-align: center;
}

.contact-link {
    display: block;
    color: #1d2846;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    letter-spacing: 0.5px;
    text-align: center;
}

.contact-link:hover {
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.contact-subtitle {
    color: #FFD700;
    font-size: 0.9rem;
    margin-top: 0.8rem;
    position: relative;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    text-align: center;
}

/* RESPONSIVE CONTACTS */
@media (max-width: 900px) {
    .contacts-info-section {
        padding: 4rem 0;
        margin: 3rem 0;
    }

    .contacts-info-grid {
        gap: 2rem;
    }

    .contact-info-card {
        padding: 3rem 2rem;
    }

    .contact-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .contact-info-card h3 {
        font-size: 1.15rem;
    }

    .contact-link {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .contacts-info-section {
        padding: 3rem 0;
        margin: 2rem 0;
        border-radius: 16px;
    }

    .contacts-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-items: center;
    }

    .contact-info-card {
        padding: 2.5rem 2rem;
        max-width: 100%;
        text-align: center;
    }

    .contact-info-card h3,
    .contact-info-card .contact-link,
    .contact-info-card .contact-subtitle,
    .contact-info-card p {
        text-align: center;
    }

    .contact-icon {
        font-size: 2rem;
    }
}

/* TEAM SECTION */
.team-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #1a2d52 0%, #2a3d62 100%);
    border-radius: 32px;
    box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.08);
    border: 1.5px solid rgba(29, 40, 70, 0.15);
    position: relative;
    overflow: hidden;
    margin: 4rem 0;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(29, 40, 70, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.team-subtitle {
    text-align: center;
    color: #949492;
    font-size: 1.15rem;
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.team-card {
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.99) 100%);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(29, 40, 70, 0.12);
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 8px 32px 0 rgba(29, 40, 70, 0.12);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out backwards;
}

.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.15s; }
.team-card:nth-child(3) { animation-delay: 0.2s; }
.team-card:nth-child(4) { animation-delay: 0.25s; }
.team-card:nth-child(5) { animation-delay: 0.3s; }
.team-card:nth-child(6) { animation-delay: 0.35s; }

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(29, 40, 70, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover::before {
    opacity: 1;
}

.team-card:hover {
    background: linear-gradient(135deg, rgba(243, 244, 245, 0.95) 0%, rgba(255, 255, 255, 0.99) 100%);
    border: 1.5px solid rgba(29, 40, 70, 0.25);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px 0 rgba(29, 40, 70, 0.12);
}

.team-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #1d2846;
    box-shadow: 0 6px 20px rgba(29, 40, 70, 0.15);
    position: relative;
    z-index: 3;
    background: linear-gradient(135deg, rgba(29, 40, 70, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-name {
    color: #1d2846;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 3;
    text-shadow: 0 1px 4px rgba(29, 40, 70, 0.08);
}

.team-position {
    color: #1d2846;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    position: relative;
    z-index: 3;
}

.team-experience {
    color: #1d2846;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 3;
    font-weight: 600;
}

.team-bio {
    color: #1d2846;
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 3;
    font-weight: 300;
    margin: 0;
}

/* RESPONSIVE TEAM */
@media (max-width: 900px) {
    .team-section {
        padding: 5rem 0;
        margin: 3rem 0;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .team-card {
        padding: 2rem;
    }

    .team-image {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }

    .team-name {
        font-size: 1.15rem;
    }

    .team-bio {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .team-section {
        padding: 4rem 0;
        margin: 2rem 0;
        border-radius: 16px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-card {
        padding: 1.5rem;
    }

    .team-image {
        width: 90px;
        height: 90px;
        margin-bottom: 1rem;
    }

    .team-name {
        font-size: 1.1rem;
    }

    .team-position {
        font-size: 1rem;
    }

    .team-bio {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

/* ФОНЫ СТРАНИЦ */

/* Фон для страницы Призывники */
body.page-prizyiniki::before {
    background: 
        linear-gradient(135deg, rgba(243, 244, 245, 0.97) 0%, rgba(255, 255, 255, 0.98) 100%),
        url('./assets/priziv.png') center/cover no-repeat fixed;
    animation: bgZoom 20s ease-in-out infinite;
    opacity: 1;
}

/* Фон для страницы Военные */
body.page-voennye::before {
    background: 
        linear-gradient(135deg, rgba(243, 244, 245, 0.97) 0%, rgba(255, 255, 255, 0.98) 100%),
        url('./assets/arm.png') center/cover no-repeat fixed;
    animation: bgZoom 20s ease-in-out infinite;
    opacity: 1;
}

/* Фон для страницы Авто-юрист */
body.page-avto::before {
    background: 
        linear-gradient(135deg, rgba(243, 244, 245, 0.97) 0%, rgba(255, 255, 255, 0.98) 100%),
        url('./assets/avto.png') center/cover no-repeat fixed;
    animation: bgZoom 20s ease-in-out infinite;
    opacity: 1;
}

/* Фон для страницы Гражданское право */
body.page-grazhdanskoe::before {
    background: 
        linear-gradient(135deg, rgba(243, 244, 245, 0.97) 0%, rgba(255, 255, 255, 0.98) 100%),
        url('./assets/pravovie.png') center/cover no-repeat fixed;
    animation: bgZoom 20s ease-in-out infinite;
    opacity: 1;
}

/* Фон для страницы Уголовное право */
body.page-ugolovnoe::before {
    background: 
        linear-gradient(135deg, rgba(243, 244, 245, 0.97) 0%, rgba(255, 255, 255, 0.98) 100%),
        url('./assets/ugolovnie.png') center/cover no-repeat fixed;
    animation: bgZoom 20s ease-in-out infinite;
    opacity: 1;
}

/* Фон для страницы Административное право */
body.page-administrativnoe::before {
    background: 
        linear-gradient(135deg, rgba(243, 244, 245, 0.97) 0%, rgba(255, 255, 255, 0.98) 100%),
        url('./assets/administative.png') center/cover no-repeat fixed;
    animation: bgZoom 20s ease-in-out infinite;
    opacity: 1;
}

/* Фон для страницы О компании */
body.page-kontakty::before {
    background: 
        linear-gradient(135deg, rgba(243, 244, 245, 0.98) 0%, rgba(255, 255, 255, 0.99) 100%),
        url('./assets/BG.jpg') center/cover no-repeat fixed;
    animation: bgZoom 20s ease-in-out infinite;
    opacity: 1;
}

/* Фон для страницы Политика конфиденциальности */
body.page-privacy::before {
    background: 
        linear-gradient(135deg, rgba(243, 244, 245, 0.98) 0%, rgba(255, 255, 255, 0.99) 100%),
        url('./assets/BG.jpg') center/cover no-repeat fixed;
    animation: bgZoom 20s ease-in-out infinite;
    opacity: 1;
}

/* PRIVACY PAGE */
.privacy-content {
    padding: 2rem 0;
}

.privacy-section {
    background: linear-gradient(135deg, rgba(243, 244, 245, 0.85) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1.5px solid rgba(29, 40, 70, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.privacy-section:hover {
    border: 1.5px solid rgba(29, 40, 70, 0.25);
    box-shadow: 0 8px 32px rgba(29, 40, 70, 0.12);
}

.privacy-section h3 {
    color: #1d2846;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(29, 40, 70, 0.08);
}

.privacy-section p {
    color: #949492;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-weight: 300;
}

.privacy-section p:last-child {
    margin-bottom: 0;
}

.privacy-list {
    list-style-position: inside;
    padding-left: 0;
    margin: 1rem 0 1.5rem 0;
}

.privacy-list li {
    color: #949492;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    font-weight: 300;
}

.privacy-list li:last-child {
    margin-bottom: 0;
}

.privacy-contacts {
    background: rgba(29, 40, 70, 0.08);
    border-left: 3px solid #1d2846;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.privacy-contacts p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.privacy-contacts p:last-child {
    margin-bottom: 0;
}

.privacy-contacts strong {
    color: #1d2846;
    font-weight: 600;
}

.privacy-contacts a {
    color: #1d2846;
    text-decoration: none;
    transition: all 0.3s ease;
}

.privacy-contacts a:hover {
    text-shadow: 0 0 12px rgba(29, 40, 70, 0.3);
}

.privacy-last {
    border: none;
    background: none;
    box-shadow: none;
    padding: 2rem 0;
    text-align: center;
}

/* ФИКСИРОВАННЫЕ КНОПКИ В УГЛУ */
.floating-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 500;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #D4A017 0%, #FFD700 100%);
    color: #1d2846;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 180px;
    box-shadow: 0 4px 15px rgba(212, 160, 17, 0.25);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#servicesBtnFloat {
    scroll-behavior: smooth;
}

.floating-btn:hover {
    background: linear-gradient(135deg, #FFD700 0%, #D4A017 100%);
    box-shadow: 0 6px 20px rgba(212, 160, 17, 0.4);
    transform: translateY(-2px);
}

.floating-btn:active {
    transform: translateY(0);
}

/* Скрыть кнопку позвонить на десктопе */
.floating-btn-phone {
    display: none;
}

@media (max-width: 768px) {
    .floating-buttons {
        bottom: 1rem;
        right: 1rem;
        gap: 0.75rem;
    }
    
    .floating-btn {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
        min-width: 150px;
    }
    
    /* Показать кнопку позвонить на мобильных */
    .floating-btn-phone {
        display: flex;
    }
}

@media (max-width: 480px) {
    .floating-buttons {
        bottom: 0.75rem;
        right: 0.75rem;
        gap: 0.5rem;
    }
    
    .floating-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
        min-width: 130px;
    }
}

/* ========== МОБИЛЬНАЯ ВЕРСТКА: без горизонтального скролла, блоки в одну колонку и одинаковые ========== */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        position: relative;
    }

    .hero {
        background-attachment: scroll;
    }

    body::before {
        background-attachment: scroll;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100%;
    }

    main {
        overflow-x: hidden;
        max-width: 100%;
    }

    .hero .container {
        width: 100%;
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-content {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: 1.5rem;
    }

    .hero-left,
    .hero-right {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .hero-form {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .services,
    .team-section,
    .contacts-info-section,
    .reviews-section,
    .company-contacts-section,
    .faq-section {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
    }

    .items-list-large {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        min-width: 0;
    }

    .list-item-large {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        width: 100%;
        min-width: 0;
    }

    .team-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .contacts-info-grid {
        grid-template-columns: 1fr;
        width: 100%;
        min-width: 0;
    }

    .contact-info-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        text-align: center;
    }

    .contact-info-card h3,
    .contact-info-card .contact-link,
    .contact-info-card .contact-subtitle,
    .contact-info-card p {
        text-align: center;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .contact-card-item {
        width: 100%;
        max-width: 100%;
    }

    .faq-container {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .faq-item {
        width: 100%;
        max-width: 100%;
    }

    .reviews-wrapper {
        overflow: hidden;
        width: 100%;
    }

    .reviews-container {
        width: 100%;
    }

    .review-card {
        flex: 0 0 100%;
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .contact-card {
        width: 100%;
        max-width: 100%;
    }

    .beautiful-form {
        max-width: 100%;
        width: 100%;
    }

    .modal-content {
        max-width: calc(100vw - 2rem);
        width: 90%;
    }

    .hero h1 {
        font-size: clamp(1.85rem, 8vw, 2.75rem);
        line-height: 1.05;
        letter-spacing: -0.02em;
    }

    .section-title,
    .contact-hero-title {
        font-size: clamp(1.8rem, 7vw, 2.3rem);
        line-height: 1.1;
        text-wrap: balance;
    }

    .service-description {
        margin-top: -3.5rem;
        padding: 2rem 1.35rem;
    }

    .service-description h2 {
        font-size: 1.55rem;
    }

    .hero-company-address {
        padding: 1rem;
        gap: 0.75rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .hero .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .hero-left {
        padding: 1.25rem;
    }

    .hero-form {
        padding: 1.5rem 1rem;
    }

    .list-item-large {
        padding: 1.5rem;
    }

    .section-title {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero h1 {
        font-size: clamp(1.7rem, 9vw, 2.2rem);
        line-height: 1.02;
        margin-bottom: 1.2rem;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.55;
        margin-bottom: 1.5rem;
    }

    .hero-company-address {
        align-items: flex-start;
    }

    .address-separator {
        display: none;
    }

    .address-city,
    .address-street,
    .address-hours {
        width: 100%;
    }

    .service-page-content {
        padding: 2.5rem 0;
    }

    .service-description {
        margin-top: -2.25rem;
        padding: 1.5rem 1rem;
    }

    .service-description h2 {
        font-size: 1.35rem;
    }

    .service-description p {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    p, .review-text, .team-bio {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Баннер согласия на cookies (при первом входе) */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(180deg, #1a2d52 0%, #2a3f5f 100%);
    color: #e8e8e8;
    padding: 1rem 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
}
.cookie-consent.cookie-consent-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.cookie-consent-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
    min-width: 200px;
}
.cookie-consent-text a {
    color: #FFD700;
    text-decoration: underline;
}
.cookie-consent-text a:hover {
    color: #fff;
}
.cookie-consent-btn {
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, #D4A017 0%, #FFD700 100%);
    color: #1d2846;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}
.cookie-consent-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}
@media (max-width: 600px) {
    .cookie-consent-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .cookie-consent-btn {
        align-self: center;
    }
}


