 /* FUENTES: Poppins (Gruesa/Moderna) e Inter (Legibilidad) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@600;800;900&display=swap');



:root {

    --primary-color: #008C99; /* El verde turquesa institucional */

    --secondary-color: #004D55;

    --accent-color: #FF8800; /* Naranja corporativo */

    --bg-light: #F4F7F6;

    --text-dark: #2b2b2b;

    --text-light: #555555;

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);

    --shadow-hover: 0 15px 35px rgba(0, 140, 153, 0.2);

    --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

}



/* ... Resto del CSS se mantiene igual ... */



* {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}



body {

    background-color: var(--bg-light); 

    background-image: url('/images/fondo.jpeg');

    background-size: cover; 

    background-position: center; 

    background-attachment: fixed; 

    color: var(--text-dark);

    line-height: 1.6;

    font-family: 'Inter', sans-serif;

}



/* TÍTULOS GRUESOS Y MODERNOS */

h1, h2, h3, h4, .logo {

    font-family: 'Poppins', sans-serif;

    font-weight: 800;

    line-height: 1.2;

}



/* HEADER & NAV */

header {

    background-color: rgba(255, 255, 255, 0.98);

    padding: 15px 5%;

    box-shadow: 0 4px 20px rgba(0,0,0,0.06);

    position: sticky;

    top: 0;

    z-index: 1000;

}



.header-container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    max-width: 1200px;

    margin: 0 auto;

}



header .logo {

    font-size: 26px;

    font-weight: 900;

    color: var(--primary-color);

    text-decoration: none;

    letter-spacing: -0.5px;

}



header .logo span { color: var(--accent-color); }



nav {

    display: flex;

    gap: 25px;

    align-items: center;

}



nav a {

    text-decoration: none;

    color: var(--secondary-color);

    font-weight: 600;

    font-size: 11px;

    text-transform: uppercase;

    transition: color 0.3s ease;

}



nav a:hover { color: var(--accent-color); }



.header-phone {

    font-weight: 800;

    color: var(--primary-color);

    background: rgba(0, 140, 153, 0.1);

    padding: 8px 15px;

    border-radius: 50px;

}



