/* --- VARIABLES DE COLOR (Identidad RentalHolidays) --- */
:root {
    --rojo-rental: #E31B13;
    --naranja-rental: #F19711;
    --negro-puro: #000000;
    --gris-oscuro: #1A1A1A;
    --gris-claro: #f4f4f4;
    --blanco: #ffffff;
    --fuente-principal: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* --- ESTILOS GENERALES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--fuente-principal);
    line-height: 1.6;
    color: var(--gris-oscuro);
    background-color: var(--blanco);
}

a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- HEADER FIJO Y DESPLEGABLE --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background: var(--blanco);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    min-height: 90px;
}

body {
    padding-top: 95px; 
}

.main-logo {
    height: 75px;
    width: auto;
    object-fit: contain;
}

/* Botón Hamburguesa (Oculto en PC) */
.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--rojo-rental); /* Color corporativo para que resalte */
}

.nav-list {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-list a {
    color: var(--gris-oscuro);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

.nav-list a:hover { color: var(--rojo-rental); }

.nav-cta {
    background-color: var(--rojo-rental);
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
}

/* --- AJUSTES PARA MÓVIL (MENÚ DESPLEGABLE) --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Aparece el icono en móvil */
    }

    .nav-list {
        display: none; /* Se oculta el menú por defecto */
        flex-direction: column;
        position: absolute;
        top: 90px; /* Justo debajo del header */
        left: 0;
        width: 100%;
        background-color: var(--blanco);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        gap: 15px;
    }

    /* Esta clase la activará el JavaScript */
    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
    }

    .nav-list a {
        font-size: 16px;
        padding: 10px;
    }

    body {
        padding-top: 90px; 
    }
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--blanco);
    padding: 20px;
}

.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; }

