:root {
    --bg-color: #FAF9F6;
    --btn-bg: #fffff0;
    --accent-color: #b1a8ff;
    --text-color: #333;
    --headline-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
    --logo-font: 'Cinzel Decorative', cursive;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: pointer;
    /* Fix for iOS Safari event bubbling */
    -webkit-tap-highlight-color: transparent;
    /* Remove blue tap box */
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--headline-font);
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--btn-bg);
    border: 2px solid var(--accent-color);
    color: var(--text-color);
    font-family: var(--headline-font);
    font-weight: 400;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

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

/* Header */
.header {
    background: linear-gradient(rgba(250, 249, 246, 0.6), rgba(250, 249, 246, 0.6)), url('header-bg.jpg');
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(5px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.logo__mm {
    font-family: var(--logo-font);
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: 700;
}

.logo__text {
    font-family: var(--headline-font);
    font-size: 1.2rem;
    font-weight: 400;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav__link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.btn--header {
    font-size: 0.75rem;
    padding: 8px 20px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    border: none;
    background: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    color: #FFFFF0;
    text-align: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 2;
}

.hero__container {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.hero__content {
    max-width: 800px;
}

.hero__title {
    font-size: 4.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

.btn--hero {
    width: auto;
    padding: 10px 40px;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
    background-color: #FFFFF0;
    border: 3px solid #7C5CBF;
    color: #333;
    transition: all 0.3s ease;
    text-align: center;
}

.btn--hero:hover {
    background-color: transparent;
    border: 3px solid #7C5CBF;
    color: #FFFFF0;
    box-shadow: 0 0 15px rgba(124, 92, 191, 0.6), 0 0 30px rgba(124, 92, 191, 0.3);
}

/* Materials Section */
.materials {
    padding: 100px 0;
}

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

.material-card {
    border-radius: 15px;
    overflow: hidden;
    height: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: #f5f5f5;
    transition: all 0.4s ease-out;
    /* Smooth transition for the card */
    position: relative;
    /* Needed for z-index */
    z-index: 1;
}

.material-card--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0eeff 0%, #faf9f6 100%);
    border: 2px dashed #d0d0d0;
}

.material-card__img,
.material-card__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Scale the whole card on hover */
/* Scale the whole card on hover */
/* Desktop only hover effect */
@media (min-width: 769px) {
    .material-card:hover {
        transform: scale(1.6) !important;
        /* Increase size by 60% */
        z-index: 999 !important;
        /* Bring to very front */
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4) !important;
        /* Stronger shadow */
        cursor: pointer;
    }
}

/* Shopping Cart Styles moved to bottom */

/* Approach Section */
.approach {
    padding: 100px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('MM.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.approach__box {
    max-width: 600px;
    background: rgba(255, 255, 255, 0.9);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.approach__title {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--text-color);
}

.approach__text {
    margin-bottom: 35px;
    font-size: 1.1rem;
}

/* Reviews */
.reviews {
    padding: 100px 0;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.review-img {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    max-height: 280px;
}

.review-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(107, 91, 123, 0.2);
}

.review-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox__img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
}

/* Shop */
.shop {
    padding: 100px 0;
    position: relative;
    background: #fff;
}

.shop__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    text-align: left;
    /* Changed to left */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
    display: flex;
    /* Flexbox for equal height */
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card__img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.product-card__placeholder {
    width: 100%;
    height: 300px;
    background: #f0f0f0;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 1.2rem;
}

.product-card__title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.product-card__price {
    font-size: 1.5rem;
    /* Larger price */
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.product-card__desc {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-card__features {
    list-style: none;
    margin-bottom: 25px;
    padding: 0;
    flex-grow: 1;
    /* Pushes button down */
}

.product-card__features li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.4;
}

.product-card__features li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.product-card__stock {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 6px;
}

.product-card__stock--low {
    color: var(--accent-color);
}

.product-card__stock--out {
    color: #d9534f;
}

.product-card__btn {
    width: 100%;
    margin-top: auto;
    position: relative;
    z-index: 5;
    touch-action: manipulation;
}

.product-card__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #ccc;
    border-color: #ccc;
    color: #888;
}

.product-card__btn:disabled:hover {
    transform: none;
    box-shadow: none;
    background: #ccc;
}

.product-card__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #5a4a3a;
    margin-top: 0.5rem;
    margin-bottom: 0.3rem;
}

.product-card__select {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 2px solid #e8d5c4;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s;
    margin-bottom: 0.5rem;
}

.product-card__select:focus {
    outline: none;
    border-color: #c9956b;
}

.product-card__input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 2px solid #e8d5c4;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background: #fff;
    transition: border-color 0.3s;
    box-sizing: border-box;
    margin-bottom: 1rem;
}

.product-card__input:focus {
    outline: none;
    border-color: #c9956b;
}

.product-card__input::placeholder {
    color: #aaa;
}

.product-card__select.error,
.product-card__input.error {
    border-color: #e74c3c;
    animation: shake 0.3s;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Tariffs */
.tariffs {
    padding: 100px 0;
    background-color: #f0eeff;
}

.tariffs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tariff-card {
    background: white;
    padding: 50px 30px;
    border-radius: 25px;
    text-align: left;
    /* Alignment changed to left */
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    /* Ensure full height for equal buttons */
}

.tariff-card--featured {
    transform: scale(1.05);
    border: 2px solid var(--accent-color);
    position: relative;
    background: #fffff0;
}

.tariff-card__header {
    text-align: center;
    /* Title and price remain centered */
    margin-bottom: 20px;
}

.tariff-card__title {
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
}

.tariff-card__price {
    font-family: 'Playfair Display', serif;
    /* Changed to Playfair Display */
    font-size: 2.8rem;
    /* Slightly larger */
    font-style: italic;
    /* Added italic for elegance */
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

.tariff-card__desc {
    font-family: 'Lora', serif;
    /* New font */
    font-size: 1.1rem;
    font-weight: 600;
    /* Bolder */
    margin-bottom: 20px;
    min-height: 50px;
    color: #333;
}

.tariff-card__features {
    /* Renamed from list to match HTML */
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    flex-grow: 1;
    /* Pushes button down */
}

.tariff-card__features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
}

.tariff-card__features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.tariff-card__saving {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
    font-style: italic;
}

.btn--tariff {
    margin-top: auto;
    /* Ensures button is at bottom */
    width: 100%;
    position: relative;
    z-index: 5;
    touch-action: manipulation;
}

/* Contact */
.contact {
    padding: 100px 0;
}

.contact__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact__image img {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact__title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact__text {
    margin-bottom: 30px;
}

.contact__form {
    display: grid;
    gap: 15px;
}

.contact__input {
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-family: var(--body-font);
    font-size: 1rem;
}

.btn--submit {
    width: 100%;
}

/* Footer */
.footer {
    padding: 50px 0;
    background: #333;
    color: white;
    text-align: center;
}

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

.footer__link {
    color: var(--accent-color);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero__title {
        font-size: 3.5rem;
    }

    .materials__grid,
    .reviews__grid,
    .shop__grid,
    .tariffs__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tariff-card--featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .header__container {
        padding: 15px 20px;
    }

    .nav,
    .btn--header {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
        /* Higher than .nav (999) */
        position: relative;
        /* Ensure z-index works */
    }

    /* Hamburger to Cross Animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

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

    .hero__title {
        font-size: 2.8rem;
    }

    .hero {
        min-height: auto;
        height: auto;
        padding: 120px 0 60px;
    }

    .hero__subtitle {
        font-size: 1.05rem;
        margin-bottom: 15px;
    }

    .materials__grid,
    .reviews__grid,
    .shop__grid,
    .tariffs__grid,
    .contact__container {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .approach__box {
        padding: 30px;
    }

    .contact__container {
        gap: 30px;
    }

    /* Mobile Menu Styles */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s ease;
        z-index: 999;
        display: flex;
        /* Override display: none from previous rule */
        opacity: 0;
        visibility: hidden;
    }

    .nav.active {
        right: 0;
        opacity: 1;
        visibility: visible;
    }

    .nav__list {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        width: 100%;
    }

    .nav__link {
        font-size: 1.8rem;
        /* Larger text for mobile */
        margin: 0;
        display: block;
        padding: 10px;
        /* Better touch area */
    }

    body.no-scroll {
        overflow: hidden;
    }
}

/* Shopping Cart Styles moved to bottom */
.cart-btn-wrapper {
    position: relative;
    margin-left: 20px;
    z-index: 1003;
    /* Ensure it's above other header elements */
}

.cart-btn {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 10px;
    /* Increased padding */
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: white;
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: white;
    z-index: 1002;
    transition: all 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #888;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.cart-item-price {
    font-weight: 600;
    color: var(--accent-color);
}

.cart-item-remove {
    margin-left: auto;
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 0.9rem;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.btn--checkout {
    width: 100%;
}

@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* Telegram Chat Button */
.telegram-chat-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 12px 28px;
    background: #0088cc;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
}

.telegram-chat-btn:hover {
    background: #006daa;
    transform: translateY(-2px);
}

.telegram-chat-btn svg {
    flex-shrink: 0;
}

/* About Me Section */
.about-me {
    padding: 80px 0;
    background: linear-gradient(135deg, #faf8f5 0%, #f5f0eb 100%);
}

.about-me__diagonal {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1.3fr;
    gap: 30px 40px;
    align-items: center;
    min-height: 500px;
}

.about-me__block--left {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    padding-top: 20px;
}

.about-me__carousel {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: center;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(107, 91, 123, 0.15);
    aspect-ratio: 3/4;
    max-height: 450px;
    width: 100%;
}

.about-me__block--right {
    grid-column: 3;
    grid-row: 1;
    align-self: end;
    padding-bottom: 20px;
}

.about-me__intro {
    font-size: 1.15rem;
    font-weight: 600;
    color: #6b5b7b;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.about-me__block p {
    font-size: 1.02rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 12px;
}

.about-me__mission {
    font-size: 1.05rem !important;
    color: #6b5b7b !important;
    margin-top: 10px;
}

.carousel__track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.carousel__slide.active {
    opacity: 1;
}

.carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel__dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.carousel__dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* Tariff Duration Badge */
.tariff-card__duration {
    display: block;
    width: fit-content;
    margin: 0 auto 10px auto;
    background: #e8e0f0;
    color: #333;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}


/* Album Upsell Option */
.tariff-card__album-option {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
    background: #fdfdfd;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px dashed #7C5CBF;
    text-align: center;
    line-height: 1.4;
}

.tariff-card__album-option strong {
    color: #7C5CBF;
    font-weight: 700;
}

/* Certificate Modal */
.cert-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 9990;
    overflow-y: auto;
    padding: 60px 20px;
}

/* ... (existing modal styles) ... */

/* Target Audience Section */
.target-audience {
    padding: 60px 0;
    background-color: #fff;
}

.target-audience__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.target-audience__card {
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #eee;
}

.target-audience__card--yes {
    background-color: #f9fff9;
    border-color: #d4edda;
}

.target-audience__card--no {
    background-color: #fff9f9;
    border-color: #f8d7da;
}

.target-audience__card-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.target-audience__list {
    list-style: none;
    padding: 0;
}

.target-audience__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
}

.target-audience__list li::before {
    position: absolute;
    left: 0;
    top: 0;
}

.target-audience__card--yes .target-audience__list li::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
}

.target-audience__card--no .target-audience__list li::before {
    content: '×';
    color: #dc3545;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .target-audience__grid {
        grid-template-columns: 1fr;
    }
}


