:root {
    /* Основная палитра (из первого сайта) */
    --primary: #428647;           /* Deep pine - глубокий сосновый */
    --primary-dark: #313d39;       /* Темно-зеленый для текста */
    --primary-light: #313d39;       /* Светло-зеленый */
    --accent: #ecb525;             /* Warm terracotta - теплый терракотовый */
    --accent-light: #bf8f6b20;      /* Полупрозрачный терракотовый */
    --bg-light: #faf7f2;           /* Soft desert warmth - мягкий пустынный */
    --bg-sand: #f2e9de;            /* Sand - песочный */
    --white: #ffffff;
    --gray-border: #e2d8cc;         /* Светло-серый для границ */
    --gray-light: #eee2d4;          /* Для карточек */
    --secondary: #2a3b36;           /* Для обратной совместимости */
    --light: #ffffff;                /* Для обратной совместимости */
    --gray: #5E5E5E;                 /* Для обратной совместимости */
    --primary-black: #0A0A0A;        /* Для обратной совместимости */
    --primary-lightest: #FAF7F0;     /* Для обратной совместимости */
    
    /* Тени и радиусы */
    --radius: 32px;
    --radius-sm: 12px;
    --radius-lg: 40px;
    --shadow: 0 4px 12px rgba(0,0,0,0.02);
    --shadow-lg: 0 12px 24px -8px rgba(0,0,0,0.15);
    --transition: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--secondary);
    background-color: var(--light);
    font-size: 18px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    margin-bottom: 60px;
    text-align: center;
    color: var(--secondary);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-title i {
    color: var(--accent);
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.section-title span {
    display: block;
    font-size: 1rem;
    color: var(--primary-light);
    font-weight: 400;
    margin-top: 5px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
}

/* ===== Header Styles (White) ===== */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.02);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--gray-border);
    padding: 8px 0;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 25px;
    text-decoration: none;
}

.logo-image {
    height: 70px;
    width: auto;
    border-radius: 8px;
    margin-right: 5px;
}

.logo-text {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 1.2;
    border-left: 3px solid var(--accent);
    padding-left: 20px;
}

.logo-text small {
    font-size: 0.9rem;
    font-weight: 400;
    color: #6f5e4e;
    display: block;
    margin-top: 3px;
}

#mainNav {
    display: flex;
    gap: 1.8rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link:hover:after {
    width: 100%;
}

.header-cta .btn {
    background: var(--accent);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-cta .btn:hover {
    background: #a87957;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary);
    cursor: pointer;
    padding: 10px;
}

/* Мобильные социальные иконки (в меню) */
.mobile-social {
    display: none;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.mobile-social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--light);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: var(--transition);
}

.mobile-social-link i {
    width: 24px;
    font-size: 20px;
}

.mobile-social-link:hover {
    padding-left: 10px;
    opacity: 0.9;
}

/* ===== Hero Section ===== */
.hero {
    background: var(--primary);
    color: var(--primary-dark);
    padding: 40px 0 40px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(191, 143, 107, 0.08) 0%, transparent 70%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--accent);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-light);
    color: var(--bg-sand);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 64px;
    color: var(--bg-sand);
}

.hero-subtitle {
    font-size: 22px;
    color: var(--bg-sand);
    margin-bottom: 10px;
    line-height: 1.6;
}

.hero p {
    color: var(--bg-sand);
}

.hero-quote {
    font-size: 1.3rem;
    border-left: 4px solid var(--accent);
    padding-left: 1.8rem;
    margin: 1.5rem 0 1rem;
    color: var(--bg-sand);
    font-style: italic;
    font-family: 'Merriweather', serif;
    line-height: 1.6;
    position: relative;
}

.hero-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
    position: absolute;
    left: -0.5rem;
    top: -1rem;
    font-family: 'Merriweather', serif;
}

.hero-content .fine {
    margin: 0rem 0 1rem;
    font-size: 1.1rem;
    color: var(--bg-sand);
    font-weight: 600;
    background: var(--accent-light);
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    align-self: flex-start;
}

.hero-content .fine i {
    color: var(--accent);
    margin-right: 8px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    margin-top: 20px;
}

.hero-actions .btn-primary {
    background: var(--accent);
    color: var(--white);
    border: 2px solid var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-actions .btn-primary:hover {
    background: #a87957;
    border-color: #a87957;
    transform: translateY(-2px);
}

.hero-actions .btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-actions .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== Hero Card ===== */
.hero-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--gray-border);
    transition: var(--transition);
    max-width: 550px;
    justify-self: end;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(28, 77, 60, 0.15);
}

