
        
      /* Diseño original para pantallas grandes */
.nosotros-section {
    background-color: #fff;
    padding: 50px 7% 0 7%;
    margin: 50px 10px 0 10px;
}

.nosotros-section p {
    line-height: 1.6;
    text-align: justify;
}

.nosotros-section .highlight {
    color: #e74c3c;
    font-weight: bold;
}

.nosotros-section .team {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
}

.nosotros-section .team-member {
    text-align: center;
}

.nosotros-section .team-member img {
    width: 150px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 10px;
}

.equipo-img {
    width: 160vh;
    height: 300px;
    border-radius: 10px;
    display: flex;
    margin: auto;
        
    object-fit: cover;
}
/* Media Queries para pantallas de tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .equipo-img {
        width: 55vh; /* Ajustar el ancho para tablets */
        height: 200px; /* Ajustar la altura para tablets */
        border-radius: 10px;
        display: flex;
        margin: auto;
        object-fit: cover;
    }
}
.infoUS {
    text-align: left;
    margin-top: 20px;
}
.infoUS p {
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    color: #000;
}

.team p {
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    text-align: center;
    color: #000;
}   

#titulo-nosotros {
    color: #005f3c;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 600;
}

#titulo-agencia {
    color: #008c5f;
    margin-top: 15px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 600;
}
#titulo-redes {
    color: #008c5f;
    margin-top: 15px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.redes {
    margin-top: 60px;
    text-align: center;
    background: #f0f0f0;
    padding: 20px;
}

.icon {
    font-size: 40px;
    margin: 0 10px;
    color: #008c5f;
    text-decoration: none;
}

.icon:hover {
    color: #005f3c;
}

/* 📌 Solo aplicar cambios en pantallas menores a 768px */
@media (max-width: 768px) {
    .nosotros-section {
        padding: 20px;
        margin: 100px 10px 0 10px;
    }

    .nosotros-section .team {
        flex-direction: column; /* Miembros en columna en móviles */
        align-items: center;
    }

    .nosotros-section .team-member {
        max-width: 100%;
    }

    .nosotros-section .team-member img {
        width: 70px; /* Reduce aún más en móviles */
        height: auto;
    }

    .equipo-img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .redes {
        padding: 20px;
        margin-top: 30px;
    }

    .icon {
        font-size: 30px;
    }
}
.admin-btn-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 40px;
        }
        .admin-btn {
            display: flex;
            align-items: center;
            background-color: var(--primary-red);
            color: white;
            border: none;
            padding: 8px 15px;
            font-size: 14px;
            cursor: pointer;
            border-radius: 5px;
            text-decoration: none;
            transition: background 0.3s;
            width: auto;
        }
        .admin-btn:hover {
            background-color:  darkred;
        }
        .admin-btn i {
            margin-right: 5px;
        }
:root {
    --primary-red: #e71522;
    --primary-green: #00733c;
    --primary-darkgreen: #074929;
    --primary-yellow: #f4a261;
    --primary-white: #ffffff;
}

/* Sección Cómo Llegar */
.location-section {

    padding: 60px 20px;
    margin: 40px 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.location-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 115, 60, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.location-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-darkgreen));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.location-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary-green);
    margin-bottom: 50px;
    font-weight: 300;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.location-info {
    background: var(--primary-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-green);
    border-right: 3px solid var(--primary-yellow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.location-info h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-info h3 i {
    color: var(--primary-green);
    font-size: 1.5rem;
}

.address-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--primary-white);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.address-item:hover {
    background: #eaf9ec;
    transform: translateX(5px);
}

.address-item i {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-top: 3px;
    min-width: 20px;
}

.address-item div {
    flex: 1;
}

.address-item strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.address-item span {
    color: #5a6c7d;
    font-size: 0.95rem;
    line-height: 1.4;
}

.map-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.map-container:hover {
    transform: scale(1.02);
}

.map-preview {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 15px;
    transition: filter 0.3s ease;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 115, 60, 0.1), rgba(244, 162, 97, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.map-container:hover .map-overlay {
    opacity: 1;
}

.map-overlay-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.map-overlay-content i {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 10px;
}

.map-overlay-content p {
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
}

.location-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-darkgreen));
    color: var(--primary-white);
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 115, 60, 0.3);
    border: 2px solid transparent;
}

.location-btn:hover {
    background: linear-gradient(135deg, var(--primary-darkgreen), #03391f);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 115, 60, 0.4);
    color: var(--primary-white);
    border: 2px solid var(--primary-yellow);
}

.location-btn i {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .location-section {
        padding: 40px 15px;
        margin: 20px 0;
    }

    .location-title {
        font-size: 2.2rem;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .location-info {
        padding: 25px;
    }

    .location-info h3 {
        font-size: 1.5rem;
    }

    .map-preview {
        height: 300px;
    }

    .address-item {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .location-title {
        font-size: 1.8rem;
    }

    .location-subtitle {
        font-size: 1rem;
    }

    .location-info {
        padding: 20px;
    }

    .address-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .address-item i {
        margin-top: 0;
    }
}
