*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #2b2b2b;
    background-color: #fcfbf9;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: 300;
    color: #1a1a1a;
    margin-top: 0;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 25px 60px;
    background-color: rgba(252, 251, 249, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eeebe4;
}

.nav-title {
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #333333;
    font-weight: 500;
    cursor: pointer;
}

.nav-links {
    font-size: 14px;
    letter-spacing: 1px;
    color: #666666;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #666666;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 2px;
    border-bottom: none !important;
}

.nav-links a.active, .nav-links a:hover {
    color: #1a1a1a;
    border-bottom: none !important;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.narrow-container {
    max-width: 750px;
}

.text-center {
    text-align: center;
}

@keyframes slowFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Единый размер для ВСЕХ картинок на сайте */
.uniform-img {
    width: 340px;
    height: 450px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.hero {
    padding: 80px 0;
    background-color: #fcfbf9;
    border-bottom: 1px solid #eeebe4;
}

.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text-col {
    flex: 1.1;
    animation: slowFadeIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-img-col {
    flex: 0.9;
    opacity: 0;
    animation: slowFadeIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    display: flex;
    justify-content: flex-end; /* прижимает картинку вправо */
}

.subtitle {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #7a6b5d;
    display: block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 38px;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 300;
    color: #1f1d1a;
}

.hero-subtext {
    font-size: 18px;
    color: #555555;
    margin-bottom: 35px;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    border-radius: 4px;
}

.primary-btn {
    background-color: #2b2b2b;
    color: #ffffff;
    border: 1px solid #2b2b2b;
    transition: background-color 0.5s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.primary-btn:hover {
    background-color: #4a453f;
    transform: translateY(-2px);
}

.section {
    padding: 100px 0;
    border-bottom: 1px solid #eeebe4;
    background-color: #fcfbf9;
}

.section-white {
    background-color: #f7f4ef;
}

.section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 300;
}

.situations-list, .come-when-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.situations-list li, .come-when-list li {
    font-size: 18px;
    margin-bottom: 18px;
    color: #444444;
}

.lead-text {
    font-size: 20px;
    color: #2b2b2b;
    margin-bottom: 25px;
}

.highlight-quote {
    font-size: 20px;
    font-style: italic;
    color: #524436;
    margin-top: 30px;
    border-left: 2px solid #b5a493;
    padding-left: 20px;
}

.bold-paragraph {
    font-weight: 600;
    color: #1a1a1a;
}

.subtle-note {
    margin-top: 40px;
    color: #666666;
}

.feeling-note {
    font-size: 20px;
    color: #1a1a1a;
    margin-top: 15px;
}

.bio-summary {
    font-style: italic;
    color: #555555;
    margin-top: 30px;
}

.bio-text-wrap {
    overflow: hidden;
}

/* Картинка i1 (в блоке био) - одинакового размера и справа */
.bio-inline-img {
    float: right;
    margin: 0 0 20px 30px;
}

/* Секция "Трохи про мене" (i3) - переводим в flex и выравниваем вправо */
.about-content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text-col {
    flex: 1.2;
}

.about-img-col {
    flex: 0.8;
    display: flex;
    justify-content: flex-end; /* прижимает картинку вправо */
}

.format-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.format-item {
    font-size: 18px;
    color: #444444;
    border-bottom: 1px solid #e8e3dc;
    padding-bottom: 12px;
}

.price-field {
    color: #7a6b5d;
    font-style: italic;
}

.final-section {
    padding: 120px 0;
    background-color: #fcfbf9;
    border-bottom: none;
}

.final-subtitle {
    font-size: 20px;
    color: #555555;
    margin-bottom: 15px;
}

.final-prompt {
    font-size: 18px;
    color: #777777;
    margin-bottom: 40px;
}

.footer {
    padding: 40px 0;
    background-color: #1f1d1a;
    color: #999999;
    font-size: 13px;
    letter-spacing: 1px;
}

.footer-content {
    text-align: center;
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 15px;
        font-size: 13px;
    }

    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 50px 0;
    }

    .hero-container {
        padding: 0 20px;
    }

    .hero-container, .about-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .hero-img-col, .about-img-col {
        justify-content: flex-start;
        width: 100%;
    }

    .uniform-img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .bio-inline-img {
        float: none;
        display: block;
        margin: 0 0 20px 0;
    }

    .hero h1 {
        font-size: 32px;
    }

    .section {
        padding: 60px 0;
    }

    .section h2 {
        font-size: 26px;
    }

    .situations-list li, .come-when-list li, .format-item {
        font-size: 16px;
    }
}