/* --- 1. ПЕРЕМЕННЫЕ (Цвета и Шрифты) --- */
:root {
    --color-olive: #919602;
    --color-dark: #1b1d13;
    --color-darker: #191817;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-light: #e1e2d5;
    
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;

    --font-sans: 'Open Sans', sans-serif;
    --font-heading: 'Raleway', sans-serif;
    --font-releway: 'Raleway', sans-serif;

    --transition-base: all 0.3s ease;
    --transition-fast: all 0.2s ease;

    --width-sm: 896px;
    --width-md: 1280px;
    --width-lg: 1600px;
}

/* --- 2. БАЗОВЫЕ НАСТРОЙКИ --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-releway);
    background-color: var(--color-dark);
    color: var(--color-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection {
    background-color: var(--color-olive);
    color: var(--color-white);
}

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

button {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

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

li{
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--width-md);
    margin: 0 auto;
    padding: 0;
}

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


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

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

/* --- 3. АНИМАЦИИ ПОЯВЛЕНИЯ --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }

/* --- 4. НАВИГАЦИЯ (HEADER) --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background-color: var(--color-black);
    border-bottom: 1px solid rgba(145, 150, 2, 0.2);
    padding: 1.5rem 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    transition: padding 0.3s ease;
}
.navbar.scrolled {
    padding: 0.75rem 0;
}
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo img {
    height: 2.5rem;
    transition: opacity 0.3s;
}
.nav-logo:hover img {
    opacity: 0.8;
}
@media (min-width: 768px) {
    .nav-logo img { height: 3rem; }
}

.nav-menu {
    display: none;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 768px) {
    .nav-menu { display: flex; }
}
.nav-link {
    color: var(--color-olive);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem;
    transition: color 0.3s;
}
.nav-link:hover {
    color: var(--color-white);
}

/* Выпадающее меню */
.dropdown {
    position: relative;
}
.dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.dropdown-icon {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s;
}
.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 1rem;
    width: 18rem;
    background-color: var(--color-black);
    border: 1px solid rgba(145, 150, 2, 0.2);
    border-radius: 0.375rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.5rem);
    transition: all 0.3s ease;
    overflow: hidden;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--color-gray-300);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s;
}
.dropdown-item:hover {
    color: var(--color-white);
    background-color: rgba(145, 150, 2, 0.2);
}

/* Кнопка в шапке */
.nav-actions {
    display: none;
    align-items: center;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .nav-actions { display: flex; }
}

.phone {
    font-family: var(--font-sans);
}
.phone:hover {
    color: var(--color-olive);
}

.nav-phone {
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.3s;
}
.nav-phone:hover {
    color: var(--color-olive);
}
.btn-header {
    border: 1px solid var(--color-white);
    color: var(--color-white);
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}
.btn-header:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* Мобильное меню */
.mobile-btn {
    display: block;
    color: var(--color-olive);
    padding: 0.5rem;
    position: relative;
    z-index: 50;
}
@media (min-width: 768px) {
    .mobile-btn { display: none; }
}
.mobile-btn:hover { color: var(--color-white); }
.mobile-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 40;
    padding: 2.5rem 1.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}
.mobile-panel.active {
    transform: translateX(0);
}
.mobile-panel-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}
.m-link {
    color: var(--color-olive);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}
.m-link:hover { color: var(--color-white); }

/* --- 5. СЕКЦИИ САЙТА --- */

/* Главный экран (Hero) */
.hero {
    position: relative;
    min-height: 60vh;
    /* min-height: 600px; */
    width: 100%;
    overflow: hidden;
    background-color: var(--color-dark);
    margin-top: 98px;   
}
/* @media (min-width: 768px) { .hero { margin-top: 0; } } */

.hero.hero-fp,
.hero.hero-portfolio{
    min-height: 100vh;
}

.hero .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 0;
    transition: opacity 1s ease-in-out;
}
.hero .hero-slide.active {
    opacity: 1;
    z-index: 10;
}
.hero .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    background-image: url('/wp-content/uploads/img/hero.webp');
}
.hero .hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
}
.hero .hero-content {
    position: relative;
    z-index: 20;
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    text-align: center;
}

.hero.hero-fp .hero-content,
.hero.hero-portfolio .hero-content{
    position: relative;
    z-index: 20;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    text-align: center;
}


.hero .hero-title {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-olive);
    margin-bottom: 1.5rem;
    line-height: 1.15;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 4px 15px rgba(0, 0, 0, 0.8);
    max-width: 1000px;
}
.hero.hero-fp .hero-title{
    font-size: 2.5rem;
    color: var(--color-white);
    font-weight: 300;
}
@media (min-width: 768px) { .hero .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero .hero-title { font-size: 4rem; } }



