
        /* Estilos generales mejorados */
        :root {
            --azul-oscuro: #1e3a5f;
            --azul-claro: #2c5aa0;
            --dorado: #c9a227;
            --dorado-claro: #e6c449;
            --gris: #f8f9fa;
            --gris-oscuro: #6c757d;
            --verde-topografo: #3a7c3a;
            --blanco: #ffffff;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: var(--blanco);
        }

        a {
            text-decoration: none;
            color: var(--azul-claro);
            transition: all 0.3s ease;
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .btn {
            display: inline-block;
            background: var(--azul-claro);
            color: white;
            padding: 0.7rem 1.5rem;
            border-radius: 5px;
            transition: all 0.3s ease;
            font-weight: 600;
            text-align: center;
            border: none;
            cursor: pointer;
        }

        .btn:hover {
            background: var(--azul-oscuro);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        .btn-outline {
            background: transparent;
            border: 2px solid var(--dorado);
            color: var(--dorado);
        }

        .btn-outline:hover {
            background: var(--dorado);
            color: var(--azul-oscuro);
        }

        .section-title {
            text-align: center;
            margin-bottom: 3rem;
            color: var(--azul-oscuro);
            position: relative;
            font-size: 2.2rem;
            font-weight: 700;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: var(--dorado);
            margin: 0.8rem auto 0;
            border-radius: 2px;
        }

        /* Header mejorado */
        header {
            background: linear-gradient(135deg, var(--azul-oscuro), var(--azul-claro));
            color: white;
            padding: 0.8rem 0;
            box-shadow: 0 2px 15px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .logo img {
            height: 100px;
            border-radius: 5px;
        }

        .logo-text h1 {
            font-size: 1.6rem;
            margin-bottom: 0.2rem;
            font-weight: 700;
        }

        .logo-text p {
            font-size: 0.9rem;
            opacity: 0.9;
        }


        /* Navegación mejorada - Diseño más formal y redondeado */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
}

.nav-links {
    display: flex;
    gap: 1rem;
    position: relative;
}

.nav-links a {
    color: white;
    font-weight: 500;
    padding: 0.7rem 1.2rem;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-links a:hover::before {
    opacity: 1;
}

.nav-links a.active {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.nav-links a i {
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.login-btn {
    background: linear-gradient(to right, var(--dorado), var(--dorado-claro));
    color: var(--azul-oscuro);
    font-weight: bold;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Estilos responsive para el navbar */
@media (max-width: 992px) {
    .nav-links {
        gap: 0.5rem;
    }
    
    .nav-links a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--azul-oscuro);
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-radius: 0 0 10px 10px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        border-radius: 8px;
        margin-bottom: 0.5rem;
        justify-content: flex-start;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}
        /* Hero Section mejorada */
        .hero-slider {
            position: relative;
            height: 65vh;
            overflow: hidden;
        }

        .slides {
            height: 100%;
            position: relative;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }

        .slide.active {
            opacity: 1;
        }

        .slide-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            color: white;
            background-color: rgba(30, 58, 95, 0.85);
            padding: 2.5rem;
            border-radius: 10px;
            max-width: 800px;
            width: 90%;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

        .slide-content h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .slide-content p {
            font-size: 1.2rem;
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .slider-controls {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            z-index: 10;
            transform: translateY(-50%);
        }

        .slider-controls button {
            background: var(--dorado);
            color: var(--azul-oscuro);
            border: none;
            padding: 1rem;
            font-size: 1.5rem;
            cursor: pointer;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 1rem;
            opacity: 0.8;
            transition: all 0.3s;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }

        .slider-controls button:hover {
            opacity: 1;
            transform: scale(1.1);
        }

        .slider-dots {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
        }

        .slider-dots .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: white;
            opacity: 0.5;
            cursor: pointer;
            transition: all 0.3s;
        }

        .slider-dots .dot.active {
            opacity: 1;
            background: var(--dorado);
            transform: scale(1.2);
        }

        /* Buscador de Topógrafos mejorado */
        .verified-surveyors {
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
            padding: 5rem 0;
            position: relative;
        }

        .verified-surveyors::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(to right, var(--azul-oscuro), var(--dorado));
        }

        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-header h2 {
            color: var(--azul-oscuro);
            font-size: 2.2rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .section-header p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto;
            color: var(--gris-oscuro);
        }

        .search-container {
            background: white;
            border-radius: 12px;
            padding: 2.5rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            max-width: 900px;
            margin: 0 auto;
            border: 1px solid rgba(0,0,0,0.05);
        }

        #surveyor-search {
            margin-bottom: 2rem;
        }

        .search-input-group {
            display: flex;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        #search-input {
            flex: 1;
            padding: 1rem 1.5rem;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s;
        }

        #search-input:focus {
            border-color: var(--azul-claro);
            box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
            outline: none;
        }

        #search-results {
            display: none;
            margin-top: 2rem;
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid #eee;
        }

        .results-header h3 {
            color: var(--azul-oscuro);
            font-size: 1.5rem;
        }

        .results-count {
            background: var(--azul-claro);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.9rem;
        }

        .surveyor-card {
            background: var(--gris);
            border-radius: 10px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
            border-left: 4px solid var(--dorado);
            transition: all 0.3s;
        }

        .surveyor-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .surveyor-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1rem;
        }

        .surveyor-info h4 {
            color: var(--azul-oscuro);
            margin: 0 0 0.5rem;
            font-size: 1.3rem;
        }

        .surveyor-badge {
            background: var(--verde-topografo);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .surveyor-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .detail-item {
            display: flex;
            flex-direction: column;
        }

        .detail-label {
            font-size: 0.85rem;
            color: var(--gris-oscuro);
            margin-bottom: 0.3rem;
        }

        .detail-value {
            font-weight: 500;
        }

        .surveyor-contact {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .contact-link {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--azul-claro);
            font-weight: 500;
        }

        .contact-link:hover {
            color: var(--azul-oscuro);
        }

        /* Galería de documentos mejorada */
        .documents-gallery {
            margin-top: 1.5rem;
        }

        .documents-title {
            color: var(--azul-oscuro);
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        .documents-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1rem;
        }

        .document-item {
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }

        .document-item:hover {
            transform: translateY(-5px);
        }

        .document-thumbnail {
            width: 100%;
            height: 180px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            margin-bottom: 0.5rem;
            position: relative;
        }

        .document-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .document-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(30, 58, 95, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .document-item:hover .document-overlay {
            opacity: 1;
        }

        .document-overlay i {
            color: white;
            font-size: 2rem;
        }

        .document-label {
            font-size: 0.85rem;
            color: var(--gris-oscuro);
        }
        /* Buscador de Topógrafos mejorado */
        .verified-surveyors {
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
            padding: 5rem 0;
            position: relative;
        }

        .verified-surveyors::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(to right, var(--azul-oscuro), var(--dorado));
        }

        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-header h2 {
            color: var(--azul-oscuro);
            font-size: 2.2rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .section-header p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto;
            color: var(--gris-oscuro);
        }

        .search-container {
            background: white;
            border-radius: 12px;
            padding: 2.5rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            max-width: 900px;
            margin: 0 auto;
            border: 1px solid rgba(0,0,0,0.05);
        }

        #surveyor-search {
            margin-bottom: 2rem;
        }

        .search-input-group {
            display: flex;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        #search-input {
            flex: 1;
            padding: 1rem 1.5rem;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s;
        }

        #search-input:focus {
            border-color: var(--azul-claro);
            box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
            outline: none;
        }

        #search-results {
            display: none;
            margin-top: 2rem;
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid #eee;
        }

        .results-header h3 {
            color: var(--azul-oscuro);
            font-size: 1.5rem;
        }

        .results-count {
            background: var(--azul-claro);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.9rem;
        }

        .surveyor-card {
            background: var(--gris);
            border-radius: 10px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
            border-left: 4px solid var(--dorado);
            transition: all 0.3s;
        }

        .surveyor-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .surveyor-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1rem;
        }

        .surveyor-info h4 {
            color: var(--azul-oscuro);
            margin: 0 0 0.5rem;
            font-size: 1.3rem;
        }

        .surveyor-badge {
            background: var(--verde-topografo);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .surveyor-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .detail-item {
            display: flex;
            flex-direction: column;
        }

        .detail-label {
            font-size: 0.85rem;
            color: var(--gris-oscuro);
            margin-bottom: 0.3rem;
        }

        .detail-value {
            font-weight: 500;
        }

        .surveyor-contact {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .contact-link {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--azul-claro);
            font-weight: 500;
        }

        .contact-link:hover {
            color: var(--azul-oscuro);
        }

        /* Galería de documentos mejorada */
        .documents-gallery {
            margin-top: 1.5rem;
        }

        .documents-title {
            color: var(--azul-oscuro);
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        .documents-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1rem;
        }

        .document-item {
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }

        .document-item:hover {
            transform: translateY(-5px);
        }

        .document-thumbnail {
            width: 100%;
            height: 180px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            margin-bottom: 0.5rem;
            position: relative;
        }

        .document-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .document-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(30, 58, 95, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .document-item:hover .document-overlay {
            opacity: 1;
        }

        .document-overlay i {
            color: white;
            font-size: 2rem;
        }

        .document-label {
            font-size: 0.85rem;
            color: var(--gris-oscuro);
        }

        /* Modal para PDF */
        .pdf-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }

        .pdf-modal.active {
            display: flex;
        }

        .pdf-modal-content {
            background: white;
            border-radius: 10px;
            width: 90%;
            max-width: 900px;
            height: 90%;
            display: flex;
            flex-direction: column;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }

        .pdf-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 1.5rem;
            border-bottom: 1px solid #eee;
        }

        .pdf-modal-title {
            font-size: 1.2rem;
            color: var(--azul-oscuro);
            font-weight: 600;
        }

        .pdf-modal-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--gris-oscuro);
            transition: color 0.3s;
        }

        .pdf-modal-close:hover {
            color: var(--azul-oscuro);
        }

        .pdf-modal-body {
            flex: 1;
            padding: 1.5rem;
            overflow: auto;
        }

        .pdf-iframe {
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 5px;
        }

        /* Noticias mejoradas */
        .news {
            padding: 5rem 0;
            background: var(--gris);
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2.5rem;
        }

        .news-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: all 0.3s;
        }

        .news-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }

        .news-img {
            height: 220px;
            overflow: hidden;
        }

        .news-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .news-card:hover .news-img img {
            transform: scale(1.05);
        }

        .news-content {
            padding: 1.8rem;
        }

        .news-date {
            color: var(--azul-claro);
            font-size: 0.9rem;
            margin-bottom: 0.8rem;
            font-weight: 500;
        }

        .news-content h3 {
            margin-bottom: 1rem;
            color: var(--azul-oscuro);
            font-size: 1.4rem;
            line-height: 1.4;
        }

        .news-excerpt {
            margin-bottom: 1.5rem;
            color: #555;
            line-height: 1.6;
        }

        /* Footer mejorado */
        footer {
            background: linear-gradient(135deg, var(--azul-oscuro), #152a45);
            color: white;
            padding: 4rem 0 1rem;
            position: relative;
            overflow: hidden;
        }

        footer::before {
            content: "";
            position: absolute;
            top: -50px;
            left: 0;
            right: 0;
            height: 100px;
            background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%231e3a5f" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%231e3a5f" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%231e3a5f"/></svg>');
            background-size: cover;
            background-repeat: no-repeat;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2.5rem;
            margin-bottom: 3rem;
        }

        .footer-column h3 {
            color: var(--dorado);
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
            position: relative;
            padding-bottom: 0.5rem;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background: var(--dorado-claro);
        }

        .footer-column p {
            margin-bottom: 1.5rem;
            line-height: 1.6;
            color: #ccc;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.8rem;
        }

        .footer-links a {
            color: #ccc;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
        }

        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }

        .footer-links a i {
            margin-right: 0.5rem;
            width: 20px;
            text-align: center;
        }

        /* Sección de empresas colaboradoras */
        .partners-section {
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
        }

        .partners-title {
            text-align: center;
            color: var(--dorado);
            margin-bottom: 1.5rem;
            font-size: 1.2rem;
        }

        .partners-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1.5rem;
            align-items: center;
        }
