/* Base CSS */
:root {
    --primary-color: #0d47a1;
    --primary-hover: #0a3880;
    --secondary-color: #d32f2f;
    --text-color: #212121;
    --text-muted: #616161;
    --bg-light: #f5f7fa;
    --border-color: #e0e0e0;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #ffffff;
    padding-bottom: 60px; /* offset for mobile sticky CTA */
}

@media(min-width: 769px) {
    body {
        padding-bottom: 0;
    }
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff !important;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    text-decoration: none;
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--bg-light);
    text-decoration: none;
}

.btn-header {
    background-color: var(--secondary-color);
    color: #ffffff !important;
    padding: 0.5rem 1rem;
}

.btn-full {
    display: block;
    width: 100%;
}

.btn-lg {
    padding: 0.9rem 1.8rem;
    font-size: 1.1rem;
}

/* Top Bar */
.top-bar {
    background-color: #1e293b;
    color: #ffffff;
    font-size: 0.875rem;
    padding: 0.5rem 0;
}
.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-phone {
    color: #38bdf8 !important;
    font-weight: 600;
}

/* Header */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.25rem;
    color: var(--text-color);
    text-decoration: none;
}
.logo-bold {
    font-weight: 800;
    color: var(--primary-color);
}
.nav a {
    margin: 0 0.75rem;
    color: var(--text-color);
    font-weight: 500;
}
.nav a.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Hero */
.hero {
    padding: 3.5rem 0;
    background: linear-gradient(to right, #f8fafc, #e2e8f0);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
@media(min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.hero h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #0f172a;
}
.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.hero-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Sections */
.section {
    padding: 3.5rem 0;
}
.section h2 {
    font-size: 1.85rem;
    margin-bottom: 1rem;
}
.section-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Grid & Cards */
.services-grid, .area-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}
@media(min-width: 600px) {
    .services-grid, .area-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media(min-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .area-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}
.card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.card-link {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Checklist */
.check-list {
    list-style: none;
    margin: 1.5rem 0;
}
.check-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.75rem;
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* CTA Banner */
.cta-banner {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 2rem;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.cta-banner h3 {
    font-size: 1.4rem;
}
.cta-banner p {
    color: #e2e8f0;
}

/* Area Tags */
.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}
.tag {
    background-color: #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 2rem auto 0 auto;
}
.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    margin-bottom: 0.75rem;
    border-radius: 4px;
    padding: 1rem;
}
.faq-item summary {
    font-weight: 600;
    cursor: pointer;
}
.faq-item p {
    margin-top: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Page Title */
.page-title {
    background-color: #0f172a;
    color: #ffffff;
    padding: 2.5rem 0;
}
.page-title h1 {
    font-size: 2rem;
}
.page-title p {
    color: #94a3b8;
}

/* Service Detail */
.service-detail {
    max-width: 800px;
    margin: 0 auto;
}
.service-detail h2 {
    margin-bottom: 1rem;
}
.service-detail p {
    margin-bottom: 1rem;
}
.service-detail ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

/* Contact Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}
@media(min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.contact-info-box {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 1rem;
}
.contact-info-box p {
    margin-bottom: 0.75rem;
}
.contact-form .form-group {
    margin-bottom: 1.25rem;
}
.contact-form label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
    font-size: 0.9rem;
}
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 0.65rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
}
.form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 3rem 0 1.5rem 0;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
@media(min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1.5fr 1fr;
    }
}
.footer h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}
.footer a {
    color: #cbd5e1;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.5rem;
}
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 1.5rem;
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 0.5rem 1rem;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 2000;
}
@media(min-width: 769px) {
    .mobile-sticky-bar {
        display: none;
    }
}
