/* 
   PALETTE: Terracotta & Earthy (Warm, No Blue, No Green)
   Primary: #D35400 (Terracotta)
   Secondary: #78281F (Deep Brown/Red)
   Accent: #EDBB99 (Soft Peach)
   Background: #FDFEFE (Off-white)
   Text: #212121 (Dark Grey)
*/

:root {
    --primary-color: #D35400;
    --secondary-color: #78281F;
    --accent-color: #EDBB99;
    --bg-color: #FDFEFE;
    --bg-light: #F9EBEA;
    --text-main: #212121;
    --text-light: #5D6D7E;
    --white: #FFFFFF;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--secondary-color); color: var(--white); }
.bg-accent { background-color: var(--accent-color); color: var(--secondary-color); }
.shadow-medium { box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.shadow-heavy { box-shadow: 0 20px 40px rgba(120,40,31,0.15); }
.rounded-img { border-radius: 12px; }

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.bg-dark h1, .bg-dark h2, .bg-dark p {
    color: var(--white);
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}
.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}
.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-full { width: 100%; }

/* Header Layout (Strict Rules) */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    z-index: 100;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.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;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: 0.3s;
}

.menu-checkbox {
    display: none;
}

.desktop-nav {
    display: block;
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.desktop-nav a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 16px;
}

.desktop-nav a:hover {
    color: var(--primary-color);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--white);
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-light);
}

.mobile-nav a {
    color: var(--text-main);
    font-weight: 600;
    display: block;
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hamburger { display: block; }
    .mobile-nav { display: block; }

    #menu-toggle:checked ~ .mobile-nav {
        max-height: 400px;
    }

    #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 (Version 1) */
.hero-fullscreen {
    height: 90vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content-center {
    max-width: 800px;
}

.hero-subtitle {
    display: block;
    color: var(--accent-color);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-title {
    color: var(--white);
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 24px;
}

.hero-text {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* Split Section */
.context-split-section {
    padding: 80px 0;
}

.split-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .split-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.split-text p {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-light);
}

.link-arrow {
    font-weight: 600;
    font-size: 18px;
    display: inline-block;
    margin-top: 10px;
}

/* Benefits Grid (3 Columns) */
.benefits-section {
    padding: 80px 0;
}

.cards-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

@media (min-width: 768px) {
    .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border-bottom: 4px solid var(--primary-color);
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 22px;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
}

.quotes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .quotes-grid { grid-template-columns: 1fr 1fr; }
}

.quote-block {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    position: relative;
    border-left: 5px solid var(--primary-color);
}

.quote-block p {
    font-style: italic;
    font-size: 18px;
    margin-bottom: 20px;
}

.quote-block cite {
    font-weight: bold;
    color: var(--secondary-color);
    font-style: normal;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
}

.cta-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Header */
.page-header {
    padding: 80px 0;
}

.page-title {
    font-size: clamp(32px, 4vw, 48px);
}

/* Methodology Intro */
.methodology-intro {
    padding: 60px 0 20px;
}

.intro-box {
    background: var(--white);
    padding: 50px;
    border-radius: 16px;
    text-align: center;
    max-width: 900px;
    margin: -100px auto 0;
    position: relative;
    z-index: 10;
}

/* Vertical Timeline */
.timeline-section {
    padding: 60px 0 80px;
}

.vertical-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.vertical-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: var(--accent-color);
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    z-index: 2;
    border: 4px solid var(--white);
}

.timeline-content {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
}

/* Image Break */
.image-break-section {
    padding: 40px 0;
}

.full-width-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

/* Accordion FAQ */
.faq-section {
    padding: 80px 0;
}

.accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.accordion-title {
    padding: 20px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    color: var(--secondary-color);
    list-style: none;
    position: relative;
}

.accordion-title::-webkit-details-marker {
    display: none;
}

.accordion-title::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
}

details[open] .accordion-title::after {
    content: '-';
}

.accordion-content {
    padding: 0 20px 20px;
    color: var(--text-light);
}

/* Story Section */
.story-hero {
    height: 50vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.story-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(120, 40, 31, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-hero-overlay .page-title {
    color: var(--white);
}

.story-content {
    padding: 80px 20px;
}

.text-block-large {
    max-width: 800px;
    margin: 0 auto;
}

.text-block-large p {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--text-light);
}

/* Values Grid */
.values-section {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .values-grid { grid-template-columns: repeat(3, 1fr); }
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

/* Manifesto */
.manifesto-section {
    padding: 80px 0;
}

.manifesto-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.manifesto-quote {
    font-size: clamp(24px, 3vw, 32px);
    font-style: italic;
    color: var(--primary-color);
    line-height: 1.4;
    margin-top: 30px;
}

/* Contact Split Layout */
.contact-section {
    padding: 80px 0;
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

@media (min-width: 992px) {
    .contact-split {
        grid-template-columns: 60% 35%;
        justify-content: space-between;
    }
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
}

.form-desc {
    margin-bottom: 30px;
    color: var(--text-light);
}

.custom-form .form-group {
    margin-bottom: 20px;
}

.custom-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
}

.custom-form input,
.custom-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 16px;
}

.custom-form input:focus,
.custom-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.info-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
    height: 100%;
}

.info-list {
    list-style: none;
    margin: 30px 0;
}

.info-list li {
    margin-bottom: 20px;
    font-size: 16px;
}

.working-hours {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

/* Legal Pages */
.legal-section {
    padding: 80px 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 { margin-bottom: 10px; }
.legal-content h2 { margin-top: 40px; margin-bottom: 15px; font-size: 24px; }
.legal-content p, .legal-content ul { margin-bottom: 20px; color: var(--text-light); }
.legal-content ul { padding-left: 20px; }
.legal-content li { margin-bottom: 10px; }

/* Thank You Page */
.thank-you-section {
    padding: 100px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 16px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 30px;
}

.action-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Footer (Hardcoded Colors) */
.site-footer {
    background-color: #212121 !important;
    color: #FFFFFF !important;
    padding: 60px 0 20px;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .footer-container { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-logo {
    font-size: 28px;
    font-weight: bold;
    color: #D35400 !important;
    display: block;
    margin-bottom: 15px;
}

.footer-desc {
    color: #CCCCCC !important;
    font-size: 14px;
}

.footer-heading {
    color: #FFFFFF !important;
    font-size: 18px;
    margin-bottom: 20px;
}

.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: #CCCCCC !important;
    text-decoration: none;
}

.footer-links a:hover, .footer-legal a:hover {
    color: #D35400 !important;
}

.footer-contact-info {
    margin-top: 20px;
    color: #CCCCCC !important;
}

.footer-contact-info a {
    color: #D35400 !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid #333333 !important;
    color: #999999 !important;
    font-size: 14px;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    z-index: 9999;
    padding: 18px 24px;
    background-color: var(--secondary-color);
    color: var(--white);
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    flex-wrap: wrap; 
    gap: 16px;
    transform: translateY(0); 
    transition: transform 0.4s ease;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}

#cookie-banner.hidden { 
    transform: translateY(110%); 
}

#cookie-banner p { 
    margin: 0; 
    flex: 1; 
    min-width: 200px; 
    font-size: 14px;
}

#cookie-banner a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-btns { 
    display: flex; 
    gap: 10px; 
    flex-shrink: 0; 
    flex-wrap: wrap; 
}

.cookie-btn-accept, .cookie-btn-decline {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--white);
}

.cookie-btn-decline {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

@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; }
}