/* ============================================
   КРАСИВА - Студия эстетики
   Обновленные стили - больше постельных оттенков
   ============================================ */

:root {
    --color-bg: #faf6f1;
    --color-bg-cream: #fdf9f3;
    --color-bg-linen: #f5ebe0;
    --color-bg-parchment: #ede4d8;
    --color-bg-sand: #e6d5c3;
    --color-bg-light: #ffffff;
    --color-primary: #6b5b4f;
    --color-primary-dark: #4a3f35;
    --color-primary-light: #8a7b6b;
    --color-primary-soft: #a89a8c;
    --color-accent: #d4c4b0;
    --color-accent-light: #f5ebe0;
    --color-accent-warm: #e8ddd0;
    --color-accent-deep: #c9b8a3;
    --color-text: #4a3f35;
    --color-text-muted: #7a6e62;
    --color-text-light: #a89a8c;
    --color-text-soft: #b8a99a;
    --color-border: #e8ddd0;
    --color-border-light: #f0e6d8;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 2px 12px rgba(107, 91, 79, 0.08);
    --shadow-hover: 0 8px 24px rgba(107, 91, 79, 0.12);
    --shadow-soft: 0 4px 16px rgba(107, 91, 79, 0.06);
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-cream);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ШАПКА --- */
.header {
    background: linear-gradient(135deg, #f5ebe0 0%, #e8ddd0 50%, #dccfb8 100%);
    padding: 32px 20px 28px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.logo-subtitle {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 6px;
    font-weight: 500;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 400;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--color-primary);
    line-height: 1.2;
}

.logo-master {
    font-size: 14px;
    color: var(--color-primary-light);
    margin-top: 6px;
    font-style: italic;
}

/* --- НАВИГАЦИЯ --- */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
}

.nav-link {
    padding: 10px 22px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    transition: var(--transition);
    white-space: nowrap;
}

    .nav-link:hover {
        background: var(--color-accent-light);
        color: var(--color-primary-dark);
    }

    .nav-link.active {
        background: var(--color-primary);
        color: #fff;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(107, 91, 79, 0.2);
        transform: scale(1.03);
    }

/* --- КНОПКИ --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

    .btn-primary:hover {
        background: var(--color-primary-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow-hover);
    }

.btn-secondary {
    background: var(--color-accent-light);
    color: var(--color-primary);
}

    .btn-secondary:hover {
        background: var(--color-accent);
        transform: translateY(-2px);
    }

/* КНОПКА ЗАПИСАТЬСЯ под услугами - выделена */
.btn-small {
    padding: 10px 22px;
    font-size: 13px;
    margin-top: 16px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(107, 91, 79, 0.2);
    transition: var(--transition);
}

    .btn-small:hover {
        background: var(--color-primary-dark);
        transform: translateY(-1px);
        box-shadow: 0 4px 14px rgba(107, 91, 79, 0.3);
    }

.btn-large {
    padding: 16px 36px;
    font-size: 15px;
}

/* --- ГЕРОЙ-БЛОК --- */
.hero {
    background: linear-gradient(135deg, #f5ebe0 0%, #e8ddd0 40%, #dccfb8 100%);
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
        pointer-events: none;
    }

/* HERO контент - выделен фоном, текст не теряется */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(107, 91, 79, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 400;
    color: var(--color-primary-dark);
    margin-bottom: 18px;
    line-height: 1.3;
}

.hero-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-primary-light);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- СЕКЦИИ --- */
.section {
    padding: 70px 0;
}

    .section:nth-child(even) {
        background: var(--color-bg-linen);
    }

    .section:nth-child(odd) {
        background: var(--color-bg-cream);
    }

.services-section {
    background: linear-gradient(180deg, var(--color-bg-parchment) 0%, var(--color-bg-linen) 100%);
}

.reviews-section {
    background: linear-gradient(180deg, var(--color-bg-linen) 0%, var(--color-bg-sand) 100%);
}

.contacts-section {
    background: linear-gradient(180deg, var(--color-bg-sand) 0%, var(--color-bg-parchment) 100%);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
}

/* --- О МАСТЕРЕ --- */
.about-card {
    background: var(--color-bg-light);
    border-radius: var(--radius);
    padding: 36px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-border-light);
}

.about-photo {
    flex-shrink: 0;
    width: 190px;
    height: 240px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow);
}

    .about-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

    .about-photo:hover img {
        transform: scale(1.03);
    }

.about-name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 14px;
}

