@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
    --primary: #1a6b5a;
    --primary-dark: #134f43;
    --primary-light: #2a8a73;
    --accent: #d4a843;
    --accent-light: #f0c966;
    --text-dark: #1c2b27;
    --text-mid: #3d5a52;
    --text-light: #6b8c82;
    --bg-main: #f5f9f7;
    --bg-card: #ffffff;
    --bg-section: #edf5f1;
    --border: #c2ddd6;
    --shadow-sm: 0 2px 12px rgba(26,107,90,0.10);
    --shadow-md: 0 6px 28px rgba(26,107,90,0.16);
    --shadow-lg: 0 14px 48px rgba(26,107,90,0.20);
    --radius: 14px;
    --radius-sm: 8px;
    --radius-lg: 22px;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-dark);
    background: var(--bg-main);
    line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 600; }
p { margin-bottom: 1.1em; }

/* ===== HEADER ===== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--bg-card);
    border-bottom: 2px solid var(--primary);
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
}

.site-header .container { display: flex; justify-content: space-between; align-items: center; }

.logo a { display: flex; align-items: center; gap: 10px; }
.logo img { height: 44px; width: auto; }
.logo span { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--primary); }

/* Burger */
#menu-toggle { display: none; }

.hamburger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 38px; height: 38px; cursor: pointer; padding: 4px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}
.hamburger:hover { background: var(--bg-section); }
.line {
    display: block; height: 2px; width: 100%;
    background: var(--primary); border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
#menu-toggle:checked ~ .hamburger .line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-toggle:checked ~ .hamburger .line:nth-child(2) { opacity: 0; }
#menu-toggle:checked ~ .hamburger .line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Desktop nav */
.navigation { display: none; }
.navigation ul { display: flex; gap: 32px; list-style: none; }
.navigation ul li a {
    font-weight: 500; font-size: 0.95rem; color: var(--text-mid);
    padding: 6px 0; border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.navigation ul li a:hover { color: var(--primary); border-bottom-color: var(--accent); }

/* Mobile nav */
.mobile-nav {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26,107,90,0.97);
    z-index: 98; padding-top: 80px;
    flex-direction: column; align-items: center; justify-content: center;
}
#menu-toggle:checked ~ .mobile-nav { display: flex; }

/* Close button inside mobile nav */
.mobile-nav-close {
    position: absolute; top: 18px; right: 20px;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transition: background 0.2s;
}
.mobile-nav-close:hover { background: rgba(255,255,255,0.25); }
.mobile-nav-close::before,
.mobile-nav-close::after {
    content: ''; position: absolute;
    width: 22px; height: 2px; background: #fff; border-radius: 2px;
}
.mobile-nav-close::before { transform: rotate(45deg); }
.mobile-nav-close::after  { transform: rotate(-45deg); }
.mobile-nav ul { list-style: none; text-align: center; }
.mobile-nav ul li { margin: 18px 0; }
.mobile-nav ul li a {
    color: #fff; font-size: 1.5rem; font-family: var(--font-display);
    font-weight: 600; letter-spacing: 0.02em;
    transition: color 0.2s;
}
.mobile-nav ul li a:hover { color: var(--accent-light); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 36px; border-radius: var(--radius);
    font-family: var(--font-body); font-weight: 600; font-size: 1rem;
    cursor: pointer; border: none; transition: all 0.25s;
    letter-spacing: 0.02em;
}
.btn-primary {
    background: var(--primary); color: #fff;
    box-shadow: 0 4px 18px rgba(26,107,90,0.35);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent {
    background: var(--accent); color: #fff;
    box-shadow: 0 4px 18px rgba(212,168,67,0.35);
}
.btn-accent:hover { background: #b8922e; transform: translateY(-2px); }
.btn-outline {
    background: transparent; color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-label {
    display: inline-block; font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--primary); background: rgba(26,107,90,0.1);
    padding: 5px 14px; border-radius: 30px; margin-bottom: 16px;
}
.section-title { color: var(--text-dark); margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; color: var(--text-light); max-width: 640px; line-height: 1.7; }
.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

.bg-section { background: var(--bg-section); }
.bg-dark { background: var(--primary-dark); }
.bg-dark * { color: #fff; }
.bg-dark .section-label { background: rgba(255,255,255,0.15); color: #fff; }

/* ===== HERO ===== */
.hero {
    min-height: 82vh; display: flex; align-items: center;
    position: relative; overflow: hidden;
    background-image: url('img/bg.jpg');
    background-size: cover; background-position: center;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(19,79,67,0.88) 0%, rgba(26,107,90,0.70) 60%, rgba(26,107,90,0.30) 100%);
}
.hero .container { position: relative; z-index: 1; max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.88); margin-bottom: 36px; max-width: 580px; line-height: 1.75; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px; padding: 8px 18px;
    font-size: 0.85rem; color: #fff; margin-bottom: 24px;
}
.hero-badge span { width: 8px; height: 8px; background: var(--accent-light); border-radius: 50%; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== CARDS ===== */
.cards-grid { display: grid; gap: 28px; }
.cards-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards-grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
    background: var(--bg-card); border-radius: var(--radius-lg);
    padding: 32px 28px; box-shadow: var(--shadow-sm);
    border: 1px solid var(--border); transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card-icon {
    width: 56px; height: 56px; border-radius: var(--radius);
    background: rgba(26,107,90,0.12); display: flex; align-items: center;
    justify-content: center; font-size: 1.6rem; margin-bottom: 20px;
}
.card h3 { margin-bottom: 12px; color: var(--primary-dark); }
.card p { color: var(--text-mid); margin: 0; }

/* ===== SPLIT SECTION ===== */
.split-section { display: grid; gap: 60px; align-items: center; }
.split-section.img-right { grid-template-columns: 1fr; }
.split-img {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.split-img img { width: 100%; height: 380px; object-fit: cover; }
.split-content .section-label { margin-bottom: 14px; }
.split-list { list-style: none; margin: 20px 0 28px; }
.split-list li {
    padding: 10px 0; padding-left: 28px; position: relative;
    color: var(--text-mid); border-bottom: 1px solid var(--border);
}
.split-list li:last-child { border-bottom: none; }
.split-list li::before {
    content: '✓'; position: absolute; left: 0;
    color: var(--primary); font-weight: 700;
}

/* ===== STEPS ===== */
.steps { display: grid; gap: 0; }
.step {
    display: grid; grid-template-columns: 60px 1fr; gap: 20px;
    padding: 28px 0; border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
    flex-shrink: 0;
}
.step-body h3 { margin-bottom: 8px; color: var(--primary-dark); }
.step-body p { color: var(--text-mid); margin: 0; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; gap: 24px; }
.testimonials-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.testimonial {
    background: var(--bg-card); border-radius: var(--radius-lg);
    padding: 32px 28px; box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
}
.testimonial-text { font-style: italic; color: var(--text-mid); margin-bottom: 20px; font-size: 1.02rem; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
    width: 46px; height: 46px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); color: #fff; font-size: 1.1rem; font-weight: 700;
}
.author-name { font-weight: 600; color: var(--text-dark); }
.author-role { font-size: 0.85rem; color: var(--text-light); }
.stars { color: var(--accent); font-size: 1rem; margin-bottom: 14px; }

/* ===== STATS ===== */
.stats-section {
    background-image: url('img/bg.jpg');
    background-size: cover; background-position: center;
    position: relative; padding: 80px 0;
}
.stats-section::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(19,79,67,0.85);
}
.stats-section .container { position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.stat-item { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--accent-light); line-height: 1; }
.stat-label { color: rgba(255,255,255,0.85); margin-top: 8px; font-size: 0.95rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border); border-radius: var(--radius);
    margin-bottom: 14px; overflow: hidden;
    background: var(--bg-card); box-shadow: var(--shadow-sm);
}
.faq-question {
    padding: 20px 24px; font-weight: 600; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    color: var(--text-dark); font-size: 1rem; user-select: none;
}
.faq-question:hover { color: var(--primary); }
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--primary); }
.faq-answer {
    padding: 0 24px; max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    color: var(--text-mid);
}
.faq-item:target .faq-answer,
.faq-item.open .faq-answer { max-height: 400px; padding: 0 24px 20px; }