.hero-banner {
    width: 100%;
    background-color: var(--bg-sand);
    line-height: 0;
    flex: 1;
    display: flex;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    display: block;
    aspect-ratio: auto;
    object-fit: cover;
    min-height: 450px;
    max-height: 750px;
}

/* ===== About & Roots Sections ===== */
.about-section,
.roots-section {
    background: var(--white);
}

.about-grid,
.roots-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

.about-text,
.roots-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--primary-dark);
}

.about-text p,
.roots-text p {
    margin-bottom: 1.2rem;
}

.about-sidebar,
.roots-sidebar {
    position: sticky;
    top: 100px;
}

.about-quote {
    font-size: 1.2rem;
    border-left: 4px solid var(--accent);
    padding-left: 1.8rem;
    margin: 2rem 0;
    color: var(--primary-dark);
    font-style: italic;
    font-family: 'Merriweather', serif;
    background: var(--bg-sand);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    position: relative;
}

.about-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    left: 1rem;
    top: -0.5rem;
    font-family: 'Merriweather', serif;
}

.roots-badge {
    background: var(--bg-sand);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-border);
}

.roots-badge i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.roots-badge h3 {
    font-size: 2rem;
    color: var(--primary);
    font-family: 'Merriweather', serif;
    margin-bottom: 0.3rem;
}

.roots-badge p {
    color: var(--primary-dark);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.roots-badge hr {
    width: 50px;
    margin: 1rem auto;
    border: none;
    border-top: 2px solid var(--accent);
}

.bio-highlight {
    background: var(--bg-sand);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-border);
   
}

.bio-highlight ul {
    list-style: none;
}

.bio-highlight li {
    margin-bottom: 1.2rem;
    display: flex;
    gap: 1rem;
    font-weight: 500;
    color: var(--primary-dark);
    align-items: center;
}

.bio-highlight i {
    color: var(--accent);
    font-size: 1.4rem;
    width: 2rem;
    text-align: center;
}

/* ===== Services Section ===== */
.services-section {
    background: var(--bg-light);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 50%, var(--accent) 100%);
    opacity: 0.3;
}

.services-section .section-subhead {
    color: var(--primary-light);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 35px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-border);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    margin-bottom: 25px;
}

.service-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-desc {
    color: var(--primary-dark);
    font-size: 18px;
    line-height: 1.6;
}

.service-header-icon {
    text-align: center;
    margin-bottom: 20px;
}

.service-header-icon i {
    font-size: 3rem;
    color: var(--accent);
    background: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    border: 2px solid var(--accent-light);
}

/* ===== Gallery Section ===== */
.gallery-section {
    background: var(--bg-light);
}

.gallery-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    padding-bottom: 10px;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-slide {
    min-width: 100%;
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 10px;
}

.gallery-slide[data-images-per-slide="2"] {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.gallery-slide[data-images-per-slide="3"] {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-slide[data-images-per-slide="4"] {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-slide[data-images-per-slide="2"] .gallery-item {
    height: 350px;
}

.gallery-slide[data-images-per-slide="3"] .gallery-item,
.gallery-slide[data-images-per-slide="4"] .gallery-item {
    height: 300px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: var(--light);
    transition: var(--transition);
    height: 300px;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: var(--light);
    padding: 20px;
    font-size: 16px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-caption.show-immediately {
    opacity: 1;
}

.gallery-item:hover .image-caption:not(.show-immediately) {
    opacity: 1;
}

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray-border);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
}

.gallery-dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

.gallery-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.gallery-arrow {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
    box-shadow: var(--shadow);
}

.gallery-arrow:hover {
    background-color: var(--primary);
    color: var(--light);
    transform: scale(1.1);
}

/* Gallery Tabs */
.gallery-tabs-container {
    position: relative;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-tab {
    padding: 15px 30px;
    background-color: var(--light);
    border: 2px solid var(--gray-border);
    border-radius: var(--radius-sm);
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.gallery-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.gallery-tab.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--light);
    box-shadow: var(--shadow);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background: var(--white);
    position: relative;
}

.testimonials-slider-container {
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius);
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    background: var(--bg-sand);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    min-width: 100%;
    border: 1px solid var(--gray-border);
}

.testimonial-text {
    font-size: 22px;
    line-height: 1.6;
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
    padding-left: 30px;
}

.testimonial-text:before {
    content: "“";
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 60px;
    color: var(--primary);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 50px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
}

.author-info h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--primary);
}

.author-info p {
    color: var(--primary-light);
    font-size: 16px;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.testimonials-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray-border);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
}

.testimonials-dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

.testimonials-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.testimonials-arrow {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
    box-shadow: var(--shadow);
}

.testimonials-arrow:hover {
    background-color: var(--primary);
    color: var(--light);
    transform: scale(1.1);
}

