:root {
    --primary-color: #1a5f7a;
    --primary-dark: #134b61;
    --secondary-color: #e63946;
    --accent-color: #f4a261;
    --text-color: #2d3436;
    --text-light: #636e72;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --white: #ffffff;
    --border-color: #dee2e6;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

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

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

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

/* Header */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
}

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

.emergency-banner {
    font-weight: 600;
    font-size: 0.9rem;
}

.header-phone {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

.header-phone:hover {
    color: var(--accent-color);
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
}

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

.cta-button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
}

.cta-button:hover {
    background-color: #c92a36;
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-text {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.trust-signals {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.trust-signals span {
    opacity: 0.95;
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.services-overview h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.services-overview > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 a {
    color: inherit;
}

.service-card h3 a:hover {
    color: var(--primary-dark);
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.read-more:hover {
    color: #c92a36;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
}

.why-choose-us h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.why-choose-us > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit {
    text-align: center;
    padding: 30px;
}

.benefit h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Locations Section */
.locations-served {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.locations-served h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.locations-served > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-light);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 2rem;
}

.location-link {
    background-color: var(--white);
    padding: 15px 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.location-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.locations-note {
    text-align: center;
    color: var(--text-light);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #c92a36 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.cta-buttons {
    margin-bottom: 1rem;
}

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

.cta-section .btn-primary:hover {
    background-color: var(--bg-light);
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 0;
}

/* Footer */
.site-footer {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-hero p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

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

/* Map Section */
.map-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.1);
}

/* Services Index */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.service-item h3 a {
    color: var(--primary-color);
}

.service-item h3 a:hover {
    color: var(--primary-dark);
}

/* Legal Pages */
.legal-content {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.legal-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .main-nav .container {
        flex-wrap: wrap;
    }

    .nav-links {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 15px;
        gap: 15px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .trust-signals {
        flex-direction: column;
        gap: 10px;
    }

    .services-grid,
    .benefits-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .header-top .container {
        flex-direction: column;
        gap: 5px;
    }
}
