@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --primary: #c0552a;
    --primary-dark: #8f3d1c;
    --primary-light: #d96b3f;
    --accent: #e8b84b;
    --accent-light: #f5d080;
    --text-dark: #2a1a10;
    --text-mid: #5c3d2e;
    --text-light: #9e7560;
    --bg-main: #fdf8f4;
    --bg-card: #ffffff;
    --bg-section: #f7ede4;
    --border: #e8d0c0;
    --shadow-sm: 0 2px 14px rgba(192,85,42,0.09);
    --shadow-md: 0 6px 30px rgba(192,85,42,0.17);
    --shadow-lg: 0 16px 52px rgba(192,85,42,0.22);
    --radius: 6px;
    --radius-sm: 4px;
    --radius-lg: 12px;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', 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; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.7rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.55rem); font-weight: 600; }
p { margin-bottom: 1.1em; }

/* HEADER */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--bg-card);
    border-bottom: 3px solid var(--primary);
    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.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 {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(143,61,28,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; letter-spacing: 0.02em; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 18px rgba(192,85,42,0.35); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: #2a1a10; box-shadow: 0 4px 18px rgba(232,184,75,0.4); }
.btn-accent:hover { background: var(--accent-light); 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: 84px 0; }
.section-label { display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); background: rgba(192,85,42,0.1); padding: 5px 14px; border-radius: 0; margin-bottom: 16px; border-left: 3px solid var(--primary); }
.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); }

/* HERO */
.hero { min-height: 85vh; 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(120deg, rgba(143,61,28,0.92) 0%, rgba(192,85,42,0.75) 55%, rgba(192,85,42,0.25) 100%); }
.hero .container { position: relative; z-index: 1; max-width: 740px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero p { font-size: 1.12rem; color: rgba(255,255,255,0.9); margin-bottom: 34px; max-width: 560px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.25); border-radius: 0; padding: 8px 16px; font-size: 0.85rem; color: var(--accent-light); margin-bottom: 22px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.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: 30px 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: transform 0.25s, box-shadow 0.25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon { width: 52px; height: 52px; border-radius: var(--radius); background: rgba(192,85,42,0.1); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; color: var(--primary-dark); }
.card p { color: var(--text-mid); margin: 0; }

/* SPLIT */
.split-section { display: grid; gap: 56px; 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-list { list-style: none; margin: 20px 0 28px; }
.split-list li { padding: 10px 0 10px 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: 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: var(--radius); background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.4rem; 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: 22px; }
.testimonials-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.testimonial { background: var(--bg-card); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--primary); }
.testimonial-text { font-style: italic; color: var(--text-mid); margin-bottom: 18px; font-size: 1rem; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: var(--radius); 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: 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: 12px; }

/* 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(143,61,28,0.87); }
.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: 3.2rem; 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: 12px; overflow: hidden; background: var(--bg-card); }
.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: 20px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-weight: 600; font-size: 0.88rem; color: var(--text-dark); letter-spacing: 0.03em; text-transform: uppercase; }
.form-group input, .form-group textarea { padding: 13px 16px; 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(192,85,42,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: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.value-card { text-align: center; padding: 34px 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.2rem; margin-bottom: 16px; }
.value-card h3 { color: var(--primary-dark); margin-bottom: 10px; }
.value-card p { color: var(--text-mid); font-size: 0.94rem; margin: 0; }

/* CONTACT INFO */
.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: 30px 22px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); text-align: center; }
.info-icon { font-size: 2rem; margin-bottom: 12px; }
.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; max-width: 900px; margin: 0 auto; }
.manifesto-block::before { content: '"'; position: absolute; top: -40px; left: 20px; font-size: 18rem; color: rgba(255,255,255,0.04); font-family: var(--font-display); line-height: 1; }
.manifesto-block blockquote { font-family: var(--font-display); font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-style: italic; line-height: 1.55; position: relative; z-index: 1; margin-bottom: 24px; color: rgba(255,255,255,0.95); }
.manifesto-block cite { font-size: 0.88rem; color: var(--accent-light); font-style: normal; letter-spacing: 0.06em; }

/* MODULE */
.module-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 38px 34px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); margin-bottom: 26px; border-left: 5px solid var(--primary); }
.module-num { font-size: 0.78rem; font-weight: 700; 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(192,85,42,0.09); color: var(--primary); border-radius: 0; padding: 4px 12px; font-size: 0.8rem; font-weight: 500; }

/* 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: 560px; margin: 0 auto 34px; }

/* 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: 16px; 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: var(--text-dark); 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: var(--accent-light); }
.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; }

/* 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: 30px 18px; }
    .form-row-2 { grid-template-columns: 1fr; }
    .manifesto-block { padding: 38px 24px; }
    .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; }
}