/* ==========================================
   CSS Variables & Theming
   ========================================== */
:root, [data-theme="default"] {
    --bg-main: #FAF7F2;
    --bg-section: #FFFFFF;
    --text-main: #332B26;
    --text-muted: #6B625C;
    --accent-color: #B28260;
    --accent-hover: #966A4B;
    --card-light-bg: #F4ECE3;
    --card-dark-bg: #1B2B24;
    --card-dark-text: #F3EFE9;
    --border-color: #E2D5C8;
}

[data-theme="dark"] {
    --bg-main: #121212;
    --bg-section: #1E1E1E;
    --text-main: #F4ECE3;
    --text-muted: #A0A0A0;
    --accent-color: #D4A373;
    --accent-hover: #E6B585;
    --card-light-bg: #2C2C2C;
    --card-dark-bg: #000000;
    --card-dark-text: #FFFFFF;
    --border-color: #444444;
}

[data-theme="ocean"] {
    --bg-main: #F0F4F8;
    --bg-section: #FFFFFF;
    --text-main: #102A43;
    --text-muted: #486581;
    --accent-color: #243B53;
    --accent-hover: #102A43;
    --card-light-bg: #D9E2EC;
    --card-dark-bg: #102A43;
    --card-dark-text: #F0F4F8;
    --border-color: #BCCCDC;
}

/* ==========================================
   Base Styles & Reset
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, .logo-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

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


/* ==========================================
   Бургер-меню
   ========================================== */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 50; /* Должен быть всегда поверх меню */
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s ease;
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
    padding: 10px 24px;
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--bg-main);
}

/* ==========================================
   Intro Wrapper & Header Adjustment
   ========================================== */
.intro-wrapper {
    position: relative;
    background-image: url('hero-bg.jpg');
    background-size: cover;
    background-position: 45% center;
}

/* ==========================================
   Header
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background-color: color-mix(in srgb, var(--bg-main) 80%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04); 
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    transition: padding 0.3s ease;
}

.header.scrolled .header-inner {
    padding-top: 15px;
    padding-bottom: 15px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 20px;
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav a:hover {
    color: var(--accent-color);
}

.header.scrolled {
    padding-top: 15px;
    padding-bottom: 15px;
    
    background-color: color-mix(in srgb, var(--bg-main) 45%, transparent);
    
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02); 
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    background-image: none;
    padding-top: 120px;
    text-align: left;
}

.hero-container {
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding-top: 50px;
    position: relative;
    z-index: 2;
    justify-content: flex-start;
}

.hero-content {
    flex: 0 1 50%;
    max-width: 50%;
    box-sizing: border-box;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 span {
    font-style: italic;
    color: var(--accent-color);
}

.hero p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.svetlana-photo {
    max-width: 100%;
    height: auto;
    display: block;
}

.image-placeholder {
    width: 400px;
    height: 500px;
    background-color: var(--card-light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border-radius: 8px;
}

.hero-tags {
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 500;
}

/* ==========================================
   Sections General
   ========================================== */
section {
    padding: 80px 20px;
    text-align: center;
}

section h2 {
    font-size: 36px;
    margin-bottom: 50px;
}

main section {
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
}

main section h2 {
    font-size: 50px;
    margin-bottom: 50px;
}

/* ==========================================
   Grids & Icons
   ========================================== */
.grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-box .icon {
    font-size: 32px;
    width: 70px;
    height: 70px;
    background-color: var(--card-light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.icon-shape {
    width: 60px;
    height: 60px;
    background-color: var(--card-light-bg);
    margin-bottom: 15px;
}

.shape-1 { border-radius: 50% 50% 0 0; }
.shape-2 { border-radius: 50%; }
.shape-3 { border-radius: 10px; }
.shape-4 { transform: rotate(45deg); }
.shape-5 { border-bottom: 2px solid var(--accent-color); background: transparent;}

.icon-box h3 {
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 8px;
}

.icon-box p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==========================================
   Pricing Format
   ========================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1150px;
    margin: 0 auto;
    align-items: stretch;
}

.price-card {
    padding: 50px 40px;
    border-radius: 8px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.light-card {
    background-color: var(--card-light-bg);
}

.dark-card {
    background-color: var(--card-dark-bg);
    color: var(--card-dark-text);
}

.price-card.dark-card {
    position: relative;
    z-index: 2;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.08);
}

.card-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid currentColor;
}

.price-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.price-card ul {
    margin-bottom: 40px;
}

.price-card li {
    font-size: 14px;
    margin-bottom: 10px;
}

.price {
    font-size: 32px;
    font-family: 'Cormorant Garamond', serif;
}