.hero .hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-100);
    max-width: 48rem;
    line-height: 1.625;
    text-align: center;
}
.hero.hero-fp .hero-subtitle{
    color: var(--color-white);
    font-weight: 300;
}
@media (min-width: 768px) { .hero .hero-subtitle { font-size: 1.25rem; } }

.hero .hero-controls {
    position: absolute;
    bottom: 3rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;    
    gap: 1rem;
    z-index: 20;
}
.hero .hero-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    border: 1px solid var(--color-white);
    transition: all 0.3s;
}
.hero .hero-dot.active { background-color: var(--color-white); }
.hero .hero-dot:not(.active) { background-color: transparent; }
.hero .hero-dot:hover { transform: scale(1.5); }

/* Вступление */
.intro {
    padding: 6rem 1rem;
    background-color: var(--color-dark);
}
@media (min-width: 768px) { .intro { padding: 8rem 1rem; } }
.intro-text {
    border-left: 2px solid var(--color-olive);
    padding-left: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-olive);
    line-height: 1.625;
}
@media (min-width: 768px) {
    .intro-text { padding-left: 2.5rem; font-size: 1.5rem; }
}

    
.breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 0.5rem; */
    font-family: var(--font-heading);
    font-size: 0.875rem;
    color: var(--color-gray-300);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    padding: 0 10px;
}

.breadcrumbs a {
    transition: color 0.3s;
}

.breadcrumbs a:not(.noref):hover {
    color: var(--color-olive);
}

/* .breadcrumbs a.noref:hover {
    color: var(--color-gray-300);
} */

.breadcrumbs .separator {
    /* color: var(--color-gray-500); */
    margin: 0 0.5rem;
}


/* Услуги */
.services {
    padding-bottom: 6rem;
    background-color: var(--color-dark);
    border-bottom: 1px solid var(--color-gray-900);
}
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
    border: 3px solid var(--color-olive);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--color-dark);
    transition: transform 0.5s, box-shadow 0.5s;
}
.service-card:hover {
    transform: translateY(-0.75rem);
    box-shadow: 0 20px 40px -15px rgba(145, 150, 2, 0.2);
}
.service-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-olive);
    margin-bottom: 1.5rem;
}
.service-desc {
    color: var(--color-gray-200);
    margin-bottom: 2.5rem;
    flex-grow: 1;
    line-height: 1.625;
}
.btn-outline {
    display: inline-block;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: var(--transition-base);
}
.btn-outline:hover {
    background-color: var(--color-olive);
    border: 2px solid var(--color-olive);
}

/* --- 6. ПОРТФОЛИО (Эксклюзивный блок) --- */
.portfolio {
    background-color: var(--color-dark);
    padding-bottom: 2.5rem;
}
@media (min-width: 768px) { .portfolio { padding-bottom: 5rem; } }

.portfolio-header {
    padding-top: 6rem;
    margin-bottom: 4rem;
    text-align: center;
}
@media (min-width: 768px) { .portfolio-header { margin-bottom: 6rem; } }

.portfolio-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
@media (min-width: 768px) { .portfolio-title { font-size: 3rem; } }

.portfolio-item {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: end;
    padding-bottom: 40px;
}
@media (min-width: 768px) { 
    .portfolio-item { 
        min-height: 100vh; 
        align-items: center;
        padding-bottom: 40px;
    } 
}

/* .portfolio-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-olive);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover::after { transform: scaleX(1); transform-origin: left; } */

.portfolio-mask-right, .portfolio-mask-left {
    position: absolute;
    top: 0; bottom: 0;
    width: 100%;
    height: 70%;
    z-index: 0;
    overflow: hidden;
}
.portfolio-mask-right { right: 0; }
.portfolio-mask-left { left: 0; }

/* Градиентное размытие (Mobile - снизу вверх, Desktop - сбоку) */
.mask-right {
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 45%);
    mask-image: linear-gradient(to top, transparent 0%, black 45%);
}
.mask-left {
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 45%);
    mask-image: linear-gradient(to top, transparent 0%, black 45%);
}
@media (min-width: 768px) {
    .portfolio-mask-right, .portfolio-mask-left { height: 100%; width: 85%; }
    .mask-right {
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 45%);
        mask-image: linear-gradient(to right, transparent 0%, black 45%);
    }
    .mask-left {
        -webkit-mask-image: linear-gradient(to left, transparent 0%, black 45%);
        mask-image: linear-gradient(to left, transparent 0%, black 45%);
    }
}

