/* ПАЛІТРА ТА ЗМІННІ */
:root {
    --bg-dark: #121212;
    --accent-burgundy: #6E0A19;
    --accent-burgundy-hover: #520612;
    --text-white: #FFFFFF;
    --text-cream: #F5EBE6;
    --text-muted: #E0D5D0;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-dark);
    background-image: url('img/wisteria-lane.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 50px 0 60px 0;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* БІГУЧИЙ РЯДОК */
.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 12px 0;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.ticker-text {
    display: flex;
    white-space: nowrap;
    animation: ticker 28s linear infinite;
}

.ticker-text:hover {
    animation-play-state: paused;
}

.ticker-text span {
    font-size: 0.95rem;
    font-weight: 400;
    padding: 0 20px;
    color: var(--text-cream);
    letter-spacing: 0.5px;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* CONTENT */
.hero-content {
    text-align: center;
    max-width: 900px;
}

.level-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: var(--text-white);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.level-badge strong {
    color: #FFFFFF;
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 5.2rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 18px;
    color: var(--text-white);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.hero-title .highlight {
    font-style: italic;
    font-weight: 400;
}

.hero-description {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.45;
    color: var(--text-white);
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* РАМКА ТА КАРТКИ */
.cards-wrapper {
    position: relative;
    max-width: 860px;
    margin: 0 auto 35px auto;
}

.dashed-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px 35px;
    border-radius: 24px;
    border: 2px dashed rgba(255, 255, 255, 0.6);
}

.dashed-card {
    text-align: left;
}

.dashed-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-white);
}

.dashed-card p {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

/* СТІКЕРИ */
.sticker {
    position: absolute;
    width: 80px;
    height: 80px;
    object-fit: contain;
    z-index: 10;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
    pointer-events: none;
}

.sticker-left {
    top: -25px;
    left: -25px;
    transform: rotate(-12deg);
}

.sticker-right {
    bottom: -20px;
    right: -20px;
    transform: rotate(12deg);
}

/* КНОПКА */
.cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-burgundy);
    color: var(--text-white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: var(--accent-burgundy-hover);
    transform: translateY(-2px);
}

.cta-subtext {
    font-size: 0.92rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .hero-title { font-size: 3.2rem; }
    .dashed-cards-container { grid-template-columns: 1fr; }
}
/* ДРУГА СЕКЦІЯ: ТЕКСТ ТА РАМКИ */
:root {
    --bg-burgundy: #380208;
}

.for-you-section {
    background-color: var(--bg-burgundy);
    padding: 80px 0;
    color: var(--text-white);
}

.for-you-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 20px;
}

.for-you-section .section-title {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-white);
}

.grid-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.f-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px dashed rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
}

.f-card p {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    line-height: 1.55;
    color: #FFFFFF;
}

.f-card p strong {
    color: #FFFFFF;
    font-weight: 700;
}

/* ЗАЛІЗНИЙ ФІКСАТОР ДЛЯ ФОТОГРАФІЙ (не дає їм вилазити за межі) */
.f-card-img {
    padding: 0 !important;
    overflow: hidden !important;
    border: 1.5px dashed rgba(255, 255, 255, 0.35);
    background: transparent;
    position: relative;
    height: auto;
    min-height: 180px;
}

.f-card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

@media (max-width: 768px) {
    .grid-cards {
        grid-template-columns: 1fr;
    }
    .for-you-section .section-title {
        font-size: 2.5rem;
    }
}
/* ТРЕТЯ СЕКЦІЯ: Що ти вже пробувала */
.tried-section {
    background-color: var(--bg-burgundy);
    padding: 80px 0;
    color: #FFFFFF;
}

.tried-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 20px;
}

.tried-section .section-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: #FFFFFF;
}

/* Сітка для перших двох карток */
.tried-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.tried-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px dashed rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    padding: 35px;
}

.tried-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.tried-card p {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
}

/* Блок рішення клубу */
.club-solution-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px dashed rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
}