.price-card.extra-info-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    background-color: #E4ECE8;
    color: #1B2B24;            
    
    position: relative;
    left: -45px; 
    width: calc(100% + 45px);
    z-index: 1;  
    
    padding-left: 55px;
    border-top-left-radius: 0; 
    border-bottom-left-radius: 0;
}

.price-card.extra-info-card h3 {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.client-list {
    margin-bottom: 0;
}

.client-list li {
    font-size: 14px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
}

.client-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #1B2B24;
    font-weight: bold;
}

/* ==========================================
   Philosophy
   ========================================== */
.philosophy {
    background-color: var(--card-light-bg);
    text-align: left;
}

.philosophy-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.philosophy-text h2 {
    font-size: 42px;
    margin-bottom: 0;
}

.philosophy-text span {
    color: var(--accent-color);
}

.philosophy-subtext {
    border-left: 2px solid var(--border-color);
    padding-left: 30px;
}

.philosophy-subtext p {
    font-size: 14px;
    margin-bottom: 10px;
}

/* ==========================================
   Footer
   ========================================== */
.footer-content {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
    padding-bottom: 50px;
}

.footer-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.footer-cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
    text-align: left;
}

.footer-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-muted);
}


/* ==========================================
   Target Audience Section
   ========================================== */
.target-audience {
    text-align: center;
}

.target-audience h2 {
    margin-bottom: 40px;
}

.audience-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Текстовая часть */
.audience-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    font-size: 16px;
}

.audience-lead {
    font-size: 20px;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.audience-list {
    margin: 20px 0;
    padding-left: 20px;
}

.audience-list li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 15px;
}

.audience-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.audience-summary {
    font-weight: 500;
    margin-top: 20px;
}

/* Сетка иконок из макета */
.audience-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
    margin-top: 20px;
}

.audience-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 110px;
}

.audience-icon {
    width: 70px;
    height: 70px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--accent-color);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.audience-icon svg {
    width: 28px;
    height: 28px;
}

.audience-item:hover .audience-icon {
    transform: translateY(-5px);
    background-color: var(--card-light-bg);
}

.audience-item span {
    font-size: 11px;
    text-align: center;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    line-height: 1.3;
}

/* ==========================================
   Media Queries (Responsive)
   ========================================== */
@media (max-width: 992px) {
    .header-inner {
        display: flex;
        flex-direction: row; 
        justify-content: space-between; 
        align-items: center;
        gap: 12px;
    }

    .header .header-btn {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: fit-content;
        
        padding: 8px 16px;   
        font-size: 11px;
    }

    .burger-menu {
        display: flex;
        order: 2;
    }

    .nav {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-section);
        flex-direction: column;
        align-items: center;
        padding: 0;
        max-height: 0;
        overflow: hidden; 
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        transition: max-height 0.4s ease, padding 0.4s ease;
        z-index: 40;
        gap: 0;
    }

    .nav.active {
        max-height: 400px;
        padding: 20px 0;
    }

    .nav a {
        margin: 15px 0;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    .grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .philosophy-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .philosophy-subtext {
        border-left: none;
        border-top: 2px solid var(--border-color);
        padding-left: 0;
        padding-top: 20px;
    }

    .audience-grid {
        gap: 25px 15px;
    }
    .audience-item {
        width: 28%;
    }
}

@media (max-width: 768px) {
    .hero-container {
        min-height: 520px; 
    }

    .pricing-grid, .footer-content {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    
    .grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 45px;
    }
    
    .image-placeholder {
        width: 100%;
        max-width: 400px;
    }

    .svetlana-photo {
        max-width: 100%; 
    }

    .price-card.dark-card {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    .price-card.extra-info-card {
        left: 0; 
        top: -45px;
        width: 100%;
        
        margin-bottom: -45px; 
        
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        
        padding-left: 40px; 
        padding-top: 65px;  
    }
}

@media (max-width: 600px) {
    .hero-container {
        min-height: 550px; 
    }

    .intro-wrapper {
        background-position: 57% center;
    }
    
    .grid-6, .grid-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .hero {
        padding-top: 70px; 
        text-align: left;
    }

    .hero-container {
        align-items: flex-start;
        padding-left: 0px;      
        padding-right: 10px;
    }

    .hero h1 {
        font-size: 27px;
        line-height: 1.15;
        margin-bottom: 15px;
    }

    .hero-tags {
        font-size: 11.5px;
        margin-top: 15px;
    }

    .audience-grid {
        gap: 20px 10px;
    }
    .audience-item {
        width: 45%;
    }
    .audience-icon {
        width: 60px;
        height: 60px;
    }
    .audience-icon svg {
        width: 24px;
        height: 24px;
    }

    .logo-name {
        line-height: 1.0;
    }

    .logo-sub {
        line-height: 1.2;
    }
}