.contact-btn {

    background: linear-gradient(135deg, #FF8800, #ff9d2e);

    color: #fff !important;

    padding: 10px 20px;

    border-radius: 50px;

    text-decoration: none;

    font-weight: 800;

    text-transform: uppercase;

    box-shadow: 0 6px 15px rgba(255, 136, 0, 0.3);

    transition: var(--transition-bounce);

    display: inline-block;

    border: none;

}



.contact-btn:hover { 

    transform: translateY(-4px) scale(1.02);

    box-shadow: 0 10px 25px rgba(255, 136, 0, 0.5);

    background: linear-gradient(135deg, #e67a00, #FF8800);

}



/* SECCIONES GENERALES */

.intro-section { 

    padding: 80px 5%; 

    text-align: center; 

    background: #fff; 

    max-width: 1000px;

    margin: -60px auto 40px auto; 

    border-radius: 20px;

    position: relative;

    z-index: 10;

    box-shadow: var(--shadow-soft);

    border-top: 6px solid var(--primary-color);

}

.intro-section h2 { color: var(--secondary-color); margin-bottom: 20px; font-size: 38px; }

.intro-section p { font-size: 18px; color: var(--text-light); margin-bottom: 25px;}



.models-section { padding: 60px 5%; text-align: center; max-width: 1200px; margin: 0 auto;}

.models-section h2 { 

    color: var(--secondary-color); 

    font-size: 42px; 

    margin-bottom: 15px;

    display: inline-block;

}

.models-section > p {

    font-size: 18px;

    color: var(--text-dark);

    font-weight: 500;

    margin-bottom: 50px;

}



/* CAJA DE AMENIDADES CON ICONOS */

.amenities-box {

    background: rgba(0, 140, 153, 0.05);

    padding: 25px;

    border-radius: 15px;

    border: 2px dashed var(--primary-color);

    display: inline-block;

    margin-top: 10px;

    transition: var(--transition-bounce);

}

.amenities-box:hover {

    transform: scale(1.02);

    background: rgba(0, 140, 153, 0.1);

}

.amenities-box p {

    font-size: 18px !important;

    font-weight: 800;

    color: var(--secondary-color) !important;

    margin: 0 !important;

    word-spacing: 5px;

}



/* CARDS DE MODELOS */

.cards-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }

.card { 

    background: #fff; 

    border-radius: 16px; 

    overflow: hidden; 

    box-shadow: var(--shadow-soft); 

    transition: var(--transition-bounce); 

    display: flex; 

    flex-direction: column; 

    text-align: left;

    border-bottom: 6px solid transparent;

}

.card:hover { 

    transform: translateY(-12px); 

    box-shadow: var(--shadow-hover); 

    border-bottom: 6px solid var(--accent-color);

}

.card-img { height: 260px; background-color: #ddd; background-size: cover; background-position: center; position: relative; }



.img-rubi { background-image: url('/images/modelorubinormal.png'); }

.img-rubi-alberca { background-image: url('/images/modelorubialberca.png'); }

.img-copal { background-image: url('/images/modelocopal.png'); }



.price-tag { 

    position: absolute; 

    top: 20px; 

    right: -10px; 

    background: var(--accent-color); 

    color: white; 

    padding: 8px 20px; 

    border-radius: 30px 0 0 30px; 

    font-family: 'Poppins', sans-serif;

    font-weight: 800; 

    font-size: 16px; 

    box-shadow: -4px 4px 10px rgba(0,0,0,0.2);

}

.card-content { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }

.card-content h3 { color: var(--secondary-color); font-size: 26px; margin-bottom: 15px; }

.card-specs { 

    display: flex; 

    justify-content: space-between; 

    margin-bottom: 20px; 

    color: var(--primary-color); 

    font-weight: 800; 

    font-size: 15px; 

    background: rgba(0, 140, 153, 0.08);

    padding: 12px 15px;

    border-radius: 8px;

}

.card-content p { color: var(--text-light); font-size: 15px; margin-bottom: 25px; line-height: 1.7; }

.card-btn { 

    margin-top: auto; 

    text-align: center; 

    background: var(--secondary-color); 

    color: #fff; 

    text-decoration: none; 

    padding: 15px; 

    border-radius: 8px; 

    font-family: 'Poppins', sans-serif;

    font-weight: 800; 

    text-transform: uppercase;

    transition: background 0.3s ease; 

}

.card-btn:hover { background: var(--primary-color); }



/* FORMULARIO DE CONTACTO */

.contact-section { padding: 80px 5%; display: flex; justify-content: center; }

.contact-container { 

    max-width: 650px; 

    width: 100%; 

    background: rgba(255, 255, 255, 0.95); 

    padding: 50px; 

    border-radius: 20px; 

    box-shadow: var(--shadow-soft); 

    border-top: 8px solid var(--accent-color); 

    backdrop-filter: blur(10px);

}

.contact-container h2 { text-align: center; color: var(--secondary-color); margin-bottom: 10px; font-size: 34px; }

.contact-container > p { text-align: center; color: var(--text-dark); margin-bottom: 30px; font-weight: 500;}

.form-group { margin-bottom: 20px; text-align: left; }

.form-group label { display: block; margin-bottom: 8px; color: var(--secondary-color); font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 14px; text-transform: uppercase; }

.form-group input, .form-group select, .form-group textarea { 

    width: 100%; 

    padding: 16px; 

    border: 2px solid #cbd5e1; 

    border-radius: 8px; 

    font-size: 16px; 

    font-family: 'Inter', sans-serif; 

    background: #fff; 

    transition: all 0.3s;

}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus { 

    border-color: var(--primary-color); 

    outline: none; 

    box-shadow: 0 0 0 4px rgba(0, 140, 153, 0.15); 

}

.submit-btn { 

    width: 100%; 

    padding: 18px; 

    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); 

    color: #fff; 

    border: none; 

    border-radius: 8px; 

    font-family: 'Poppins', sans-serif;

    font-size: 18px; 

    font-weight: 800; 

    text-transform: uppercase; 

    cursor: pointer; 

    transition: var(--transition-bounce); 

    margin-top: 15px;

    box-shadow: 0 5px 15px rgba(0, 77, 85, 0.3);

}

.submit-btn:hover { 

    transform: translateY(-3px);

    box-shadow: 0 8px 20px rgba(0, 77, 85, 0.4);

}
/* ==========================================================
   SECCIÓN MAPA Y TESTIMONIOS EN FOOTER
   ========================================================== */
.footer-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    text-align: left;
}