.partner-logo {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.partner-logo img {
    width: 200px;
    height: 90px;
    object-fit: contain; /* Mantiene la proporción sin distorsionar */
    border: 1px solid #ddd;
    padding: 10px;
    background: white;
    border-radius: 8px;
    display: block;
}
       



        .partner-logo:hover img {
            opacity: 1;
        }

        /* Redes sociales mejoradas */
        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .social-links a {
            color: white;
            background: rgba(255,255,255,0.1);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background: var(--dorado);
            color: var(--azul-oscuro);
            transform: translateY(-3px);
        }

        .copyright {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.9rem;
            color: #aaa;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .nav-links {
                gap: 1rem;
            }
            
            .slide-content h2 {
                font-size: 2rem;
            }
            
            .slide-content p {
                font-size: 1rem;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            
            .hero-slider {
                height: 50vh;
            }
            
            .slide-content {
                padding: 1.5rem;
            }
            
            .search-input-group {
                flex-direction: column;
            }
            
            .surveyor-details {
                grid-template-columns: 1fr;
            }
            
            .surveyor-contact {
                flex-direction: column;
                gap: 0.5rem;
            }
            
            .documents-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .news-grid {
                grid-template-columns: 1fr;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .partners-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 576px) {
            .logo {
                flex-direction: column;
                text-align: center;
                gap: 0.5rem;
            }
            
            .logo-text h1 {
                font-size: 1.3rem;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
            
            .section-header h2 {
                font-size: 1.8rem;
            }
            
            .search-container {
                padding: 1.5rem;
            }
            
            .documents-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Secciones */
        section {
            padding: 4rem 0;
        }
        .section-title {
            text-align: center;
            margin-bottom: 3rem;
            color: var(--azul-oscuro);
            position: relative;
        }
        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 3px;
            background: var(--dorado);
            margin: 0.5rem auto 0;
        }

        /* Quiénes Somos */
        .about {
            background: var(--gris);
        }
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            align-items: center;
        }
        .about-img {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .about-img img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* Proyectos */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
        }
        .project-card {
            border: 1px solid #ddd;
            border-radius: 8px;
            overflow: hidden;
            transition: transform 0.3s ease;
        }
        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        .project-img {
            height: 200px;
            overflow: hidden;
        }
        .project-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .project-card:hover .project-img img {
            transform: scale(1.05);
        }
        .project-info {
            padding: 1.5rem;
        }
        .project-info h3 {
            margin-bottom: 0.5rem;
            color: var(--azul-oscuro);
        }
        .project-meta {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1rem;
            font-size: 0.9rem;
            color: #666;
        }
        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 1rem;
        }
        .tag {
            background: var(--gris);
            padding: 0.2rem 0.5rem;
            border-radius: 3px;
            font-size: 0.8rem;
        }

        /* Noticias */
        .news {
            background: var(--gris);
        }
        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2rem;
        }
        .news-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }
        .news-img {
            height: 200px;
            overflow: hidden;
        }
        .news-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .news-content {
            padding: 1.5rem;
        }
        .news-date {
            color: var(--azul-claro);
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }
        .news-content h3 {
            margin-bottom: 1rem;
        }
        .news-excerpt {
            margin-bottom: 1rem;
            color: #555;
        }

        /* Contacto */
        .contact-form {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }
        .contact-info {
            padding: 1rem;
        }
        .contact-info h3 {
            margin-bottom: 1rem;
            color: var(--azul-oscuro);
        }
        .contact-info p {
            margin-bottom: 1.5rem;
        }
        .contact-details {
            margin-top: 2rem;
        }
        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        .contact-icon {
            background: var(--azul-claro);
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        form {
            background: var(--gris);
            padding: 2rem;
            border-radius: 8px;
        }
        .form-group {
            margin-bottom: 1.5rem;
        }
        label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }
        input, textarea, select {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-family: inherit;
        }
        textarea {
            min-height: 150px;
        }
        .submit-btn {
            background: var(--azul-claro);
            color: white;
            border: none;
            padding: 1rem 2rem;
            font-size: 1rem;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .submit-btn:hover {
            background: var(--azul-oscuro);
        }

        /* Footer mejorado */
        footer {
            background: linear-gradient(135deg, var(--azul-oscuro), #152a45);
            color: white;
            padding: 4rem 0 1rem;
            position: relative;
            overflow: hidden;
        }

        footer::before {
            content: "";
            position: absolute;
            top: -50px;
            left: 0;
            right: 0;
            height: 100px;
            background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%231e3a5f" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%231e3a5f" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%231e3a5f"/></svg>');
            background-size: cover;
            background-repeat: no-repeat;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2.5rem;
            margin-bottom: 3rem;
        }

        .footer-column h3 {
            color: var(--dorado);
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
            position: relative;
            padding-bottom: 0.5rem;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background: var(--dorado-claro);
        }

        .footer-column p {
            margin-bottom: 1.5rem;
            line-height: 1.6;
            color: #ccc;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.8rem;
        }

        .footer-links a {
            color: #ccc;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
        }

        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }

        .footer-links a i {
            margin-right: 0.5rem;
            width: 20px;
            text-align: center;
        }

        .footer-contact {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .contact-item i {
            color: var(--dorado);
            font-size: 1.2rem;
            width: 20px;
        }

        /* Sección de empresas colaboradoras */
        .partners-section {
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
        }

        .partners-title {
            text-align: center;
            color: var(--dorado);
            margin-bottom: 1.5rem;
            font-size: 1.2rem;
        }

        .partners-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1.5rem;
            align-items: center;
        }
.partner-logo {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.partner-logo img {
    width: 200px;
    height: 90px;
    object-fit: contain; /* Mantiene la proporción sin distorsionar */
    border: 1px solid #ddd;
    padding: 10px;
    background: white;
    border-radius: 8px;
    display: block;
}
       



        .partner-logo:hover img {
            opacity: 1;
        }

        /* Redes sociales mejoradas */
        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .social-links a {
            color: white;
            background: rgba(255,255,255,0.1);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            background: var(--dorado);
            color: var(--azul-oscuro);
            transform: translateY(-3px);
        }

        .copyright {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.9rem;
            color: #aaa;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .nav-links {
                gap: 0.5rem;
            }
            
            .nav-links a {
                padding: 0.6rem 1rem;
                font-size: 0.9rem;
            }
            
            .slide-content h2 {
                font-size: 2rem;
            }
            
            .slide-content p {
                font-size: 1rem;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: var(--azul-oscuro);
                padding: 1rem;
                box-shadow: 0 5px 15px rgba(0,0,0,0.1);
                border-radius: 0 0 10px 10px;
            }
            
            .nav-links.active {
                display: flex;
            }
            
            .nav-links a {
                border-radius: 8px;
                margin-bottom: 0.5rem;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .hero-slider {
                height: 50vh;
            }
            
            .slide-content {
                padding: 1.5rem;
            }
            
            .search-input-group {
                flex-direction: column;
            }
            
            .surveyor-details {
                grid-template-columns: 1fr;
            }
            
            .surveyor-contact {
                flex-direction: column;
                gap: 0.5rem;
            }
            
            .documents-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .news-grid {
                grid-template-columns: 1fr;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .partners-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 576px) {
            .logo {
                flex-direction: column;
                text-align: center;
                gap: 0.5rem;
            }
            
            .logo-text h1 {
                font-size: 1.3rem;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
            
            .section-header h2 {
                font-size: 1.8rem;
            }
            
            .search-container {
                padding: 1.5rem;
            }
            
            .documents-grid {
                grid-template-columns: 1fr;
            }
            
        }

        /* Estilos para las mejoras */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-img:hover .project-overlay {
    opacity: 1;
}

.overlay-text {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.project-rating {
    color: var(--dorado);
    font-size: 0.9rem;
}

.project-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--dorado);
    color: var(--dorado);
}

.btn-outline:hover {
    background: var(--dorado);
    color: white;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(to right, var(--dorado), var(--dorado-claro));
    color: var(--azul-oscuro);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}      
    /* Estilos para el mapa */
#map-container {
    position: relative;
    height: 600px;
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

#map {
    height: 100%;
}

#map-legend {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.legend-icon {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 8px;
}
/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.section-title {
    animation: fadeIn 1s ease-out;
}

.project-card, .news-card {
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: both;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.3s; }
.project-card:nth-child(3) { animation-delay: 0.5s; }

/* Efecto de hover en enlaces */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--dorado);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}
    