/* ===== БАЗА / ПАЛИТРА ===== */
:root {
    --brand-yellow: #f5b300;
    --brand-yellow-2: #ffc72a;
    --brand-yellow-3: #ffe089;
    --brand-brown: #5a2506;
    --brand-brown-2: #7a3810;
    --ink: #1a1a1a;
    --muted: #666;
    --card-bg: #fff8e1;
    --white: #fff;
    --wa: #25D366;
    --tg: #0088cc;
    --call: #34A853;
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
    --dark-blue: #2c3e50;
    --gray-text: #6c757d;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    margin: 0;
    background: #fff;
    color: var(--ink);
    line-height: 1.6;
}

/* контейнер */
.landing .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* ===== HERO ===== */
.hero-yellow {
    color: var(--brand-brown);
    background: radial-gradient(circle at 0 0, rgba(0, 0, 0, .06) 0, rgba(0, 0, 0, 0) 60%), linear-gradient(180deg, var(--brand-yellow) 0%, var(--brand-yellow-2) 100%);
    padding: 60px 20px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 30px;
    align-items: center;
}

@media (max-width:900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

.hero-left h1 {
    font-size: 44px;
    line-height: 1.1;
    margin: 0 0 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-sub {
    font-size: 18px;
    color: var(--brand-brown-2);
    margin: 0 0 20px;
}

/* ===== КНОПКИ (единый стиль) ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 45px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: .2px;
    transition: all 0.3s ease;
    color: #fff;
    border: none;
    cursor: pointer;
    gap: 8px;
}

.btn:hover {
    opacity: .9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-dark {
    background: var(--brand-brown);
}

.btn-wa {
    background: var(--wa);
}

.btn-tg {
    background: var(--tg);
}

.btn-call {
    background: var(--call);
}

/* ===== ИКОНКИ ДЛЯ КНОПОК ===== */
.btn svg {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
    fill: currentColor;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 0 0 2rem;
    color: var(--dark-blue);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.advantages {
    background: var(--light-bg);
    padding: 80px 20px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.advantage-item {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--brand-yellow);
}

.advantage-content {
    padding: 30px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.advantage-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--brand-yellow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.advantage-icon svg {
    width: 24px;
    height: 24px;
}

.advantage-item h3 {
    margin: 0;
    color: var(--dark-blue);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

/* ===== УСЛУГИ ===== */
.services {
    background: var(--white);
    padding: 80px 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--brand-yellow);
}

.service-content {
    padding: 40px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-item h3 {
    margin: 0 0 16px;
    color: var(--dark-blue);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.3;
}

.service-item p {
    margin: 0;
    color: var(--gray-text);
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Гарантия */
.guarantee-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--border-color) 100%);
    padding: 80px 20px;
    text-align: center;
}

.guarantee-section .section-title {
    color: var(--dark-blue);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.guarantee-intro {
    color: var(--gray-text);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* FAQ */
.faq {
    background: var(--white);
    padding: 80px 20px;
}

.faq .faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq .faq-item {
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-blue);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--light-bg);
}

.faq-icon {
    font-size: 1.5rem;
    width: 24px;
    text-align: center;
    font-weight: 300;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: all 0.35s ease;
    color: var(--gray-text);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 24px;
}

.faq-item.active .faq-question {
    background: var(--light-bg);
    border-radius: 12px 12px 0 0;
}

/* О нас */
.about {
    background: var(--light-bg);
    padding: 80px 20px;
    text-align: center;
}

.about p {
    max-width: 900px;
    margin: 0 auto 2rem;
    color: var(--gray-text);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Кнопки контактов */
.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-buttons .btn {
    min-width: 180px;
    padding: 16px 24px;
    font-size: 1.1rem;
}

.van-illustration img {
    width: auto;
    max-width: 100%;
        max-height: 350px;
}

.site-title a {
    text-decoration: none;
    color: var(--brand-brown);
    font-weight: 800;
    font-size: 1.5rem;
}

/* Footer */
.footer {
    padding: 40px 20px;
    text-align: center;
}

.footer-dark {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1a2a3a 100%);
    color: var(--white);
}

.footer-dark a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.footer-dark a:hover {
    border-bottom-color: var(--white);
    opacity: 0.9;
}

.footer-dark p {
    margin: 10px 0;
    font-size: 1.1rem;
}

/* ===== ПЕРЕРАБОТАННАЯ ШАПКА ===== */
.site-header.landing {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    gap: 30px;
}

/* Левая часть - логотип и название (65%) */
.header-left {
    flex: 0 0 65%;
    max-width: 65%;
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-title {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.2;
}

.site-title a {
    color: var(--brand-brown);
    text-decoration: none;
    font-weight: 900;
    display: block;
}

/* Правая часть - контакты (35%) */
.header-right {
    flex: 0 0 35%;
    max-width: 35%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 0;
}

.header-phone-large a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-brown);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.3rem;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.header-phone-large a:hover {
    color: var(--dark-blue);
}

.header-phone-large svg {
    fill: currentColor;
    flex-shrink: 0;
}

/* Компактные кнопки */
.header-buttons-compact {
    display: flex;
    gap: 8px;
    margin: 0;
}

.btn-small {
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    min-width: auto !important;
}

.btn-small svg {
    width: 12px !important;
    height: 12px !important;
    margin-right: 4px !important;
}

/* Меню на всю ширину */
.header-menu-fullwidth {
    width: 100%;
    border-top: 1px solid rgba(90, 37, 6, 0.1);
    border-bottom: 1px solid rgba(90, 37, 6, 0.1);
    background: linear-gradient(135deg, var(--brand-yellow-3) 0%, #fff8e1 100%);
}

.header-menu-fullwidth ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.header-menu-fullwidth li {
    margin: 0;
}

.header-menu-fullwidth a {
    color: var(--brand-brown);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 15px 0;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-menu-fullwidth a:hover {
    color: var(--brand-brown-2);
    transform: translateY(-1px);
}

.header-menu-fullwidth a:hover::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand-brown);
    box-shadow: 0 2px 4px rgba(90, 37, 6, 0.2);
}

.header-menu-fullwidth a:active {
    transform: translateY(0);
}

/* ===== МОБИЛЬНОЕ МЕНЮ С ГАМБУРГЕРОМ ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--brand-brown);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

/* Состояние активного меню */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Мобильное меню */
@media (max-width: 1024px) {
    .header-top {
        flex-direction: row;
        gap: 20px;
        text-align: center;
    }
    
    .header-left {
        flex: none;
        max-width: 70%;
        justify-content: flex-start;
    }
    
    .header-right {
        flex: none;
        max-width: 30%;
        align-items: flex-end;
    }
    
    .header-menu-fullwidth {
        position: relative;
    }
    
    .header-menu-fullwidth ul {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .header-menu-fullwidth a {
        font-size: 0.9rem;
        padding: 12px 0;
    }
}

@media (max-width: 768px) {
    .header-top {
        padding: 12px 0;
        position: relative;
    }
    
    .site-title {
        font-size: 1.2rem;
    }
    
    .header-phone-large a {
        font-size: 1.1rem;
    }
    
    .header-buttons-compact {
        gap: 6px;
    }
    
    .btn-small {
        padding: 5px 10px !important;
        font-size: 0.7rem !important;
    }
    
    /* Показываем гамбургер на мобильных */
    .menu-toggle {
        display: flex;
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
    }
    
    /* Скрываем обычное меню на мобильных */
    .header-menu-fullwidth {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        z-index: 1000;
        border-top: 2px solid var(--brand-yellow);
    }
    
    .header-menu-fullwidth.active {
        display: block;
    }
    
    .header-menu-fullwidth ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }
    
    .header-menu-fullwidth li {
        border-bottom: 1px solid rgba(90, 37, 6, 0.1);
    }
    
    .header-menu-fullwidth li:last-child {
        border-bottom: none;
    }
    
    .header-menu-fullwidth a {
        padding: 15px 10px;
        font-size: 1rem;
        color: var(--brand-brown);
        font-weight: 600;
        display: block;
        transition: all 0.3s ease;
    }
    
    .header-menu-fullwidth a:hover {
        background: var(--brand-yellow-3);
        color: var(--brand-brown);
        transform: translateX(5px);
    }
    
    .header-menu-fullwidth a:hover::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .header-left {
        flex-direction: row;
        gap: 10px;
        max-width: 60%;
    }
    
    .site-title {
        font-size: 1.1rem;
        text-align: left;
    }
    
    .header-right {
        max-width: 40%;
        align-items: flex-end;
    }
    
    .header-phone-large a {
        font-size: 1rem;
    }
    
    .header-buttons-compact {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    .btn-small {
        min-width: 90px !important;
        font-size: 0.65rem !important;
        padding: 4px 8px !important;
    }
}

@media (max-width: 480px) {
    .header-left {
        max-width: 50%;
    }
    
    .header-right {
        max-width: 50%;
    }
    
    .site-title {
        font-size: 1rem;
    }
    
    .header-phone-large a {
        font-size: 0.9rem;
    }
    
    .header-buttons-compact {
        gap: 4px;
    }
    
    .btn-small {
        min-width: 80px !important;
        font-size: 0.6rem !important;
        padding: 3px 6px !important;
    }
    
    .menu-toggle {
        right: 10px;
        width: 25px;
        height: 25px;
    }
    
    .menu-toggle span {
        width: 20px;
        height: 2px;
    }
}

/* ===== ФУТЕР ===== */
.footer-dark .container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-contact-buttons .btn {
    min-width: 160px;
    padding: 14px 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.footer-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .site-branding.container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-main-content {
        justify-content: center;
        width: 100%;
    }
    
    .header-buttons {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-content {
        padding: 30px 25px;
    }
    
    .service-item h3 {
        font-size: 1.3rem;
    }
    
    .service-item p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-left h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantage-content {
        padding: 25px 20px;
        gap: 12px;
    }
    
    .advantage-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .advantage-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .advantage-item h3 {
        font-size: 1.1rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }
    
    .guarantee-section .section-title {
        font-size: 2.2rem;
    }
    
    .guarantee-intro {
        font-size: 1.1rem;
    }
    
    .site-header.landing {
        padding: 10px 0;
    }
    
    .site-title {
        font-size: 1.2rem;
    }
    
    .header-phone a {
        font-size: 0.9rem;
    }
    
    .site-header .contact-buttons {
        gap: 6px;
    }
    
    .site-header .btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .landing-menu ul {
        gap: 12px;
    }
    
    .landing-menu a {
        font-size: 0.85rem;
    }
}

@media (max-width: 640px) {
    .header-main-content {
        flex-direction: column;
        gap: 8px;
    }
    
    .header-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .landing-menu ul {
        gap: 10px;
    }
    
    .landing-menu a {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-left h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    
    .services {
        padding: 60px 15px;
    }
    
    .service-content {
        padding: 25px 20px;
    }
    
    .service-item h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .advantages {
        padding: 60px 15px;
    }
    
    .advantage-content {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .advantage-item h3 {
        font-size: 1rem;
    }
    
    .site-header .contact-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .site-header .btn {
        min-width: 100px;
        padding: 8px 12px;
    }
}

/* ===== СТИЛИ ДЛЯ ГАЛЕРЕИ ===== */
.about-gallery {
    margin: 40px 0;
}

.gallery {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.gallery-item {
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    list-style: none !important;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-icon {
    line-height: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.gallery-icon img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.gallery-icon a {
    display: block;
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.gallery-icon a:focus {
    outline: none !important;
    box-shadow: none !important;
}

.gallery-icon a:hover img {
    transform: scale(1.05);
}

/* Адаптивность галереи */
@media (max-width: 1024px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px;
    }
    
    .gallery-icon img {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
    
    .gallery-icon img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    
    .gallery-icon img {
        height: 120px;
    }
}

@media (max-width: 360px) {
    .gallery {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }
    
    .gallery-icon img {
        height: 150px;
    }
}

/* Убираем стандартные стили WordPress */
.gallery br {
    display: none !important;
}

/* ===== КРАСИВЫЕ СТРЕЛКИ И КРЕСТИК ДЛЯ ЛАЙТБОКСА ===== */
#swipebox-overlay {
    background: rgba(0,0,0,0.95) !important;
    z-index: 9999 !important;
}

#swipebox-slider {
    background: rgba(0,0,0,0.9) !important;
}

#swipebox-bottom-bar,
#swipebox-top-bar {
    background: rgba(90, 37, 6, 0.9) !important;
    padding: 15px !important;
}

#swipebox-title {
    color: var(--brand-yellow) !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    text-align: center !important;
    padding: 10px !important;
}

/* Стили для навигационных кнопок */
#swipebox-prev,
#swipebox-next,
#swipebox-close {
    background: var(--brand-yellow) !important;
    color: var(--brand-brown) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    border: 2px solid var(--brand-brown) !important;
    box-shadow: 0 4px 12px rgba(90, 37, 6, 0.3) !important;
}

/* Иконки вместо текста */
#swipebox-prev::before,
#swipebox-next::before,
#swipebox-close::before {
    font-family: 'Arial', sans-serif !important;
    font-weight: bold !important;
    font-size: 24px !important;
}

#swipebox-prev::before {
    content: "‹" !important;
    margin-right: 2px !important;
}

#swipebox-next::before {
    content: "›" !important;
    margin-left: 2px !important;
}

#swipebox-close::before {
    content: "×" !important;
    font-size: 32px !important;
    line-height: 1 !important;
}

/* Ховер-эффекты */
#swipebox-prev:hover,
#swipebox-next:hover,
#swipebox-close:hover {
    background: var(--brand-yellow-2) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 16px rgba(90, 37, 6, 0.4) !important;
}

/* Позиционирование кнопок */
#swipebox-prev {
    left: 30px !important;
}

