a {
    text-decoration: none;
}

.navbar {
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.navbar-brand img {
    height: 85px;
}

.navbar-brand {
    padding: 0;
    margin: 0 0 0 80px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231B2631' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav {
    gap: 30px;
    margin-left: 200px;
}

.nav-link {
    color: #000 !important;
    white-space: nowrap;
}

/*tarjetas para proyectos*/
.proyecto-card{
border-radius:15px;
overflow:hidden;
}

.proyecto-card img{
width:100%;
height:auto;
}


.precio-desde{
color:#D35400;
font-weight:700;
}

.precio{
font-size:36px;
font-weight:800;
color:#333;
}

/* Banner Sobre Nosotros */
.banner-nosotros {
    width: 100%;
    overflow: hidden;
    max-height: 400px;
}

.banner-nosotros img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carrusel cliqueable */
.carousel-item a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive navbar */
@media (max-width: 991px) {
    .navbar-brand {
        margin-left: 0 !important;
    }
    .navbar-toggler {
        margin-left: auto;
        order: 1;
    }
    .navbar-brand {
        order: 0;
    }
}

/* Banner Sobre Nosotros */
.banner-nosotros {
    width: 100%;
    overflow: hidden;
    max-height: 400px;
}

.banner-nosotros img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carrusel cliqueable */
.carousel-item a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-nosotros {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.banner-nosotros img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Estilos para el mapa responsive */
.map-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    margin: 20px 0; /* Espacio alrededor */
    border-radius: 10px; /* Bordes redondeados para mejor apariencia */
    overflow: hidden; /* Evitar desbordes */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Sombra para mejor apariencia */
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px; /* Bordes redondeados */
}

.precio-usd{
font-size:20px;
color:#6c757d;
}

.btn-proyecto{
background:#D35400;
color:white;
padding:10px 25px;
border-radius:10px;
font-weight:600 !important;
margin-top:10px;
transition:0.3s;
}

.btn-proyecto:hover{
background:#B34700;
color:white;
}

.info-proyecto li{
font-size:12px !important;
}

.info-proyecto{
list-style:none;
padding:0;
margin:0;
}

.info-proyecto{
list-style:none;
padding:0;
margin:0;
font-size:12px;
}

.info-proyecto i{
color:#4A4A4A;
margin-right:8px;
margin-top:3px;
}

/*Boton de whatsapp*/

/* Botón flotante WhatsApp */
.btn-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 1vw, 14px);
    padding: clamp(10px, 1vw, 20px) clamp(12px, 1.25vw, 24px);
    background: linear-gradient(135deg, #25D366 0%, #1BBE4D 100%);
    color: #ffffff;
    font-size: clamp(0.88rem, 1vw, 1.05rem);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-radius: 80px;
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
    border: none;
    animation: whatsapp-float 2.8s ease-in-out infinite;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
    color: #fff !important;
    will-change: transform;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus,
.btn-whatsapp:active {
    transform: translateY(-8px) scale(1.04);
    animation-play-state: paused;
    box-shadow: 0 24px 56px rgba(37, 211, 102, 0.35);
    opacity: 1;
    text-decoration: none;
    color: #ffffff !important;
}

.btn-whatsapp:hover .icono,
.btn-whatsapp:focus .icono,
.btn-whatsapp:active .icono {
    transform: scale(1.05);
}

.btn-whatsapp .icono {
    width: clamp(18px, 1.5vw, 28px);
    height: clamp(18px, 1.5vw, 28px);
    object-fit: contain;
    transition: transform 0.2s ease;
}

@keyframes whatsapp-float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-6px) scale(1.01);
    }
    50% {
        transform: translateY(0) scale(1.02);
    }
    75% {
        transform: translateY(-4px) scale(1.01);
    }
}

@media (max-width: 992px) {
    .btn-whatsapp {
        right: 18px;
        bottom: 18px;
        padding: 10px 14px;
        font-size: 0.92rem;
        gap: 10px;
        border-radius: 70px;
    }
    .btn-whatsapp .icono {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 576px) {
    .btn-whatsapp {
        right: 12px;
        bottom: 12px;
        padding: 8px 12px;
        font-size: 0.82rem;
        gap: 8px;
    }
    .btn-whatsapp .icono {
        width: 18px;
        height: 18px;
    }
}

/*Popup*/

.popup{
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.6);
justify-content: center;
align-items: center;
z-index: 9999;
}

