/* ESTÉTICA NEUMORPHIC DASHBOARD - DIEGO MARTÍN BALAN CABULI */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --bg-color: #e0e5ec;          /* Gris Hielo / Fondo unificado */
    --text-main: #2d3436;         /* Carbón Oscuro */
    --text-muted: #636e72;        /* Gris Plomo */
    --accent-color: #0984e3;      /* Azul Eléctrico */
    
    /* Variables de Neumorfismo */
    --shadow-light: rgba(255, 255, 255, 0.8);
    --shadow-dark: rgba(163, 177, 198, 0.6);
    --neu-out: 9px 9px 16px var(--shadow-dark), -9px -9px 16px var(--shadow-light);
    --neu-out-hover: 12px 12px 20px var(--shadow-dark), -12px -12px 20px var(--shadow-light);
    --neu-in: inset 6px 6px 10px var(--shadow-dark), inset -6px -6px 10px var(--shadow-light);
    
    --radius-card: 20px;
    --radius-pill: 50px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Poppins', sans-serif; 
    background-color: var(--bg-color); 
    color: var(--text-main); 
    line-height: 1.6; 
}

h1, h2, h3, h4 { font-weight: 700; color: var(--text-main); }

/* NAVEGACIÓN (FLOTANTE NEUMÓRFICA) */
.nav-wrapper { position: sticky; top: 20px; z-index: 1000; display: flex; justify-content: center; padding: 0 5%; margin-bottom: 40px; }
.nav-bar { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1200px; padding: 15px 30px; border-radius: var(--radius-pill); background-color: var(--bg-color); box-shadow: var(--neu-out); }
.brand h1 { font-size: 1.5rem; letter-spacing: -0.5px; }
.brand h1 span { color: var(--accent-color); }

nav { display: flex; align-items: center; gap: 20px; }
.nav-links { display: flex; list-style: none; gap: 15px; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-size: 0.95rem; font-weight: 600; padding: 10px 20px; border-radius: var(--radius-pill); transition: var(--transition); }
.nav-links a:hover { color: var(--accent-color); box-shadow: var(--neu-out); }
.nav-links a.active { color: var(--accent-color); box-shadow: var(--neu-in); }

.lang-selector { background-color: var(--bg-color); border: none; color: var(--text-main); padding: 10px 15px; border-radius: var(--radius-pill); font-family: 'Poppins', sans-serif; font-weight: 600; cursor: pointer; box-shadow: var(--neu-out); outline: none; transition: var(--transition); }
.lang-selector:hover { box-shadow: var(--neu-in); color: var(--accent-color); }

/* HERO SECTION (FULL-WIDTH CON VÍDEO NEUMÓRFICO) */
.hero { position: relative; display: flex; align-items: center; justify-content: center; min-height: 85vh; margin: 0; padding: 0; overflow: hidden; }
.hero-video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; mix-blend-mode: luminosity; }
.hero-content { position: relative; z-index: 10; background-color: rgba(224, 229, 236, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 60px; border-radius: var(--radius-card); box-shadow: var(--neu-out); max-width: 800px; text-align: center; margin: 0 5%; border: 1px solid rgba(255, 255, 255, 0.4); }
.hero-tag { display: inline-block; padding: 8px 20px; border-radius: var(--radius-pill); box-shadow: var(--neu-in); color: var(--accent-color); font-weight: 600; font-size: 0.9rem; margin-bottom: 25px; letter-spacing: 1px; }
.hero h2 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 25px; }
.hero p { font-size: 1.1rem; color: var(--text-muted); margin: 0 auto; max-width: 600px; }

/* ESTRUCTURA GENERAL DE BLOQUES */
.content-block { padding: 80px 5%; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 2.5rem; margin-bottom: 50px; text-align: center; }

/* WIDGET DE TEXTO (INFO) */
.info-widget { padding: 40px; border-radius: var(--radius-card); background-color: var(--bg-color); box-shadow: var(--neu-out); margin-bottom: 40px; }
.info-widget p { font-size: 1.1rem; color: var(--text-muted); text-align: justify; margin-bottom: 20px; }

/* SERVICIOS (REGLA: SOLO TÍTULOS - TARJETAS NEUMÓRFICAS) */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.service-card { border-radius: var(--radius-card); padding: 20px; background-color: var(--bg-color); box-shadow: var(--neu-out); transition: var(--transition); display: flex; flex-direction: column; align-items: center; text-align: center; }
.service-card:hover { box-shadow: var(--neu-out-hover); transform: translateY(-5px); }
.service-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; margin-bottom: 20px; box-shadow: var(--neu-in); }
.service-card h3 { font-size: 1.2rem; color: var(--text-main); margin-bottom: 10px; }

/* TESTIMONIOS (REGLA: 100% ANÓNIMOS) */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.testimonial-card { padding: 40px; border-radius: var(--radius-card); background-color: var(--bg-color); box-shadow: var(--neu-in); }
.testimonial-card p { font-size: 1.05rem; color: var(--text-muted); font-style: italic; position: relative; }
.testimonial-card p::before { content: '“'; font-size: 4rem; color: var(--accent-color); position: absolute; top: -30px; left: -15px; opacity: 0.3; font-family: serif; }

/* DUDAS (REGLA: EXACTAMENTE 2, H3 + P) */
.faq-container { display: flex; flex-direction: column; gap: 30px; max-width: 900px; margin: 0 auto; }
.faq-box { padding: 35px; border-radius: var(--radius-card); background-color: var(--bg-color); box-shadow: var(--neu-out); }
.faq-box h3 { font-size: 1.3rem; margin-bottom: 15px; color: var(--accent-color); }
.faq-box p { font-size: 1.05rem; color: var(--text-muted); }

/* FOOTER DASHBOARD */
footer { padding: 60px 5% 40px; margin-top: 80px; border-top: 2px solid rgba(255,255,255,0.5); }
.footer-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto 50px; }
.footer-columns h4 { color: var(--text-main); font-size: 1.2rem; margin-bottom: 25px; }
.footer-columns p { margin-bottom: 10px; font-size: 0.95rem; color: var(--text-muted); }
.footer-menu-links { list-style: none; }
.footer-menu-links li { margin-bottom: 15px; }
.footer-menu-links a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 600; padding: 8px 15px; border-radius: var(--radius-pill); box-shadow: var(--neu-out); transition: var(--transition); display: inline-block; }
.footer-menu-links a:hover { color: var(--accent-color); box-shadow: var(--neu-in); }

/* REGLA ESTRICTA LOGO KIT DIGITAL: BLANCO, PADDING */
.logo-kit-local { display: block; margin: 0 auto 40px; max-width: 250px; width: 100%; height: auto; background-color: #FFFFFF !important; padding: 15px; border-radius: 15px; box-shadow: var(--neu-out); }
.footer-legal-text { text-align: center; font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .nav-bar { flex-direction: column; gap: 20px; border-radius: 20px; padding: 20px; }
    .nav-links { flex-wrap: wrap; justify-content: center; }
    .hero { flex-direction: column; text-align: center; }
    .hero p { margin: 0 auto 40px; }
}