.cert-modal.active {
    display: block;
}

.cert-modal__content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.cert-modal__close {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 50px;
    cursor: pointer;
    color: #333;
    line-height: 1;
    z-index: 9995;
    transition: color 0.3s ease;
}

.cert-modal__close:hover {
    color: #7C5CBF;
}

.cert-modal h3 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

.cert-modal__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    justify-content: center;
}

.cert-modal__item {
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    background: #fff;
}

.cert-modal__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(124, 92, 191, 0.15);
    border-color: #7C5CBF;
}

.cert-modal__item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
}

.tariff-card--featured .tariff-card__duration {
    background: #e8e0f0;
    color: #333;
}

/* Responsive About Me */
@media (max-width: 768px) {
    .about-me {
        padding: 50px 0;
    }

    .about-me__diagonal {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 30px;
    }

    .about-me__block--left,
    .about-me__carousel,
    .about-me__block--right {
        grid-column: 1;
        grid-row: auto;
    }

    .about-me__carousel {
        max-height: 350px;
    }
}

/* ============================
   BLOG PREVIEW (Main Page)
   ============================ */
.blog-preview {
    padding: 80px 0;
    background: linear-gradient(135deg, #faf6f0 0%, #f5ede3 100%);
}

.blog-preview__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.blog-card__img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.blog-card:hover .blog-card__img {
    transform: scale(1.05);
}

.blog-card__content {
    padding: 1.2rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card__date {
    font-size: 0.8rem;
    color: #b8a08a;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
}

.blog-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #3a2e22;
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.blog-card__excerpt {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #6b5b4a;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-card__link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #c9956b;
    margin-top: 1rem;
    transition: color 0.3s;
}

.blog-card:hover .blog-card__link {
    color: #a87a52;
}

.blog-preview__more {
    text-align: center;
    margin-top: 40px;
}

.btn--blog {
    background: transparent;
    border: 2px solid #c9956b;
    color: #c9956b;
    padding: 12px 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn--blog:hover {
    background: #c9956b;
    color: #fff;
}

/* ============================
   BLOG PAGE (blog.html)
   ============================ */
.blog-page {
    padding: 120px 0 60px;
    min-height: 100vh;
    background: linear-gradient(135deg, #faf6f0 0%, #f5ede3 100%);
}

.blog-page__title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #3a2e22;
    text-align: center;
    margin-bottom: 0.5rem;
}

.blog-page__subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #8a7560;
    text-align: center;
    margin-bottom: 50px;
}

.blog-page__grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-card--full {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.blog-card--full:hover {
    transform: none;
}

.blog-card--full .blog-card__img-wrapper {
    height: 100%;
    min-height: 300px;
}

.blog-card--no-img {
    display: block;
    border-top: 4px solid #c9956b;
}

.blog-card--no-img .blog-card__img-wrapper {
    display: none;
}

.blog-card--full .blog-card__content {
    padding: 2rem 2.5rem;
}

.blog-card--full .blog-card__title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.blog-card--full .blog-card__excerpt {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-style: italic;
    color: #8a7560;
}

.blog-card__body {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #4a3f33;
    line-height: 1.8;
}

.blog-card__video {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.blog-card__body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #3a2e22;
    margin: 1.2rem 0 0.5rem;
}

.blog-card__body h3:first-child {
    margin-top: 0;
}

.blog-card__body ul {
    padding-left: 1.2rem;
    margin: 0.5rem 0;
}

.blog-card__body li {
    margin-bottom: 0.4rem;
}

.btn--blog-cta {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 10px 30px;
    background: linear-gradient(135deg, #c9956b, #b8844e);
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn--blog-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 149, 107, 0.4);
}

.nav__link--active {
    color: #c9956b !important;
    font-weight: 600;
}

.blog-footer {
    background: #3a2e22;
    color: #e8d5c4;
    padding: 30px 0;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
}

.blog-footer__link {
    color: #c9956b;
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
    transition: color 0.3s;
}

.blog-footer__link:hover {
    color: #e8c9a8;
}

/* Blog: R Sound Scattered Images */
.blog-r-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.1));
}

