:root {
    --bg-light: #f8fafc;
    --bg-mid: #eef2f5;
    --accent: #2563eb;
    --accent-dark: #1d4ed8;
    --text-dark: #0f172a;
    --text-mid: #334155;
    --text-light: #64748b;
    --panel: #ffffff;
    --shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 25px 50px rgba(15, 23, 42, 0.15);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f5 50%, #e0e7ff 100%);
    line-height: 1.6;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(30, 41, 59, 0.64)),
        url("/static/hero.jpg");
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    color: #ffffff;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.75));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1.5rem 3rem;
}

.top-nav {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand {
    font-family: "Inter", sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.brand span {
    color: #60a5fa;
}

.callout {
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.callout:hover,
.callout:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
}

.hero-content h1 {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0.5rem 0 1rem;
    letter-spacing: -0.02em;
}

.hero-content .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 0.75rem;
}

.hero-content .lede {
    max-width: 50ch;
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hero-cta-primary {
    background: #ffffff;
    color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-cta-primary:hover,
.hero-cta-primary:focus {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.hero-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-cta-secondary:hover,
.hero-cta-secondary:focus {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    max-width: 1140px;
    margin: -3rem auto 4rem;
    position: relative;
    z-index: 2;
    padding: 0 1.5rem 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--panel);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover,
.feature-card:focus-within {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--accent);
    font-size: 1.75rem;
    font-weight: 700;
}

.feature-card h3 {
    font-family: "Inter", sans-serif;
    font-size: 1.35rem;
    margin: 0 0 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-mid);
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* About Section */
.about {
    background: var(--panel);
    padding: 5rem 1.5rem;
    text-align: center;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about h2 {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--text-dark);
}

.about .quote {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: var(--text-mid);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.phone-highlight {
    display: inline-block;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--accent);
    margin-top: 1rem;
}

/* Contact Section */
.contact {
    max-width: 1140px;
    margin: -3rem auto 5rem;
    position: relative;
    z-index: 2;
    padding: 0 1.5rem 3rem;
}

.contact-card {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.contact-card h2 {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--text-dark);
}

.contact-phone {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
}

.contact-phone:hover,
.contact-phone:focus {
    transform: scale(1.05);
}

.contact-phone span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    display: block;
    margin-top: 0.5rem;
}

/* Social Proof */
.social-proof {
    background: var(--bg-light);
    padding: 4rem 1.5rem;
    text-align: center;
}

.social-proof h2 {
    font-family: "Inter", sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    margin: 0 0 1.5rem;
    color: var(--text-dark);
}

.facebook-link {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    background: #1877f2;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.facebook-link:hover,
.facebook-link:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.35);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: #94a3b8;
    padding: 3rem 1.5rem 2rem;
    text-align: center;
}

footer p {
    margin: 0.5rem 0;
}

footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover,
footer a:focus {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 980px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 4rem 1.5rem 3rem;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }

    .hero-content .lede {
        font-size: 1.15rem;
    }

    .top-nav {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: clamp(1.75rem, 5vw, 2.75rem);
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .hero-cta {
        width: 100%;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
}
