@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary: #7c3aaa;
    --primary-dark: #5b2080;
    --primary-light: #9d56c9;
    --accent: #f0a500;
    --accent-light: #ffd166;
    --text-dark: #1e1028;
    --text-mid: #4a3060;
    --text-light: #8a6ea8;
    --bg-main: #faf7fd;
    --bg-card: #ffffff;
    --bg-section: #f3eefa;
    --border: #ddd0ee;
    --shadow-sm: 0 2px 16px rgba(124,58,170,0.08);
    --shadow-md: 0 8px 32px rgba(124,58,170,0.16);
    --shadow-lg: 0 18px 56px rgba(124,58,170,0.20);
    --radius: 20px;
    --radius-sm: 12px;
    --radius-lg: 28px;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', 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.72; }
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; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); 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: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 14px 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: 42px; width: auto; }

#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); }

.navigation { display: none; }
.navigation ul { display: flex; gap: 30px; list-style: none; }
.navigation ul li a { font-weight: 500; font-size: 0.94rem; color: var(--text-mid); padding: 6px 14px; border-radius: var(--radius-sm); transition: background 0.2s, color 0.2s; }
.navigation ul li a:hover { background: var(--bg-section); color: var(--primary); }

.mobile-nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(91,32,128,0.97); z-index: 98; padding-top: 80px; flex-direction: column; align-items: center; justify-content: center; }
#menu-toggle:checked ~ .mobile-nav { display: flex; }
.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; 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; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 20px rgba(124,58,170,0.38); }
.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(240,165,0,0.38); }
.btn-accent:hover { background: #c98900; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); border-radius: var(--radius); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* SECTIONS */
section { padding: 84px 0; }
.section-label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); background: rgba(124,58,170,0.1); padding: 6px 16px; border-radius: 30px; margin-bottom: 16px; }
.section-title { color: var(--text-dark); margin-bottom: 16px; }
.section-subtitle { font-size: 1.08rem; color: var(--text-light); max-width: 640px; line-height: 1.72; }
.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); }

/* HERO */
.hero { min-height: 88vh; 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(130deg, rgba(91,32,128,0.93) 0%, rgba(124,58,170,0.78) 50%, rgba(124,58,170,0.30) 100%); }
.hero .container { position: relative; z-index: 1; max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero p { font-size: 1.12rem; color: rgba(255,255,255,0.90); margin-bottom: 36px; max-width: 580px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.14); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.28); border-radius: 30px; padding: 8px 18px; font-size: 0.85rem; color: var(--accent-light); margin-bottom: 22px; font-weight: 500; }
.hero-badge span { width: 7px; height: 7px; background: var(--accent-light); border-radius: 50%; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* CARDS */
.cards-grid { display: grid; gap: 26px; }
.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(124,58,170,0.1); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 20px; }
.card h3 { margin-bottom: 10px; color: var(--primary-dark); }
.card p { color: var(--text-mid); margin: 0; }

/* SPLIT */
.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: 400px; object-fit: cover; }
.split-list { list-style: none; margin: 20px 0 28px; }
.split-list li { padding: 11px 0 11px 30px; 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-size: 0.75rem; top: 14px; }

/* STEPS */
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 64px 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: linear-gradient(135deg, var(--primary), var(--primary-light)); 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; box-shadow: 0 4px 14px rgba(124,58,170,0.3); }
.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 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); position: relative; }
.testimonial::before { content: '"'; position: absolute; top: 12px; right: 20px; font-family: var(--font-display); font-size: 5rem; color: rgba(124,58,170,0.08); line-height: 1; }
.testimonial-text { font-style: italic; color: var(--text-mid); margin-bottom: 20px; font-size: 1rem; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); color: #fff; font-size: 1rem; font-weight: 700; }
.author-name { font-weight: 600; color: var(--text-dark); }
.author-role { font-size: 0.83rem; 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(91,32,128,0.88); }
.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.92rem; }

/* 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.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.89rem; color: var(--text-dark); }
.form-group input, .form-group textarea { 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(124,58,170,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.82rem; color: var(--text-light); margin-top: 14px; }

/* VALUES */
.values-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.value-card { text-align: center; padding: 36px 22px; 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.94rem; margin: 0; }

/* CONTACT */
.contact-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; margin-bottom: 52px; }
.info-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 32px 22px; 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: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: #fff; border-radius: var(--radius-lg); padding: 64px 56px; position: relative; overflow: hidden; max-width: 900px; margin: 0 auto; box-shadow: var(--shadow-lg); }
.manifesto-block::before { content: '"'; position: absolute; top: -20px; right: 40px; font-size: 16rem; color: rgba(255,255,255,0.06); font-family: var(--font-display); line-height: 1; }
.manifesto-block blockquote { font-family: var(--font-display); font-size: clamp(1.2rem, 2.5vw, 1.75rem); font-style: italic; line-height: 1.6; position: relative; z-index: 1; margin-bottom: 26px; color: rgba(255,255,255,0.96); }
.manifesto-block cite { font-size: 0.88rem; color: var(--accent-light); font-style: normal; letter-spacing: 0.06em; }

/* 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: 26px; }
.module-card::before { content: ''; display: block; width: 60px; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 2px; margin-bottom: 20px; }
.module-num { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; color: var(--primary); text-transform: uppercase; margin-bottom: 8px; }
.module-card h3 { margin-bottom: 16px; }
.module-card p { color: var(--text-mid); }
.module-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.tag { background: rgba(124,58,170,0.08); color: var(--primary); border-radius: 20px; padding: 4px 14px; font-size: 0.8rem; font-weight: 500; }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 84px 0; text-align: center; }
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.86); font-size: 1.1rem; max-width: 560px; margin: 0 auto 36px; }

/* 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: 6px; }
.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: 22px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 0.84rem; }
.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: #c98900; }
.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; cursor: pointer; transition: all 0.2s; }
.cookie-btn-decline:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

/* 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 18px; }
    .form-row-2 { grid-template-columns: 1fr; }
    .manifesto-block { padding: 40px 26px; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; text-align: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@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; }
}