/* ===== ПЕРЕМЕННЫЕ ===== */
:root {
    --chocolate: #3E2C23;
    --chocolate-dark: #2C1D16;
    --chocolate-light: #6B4F3F;
    --nude: #F7EFE6;
    --nude-light: #FDF9F5;
    --nude-dark: #E7D7C8;
    --white: #FFFFFF;
    --gold: #C9A96E;
    --gold-dark: #B58B4A;
    --gold-light: #DEC28E;
    --gold-pale: #F3E9DE;
    --red: #D9534F;
    --green: #5CB85C;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
    --shadow-gold: 0 8px 24px rgba(201, 169, 110, 0.25);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
}

/* ===== СБРОС ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--nude-light);
    color: var(--chocolate);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
    min-height: 100vh;
}

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

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

/* ===== ТИПОГРАФИКА ===== */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--chocolate);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }

.section-title {
    text-align: center;
    margin-bottom: 12px;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--chocolate-light);
    font-size: 1.05rem;
    margin-bottom: 48px;
    font-weight: 300;
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all var(--transition);
    white-space: nowrap;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-gold);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(201, 169, 110, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
    border: 2px solid var(--gold);
}

.btn-gold:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
}

.btn-outline {
    background: transparent;
    color: var(--chocolate);
    border: 2px solid var(--nude-dark);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
    background: var(--gold-pale);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

/* ===== ШАПКА ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(253, 249, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    flex-wrap: wrap;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--chocolate);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.logo i {
    color: var(--gold);
    font-size: 1.4rem;
}

.logo-accent {
    color: var(--gold);
}

.nav-list {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-list a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--chocolate-light);
    position: relative;
    padding: 4px 0;
    letter-spacing: 0.2px;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
    border-radius: 1px;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--chocolate);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--chocolate);
}

.header-phone i {
    color: var(--gold);
    font-size: 1rem;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--chocolate);
    border-radius: 2px;
    transition: all var(--transition);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== ГЕРОЙ ===== */
.hero {
    padding: 60px 0 80px;
    background: linear-gradient(170deg, var(--nude-light) 0%, var(--nude) 50%, var(--gold-pale) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
}

.hero-title {
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-text {
    font-size: 1.05rem;
    color: var(--chocolate-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--chocolate);
}

.hero-features i {
    color: var(--gold);
    font-size: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 40% 60% 45% 55% / 55% 45% 55% 45%;
    box-shadow: var(--shadow-lg);
}

/* ===== УСЛУГИ ===== */
.services {
    padding: 80px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--nude-light);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid transparent;
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
}

.service-card:hover,
.service-card:focus-within {
    background: var(--white);
    border-color: var(--gold-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--gold-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--gold-dark);
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gold);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.service-name {
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--chocolate-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ===== ЦЕНЫ ===== */
.pricing {
    padding: 80px 0;
    background: var(--nude);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.pricing-card:hover {
    box-shadow: var(--shadow-md);
}

.pricing-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gold-pale);
}

.pricing-name i {
    color: var(--gold);
    font-size: 1.2rem;
}

.pricing-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.9rem;
}

.pricing-length {
    color: var(--chocolate-light);
}

.pricing-value {
    font-weight: 600;
    color: var(--chocolate);
    font-family: var(--font-serif);
    font-size: 1rem;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.advantages {
    padding: 80px 0;
    background: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.advantage-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.advantage-card:hover {
    border-color: var(--nude-dark);
    background: var(--nude-light);
}

.advantage-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--gold-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--gold-dark);
}

.advantage-card h3 {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.advantage-card p {
    font-size: 0.88rem;
    color: var(--chocolate-light);
    line-height: 1.5;
}

/* ===== ГАЛЕРЕЯ ===== */
.gallery {
    padding: 80px 0;
    background: var(--nude-light);
}

.gallery-swiper {
    padding: 20px 0 50px;
    max-width: 900px;
}

.gallery-swiper .swiper-slide {
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
    max-height: 450px;
}

.gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.gallery-swiper .swiper-slide:hover img {
    transform: scale(1.03);
}

.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next {
    color: var(--gold);
    background: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.gallery-swiper .swiper-button-prev::after,
.gallery-swiper .swiper-button-next::after {
    font-size: 1rem;
    font-weight: 700;
}

.gallery-swiper .swiper-pagination-bullet-active {
    background: var(--gold);
}

.gallery-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--chocolate-light);
}

.gallery-empty i {
    font-size: 3rem;
    color: var(--nude-dark);
    margin-bottom: 16px;
    display: block;
}

/* ===== FAQ ===== */
.faq {
    padding: 80px 0;
    background: var(--white);
}

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

.faq-item {
    border-bottom: 1px solid var(--nude-dark);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--chocolate);
    text-align: left;
    transition: color var(--transition);
    touch-action: manipulation;
}

