:root {
    --white: #ffffff;
    --deep-green: #1a4d3e;
    --deep-green-light: #2a6b56;
    --slate: #4a5568;
    --slate-light: #718096;
    --beige: #f5f1eb;
    --beige-dark: #e8e2d9;
    --text-dark: #2d3748;
    --border: #e2e8f0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    line-height: 1.3;
}

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

/* Top Bar */
.top-bar {
    background: var(--deep-green);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.top-bar a:hover {
    opacity: 1;
}

.top-bar svg {
    width: 16px;
    height: 16px;
}

/* Header */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    font-family: 'Libre Baskerville', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--deep-green);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 32px;
    width: 32px;
}

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

nav a {
    color: var(--slate);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--deep-green);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--deep-green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--deep-green-light);
}

.btn-secondary {
    background: var(--beige);
    color: var(--deep-green);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--beige-dark);
}

/* Hero / Onboarding Panel */
.hero {
    background: var(--beige);
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 42px;
    color: var(--deep-green);
    margin-bottom: 16px;
}

.hero-text p {
    font-size: 18px;
    color: var(--slate);
    margin-bottom: 24px;
}

.hero-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.onboarding-form {
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.onboarding-form h3 {
    font-size: 20px;
    color: var(--deep-green);
    margin-bottom: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--slate);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--deep-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.onboarding-form .btn {
    width: 100%;
    margin-top: 16px;
    padding: 14px;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--deep-green);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 17px;
    color: var(--slate);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Accordion */
.services-section {
    background: var(--white);
}

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

.accordion-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.accordion-header {
    padding: 24px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.accordion-header:hover {
    background: var(--beige);
}

.accordion-header h3 {
    font-size: 20px;
    color: var(--text-dark);
}

.accordion-icon {
    width: 24px;
    height: 24px;
    color: var(--deep-green);
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

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

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-body {
    padding: 0 24px 24px;
}

.accordion-body p {
    color: var(--slate);
    margin-bottom: 16px;
}

.inputs-needed {
    background: var(--beige);
    padding: 16px;
    border-radius: 6px;
}

.inputs-needed h4 {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--deep-green);
    margin-bottom: 10px;
}

.inputs-needed ul {
    list-style: none;
}

.inputs-needed li {
    padding: 6px 0;
    color: var(--slate);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.inputs-needed li::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    background: var(--deep-green);
    border-radius: 50%;
}

/* Monthly Cycle */
.cycle-section {
    background: var(--beige);
}

.calendar-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.week-card {
    background: var(--white);
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid var(--deep-green);
}

.week-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--deep-green);
    margin-bottom: 12px;
}

.week-card ul {
    list-style: none;
}

.week-card li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--slate);
    border-bottom: 1px solid var(--border);
}

.week-card li:last-child {
    border-bottom: none;
}

.cycle-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cycle-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Advisory Section */
.advisory-section {
    background: var(--white);
}

.advisory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.advisory-text h2 {
    font-size: 32px;
    color: var(--deep-green);
    margin-bottom: 24px;
}

.advisory-text p {
    color: var(--slate);
    margin-bottom: 16px;
    font-size: 16px;
}

.advisory-text .btn {
    margin-top: 16px;
}

.advisory-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.advisory-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Documents Section */
.documents-section {
    background: var(--beige);
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.doc-card {
    background: var(--white);
    padding: 24px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.doc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.doc-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: var(--deep-green);
}

.doc-card h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.doc-card p {
    font-size: 14px;
    color: var(--slate-light);
}

.docs-image {
    border-radius: 8px;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.docs-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contact Section */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 32px;
    color: var(--deep-green);
    margin-bottom: 24px;
}

.contact-info p {
    color: var(--slate);
    margin-bottom: 24px;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--slate);
    border-bottom: 1px solid var(--border);
}

.contact-details li:last-child {
    border-bottom: none;
}

.contact-details svg {
    width: 20px;
    height: 20px;
    color: var(--deep-green);
}

.contact-form {
    background: var(--beige);
    padding: 32px;
    border-radius: 8px;
}

.contact-form .form-grid {
    gap: 16px;
}

.contact-form .btn {
    width: 100%;
    margin-top: 8px;
}

/* Footer */
footer {
    background: var(--deep-green);
    color: var(--white);
    padding: 60px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 12px;
}

.footer-brand p {
    opacity: 0.8;
    font-size: 14px;
    max-width: 280px;
}

.footer-docs h4 {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    opacity: 0.7;
}

.footer-docs ul {
    list-style: none;
}

.footer-docs li {
    padding: 4px 0;
    font-size: 14px;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    opacity: 0.7;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.back-to-top {
    display: flex;
    align-items: center;
    gap: 6px;
}

.back-to-top svg {
    width: 16px;
    height: 16px;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
    color: var(--deep-green);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .advisory-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .calendar-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .docs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-main {
        flex-wrap: wrap;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-strip {
        grid-template-columns: 1fr;
    }
    
    .docs-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