.blog-r-img--right {
    float: right;
    margin: 0 0 1rem 1.5rem;
}

.blog-r-img--left {
    float: left;
    margin: 0 1.5rem 1rem 0;
}

.blog-r-img--r1 {
    transform: rotate(3deg);
}

.blog-r-img--r2 {
    transform: rotate(-4deg);
}

.blog-r-img--r3 {
    transform: rotate(5deg);
}

.blog-r-img--r4 {
    transform: rotate(-3deg);
}

.blog-r-img--r5 {
    transform: rotate(2deg);
}

.blog-r-img--r6 {
    transform: rotate(-5deg);
}

.blog-r-img--r7 {
    transform: rotate(4deg);
}

/* Blog: Verse blockquote */
.blog-verse {
    background: linear-gradient(135deg, #faf6f0, #f5ede3);
    border-left: 4px solid #c9956b;
    padding: 1.2rem 1.5rem;
    margin: 0.8rem 0 1.2rem;
    border-radius: 0 12px 12px 0;
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 0.95rem;
    color: #5a4a3a;
    line-height: 2;
}

/* Blog Responsive */
@media (max-width: 768px) {
    .blog-preview__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-card--full {
        grid-template-columns: 1fr;
    }

    .blog-card--full .blog-card__img-wrapper {
        height: 200px;
        min-height: auto;
    }

    .blog-card--full .blog-card__content {
        padding: 1.5rem;
    }

    .blog-page__title {
        font-size: 1.8rem;
    }
}