.faq-question:hover {
    color: var(--gold-dark);
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--gold);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 16px;
}

.faq-answer p {
    padding: 0 8px;
    color: var(--chocolate-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== КОНТАКТЫ ===== */
.contacts {
    padding: 80px 0;
    background: var(--nude);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--chocolate);
}

.contact-item i {
    color: var(--gold);
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

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

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--chocolate);
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.contacts-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ===== ФУТЕР ===== */
.footer {
    background: var(--chocolate);
    color: var(--nude-dark);
    text-align: center;
    padding: 28px 0;
    font-size: 0.9rem;
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal[hidden] {
    display: none;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 20, 10, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--nude-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--chocolate-light);
    transition: all var(--transition);
    touch-action: manipulation;
}

.modal-close:hover {
    background: var(--nude-dark);
    color: var(--chocolate);
}

.modal-content h3 {
    margin-bottom: 24px;
    text-align: center;
}

/* ===== ФОРМА ===== */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--chocolate);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--nude-dark);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--chocolate);
    background: var(--nude-light);
    transition: all var(--transition);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
    background: var(--white);
}

.form-group input.error {
    border-color: var(--red);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B4F3F' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

/* ===== ЛАЙТБОКС ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all var(--transition);
    touch-action: manipulation;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

#lightboxImg {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    position: relative;
    z-index: 1;
}

/* ===== УВЕДОМЛЕНИЕ ===== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 4000;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.4s ease;
    max-width: 400px;
}

.toast[hidden] {
    display: none;
}

.toast.success {
    background: var(--green);
}

.toast.error {
    background: var(--red);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-features {
        justify-content: center;
    }
    .hero-image img {
        max-width: 320px;
        margin: 0 auto;
    }
    .contacts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        transition: right var(--transition);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
    }
    .nav-list.active {
        right: 0;
    }
    .header-phone .phone-text {
        display: none;
    }
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }
    .advantages-grid {
        grid-template-columns: 1fr 1fr;
    }
    .modal-content {
        padding: 28px 20px;
        border-radius: var(--radius-lg);
    }
    .toast {
        left: 20px;
        right: 20px;
        bottom: 20px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .header-inner {
        gap: 12px;
    }
    .logo {
        font-size: 1.3rem;
    }
    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    .hero {
        padding: 40px 0 50px;
    }
    .hero-features {
        gap: 10px;
    }
    .hero-features span {
        font-size: 0.8rem;
    }
    .services-grid,
    .pricing-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    .section-subtitle {
        margin-bottom: 32px;
    }
    .contacts-grid {
        gap: 24px;
    }
    .gallery-swiper .swiper-slide {
        max-height: 350px;
    }
}
/* Переключатель языков */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lang-link {
    padding: 4px 8px;
    color: var(--chocolate-light);
    text-decoration: none;
    border-radius: 4px;
    transition: all var(--transition);
}

.lang-link:hover {
    color: var(--gold-dark);
}

.lang-link.active {
    color: var(--gold);
    background: var(--gold-pale);
}

.lang-separator {
    color: var(--nude-dark);
    font-weight: 300;
}