.about-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent-warm));
    color: var(--color-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* --- ПРЕИМУЩЕСТВА --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: linear-gradient(135deg, var(--color-bg-light), var(--color-bg-linen));
    padding: 32px 24px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--color-border-light);
}

    .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-hover);
    }

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.feature-text {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* --- ВИДЕО В ГАЛЕРЕЕ --- */
.gallery-grid.video-grid {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    grid-template-columns: none !important;
}

.gallery-grid.video-grid .gallery-item {
    width: 280px !important;
    height: 500px !important;
    aspect-ratio: auto !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 12px rgba(107, 91, 79, 0.08) !important;
    flex-shrink: 0 !important;
    background: transparent !important;
}

.gallery-item video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

@media (max-width: 768px) {
    .gallery-grid.video-grid {
        gap: 16px !important;
    }
    .gallery-grid.video-grid .gallery-item {
        width: 100% !important;
        max-width: 320px !important;
        height: 520px !important;
    }
}
/* --- УСЛУГИ --- */
.promo-banner {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 28px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.promo-banner-sub {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 6px;
}

.promo-banner-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 4px;
}

.promo-banner-price {
    font-size: 15px;
    opacity: 0.85;
}

.service-card {
    background: var(--color-bg-light);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid var(--color-border-light);
}

    .service-card:hover {
        box-shadow: var(--shadow-hover);
        transform: translateY(-3px);
    }

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 8px;
}

.service-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-primary);
}

.service-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

.service-time {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 8px;
}

/* --- ОТЗЫВЫ --- */
.review-btn {
    display: block;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    text-align: center;
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 28px;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

    .review-btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-hover);
    }

.review-card {
    background: var(--color-bg-light);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--color-border-light);
}

    .review-card:hover {
        box-shadow: var(--shadow-hover);
        transform: translateY(-2px);
    }

.review-quote {
    font-size: 52px;
    color: var(--color-accent);
    position: absolute;
    top: 10px;
    right: 22px;
    line-height: 1;
    font-family: Georgia, serif;
    opacity: 0.5;
}

.review-text {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.review-date {
    font-size: 12px;
    color: var(--color-text-light);
    text-align: right;
}

/* --- КОНТАКТЫ --- */
.contact-card {
    background: var(--color-bg-light);
    border-radius: var(--radius);
    padding: 36px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    border: 1px solid var(--color-border-light);
}

.contact-label {
    font-size: 12px;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.contact-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.contact-note {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 8px;
}

.contact-hint {
    font-size: 13px;
    color: var(--color-text-light);
    font-style: italic;
    margin-top: 12px;
}

.social-card {
    background: var(--color-bg-light);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 20px;
    border: 1px solid var(--color-border-light);
}

.social-card-title {
    font-size: 14px;
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent-warm));
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    transition: var(--transition);
}

    .social-link:hover {
        transform: translateX(6px);
        box-shadow: var(--shadow);
    }

.social-icon {
    font-size: 26px;
}

.social-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-primary);
}

.social-username {
    font-size: 13px;
    color: var(--color-text-light);
}

.contact-message {
    background: var(--color-bg-light);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    border: 1px solid var(--color-border-light);
}

.contact-message-text {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* --- ПРИЗЫВ К ДЕЙСТВИЮ --- */
.cta-section {
    background: linear-gradient(135deg, var(--color-bg-parchment), var(--color-bg-sand));
    padding: 60px 0 80px;
}

.cta-box {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: var(--radius);
    padding: 52px 36px;
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow-hover);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 14px;
}

.cta-text {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* --- ФУТЕР --- */
.footer {
    background: linear-gradient(135deg, #f5ebe0 0%, #e8ddd0 50%, #dccfb8 100%);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 22px;
    letter-spacing: 4px;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.footer-text {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 16px;
}

.footer-social {
    font-size: 24px;
    transition: var(--transition);
    display: inline-block;
}

    .footer-social:hover {
        transform: scale(1.15) translateY(-2px);
    }

.footer-copy {
    font-size: 12px;
    color: var(--color-text-soft);
    opacity: 0.8;
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 768px) {
    .logo-title {
        font-size: 30px;
        letter-spacing: 5px;
    }

    .nav-container {
        gap: 4px;
        padding: 10px 12px;
    }

    .nav-link {
        padding: 8px 14px;
        font-size: 13px;
    }

    .hero {
        min-height: 400px;
        padding: 60px 20px;
    }

    .hero-content {
        padding: 32px 24px;
        margin: 0 16px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .about-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-photo {
        width: 170px;
        height: 210px;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .feature-card {
        padding: 24px 16px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .gallery-item {
        aspect-ratio: 4 / 3;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .service-header {
        flex-direction: column;
        gap: 6px;
    }

    .service-price {
        font-size: 18px;
    }

    .contact-card,
    .social-card,
    .contact-message {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-photo {
        width: 150px;
        height: 190px;
    }

    .cta-box {
        padding: 36px 24px;
    }

    .cta-title {
        font-size: 24px;
    }
   /* --- КАРТА --- */
.map-container {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(107, 91, 79, 0.08);
}

/* --- КНОПКА НАВЕРХ --- */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: #6b5b4f;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(107, 91, 79, 0.25);
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: #4a3f35;
    transform: translateY(-2px);
}

/* --- МОБИЛЬНАЯ КНОПКА ЗАПИСАТЬСЯ --- */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 16px;
    width: 33.333%;
    background: #6b5b4f;
    color: #fff;
    text-align: center;
    padding: 14px 10px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 24px;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(107, 91, 79, 0.3);
    transition: all 0.3s ease;
}

.mobile-cta:hover {
    background: #4a3f35;
}

@media (max-width: 768px) {
    .mobile-cta {
        display: block;
    }
}
