/* 
Color Palette Name: espresso-amber
Primary: #2C1810 (Dark Espresso)
Secondary: #4A2E20 (Medium Brown)
Accent: #D4900A (Warm Amber)
Tint/Light BG: #FBF6F0 (Cream/Alabaster)
Design Style: corporate-clean
Border Style: pill
Shadow Style: dramatic
Color Mode: mixed (Alternating dark and light sections, Dark Footer)
*/

:root {
    --color-primary: #2C1810;
    --color-secondary: #4A2E20;
    --color-accent: #D4900A;
    --bg-tint: #FBF6F0;
    --bg-dark: #2C1810;
    --bg-light: #FBF6F0;
    --text-dark: #2C1810;
    --text-light: #FBF6F0;
    --text-muted: #7E6B62;
    
    /* Pill Design System Borders */
    --border-radius-btn: 50px;
    --border-radius-card: 32px;
    --border-radius-badge: 999px;
    --border-radius-input: 50px;
    
    /* Dramatic Shadows */
    --shadow-dramatic: 0 24px 64px rgba(44, 24, 16, 0.18);
    --shadow-hover: 0 32px 80px rgba(44, 24, 16, 0.28);
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Mobile-First Setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Scale (Responsive clamp) */
h1, .page-title {
    font-size: clamp(28px, 6vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

h2, .section-title {
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

h3 {
    font-size: clamp(20px, 4vw, 24px);
    font-weight: 700;
    margin-bottom: 12px;
}

h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

p {
    margin-bottom: 16px;
    font-size: clamp(14px, 3.5vw, 16px);
    color: inherit;
    opacity: 0.9;
}

.lead-text {
    font-size: clamp(16px, 4vw, 19px);
    max-width: 800px;
    margin: 0 auto 24px;
}

/* Mixed Color Mode Alternations */
.light-section {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 60px 0;
    border-bottom: 1px solid rgba(44, 24, 16, 0.1);
}

.dark-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0;
    border-bottom: 1px solid rgba(251, 246, 240, 0.1);
}

/* Badges & Lines (Corporate Clean Accentuation) */
.badge {
    display: inline-block;
    padding: 6px 18px;
    background-color: var(--color-accent);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius-badge);
    margin-bottom: 15px;
}

.section-tag {
    display: block;
    color: var(--color-accent);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.accent-line {
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    margin: 15px auto 40px;
    border-radius: var(--border-radius-badge);
}

.accent-line-left {
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    margin: 15px 0 30px;
    border-radius: var(--border-radius-badge);
}

.text-center {
    text-align: center;
}

/* Buttons (Pill-shaped) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 15px;
    border-radius: var(--border-radius-btn);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
    min-height: 48px;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--color-primary);
}

.btn-block {
    width: 100%;
}

/* HEADER STYLE (Burger-menu checklist template) */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--color-primary);
    border-bottom: 1px solid rgba(251, 246, 240, 0.1);
}

.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: 800;
    color: var(--color-accent);
    z-index: 100;
}

.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(--text-light);
    margin: 5px 0;
    transition: 0.3s;
}

.menu-checkbox {
    display: none;
}

.desktop-nav {
    display: block;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.desktop-nav .nav-list a {
    color: var(--text-light);
    font-weight: 600;
    font-size: 15px;
}

.desktop-nav .nav-list a:hover {
    color: var(--color-accent);
}

.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(--color-primary);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(251, 246, 240, 0.1);
}

.mobile-nav a {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
}

/* INDEX: HERO ASYMMETRIC LAYOUT */
.hero-asymmetric {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text-block {
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.hero-image-block {
    position: relative;
    width: 100%;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
}

/* INDEX: BENEFITS GRID (3 Columns) */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.benefit-card {
    background-color: var(--bg-tint);
    border: 1px solid rgba(44, 24, 16, 0.08);
    padding: 40px 30px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-accent);
}

.card-icon {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 20px;
}

/* INDEX: COMPARISON TABLE (Corporate Clean Style) */
.table-wrapper {
    overflow-x: auto;
    margin-top: 30px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-tint);
    color: var(--text-dark);
    text-align: left;
    min-width: 600px;
}

.comparison-table th, .comparison-table td {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(44, 24, 16, 0.1);
}

.comparison-table th {
    background-color: var(--color-secondary);
    color: var(--text-light);
    font-weight: 700;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* INDEX: GALLERY GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: var(--border-radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-dramatic);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(44, 24, 16, 0.9));
    padding: 20px;
    color: var(--text-light);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.placeholder-item {
    background-color: var(--color-secondary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.placeholder-icon {
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
}

/* INDEX: CHECKLIST BLOCK */
.checklist-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.checklist-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.check-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background-color: var(--color-accent);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* INDEX: FAQ ACCORDION */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-tint);
    border: 1px solid rgba(44, 24, 16, 0.08);
    border-radius: var(--border-radius-card);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-dramatic);
    transition: var(--transition-smooth);
}

.faq-question {
    padding: 24px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    list-style: none;
    outline: none;
    position: relative;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--color-accent);
}

