/* Palette Name: charcoal-teal */
/* #1C2A35, #37474F, #00695C, #F5F8F8 */

:root {
    --color-primary: #1C2A35;
    --color-secondary: #37474F;
    --color-accent: #00695C;
    --bg-tint: #F5F8F8;
    --bg-light: #FFFFFF;
    
    --font-header: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', sans-serif;
}

/* Reset & Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: clamp(15px, 2.5vw, 18px);
    line-height: 1.6;
    color: var(--color-primary);
    background-color: var(--bg-light);
}

/* Typography - design-style: warm-vintage (serif headings) */
h1, h2, h3, h4 {
    font-family: var(--font-header);
    color: var(--color-primary);
    font-weight: 700;
}

h1 {
    font-size: clamp(32px, 6vw, 56px);
    line-height: 1.2;
}

h2 {
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.3;
    margin-bottom: 15px;
}

h3 {
    font-size: clamp(20px, 3vw, 24px);
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary);
}

/* border-style: sharp (border-radius: 0 everywhere) */
.btn, .benefit-card, .expert-image-placeholder, .expert-wrapper, .custom-form input, .custom-form textarea, .cookie-btns button, #cookie-banner, .faq-card {
    border-radius: 0 !important;
}

/* shadow-style: subtle (box-shadow: 0 2px 12px rgba(0,0,0,0.07)) */
.benefit-card, .expert-wrapper, .faq-card, #cookie-banner, .contact-info-container {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 48px 16px;
}

@media (min-width: 768px) {
    .section {
        padding: 80px 24px;
    }
}

.section-light {
    background-color: var(--bg-light);
}

.section-tint {
    background-color: var(--bg-tint);
}

.section-header {
    max-width: 700px;
    margin-bottom: 40px;
}

.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 10px;
}

/* Vintage Badge Decors */
.vintage-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 2px solid var(--color-accent);
    font-family: var(--font-header);
    font-style: italic;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #fff !important;
}

.btn-primary:hover {
    background-color: var(--color-primary);
}

.btn-secondary {
    background-color: transparent;
    color: #fff !important;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--color-primary) !important;
}

.btn-accent {
    background-color: var(--color-accent);
    color: #fff !important;
}

.btn-accent:hover {
    background-color: var(--bg-light);
    color: var(--color-accent) !important;
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-light);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.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;
    font-family: var(--font-header);
    color: var(--color-primary);
}

/* 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;
    transition: 0.3s;
    background-color: var(--color-primary);
}

.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 {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 15px;
}

.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(--bg-light);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mobile-nav a {
    color: var(--color-primary);
    font-weight: 600;
}

/* Мобільна адаптація */
@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);
    }
}

/* HERO: fullscreen-center */
.hero-fullscreen {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 16px;
}

.hero-content {
    max-width: 800px;
    color: #fff;
}

.hero-content h1 {
    color: #fff;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: clamp(16px, 3vw, 20px);
    margin-bottom: 35px;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* benefits-3col */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-card {
    background-color: var(--bg-tint);
    padding: 35px 25px;
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-family: var(--font-header);
    font-size: 32px;
    color: var(--color-accent);
    margin-bottom: 15px;
    font-weight: 700;
}

/* checklist-block split-layout */
.split-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .split-layout-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.custom-checklist {
    list-style: none;
}

.custom-checklist li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.checkmark {
    color: var(--color-accent);
    font-weight: bold;
    font-size: 20px;
    line-height: 1;
}

/* expert-block */
.expert-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    background-color: var(--bg-tint);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

@media (min-width: 768px) {
    .expert-wrapper {
        grid-template-columns: 40% 60%;
    }
}

.expert-image-placeholder {
    min-height: 250px;
    background-size: cover;
    background-position: center;
}

.expert-info {
    padding: 40px;
}

.expert-quote {
    font-family: var(--font-header);
    font-size: clamp(18px, 3vw, 24px);
    font-style: italic;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.expert-author {
    font-weight: 700;
    margin-bottom: 2px;
}

.expert-title {
    font-size: 14px;
    color: var(--color-secondary);
}

/* cta-banner */
.cta-banner-section {
    padding: 60px 16px;
    color: #fff;
}

.cta-banner-section h2 {
    color: #fff;
    margin-bottom: 15px;
}

.cta-banner-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* stats-bar */
.stats-bar-section {
    background-color: var(--color-secondary);
    padding: 40px 16px;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    padding: 10px;
}

.stat-number {
    display: block;
    font-family: var(--font-header);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    opacity: 0.8;
}

/* Accordion program.html */
.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--bg-tint);
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.accordion-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

.accordion-header::-webkit-details-marker {
    display: none;
}

.accordion-header h3 {
    margin: 0;
    font-size: 18px;
}

.accordion-icon {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-accent);
}

.accordion-content {
    padding: 0 20px 20px;
    border-top: 1px solid rgba(0,0,0,0.03);
    margin-top: 10px;
}

/* FAQ grid */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.faq-card {
    background-color: var(--bg-light);
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.03);
}

.faq-card h4 {
    margin-bottom: 10px;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

/* Forms */
.custom-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
}

.form-group input, .form-group textarea {
    padding: 12px;
    border: 1px solid rgba(0,0,0,0.15);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--color-accent);
}

/* Footer layout (identical across pages) */
.site-footer {
    background-color: var(--color-secondary) !important;
    color: #FFFFFF !important;
    padding: 60px 16px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr repeat(3, 1fr);
    }
}

.footer-brand .footer-logo {
    display: block;
    font-family: var(--font-header);
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF !important;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #FFFFFF !important;
    opacity: 0.8;
}

.footer-grid h4 {
    color: #FFFFFF !important;
    margin-bottom: 20px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}

.footer-links a, .footer-legal a {
    color: #FFFFFF !important;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover, .footer-legal a:hover {
    opacity: 1;
}

.footer-contact p {
    color: #FFFFFF !important;
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-contact a {
    color: #FFFFFF !important;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #FFFFFF !important;
    opacity: 0.6;
}

/* 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-primary);
    color: #fff;
    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: #fff; text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }

.cookie-btn-accept {
    background-color: var(--color-accent);
    color: #fff;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-btn-decline {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 16px;
    cursor: pointer;
}

@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; }
}

/* Legal texts */
.legal-text-content h3 {
    margin-top: 30px;
    margin-bottom: 10px;
}

.legal-text-content p {
    margin-bottom: 15px;
}

.legal-text-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}