:root {
    --primary-purple: #9b51e0;
    --light-purple: #a866e5;
    --dark-text: #333333;
    --gray-text: #888888;
    --white: #ffffff;
    --border-color: #eeeeee;
    --light-purple-text: #b898e3;
    /* Колір для курсивного тексту крему */
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    line-height: 1.5;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
}

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

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

ul {
    list-style: none;
}

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

.text-purple {
    color: var(--primary-purple);
}

.text-gray {
    color: var(--gray-text);
}

.fw-bold {
    font-weight: 600;
}

/* HEADER */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px;
}

.logo img {
    height: 28px;
}

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

.nav-link {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    color: #333;
}

/* HERO */
.hero {
    padding: 40px 0 80px;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1.2;
}

.hero-title {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.hero-links {
    display: flex;
    gap: 40px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
    max-width: 300px;
}

.action-link {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #333;
}

.hero-image-box {
    flex: 1;
    position: relative;
}

.timer-badge {
    position: absolute;
    bottom: -15px;
    left: -60px;
    background: var(--white);
    padding: 15px 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    z-index: 5;
    min-width: 350px;
}

.timer-subtitle {
    font-size: 11px;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--primary-purple);
}

.timer-clock {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-purple);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 2px;
}

.time-item {
    text-align: center;
}

.time-num {
    font-size: 22px;
    font-weight: 600;
    display: block;
}

.time-text {
    font-size: 9px;
    text-transform: uppercase;
    opacity: 0.8;
}

.time-separator {
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 15px;
}

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    background: var(--light-purple);
    color: var(--white);
    padding: 60px 50px;
}

.card-center {
    background: var(--primary-purple);
}

.service-title {
    font-size: 28px;
    margin-bottom: 25px;
    line-height: 1.3;
}

.service-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 15px;
    margin-bottom: 25px;
}

.price-val {
    font-size: 13px;
    font-weight: 500;
}

.price-badge {
    font-size: 10px;
    border: 1px solid white;
    padding: 2px 8px;
    border-radius: 12px;
}

.service-img {
    margin-bottom: 30px;
    border-radius: 2px;
}

.service-link {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    padding-bottom: 4px;
}

.service-link:hover {
    border-bottom: 1px solid white;
}

.services-footer {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.btn-more {
    background: linear-gradient(to right, #9b51e0, #c07df5);
    color: white;
    padding: 15px 40px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* PROMO */
.promo {
    padding: 100px 0;
}

.promo-box {
    background: var(--primary-purple);
    display: flex;
    align-items: center;
    min-height: 440px;
    position: relative;
}

.promo-content {
    background: var(--white);
    padding: 50px 70px;
    width: 55%;
    margin-left: -40px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.promo-badge {
    display: inline-block;
    background: var(--primary-purple);
    color: white;
    font-size: 10px;
    padding: 4px 12px;
    border-radius: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.promo-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    color: var(--primary-purple);
    margin-bottom: 20px;
    line-height: 1.2;
}

.promo-desc {
    font-size: 14px;
    color: var(--light-purple-text);
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
}

.promo-ingredients {
    font-size: 13px;
    color: var(--light-purple-text);
    margin-bottom: 25px;
}

.promo-btn {
    display: inline-block;
    border: 1px solid var(--primary-purple);
    color: var(--primary-purple);
    padding: 10px 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.promo-img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 115%;
    z-index: 1;
}

/* FOOTER */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1.5fr;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 28px;
}

.logo-text strong {
    display: block;
    font-size: 18px;
    color: var(--primary-purple);
    font-weight: 600;
}

.logo-text span {
    font-size: 10px;
    color: var(--gray-text);
}

.footer-nav h4,
.footer-contact h4,
.footer-subscribe h4 {
    font-size: 16px;
    margin-bottom: 25px;
    color: #333;
    font-weight: 600;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    font-size: 14px;
    color: var(--gray-text);
}

/* Стилі для контактів з іконками */
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--dark-text);
}

.contact-item img {
    width: 18px;
    height: auto;
}

.subscribe-form {
    display: flex;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-top: 20px;
}

.subscribe-form input {
    border: none;
    outline: none;
    font-size: 12px;
    width: 100%;
    letter-spacing: 1px;
}

.subscribe-form button {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 18px;
}

/* MOBILE */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 44px;
    }

    .timer-badge {
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        min-width: auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .promo-box {
        flex-direction: column;
        padding-top: 40px;
    }

    .promo-content {
        width: 90%;
        margin: 0 auto 30px;
    }

    .promo-img {
        position: relative;
        height: 350px;
        margin-top: -30px;
    }
}