/* --- SECCIONES Y GRIDS --- */
.featured, .properties-catalog, .services-info, .blog-grid-container {
    padding: 60px 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* --- CARDS DE PROPIEDADES --- */
.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card:hover { transform: translateY(-5px); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-content { padding: 20px; }
.price { font-size: 22px; font-weight: 800; color: var(--rojo-rental); }

/* --- FOOTER NEGRO MINIMALISTA (Modificado) --- */
.footer-rental-black {
    background-color: var(--negro-puro);
    color: #ffffff;
    padding: 50px 5%;
    border-top: 4px solid var(--rojo-rental);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo-section {
    flex: 1;
    text-align: center;
    min-width: 220px;
}

.footer-logo-img {
    height: 85px;
    width: auto;
    background-color: #ffffff; /* Recuadro blanco para resaltar el logo original */
    padding: 12px;
    border-radius: 10px;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

.footer-logo-section p {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 12px;
    color: #aaaaaa;
    font-weight: bold;
}

.footer-info-section {
    flex: 2;
    text-align: center;
    min-width: 300px;
}

.footer-brand-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-address {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.6;
}

.footer-address a {
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
}

.footer-social-section {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    min-width: 220px;
}

.social-icons {
    display: flex;
    gap: 20px;
    font-size: 28px;
}

.social-icons a {
    color: #ffffff;
    transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
    color: var(--naranja-rental);
    transform: translateY(-3px);
}

.ws-icon i {
    color: #25D366; /* Verde característico de WhatsApp */
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-list { display: none; } /* Ocultar menú en móvil */
    .footer-top { flex-direction: column; text-align: center; }
    .footer-social-section { justify-content: center; }
    .hero h1 { font-size: 2.2rem; }
}

/* --- NUEVA SECCIÓN HERO --- */
.hero-modern {
    height: 85vh;
    background: url('https://images.unsplash.com/photo-1582407947304-fd86f028f716?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    background: linear-gradient(to right, rgba(0,0,0,0.8) 30%, transparent);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.hero-text {
    max-width: 700px;
    color: white;
}

.hero-text .subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--naranja-rental);
    font-weight: bold;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin: 20px 0;
}

.hero-text .highlight {
    color: var(--rojo-rental);
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* BOTONES ESTILIZADOS */
.btn-primary {
    background: var(--rojo-rental);
    color: white;
    padding: 15px 35px;
    border-radius: 4px;
    font-weight: bold;
}

.btn-outline {
    border: 2px solid white;
    color: white;
    padding: 13px 35px;
    border-radius: 4px;
    font-weight: bold;
}

.btn-outline:hover {
    background: white;
    color: black;
}

/* --- SECCIÓN EXPERIENCIA (SPLIT) --- */
.experience-section {
    padding: 100px 5%;
    background: #fdfdfd;
}

.container-split {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.image-box {
    flex: 1;
    min-width: 350px;
    position: relative;
}

.image-box img {
    border-radius: 8px;
    box-shadow: 20px 20px 0px #eee;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--rojo-rental);
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
}

.experience-badge .number { font-size: 40px; font-weight: 800; display: block; }

.content-box { flex: 1; min-width: 350px; }
.tag { color: var(--rojo-rental); font-weight: bold; text-transform: uppercase; font-size: 13px; }
.content-box h2 { font-size: 32px; margin: 15px 0; color: var(--negro-puro); }
.features-list { margin: 25px 0; }
.features-list li { margin-bottom: 12px; color: #555; }
.features-list i { color: var(--naranja-rental); margin-right: 10px; }

/* --- BANNER CTA --- */
.cta-banner {
    background: var(--negro-puro);
    padding: 80px 5%;
    text-align: center;
    color: white;
}

.btn-white {
    background: white;
    color: black;
    padding: 15px 40px;
    display: inline-block;
    margin-top: 25px;
    font-weight: bold;
    border-radius: 4px;
}

/* --- TESTIMONIOS --- */
.testimonials { padding: 80px 5%; background: #f4f4f4; }
.section-header { text-align: center; margin-bottom: 50px; }
.testimonial-grid { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; }
.t-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.t-card .author { display: block; margin-top: 20px; font-weight: bold; color: var(--rojo-rental); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-btns { flex-direction: column; }
    .hero-overlay { background: rgba(0,0,0,0.6); padding-top: 100px; }
}

/* --- PÁGINA DE PROPIEDADES (HERO) --- */
.page-hero {
    height: 40vh;
    background: url('https://images.unsplash.com/photo-1560520550-d753bc996ed0?auto=format&fit=crop&w=1600&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-hero-overlay {
    background: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.page-hero h1 { font-size: 3rem; margin-bottom: 10px; }

/* --- SERVICIOS PREMIUM --- */
.services-premium { padding: 80px 5%; background: white; text-align: center; }
.services-intro { max-width: 800px; margin: 0 auto 50px; }
.services-grid { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; }

.service-item {
    flex: 1;
    min-width: 280px;
    padding: 30px;
    background: #fdfdfd;
    border-radius: 10px;
    transition: 0.3s;
    border: 1px solid #eee;
}

.service-item:hover { transform: translateY(-10px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }

.s-icon { 
    font-size: 40px; 
    color: var(--rojo-rental); 
    margin-bottom: 20px; 
}

/* --- CATÁLOGO DE PROPIEDADES --- */
.properties-catalog-modern { padding: 80px 5%; background: #f8f9fa; }
.catalog-header { text-align: center; margin-bottom: 60px; }
.property-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }

.card-modern {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.card-modern:hover { transform: scale(1.02); }

.card-img-container { position: relative; height: 250px; }
.card-img-container img { width: 100%; height: 100%; object-fit: cover; }

.badge-modern {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.status-new { background: var(--rojo-rental); }
.status-opt { background: var(--naranja-rental); }
.status-sold { background: #555; }

.card-body { padding: 25px; }
.price-tag { font-size: 24px; font-weight: 800; color: var(--rojo-rental); margin-bottom: 10px; }
.loc { color: #666; font-size: 14px; margin-bottom: 15px; }

.specs { 
    display: flex; 
    justify-content: space-between; 
    padding: 15px 0; 
    border-top: 1px solid #eee; 
    margin-bottom: 15px;
    font-size: 13px;
    color: #444;
}

.btn-card-modern {
    display: block;
    text-align: center;
    padding: 12px;
    background: var(--negro-puro);
    color: white;
    border-radius: 5px;
    font-weight: bold;
}

.btn-card-modern:hover { background: var(--rojo-rental); }
.btn-disabled { background: #ccc; pointer-events: none; }

/* --- BLOG HERO --- */
/* --- GRID DE BLOG --- */
.blog-grid-container { padding: 80px 5%; background: #ffffff; }
.blog-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.blog-img-wrapper { position: relative; height: 230px; }
.blog-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.date-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--negro-puro);
    color: white;
    padding: 5px 12px;
    font-size: 11px;
    border-radius: 4px;
}

.read-more-btn {
    color: var(--rojo-rental);
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.read-more-btn:hover { color: var(--naranja-rental); }

/* --- CTA SECCIÓN --- */
.blog-cta-modern { padding: 80px 5%; background: #f4f4f4; text-align: center; }
.cta-inner {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.cta-inner i { font-size: 40px; color: var(--naranja-rental); margin-bottom: 20px; }
.btn-cta-red {
    display: inline-block;
    margin-top: 25px;
    background: var(--rojo-rental);
    color: white;
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.btn-cta-red:hover { background: var(--negro-puro); }

/* Ajuste móvil */
@media (max-width: 768px) {
    .blog-grid-modern { grid-template-columns: 1fr; }
    .cta-inner { padding: 30px; }
}

/* --- CONTACT HERO --- */
.contact-hero-modern {
    height: 45vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1600&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.contact-hero-overlay { padding: 0 5%; }
.contact-hero-modern h1 { font-size: 3.5rem; margin: 10px 0; }

/* --- SECCIÓN PRINCIPAL CONTACTO --- */
.contact-main-section {
    padding: 100px 5%;
    background: #fdfdfd;
}

.container-contact {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.detail-header h2 { font-size: 32px; margin-bottom: 20px; }
.detail-header p { color: #666; margin-bottom: 40px; line-height: 1.6; }

.info-cards { display: flex; flex-direction: column; gap: 25px; }
.i-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.i-card i { font-size: 24px; color: var(--rojo-rental); width: 40px; }
.i-card h4 { font-size: 16px; color: var(--negro-puro); }
.i-card p { color: #777; font-size: 14px; }

.social-connect { margin-top: 50px; }
.social-btns { display: flex; gap: 15px; margin-top: 15px; }
.s-link {
    width: 45px;
    height: 45px;
    background: var(--negro-puro);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}
.s-link:hover { background: var(--rojo-rental); transform: translateY(-3px); }

/* --- FORMULARIO CARD --- */
.form-card-modern {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.form-card-modern h3 { font-size: 24px; margin-bottom: 10px; }
.form-card-modern p { color: #888; margin-bottom: 30px; font-size: 14px; }

.f-group { margin-bottom: 20px; }
.f-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; color: #444; }
.f-group input, .f-group select, .f-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
}

.btn-submit-modern {
    width: 100%;
    padding: 15px;
    background: var(--rojo-rental);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
}

.btn-submit-modern:hover { background: var(--negro-puro); }

/* RESPONSIVE */
@media (max-width: 992px) {
    .container-contact { grid-template-columns: 1fr; gap: 50px; }
    .contact-hero-modern h1 { font-size: 2.5rem; }
}

/* --- CORRECCIÓN HERO PROPIEDADES --- */
.properties-hero {
    position: relative;
    width: 100%;
    min-height: 80vh; /* Forzamos altura */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Imagen de respaldo por si falla la carga */
    background-color: #333; 
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto elegante al bajar */
    margin-bottom: 50px;
}

.properties-hero-overlay {
    width: 100%;
    height: 100%;
    padding: 80px 20px; /* Evita que el contenido toque los bordes */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content-center {
    text-align: center;
    max-width: 850px;
}

.tag-gold {
    color: #ffc107 !important;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
    display: block;
}

.hero-content-center h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #ffffff !important;
    font-weight: 800;
    margin-bottom: 20px;
}

.divider {
    width: 80px;
    height: 4px;
    background: #e63946;
    margin: 0 auto 30px;
}

.hero-content-center p {
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 40px; /* Espacio antes del botón */
}

/* --- FIX DEL BOTÓN BLANCO --- */
.container-btn {
    padding: 20px 0; /* Espacio de seguridad */
}

.btn-hero-white {
    display: inline-block;
    padding: 18px 40px;
    background-color: #ffffff !important;
    color: #000000 !important;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: none;
}

.btn-hero-white:hover {
    background-color: #e63946 !important;
    color: #ffffff !important;
    transform: translateY(-5px); /* Efecto flotante */
}

/* --- CORRECCIÓN BOTÓN ROJO QUE TAPABA --- */
.properties-footer-cta {
    padding: 80px 5%;
    background-color: #f9f9f9;
    text-align: center; /* Centra todo el contenido */
    border-top: 2px solid #eee;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.cta-content p {
    max-width: 700px;
    margin: 0 auto 30px auto; /* El 'auto' a los lados centra el bloque de texto */
    color: #555;
    line-height: 1.6;
}

/* Contenedor del botón para dar espacio */
.cta-button-container {
    padding: 20px 0;
    display: flex;
    justify-content: center; /* Centra el botón horizontalmente */
    width: 100%;
}

.btn-primary-custom {
    display: inline-block;
    background-color: #e63946 !important; /* Rojo RentalHolidays */
    color: white !important;
    padding: 16px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    border: none;
}

.btn-primary-custom:hover {
    background-color: #c32f3a !important;
    transform: translateY(-2px);
    color: white !important;
}

/* Ajuste para que el footer negro no se pegue */
#footer-container {
    margin-top: 0;
}

/* --- BLOG HERO --- */
.blog-hero {
    position: relative;
    width: 100%;
    min-height: 500px; /* Altura mínima para que no se vea vacío */
    height: 70vh;      /* Altura proporcional a la pantalla */
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-hero-overlay {
    background: rgba(0, 0, 0, 0.5); /* Capa oscura para resaltar el texto */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.blog-hero-content {
    text-align: center;
    max-width: 900px;
    color: #ffffff;
}

.blog-tag {
    color: #ffc107;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.blog-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}

.blog-hero-content .highlight {
    color: #e63946;
}

.divider {
    width: 80px;
    height: 4px;
    background: #e63946;
    margin: 20px auto;
}

.blog-hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* ESTILOS DEL BOTÓN WHATSAPP EN EL BLOG */
.btn-whatsapp-blog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25d366; /* Verde oficial WhatsApp */
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-blog:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.blog-card-modern {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.blog-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.blog-body {
    padding: 25px;
    flex-grow: 1;
}

.blog-body h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-body p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Estilos para Páginas de Artículos */
.article-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 0 20px;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-header h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
}

.main-article-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 30px;
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.formula-box {
    background: #f8f9fa;
    padding: 20px;
    border-left: 5px solid #e63946;
    margin: 20px 0;
    font-family: monospace;
    font-size: 1.2rem;
}

/* Tabla comparativa */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.comparison-table th, .comparison-table td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
}

.comparison-table th {
    background-color: #f4f4f4;
}

.info-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

/* ESTILOS DE TARJETAS DE PROPIEDADES */
.featured-properties {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.property-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-10px);
}

.property-image {
    position: relative;
    height: 220px;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-price {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #c5a059; /* Color dorado acorde a tu tag-gold */
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.property-info {
    padding: 20px;
}

.property-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: #333;
}

.property-info p {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.property-actions {
    display: flex;
    gap: 10px;
}

.btn-view {
    flex-grow: 1;
    text-align: center;
    background: #333;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-view:hover {
    background: #c5a059;
}

.btn-contact-card {
    background: #f0f0f0;
    color: #333;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-contact-card:hover {
    background: #c5a059;
    color: white;
}

/* --- PROPIEDADES DINÁMICAS (Google Sheets) --- */
.properties-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.properties-loading i {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
    color: var(--rojo-rental);
}

.props-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 1rem;
    line-height: 1.8;
}

.property-image.no-photo {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-image.no-photo::after {
    content: '\f015';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 3rem;
    color: #ccc;
}

.prop-ref {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
}

.prop-desc {
    font-size: 0.85rem !important;
    color: #999 !important;
    margin-bottom: 12px !important;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}