.portfolio-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 20s ease-out;
}
.portfolio-item:hover .portfolio-img { transform: scale(1.05); }

.portfolio-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    margin-top: 40vh;
    padding-top: 2rem;
    max-width: 1600px;
}
@media (min-width: 768px) { .portfolio-content { margin-top: 0; padding-top: 0; } }
.justify-start { justify-content: flex-start; text-align: left; }
.justify-end { justify-content: flex-start; text-align: left; } /* На мобилках всегда слева */
@media (min-width: 768px) { .justify-end { justify-content: flex-end; text-align: right; } }

.portfolio-text-box {
    max-width: 480px;
    position: relative;
    z-index: 10;
}

/* Тень для читаемости текстов */
.text-shadow-hard {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 4px 15px rgba(0, 0, 0, 0.8);
}

.text-olive {
    color: var(--color-olive);
}

.text-white {
    color: var(--color-white);
}

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

.font-medium {
    font-weight: 500;
}

.p-title {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 300;
    color: var(--color-olive);
    margin-bottom: 1.5rem;
    line-height: 1.25;
}
@media (min-width: 768px) { .p-title { font-size: 2.5rem; } }

.p-desc {
    font-size: 1.125rem;
    color: var(--color-gray-100);
    margin-bottom: 1rem;
    line-height: 1.625;
    display: none;
}

@media (min-width: 768px) { 
    .p-desc { 
        /* font-size: 1.125rem;  */
        /* font-size: 1.125rem;  */
        display: block;
    } 
}

/* Плашки характеристик (Pills) */
.p-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .justify-end .p-meta { justify-content: flex-end; }
}
.pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(27, 29, 19, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(145, 150, 2, 0.3);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    color: var(--color-white);
}
.pill-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-olive);
}

.btn-portfolio {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-olive);
    background-color: rgba(27, 29, 19, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--color-white);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: var(--transition-base);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}
@media (min-width: 768px) { .btn-portfolio { background-color: transparent; box-shadow: none; } }
.btn-portfolio:hover { background-color: var(--color-olive); }
.btn-portfolio svg { transition: transform 0.3s; width: 1.25rem; height: 1.25rem; margin-left: 0.5rem; }
.btn-portfolio:hover svg { transform: translateX(0.5rem); }

/* Зеленая тень снизу проекта */
.portfolio-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    /* box-shadow: 0 15px 40px 15px rgba(145, 150, 2, 0.4); */
    z-index: 0;
    pointer-events: none;
}
.portfolio-gap {
    width: 100%;
    height: 1px;
    position: relative;
    z-index: 10;
    background-color: transparent;
}
/* .portfolio-gap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-olive);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio-gap.active::after {
    transform: scaleX(1);
} */

/* --- 7. ОТЗЫВЫ (TESTIMONIALS) --- */
.testimonials {
    background-color: var(--color-dark);
    padding: 6rem 1rem;
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--color-gray-900);
}
.test-title {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 4rem;
}
@media (min-width: 768px) { .test-title { font-size: 2.25rem; } }

.test-card {
    background-color: var(--color-light);
    border-radius: 0.125rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    padding: 2rem;
    position: relative;
}
@media (min-width: 768px) { .test-card { padding: 3.5rem; } }

.test-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.test-slide {
    width: 100%;
    flex-shrink: 0;
    padding: 0 0.5rem;
}
@media (min-width: 768px) { .test-slide { padding: 0 2rem; } }

.test-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}
@media (min-width: 768px) { .test-header { flex-direction: row; align-items: flex-start; } }

.test-avatar {
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-white);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.test-author { text-align: center; padding-top: 0.5rem; }
@media (min-width: 768px) { .test-author { text-align: left; } }
.test-name { font-size: 1.5rem; font-weight: 600; color: var(--color-dark); margin-bottom: 0.25rem; }
.test-role { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 500; color: var(--color-olive); }

.test-quote {
    color: var(--color-dark);
    font-size: 1.125rem;
    line-height: 1.625;
    font-style: italic;
    border-left: 4px solid var(--color-olive);
    padding-left: 1.5rem;
    margin-left: 0.5rem;
}
@media (min-width: 768px) { .test-quote { margin-left: 0; } }

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border: 1px solid var(--color-gray-100);
    z-index: 10;
    transition: var(--transition-base);
}
.nav-arrow:hover { background-color: var(--color-olive); color: var(--color-white); }
.nav-arrow.left { left: 0; }
.nav-arrow.right { right: 0; }
@media (min-width: 768px) {
    .nav-arrow.left { left: -1.5rem; }
    .nav-arrow.right { right: -1.5rem; }
}