#swipebox-next {
    right: 30px !important;
}

#swipebox-close {
    right: 30px !important;
    top: 30px !important;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    #swipebox-prev,
    #swipebox-next,
    #swipebox-close {
        width: 40px !important;
        height: 40px !important;
    }
    
    #swipebox-prev::before,
    #swipebox-next::before {
        font-size: 20px !important;
    }
    
    #swipebox-close::before {
        font-size: 28px !important;
    }
    
    #swipebox-prev {
        left: 15px !important;
    }
    
    #swipebox-next {
        right: 15px !important;
    }
    
    #swipebox-close {
        right: 15px !important;
        top: 15px !important;
    }
}

/* Убираем синие обводки у всех изображений */
.scaled-image {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.scaled-image:focus,
.scaled-image:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Убираем обводки у всех кликабельных элементов */
img:focus,
a:focus img,
button:focus img {
    outline: none !important;
    box-shadow: none !important;
}

/* Конкретно для изображения в hero */
.van-illustration img,
.hero-right img,
.scaled-image {
    outline: none !important;
    border: none !important;
}

/* Убираем стандартные стили фокуса */
*:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* ===== МОБИЛЬНОЕ МЕНЮ С ГАМБУРГЕРОМ ===== */
/* ===== УБИРАЕМ SKIP TO CONTENT ===== */
.skip-link {
    display: none !important;
}

/* ===== МОБИЛЬНАЯ ШАПКА - ОБНОВЛЕННАЯ ===== */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 12px;
        padding: 15px 0;
        position: relative;
    }
    
    .header-left {
        flex: none;
        max-width: 100%;
        justify-content: center;
        text-align: center;
        order: 1;
    }
    
    .header-right {
        flex: none;
        max-width: 100%;
        align-items: center;
        order: 2;
        width: 100%;
    }
    
    .header-phone-large {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }
    
    /* Номер телефона - просто текст со ссылкой */
    .header-phone-large a {
        font-size: 1.4rem !important;
        font-weight: 900;
        color: var(--brand-brown) !important;
        text-decoration: none !important;
        display: inline-block;
        padding: 8px 0;
        background: none !important;
        border: none !important;
        border-radius: 0 !important;
        transition: color 0.3s ease;
    }
    
    .header-phone-large a:hover {
        color: var(--dark-blue) !important;
        transform: none !important;
        background: none !important;
    }
    
    .header-buttons-compact {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: center;
    }
    
    .btn-small {
        min-width: 220px !important;
        padding: 14px 20px !important;
        font-size: 1rem !important;
        font-weight: 700;
        border-radius: 25px;
        justify-content: center;
    }
    
    .btn-small svg {
        width: 20px !important;
        height: 20px !important;
        margin-right: 8px !important;
    }
    
    /* Гамбургер - только обводка, без фона */
    .menu-toggle {
        position: absolute;
        top: 20px;
        right: 15px;
        transform: none;
        width: 45px;
        height: 45px;
        background: transparent !important;
        border: 2px solid var(--brand-brown);
    }
    
    .menu-toggle span {
        background: var(--brand-brown);
        width: 20px;
        height: 2px;
    }
    
    .menu-toggle:hover {
        background: var(--brand-yellow) !important;
        border-color: var(--brand-brown);
    }
    
    .menu-toggle.active {
        background: var(--brand-yellow) !important;
        border-color: var(--brand-brown);
    }
    
    .menu-toggle.active span {
        background: var(--brand-brown);
    }
    
    /* Адаптация для очень маленьких экранов */
    @media (max-width: 360px) {
        .header-phone-large a {
            font-size: 1.2rem !important;
        }
        
        .btn-small {
            min-width: 200px !important;
            padding: 12px 18px !important;
            font-size: 0.9rem !important;
        }
        
        .menu-toggle {
            width: 40px;
            height: 40px;
            top: 15px;
        }
    }
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
@media (max-width: 768px) {
    .header-menu-fullwidth {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        z-index: 1000;
        padding: 80px 20px 20px;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .header-menu-fullwidth.active {
        display: block;
        transform: translateX(0);
    }
    
    .header-menu-fullwidth ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    
    .header-menu-fullwidth li {
        border-bottom: 1px solid rgba(90, 37, 6, 0.1);
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    
    .header-menu-fullwidth.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .header-menu-fullwidth li:nth-child(1) { transition-delay: 0.1s; }
    .header-menu-fullwidth li:nth-child(2) { transition-delay: 0.15s; }
    .header-menu-fullwidth li:nth-child(3) { transition-delay: 0.2s; }
    .header-menu-fullwidth li:nth-child(4) { transition-delay: 0.25s; }
    .header-menu-fullwidth li:nth-child(5) { transition-delay: 0.3s; }
    .header-menu-fullwidth li:nth-child(6) { transition-delay: 0.35s; }
    
    .header-menu-fullwidth li:last-child {
        border-bottom: none;
    }
    
    .header-menu-fullwidth a {
        padding: 20px 15px;
        font-size: 1.2rem;
        color: var(--brand-brown);
        font-weight: 700;
        display: block;
        transition: all 0.3s ease;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .header-menu-fullwidth a:hover {
        background: var(--brand-yellow);
        color: var(--brand-brown);
        transform: translateX(10px);
    }
    
    /* Специальный стиль для телефона в меню */
    .header-menu-fullwidth .mobile-phone {
        background: var(--brand-yellow) !important;
        color: var(--brand-brown) !important;
        font-weight: 800 !important;
        margin-top: 30px !important;
        border-radius: 25px !important;
        font-size: 1.3rem !important;
        padding: 15px 20px !important;
        border: 2px solid var(--brand-brown);
    }
    
    .header-menu-fullwidth .mobile-phone:hover {
        background: var(--brand-yellow-2) !important;
        transform: scale(1.05) !important;
    }
}

/* Улучшаем видимость гамбургера на фоне */
@media (max-width: 768px) {
    .site-header.landing {
        padding: 10px 0;
        background: var(--white);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        position: relative;
    }
    
    /* Делаем шапку более компактной */
    .header-top {
        padding: 10px 0;
    }
    
    .site-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
}

/* Анимация гамбургера */
.menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--brand-brown);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Убираем стандартный skip-link */
.screen-reader-text,
.skip-link {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
}

/* ===== FIX DUPLICATE MENU ===== */
/* Hide the duplicate menu in content area */
main nav:not(.header-menu-fullwidth),
main .header-menu-fullwidth,
.landing nav:not(.header-menu-fullwidth),
.landing > nav,
.landing .container > nav:not(.header-menu-fullwidth) {
    display: none !important;
    visibility: hidden !important;
}

/* Ensure only header menu is visible */
#masthead .header-menu-fullwidth {
    display: block !important;
    visibility: visible !important;
}

/* Hide mobile elements on desktop */
@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
    
    .header-menu-fullwidth {
        display: block !important;
        background: linear-gradient(135deg, var(--brand-yellow-3) 0%, #fff8e1 100%);
        border-top: 1px solid rgba(90, 37, 6, 0.1);
        border-bottom: 1px solid rgba(90, 37, 6, 0.1);
    }
    
    .header-menu-fullwidth ul {
        display: flex !important;
        justify-content: center;
        gap: 25px;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    
    .header-menu-fullwidth li {
        margin: 0;
    }
    
    .header-menu-fullwidth a {
        color: var(--brand-brown);
        text-decoration: none;
        font-weight: 700;
        font-size: 0.95rem;
        padding: 15px 0;
        display: block;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .header-menu-fullwidth a:hover {
        color: var(--brand-brown-2);
        transform: translateY(-1px);
    }
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    
    .header-menu-fullwidth {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        z-index: 1000;
        padding: 80px 20px 40px;
        overflow-y: auto;
    }
    
    .header-menu-fullwidth.active {
        display: block;
    }
    
    .header-menu-fullwidth ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
        list-style: none;
    }
    
    .header-menu-fullwidth li {
        border-bottom: 1px solid rgba(90, 37, 6, 0.1);
    }
    
    .header-menu-fullwidth a {
        padding: 18px 15px;
        font-size: 1.2rem;
        color: var(--brand-brown);
        font-weight: 700;
        display: block;
        text-align: center;
        text-transform: uppercase;
    }
    
    .menu-messengers {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }
    
    .menu-messengers .btn {
        min-width: 100%;
        padding: 16px 20px;
        font-size: 1.1rem;
        justify-content: center;
    }
}

/* Hamburger menu button */
.menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: 2px solid var(--brand-brown);
        border-radius: 8px;
        cursor: pointer;
        padding: 0;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }
    
    .menu-toggle span {
        display: block;
        width: 24px;
        height: 3px;
        background: var(--brand-brown);
        margin: 3px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
        transform-origin: center;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Hide skip link */
.skip-link {
    display: none !important;
}

/* ===== MOBILE-ONLY MENU ===== */
.menu-mobile {
    display: none; /* По умолчанию скрыто на всех устройствах */
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

/* Показываем только на мобильных устройствах */
@media (max-width: 768px) {
    .menu-mobile {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Дополнительные стили для мобильного меню */
.menu-mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    padding: 80px 20px 40px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-mobile.active {
    transform: translateX(0);
}

.menu-mobile ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}

.menu-mobile li {
    border-bottom: 1px solid rgba(90, 37, 6, 0.1);
}

.menu-mobile li:last-child {
    border-bottom: none;
}

.menu-mobile a {
    padding: 18px 15px;
    font-size: 1.2rem;
    color: var(--brand-brown);
    font-weight: 700;
    display: block;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.menu-mobile a:hover {
    background: var(--brand-yellow);
    color: var(--brand-brown);
    transform: translateX(10px);
}

/* Специальные стили для элементов мобильного меню */
.menu-mobile .mobile-phone {
    background: var(--brand-yellow);
    color: var(--brand-brown) !important;
    font-weight: 800;
    margin: 20px 0;
    border-radius: 25px;
    font-size: 1.3rem;
    padding: 15px 20px;
    border: 2px solid var(--brand-brown);
}

.menu-mobile .mobile-phone:hover {
    background: var(--brand-yellow-2);
    transform: scale(1.05) !important;
}

.menu-mobile .menu-messengers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
    padding: 0 20px;
}

.menu-mobile .menu-messengers .btn {
    min-width: 100%;
    padding: 16px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 25px;
    justify-content: center;
}

/* Анимация появления пунктов меню */
.menu-mobile li {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.menu-mobile.active li {
    opacity: 1;
    transform: translateY(0);
}

.menu-mobile li:nth-child(1) { transition-delay: 0.1s; }
.menu-mobile li:nth-child(2) { transition-delay: 0.15s; }
.menu-mobile li:nth-child(3) { transition-delay: 0.2s; }
.menu-mobile li:nth-child(4) { transition-delay: 0.25s; }
.menu-mobile li:nth-child(5) { transition-delay: 0.3s; }
.menu-mobile li:nth-child(6) { transition-delay: 0.35s; }
.menu-mobile li:nth-child(7) { transition-delay: 0.4s; }

@media (max-width: 768px) {
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}