/* Earthy Palette: Brown, Beige, Terracotta, Warm Sand */
:root {
    --primary-color: #8B5A2B; /* Saddle Brown */
    --secondary-color: #D2B48C; /* Tan */
    --accent-color: #CD853F; /* Peru */
    --bg-light: #FDF5E6; /* Old Lace / Warm Beige */
    --bg-dark: #3E2723; /* Dark Brown */
    --text-main: #4E342E; /* Deep Brown Text */
    --text-light: #FFFFFF;
    --border-color: #E0D4C8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container, .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Layout */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.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: 700;
    z-index: 100;
    color: var(--secondary-color);
    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;
    margin: 5px 0;
    background-color: var(--text-light);
    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 ease;
}

.desktop-nav a:hover {
    color: var(--secondary-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(--bg-dark);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

@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);
    }
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 14px 28px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: var(--accent-color);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 26px;
    font-size: 16px;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Typography & Headings */
.section-title {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-heading-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.section-desc {
    font-size: 18px;
    color: var(--text-main);
}

/* UNIQUE HERO: Floating Card */
.hero-floating-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 60px 20px;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-floating-card {
    background-color: rgba(253, 245, 230, 0.95);
    max-width: 600px;
    padding: 50px 40px;
    margin-left: 10%;
    border-left: 8px solid var(--primary-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.hero-title {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--bg-dark);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.hero-text {
    margin-bottom: 30px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .hero-floating-card {
        margin-left: 0;
        padding: 30px 20px;
    }
}

/* UNIQUE SECTION: Asymmetrical Grid */
.asym-benefits-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.asym-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.asym-card {
    background-color: #fff;
    padding: 30px;
    border-top: 4px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.card-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card-text {
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .asym-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .card-large {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .asym-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto;
    }
    .card-large {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }
    .card-small {
        grid-column: 3 / 4;
    }
    .card-medium {
        grid-column: span 1;
    }
}

/* UNIQUE SECTION: Overlap Info */
.overlap-info-section {
    padding: 100px 0;
    background-color: #fff;
}

.overlap-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
}

.overlap-image-box {
    width: 100%;
}

.overlap-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.overlap-content-box {
    background-color: var(--bg-light);
    padding: 40px;
    margin-top: -50px;
    width: 90%;
    align-self: flex-end;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.content-text {
    margin-bottom: 20px;
}

.custom-list {
    list-style: none;
    margin-top: 20px;
}

.custom-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.custom-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

@media (min-width: 992px) {
    .overlap-wrapper {
        flex-direction: row;
        align-items: center;
    }
    .overlap-image-box {
        width: 60%;
    }
    .overlap-img {
        height: 500px;
    }
    .overlap-content-box {
        width: 50%;
        margin-top: 0;
        margin-left: -10%;
        align-self: center;
    }
}

/* UNIQUE SECTION: Masonry Testimonials */
.masonry-testimonials-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.masonry-grid {
    display: column;
    column-count: 1;
    column-gap: 30px;
}

.masonry-item {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 30px;
    break-inside: avoid;
    border-left: 4px solid var(--accent-color);
}

.quote-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.quote-author {
    font-weight: bold;
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .masonry-grid {
        column-count: 2;
    }
}

/* Page Headers */
.page-header-section {
    background-color: var(--secondary-color);
    padding: 80px 0;
    text-align: center;
    color: var(--bg-dark);
}

.page-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
}

/* UNIQUE SECTION: 2x3 Grid Modules */
.modules-grid-section {
    padding: 80px 0;
    background-color: #fff;
}

.grid-2x3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.module-box {
    background-color: var(--bg-light);
    padding: 40px 30px;
    position: relative;
    transition: transform 0.3s ease;
}

.module-box:hover {
    transform: translateY(-5px);
}

.module-number {
    font-size: 60px;
    font-weight: bold;
    color: rgba(205, 133, 63, 0.2);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.module-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.module-text {
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .grid-2x3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-2x3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Stats Image Section */
.stats-image-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.stats-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.stats-content .section-title {
    color: var(--secondary-color);
}

.stats-counters {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    flex: 1;
    min-width: 120px;
}

.stat-num {
    display: block;
    font-size: 40px;
    font-weight: bold;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.responsive-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 10px solid rgba(255,255,255,0.1);
}

@media (min-width: 992px) {
    .stats-wrapper {
        flex-direction: row;
        align-items: center;
    }
    .stats-content {
        flex: 1;
        padding-right: 40px;
    }
    .stats-image {
        flex: 1;
    }
}

/* CTA Center */
.cta-center-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--bg-light);
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.cta-box p {
    margin-bottom: 30px;
    font-size: 18px;
}

/* Values Grid */
.values-grid-section {
    padding: 80px 0;
    background-color: #fff;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.value-item {
    text-align: center;
    padding: 30px;
}

.value-icon {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    color: var(--bg-dark);
    font-size: 36px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px auto;
}

.value-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Manifesto Section */
.manifesto-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.manifesto-layout {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.manifesto-text {
    flex: 1;
}

.manifesto-image-container {
    flex: 1;
    position: relative;
}

.manifesto-img {
    width: 100%;
    height: auto;
    box-shadow: -15px 15px 0 var(--secondary-color);
}

.image-caption {
    margin-top: 25px;
    font-style: italic;
    color: #666;
    text-align: right;
}

@media (min-width: 992px) {
    .manifesto-layout {
        flex-direction: row;
        align-items: center;
    }
}

/* Contact Split Section */
.contact-split-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.contact-heading {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.contact-text {
    margin-bottom: 30px;
}

.info-block {
    margin-bottom: 25px;
}

.info-title {
    font-size: 18px;
    color: var(--bg-dark);
    margin-bottom: 5px;
}

.info-detail {
    color: #555;
}

.contact-link {
    color: var(--accent-color);
    font-weight: bold;
}

.custom-form {
    background-color: var(--bg-light);
    padding: 40px;
    max-width: 800px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--bg-dark);
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    background-color: #fff;
    font-family: inherit;
    font-size: 16px;
}

.form-textarea {
    height: 150px;
    resize: vertical;
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px 30px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: var(--bg-dark);
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

/* Legal Pages */
.legal-section {
    padding: 80px 0;
    background-color: #fff;
}

.legal-title {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h3 {
    font-size: 24px;
    color: var(--bg-dark);
    margin: 30px 0 15px 0;
}

.legal-content p {
    margin-bottom: 15px;
}

/* Thank You Page */
.thank-you-section {
    padding: 100px 0;
    text-align: center;
    background-color: #fff;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-box {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-light);
    padding: 50px;
    border-top: 5px solid var(--primary-color);
}

.thank-title {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.thank-text {
    font-size: 18px;
    margin-bottom: 30px;
}

.next-steps {
    text-align: left;
    margin-bottom: 40px;
    padding: 20px;
    background-color: #fff;
}

.next-steps h3 {
    margin-bottom: 15px;
    color: var(--bg-dark);
}

.next-steps a {
    color: var(--accent-color);
    font-weight: bold;
}

/* Footer */
.site-footer {
    background-color: #3E2723 !important;
    color: #FFFFFF !important;
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #D2B48C !important;
}

.footer-desc {
    color: #E0D4C8 !important;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #FFFFFF !important;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #D2B48C !important;
}

.footer-contact {
    margin-bottom: 10px;
    color: #E0D4C8 !important;
}

.footer-contact a {
    color: #FFFFFF !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #E0D4C8 !important;
    font-size: 14px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 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: #2C1E16;
    color: #fff;
    transform: translateY(0);
    transition: transform 0.4s ease;
    border-top: 3px solid var(--accent-color);
}

#cookie-banner.hidden {
    transform: translateY(110%);
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    font-size: 14px;
}

#cookie-banner a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn-accept {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 20px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-btn-decline {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
    padding: 8px 20px;
    cursor: pointer;
}

@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;
    }
}