/* ===== FORM ===== */
.form-section { background: var(--bg-section); }
.wide-form {
    max-width: 800px; margin: 0 auto;
    background: var(--bg-card); border-radius: var(--radius-lg);
    padding: 52px 48px; box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.form-grid { display: grid; gap: 22px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); letter-spacing: 0.02em; }
.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 18px; border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); font-family: var(--font-body);
    font-size: 1rem; color: var(--text-dark); background: var(--bg-main);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,107,90,0.12); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; text-align: center; padding: 16px; font-size: 1.05rem; }
.form-note { text-align: center; font-size: 0.83rem; color: var(--text-light); margin-top: 14px; }

/* ===== VALUES GRID ===== */
.values-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.value-card {
    text-align: center; padding: 36px 24px;
    background: var(--bg-card); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); border: 1px solid var(--border);
    transition: transform 0.25s;
}
.value-card:hover { transform: translateY(-4px); }
.value-icon { font-size: 2.4rem; margin-bottom: 18px; }
.value-card h3 { color: var(--primary-dark); margin-bottom: 10px; }
.value-card p { color: var(--text-mid); font-size: 0.95rem; margin: 0; }

/* ===== CONTACT INFO ===== */
.contact-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-bottom: 52px; }
.info-card {
    background: var(--bg-card); border-radius: var(--radius-lg);
    padding: 32px 24px; box-shadow: var(--shadow-sm);
    border: 1px solid var(--border); text-align: center;
}
.info-icon { font-size: 2rem; margin-bottom: 14px; }
.info-card h3 { color: var(--primary-dark); margin-bottom: 10px; }
.info-card p { color: var(--text-mid); margin: 0; }

