:root {
    --clr-cream: #FAF6EF;
    --clr-oak-dark: #2C1810;
    --clr-oak-mid: #6B4423;
    --clr-accent: #8B6914;
    --clr-green: #2D4A2D;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-cream);
    color: var(--clr-oak-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container.narrow {
    max-width: 800px;
}

.text-center {
    text-align: center;
}

.mt-6 { margin-top: 2rem; }
.mt-auto { margin-top: auto; }
.pb-0 { padding-bottom: 0 !important; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--clr-accent);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--clr-oak-dark);
}

.btn-outline {
    border-color: var(--clr-oak-dark);
    color: var(--clr-oak-dark);
}

.btn-outline:hover {
    background-color: var(--clr-oak-dark);
    color: #fff;
}

.btn-text {
    padding: 14px 0;
    border-bottom: 1px solid var(--clr-oak-dark);
    border-radius: 0;
}

.btn-text:hover {
    color: var(--clr-accent);
    border-bottom-color: var(--clr-accent);
}

.btn-block {
    width: 100%;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(250, 246, 239, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(44, 24, 16, 0.1);
    transition: var(--transition-smooth);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-inner.justify-center {
    justify-content: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--clr-oak-dark);
    transition: var(--transition-smooth);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-btn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--clr-oak-dark);
    transition: var(--transition-smooth);
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu-btn span:nth-child(3) { bottom: 0; }

.mobile-menu-btn.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--clr-cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99;
}

.mobile-nav.active {
    transform: translateY(0);
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 2rem;
}

.section {
    padding: 100px 0;
}

.section-dark {
    background-color: var(--clr-oak-dark);
    color: var(--clr-cream);
}

.section-accent {
    background-color: var(--clr-green);
    color: var(--clr-cream);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin-bottom: 3rem;
}

.section-header.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-header.center .section-subtitle {
    margin: 0 auto 3rem auto;
}

.hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 60px;
    display: flex;
    align-items: center;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 600px;
}

.eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--clr-accent);
    display: block;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.hero-title em {
    font-style: italic;
    color: var(--clr-accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    color: var(--clr-oak-mid);
}

.hero-actions {
    display: flex;
    gap: 24px;
    align-items: center;
}

.hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.hero-image {
    width: 100%;
    height: 560px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-layout.reverse .split-text {
    order: 2;
}

.split-layout.reverse .split-image {
    order: 1;
}

.section-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--clr-oak-mid);
}

.split-image img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.grid {
    display: grid;
    gap: 32px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    padding: 32px;
    border: 1px solid rgba(250, 246, 239, 0.1);
    background-color: rgba(250, 246, 239, 0.03);
    transition: var(--transition-smooth);
}

.card:hover {
    background-color: rgba(250, 246, 239, 0.08);
    transform: translateY(-5px);
}

.card-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--clr-accent);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.card-text {
    font-size: 0.95rem;
    opacity: 0.8;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-list li strong {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    display: block;
    margin-bottom: 0.5rem;
}

.feature-list li p {
    color: var(--clr-oak-mid);
}

.wide-image-banner {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.wide-image-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 24, 16, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px;
    color: var(--clr-cream);
}

.banner-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.banner-text {
    font-size: 1.2rem;
    max-width: 500px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(44, 24, 16, 0.1);
}

.faq-question {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.faq-question h3 {
    font-weight: 400;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--clr-oak-mid);
}

.enroll-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.enroll-form-wrapper {
    background-color: var(--clr-cream);
    padding: 48px;
    border-radius: 4px;
    color: var(--clr-oak-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(44, 24, 16, 0.2);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background-color: transparent;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--clr-accent);
}

.error-msg {
    display: none;
    color: #d32f2f;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.form-group.has-error input {
    border-color: #d32f2f;
}

.form-group.has-error .error-msg {
    display: block;
}

.form-disclaimer {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--clr-oak-mid);
    text-align: center;
}

.form-disclaimer a {
    text-decoration: underline;
}

.footer {
    background-color: var(--clr-oak-dark);
    color: var(--clr-cream);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    display: block;
    margin-bottom: 1rem;
}

.footer-desc {
    opacity: 0.7;
    max-width: 300px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--clr-accent);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-company p {
    opacity: 0.7;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(250, 246, 239, 0.1);
    padding-top: 24px;
    text-align: center;
    opacity: 0.5;
    font-size: 0.85rem;
}

.legal-page {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    min-height: 80vh;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 3rem;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    margin: 2.5rem 0 1rem;
}

.legal-content p, .legal-content ul {
    margin-bottom: 1.5rem;
    color: var(--clr-oak-mid);
}

.legal-content ul {
    padding-left: 24px;
    list-style-type: disc;
}

.page-centered {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-centered {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.success-card {
    background-color: #fff;
    padding: 60px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(44, 24, 16, 0.05);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: var(--clr-green);
    color: var(--clr-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 2rem;
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background-color: var(--clr-oak-dark);
    color: var(--clr-cream);
    padding: 24px;
    border-radius: 4px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(44, 24, 16, 0.2);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: 1200px;
}

.cookie-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.cookie-content a {
    text-decoration: underline;
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@media (max-width: 992px) {
    .hero-title { font-size: 3.5rem; }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image { height: 400px; }

    .split-layout, .enroll-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .split-layout.reverse .split-text { order: 1; }
    .split-layout.reverse .split-image { order: 2; }

    .grid-3 { grid-template-columns: repeat(2, 1fr); }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header .nav, .header .btn { display: none; }
    .mobile-menu-btn { display: block; }

    .hero-title { font-size: 2.8rem; }
    .hero-actions { flex-direction: column; width: 100%; align-items: stretch; }
    .hero-actions .btn { text-align: center; }

    .section { padding: 60px 0; }
    .section-title { font-size: 2rem; }

    .grid-3 { grid-template-columns: 1fr; }

    .enroll-form-wrapper { padding: 32px 24px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .cookie-content { flex-direction: column; text-align: center; }
    .cookie-banner { bottom: 0; left: 0; right: 0; border-radius: 0; }
}
