:root {
    --bg-base: #fbf1f0;
    --bg-alt: #f4e5e4;
    --accent: #6b2155;
    --accent-hover: #8c2a6f;
    --text-dark: #1c1917;
    --text-light: #fbf1f0;
    --text-muted: #57534e;
    
    --shadow-soft: 0 8px 24px rgba(28, 25, 23, 0.06);
    --shadow-hover: 0 16px 32px rgba(107, 33, 85, 0.15);
    
    --radius-small: 4px;
    --radius-pill: 50px;
    
    --font-main: "Trebuchet MS", "Segoe UI", sans-serif;
    --line-height: 1.85;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-base);
    color: var(--text-dark);
    line-height: var(--line-height);
    overflow-x: hidden;
    overflow-wrap: anywhere;
    hyphens: auto;
}

h1, h2, h3, h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-small);
    object-fit: cover;
    display: block;
}

/* Header & Nav */
header {
    background-color: var(--bg-base);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
}

.nav-links a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Mobile Nav */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-base);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s var(--ease-out);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    
    .nav-links.open {
        max-height: 400px;
    }
    
    .nav-links li {
        text-align: center;
        border-top: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav-links a {
        display: block;
        padding: 1.2rem;
    }
    
    .menu-toggle {
        display: block;
    }
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--text-light);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(28,25,23,0.8), rgba(107,33,85,0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    color: var(--text-light);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #fceceb;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    text-align: center;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--text-light);
}

/* Timeline Layout */
.timeline-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.timeline-wrapper::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: rgba(107, 33, 85, 0.2);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    z-index: 1;
}

.timeline-section {
    position: relative;
    width: 50%;
    padding: 3rem 4rem;
    z-index: 2;
}

.timeline-section:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-section:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-marker {
    position: absolute;
    top: 50px;
    width: 40px;
    height: 40px;
    background-color: var(--bg-base);
    border: 3px solid var(--accent);
    border-radius: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--accent);
}

.timeline-section:nth-child(odd) .timeline-marker {
    right: -20px;
}

.timeline-section:nth-child(even) .timeline-marker {
    left: -20px;
}

@media (max-width: 768px) {
    .timeline-wrapper::after {
        left: 31px;
    }
    .timeline-section {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
        left: 0 !important;
        text-align: left !important;
    }
    .timeline-marker {
        left: 11px !important;
    }
}

/* Cards */
.card {
    background: #ffffff;
    border-radius: var(--radius-small);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card img {
    margin-bottom: 1.5rem;
    height: 240px;
    width: 100%;
}

/* Diagonal Backgrounds (Clip-path) */
.section-diagonal {
    background-color: var(--bg-alt);
    padding: 6rem 2rem;
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
    margin: 4rem 0;
}

.section-diagonal.reverse {
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
}

.content-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

/* Generic Page Layout */
.page-header {
    background-color: var(--bg-alt);
    padding: 6rem 2rem 4rem;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.page-header h1 {
    font-size: 3.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.long-copy p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 72ch;
    margin-left: auto;
    margin-right: auto;
}

.long-copy h2, .long-copy h3 {
    margin-top: 3rem;
    max-width: 72ch;
    margin-left: auto;
    margin-right: auto;
}

.image-feature {
    margin: 3rem 0;
    border-radius: var(--radius-small);
    box-shadow: var(--shadow-soft);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(107, 33, 85, 0.2);
    border-radius: var(--radius-small);
    font-family: inherit;
    font-size: 1rem;
    background: #fff;
    color: var(--text-dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(107, 33, 85, 0.1);
}

/* FAQ */
.faq-item {
    background: #fff;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-small);
    box-shadow: var(--shadow-soft);
    padding: 1.5rem;
}

.faq-item h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

/* Footer */
footer {
    background-color: var(--accent);
    color: var(--text-light);
    padding: 6rem 2rem 3rem;
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
    margin-top: 4rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
    color: #fff;
}

.footer-brand:hover {
    color: var(--bg-base);
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

/* Utilities & Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

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

.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
