/* ===== ОБНУЛЕНИЕ И ПЕРЕМЕННЫЕ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #232324;
    --text-gray: #909499;
    --text-light: #e0e0e0;
    --accent: #a9a9b0;
    --accent-hover: #c0c0c8;
    --border-light: #3a3a3c;
    --card-bg: #2c2c2e;
    --header-bg: rgba(35, 35, 36, 0.98);
    --green: #d8f070;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #c4c9b3;
    color: var(--text-gray);
    line-height: 1.6;
    /*min-height: 100vh;
    display: flex;
    flex-direction: column;*/
	overflow-x: hidden;
}

/* ===== КОНТЕЙНЕР ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== ШАПКА ===== */
header {
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    gap: 20px;
    flex-wrap: wrap;
}

/* Логотип */
.logo a {
    display: block;
    text-decoration: none;
}

.logo-image {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.3s;
}

.logo-image:hover {
    transform: scale(1.05);
}

/* Десктопное меню */
.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.1rem;
    padding: 5px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #fff;
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */

/* Бургер-кнопка */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 100001;
    position: relative;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-gray);
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Затемненный оверлей */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 100000;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* Само мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    background: var(--card-bg);
    z-index: 100001;
    transition: left 0.3s ease;
    border-right: 1px solid var(--border-light);
    overflow-y: auto;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    left: 0;
}

/* Шапка мобильного меню */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}

.mobile-logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.mobile-menu-close {
    font-size: 40px;
    color: var(--text-gray);
    cursor: pointer;
    line-height: 40px;
    transition: color 0.3s;
    z-index: 100002;
}

.mobile-menu-close:hover {
    color: #fff;
}

/* Навигация в мобильном меню */
.mobile-nav-menu {
    list-style: none;
    margin-bottom: 30px;
}

.mobile-nav-menu li {
    margin-bottom: 15px;
}

.mobile-nav-menu a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.3s, color 0.3s;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* Контакты в мобильном меню */
.mobile-contacts {
    padding: 20px 0;
    border-top: 1px solid var(--border-light);
}

.mobile-phone {
    display: block;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 10px;
}

.mobile-address {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
main {
    flex: 1;
    position: relative;
    z-index: 1;
}

/* ===== СЕКЦИИ ===== */
.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--bg-dark);
    text-align: center;
}

/* Герой-секция (старая) */
.hero {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(#2f571c, #0c1607);
    border-radius: 20px;
    margin-bottom: 40px;
}

.hero h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* ===== НОВЫЙ ГЕРОЙ С КАРТИНКОЙ ===== */
.hero-new {
    margin: 20px 0 40px;
    background: var(--card-bg);
    border-radius: 30px;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
}

.hero-text {
    flex: 1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 2.5rem;
    color: var(--green);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-price {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 30px;
}

.hero-button {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,255,255,0.2);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

/* ===== КАРТОЧКИ ПРЕИМУЩЕСТВ ===== */
.benefits-cards {
    margin: 40px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.benefit-card {
    background: #e6e6e6;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-value {
    color: var(--bg-dark);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.benefit-desc {
    color: #000;
    font-size: 1rem;
}

/* ===== ПРЕИМУЩЕСТВА С ИКОНКАМИ ===== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.advantage-card {
    background: var(--card-bg);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    transition: background 0.3s;
}

.advantage-card:hover .advantage-icon {
    background: rgba(122, 187, 33, 0.1);
}

.advantage-icon svg {
    width: 40px;
    height: 40px;
}

.advantage-icon svg path,
.advantage-icon svg circle {
    stroke: var(--green);
    transition: stroke 0.3s;
}

.advantage-card:hover .advantage-icon svg path,
.advantage-card:hover .advantage-icon svg circle {
    stroke: #8ed12f;
}

/* Красим PNG иконки в зеленый */
.advantage-card .advantage-icon img {
    filter: brightness(0) saturate(100%) invert(67%) sepia(61%) saturate(456%) hue-rotate(42deg) brightness(92%) contrast(88%);
    transition: filter 0.3s;
}

.advantage-card:hover .advantage-icon img {
    filter: brightness(0) saturate(100%) invert(67%) sepia(61%) saturate(456%) hue-rotate(42deg) brightness(110%) contrast(98%);
}

.advantage-card h3 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.advantage-card p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.5;
}

/* ===== КАТЕГОРИИ ===== */
#categories {
    scroll-margin-top: 100px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.category-item {
    cursor: pointer;
    transition: transform 0.3s;
}

.category-item:hover {
    transform: scale(1.05);
}

.category-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    border: 1px solid var(--border-light);
}

.category-item h3 {
    text-align: center;
    margin-top: 15px;
    color: var(--bg-dark);
    font-size: 1.1rem;
}

/* ===== О КОМПАНИИ ===== */
#about {
    scroll-margin-top: 100px;
}

/* ===== ПОПАП ===== */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 200000;
    justify-content: center;
    align-items: center;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background: var(--bg-dark);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid var(--border-light);
}

.popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border-radius: 50%;
    border: 1px solid var(--border-light);
    z-index: 200001;
}

/* Навигация в попапе */
.popup-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 200001;
}

.popup-prev,
.popup-next {
    width: 50px;
    height: 50px;
    background: rgba(44, 44, 46, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.3s, transform 0.3s;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(5px);
}

.popup-prev:hover,
.popup-next:hover {
    background: rgba(58, 58, 60, 0.9);
    transform: scale(1.1);
}

.popup-prev svg,
.popup-next svg {
    width: 30px;
    height: 30px;
}

.popup-prev svg path,
.popup-next svg path {
    stroke: #fff;
}

/* Галерея в попапе */
.popup-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 20px;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}

.popup-gallery img {
    max-height: 70vh;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.popup-current-image {
    max-height: 70vh;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Счетчик изображений */
.popup-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1rem;
    background: rgba(44, 44, 46, 0.8);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(5px);
    z-index: 200001;
}

/* Стили для скроллбара в попапе */
.popup-gallery::-webkit-scrollbar {
    height: 8px;
}

.popup-gallery::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 10px;
}

.popup-gallery::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 10px;
}

.popup-gallery::-webkit-scrollbar-thumb:hover {
    background: var(--text-gray);
}

/* ===== СТИЛИ ДЛЯ ЭТАПОВ РАБОТЫ ===== */
.steps-section {
    margin: 60px 0;
    padding: 40px 0;
    background: linear-gradient(180deg, transparent 0%, #3bb30030 100%);
    border-radius: 30px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.step-item {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 30px 20px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--green);
    color: var(--bg-dark);
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -15px;
    left: 20px;
    border: 2px solid var(--border-light);
}

.step-content {
    margin-top: 20px;
}

.step-content h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.step-phone {
    display: inline-block;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    border: 1px solid var(--border-light);
    transition: background 0.3s;
}

.step-phone:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--green);
}

/* ===== СТИЛИ ДЛЯ ОПИСАНИЯ ===== */
.description-section {
    margin: 60px 0;
}

.description-content {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.description-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green), transparent);
}

.description-text {
    max-width: 900px;
    margin: 0 auto;
}

.description-text p {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

#about div{background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===== ФУТЕР С КОНТАКТАМИ ===== */
footer {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-light);
    padding: 60px 0 20px;
    margin-top: 60px;
}

#contacts {
    scroll-margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-info .section-title {
    text-align: left;
    margin-bottom: 30px;
	color: var(--green);
}

.contacts-details p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.contacts-details strong {
    color: #fff;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 8px;
}

