/* crimson-gold palette */
:root {
    --color-primary: #B22B5B;
    --color-secondary: #1D2A3C;
    --color-accent: #D4AC0D;
    --bg-tint: #FDF8EC;
    --text-light: #FDF8EC;
    --text-dark: #1D2A3C;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Base Reset & Mobile-First Setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-tint);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--color-secondary);
    color: var(--text-light);
    border-bottom: 2px solid var(--color-primary);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo - завжди зліва */
.logo {
    font-size: 24px;
    font-weight: bold;
    z-index: 100;
    color: var(--color-accent);
}

/* Hamburger - ЗАВЖДИ СПРАВА */
.hamburger {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 100;
    display: none; /* Показуємо тільки на мобайлі */
}

.hamburger .line {
    width: 100%;
    height: 3px;
    margin: 5px 0;
    background-color: var(--text-light);
    transition: 0.3s;
}

.menu-checkbox {
    display: none;
}

/* Desktop Navigation */
.desktop-nav {
    display: block;
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.desktop-nav .nav-list a:hover {
    color: var(--color-accent);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--color-secondary);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav li a {
    color: var(--text-light);
    display: block;
    font-size: 18px;
}

/* Мобільна адаптація хедера */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: block; /* Показуємо hamburger на мобайлі */
    }

    .mobile-nav {
        display: block;
    }

    #menu-toggle:checked ~ .mobile-nav {
        max-height: 400px;
    }

    /* Анімація hamburger */
    #menu-toggle:checked ~ .hamburger .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #menu-toggle:checked ~ .hamburger .line:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked ~ .hamburger .line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Containers & Section Spacing */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.container-small {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px;
}

.section-padding-tint {
    padding: 48px 16px;
    background-color: var(--bg-tint);
    color: var(--text-dark);
}

.section-padding-dark {
    padding: 48px 16px;
    background-color: var(--color-secondary);
    color: var(--text-light);
}

@media (min-width: 768px) {
    .section-padding-tint {
        padding: 80px 24px;
    }
    .section-padding-dark {
        padding: 80px 24px;
    }
}

/* Buttons (Pill Style) */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 50px; /* Pill */
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    color: var(--text-dark);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--text-dark);
}

.btn-accent:hover {
    background-color: var(--color-primary);
    color: var(--text-light);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--text-dark);
}

/* Hero Vertical Stack */
.hero-vertical-stack {
    display: flex;
    flex-direction: column;
    background-color: var(--color-secondary);
    color: var(--text-light);
}

.hero-image-wrapper {
    width: 100%;
    height: 55vh;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content-wrapper {
    padding: 48px 16px;
}

.hero-inner-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--text-light);
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-description {
    font-size: clamp(16px, 2vw, 20px);
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-action-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-action-group {
        flex-direction: row;
    }
}

/* Section Header */
.section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px auto;
}

.section-subtitle {
    display: block;
    color: var(--color-primary);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-main-title {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 16px;
}

.section-intro-text {
    font-size: 18px;
    opacity: 0.85;
}

/* Benefits 2x2 Grid (Flat shadow, pill cards) */
.benefits-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .benefits-grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.benefit-card-pill {
    background-color: var(--text-light);
    border: 2px solid var(--color-secondary);
    border-radius: 36px; /* Pill style card */
    padding: 32px;
    transition: transform 0.3s ease;
}

.benefit-card-pill:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.benefit-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--color-secondary);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.benefit-card-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.benefit-card-desc {
    font-size: 16px;
    opacity: 0.9;
}

