/* Base & Reset */
:root {
    --primary: #0A2540;
    --accent: #C4A484;
    --light: #F6F9FC;
    --dark: #051626;
    --text: #333333;
    --text-muted: #666666;
    --white: #FFFFFF;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* 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.2rem; font-weight: 700; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

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

.logo img {
    height: 45px;
}

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

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--dark);
    transform: translateY(-2px);
}

.btn-cta {
    background-color: var(--accent);
    color: var(--white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
}

.btn-cta:hover {
    background-color: #b08d6a !important;
}

.full-width { width: 100%; }

/* Sections */
.section {
    padding: 6rem 0;
}

.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--primary); }
.text-light { color: var(--white); }
.text-light h2, .text-light h3 { color: var(--white); }

.centered { text-align: center; }

.section-header {
    max-width: 700px;
    margin-bottom: 4rem;
}

.section-header.centered { margin: 0 auto 4rem; }

/* Hero */
.hero {
    padding: 8rem 0;
    background-image: url('assets/pattern.svg');
    background-size: 200px;
}

.tagline {
    display: block;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.hero-visual img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Process Cards */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.process-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-10px);
}

.process-card .icon {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 1rem;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

th, td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: var(--primary);
    color: var(--white);
    font-weight: 600;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.feature-item {
    border-left: 3px solid var(--accent);
    padding-left: 1.5rem;
}

/* Alert Box */
.alert-box {
    background: #fff4e6;
    border-left: 5px solid #fd7e14;
    padding: 2rem;
    border-radius: 4px;
}

/* FAQ */
details {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 4px;
    border: 1px solid #eee;
}

summary {
    padding: 1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

summary::after {
    content: '+';
    float: right;
    color: var(--accent);
}

details[open] summary::after {
    content: '-';
}

details p {
    padding: 0 1rem 1rem;
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

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

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

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-feedback {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
}

.form-feedback.success { background: #d4edda; color: #155724; }
.form-feedback.error { background: #f8d7da; color: #721c24; }
.hidden { display: none; }

/* Footer */
.main-footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo { height: 40px; margin-bottom: 1rem; filter: brightness(0) invert(1); }

.footer-brand p {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 0.2rem;
}

.footer-links ul { list-style: none; }
.footer-links a { color: var(--white); text-decoration: none; font-size: 0.85rem; opacity: 0.6; }
.footer-links a:hover { opacity: 1; }

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