.footer-phone {
    font-size: 1.4rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-phone:hover {
    color: var(--green);
}

.footer-map .map {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.footer-map .map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    color: var(--text-gray);
}

/* ===== ОБЩИЕ СТИЛИ ===== */
img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

ul, ol {
    list-style: none;
}

button, 
.button {
    cursor: pointer;
    border: none;
    outline: none;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
    }
    
    .menu-toggle {
        display: none !important;
    }
    
    .mobile-menu-overlay,
    .mobile-menu {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none !important;
    }
    
    .menu-toggle {
        display: flex !important;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-price {
        font-size: 1.2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-section {
        margin: 40px 0;
        padding: 30px 0;
    }
    
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .step-item {
        padding: 25px 15px;
    }
    
    .description-content {
        padding: 30px 20px;
    }
    
    .description-text p {
        font-size: 1rem;
    }
    
    .description-text p:first-child {
        font-size: 1.1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-info .section-title {
        text-align: center;
    }
    
    .contacts-details {
        text-align: center;
    }
    
    .popup-nav {
        padding: 0 10px;
    }
    
    .popup-prev,
    .popup-next {
        width: 40px;
        height: 40px;
    }
    
    .popup-prev svg,
    .popup-next svg {
        width: 24px;
        height: 24px;
    }
    
    .popup-current-image {
        max-height: 60vh;
    }
}

@media (max-width: 576px) {
    .steps-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: -10px;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .step-phone {
        font-size: 1rem;
        padding: 6px 12px;
    }
    
    .description-content {
        padding: 25px 15px;
    }
    
    .description-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .mobile-menu {
        width: 280px;
        left: -280px;
    }
    
    .mobile-nav-menu a {
        font-size: 1.1rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-card {
        padding: 25px 15px;
    }
    
    .advantage-icon {
        width: 60px;
        height: 60px;
    }
    
    .advantage-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .advantage-card h3 {
        font-size: 1.2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-value {
        font-size: 1.2rem;
    }
    
    .footer-phone {
        font-size: 1.2rem;
    }
    
    footer {
        padding: 40px 0 15px;
    }
    
    .popup-prev,
    .popup-next {
        width: 35px;
        height: 35px;
    }
    
    .popup-prev svg,
    .popup-next svg {
        width: 20px;
        height: 20px;
    }
    
    .popup-current-image {
        max-height: 50vh;
    }
}

/* ===== ПОЛНОЭКРАННЫЙ ГЕРОЙ С БАННЕРОМ ===== */
.hero-fullscreen {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px); /* 100vh минус высота меню */
    min-height: 600px;
    background-image: url('/images/baner1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 40px 0;
    border-radius: 0;
    overflow: hidden;
}

/* Затемнение для лучшей читаемости текста */
.hero-fullscreen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Полупрозрачное затемнение */
    z-index: 1;
}

.hero-fullscreen-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-left: 10%;
    padding: 40px;
    background: rgba(35, 35, 36, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid var(--border-light);
    animation: fadeInUp 1s ease;
}

.hero-fullscreen .hero-subtitle {
    font-size: 1.2rem;
    color: var(--green);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-fullscreen .hero-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-fullscreen .hero-price {
    font-size: 1.5rem;
    color: var(--green);
    margin-bottom: 30px;
    font-weight: 600;
}

.hero-fullscreen .hero-button {
    display: inline-block;
    padding: 18px 50px;
    background: var(--green);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    border: none;
    cursor: pointer;
}

.hero-fullscreen .hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(122, 187, 33, 0.3);
    background: #8ed12f;
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность для полноэкранного героя */
@media (max-width: 992px) {
    .hero-fullscreen {
        height: calc(100vh - 70px);
    }
    
    .hero-fullscreen .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-fullscreen-content {
        margin-left: 5%;
        margin-right: 5%;
        max-width: 500px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .hero-fullscreen {
        height: calc(100vh - 60px);
        min-height: 500px;
        justify-content: center;
        text-align: center;
    }
    
    .hero-fullscreen-content {
        margin: 0 20px;
        max-width: 100%;
        padding: 30px 20px;
    }
    
    .hero-fullscreen .hero-title {
        font-size: 2rem;
    }
    
    .hero-fullscreen .hero-price {
        font-size: 1.2rem;
    }
    
    .hero-fullscreen .hero-button {
        padding: 15px 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-fullscreen {
        height: calc(100vh - 50px);
        min-height: 400px;
    }
    
    .hero-fullscreen-content {
        padding: 25px 15px;
    }
    
    .hero-fullscreen .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-fullscreen .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-fullscreen .hero-button {
        padding: 12px 30px;
    }
}

/* ===== КОНТАКТЫ В ШАПКЕ ===== */
.header-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.header-phone {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.header-phone:hover {
    color: var(--green);
}

.header-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--green);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    transition: background 0.3s, transform 0.3s;
    white-space: nowrap;
    border: 1px solid transparent;
}

.header-button:hover {
    background: #8ed12f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(122, 187, 33, 0.3);
}

/* Кнопка в мобильном меню */
.mobile-button {
    display: inline-block;
    padding: 12px 20px;
    background: var(--green);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    transition: background 0.3s;
    margin-bottom: 15px;
    text-align: center;
    width: 100%;
    border: 1px solid transparent;
}

.mobile-button:hover {
    background: #8ed12f;
}

/* Адаптивность */
@media (max-width: 992px) {
    .header-phone {
        font-size: 1rem;
    }
    
    .header-button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .header-contacts {
        display: none; /* Прячем контакты на мобильных */
    }
}
@media (max-width: 992px) {
    .nav-menu {
        gap: 15px;
    }
    
    .nav-menu a {
        font-size: 1rem;
    }
}

/* ===== ПОПАП С ФОРМОЙ ===== */
.popup-form-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 300000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.popup-form-overlay.active {
    display: flex;
}

.popup-form-content {
    background: var(--card-bg);
    border-radius: 30px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: formFadeIn 0.3s ease;
}

@keyframes formFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}

.popup-form-header h3 {
    color: #fff;
    font-size: 1.8rem;
    margin: 0;
}

.popup-form-close {
    font-size: 40px;
    color: var(--text-gray);
    cursor: pointer;
    line-height: 40px;
    transition: color 0.3s;
}

.popup-form-close:hover {
    color: #fff;
}

/* Стили формы */
.popup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background: var(--bg-dark);
    border: 1px solid var(--border-light);
    border-radius: 15px;
    padding: 15px;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(122, 187, 33, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

.form-submit {
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    margin-top: 10px;
}

.form-submit:hover {
    background: #8ed12f;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(122, 187, 33, 0.3);
}

/* Адаптивность для попапа */
@media (max-width: 768px) {
    .popup-form-content {
        padding: 30px 20px;
    }
    
    .popup-form-header h3 {
        font-size: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
    }
    
    .form-submit {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .popup-form-content {
        padding: 25px 15px;
    }
    
    .popup-form-header h3 {
        font-size: 1.3rem;
    }
}

/* ===== КАПЧА ===== */
.captcha-group {
    margin-top: 10px;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-question {
    background: var(--bg-dark);
    border: 1px solid var(--border-light);
    border-radius: 15px;
    padding: 15px 20px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    min-width: 120px;
    text-align: center;
    white-space: nowrap;
}

.captcha-container input {
    flex: 1;
}

@media (max-width: 480px) {
    .captcha-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .captcha-question {
        min-width: auto;
        text-align: center;
    }
}

/* floating-contact.css - полная версия со знаком вопроса */

.floating-contact {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

/* Чекбокс для переключения (скрыт) */
.contact-toggle {
    display: none;
}

/* Кнопка-триггер с пульсацией */
.contact-trigger {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #d8f070, #5a6723);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(43, 94, 59, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.2);
    
    /* Пульсирующая анимация */
    animation: pulse 2s infinite;
}

/* Знак вопроса */
.question-mark {
    font-size: 32px;
    font-weight: 800;
    color: white;
    line-height: 1;
    font-family: 'Inter', 'Arial', sans-serif;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: bounce 2s infinite;
}

/* Анимация для знака вопроса */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Ключевые кадры для пульсации */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(43, 94, 59, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(43, 94, 59, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(43, 94, 59, 0);
        transform: scale(1);
    }
}

/* Останавливаем анимации при наведении */
.contact-trigger:hover,
#contact-toggle:checked + .contact-trigger {
    animation: none;
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(43, 94, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

.contact-trigger:hover .question-mark {
    animation: none;
    transform: scale(1.1);
}

/* Всплывающая подсказка */
.trigger-tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    color: #1e3a2a;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 40px;
    white-space: nowrap;
    opacity: 0;
    visibility: visible;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    border: 1px solid rgba(43, 94, 59, 0.2);
}

.trigger-tooltip:after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-right: 1px solid rgba(43, 94, 59, 0.2);
    border-bottom: 1px solid rgba(43, 94, 59, 0.2);
}

.contact-trigger:hover .trigger-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 80px;
}

/* Иконки триггера */
.trigger-icon {
    position: absolute;
    transition: all 0.3s ease;
    color: white;
}

.trigger-icon-open {
    opacity: 1;
    transform: rotate(0deg);
}

.trigger-icon-close {
    opacity: 0;
    transform: rotate(90deg);
}

.trigger-icon-close svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
}

/* Когда чекбокс отмечен - меняем иконки */
#contact-toggle:checked + .contact-trigger .trigger-icon-open {
    opacity: 0;
    transform: rotate(-90deg);
}

#contact-toggle:checked + .contact-trigger .trigger-icon-close {
    opacity: 1;
    transform: rotate(0deg);
}

/* Контейнер с кнопками */
.contact-buttons {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

/* Показываем кнопки при активации */
#contact-toggle:checked ~ .contact-buttons {
    opacity: 1;
    visibility: visible;
    transform: translateY(-80px);
    pointer-events: auto;
}

/* Индивидуальные кнопки */
.contact-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    align-self: flex-end;
}

/* Telegram кнопка */
.contact-button.telegram {
    background: linear-gradient(145deg, #0088cc, #006699);
}

/* Max кнопка */
.contact-button.max {
    background: linear-gradient(145deg, #2b5e3b, #1e462a);
}

.contact-button:hover {
    transform: scale(1.15) translateX(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-button.telegram:hover {
    background: linear-gradient(145deg, #006699, #004466);
}

.contact-button.max:hover {
    background: linear-gradient(145deg, #1e462a, #14331f);
}

/* Подписи к кнопкам */
.contact-label {
    position: absolute;
    right: 60px;
    background: white;
    color: #1e3a2a;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 6px 15px;
    border-radius: 40px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    border: 1px solid rgba(43, 94, 59, 0.2);
}

.contact-button:hover .contact-label {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        right: 20px;
    }
    
    .contact-trigger {
        width: 50px;
        height: 50px;
    }
    
    .question-mark {
        font-size: 28px;
    }
    
    .trigger-tooltip {
        font-size: 0.8rem;
        padding: 6px 12px;
        bottom: 60px;
    }
    
    .contact-trigger:hover .trigger-tooltip {
        bottom: 70px;
    }
    
    .contact-button {
        width: 45px;
        height: 45px;
    }
    
    .contact-button svg {
        width: 24px;
        height: 24px;
    }
    
    .contact-label {
        font-size: 0.8rem;
        padding: 4px 12px;
    }
}

@media (max-width: 480px) {
    .contact-label {
        display: none;
    }
    
    .trigger-tooltip {
        right: -10px;
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .question-mark {
        font-size: 24px;
    }
}
/* Стили для SVG логотипа MAX */
.max-svg {
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.max-svg path {
    fill: white;
}

/* Эффект при наведении на кнопку Max */
.contact-button.max:hover .max-svg {
    transform: scale(1.15);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .max-svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .max-svg {
        width: 22px;
        height: 22px;
    }
}