:root {
    --primary: #455a64;    /* Gris azulado sobrio */
    --accent: #d35400;     /* Tono teja/arcilla español */
    --text: #2c3e50;
    --bg-light: #f9f9f9;
    --border: #e0e0e0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.6; }

.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.header { border-bottom: 1px solid var(--border); padding: 15px 0; background: #fff; position: sticky; top: 0; z-index: 100; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 8px; font-size: 1.2rem; }
.logo-box { background: var(--primary); color: #fff; padding: 3px 10px; border-radius: 4px; }

.nav-menu { display: flex; gap: 20px; align-items: center; }
.nav-menu a { font-size: 0.9rem; color: #666; text-decoration: none; font-weight: 600; }
.btn-contact { background: var(--primary); color: #fff !important; padding: 8px 16px; border-radius: 4px; }

/* HERO */
.hero-apartment {
    /* Ajustamos un poco la altura para que se aprecie mejor la ciudad */
    height: 55vh;
    /* NUEVA IMAGEN: Gran Vía y Edificio Metrópolis, Madrid */
    background: url('https://www.kayak.es/rimg/himg/05/f8/3b/expediav2-472148-e8290e-268287.jpg?width=836&height=607&crop=true') center/cover no-repeat;
    display: flex; align-items: center;
    position: relative;
}
/* Asegúrate de tener esto también para que el texto blanco se lea bien sobre la foto */
.hero-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
    width: 100%; height: 100%; display: flex; align-items: center;
}
/* Añade un degradado oscuro para que el texto blanco se lea perfecto sobre cualquier foto */
.hero-overlay {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    width: 100%; height: 100%; display: flex; align-items: center;
}
.hero-overlay { background: rgba(0,0,0,0.5); width: 100%; height: 100%; display: flex; align-items: center; }
.hero-text { padding-left: 5%; color: #fff; max-width: 600px; }
.hero-text h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 10px; }
.status-badge { background: #27ae60; padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; text-transform: uppercase; font-weight: bold; }

/* SPECS */
.specs-bar { background: var(--bg-light); border-bottom: 1px solid var(--border); padding: 25px 0; }
.specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 20px; }
.spec-item { display: flex; align-items: center; gap: 10px; }
.spec-item i { color: var(--accent); font-size: 1.3rem; }
.spec-item strong { display: block; font-size: 1.1rem; color: var(--primary); }
.spec-item span { font-size: 0.8rem; color: #888; }

/* LAYOUT */
.section { padding: 60px 0; }
.layout-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.content-col h2 { color: var(--primary); margin-bottom: 15px; }
.amenities-list { list-style: none; margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.amenities-list i { color: var(--accent); margin-right: 8px; }

/* IMAGES */
.visual-col { position: relative; min-height: 350px; }
.image-stack img { border: 6px solid #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.1); border-radius: 4px; }
.img-1 { width: 85%; }
.img-2 { position: absolute; bottom: 0; right: 0; width: 65%; z-index: 2; }

.info-card { background: var(--primary); color: #fff; padding: 20px; margin-top: 30px; border-radius: 4px; }
.info-card h4 { color: var(--accent); margin-bottom: 5px; }

/* GALLERY */
.gallery-full { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--border); }
.gallery-item { height: 220px; position: relative; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }
.g-caption { position: absolute; bottom: 0; background: rgba(0,0,0,0.7); color: #fff; width: 100%; padding: 8px; font-size: 0.85rem; }

.footer-simple { background: #222; color: #777; text-align: center; padding: 30px 0; font-size: 0.85rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-menu { display: none; } /* En producción podrías usar el JS para mostrarlo */
    .hero-text h1 { font-size: 1.8rem; }
}

