:root {
    --bg-page: #F8FAFC;
    --bg-surface: #FFFFFF;
    --text-main: #0F172A;
    --text-muted: #475569;
    --primary: #0F766E;
    --primary-hover: #115E59;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

/* Typography */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--text-main); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
p { color: var(--text-muted); margin-bottom: 1rem; text-align: justify; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-hover); }

/* Navbar */
.navbar {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.logo { height: 48px; object-fit: contain; }
.nav-menu { display: flex; gap: 2rem; }
.nav-menu a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}
.nav-menu a:hover { color: var(--text-main); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.2s;
    cursor: pointer;
}
.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    color: white;
    transform: translateY(-1px);
}
.btn-secondary {
    background-color: white;
    color: var(--text-main);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
    background-color: var(--bg-page);
    color: var(--text-main);
}

/* Layout Core */
main { flex: 1; }

/* Hero Section */
.hero {
    padding: 6rem 0;
    background-color: var(--bg-surface);
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.hero p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    text-align: center;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Services / Grid */
.services { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Subpage Layout */
.page-header {
    background-color: var(--bg-surface);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.page-header h1 { margin-bottom: 0; }
.page-content {
    padding: 4rem 0;
    max-width: 900px;
    margin: 0 auto;
}
.content-box {
    background-color: var(--bg-surface);
    padding: 3.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.content-box p { margin-bottom: 1.25rem; line-height: 1.8; }
.content-box h2 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 1rem; color: var(--text-main); border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; }
.content-box ul { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.content-box li { color: var(--text-muted); margin-bottom: 0.5rem; line-height: 1.6; }

/* Contact Grid Specific */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.contact-info-item {
    margin-bottom: 1.5rem;
}
.contact-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}
.contact-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
}

/* Footer */
.footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    margin-top: auto;
}
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}
.footer-brand { display: flex; gap: 1.5rem; align-items: center; }
.footer-logo { height: 45px; filter: grayscale(100%); opacity: 0.5; transition: all 0.3s; }
.footer-logo:hover { filter: grayscale(0%); opacity: 1; }
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.footer-links a { color: var(--text-muted); font-size: 0.875rem; font-weight: 500; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hero { padding: 4rem 0; }
    .hero-actions { flex-direction: column; }
    .footer-top { flex-direction: column; text-align: center; }
    .footer-brand { justify-content: center; }
    .footer-links { justify-content: center; }
    .content-box { padding: 1.5rem; }
}