:root {
    --bg-white: #ffffff;
    --bg-light: #f4f6f8;
    --text-dark: #111827;
    --text-muted: #4b5563;
    --accent-blue: #3b82f6;
    --accent-blue-hover: #2563eb;
    --border-color: #e5e7eb;
    --shadow-soft: 0 4px 12px rgba(17, 24, 39, 0.05);
    --shadow-hover: 0 8px 24px rgba(17, 24, 39, 0.08);
    --border-radius: 6px;
    --max-width: 1100px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 2rem; text-align: center; }
h3 { font-size: 1.25rem; }
p { color: var(--text-muted); margin-bottom: 1rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    color: var(--bg-white);
    background-color: var(--accent-blue);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

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

.btn:active {
    transform: scale(0.98);
}

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

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
}

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

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

/* Hero Section */
.hero {
    background-color: var(--bg-light);
    padding: 80px 0;
    text-align: center;
}

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

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-bg-light {
    background-color: var(--bg-light);
}

/* Service Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-hover);
}

.card h3 {
    color: var(--accent-blue);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.card p.subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.card ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card ul li::before {
    content: "•";
    color: var(--accent-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Service Lists */
.service-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 20px;
}

.service-item {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.service-item strong {
    color: var(--text-dark);
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.service-item span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact Form */
.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Text Pages (Terms, Privacy) */
.text-page-content {
    max-width: 800px;
    margin: 0 auto;
}

.text-page-content h3 {
    margin-top: 30px;
    margin-bottom: 10px;
}

.text-page-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: disc;
}

.text-page-content ul li {
    margin-bottom: 8px;
    color: var(--text-muted);
}

/* Image Utilities */
.img-responsive {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    display: block;
    margin: 20px auto;
}

.hero-bg-image {
    background-image: url('images/photo-1619642751034-765dfdf7c58e.png');
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--bg-white);
}

.hero-bg-image::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(17, 24, 39, 0.8);
}

.hero-bg-image .hero-content {
    position: relative;
    z-index: 1;
}

.hero-bg-image h1, .hero-bg-image p {
    color: var(--bg-white);
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 40px 0 20px;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--bg-white);
}

.copyright {
    color: #6b7280;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-soft);
    }
    
    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .service-list-grid {
        grid-template-columns: 1fr;
    }
}