body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
}

.header {
    background: #002D62;
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9em;
}

.header-right .nav-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.header-right .nav-link:hover {
    color: #ffd700;
}

.project-title {
    margin: 0;
    font-size: 1.5rem;
}

.phone {
    white-space: nowrap;
}

.whatsapp-icon img {
    height: 25px;
}

.logo img {
    height: 40px;
    width: auto;
}

/* Diseño de las dos columnas principales */
.main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
}

.left-column, .right-column {
    flex: 1; /* Valor por defecto */
    min-width: 300px; /* Ancho mínimo para evitar que se aplaste */
}

@media (min-width: 768px) {
    .left-column {
        flex: 2; /* 2/3 */
    }
    .right-column {
        flex: 1; /* 1/3 */
        padding: 2rem;
        background: #f4f4f4;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
}

/* Estilos para la sección de título vendedor */
.hero-project {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 1rem;
}

.hero-overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-overlay p {
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}
@media (max-width: 768px) {
    .hero-overlay h2 {
        font-size: 1.8rem;
    }
    .hero-overlay p {
        font-size: 1rem;
    }
}

.slogan-secondary {
    font-size: 1.2rem;
    font-weight: 600;
}

.cta-button {
    text-align: center;
    margin: 2rem 0;
}

.button {
    display: inline-block;
    background: #FF5733; /* Color de acción, se puede cambiar */
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.button:hover {
    background: #e64522;
}


/* Estilos de las secciones de la columna izquierda */
.project-description, .features, .photo-gallery {
    margin-bottom: 2rem;
}

.location-section ul {
    list-style-type: none;
    padding: 0;
}

.location-section li {
    background: #e7e7e7;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.feature-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card ul {
    list-style: none;
    padding: 0;
}

.feature-card li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

.feature-card li::before {
    content: '✔';
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.highlight {
    font-weight: 600;
    color: #002D62;
}

.photo-gallery h2, .contact-form h2 {
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.agent-profile {
    text-align: center;
    margin-bottom: 2rem;
}

.agent-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #002D62;
    margin-bottom: 1rem;
}

.agent-info h2, .agent-info h3 {
    margin: 0;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input, .contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    background: #002D62;
    color: #fff;
    border: none;
    padding: 1rem;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
}

.testimonial-section {
    background: #e9e9e9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.testimonial-card {
    font-style: italic;
    border-left: 3px solid #002D62;
    padding-left: 15px;
}

.testimonial-card .author {
    font-style: normal;
    text-align: right;
    display: block;
    margin-top: 10px;
}

footer {
    text-align: center;
    padding: 1rem;
    background: #002D62;
    color: #fff;
    margin-top: 2rem;
}
/* Estilos para la seccion de Storytelling */
.story-section {
    padding: 2rem;
    background-color: #f9f9f9;
    border-left: 5px solid #002D62;
    margin-bottom: 2rem;
}

.story-section h2 {
    text-align: center;
    font-style: italic;
    color: #002D62;
}

.story-section p {
    font-size: 1.1em;
    line-height: 1.8;
}
/* --- Estilos para Botón Flotante de Reserva (RedCAI + Texto) --- */
.float-reserve-lote {
    /* Propiedad clave para que "flote" */
    position: fixed; 
    
    /* Posicionamiento discreto en la esquina inferior derecha */
    bottom: 20px;
    right: 20px;
    
    /* Estilos de Diseño */
    background-color: #FF5733; /* Color de Llamada a la Acción */
    color: #fff;
    padding: 8px 15px 8px 5px; /* Más padding para el texto */
    border-radius: 50px; /* Forma ovalada */
    box-shadow: 0 4px 12px rgba(0,0,0,0.3); /* Sombra para que destaque */
    z-index: 1000;
    
    /* Flexbox para alinear el logo y el texto */
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    
    /* Transiciones suaves */
    transition: background-color 0.3s, transform 0.3s;
}

.float-reserve-lote:hover {
    background-color: #e64522; /* Tono más oscuro al pasar el mouse */
    transform: scale(1.05); /* Pequeño efecto de zoom */
}

.float-reserve-logo {
    width: 35px; /* Tamaño del logo de RedCAI */
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    /* CAMBIO CLAVE: Usamos el color de ACCIÓN para el fondo */
    background-color: #002D62; 
    padding: 4px;
    box-sizing: border-box;
    /* Añadimos un pequeño borde blanco para mejorar el contraste */
    border: 2px solid #fff; 
}

.float-reserve-text {
    font-weight: 700;
    font-size: 1em;
    white-space: nowrap; /* Evita que el texto se parta en varias líneas */
}

.float-text {
    font-weight: 600;
    white-space: nowrap;
}

/* --- Estilos para el Botón "Leer Más" del Storytelling --- */
.read-more-button {
    display: block;
    margin: 15px auto 0;
    padding: 8px 20px;
    background-color: #FF5733; /* Color de acción/llamada */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: background-color 0.3s;
}

.read-more-button:hover {
    background-color: #e64522;
}

/* Reafirmar estilos de storytelling para consistencia */
.story-section {
    padding: 2rem;
    background-color: #f9f9f9;
    border-left: 5px solid #002D62;
    margin-bottom: 2rem;
}

.story-section h2 {
    text-align: center;
    font-style: italic;
    color: #002D62;
}

.story-section p {
    font-size: 1.1em;
    line-height: 1.8;
}