.solution-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.solution-subtitle {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.solution-list {
    list-style: none;
    padding: 0;
}

.solution-list li {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    margin-bottom: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
}

.solution-list strong {
    color: #FFFFFF;
}

/* Нижня сітка (висновок + відгук) */
.tried-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: stretch;
}

.conclusion-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px dashed rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.conclusion-card h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.conclusion-card p {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
}

/* Картка для відгуку (зберігає весь текст повністю, не обрізаючи) */
.review-img-card {
    padding: 10px;
    overflow: hidden;
    border: 1.5px dashed rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.review-img-card img {
    width: 100%;
    height: 100%;
    max-height: 320px;
    object-fit: contain;
    display: block;
    border-radius: 14px;
}

/* Мобільна адаптивність */
@media (max-width: 768px) {
    .tried-grid,
    .tried-bottom-grid {
        grid-template-columns: 1fr;
    }
    .tried-section .section-title {
        font-size: 2.3rem;
    }
}
/* ТРЕТЯ СЕКЦІЯ */
.tried-section {
    background-color: var(--bg-burgundy);
    padding: 80px 0;
    color: #FFFFFF;
}

.tried-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 20px;
}

.tried-section .section-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: #FFFFFF;
}

.tried-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.tried-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px dashed rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    padding: 35px;
}

.tried-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.tried-card p {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
}

/* Нижня сітка: текст у рамці зліва, повернений відгук праворуч */
.tried-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: center;
}

.solution-text-card {
    /* Наслідує стиль .tried-card (рамка, фон), додаємо внутрішні відступи */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.solution-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.solution-subtitle {
    font-family: var(--font-sans);
    font-size: 1rem;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.solution-list {
    list-style: none;
    padding: 0;
}

.solution-list li {
    font-family: var(--font-sans);
    font-size: 0.98rem;
    margin-bottom: 10px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
}

.solution-list strong {
    color: #FFFFFF;
}

/* Відгук праворуч із легким нахилом убік */
.review-rotated-card {
    padding: 10px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(2.5deg); /* Легкий поворот картини вбік */
    transition: transform 0.3s ease;
}

.review-rotated-card:hover {
    transform: rotate(0deg); /* Вирівнюється при наведенні миші */
}

.review-rotated-card img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: contain;
    display: block;
    border-radius: 16px;
}

/* Мобільна адаптивність */
@media (max-width: 768px) {
    .tried-grid,
    .tried-bottom-grid {
        grid-template-columns: 1fr;
    }
    .review-rotated-card {
        transform: rotate(0deg); /* На телефоні краще рівно */
    }
    .tried-section .section-title {
        font-size: 2.3rem;
    }
}
/* ЧЕТВЕРТА СЕКЦІЯ: Світлий фон, насичений бордовий текст та фірмові шрифти */
.how-it-works-light {
    background-color: #F7F4EE;
    padding: 90px 0;
    color: #380208;
}

.how-it-works-light .section-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    color: #380208;
}

.how-it-works-light .hiw-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1.5px dashed rgba(56, 2, 8, 0.25);
}

.how-it-works-light .hiw-row:last-of-type {
    border-bottom: none;
}

.how-it-works-light .hiw-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.how-it-works-light .hiw-number {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: rgba(56, 2, 8, 0.6);
    font-weight: 600;
    line-height: 1.2;
}

.how-it-works-light .hiw-text-block h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #380208; /* Насичений бордовий заголовків */
}

.how-it-works-light .hiw-text-block p {
    font-family: var(--font-sans); /* Фірмовий шрифт основного тексту */
    font-size: 1.05rem;
    line-height: 1.6;
    color: #2b0106; /* Ще більш темний та чіткий бордовий колір для тексту */
}

/* Налаштування картинок збоку */
.how-it-works-light .hiw-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-it-works-light .hiw-media img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 16px;
    display: block;
    box-shadow: 0 10px 25px rgba(56, 2, 8, 0.08);
}

