/* 
   Palette: Earthy Terracotta & Warm Sand
   Colors: #8B4513 (SaddleBrown), #D2B48C (Tan), #FFF8DC (Cornsilk), #A0522D (Sienna), #3E2723 (Dark Brown)
*/

:root {
    --primary-color: #A0522D;
    --secondary-color: #8B4513;
    --accent-color: #D2B48C;
    --bg-light: #FFF8DC;
    --text-dark: #3E2723;
    --text-light: #FFF8DC;
    --white: #FFFFFF;
    --border-color: rgba(139, 69, 19, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
p { margin-bottom: 1.2rem; }

/* Buttons */
.btn-primary, .btn-secondary, .btn-submit {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary, .btn-submit {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover, .btn-submit:hover {
    background-color: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Header Layout (Strict Template) */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--white);
    box-shadow: 0 2px 10px 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 {
    font-size: 24px;
    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(--primary-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 {
    font-weight: 500;
    transition: color 0.3s;
}

.desktop-nav a:hover {
    color: var(--primary-color);
}

.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(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

@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); }
}

/* Floating Hero Section (V3 Unique) */
.hero-floating {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 60px 20px;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(62, 39, 35, 0.9), rgba(62, 39, 35, 0.4));
}

.hero-card-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-content-card {
    background-color: var(--bg-light);
    padding: 50px;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border-left: 8px solid var(--primary-color);
}

.hero-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-content-card { padding: 30px 20px; }
}

/* Asymmetrical Grid Section (V3 Unique) */
.asym-benefits-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.asym-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.asym-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.asym-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .asym-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .card-large { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
    .asym-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto auto;
    }
    .card-large { grid-column: 1 / 3; grid-row: 1 / 2; }
    .card-tall { grid-column: 3 / 4; grid-row: 1 / 3; }
    .card-small:nth-child(3) { grid-column: 4 / 5; grid-row: 1 / 2; }
    .card-small:nth-child(4) { grid-column: 4 / 5; grid-row: 2 / 3; }
    .card-wide { grid-column: 1 / 3; grid-row: 2 / 3; }
}

/* Overlap Split Section (V3 Unique) */
.overlap-split-section {
    padding: 100px 0;
    background-color: var(--accent-color);
}

.overlap-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.overlap-image-box {
    position: relative;
}

.overlap-img {
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.overlap-content-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.custom-list {
    list-style: none;
    margin-top: 20px;
}

.custom-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.custom-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

@media (min-width: 992px) {
    .overlap-wrapper {
        grid-template-columns: 5fr 6fr;
    }
    .overlap-content-box {
        margin-left: -80px;
        position: relative;
        z-index: 2;
    }
}

/* Accordion FAQ */
.faq-accordion-section {
    padding: 80px 0;
}

.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--white);
}

.accordion-toggle {
    display: none;
}

.accordion-header {
    display: block;
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    color: var(--secondary-color);
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.accordion-toggle:checked ~ .accordion-content {
    max-height: 500px;
    padding-bottom: 20px;
}

.accordion-toggle:checked ~ .accordion-header::after {
    transform: rotate(45deg);
}

/* Simple Page Header */
.page-header-simple {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.page-header-simple h1 {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Module Grid Section (V3 Unique) */
.module-grid-section {
    padding: 80px 0;
}

.intro-text-block {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.1rem;
}

.six-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.module-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.module-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    opacity: 0.5;
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
}

@media (min-width: 768px) {
    .six-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .six-card-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Parallax Banner */
.parallax-banner {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.parallax-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    z-index: 1;
}

.parallax-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(62, 39, 35, 0.7);
    z-index: 2;
}

.parallax-content {
    position: relative;
    z-index: 3;
    padding: 0 20px;
    max-width: 800px;
}

.parallax-content h2 {
    color: var(--white);
}

/* Values Grid Section */
.values-grid-section {
    padding: 80px 0;
    background-color: var(--white);
}

.values-intro {
    max-width: 800px;
    margin: 0 auto 50px;
}

.core-values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.value-box {
    text-align: center;
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .core-values-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Manifesto Section */
.manifesto-section {
    padding: 80px 0;
}

.manifesto-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.rounded-img {
    border-radius: 50% 50% 0 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .manifesto-layout { grid-template-columns: 1fr 1fr; }
}

/* Contact Split Section */
.contact-split-section {
    padding: 80px 0;
}

.contact-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.info-details {
    margin-top: 30px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.info-row {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.contact-form-panel {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.custom-form .form-group {
    margin-bottom: 20px;
}

.custom-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.custom-form input, .custom-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
}

.custom-form input:focus, .custom-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

@media (min-width: 768px) {
    .contact-grid-layout { grid-template-columns: 1fr 1fr; }
}

/* Legal Pages */
.legal-section {
    padding: 80px 0;
    background-color: var(--white);
}

.legal-container {
    max-width: 800px;
}

.legal-content h2 {
    margin-top: 40px;
    font-size: 1.5rem;
}

/* Thank You Page */
.thank-you-section {
    padding: 100px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.text-center {
    text-align: center;
}

.thank-you-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.thank-you-text {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
}

.action-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Footer (Strict Rules) */
.site-footer {
    background-color: #3E2723 !important;
    color: #FFF8DC !important;
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #D2B48C !important;
    display: block;
    margin-bottom: 15px;
}

.footer-desc {
    color: #FFF8DC !important;
    opacity: 0.8;
}

.footer-title {
    color: #D2B48C !important;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}

.footer-links a, .footer-legal a, .footer-contact a {
    color: #FFF8DC !important;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover, .footer-legal a:hover, .footer-contact a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-contact p {
    color: #FFF8DC !important;
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,248,220,0.2);
    text-align: center;
}

.footer-bottom p {
    color: #FFF8DC !important;
    opacity: 0.6;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

/* 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;
    background-color: #3E2723;
    color: #FFF8DC;
    transform: translateY(0); 
    transition: transform 0.4s ease;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
}

#cookie-banner.hidden { 
    transform: translateY(110%); 
}

#cookie-banner p { 
    margin: 0; 
    flex: 1; 
    min-width: 200px; 
    font-size: 0.9rem;
}

#cookie-banner a {
    color: #D2B48C;
    text-decoration: underline;
}

.cookie-btns { 
    display: flex; 
    gap: 10px; 
    flex-shrink: 0; 
    flex-wrap: wrap; 
}

.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-btn-accept {
    background-color: #A0522D;
    color: #FFF8DC;
}

.cookie-btn-decline {
    background-color: transparent;
    color: #FFF8DC;
    border: 1px solid #FFF8DC;
}

@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; }
}