/* ESTÉTICA FOCUS FRAME - ANA BELÉN LECUMBERRI (ENSEÑANZA DE FOTOGRAFÍA) */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Space+Grotesk:wght@300;500;700&display=swap');

:root {
    --bg-light: #FAFAFA;
    --text-dark: #111111;
    --text-gray: #777777;
    --accent-red: #E63946;
    --border-thin: 1px solid #DDDDDD;
    --transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Space Grotesk', sans-serif; 
    background-color: var(--bg-light); 
    color: var(--text-dark); 
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 600; }

/* NAVEGACIÓN EDITORIAL */
.topbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: var(--border-thin);
    z-index: 1000;
}
.brand { display: flex; align-items: center; gap: 10px; }
.focus-dot { width: 10px; height: 10px; background-color: var(--accent-red); border-radius: 50%; animation: pulse 2s infinite; }
.brand h1 { font-size: 1.8rem; text-transform: uppercase; letter-spacing: 2px; line-height: 1; }
.brand span { display: block; font-family: 'Space Grotesk'; font-size: 0.7rem; color: var(--text-gray); letter-spacing: 4px; margin-top: 4px; }

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

.nav-links { display: flex; list-style: none; gap: 40px; }
.nav-links a { 
    text-decoration: none; 
    color: var(--text-dark); 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--accent-red); }
.nav-links a.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: var(--accent-red); }

.lang-selector { 
    background: transparent; 
    border: none; 
    color: var(--text-dark); 
    font-family: 'Space Grotesk'; 
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer; 
    outline: none; 
}

/* HERO CON VÍDEO Y VISOR DE CÁMARA (VIEWFINDER) */
.hero-viewfinder {
    position: relative;
    height: calc(100vh - 85px);
    width: 100%;
    background-color: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.8;
    filter: grayscale(30%);
}
.viewfinder-frame {
    position: absolute;
    top: 40px; left: 40px; right: 40px; bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1;
    pointer-events: none;
}
.viewfinder-frame::before, .viewfinder-frame::after {
    content: ''; position: absolute; width: 30px; height: 30px; border: 2px solid #FFF;
}
.viewfinder-frame::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.viewfinder-frame::after { bottom: -2px; right: -2px; border-left: none; border-top: none; }
.center-crosshair {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 40px; height: 40px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    z-index: 1;
}
.center-crosshair::after {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 4px; height: 4px; background: var(--accent-red); border-radius: 50%;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #FFF;
    max-width: 800px;
    padding: 0 20px;
}
.hero-content h2 { font-size: 4.5rem; line-height: 1; margin-bottom: 20px; font-weight: 400; }
.hero-content p { font-family: 'Space Grotesk'; font-size: 1.1rem; font-weight: 300; letter-spacing: 1px; color: #DDD; }

/* BLOQUES DE CONTENIDO EDITORIAL */
.editorial-section { padding: 100px 10%; border-bottom: var(--border-thin); display: grid; grid-template-columns: 1fr 2fr; gap: 80px; }
.section-title { font-size: 3rem; line-height: 1.1; margin-bottom: 30px; color: var(--text-dark); }
.text-block { font-size: 1.2rem; color: var(--text-gray); font-weight: 300; margin-bottom: 25px; text-align: justify; }

/* SERVICIOS (REGLA: SOLO TÍTULOS - EFECTO REVELADO FOTOGRÁFICO) */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2px; background: var(--text-dark); padding: 2px; }
.gallery-item { position: relative; height: 450px; background: #000; overflow: hidden; cursor: crosshair; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: var(--transition); opacity: 0.6; }
.gallery-item:hover img { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }
.gallery-item h3 { 
    position: absolute; bottom: 30px; left: 30px; 
    color: #FFF; font-family: 'Space Grotesk'; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 2px; 
    z-index: 2; margin: 0; transition: var(--transition);
}
.gallery-item:hover h3 { color: var(--accent-red); }

/* FOOTER Y REGLA KIT DIGITAL (BLANCO) */
footer { background: var(--bg-light); padding: 80px 10% 40px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; border-top: var(--border-thin); }
.footer-col h4 { font-family: 'Space Grotesk'; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 25px; color: var(--text-dark); }
.footer-col p { font-size: 0.95rem; color: var(--text-gray); margin-bottom: 10px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: var(--text-gray); text-decoration: none; font-size: 0.95rem; transition: var(--transition); }
.footer-links a:hover { color: var(--accent-red); }

.logo-kit-local { display: block; max-width: 200px; width: 100%; background-color: #FFFFFF !important; padding: 10px; border: var(--border-thin); margin-bottom: 30px; }
.copyright { grid-column: 1 / -1; text-align: center; border-top: var(--border-thin); padding-top: 30px; margin-top: 30px; font-size: 0.85rem; color: #AAA; text-transform: uppercase; letter-spacing: 1px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .topbar { flex-direction: column; padding: 20px; gap: 20px; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 20px; }
    .hero-content h2 { font-size: 3rem; }
    .editorial-section { grid-template-columns: 1fr; gap: 40px; padding: 60px 5%; }
    footer { grid-template-columns: 1fr; gap: 40px; padding: 60px 5% 30px; }
}