.popup-contenido{
position: relative;
background: white;
padding: 5px;
border-radius: 15px;
max-width: 70vh;
animation: caer 0.8s ease;
}

.img-popup{
max-width: 100%;
width: 100%;
height: auto;
border-radius: 10px;
}

.cerrar{
position: absolute;
top: 10px;
right: 10px;
background: rgb(255, 0, 0);
border-radius: 100%;
color: white;
font-weight: bold;
font-size: 27.5px;
cursor: pointer;
padding: 0px 13px;
animation: palpitar 1.5s ease-in-out infinite;
}

@keyframes caer{
0%{
transform: translateY(-200px);
opacity:0;
}
100%{
transform: translateY(0);
opacity:1;
}
}

.nav-item-zona-clientes {
    background:#D35400;
    color:white;
    padding:0px 25px;
    border-radius:16px;
    text-decoration:none;
    margin-left:10px;
    transition:0.3s;
}

.nav-item-zona-clientes .nav-link{
color: #ffffff;
}

.social-icon {
    font-size: 40px;
    transition: 0.3s;
}

/* Facebook */
.facebook { color: #1877F2; }

/* Instagram (degradado 🔥) */
.instagram {
    background: radial-gradient(circle at 30% 107%, 
        #fdf497 0%, #fdf497 5%, 
        #fd5949 45%, #d6249f 60%, 
        #285AEB 90%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* WhatsApp */
.whatsapp { color: #25D366; }

/* LinkedIn */
.linkedin { color: #0A66C2; }

/*YouTube*/
.youtube {
    color: #FF0000; /* rojo oficial de YouTube */
}

/* TikTok */
.tiktok {
    color: #000;
    text-shadow: 
        2px 2px #25F4EE,   /* azul */
       -2px -2px #FE2C55; /* rosado */
    transition: 0.3s;
}

/* Hover */
.social-icon:hover {
    transform: scale(1.2);
}

.logo_footer {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
}

/*PROYECTO BRISAS 1*/

/* CONTENEDOR GENERAL */
.proyecto1-header {
    border-bottom: 1px solid #eee;
}

/* INFO IZQUIERDA */
.proyecto1-info {
    align-items: center;
}

/* LOGO */
.proyecto1-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* TITULO */
.proyecto1-titulo {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 5px;
}

/* UBICACION */
.proyecto1-ubicacion {
    color: #555;
    font-size: 14px;
}

.proyecto1-ubicacion a {
    color: #007bff;
    font-weight: 600;
}

/* TABS */
.proyecto1-tabs {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid #eee;
}

.proyecto1-tabs span,
.proyecto1-tabs a {
    padding-bottom: 10px;
    cursor: pointer;
    color: #000000;
    font-weight: 500;
    transition: 0.3s;
    text-decoration: none;
}

.proyecto1-tabs span:hover,
.proyecto1-tabs a:hover {
    color: black;
    border-bottom: 3px solid #D35400;
    font-weight: bold;
}

.proyecto1-tabs .activo {
    border-bottom: 3px solid #D35400;
    color: black;
    font-weight: bold;
}

.proyecto1-tabs a {
    display: inline-flex;
    align-items: center;
}


/* DERECHA PRECIO */
.proyecto1-desde {
    text-align: start;
    color: #666;
    margin-bottom: 0;
}

.proyecto1-precio {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: start;
    margin-bottom: 5px;
}

.text-danger {
    display: inline-block;
    background: #ffe5e5;
    color: #d00000 !important;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 13px;
}

/* STATS (MEJORADO) */
.proyecto1-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #f5f5f5;
    padding: 15px;
    margin-top: 10px;
    border-radius: 5px;
    gap: 10px;
}

.proyecto1-stats div {
    text-align: center;
}

.proyecto1-stats strong {
    font-size: 16px;
}

.proyecto1-stats p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

/* ===== GALERIA ===== */
.proyecto1-img-box {
    position: relative;
    margin-top: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.3s ease;
}

.slider img {
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* TITULO Y SUBTITULO DE GALERIA */
.galeria-titulo {
    text-align: center;
    font-size: bold;
    color: #000000;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 28px;
}

.ubicacion-titulo{
    font-size: bold;
    color: #000000;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 28px;
}

.galeria-subtitulo {
    text-align: center;
    color: #000000;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 400;
}

.proyecto1-img-box:hover img {
    transform: scale(1.02);
}

/* TAGS */
.proyecto1-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #1e1e2f;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
}

.proyecto1-tag.second {
    left: 150px;
}

/* FLECHAS MEJORADAS */
.proyecto1-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.proyecto1-arrow.left {
    left: 15px;
}

.proyecto1-arrow.right {
    right: 15px;
}

/* ===== CONTENIDO ===== */
.proyecto1-contenido .row {
    align-items: flex-start;
}

/* ===== CARDS ===== */
.proyecto1-card {
    background: #f2f2f2;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.proyecto1-card h3 {
    color: #000000;
    margin-bottom: 15px;
    font-weight: 700;
}

/* GRID */
.proyecto1-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* MINI GALERIA */
.proyecto1-mini-galeria {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.proyecto1-mini-galeria img {
    width: 100%;
    border-radius: 5px;
}

/* ===== FORMULARIO ===== */
.proyecto1-formulario {
    background: #1e1e2f;
    padding: 25px;
    border-radius: 10px;
    color: white;
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(3%);
    max-width: 500px;
    width: 30%;
    z-index: 100;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.proyecto1-formulario h4 {
    margin-bottom: 20px;
}

.proyecto1-formulario input {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.proyecto1-formulario button {
    width: 100%;
    background: #D35400;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

/* ===== BROCHURE Y DESCARGAS ===== */
.proyecto1-brochure {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.brochure-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
    border-left: 4px solid #D35400;
    transition: all 0.3s ease;
}

.brochure-item:hover {
    transform: translateX(5px);
}

.brochure-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.brochure-info {
    flex-grow: 1;
}

.brochure-info h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.brochure-info p {
    margin: 3px 0 0 0;
    font-size: 12px;
    color: #666;
}

.btn-descargar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #D35400;
    color: white;
    padding: 6px 14px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-descargar:hover {
    background: #B34700;
    transform: scale(1.05);
    color: white;
    text-decoration: none;
}

.btn-descargar i {
    font-size: 11px;
}

/* MODAL DE PLANOS */
.modal-planos {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
}

.imagen-modal {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 80%;
    margin-top: 5%;
}

.prev, .next {
    position: absolute;
    top: 50%;
    font-size: 30px;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    color: white;
    padding: 10px;
}

.prev { left: 20px; }
.next { right: 20px; }

.cerrar_plano {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    padding: 5px 12px;
    z-index: 1000;
    transition: 0.3s;
}

/* ===== RESPONSIVE ===== */

/*CONFIGURACION PARA PANTALLAS MENORES A 768px */
@media (max-width: 768px) {
    .modal-planos {
        align-items: flex-start; /* sube el contenedor */
        padding-top: 80px;       /* 👈 empuja el contenido hacia abajo */
    }
    .imagen-modal {
        max-width: 95%;
        max-height: 70%;
    }
    .prev, .next {
        top: 70vh;              /* 👈 baja las flechas */
        transform: translateY(-50%);
    }
}

@media (max-width: 768px) {

    .proyecto1-titulo {
        font-size: 20px;
    }

    .proyecto1-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .proyecto1-grid {
        grid-template-columns: 1fr;
    }

    .proyecto1-formulario {
        position: relative;
        top: 0;
        margin-top: 20px;
    }

    .brochure-item {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .brochure-item .brochure-info {
        width: 100%;
    }

    .btn-descargar {
        width: 100%;
        justify-content: center;
    }

    .brochure-item:hover {
        transform: none;
    }

}

@media (max-width: 480px) {

    .proyecto1-titulo {
        font-size: 20px;
    }

    .proyecto1-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .proyecto1-grid {
        grid-template-columns: 1fr;
    }

    .proyecto1-formulario {
        position: relative;
        top: 0;
        margin-top: 20px;
    }

    .brochure-item {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .brochure-item .brochure-info {
        width: 100%;
    }

    .btn-descargar {
        width: 100%;
        justify-content: center;
    }

}



/* Media query para pantallas menores a 1200px */
@media (max-width: 1199px) {
    .navbar-brand {
        margin: 0 0 0 40px;
    }
    
    .navbar-nav {
        margin-left: 60px;
    }
    
    .navbar-nav {
        gap: 15px;
    }
}

/* Media query para pantallas menores a 992px */
@media (max-width: 991px) {
    .navbar-brand {
        margin: 0 0 0 15px;
    }

    .navbar-brand img {
    height: 60px;
    }
    
    .navbar-nav {
        margin-left: 0;
        gap: 10px;
    }
}

@media (min-width: 768px) {
    .container, .container-md, .container-sm {
        max-width: 95%;
    }
}

@keyframes palpitar {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
}