/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7A6548;
    --secondary-color: #C9975E;
    --accent-color: #5C7A1F;
    --accent-color-dark: #4A6318;
    --dark-color: #2C2416;
    --light-color: #F2E4D1;
    --light-bg: #FAF5EF;
    --white: #FFFFFF;
    --text-color: #3A3A3A;
    --text-muted: #6B6B6B;
    --border-color: #E5DDD3;
    --success-color: #2E7D32;
    --error-color: #D32F2F;
    --shadow-sm: 0 1px 3px rgba(44, 36, 22, 0.06), 0 1px 2px rgba(44, 36, 22, 0.04);
    --shadow: 0 4px 12px rgba(44, 36, 22, 0.08), 0 2px 4px rgba(44, 36, 22, 0.04);
    --shadow-lg: 0 12px 32px rgba(44, 36, 22, 0.12), 0 4px 8px rgba(44, 36, 22, 0.06);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Шапка и навигация */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    padding: 1rem 0;
}

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

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
}

.logo a {
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color var(--transition);
    font-size: 0.95rem;
    position: relative;
    letter-spacing: 0.01em;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Главная секция */
.hero {
    background: linear-gradient(rgba(99, 153, 72, 0.5), rgba(76, 118, 56, 0.5)), url('images/IMG_20220626_055909.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
}

.hero-overlay {
    width: 100%;
    padding: 4rem 0;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition);
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(92, 122, 31, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(122, 101, 72, 0.3);
}

.btn:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

.nav-menu a:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: 4px;
}

.mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
    border-radius: 4px;
}

.faq-question:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: -2px;
    border-radius: var(--radius);
}

/* Секции */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

/* Баннер страницы */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-banner p {
    font-size: 1.2rem;
}

/* Главная страница */
.intro {
    background-color: var(--white);
}

.intro-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.intro-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-color);
}

/* Преимущества на главной */
.features {
    background-color: var(--light-color);
}

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

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(92, 122, 31, 0.1), rgba(201, 151, 94, 0.1));
    border-radius: 50%;
    color: var(--accent-color);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* CTA секция */
.cta {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-dark));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 200px;
}

