/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary-bg: #0E141B;
    --secondary-bg: #1B2632;
    --light-bg: #F5F7FA;
    --white: #FFFFFF;
    --dark-text: #1C2430;
    --accent: #3B82F6;
    --accent-hover: #2563EB;
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1200px;
    --radius: 10px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }

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

/* ===== HEADER ===== */
.site-header {
    background: var(--primary-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    max-width: var(--max-width);
    margin: 0 auto;
}

.header-top a {
    color: var(--white);
    font-size: 14px;
    opacity: 0.9;
}

.header-top a:hover { color: var(--accent); opacity: 1; }

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.logo span { color: var(--accent); }

/* Navigation */
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > li { position: relative; }
.main-nav > li > a {
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
    padding: 10px 0;
    display: block;
    transition: color 0.3s;
}
.main-nav > li > a:hover { color: var(--accent); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--secondary-bg);
    min-width: 240px;
    padding: 10px 0;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 100;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--white);
    font-size: 14px;
    transition: background 0.2s;
}
.dropdown-menu a:hover { background: rgba(59,130,246,0.15); color: var(--accent); }

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--primary-bg);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 52px;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-text .btn-primary {
    display: inline-block;
    margin-bottom: 15px;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 16px 36px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 60px;
    line-height: 28px;
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59,130,246,0.35);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--accent);
    padding: 16px 36px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--accent);
    cursor: pointer;
    transition: all 0.3s;
    min-height: 60px;
    line-height: 28px;
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-dark { background: var(--primary-bg); color: var(--white); }
.section-gray { background: var(--secondary-bg); color: var(--white); }
.section-light { background: var(--light-bg); }

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 38px;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 17px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== FORM ===== */
.feedback-form-container {
    background: var(--secondary-bg);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.feedback-form-container h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--white);
    margin-bottom: 25px;
    text-align: center;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-form .form-group { margin-bottom: 15px; }

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: var(--white);
    font-size: 15px;
    font-family: var(--font-body);
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.08);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

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

.form-submit { text-align: center; margin-top: 20px; }

.submit-btn {
    background: var(--accent);
    color: var(--white);
    padding: 16px 48px;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 60px;
}

.submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59,130,246,0.35);
}

#form-success {
    text-align: center;
    padding: 30px;
}

#form-success p {
    color: #4ade80;
    font-size: 18px;
    font-weight: 500;
}

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

.service-card {
    background: var(--secondary-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content {
    padding: 25px;
}

.service-card-content h3 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 10px;
}

.service-card-content p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    margin-bottom: 15px;
}

.service-card-content a { color: var(--accent); font-weight: 600; }
.service-card-content a:hover { color: var(--accent-hover); }

/* ===== AREAS GRID ===== */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.area-card {
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.2);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.area-card:hover {
    background: rgba(59,130,246,0.15);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.area-card a {
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
}

/* ===== ABOUT / CONTENT SECTIONS ===== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-grid img {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.content-text h2 {
    font-size: 34px;
    margin-bottom: 20px;
}

.content-text p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
}

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
}

.section-light .faq-item {
    border-bottom-color: rgba(0,0,0,0.1);
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--accent);
    font-weight: 600;
}

.section-light .faq-item h3 { color: var(--dark-text); }

.faq-item p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.85;
}

/* ===== MAP ===== */
.map-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

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

/* ===== FOOTER ===== */
.site-footer {
    background: var(--primary-bg);
    color: var(--white);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-col p,
.footer-col a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 2;
    display: block;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 13px;
    opacity: 0.6;
}

/* ===== STICKY QUOTE BUTTON ===== */
.sticky-quote-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent);
    color: var(--white);
    padding: 16px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(59,130,246,0.4);
    z-index: 999;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.sticky-quote-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(59,130,246,0.5);
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal-content {
    background: var(--primary-bg);
    border-radius: 20px;
    padding: 40px;
    max-width: 550px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    line-height: 1;
}

.modal-close:hover { opacity: 1; }

/* ===== CTA BLOCKS ===== */
.cta-block {
    text-align: center;
    padding: 40px;
    margin: 40px 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border-radius: 16px;
}

.cta-block h3 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-block p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

.cta-block .btn-primary {
    background: var(--white);
    color: var(--accent);
}

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

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: 15px 0;
    background: var(--secondary-bg);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb-list li { font-size: 14px; }
.breadcrumb-list li a { color: var(--accent); }
.breadcrumb-list li span { color: rgba(255,255,255,0.5); }
.breadcrumb-list li:last-child span { color: rgba(255,255,255,0.8); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    background: var(--primary-bg);
    padding: 80px 0 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== NEIGHBORHOODS LIST ===== */
.neighborhoods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.neighborhoods-grid li {
    padding: 12px 16px;
    background: rgba(59,130,246,0.05);
    border-radius: 8px;
    font-size: 14px;
    border-left: 3px solid var(--accent);
}

/* ===== PROCESS STEPS ===== */
.process-list { counter-reset: step; }
.process-list li {
    counter-increment: step;
    padding: 15px 0 15px 50px;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.process-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 15px;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 38px; }
    .hero-text p { margin: 0 auto 30px; }
    .content-grid { grid-template-columns: 1fr; gap: 30px; }
    .section-header h2 { font-size: 30px; }
    .page-hero h1 { font-size: 32px; }
}

@media (max-width: 768px) {
    .header-top { display: none; }
    .menu-toggle { display: block; }

    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -50%;
        width: 50%;
        height: 100vh;
        background: var(--primary-bg);
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        z-index: 9999;
        overflow-y: auto;
        box-shadow: -5px 0 30px rgba(0,0,0,0.5);
    }

    .nav-wrapper.active { right: 0; }

    .nav-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        color: var(--white);
        font-size: 28px;
        cursor: pointer;
    }

    .main-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .main-nav > li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .main-nav > li > a { padding: 15px 0; font-size: 16px; }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255,255,255,0.03);
        padding: 0 0 10px 15px;
        display: none;
    }

    .dropdown.open .dropdown-menu { display: block; }

    .hero { min-height: 70vh; }
    .hero-text h1 { font-size: 30px; }
    .contact-form .form-row { grid-template-columns: 1fr; }

    .sticky-quote-btn {
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
    }

    .sticky-quote-btn:hover { transform: translateX(50%) translateY(-3px); }

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

@media (max-width: 480px) {
    .hero-text h1 { font-size: 26px; }
    .section { padding: 50px 0; }
    .feedback-form-container { padding: 25px 20px; }
    .modal-content { padding: 25px 20px; }
}