.test-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}
.test-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    transition: var(--transition-base);
}
.test-dot.active { background-color: var(--color-olive); }
.test-dot:not(.active) { background-color: var(--color-gray-600); }

/* --- 8. ФОРМА КОНТАКТОВ --- */
/* --- Контакты и Форма --- */
.contact-form-section {
    
    background-color: var(--color-dark);
    padding: 6rem 1rem;
    border-top: 1px solid var(--color-gray-900);
}
@media (min-width: 768px) { .contact-form-section { padding: 8rem 1rem; } }

.contact-form-section *{
    font-family: var(--font-releway);
}

.form-wrapper {
    max-width: 56rem;
    margin: 0 auto;
    border: 3px solid var(--color-olive);
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--color-darker);
    border-radius: 0.25rem;
}
@media (min-width: 768px) { .form-wrapper { padding: 4rem; } }

.form-bg-glow {
    position: absolute;
    top: -6rem;
    right: -6rem;
    width: 16rem;
    height: 16rem;
    background-color: rgba(145, 150, 2, 0.1);
    border-radius: 50%;
    filter: blur(48px);
    pointer-events: none;
}
.form-inner {
    position: relative;
    z-index: 10;
    max-width: 32rem;
    margin: 0 auto;
}
.form-title {
    font-size: 1.875rem;
    font-family: var(--font-heading);
    font-weight: 300;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
@media (min-width: 768px) { .form-title { font-size: 2.25rem; } }
.form-desc {
    color: var(--color-gray-300);
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
}
.form-group {
    position: relative;
    margin-bottom: 2rem;
    text-align: left;
}
.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-gray-500);
    padding: 0.75rem 0;
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 300;
    /* text-indent: 1rem; */
    outline: none;
    transition: border-color var(--transition-fast);
}
.form-input:focus { border-color: var(--color-olive); }
.form-label {
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: var(--color-gray-400);
    font-size: 1.125rem;
    transition: all var(--transition-fast);
    pointer-events: none;
}
.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    transform: translateY(-2.0rem) scale(0.85);
    transform-origin: left top;
    color: var(--color-olive);
}
.btn-submit {
    margin-top: 1rem;
    width: 100%;
    border: 2px solid var(--color-olive);
    background-color: rgba(145, 150, 2, 0.1);
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.125rem;
    letter-spacing: 0.025em;
    transition: all var(--transition-fast);
    box-shadow: 0 0 15px rgba(145, 150, 2, 0.3);
}
.btn-submit:hover {
    background-color: var(--color-olive);
    box-shadow: 0 0 25px rgba(145, 150, 2, 0.6);
}
.btn-submit.loading {
    opacity: 0.7;
    cursor: not-allowed;
}
.form-status {
    /* display: none; */
    font-weight: 500;
    margin-top: 1rem;
}
.form-status.success {
    color: #4ade80;
}
.form-status.error {
    color: #ef4444;
}
.form-policy {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin-top: 2.5rem;
}
.form-policy a {
    color: var(--color-olive);
    text-decoration: underline;
}


/* --- 9. FAQ --- */
.faq {
    background-color: var(--color-dark);
    padding: 6rem 1rem;
    border-top: 1px solid var(--color-gray-800);
}
@media (min-width: 768px) { .faq { padding: 8rem 1rem; } }
.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.faq-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.faq-btn {
    width: 100%;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 1.5rem;
}
.faq-title { font-size: 1.25rem; font-weight: 300; color: var(--color-white); }
.faq-btn:hover .faq-title { color: var(--color-olive); transition: color 0.25s; }
.faq-icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    position: relative;
    color: var(--color-olive);
    transition: transform 0.35s ease;
}
.faq-icon.active {
    transform: rotate(135deg);
}
/* Горизонтальная черта плюса */
.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
/* Вертикальная черта плюса */
.faq-icon::after {
    width: 2px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}


.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
}
.faq-content.active { opacity: 1; }
.faq-inner {
    padding: 0 0 1.5rem;
    color: var(--color-gray-300);
    line-height: 1.7;
    font-size: 1.075rem;
    font-weight: 300;
}

/* --- 10. ФУТЕР (Контакты и Карта) --- */
.footer {
    background-color: var(--color-darker);
    padding: 4rem 1rem 2rem;
    border-top: 1px solid var(--color-gray-800);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: stretch; }
}