.faq-item[open] .faq-question::after {
    content: "−";
}

.faq-answer {
    padding: 0 24px 24px;
    border-top: 1px solid rgba(44, 24, 16, 0.08);
}

/* PROGRAM: HORIZONTAL TABS (Pure CSS Layout) */
.tabs {
    display: flex;
    flex-direction: column;
}

.tabs-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.tabs-nav label {
    background-color: var(--color-secondary);
    color: var(--text-light);
    padding: 16px;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
    border-radius: var(--border-radius-btn);
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

input[name="tabs"]:checked + .tabs-nav label {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

/* Hide inputs and sections by default */
input[name="tabs"] {
    display: none;
}

.tab-panel {
    display: none;
    background-color: var(--bg-tint);
    color: var(--text-dark);
    padding: 40px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
}

#t1:checked ~ #p1,
#t2:checked ~ #p2,
#t3:checked ~ #p3,
#t4:checked ~ #p4 {
    display: block;
}

/* Active tab state mechanics */
#t1:checked ~ .tabs-nav label[for="t1"],
#t2:checked ~ .tabs-nav label[for="t2"],
#t3:checked ~ .tabs-nav label[for="t3"],
#t4:checked ~ .tabs-nav label[for="t4"] {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.tab-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

.tab-img-element {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
}

/* PROGRAM: STATS GRID */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--bg-tint);
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
}

.stat-number {
    display: block;
    font-size: 56px;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

/* MISSION: STORY & VALUE GRIDS */
.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.story-img-element {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.value-card {
    background-color: var(--color-secondary);
    color: var(--text-light);
    padding: 40px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
    border: 1px solid rgba(251, 246, 240, 0.08);
}

/* CONTACT: FORM & DETAILS */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-form-block {
    background-color: var(--bg-tint);
    color: var(--text-dark);
    padding: 40px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-dramatic);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 16px 24px;
    border-radius: var(--border-radius-input);
    border: 1px solid rgba(44, 24, 16, 0.15);
    background-color: #ffffff;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: var(--transition-smooth);
}

.contact-form textarea {
    border-radius: 24px;
    resize: none;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(212, 144, 10, 0.15);
}

.contact-info-block {
    color: var(--text-light);
}

.info-intro {
    margin-bottom: 30px;
}

.info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 24px;
    color: var(--color-accent);
}

/* LEGAL PAGES & THANK YOU */
.legal-date {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.legal-text-block h3 {
    margin-top: 30px;
}

.thank-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 20px;
}

.next-steps-block {
    margin: 40px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.step-card {
    background-color: var(--bg-tint);
    border-radius: var(--border-radius-card);
    padding: 30px;
    box-shadow: var(--shadow-dramatic);
}

.step-link {
    color: var(--color-accent);
    font-weight: 700;
}

/* FOOTER SECTION (Corporate Clean & High Contrast Protection) */
.site-footer {
    background-color: #2C1810 !important;
    color: #FBF6F0 !important;
    padding: 60px 0 20px;
    border-top: 2px solid #D4900A;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-brand .footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: #D4900A !important;
    display: block;
    margin-bottom: 15px;
}

.footer-brand p {
    opacity: 0.8;
}

.site-footer h4 {
    color: #D4900A !important;
    margin-bottom: 20px;
    font-size: 18px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
}

.site-footer li {
    margin-bottom: 12px;
}

.site-footer a {
    color: #FBF6F0 !important;
    opacity: 0.8;
}

.site-footer a:hover {
    color: #D4900A !important;
    opacity: 1;
}

.footer-contact a {
    color: #D4900A !important;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(251, 246, 240, 0.1);
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

/* 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;
    transform: translateY(0);
    transition: transform 0.4s ease;
    background-color: var(--color-primary);
    color: var(--text-light);
    border-top: 2px solid var(--color-accent);
}

#cookie-banner.hidden {
    transform: translateY(110%);
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    font-size: 14px;
}

#cookie-banner a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn-accept, .cookie-btn-decline {
    padding: 10px 24px;
    border-radius: var(--border-radius-btn);
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.cookie-btn-accept {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.cookie-btn-decline {
    background-color: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
}

/* RESPONSIVE LAYOUT BREAKPOINTS (Mobile-First) */

@media (min-width: 768px) {
    /* Header layout */
    .site-header {
        padding: 20px;
    }
    
    /* Hero layout */
    .hero-container {
        grid-template-columns: 1.2fr 1fr;
        gap: 40px;
    }
    
    .hero-img {
        height: 480px;
    }
    
    /* Benefits */
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Checklist */
    .checklist-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Tabs Navigation */
    .tabs-nav {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .tab-content-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 40px;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Story & Values */
    .story-grid {
        grid-template-columns: 1.2fr 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1.3fr 1fr;
    }
    
    /* Footer */
    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    }
    
    /* Steps on Thank you */
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .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);
    }
    
    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-btns {
        width: 100%;
    }
    
    .cookie-btn-accept, .cookie-btn-decline {
        flex: 1;
        text-align: center;
    }
}