:root {
    --dark: #252a63;
    --gold: #f7c25b;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

header {
    background: var(--dark);
    border-bottom: 2px solid var(--gold);
    padding: 20px 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    letter-spacing: 1px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    margin-left: 25px;
    transition: 0.3s;
}

nav a:hover {
    color: var(--gold);
}

.hero {
    text-align: center;
    padding: 130px 20px;
}

.hero h1 {
    font-size: 38px;
    margin-bottom: 20px;
}

.hero p {
    margin-bottom: 40px;
}

.btn-primary {
    background: var(--gold);
    color: var(--dark);
    padding: 15px 35px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover {
    background: var(--white);
    border: 2px solid var(--gold);
}

.section {
    padding: 50px 20px;
    text-align: center;
}

.light {
    background: var(--white);
    color: var(--dark);
}

.dark {
    background: var(--dark);
}

.gold-line {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto 30px;
}

.cards {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background: var(--white);
    color: var(--dark);
    padding: 30px;
    width: 300px;
    border-radius: 8px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

footer {
    text-align: center;
    padding: 25px 0;
    background: #1b1f4a;
    font-size: 14px;
}
.journal-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap; /* экран кішкентай болса төменге түседі */
}

.journal-card {
    text-align: center;
    max-width: 250px;
}

.journal-card img {
    width: 80%;
    border-radius: 8px;
    transition: 0.3s;
}

.journal-card img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.journal-card h3 {
    margin-top: 15px;
    /* font-weight: 600; */
    background: var(--gold);
    color: var(--dark);
    padding: 10px 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    font-size: 13px;
}

.main-hero {
    position: relative;
    height: 90vh;
    background: url("../images/hero.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(37, 42, 99, 0.95),
        rgba(37, 42, 99, 0.75)
    );
}

.hero-content {
    position: relative;
    max-width: 900px;
    padding: 20px;
    animation: fadeUp 1s ease forwards;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-gold {
    background: #f7c25b;
    color: #252a63;
    padding: 14px 35px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-gold:hover {
    background: white;
}

.btn-outline {
    border: 2px solid #f7c25b;
    color: #f7c25b;
    padding: 14px 35px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #f7c25b;
    color: #252a63;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.price-table {
    max-width: 800px;
    margin: 40px auto;
    border: 1px solid #f7c25b;
    border-radius: 8px;
    overflow: hidden;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 18px 25px;
    border-bottom: 1px solid #eee;
    background: white;
}

.price-row:nth-child(even) {
    background: #f9f9f9;
}

.price-service {
    font-weight: 500;
}

.price-amount {
    font-weight: 700;
    color: #252a63;
}

.price-note {
margin-top: 20px;
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}
/* === MODAL === */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(37, 42, 99, 0.85); /* твой dark */
    backdrop-filter: blur(5px);
    z-index: 999;

    align-items: center;
    justify-content: center;
}

/* окно */
.modal-content {
    background: var(--white);
    color: var(--dark);
    width: 600px;
    max-width: 90%;
    border-radius: 10px;
    padding: 30px;
    position: relative;

    border: 2px solid var(--gold);
    animation: modalFade 0.3s ease;
}

/* анимация */
@keyframes modalFade {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* закрыть */
#closeModal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
    color: var(--dark);
}

/* картинка */
.modal-content img {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* заголовок */
.modal-content h2 {
    margin-bottom: 10px;
    font-weight: 700;
}

/* текст */
#modalInfo {
    text-align: left;
    white-space: pre-line;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
}

/* кнопки */
.modal-buttons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

/* кнопка сайт */
#visitSite {
    flex: 1;
    text-align: center;
    background: var(--gold);
    color: var(--dark);
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

#visitSite:hover {
    background: var(--white);
    border: 2px solid var(--gold);
}

/* кнопка whatsapp */
#whatsappBtn {
flex: 1;
    text-align: center;
    /* background: #25D366; */
    color: #252a63;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

#whatsappBtn:hover {
    opacity: 0.85;
}
/* блоки внутри */
.modal-info {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* каждая карточка */
.info-block {
    background: #f9f9f9;
    border-left: 4px solid var(--gold);
    padding: 12px 15px;
    border-radius: 6px;
    text-align: left;
}

/* заголовок */
.info-block h4 {
    font-size: 14px;
    margin-bottom: 5px;
    color: var(--dark);
}

/* текст */
.info-block p {
    font-size: 13px;
    line-height: 1.5;
}

/* badge */
.badge {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 5px;
    margin-bottom: 10px;
}
.price-row {
    display: grid;
    grid-template-columns: 1fr auto 40px;
    align-items: center;
    padding: 18px 25px;
    border-bottom: 1px solid #eee;
    background: white;
}

/* кнопка справа */
.open-modal-btn {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    border-radius: 6px;
    cursor: pointer;
    height: 32px;
    width: 32px;
    font-size: 16px;
    transition: 0.3s;
}

/* hover */
.open-modal-btn:hover {
    background: var(--gold);
    color: var(--dark);
    transform: scale(1.1);
}
.creative-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.creative-card {
    background: white;
    color: var(--dark);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid var(--gold);
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
#programImg {
    width: 100%;
        /* height: 250px;*/
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}
.creative-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.creative-card h3 {
    margin-bottom: 10px;
}

.creative-card p {
    font-size: 13px;
    opacity: 0.7;
}

/* кнопка */
.open-creative-btn {
    margin-top: 15px;
    background: var(--gold);
    color: var(--dark);
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
}
.promo-section {
    padding: 80px 20px;
    background: #0f172a;
}

.promo-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

.promo-left {
    flex: 1;
    color: white;
}

.promo-left h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.promo-left p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.promo-right {
    flex: 1;
    position: relative;
}

.promo-right img {
    width: 100%;
    border-radius: 20px;
}

.promo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: gold;
    color: black;
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: bold;
}

/* точки */
.promo-dots {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.promo-dot {
    width: 12px;
    height: 12px;
    background: gray;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.promo-dot.active {
    background: gold;
}
/* ========================= */
/* 📱 MOBILE (до 768px) */
/* ========================= */
@media (max-width: 768px) {

    header {
        padding: 15px 0;
    }

    .nav {
        flex-direction: column;
        gap: 15px;
    }

    nav a {
        margin-left: 0;
        margin: 5px 10px;
        font-size: 14px;
    }

    /* HERO */
    .main-hero {
        height: auto;
        padding: 100px 20px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-gold,
    .btn-outline {
        width: 100%;
        text-align: center;
    }

    /* SECTION */
    .section {
        padding: 40px 15px;
    }

    /* CARDS */
    .cards {
        flex-direction: column;
        gap: 20px;
    }

    .card {
        width: 100%;
    }

    /* JOURNAL */
    .journal-wrapper {
        gap: 25px;
    }

    .journal-card img {
        width: 100%;
    }

    /* PRICE TABLE */
    .price-table {
        margin: 20px 10px;
    }

    .price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        display:flex;
    }

    .price-amount {
        font-size: 16px;
    }

    footer {
        font-size: 13px;
        padding: 20px 10px;
    }
}
@media (max-width: 768px) {

    .promo-container {
        flex-direction: column;
        gap: 20px;
    }

    /* картинка сверху */
    .promo-right {
        width: 100%;
    }

    .promo-right img {
        width: 100%;
        border-radius: 16px;
    }

    /* бейдж аккуратнее */
    .promo-badge {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 12px;
    }

    /* текст ниже картинки */
    .promo-left {
        width: 100%;
        text-align: center;
    }

    .promo-left h2 {
        font-size: 22px;
    }

    .promo-left p {
        font-size: 14px;
    }

    /* кнопка по центру */
    .promo-buttons {
        display: flex;
        justify-content: center;
    }

    .promo-buttons a {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    /* точки по центру */
    .promo-dots {
        justify-content: center;
    }
}