/* Warm Vintage Dark Palette (Terracotta, Amber, Warm Dark Brown, Off-white)
   No blue, No green.
   Design Style: warm-vintage
   Border Style: pill
   Shadow Style: dramatic
   Color Mode: dark
*/

:root {
    --bg-primary: #171210;
    --bg-secondary: #241c18;
    --bg-card: #2f241f;
    --color-accent: #d35400; /* Terracotta */
    --color-accent-hover: #e67e22;
    --color-gold: #f39c12; /* Amber */
    --text-primary: #f5ebe6;
    --text-muted: #bda396;
    --border-color: #42322a;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lora', Merriweather, serif;
    
    --radius-pill: 50px;
    --radius-card: 32px;
    --radius-badge: 999px;
    
    --shadow-dramatic: 0 24px 64px rgba(0, 0, 0, 0.45);
    --shadow-dramatic-hover: 0 32px 80px rgba(0, 0, 0, 0.60);
    
    --vintage-pattern: repeating-linear-gradient(45deg, #241c18 0px, #241c18 2px, transparent 2px, transparent 10px);
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: clamp(16px, 1vw + 12px, 19px);
    line-height: 1.6;
    overflow-x: hidden;
}

body.warm-vintage::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--vintage-pattern);
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(36px, 6vw, 64px);
}

h2 {
    font-size: clamp(28px, 4vw, 44px);
}

h3 {
    font-size: clamp(22px, 3vw, 32px);
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

/* Header & Hamburger */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: bold;
    color: var(--color-gold);
    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-primary);
    margin: 5px 0;
    transition: 0.3s;
}

.menu-checkbox {
    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-primary);
    font-weight: 500;
    font-size: 17px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    transition: background-color 0.3s, color 0.3s;
}

.desktop-nav .nav-list a:hover {
    background-color: var(--color-accent);
    color: var(--text-primary);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--bg-secondary);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav a {
    color: var(--text-primary);
    display: block;
    font-size: 18px;
}

/* Buttons & Badges */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--text-primary);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-dramatic);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-dramatic-hover);
}

.btn-accent {
    background-color: var(--color-gold);
    color: var(--bg-primary);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-dramatic);
}

.btn-accent:hover {
    background-color: #f1c40f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-dramatic-hover);
}

.btn-block {
    display: block;
    width: 100%;
}

.vintage-badge {
    display: inline-block;
    padding: 6px 18px;
    background-color: rgba(211, 84, 0, 0.15);
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    border-radius: var(--radius-badge);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Hero Section: bold-text-only */
.hero-bold-text {
    padding: 80px 16px;
    text-align: center;
    background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Section Header Styles */
.section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.section-tag {
    color: var(--color-gold);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-muted);
}

/* Section Wrapper Paddings */
.benefits-scroll-section,
.gallery-section,
.two-col-section,
.expert-section,
.checklist-section,
.program-intro-section,
.accordion-section,
.stats-section,
.program-faq,
.cta-banner,
.split-layout-section,
.research-detail-section,
.contact-hero,
.contact-grid-section,
.legal-content-section,
.thank-you-section {
    padding: 60px 16px;
}

/* 1. benefits-hscroll */
.horizontal-scroll-container {
    display: flex;
    gap: 24px;
    padding: 20px 0 40px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.horizontal-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.horizontal-scroll-container::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

.horizontal-scroll-container::-webkit-scrollbar-thumb {
    background-color: var(--color-accent);
    border-radius: 10px;
}

.scroll-card {
    flex: 0 0 300px;
    background-color: var(--bg-card);
    padding: 35px;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-dramatic);
    scroll-snap-align: start;
    transition: transform 0.3s;
}

.scroll-card:hover {
    transform: translateY(-5px);
}

.card-number {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--color-accent);
    margin-bottom: 15px;
}

/* 2. gallery-grid */
.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-dramatic);
    border: 1px solid var(--border-color);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 30px;
}

.gallery-overlay h4 {
    color: var(--text-primary);
    font-size: 20px;
}

.placeholder-item {
    background-color: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.placeholder-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

/* 3. two-col-image */
.two-col-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.side-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-dramatic);
    border: 1px solid var(--border-color);
}

.vintage-list {
    list-style: none;
    margin-top: 20px;
}

.vintage-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.vintage-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-size: 18px;
}

/* 4. expert-block */
.expert-container {
    max-width: 900px;
    margin: 0 auto;
}

.expert-quote-box {
    background-color: var(--bg-card);
    padding: 50px 40px;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-dramatic);
    text-align: center;
    position: relative;
}

.expert-quote {
    font-family: var(--font-heading);
    font-size: clamp(20px, 3vw, 28px);
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.4;
}

.expert-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.expert-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: bold;
    color: var(--text-primary);
}

.expert-info {
    text-align: left;
}

.expert-name {
    display: block;
    font-weight: bold;
    color: var(--text-primary);
}

.expert-role {
    font-size: 14px;
    color: var(--text-muted);
}

/* 5. checklist-block */
.checklist-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.checklist-item {
    background-color: var(--bg-secondary);
    padding: 25px;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    display: flex;
    gap: 20px;
}

.check-icon {
    font-size: 24px;
    color: var(--color-accent);
    font-weight: bold;
    flex-shrink: 0;
}

