/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1A2A3A;
    --secondary: #2C3E50;
    --accent: #D4AF37;
    --accent-hover: #B8962E;
    --text: #333333;
    --text-light: #666666;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --border: #E5E7EB;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
}

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

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

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 { font-size: 3rem; font-weight: 800; }
h2 { font-size: 2.25rem; font-weight: 700; }
h3 { font-size: 1.75rem; }

p { margin-bottom: 1rem; }

/* BUTTONS */
.btn, .btn-submit, .btn-cta {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn {
    background-color: var(--accent);
    color: var(--white);
}

.btn:hover {
    background-color: var(--accent-hover);
}

.btn-cta {
    background-color: var(--accent);
    color: var(--white);
}

.btn-submit {
    background-color: var(--primary);
    color: var(--white);
    width: 100%;
}

/* HEADER */
.main-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.main-nav a:hover:not(.btn-cta) {
    color: var(--accent);
}

/* HERO */
.hero {
    padding: 100px 0;
    background-image: url('assets/pattern.svg');
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

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

.lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.quote {
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--secondary);
}

/* SECTIONS */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

/* GRIDS */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

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

/* EDUCATION & FEATURES */
.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* TECHNICAL CARDS & TABLES */
.card-section {
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card-section.alternate {
    background-color: var(--primary);
    color: var(--white);
}

.card-section.alternate h3 { color: var(--accent); }

.table-container {
    overflow-x: auto;
    margin-top: 25px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background-color: var(--bg-light);
    color: var(--primary);
    font-weight: 700;
}

.alternate table th { background-color: rgba(255,255,255,0.1); color: var(--white); }
.alternate table td { border-bottom: 1px solid rgba(255,255,255,0.1); }

/* INDICATORS */
.indicator-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.indicator-card {
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
}

.indicator-card .label {
    display: block;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.indicator-card .desc {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* TAX STRATEGY */
.tax-strategy { background-color: var(--bg-light); }

.tax-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--accent);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.recovery-box {
    margin-top: 40px;
    background: var(--accent);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.recovery-box h4 { color: var(--white); margin-bottom: 10px; }

/* HR SECTION */
.check-list { list-style: none; margin-top: 20px; }
.check-list li { margin-bottom: 10px; padding-left: 25px; position: relative; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: bold; }

.card-highlight {
    background: var(--primary);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
}
.card-highlight h4 { color: var(--accent); }

/* INSTITUTIONAL */
.institutional {
    background-image: linear-gradient(rgba(26, 42, 58, 0.9), rgba(26, 42, 58, 0.9)), url('assets/hero.svg');
    background-size: cover;
    color: var(--white);
}
.institutional .section-title { color: var(--white); }
.pillars { display: flex; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.pillars span {
    padding: 8px 16px;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* FAQ */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-header {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}
.accordion-header::after { content: '+'; color: var(--accent); }
.accordion-content { padding-bottom: 20px; display: none; }

/* CONTACT */
.contact { background-color: var(--bg-light); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.contact-form-box { background: var(--white); padding: 40px; border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.05); }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
}

.form-feedback { margin-top: 15px; padding: 10px; border-radius: 4px; display: none; }
.form-feedback.success { background-color: #D1FAE5; color: #065F46; display: block; }

/* FOOTER */
.main-footer {
    background-color: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { height: 40px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-links h4, .footer-contact h4 { color: var(--white); margin-bottom: 20px; font-size: 1rem; }
.footer-links ul { list-style: none; }
.footer-links a { color: inherit; text-decoration: none; display: block; margin-bottom: 10px; }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* MOBILE RESPONSIVENESS */
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; }
.mobile-menu-toggle span { display: block; width: 25px; height: 3px; background: var(--primary); margin: 5px 0; }

@media (max-width: 992px) {
    .grid-2, .grid-3, .contact-wrapper, .footer-grid { grid-template-columns: 1fr; }
    .hero { text-align: center; }
    .hero-content { margin: 0 auto; }
    .main-nav { display: none; }
    .mobile-menu-toggle { display: block; }
    h1 { font-size: 2.5rem; }
    .indicator-grid { grid-template-columns: 1fr; }
}