/* О нас страница */
.about-section {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image .placeholder-image {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 10px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.placeholder-image p {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.placeholder-image span {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Преимущества */
.benefits-section {
    background-color: var(--light-color);
}

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

.benefit-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.benefit-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(92, 122, 31, 0.1);
    border-radius: 50%;
    color: var(--accent-color);
}

.benefit-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-item p {
    line-height: 1.7;
}

/* Миссия */
.mission-section {
    background-color: var(--white);
    text-align: center;
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
}

.mission-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.mission-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.value-item h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Команда */
.team-section {
    background-color: var(--light-color);
}

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

.team-member {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.member-photo {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-member p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Услуги */
.services-page {
    background-color: var(--white);
}

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

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(92, 122, 31, 0.1), rgba(201, 151, 94, 0.08));
    border-radius: 50%;
    color: var(--accent-color);
    margin-left: auto;
    margin-right: auto;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card > p {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.service-features li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.service-card .btn {
    margin-top: auto;
}

/* Процесс работы */
.process-section {
    background-color: var(--light-color);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.process-step h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-color);
}

/* Галерея */
.gallery-page {
    background-color: var(--white);
}

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

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    background-color: var(--white);
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-item video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.gallery-item .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: background 0.3s;
    pointer-events: none;
}

.gallery-item:hover .play-overlay {
    background: rgba(0, 0, 0, 0.45);
}

.gallery-item .play-overlay i {
    font-size: 3.5rem;
    color: white;
    opacity: 0.95;
}

.gallery-item .placeholder-image {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.gallery-item .placeholder-image p {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.gallery-item .placeholder-image span {
    font-size: 1rem;
    font-weight: 600;
}

.gallery-info {
    padding: 1rem 1.2rem;
    background-color: var(--white);
    border-top: 2px solid var(--light-color);
}

.gallery-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.gallery-info p {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Модальное окно для галереи */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from { transform: translate(-50%, -50%) scale(0.8); }
    to { transform: translate(-50%, -50%) scale(1); }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
}

.modal-prev,
.modal-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s;
    border: none;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    border-radius: 5px;
}

.modal-prev:hover,
.modal-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #fff;
    padding: 15px 20px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Отзывы */
.testimonials-section {
    background-color: var(--light-color);
}

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

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.testimonial-text {
    margin-bottom: 1.5rem;
}

.testimonial-text p {
    font-style: italic;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-icon {
    font-size: 3rem;
}

.testimonial-author strong {
    display: block;
    color: var(--primary-color);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Контакты */
.contact-page {
    background-color: var(--white);
}

.contact-content-single {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-content-single h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 3rem;
    text-align: center;
}

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

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: transform var(--transition), box-shadow var(--transition);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.contact-item p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-item a {
    color: var(--accent-color);
    transition: color 0.3s;
    font-weight: 500;
}

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

.messenger-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.messenger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 2rem;
    transition: all 0.3s;
    text-decoration: none;
}

.messenger-icon i {
    color: #ffffff;
}

.messenger-icon.telegram {
    background: #0088cc;
}

.messenger-icon.telegram:hover {
    background: #006699;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 136, 204, 0.4);
}

.messenger-icon.viber {
    background: #7360f2;
}

.messenger-icon.viber:hover {
    background: #5a4bc2;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 20px rgba(115, 96, 242, 0.4);
}

/* Видео-секция */
.video-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-top: -1rem;
    margin-bottom: 3rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.video-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform var(--transition), box-shadow var(--transition);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-card h3 {
    font-size: 1.4rem;
    margin: 1.5rem 1.5rem 0.8rem;
    color: var(--primary-color);
}

.video-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Сравнительная таблица */
.comparison-section {
    padding: 6rem 0;
    background: var(--white);
}

.table-responsive {
    overflow-x: auto;
    margin-top: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.comparison-table thead {
    background: var(--primary-color);
    color: var(--white);
}

.comparison-table th {
    padding: 1.2rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tbody tr:hover {
    background: var(--light-bg);
}

.comparison-table td.highlight {
    background: rgba(99, 153, 72, 0.1);
    font-weight: 600;
    color: var(--primary-color);
}

.data-sources {
    margin-top: 2rem;
    text-align: center;
}

.data-sources p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Секция исследований */
.research-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.research-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform var(--transition), box-shadow var(--transition);
}

.research-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.research-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 153, 72, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.research-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.research-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.research-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.research-card small {
    color: var(--text-muted);
    font-style: italic;
}

/* Секция известных зданий */
.buildings-section {
    padding: 6rem 0;
    background: var(--white);
}

.buildings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.building-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--accent-color);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    transition: transform var(--transition), box-shadow var(--transition);
}

.building-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.building-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.building-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.building-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.building-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.building-card p strong {
    color: var(--accent-color);
}

/* Карта */
.map-section {
    background-color: var(--light-color);
}

.map-placeholder {
    background-color: var(--white);
    padding: 4rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.map-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.map-placeholder p {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.map-placeholder span {
    color: var(--text-color);
}

/* FAQ */
.faq-page {
    background-color: var(--white);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:hover {
    border-color: var(--secondary-color);
}

.faq-item.active {
    border-color: var(--accent-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0;
    padding-right: 1rem;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-answer > * {
    overflow: hidden;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    line-height: 1.7;
    color: var(--text-color);
    margin: 0;
}

/* Футер */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 4rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    font-size: 2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 151, 94, 0.3);
    font-size: 0.9rem;
}

/* Skip-link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    padding: 1rem 1.5rem;
    background: var(--accent-color);
    color: var(--white);
    z-index: 9999;
    transition: top 0.3s;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* Футер мессенджеры */
.footer-messengers {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.footer-messengers .messenger-icon {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
}

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

/* Адаптивность — планшет горизонтальный */
@media (max-width: 1024px) {
    .features-grid,
    .services-grid,
    .benefits-grid,
    .buildings-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        gap: 2rem;
    }

    .hero h2 {
        font-size: 2.5rem;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a.active::after {
        display: none;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .intro-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image .placeholder-image {
        height: 300px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .mission-values {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem 0.5rem;
    }

    .research-grid {
        grid-template-columns: 1fr;
    }

    .buildings-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.4rem;
    }

    .hero {
        min-height: 500px;
        background-attachment: scroll;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .page-banner h1 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Адаптивность модального окна */
    .modal-content {
        max-width: 95%;
        max-height: 70vh;
    }

    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }

    .modal-prev,
    .modal-next {
        padding: 10px;
        font-size: 20px;
    }

    .modal-prev {
        left: 10px;
    }

    .modal-next {
        right: 10px;
    }

    .modal-caption {
        width: 90%;
        font-size: 14px;
        bottom: 10px;
    }
}