/* ===== Events Section ===== */
.events-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.events-section .section-subhead {
    color: var(--primary-light);
    text-align: center;
    margin-bottom: 2rem;
}

.events-list {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-border);
}

.event-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px dashed var(--gray-border);
    align-items: center;
}

.event-item:last-child {
    border-bottom: none;
}

.event-date {
    background: var(--primary);
    color: var(--white);
    min-width: 90px;
    text-align: center;
    padding: 1rem 0;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
    box-shadow: var(--shadow);
}

.event-desc {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    display: block;
}

.event-loc {
    color: var(--primary-dark);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-loc i {
    color: var(--accent);
    width: 16px;
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--white);
    padding: 80px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-info ul {
    list-style: none;
    margin-top: 1.5rem;
}

.contact-info li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-dark);
}

.contact-info li i {
    color: var(--accent);
    font-size: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.contact-icon {
    background-color: var(--primary);
    color: var(--light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 24px;
    flex-shrink: 0;
}

/* Form Card */
.form-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
}

.form-title {
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 15px;
}

.form-subtitle {
    color: var(--primary-light);
    margin-bottom: 30px;
    font-size: 18px;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 16px;
    color: var(--secondary);
}

input, select, textarea {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 17px;
    transition: var(--transition);
    background-color: var(--light);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(191, 143, 107, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Checkbox Group */
.checkbox-group {
    background: var(--bg-sand);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--gray-border);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.checkbox-item {
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    border: 1px solid var(--gray-border);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-item:hover {
    border-color: var(--accent);
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-item label {
    margin: 0;
    font-weight: 500;
    font-size: 16px;
    color: var(--primary-dark);
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 20px;
    font-size: 18px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    background: #a87957;
    transform: translateY(-2px);
}

.form-note {
    font-size: 0.8rem;
    color: var(--primary-light);
    margin-top: 10px;
    text-align: center;
}

/* Form Messages */
.form-message.form-message--error {
    border: 2px solid #dc2626;
    background-color: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin: 20px 0;
    font-weight: 500;
    text-align: center;
    backdrop-filter: blur(5px);
}

.form-message.form-message--success {
    border: 2px solid #059669;
    background-color: rgba(5, 150, 105, 0.1);
    color: #059669;
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin: 20px 0;
    font-weight: 500;
    text-align: center;
    backdrop-filter: blur(5px);
}

/* ===== Footer ===== */
footer {
    background: var(--primary);
    color: var(--bg-sand);
    padding: 70px 0 30px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    color: var(--bg-sand);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent);
    padding-left: 1rem;
}

.footer-contact,
.footer-contact p {
    color: var(--bg-sand) !important;
    opacity: 0.9;
    font-size: 18px;
    line-height: 1.8;
}

.footer-contact a,
.footer-links a {
    color: var(--bg-sand) !important;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover,
.footer-links a:hover {
    color: var(--accent) !important;
    padding-left: 5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    font-size: 18px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(242, 233, 222, 0.2);
    color: var(--bg-sand);
    opacity: 0.8;
    font-size: 16px;
}

/* Социальные иконки */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.footer .social-icons a {
    background: var(--bg-sand);
    color: var(--primary) !important;
}

.footer .social-icons a:hover {
    background: var(--accent);
    color: var(--white) !important;
    transform: translateY(-3px);
}

.social-icons a:first-child {
    background: #1877F2;
    color: var(--light);
}

.social-icons a:last-child {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: var(--light);
}

.social-icons a:hover {
    transform: scale(1.1);
}

/* ===== Mobile Sticky CTA ===== */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--light);
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 900;
}

.sticky-buttons {
    display: flex;
    gap: 15px;
}

.sticky-buttons .btn {
    flex: 1;
}

/* ===== Lightbox ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-content img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 32px;
    line-height: 38px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.4);
    transform: rotate(90deg);
}

/* ===== Background Alternating ===== */
.bg-white {
    background-color: var(--white);
}

.bg-beige {
    background-color: var(--bg-light);
}

/* ===== Button Spacing ===== */
.btn {
    padding: 16px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 17px;
    white-space: nowrap;
}

.btn i {
    margin-right: 8px;
}

.btn i:last-child {
    margin-right: 0;
    margin-left: 8px;
}

.btn-small {
    padding: 12px 20px;
    font-size: 16px;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background-color: #a87957;
    border-color: #a87957;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    h1 {
        font-size: 54px;
    }
    
    .hero-grid {
        gap: 40px;
    }

    .section-title {
        font-size: 38px;
    }
    
    .gallery-slide {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-banner img {
        min-height: 400px;
    }
}

@media (max-width: 992px) {
    body {
        font-size: 17px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero:before {
        width: 100%;
        opacity: 0.5;
    }
    
    .hero-card {
        max-width: 100%;
        justify-self: center;
        margin: 0 auto;
    }
    
    .hero-banner img {
        min-height: 350px;
        max-height: 450px;
    }
    
    .about-grid,
    .roots-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-sidebar,
    .roots-sidebar {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .logo-text {
        font-size: 1.3rem;
        padding-left: 15px;
    }
    
    .logo-image {
        height: 60px;
    }
    
    #mainNav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--primary);
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        gap: 25px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    #mainNav.active {
        display: flex;
    }
    
    .nav-link {
        color: var(--white);
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        color: var(--primary);
    }
    
    .mobile-sticky-cta {
        display: block;
    }
    
    .mobile-social {
        display: flex;
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .testimonial-card {
        padding: 30px 25px;
    }
    
    .testimonial-text {
        font-size: 20px;
        padding-left: 25px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        order: 2;
    }
    
    .form-card {
        order: 1;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 44px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-quote {
        font-size: 1.1rem;
        padding-left: 1.2rem;
    }
    
    .hero-content .fine {
        font-size: 1rem;
        padding: 0.4rem 1rem;
    }
    
    .hero-banner img {
        min-height: 300px;
    }
    
    .hero-card .mini-row {
        flex-direction: column;
    }
    
    .hero-card .mini:first-child {
        border-right: none;
        border-bottom: 1px solid var(--gray-border);
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 34px;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .about-quote {
        padding: 1.2rem;
        font-size: 1.1rem;
    }
    
    .roots-badge {
        padding: 1.5rem;
    }
    
    .roots-badge h3 {
        font-size: 1.8rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-card {
        padding: 30px;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .checkbox-item {
        padding: 0.4rem 0.8rem;
    }
    
    .event-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .event-date {
        width: 100%;
        max-width: 200px;
    }
    
    .gallery-slide {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .gallery-arrows,
    .testimonials-arrows {
        padding: 0 10px;
    }
    
    .gallery-arrow,
    .testimonials-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .testimonial-text {
        font-size: 18px;
        padding-left: 20px;
    }
    
    .testimonial-text:before {
        font-size: 40px;
    }
    
    .logo-link {
        gap: 15px;
    }
    
    .logo-text {
        font-size: 1.2rem;
        padding-left: 12px;
    }
    
    .logo-text small {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .section-title i {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .hero-banner img {
        min-height: 250px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .gallery-slide[data-images-per-slide="2"] .gallery-item,
    .gallery-slide[data-images-per-slide="3"] .gallery-item,
    .gallery-slide[data-images-per-slide="4"] .gallery-item {
        height: 200px;
    }
    
    .testimonial-card {
        padding: 25px 15px;
    }
    
    .testimonial-text {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .author-info h4 {
        font-size: 18px;
    }
    
    .testimonials-nav {
        margin-top: 30px;
        gap: 15px;
    }
    
    .testimonials-dot {
        width: 10px;
        height: 10px;
    }
    
    .gallery-tabs {
        flex-direction: column;
    }
    
    .gallery-tab {
        width: 100%;
        text-align: center;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .logo-text {
        font-size: 1rem;
        padding-left: 10px;
    }
    
    .logo-text small {
        font-size: 0.7rem;
    }
}

@media (min-width: 1400px) {
    .hero-banner img {
        min-height: 500px;
        max-height: 760px;
    }
}

/* ===== Map Container ===== */
.map-container {
    margin-top: 15px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.map-container:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.map-container iframe {
    width: 100%;
    height: 200px;
    border: none;
    display: block;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.map-link:hover {
    color: var(--secondary);
    transform: translateX(3px);
}


/* ===== Learn More functionality for Service Cards ===== */
.service-card {
    transition: all 0.3s ease;
}

.service-card.expanded {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-desc-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-desc-full {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--accent-light);
    font-size: 16px;
    line-height: 1.7;
    color: var(--primary-dark);
    animation: fadeIn 0.5s ease;
    white-space: pre-line;
}

.service-desc-full ul {
    margin: 15px 0 0 20px;
    list-style-type: none;
}

.service-desc-full li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.service-desc-full li::before {
    content: "•";
    color: var(--accent);
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

.btn-learn-more {
    background: none;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-learn-more:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-learn-more i {
    transition: transform 0.3s ease;
}

.service-card.expanded .btn-learn-more i {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .service-desc-full {
        font-size: 15px;
    }
    
    .service-desc-full li {
        padding-left: 20px;
        margin-bottom: 8px;
    }
    
    .btn-learn-more {
        padding: 8px 16px;
        font-size: 14px;
    }
}