/* Accordion 5 Blocks */
.vintage-accordion {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.accordion-item {
    background-color: var(--bg-card);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-dramatic);
}

.accordion-header {
    padding: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    user-select: none;
    outline: none;
}

.accordion-header::-webkit-details-marker {
    display: none;
}

.module-num {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-gold);
}

.accordion-content {
    padding: 0 24px 24px 64px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Stats Section */
.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.stat-card {
    background-color: var(--bg-secondary);
    padding: 40px;
    border-radius: var(--radius-card);
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-dramatic);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--color-accent);
    display: block;
    margin-bottom: 10px;
}

/* FAQ list */
.faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.faq-item {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.faq-item h4 {
    margin-bottom: 10px;
    color: var(--color-gold);
}

/* CTA Banner */
.cta-banner {
    background-color: var(--bg-card);
    border-radius: var(--radius-card);
    max-width: 1200px;
    margin: 40px auto;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-dramatic);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-container h2 {
    margin-bottom: 15px;
}

.cta-container p {
    margin-bottom: 30px;
}

/* Split Layout (Mission) */
.split-layout-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: flex-start;
}

.split-image-side {
    position: relative;
}

.split-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-dramatic);
    border: 1px solid var(--border-color);
}

.image-floating-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background-color: var(--color-accent);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-weight: bold;
    box-shadow: var(--shadow-dramatic);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
}

.value-item h4 {
    color: var(--color-gold);
    margin-bottom: 8px;
}

.vintage-quote-block {
    border-left: 4px solid var(--color-accent);
    padding-left: 20px;
    margin: 30px 0;
}

.vintage-quote-block p {
    font-family: var(--font-heading);
    font-size: 22px;
    font-style: italic;
}

/* Contact Grid */
.contact-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.vintage-form {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-dramatic);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    color: var(--text-primary);
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s;
}

.form-group textarea {
    border-radius: 20px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
}

.info-card, .hours-card {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
    box-shadow: var(--shadow-dramatic);
}

.info-item {
    margin-bottom: 20px;
}

.contact-link {
    font-weight: bold;
}

.disclaimer-text {
    font-size: 14px;
    font-style: italic;
}

/* Legal pages */
.legal-content-section h3 {
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--color-gold);
}

.last-updated {
    font-style: italic;
    margin-bottom: 30px;
}

.highlight-box {
    background-color: rgba(211, 84, 0, 0.1);
    border: 1px solid var(--color-accent);
    padding: 24px;
    border-radius: var(--radius-card);
    margin: 20px 0;
}

/* Thank You Page */
.next-steps-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    margin: 40px auto;
    max-width: 800px;
    box-shadow: var(--shadow-dramatic);
}

.thank-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
}

.thank-link-card {
    background-color: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    display: block;
    transition: transform 0.3s;
}

.thank-link-card:hover {
    transform: translateY(-3px);
}

.thank-link-card h4 {
    color: var(--color-accent);
    margin-bottom: 8px;
}

/* Footer (Anti-translate safety colors) */
.site-footer {
    background-color: #110d0b !important;
    color: #bda396 !important;
    border-top: 1px solid #42322a !important;
    padding: 60px 16px 20px 16px !important;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: bold;
    color: #f39c12 !important;
    display: block;
    margin-bottom: 15px;
}

.site-footer h4 {
    color: #f5ebe6 !important;
    margin-bottom: 20px;
}

.site-footer ul {
    list-style: none;
}

.site-footer li {
    margin-bottom: 12px;
}

.site-footer a {
    color: #bda396 !important;
}

.site-footer a:hover {
    color: #d35400 !important;
}

.footer-contact p {
    margin-bottom: 12px;
    color: #bda396 !important;
}

.footer-phone, .footer-email {
    font-weight: bold;
    color: #f39c12 !important;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid #42322a !important;
    text-align: center;
    font-size: 14px;
}

/* 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(--bg-card);
    border-top: 2px solid var(--color-accent);
}

#cookie-banner.hidden {
    transform: translateY(110%);
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
    color: var(--text-primary);
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn-accept {
    background-color: var(--color-accent);
    color: var(--text-primary);
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    cursor: pointer;
}

.cookie-btn-decline {
    background-color: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    cursor: pointer;
}

/* Responsive Utilities / Containers */
.narrow-container {
    max-width: 800px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* Mobile First Responsive Styles */
@media (min-width: 768px) {
    /* Header Desktop */
    .hamburger {
        display: none;
    }
    .desktop-nav {
        display: block;
    }
    .mobile-nav {
        display: none;
    }
    
    /* Layouts */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .large-item {
        grid-column: span 2;
    }
    .two-col-container {
        grid-template-columns: 1fr 1fr;
    }
    .checklist-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-container {
        grid-template-columns: repeat(3, 1fr);
    }
    .split-layout-container {
        grid-template-columns: 45% 55%;
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid-container {
        grid-template-columns: 60% 40%;
    }
    .thank-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) {
    /* Header Mobile */
    .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);
    }
    
    /* Cookie Banner Mobile adjustments */
    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-btns {
        width: 100%;
    }
    .cookie-btn-accept, .cookie-btn-decline {
        flex: 1;
        text-align: center;
    }
}