/* Caja contenedora para mantener la elegancia */
.footer-widget-box {
    background: rgba(255, 255, 255, 0.05); /* Transparencia sutil sobre tu verde */
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget-title {
    color: var(--accent-color, #f28b00); /* Usamos tu Naranja de Acento */
    font-size: 22px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
}

/* Contenedor del Mapa Responsive */
.footer-map-container iframe {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.footer-map-container iframe:hover {
    transform: scale(1.02);
}

/* Diseño de Testimonios Estilo Google */
.testimonial-item {
    background: rgba(255, 255, 255, 0.95);
    color: var(--secondary-color, #025940);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.testimonial-item:last-child {
    margin-bottom: 0;
}

.testimonial-stars {
    color: #f28b00; /* Estrellas naranjas/doradas */
    margin-bottom: 8px;
    font-size: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.testimonial-author {
    font-weight: 700;
    font-size: 12px;
    margin-top: 10px;
    text-align: right;
    text-transform: uppercase;
}

/* Responsividad para móviles */
@media (max-width: 768px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .testimonial-author {
        text-align: center;
    }
}


/* FOOTER DINÁMICO */

footer { background: var(--secondary-color); color: #fff; text-align: center; padding: 60px 20px 30px 20px; }

.footer-links { margin-bottom: 30px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px; }

.footer-links a { color: #fff; text-decoration: none; transition: color 0.3s; font-size: 14px; font-weight: 600; text-transform: uppercase;}

.footer-links a:hover { color: var(--accent-color); }



.footer-admin-btn { background-color: var(--primary-color); color: #fff !important; padding: 8px 18px; border-radius: 50px; font-size: 12px; font-weight: 800; border: none; transition: var(--transition-bounce); }

.footer-admin-btn:hover { background-color: var(--accent-color); transform: scale(1.05); }



/* BOTONES FLOTANTES */

.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); z-index: 1000; display: flex; justify-content: center; align-items: center; transition: var(--transition-bounce); }

.whatsapp-float:hover { transform: scale(1.1) rotate(5deg); }

.whatsapp-icon { width: 38px !important; height: 38px !important; object-fit: contain; }



.whatsapp-text { 

    position: absolute; bottom: 75px; right: 0; background-color: #fff; color: var(--text-dark); padding: 8px 18px; border-radius: 12px; font-size: 13px; font-family: 'Poppins', sans-serif; font-weight: 800; box-shadow: 0px 8px 20px rgba(0,0,0,0.15); white-space: nowrap; border: 2px solid #25d366; 

    animation: float-text 3s ease-in-out infinite;

}

.whatsapp-text::after { content: ''; position: absolute; bottom: -8px; right: 20px; border-width: 8px 8px 0; border-style: solid; border-color: #25d366 transparent transparent transparent; }



@keyframes float-text {

    0%, 100% { transform: translateY(0); }

    50% { transform: translateY(-8px); }

}



.audio-float { position: fixed; bottom: 30px; left: 30px; z-index: 99; background: #fff; color: var(--primary-color); border: 2px solid var(--primary-color); padding: 12px 20px; border-radius: 50px; cursor: pointer; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 13px; box-shadow: 0 8px 20px rgba(0,0,0,0.1); transition: var(--transition-bounce); text-transform: uppercase;}

.audio-float:hover { background: var(--primary-color); color: #fff; transform: translateY(-3px);}



@media (max-width: 768px) {

    .header-container { flex-direction: column; gap: 15px; }

    nav { flex-wrap: wrap; justify-content: center; gap: 15px; }

    .hero { padding: 120px 20px 100px 20px; clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);}

    .hero h1 { font-size: 42px; }

    .intro-section { margin-top: -40px; padding: 40px 20px; }

    .intro-section h2, .models-section h2 { font-size: 32px; }

    .header-phone { display: none; }

    .footer-links { flex-direction: column; }

    .whatsapp-float { width: 55px; height: 55px; bottom: 20px; right: 20px; }

    .audio-float { bottom: 20px; left: 20px; padding: 10px 15px; font-size: 11px;}

    .amenities-box p { font-size: 14px !important; }

}

.grecaptcha-badge { visibility: hidden !important; }



/* REGLAS LEGALES/GRACIAS */

.success-hero { background: linear-gradient(135deg, #004D55, #008C99); color: white; padding: 100px 5% 140px 5%; text-align: center; clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%); }

.thank-you-card { max-width: 650px; margin: -80px auto 80px auto; background: #fff; padding: 50px; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); text-align: center; position: relative; z-index: 10; }

.success-icon { width: 80px; height: 80px; background: #25d366; color: white; font-size: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin: 0 auto 25px auto; box-shadow: 0 0 0 10px rgba(37, 211, 102, 0.1); animation: pulse-success 2s infinite; }

@keyframes pulse-success { 0% { transform: scale(1); box-shadow: 0 0 0 0px rgba(37, 211, 102, 0.2); } 70% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0px rgba(37, 211, 102, 0); } }

.thank-you-card h2 { color: var(--secondary-color); font-size: 28px; margin-bottom: 15px; }

.thank-you-card p { color: #666; font-size: 18px; margin-bottom: 30px; }

.priority-badge { display: inline-block; background: #fff3e0; color: var(--accent-color); padding: 5px 15px; border-radius: 50px; font-size: 13px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }

.bg-legal { background-attachment: fixed; }

.legal-hero { background: linear-gradient(135deg, var(--secondary-color), var(--primary-color)); color: white; padding: 80px 5% 120px 5%; text-align: center; clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%); }

.legal-hero h1 { font-size: 42px; text-shadow: 2px 2px 10px rgba(0,0,0,0.2); }

.content-container-legal { max-width: 850px; margin: -60px auto 60px auto; background: rgba(255, 255, 255, 0.98); padding: 50px; border-radius: 15px; box-shadow: 0 15px 35px rgba(0,0,0,0.15); position: relative; z-index: 10; }

.content-container-legal h2 { color: var(--primary-color); margin-top: 30px; margin-bottom: 15px; font-size: 24px; display: flex; align-items: center; gap: 10px; }

.content-container-legal h2::before { content: ""; width: 4px; height: 24px; background: var(--accent-color); display: inline-block; border-radius: 2px; }

.content-container-legal p { margin-bottom: 20px; color: #444; text-align: justify; font-size: 17px; }

.btn-whatsapp-legal { display: inline-flex; align-items: center; gap: 12px; background: linear-gradient(90deg, #25D366, #128C7E); color: white !important; padding: 15px 35px; border-radius: 50px; text-decoration: none; font-weight: 800; font-size: 16px; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); transition: all 0.3s ease; border: none; margin-top: 15px; }

.btn-whatsapp-legal:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(37, 211, 102, 0.4); filter: brightness(1.1); }

#email-protegido { font-size: 18px; font-weight: bold; color: var(--secondary-color); background: #fff; padding: 8px 20px; border-radius: 8px; display: inline-block; border: 1px dashed var(--primary-color); }

.bg-modelos::before { content: ""; position: fixed; top: -20px; left: -20px; right: -20px; bottom: -20px; background-image: url('/images/fondo.jpeg'); background-size: cover; background-position: center; filter: blur(10px); z-index: -2; }

.bg-modelos::after { content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(244, 247, 246, 0.85); z-index: -1; }

.price-badge { display: inline-block; background: var(--accent-color); color: #fff; padding: 10px 25px; font-size: 20px; font-weight: bold; border-radius: 50px; margin-bottom: 15px; }

.specs-container { display: flex; justify-content: center; gap: 40px; background: #fff; padding: 30px; margin: -40px 5% 40px 5%; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); position: relative; flex-wrap: wrap; }

.spec-item span { display: block; font-size: 24px; font-weight: bold; color: var(--primary-color); }

.main-content { display: flex; flex-wrap: wrap; padding: 0 5% 50px 5%; gap: 40px; }

.description { flex: 2; min-width: 300px; }

.sidebar { flex: 1; min-width: 300px; }

.amenities-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }

.virtual-tour-block { margin-top: 40px; background: #fff; padding: 30px; border-radius: 10px; border-left: 5px solid var(--accent-color); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