/* ===== MANIFESTO ===== */
.manifesto-block {
    background: var(--primary-dark); color: #fff;
    border-radius: var(--radius-lg); padding: 60px 52px;
    position: relative; overflow: hidden; margin: 0 auto;
}
.manifesto-block::before {
    content: '"'; position: absolute; top: -30px; left: 24px;
    font-size: 16rem; color: rgba(255,255,255,0.05);
    font-family: var(--font-display); line-height: 1;
}
.manifesto-block blockquote {
    font-family: var(--font-display); font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    font-style: italic; line-height: 1.6; position: relative; z-index: 1;
    margin-bottom: 28px; color: rgba(255,255,255,0.95);
}
.manifesto-block cite { font-size: 0.9rem; color: var(--accent-light); font-style: normal; letter-spacing: 0.05em; }

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0; text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 580px; margin: 0 auto 36px; }

/* ===== MODULES ===== */
.module-card {
    background: var(--bg-card); border-radius: var(--radius-lg);
    padding: 40px 36px; box-shadow: var(--shadow-sm);
    border: 1px solid var(--border); margin-bottom: 28px;
    border-top: 5px solid var(--primary);
}
.module-num { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; color: var(--primary); text-transform: uppercase; margin-bottom: 8px; }
.module-card h3 { margin-bottom: 18px; }
.module-card p { color: var(--text-mid); }
.module-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.tag {
    background: rgba(26,107,90,0.1); color: var(--primary);
    border-radius: 20px; padding: 4px 14px; font-size: 0.82rem; font-weight: 500;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--primary-dark); color: rgba(255,255,255,0.8);
    padding: 60px 0 32px;
}
.footer-grid { display: grid; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; font-family: var(--font-display); margin-bottom: 18px; font-size: 1.1rem; }
.footer-col p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 8px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 24px; display: flex; flex-wrap: wrap; gap: 16px;
    justify-content: space-between; align-items: center; font-size: 0.85rem;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--accent-light); }

/* ===== COOKIE BANNER ===== */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background: var(--primary-dark);
    border-top: 3px solid var(--accent);
    padding: 18px 24px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
    transform: translateY(0); transition: transform 0.4s ease;
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p {
    color: rgba(255,255,255,0.88); font-size: 0.9rem;
    margin: 0; flex: 1; min-width: 200px; line-height: 1.5;
}
#cookie-banner p a { color: var(--accent-light); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept {
    background: var(--accent); color: #fff;
    border: none; border-radius: var(--radius-sm);
    padding: 10px 24px; font-size: 0.9rem; font-weight: 600;
    cursor: pointer; transition: background 0.2s;
}
.cookie-btn-accept:hover { background: #b8922e; }
.cookie-btn-decline {
    background: transparent; color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.3); border-radius: var(--radius-sm);
    padding: 10px 18px; font-size: 0.9rem; font-weight: 500;
    cursor: pointer; transition: all 0.2s;
}
.cookie-btn-decline:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

@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; }
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
    .hamburger { display: none; }
    .navigation { display: block; }
    .split-section.img-right { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (max-width: 767px) {
    section { padding: 52px 0; }
    .wide-form { padding: 32px 22px; }
    .form-row-2 { grid-template-columns: 1fr; }
    .manifesto-block { padding: 40px 28px; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; text-align: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}