/* Кнопка */
.hiw-cta-box {
    text-align: center;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.hiw-btn-burgundy {
    display: inline-block;
    background-color: #380208;
    color: #FFFFFF;
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 700;
    padding: 18px 35px;
    border-radius: 40px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(56, 2, 8, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hiw-btn-burgundy:hover {
    transform: translateY(-2px);
    background-color: #4a030b;
}

.how-it-works-light .hiw-cta-sub-dark {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: rgba(56, 2, 8, 0.75);
}

/* Мобільна адаптивність */
@media (max-width: 768px) {
    .how-it-works-light .hiw-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .how-it-works-light .section-title {
        font-size: 2.3rem;
    }
    .hiw-btn-burgundy {
        font-size: 1rem;
        padding: 15px 25px;
        width: 100%;
        text-align: center;
    }
}
/* П'ЯТА СЕКЦІЯ: ВІДГУКИ ТА ВАРТІСТЬ */
.reviews-pricing-section {
    background-color: #F7F4EE;
    padding: 90px 0;
    color: #380208;
}

.reviews-pricing-section .section-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: #380208;
}

/* Карусель відгуків */
.reviews-carousel-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1100px;
    margin: 0 auto 20px auto;
    padding: 0 45px;
}

.reviews-track-container {
    overflow: hidden;
    width: 100%;
}

.reviews-track {
    display: flex;
    gap: 25px;
    transition: transform 0.4s ease-in-out;
}

.review-card-clean {
    min-width: calc(33.333% - 17px);
    background: #FFFFFF;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(56, 2, 8, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.review-card-clean img {
    width: 100%;
    height: 420px;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

/* Стрілки каруселі */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #380208;
    color: #FFFFFF;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(56, 2, 8, 0.2);
    transition: background-color 0.2s ease;
}

.carousel-btn:hover {
    background-color: #59040d;
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

/* Крапки каруселі */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 70px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(56, 2, 8, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #380208;
}

/* БЛОК ВАРТОСТІ */
.pricing-header {
    margin-top: 40px;
}

.pricing-tickets-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    max-width: 950px;
    margin: 0 auto 60px auto;
}

.ticket-shape {
    border-radius: 18px;
    padding: 40px 35px;
    position: relative;
    box-shadow: 0 15px 40px rgba(56, 2, 8, 0.12);
    border: 3px dashed rgba(56, 2, 8, 0.2);
}

/* 1 фігура: Ніжний рожевий колір */
.ticket-pink {
    background-color: #F8C8D8 !important;
}

/* 2 фігура: Насичений червоний/малиновий тон */
.ticket-red {
    background-color: #E6636B !important;
}

.ticket-badge {
    display: inline-block;
    background-color: #380208;
    color: #FFFFFF;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.ticket-price {
    font-family: var(--font-serif);
    font-size: 2.3rem;
    font-weight: 700;
    color: #380208;
    margin-bottom: 20px;
}

.ticket-note {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(56, 2, 8, 0.75);
}

.ticket-price-small {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: #380208;
    margin-bottom: 8px;
}

.ticket-list {
    list-style: none;
    padding: 0;
}

.ticket-list li {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: #380208;
    line-height: 1.5;
}

.ticket-highlight {
    font-weight: 700;
    margin-top: 15px;
}

.ticket-desc {
    font-family: var(--font-sans);
    font-size: 0.98rem;
    color: rgba(56, 2, 8, 0.85);
    line-height: 1.5;
}

/* Блок Як потрапити в клуб */
.join-club-box {
    max-width: 750px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 45px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(56, 2, 8, 0.08);
    border: 1.5px dashed rgba(56, 2, 8, 0.2);
}

.join-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 12px;
    color: #380208;
}

.join-text {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    line-height: 1.6;
    color: #380208;
}

.join-club-box .hiw-btn-burgundy {
    margin-bottom: 30px;
}

/* Мобільна адаптивність */
@media (max-width: 768px) {
    .review-card-clean {
        min-width: 100%;
    }
    .pricing-tickets-container {
        grid-template-columns: 1fr;
    }
    .reviews-carousel-wrapper {
        padding: 0 30px;
    }
    .reviews-pricing-section .section-title {
        font-size: 2.3rem;
    }
    .join-club-box {
        padding: 25px;
    }
}