/* ESTÉTICA ORGANIC CANVAS - FERNANDO REDONDO (TEXTILES PARA EL HOGAR) */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --linen-white: #FAF9F6;      /* Blanco Lino / Fondo principal */
    --canvas-beige: #EFEBE1;     /* Beige Lienzo / Fondos secundarios */
    --terracotta: #B96B54;       /* Terracota Suave / Acentos */
    --sage-green: #7A8B76;       /* Verde Salvia / Detalles */
    --anthracite: #3A3836;       /* Antracita Cálido / Textos */
    --border-light: 1px solid #E2DCD0;
    --transition: all 0.4s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Lato', sans-serif; 
    background-color: var(--linen-white); 
    color: var(--anthracite); 
    line-height: 1.7; 
    font-weight: 300;
    display: flex;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 400; color: var(--anthracite); }

/* MENÚ LATERAL FIJO (SIDEBAR LAYOUT) */
.sidebar { 
    width: 320px; 
    height: 100vh; 
    position: fixed; 
    top: 0; 
    left: 0; 
    background-color: var(--linen-white); 
    border-right: var(--border-light); 
    display: flex; 
    flex-direction: column; 
    padding: 50px 40px; 
    z-index: 1000;
    overflow-y: auto;
}

.brand { margin-bottom: 60px; }
.brand h1 { font-size: 2.2rem; line-height: 1.1; margin-bottom: 10px; }
.brand h1 span { color: var(--terracotta); font-style: italic; }
.brand p { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--sage-green); font-weight: 700; }

.nav-links { list-style: none; margin-bottom: 60px; flex-grow: 1; }
.nav-links li { margin-bottom: 20px; }
.nav-links a { text-decoration: none; color: var(--anthracite); font-size: 1.1rem; transition: var(--transition); position: relative; display: inline-block; }
.nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px; background-color: var(--terracotta); transition: var(--transition); }
.nav-links a:hover { color: var(--terracotta); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.sidebar-contact { margin-bottom: 40px; font-size: 0.85rem; line-height: 1.8; color: #666; }
.sidebar-contact strong { color: var(--anthracite); font-family: 'Playfair Display', serif; font-size: 1rem; display: block; margin-bottom: 5px; }

.lang-selector { 
    background: var(--canvas-beige); 
    border: none; 
    color: var(--anthracite); 
    padding: 8px 15px; 
    font-family: 'Lato', sans-serif; 
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer; 
    transition: var(--transition); 
    outline: none; 
    width: 100%;
}
.lang-selector:hover { background: var(--terracotta); color: var(--linen-white); }

/* CONTENEDOR PRINCIPAL */
.main-content { 
    margin-left: 320px; 
    width: calc(100% - 320px); 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HERO SECTION (LOOKBOOK) */
.hero { 
    height: 100vh; 
    position: relative; 
    display: flex; 
    align-items: flex-end; 
    padding: 60px;
    background-color: var(--canvas-beige);
}
.hero-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; filter: sepia(10%) contrast(0.95); }
.hero-text-box { 
    position: relative; 
    z-index: 10; 
    background: rgba(250, 249, 246, 0.95); /* Blanco Lino translúcido */
    padding: 50px; 
    max-width: 600px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}
.hero-text-box h2 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
.hero-text-box p { font-size: 1.1rem; color: #555; }

/* CONTENEDORES Y TÍTULOS */
.content-section { padding: 100px 8%; background: var(--linen-white); }
.content-section.alt-bg { background: var(--canvas-beige); }
.section-title { font-size: 3rem; margin-bottom: 60px; text-align: left; }
.section-title i { color: var(--sage-green); font-style: italic; }

/* SERVICIOS (REGLA: SOLO TÍTULOS - MUESTRARIO TEXTIL) */
.services-masonry { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.service-item { position: relative; cursor: pointer; }
.service-item img { width: 100%; height: 450px; object-fit: cover; transition: var(--transition); border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.06); }
.service-item:hover img { transform: translateY(-10px); }
.service-item h3 { margin-top: 25px; font-size: 1.5rem; text-align: center; color: var(--anthracite); transition: var(--transition); }
.service-item:hover h3 { color: var(--terracotta); }

/* TESTIMONIOS (REGLA: 100% ANÓNIMOS) */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.testimonial-card { padding: 40px; background: var(--linen-white); border: var(--border-light); border-top: 4px solid var(--terracotta); }
.testimonial-card p { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-style: italic; color: #555; line-height: 1.8; }

/* DUDAS (REGLA: EXACTAMENTE 2, H3 + P) */
.faq-wrapper { max-width: 800px; display: flex; flex-direction: column; gap: 30px; }
.faq-box { padding: 40px; background: var(--canvas-beige); border-left: 2px solid var(--sage-green); }
.faq-box h3 { font-size: 1.6rem; margin-bottom: 15px; color: var(--anthracite); }
.faq-box p { font-size: 1.05rem; color: #555; }

/* FOOTER ORGÁNICO */
footer { background: var(--anthracite); color: var(--canvas-beige); padding: 80px 8% 40px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 50px; margin-bottom: 60px; }
.footer-grid h4 { color: var(--linen-white); font-size: 1.2rem; margin-bottom: 25px; letter-spacing: 1px; }
.footer-grid p { margin-bottom: 10px; font-size: 0.95rem; color: #AAA; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #AAA; text-decoration: none; font-size: 0.95rem; transition: var(--transition); }
.footer-links a:hover { color: var(--terracotta); }

/* REGLA ESTRICTA LOGO KIT DIGITAL: BLANCO, PADDING */
.logo-kit-local { display: block; margin: 0 0 40px 0; max-width: 250px; width: 100%; height: auto; background-color: #FFFFFF !important; padding: 15px; border-radius: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; font-size: 0.85rem; color: #777; text-align: left; }

/* ADAPTABILIDAD (MÓVILES) */
@media (max-width: 1024px) {
    body { flex-direction: column; }
    .sidebar { width: 100%; height: auto; position: relative; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 20px 5%; border-right: none; border-bottom: var(--border-light); }
    .main-content { margin-left: 0; width: 100%; }
    .brand { margin-bottom: 0; }
    .nav-links { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 0; width: 100%; justify-content: center; margin-top: 20px; }
    .sidebar-contact { display: none; }
    .lang-selector { width: auto; margin-top: 20px; }
    .hero { padding: 20px; align-items: center; justify-content: center; }
    .hero-text-box { padding: 30px; text-align: center; }
}