/* ESTÉTICA INMOBILIARIA URBANA MODERNA - BELÉN LARRUBIA ROSA */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Oswald:wght@400;500;700&display=swap');

:root {
    --urban-dark: #0F172A;    /* Azul noche muy oscuro */
    --urban-primary: #1D4ED8; /* Azul Rey / Corporativo */
    --urban-accent: #F59E0B;  /* Ámbar / Dorado */
    --urban-light: #F8FAFC;   /* Gris perla / Blanco roto */
    --urban-text: #475569;    /* Gris pizarra */
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; background-color: var(--urban-light); color: var(--urban-text); line-height: 1.7; font-weight: 400; }
h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; color: var(--urban-dark); text-transform: uppercase; letter-spacing: 1px; }

/* CABECERA ARQUITECTÓNICA */
header { background: var(--urban-dark); padding: 0 5%; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; border-bottom: 4px solid var(--urban-primary); height: 90px; }
.brand h1 { font-size: 2rem; color: var(--white); font-weight: 700; letter-spacing: 2px; }
.brand h1 span { color: var(--urban-accent); }
.brand p { font-size: 0.8rem; letter-spacing: 3px; color: #94A3B8; margin-top: -5px; text-transform: uppercase; font-family: 'Open Sans'; }
nav { display: flex; gap: 40px; align-items: center; height: 100%; }
.nav-links { display: flex; list-style: none; height: 100%; }
.nav-links li { height: 100%; display: flex; align-items: center; }
.nav-links a { text-decoration: none; color: #CBD5E1; font-size: 0.95rem; font-family: 'Oswald', sans-serif; font-weight: 500; letter-spacing: 1.5px; padding: 0 20px; transition: var(--transition); height: 100%; display: flex; align-items: center; border-bottom: 4px solid transparent; margin-bottom: -4px; }
.nav-links a:hover { color: var(--white); border-bottom: 4px solid var(--urban-accent); background: rgba(255,255,255,0.05); }
.lang-selector { border: 2px solid var(--urban-primary); background: transparent; color: var(--white); padding: 8px 15px; font-family: 'Oswald', sans-serif; font-size: 0.9rem; cursor: pointer; transition: var(--transition); outline: none; }
.lang-selector:hover { background: var(--urban-primary); }

/* HERO GEOMÉTRICO */
.hero { position: relative; height: 80vh; display: flex; align-items: center; padding: 0 5%; background: var(--urban-dark); overflow: hidden; }
.hero-image { position: absolute; right: 0; top: 0; width: 60%; height: 100%; object-fit: cover; z-index: 1; opacity: 0.7; clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%); }
.hero-content { position: relative; z-index: 2; max-width: 600px; background: rgba(15, 23, 42, 0.85); padding: 50px; border-left: 8px solid var(--urban-accent); backdrop-filter: blur(5px); }
.hero-content h2 { font-size: 3.5rem; color: var(--white); line-height: 1.2; margin-bottom: 20px; }
.hero-content p { font-size: 1.15rem; color: #E2E8F0; }

/* BLOQUES DE CONTENIDO */
.content-block { padding: 100px 5%; max-width: 1300px; margin: 0 auto; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.section-title { font-size: 2.8rem; margin-bottom: 30px; position: relative; display: inline-block; }
.section-title::after { content: ''; position: absolute; left: 0; bottom: -10px; width: 50px; height: 5px; background: var(--urban-primary); }
.text-box p { margin-bottom: 20px; font-size: 1.1rem; text-align: justify; }

/* SERVICIOS (REGLA ESTRICTA: SOLO TÍTULOS E IMÁGENES) */
.services-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 40px; }
.service-item { position: relative; height: 350px; overflow: hidden; background: var(--urban-dark); border: 1px solid #E2E8F0; }
.service-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.6s ease; filter: grayscale(40%) brightness(0.6); }
.service-item:hover img { transform: scale(1.08); filter: grayscale(0%) brightness(0.4); }
.service-item h3 { position: absolute; bottom: 30px; left: 30px; right: 30px; color: var(--white); font-size: 1.6rem; z-index: 2; border-left: 5px solid var(--urban-accent); padding-left: 15px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }

/* TESTIMONIOS (REGLA ESTRICTA: ANÓNIMOS) */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; margin-top: 40px; }
.testimonial-card { background: var(--white); padding: 50px 40px; border-top: 5px solid var(--urban-primary); box-shadow: 0 10px 30px rgba(0,0,0,0.05); position: relative; }
.testimonial-card::before { content: '”'; position: absolute; top: 10px; left: 30px; font-family: 'Oswald', sans-serif; font-size: 6rem; color: #F1F5F9; line-height: 1; }
.testimonial-card p { font-size: 1.15rem; color: var(--urban-text); font-style: italic; position: relative; z-index: 1; }

/* DUDAS (REGLA ESTRICTA: EXACTAMENTE 2 FAQS, H3+P) */
.faq-box { background: var(--white); padding: 40px; margin-bottom: 30px; border-left: 5px solid var(--urban-dark); box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.faq-box h3 { font-size: 1.4rem; color: var(--urban-primary); margin-bottom: 15px; }
.faq-box p { font-size: 1.1rem; color: var(--urban-text); }

/* FOOTER ROBUSTO */
footer { background-color: var(--urban-dark); padding: 80px 5% 30px; margin-top: 80px; color: #CBD5E1; border-top: 5px solid var(--urban-accent); }
.footer-columns { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; max-width: 1300px; margin: 0 auto 50px; }
.footer-columns > div { flex: 1; min-width: 220px; }
.footer-columns h4 { color: var(--white); font-size: 1.3rem; margin-bottom: 25px; letter-spacing: 1px; }
.footer-columns p { margin-bottom: 10px; font-size: 0.95rem; }
.footer-menu-links { list-style: none; }
.footer-menu-links li { margin-bottom: 12px; }
.footer-menu-links a { color: #CBD5E1; text-decoration: none; font-size: 0.95rem; transition: var(--transition); display: inline-block; }
.footer-menu-links a:hover { color: var(--urban-accent); transform: translateX(5px); }

/* LOGO KIT DIGITAL */
.logo-kit-local { display: block; margin: 0 auto 40px; max-width: 350px; width: 100%; height: auto; background: var(--white); padding: 15px; border-radius: 4px; }
.footer-legal-text { text-align: center; font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; color: #64748B; }