:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-main: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: Arial, Helvetica, sans-serif;
            background: #f5f7fb;
            color: #1e293b;
            line-height: 1.6;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        button,
        input,
        select {
            font-family: inherit;
        }


        /* =====================================================
           LAYOUT GENERAL
        ===================================================== */

        .app-layout {
            min-height: 100vh;
        }


        /* =====================================================
           SIDEBAR IZQUIERDO FIJO
        ===================================================== */

        .sidebar {
            position: fixed;
            left: 0;
            top: 0;
            width: 250px;
            height: 100vh;
            background: #ffffff;
            border-right: 1px solid #e5e7eb;
            padding: 25px 18px;
            z-index: 1000;
            overflow-y: auto;
        }


        /* LOGO */

.brand {
    padding: 0 10px 30px;
    text-align: center;
}

.brand-logo {
    display: block;
    width: 140px;
    height: auto;
    max-width: 150%;
    margin: 0 auto 8px auto;
}

.brand span {
    display: block;
    color: #64748b;
    font-size: 13px;
}


        /* MENU */

        .menu {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .menu a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 13px 14px;
            border-radius: 10px;
            color: #475569;
            font-size: 14px;
            transition: all .2s ease;
        }

        .menu a:hover {
            background: #eff6ff;
            color: #2563eb;
        }

        .menu a.active {
            background: #eff6ff;
            color: #2563eb;
            font-weight: 600;
        }


        /* BANNER */

        .sidebar-banner {
            margin-top: 30px;
            padding: 18px;
            background: linear-gradient(135deg, #2563eb, #1d4ed8);
            color: #ffffff;
            border-radius: 14px;
        }

        .sidebar-banner h3 {
            font-size: 15px;
            margin-bottom: 8px;
        }

        .sidebar-banner p {
            font-size: 12px;
            line-height: 1.5;
            opacity: .92;
            margin-bottom: 14px;
        }

        .sidebar-banner a {
            display: inline-block;
            background: #ffffff;
            color: #2563eb;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 12px;
            font-weight: bold;
        }


        /* =====================================================
           ZONA PRINCIPAL
        ===================================================== */

        .main {
            margin-left: 250px;
            margin-right: 330px;
            min-height: 100vh;
        }


        /* =====================================================
           TOPBAR
        ===================================================== */

        .topbar {
            height: 72px;
            background: #ffffff;
            border-bottom: 1px solid #e5e7eb;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 30px;
            position: sticky;
            top: 0;
            z-index: 900;
        }

        .search-box {
            width: 430px;
            position: relative;
        }

        .search-box input {
            width: 100%;
            padding: 12px 18px;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            outline: none;
            font-size: 14px;
            background: #f8fafc;
            transition: .2s;
        }

        .search-box input:focus {
            background: #ffffff;
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
        }

        .top-actions {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .top-icon {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: #f1f5f9;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #475569;
            cursor: pointer;
            transition: .2s;
        }

        .top-icon:hover {
            background: #eff6ff;
            color: #2563eb;
        }

        .profile {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .profile-avatar {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: #dbeafe;
            color: #2563eb;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }

        .profile-text {
            font-size: 13px;
            color: #334155;
        }

        .profile-text small {
            display: block;
            color: #64748b;
            font-size: 11px;
        }


        /* =====================================================
           CONTENIDO CENTRAL
        ===================================================== */

        .content {
            padding: 30px;
            max-width: 1100px;
            margin: 0 auto;
        }


        /* =====================================================
           HERO
        ===================================================== */

        .hero {
            background: linear-gradient(
                135deg,
                #1d4ed8,
                #2563eb 55%,
                #3b82f6
            );

            border-radius: 20px;
            padding: 45px;
            color: #ffffff;
            position: relative;
            overflow: hidden;
            margin-bottom: 25px;
        }

        .hero::before {
            content: "";
            position: absolute;
            width: 350px;
            height: 350px;
            border-radius: 50%;
            background: rgba(255,255,255,.07);
            right: -120px;
            top: -140px;
        }

        .hero::after {
            content: "";
            position: absolute;
            width: 180px;
            height: 180px;
            border-radius: 50%;
            background: rgba(255,255,255,.05);
            right: 120px;
            bottom: -120px;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 700px;
        }

        .hero h1 {
            font-size: 40px;
            line-height: 1.15;
            margin-bottom: 16px;
        }

        .hero p {
            font-size: 16px;
            line-height: 1.7;
            opacity: .95;
            margin-bottom: 23px;
        }

        .hero-buttons {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-block;
            padding: 11px 18px;
            border-radius: 9px;
            font-size: 13px;
            font-weight: bold;
            transition: .2s;
        }

        .btn-white {
            background: #ffffff;
            color: #2563eb;
        }

        .btn-white:hover {
            transform: translateY(-1px);
        }

        .btn-outline {
            color: #ffffff;
            border: 1px solid rgba(255,255,255,.6);
        }

        .btn-outline:hover {
            background: rgba(255,255,255,.1);
        }


        /* =====================================================
           BLOQUE SEO CENTRAL
        ===================================================== */

        .seo-section {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 16px;
            padding: 27px;
            margin-bottom: 28px;
        }

        .seo-section h2 {
            color: #0f172a;
            font-size: 23px;
            margin-bottom: 12px;
        }

        .seo-section h3 {
            color: #0f172a;
            font-size: 18px;
            margin-top: 22px;
            margin-bottom: 8px;
        }

        .seo-section p {
            color: #64748b;
            font-size: 14px;
            line-height: 1.75;
            margin-bottom: 10px;
        }

        .seo-section strong {
            color: #334155;
        }


        /* =====================================================
           TITULOS
        ===================================================== */

        .section-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 15px;
            margin-bottom: 17px;
        }

        .section-title h2 {
            color: #0f172a;
            font-size: 22px;
        }

        .section-title a {
            color: #2563eb;
            font-size: 13px;
            font-weight: bold;
            white-space: nowrap;
        }


        /* =====================================================
           PROYECTOS
        ===================================================== */

        .projects {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 18px;
            margin-bottom: 35px;
        }

        .project-card {
            background: #ffffff;
            border-radius: 15px;
            overflow: hidden;
            border: 1px solid #e5e7eb;
            transition: all .25s ease;
        }

        .project-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 15px 30px rgba(15,23,42,.08);
        }

        .project-image {
            height: 175px;
            background:
                linear-gradient(
                    135deg,
                    #dbeafe,
                    #e2e8f0
                );

            display: flex;
            align-items: center;
            justify-content: center;
            color: #64748b;
            font-size: 12px;
        }

        .project-body {
            padding: 18px;
        }

        .project-tag {
            display: inline-block;
            background: #eff6ff;
            color: #2563eb;
            padding: 4px 8px;
            border-radius: 6px;
            font-size: 10px;
            font-weight: bold;
            margin-bottom: 8px;
        }

        .project-body h3 {
            color: #0f172a;
            font-size: 17px;
            margin-bottom: 4px;
        }

        .project-location {
            color: #64748b;
            font-size: 12px;
            margin-bottom: 12px;
        }

        .project-price {
            color: #0f172a;
            font-size: 14px;
            font-weight: bold;
        }


        /* =====================================================
           ESTADISTICAS
        ===================================================== */

        .stats {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            margin-bottom: 35px;
        }

        .stat-card {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 13px;
            padding: 19px;
        }

        .stat-card strong {
            display: block;
            color: #2563eb;
            font-size: 25px;
            margin-bottom: 2px;
        }

        .stat-card span {
            color: #64748b;
            font-size: 12px;
        }


        /* =====================================================
           CATEGORIAS
        ===================================================== */

        .categories {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            margin-bottom: 35px;
        }

        .category-card {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 14px;
            padding: 21px;
            transition: .2s;
        }

        .category-card:hover {
            border-color: #93c5fd;
            transform: translateY(-2px);
            box-shadow: 0 10px 22px rgba(37,99,235,.06);
        }

        .category-icon {
            font-size: 25px;
            margin-bottom: 10px;
        }

        .category-card h3 {
            color: #0f172a;
            font-size: 15px;
            margin-bottom: 6px;
        }

        .category-card p {
            color: #64748b;
            font-size: 12px;
            line-height: 1.55;
        }


        /* =====================================================
           BARRANQUILLA
        ===================================================== */

        .city-seo {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 16px;
            padding: 28px;
            margin-bottom: 35px;
        }

        .city-seo h2 {
            color: #0f172a;
            font-size: 23px;
            margin-bottom: 12px;
        }

        .city-seo p {
            color: #64748b;
            font-size: 14px;
            line-height: 1.75;
            margin-bottom: 10px;
        }


        /* =====================================================
           CIUDADES
        ===================================================== */

        .cities {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 10px;
            margin-bottom: 35px;
        }

        .city {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 9px;
            padding: 13px 8px;
            text-align: center;
            color: #334155;
            font-size: 12px;
            font-weight: bold;
            transition: .2s;
        }

        .city:hover {
            border-color: #93c5fd;
            color: #2563eb;
            background: #f8fbff;
        }


        /* =====================================================
           VIS
        ===================================================== */

        .vis-section {
            background: linear-gradient(
                135deg,
                #ffffff,
                #f8fbff
            );

            border: 1px solid #dbeafe;
            border-radius: 16px;
            padding: 28px;
            margin-bottom: 35px;
        }

        .vis-section h2 {
            color: #0f172a;
            font-size: 23px;
            margin-bottom: 12px;
        }

        .vis-section p {
            color: #64748b;
            font-size: 14px;
            line-height: 1.75;
            margin-bottom: 10px;
        }


        /* =====================================================
           FAQ
        ===================================================== */

        .faq {
            margin-bottom: 35px;
        }

        .faq-item {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            padding: 18px 20px;
            margin-bottom: 10px;
        }

        .faq-item h3 {
            color: #0f172a;
            font-size: 15px;
            margin-bottom: 7px;
        }

        .faq-item p {
            color: #64748b;
            font-size: 13px;
            line-height: 1.65;
        }


        /* =====================================================
           SIDEBAR DERECHO FIJO
        ===================================================== */

        .right-sidebar {
            position: fixed;
            right: 0;
            top: 0;
            width: 330px;
            height: 100vh;
            background: #f8fafc;
            border-left: 1px solid #e5e7eb;
            padding: 25px 20px;
            overflow-y: auto;
            z-index: 800;
        }


        /* WIDGET */

        .widget {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 17px;
        }

        .widget h3 {
            color: #0f172a;
            font-size: 16px;
            margin-bottom: 8px;
        }

        .widget p {
            color: #64748b;
            font-size: 12px;
            line-height: 1.6;
            margin-bottom: 13px;
        }

        .widget input,
        .widget select {
            width: 100%;
            padding: 10px 11px;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            margin-bottom: 9px;
            outline: none;
            background: #ffffff;
            font-size: 12px;
        }

        .widget input:focus,
        .widget select:focus {
            border-color: #2563eb;
        }

        .widget button {
            width: 100%;
            border: none;
            background: #2563eb;
            color: #ffffff;
            padding: 10px;
            border-radius: 8px;
            font-size: 12px;
            font-weight: bold;
            cursor: pointer;
            transition: .2s;
        }

        .widget button:hover {
            background: #1d4ed8;
        }


        
        /* =====================================================
           FOOTER
        ===================================================== */

        .site-footer {
            width: auto;
            margin-left: 0;
            margin-right: 0;
            background: #0f172a;
            color: #ffffff;
            padding: 36px 30px 16px;
            margin-top: 10px;
        }

        .footer-content {
            width: 100%;
            max-width: 1100px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 45px;
            padding: 0;
        }

        .footer-brand {
            max-width: 330px;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #ffffff;
            font-size: 18px;
            margin-bottom: 10px;
        }

        .footer-logo strong {
            font-weight: 700;
        }

        .footer-brand p {
            color: #94a3b8;
            font-size: 12px;
            line-height: 1.7;
            margin: 0;
            max-width: 310px;
        }

        .footer-links,
        .footer-contact {
            display: flex;
            flex-direction: column;
        }

        .site-footer h4 {
            color: #ffffff;
            font-size: 13px;
            font-weight: 700;
            margin: 0 0 12px;
        }

        .footer-links a {
            color: #94a3b8;
            font-size: 11px;
            line-height: 1.6;
            margin-bottom: 6px;
            transition: color .2s ease;
        }

        .footer-links a:hover,
        .footer-legal a:hover {
            color: #ffffff;
        }

        .footer-contact p {
            color: #94a3b8;
            font-size: 11px;
            line-height: 1.6;
            margin: 0 0 7px;
        }

        .footer-bottom {
            width: 100%;
            max-width: 1100px;
            margin: 28px auto 0;
            padding: 17px 0 0;
            border-top: 1px solid #273449;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

        .footer-bottom p {
            margin: 0;
            color: #94a3b8;
            font-size: 10px;
        }

        .footer-legal {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .footer-legal a {
            color: #94a3b8;
            font-size: 10px;
            transition: color .2s ease;
        }


        /* =====================================================
           TABLET
        ===================================================== */

        ===================================================== */


        @media (max-width: 1250px) {

            .right-sidebar {
                width: 285px;
            }

            .main {
                margin-right: 285px;
            }

            .projects {
                grid-template-columns: repeat(2, 1fr);
            }

            .categories {
                grid-template-columns: repeat(2, 1fr);
            }

            .cities {
                grid-template-columns: repeat(3, 1fr);
            }

        }


        /* =====================================================
           TABLET PEQUEÑA
        ===================================================== */

        @media (max-width: 1000px) {

            .site-footer {
                margin-left: 220px;
                margin-right: 0;
            }

            .sidebar {
                width: 220px;
            }

            .main {
                margin-left: 220px;
                margin-right: 0;
            }

            .right-sidebar {
                position: relative;
                width: auto;
                height: auto;
                border-left: none;
                border-top: 1px solid #e5e7eb;
                padding: 20px;
            }

            .right-sidebar .widget {
                max-width: 700px;
                margin-left: auto;
                margin-right: auto;
            }

            .topbar {
                padding: 0 20px;
            }

        }


        /* =====================================================
   MOBILE
===================================================== */

@media (max-width: 750px) {

    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        padding: 18px;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .brand {
        padding-bottom: 18px;
    }

    .menu {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 3px;
    }

    .menu a {
        white-space: nowrap;
        padding: 10px 12px;
        font-size: 12px;
    }

    .sidebar-banner {
        display: none;
    }

    .main {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .topbar {
        height: auto;
        padding: 15px;
    }

    .search-box {
        width: 100%;
    }

    .top-actions {
        display: none;
    }

    .content {
        padding: 18px;
        width: 100%;
    }

    .hero {
        padding: 30px 24px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 14px;
    }

    .projects {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories {
        grid-template-columns: 1fr 1fr;
    }

    .cities {
        grid-template-columns: repeat(2, 1fr);
    }

    /* FOOTER EN CELULAR */

    .site-footer {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 30px 20px 15px;
    }

    .footer-content {
        width: 100%;
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

}


        /* =====================================================
           MOBILE PEQUEÑO
        ===================================================== */

        @media (max-width: 480px) {

            .hero h1 {
                font-size: 27px;
            }

            .stats {
                grid-template-columns: 1fr 1fr;
            }

            .categories {
                grid-template-columns: 1fr;
            }

            .cities {
                grid-template-columns: 1fr 1fr;
            }

            .site-footer {
                margin-left: 0;
                margin-right: 0;
                padding: 30px 20px 15px;
            }

            .footer-content {
                grid-template-columns: 1fr;
                gap: 28px;
                padding: 0;
            }

            .footer-bottom {
                padding-left: 0;
                padding-right: 0;
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }

            .footer-legal {
                flex-wrap: wrap;
                gap: 12px;
            }

            

        }
        
        