.footer-col-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
@media (min-width: 1024px) { .footer-col-left { padding-right: 2.5rem; } }

.f-logo { display: inline-block; margin-bottom: 3rem; transition: opacity 0.3s; }
.f-logo:hover { opacity: 0.8; }
.f-logo img { height: 2.5rem; width: auto; }
@media (min-width: 768px) { .f-logo img { height: 3.5rem; } }

.f-contact-item { margin-bottom: 2.5rem; }
.f-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-olive);
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.f-value {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--color-gray-200);
    transition: color 0.3s;
}
@media (min-width: 768px) { .f-value { font-size: 1.25rem; } }
@media (min-width: 1024px) {
    .f-value.large { font-size: 1.875rem; white-space: nowrap; }
    .f-value.medium { font-size: 1.5rem; }
}
a.f-value:hover { color: var(--color-olive); }

.f-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(31, 41, 55, 0.6);
}
@media (min-width: 640px) {
    .f-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

.f-policy-link {
    font-size: 0.875rem;
    color: var(--color-olive);
    /* text-decoration: underline; */
    transition: color 0.3s;
}
.f-policy-link:hover { border-bottom: 1px solid var(--color-olive); }

.socials { display: flex; gap: 1.25rem; }
.socials.social-footer { 
    margin-top: 0;
    padding-top: 0;
 }
.social-btn {   
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--color-gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition-base);
}
.social-btn:hover { 
    background-color: var(--color-olive);
     /* transform: translateY(-4px);  */
}


.map-container {
    width: 100%;
    min-height: 400px;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
@media (min-width: 1024px) { .map-container { height: 100%; } }

/* Утилиты */
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }

/* --- 10. КОНТАКТЫ (СПЕЦИФИЧНЫЕ СТИЛИ) --- */
.hero-section {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 5rem;
    overflow: hidden;
    background-color: var(--color-darker);
    border-bottom: 1px solid rgba(145, 150, 2, 0.2);
    margin-top: 5rem;
}
@media (min-width: 768px) {
    .hero-section { padding-top: 12rem; padding-bottom: 8rem; margin-top: 0; }
}

.contact-cards-section {
    padding: 6rem 1rem;
    background-color: var(--color-dark);
}
@media (min-width: 768px) { .contact-cards-section { padding: 8rem 1rem; } }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }

.contact-card {
    background-color: var(--color-darker);
    border: 3px solid var(--color-olive);
    padding: 3rem 2rem;
    border-radius: 0.25rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.contact-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 15px 30px -10px rgba(145, 150, 2, 0.25);
}
.contact-icon {
    width: 3.5rem;
    height: 3.5rem;
    color: var(--color-olive);
    margin-bottom: 1.5rem;
    background: rgba(145, 150, 2, 0.1);
    padding: 0.75rem;
    border-radius: 50%;
}
.contact-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}
.contact-card p, .contact-card a {
    color: var(--color-gray-300);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
.contact-main-link {
    font-size: 1.5rem !important;
    font-weight: 500;
    color: var(--color-white) !important;
    display: block;
    margin-bottom: 1rem !important;
}
.contact-main-link:hover { color: var(--color-olive) !important; }

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
.social-buttons a {
    background-color: rgba(145, 150, 2, 0.15);
    /* border: 1px solid var(--color-olive); */
}
.soc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--color-dark);
    border: 1px solid var(--color-gray-800);
    color: var(--color-white);
    transition: all 0.3s ease;
}
.soc-btn svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.soc-btn:hover {
    background-color: var(--color-olive);
    border-color: var(--color-olive);
    /* transform: translateY(-3px); */
}
.review-badge {
    display: inline-block;
    background-color: rgba(145, 150, 2, 0.15);
    border: 1px solid var(--color-olive);
    color: var(--color-olive);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 1rem;
    letter-spacing: 0.05em;
}

/* --- Footer Refactoring --- */
.footer-nav {
    margin-top: 3rem;
    /* padding-top: 3rem; */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 40px;
}
@media (min-width: 768px) {
    .footer-nav-grid {
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
    }
}
.f-nav-link {
    color: var(--color-olive);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}
.f-nav-link:hover {
    color: var(--color-white);
}
.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: center;
    }
}

/* --- Desktop Nav Collapse (< 1400px) --- */
@media (max-width: 1399.98px) {
    .desktop-menu-original {
        display: none !important;
    }
}
@media (min-width: 1400px) {
    .desktop-menu-more {
        display: none !important;
    }
}