/* CTA Banner */
.cta-banner-box {
    background-color: var(--color-primary);
    border-radius: 36px;
    padding: 48px 24px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-banner-title {
    font-size: clamp(24px, 3.5vw, 36px);
    margin-bottom: 16px;
}

.cta-banner-desc {
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Expert Block */
.expert-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width: 768px) {
    .expert-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.expert-visual .expert-img {
    border-radius: 36px;
    width: 100%;
    object-fit: cover;
    border: 3px solid var(--color-secondary);
}

.expert-content {
    padding: 16px;
}

.expert-label {
    display: inline-block;
    color: var(--color-primary);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.expert-title {
    font-size: clamp(22px, 3vw, 32px);
    margin-bottom: 20px;
}

.expert-quote {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 24px;
    border-left: 4px solid var(--color-primary);
    padding-left: 16px;
}

.expert-name {
    font-weight: bold;
    font-size: 18px;
}

.expert-role {
    font-size: 14px;
    opacity: 0.8;
}

/* Testimonials (Vertical Stack) */
.testimonials-vertical-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item-pill {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 36px;
    padding: 32px;
}

.testimonial-rating {
    color: var(--color-accent);
    font-size: 20px;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: bold;
}

.author-info {
    font-size: 14px;
    opacity: 0.7;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 36px;
    border: 2px solid var(--color-secondary);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--text-light);
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.comparison-table th {
    background-color: var(--color-secondary);
    color: var(--text-light);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* Program Hero & Grid */
.program-hero {
    text-align: center;
}

.program-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.program-tag {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--text-dark);
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.program-title {
    font-size: clamp(28px, 5vw, 44px);
    margin-bottom: 16px;
}

.program-desc {
    font-size: 18px;
    opacity: 0.9;
}

.program-grid-6 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .program-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .program-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.program-card-pill {
    background-color: var(--text-light);
    border: 2px solid var(--color-secondary);
    border-radius: 36px;
    padding: 32px;
}

.card-num {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--text-light);
    padding: 4px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 16px;
}

.card-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.card-desc {
    font-size: 15px;
    opacity: 0.9;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-item {
    padding: 16px;
}

.stat-value {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: bold;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item-pill {
    background-color: var(--text-light);
    border: 2px solid var(--color-secondary);
    border-radius: 36px;
    padding: 32px;
}

.faq-question {
    font-size: 18px;
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 16px;
    opacity: 0.85;
}

/* CTA Final */
.cta-final-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-final-wrapper h2 {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 16px;
}

.cta-final-wrapper p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* Mission & Story */
.mission-hero {
    text-align: center;
}

.mission-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.mission-tag {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--text-dark);
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.mission-title {
    font-size: clamp(28px, 5vw, 44px);
    margin-bottom: 16px;
}

.mission-desc {
    font-size: 18px;
    opacity: 0.9;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width: 768px) {
    .story-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

.story-text-block {
    padding: 16px;
}

.story-title {
    font-size: clamp(22px, 3vw, 32px);
    margin-bottom: 20px;
}

.story-paragraph {
    font-size: 16px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.story-image-pill {
    border-radius: 36px;
    width: 100%;
    object-fit: cover;
    border: 3px solid var(--color-secondary);
}

.values-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .values-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card-pill {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 36px;
    padding: 32px;
    text-align: center;
}

.value-icon {
    font-size: 32px;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.value-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.value-desc {
    font-size: 15px;
    opacity: 0.85;
}

/* Contact & Forms */
.contact-banner {
    text-align: center;
}

.contact-banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .contact-grid-2 {
        grid-template-columns: 1fr 1.2fr;
    }
}

.contact-info-block {
    padding: 16px;
}

.contact-block-title {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.contact-block-intro {
    font-size: 16px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.info-item-pill {
    background-color: var(--text-light);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 16px;
}

.info-item-pill strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.info-item-pill p {
    font-size: 15px;
    opacity: 0.9;
}

.contact-form-block {
    background-color: var(--text-light);
    border: 2px solid var(--color-secondary);
    border-radius: 36px;
    padding: 32px;
}

.styled-form-pill {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
}

.form-group input, .form-group textarea {
    padding: 12px 20px;
    border-radius: 50px; /* Pill inputs */
    border: 1px solid rgba(0, 0, 0, 0.15);
    font-family: inherit;
    font-size: 15px;
}

.form-group textarea {
    border-radius: 20px; /* Less round for textarea */
}

.btn-submit-pill {
    margin-top: 10px;
}

/* Policies */
.policy-title {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 8px;
}

.policy-meta {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 32px;
}

.policy-content h2 {
    font-size: 22px;
    margin-top: 24px;
    margin-bottom: 12px;
}

.policy-content p, .policy-content ul {
    font-size: 16px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.policy-content ul {
    padding-left: 24px;
}

/* Thank you page */
.thank-box-pill {
    background-color: var(--text-light);
    border: 2px solid var(--color-secondary);
    border-radius: 36px;
    padding: 48px 24px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.thank-icon-circle {
    width: 80px;
    height: 80px;
    background-color: var(--color-primary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    margin: 0 auto 24px auto;
}

.thank-title {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 16px;
}

.thank-message {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.thank-next-steps {
    text-align: left;
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 32px;
}

.thank-next-steps h3 {
    margin-bottom: 12px;
}

.next-steps-list {
    padding-left: 20px;
}

.next-steps-list li {
    margin-bottom: 8px;
    font-size: 15px;
}

.thank-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

@media (min-width: 768px) {
    .thank-actions {
        flex-direction: row;
    }
}

/* Footer (Protected colors for translator protection) */
.site-footer {
    background-color: #1D2A3C !important;
    color: #FDF8EC !important;
    padding: 64px 16px 24px 16px;
    border-top: 3px solid #B22B5B !important;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    }
}

.footer-logo {
    font-size: 28px;
    font-weight: bold;
    color: #D4AC0D !important;
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand-desc {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
}

.footer-col-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #D4AC0D !important;
}

.footer-links-list {
    list-style: none;
    padding: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    font-size: 14px;
    opacity: 0.85;
    transition: color 0.3s ease;
}

.footer-links-list a:hover {
    color: #D4AC0D !important;
}

.footer-contact-info {
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0.85;
}

.footer-email-link {
    color: #D4AC0D !important;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(253, 248, 236, 0.1) !important;
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    opacity: 0.8;
}

.footer-disclaimer {
    margin-top: 12px;
    font-size: 11px;
    line-height: 1.4;
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    transform: translateY(0);
    transition: transform 0.4s ease;
    background-color: var(--color-secondary);
    color: var(--text-light);
    border-top: 2px solid var(--color-accent);
}

#cookie-banner.hidden {
    transform: translateY(110%);
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    font-size: 14px;
}

#cookie-banner a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn-accept {
    background-color: var(--color-accent);
    color: var(--text-dark);
    padding: 8px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}

.cookie-btn-decline {
    background-color: transparent;
    color: var(--text-light);
    padding: 8px 20px;
    border: 1px solid var(--text-light);
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
}

@media (max-width: 600px) {
    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-btns {
        width: 100%;
    }
    .cookie-btn-accept, .cookie-btn-decline {
        flex: 1;
        text-align: center;
    }
}