/* --- 1. IMPORTACIÓN DE FUENTES ARCHIA --- */
@font-face { font-family: 'Archia'; src: url('/fonts/archia-thin-webfont.ttf'); font-weight: 100; }
@font-face { font-family: 'Archia'; src: url('/fonts/archia-light-webfont.ttf'); font-weight: 300; }
@font-face { font-family: 'Archia'; src: url('/fonts/archia-regular-webfont.ttf'); font-weight: 400; }
@font-face { font-family: 'Archia'; src: url('/fonts/archia-medium-webfont.ttf'); font-weight: 500; }
@font-face { font-family: 'Archia'; src: url('/fonts/archia-semibold-webfont.ttf'); font-weight: 600; }
@font-face { font-family: 'Archia'; src: url('/fonts/archia-bold-webfont.ttf'); font-weight: 700; }

:root {
    --font-brand: 'Archia', sans-serif;
    --font-body: 'Archia', sans-serif; 
    --color-bg: #ffffff;
    --color-text: #000000;
    --silver-gradient: linear-gradient(135deg, #E0E0E0 0%, #B0B0B0 50%, #E0E0E0 100%);
    --color-silver: #C0C0C0; 
    --color-grey-dark: #333333;
    --spacing-container: 5%;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

/* OCULTAR CURSOR POR DEFECTO PARA USAR EL PERSONALIZADO */
html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: transparent; 
    color: var(--color-text);
    overflow-x: hidden;
}

* {
    cursor: none !important;
}

/* TEXTURA DE RUIDO (ESTILO EDITORIAL/BOUTIQUE) */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; 
    z-index: 9999; 
    opacity: 0.04; 
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- CUSTOM CURSOR ESTILOS --- */
.cursor-dot {
    width: 14px; 
    height: 14px; 
    background-color: #646464; /* Un gris oscuro, sobrio y elegante */
    border-radius: 50%;
    position: fixed; top: 0; left: 0; transform: translate(-50%, -50%);
    pointer-events: none; z-index: 10000;
    transition: width 0.25s cubic-bezier(0.25, 1, 0.5, 1), 
                height 0.25s cubic-bezier(0.25, 1, 0.5, 1), 
                background-color 0.25s ease;
}

/* Estado expandido al hacer hover (Discreto y translúcido) */
.cursor-dot.expand {
    width: 26px; 
    height: 26px;
    background-color: rgba(94, 94, 94, 0.279); /* Mismo gris, pero casi transparente */
}

/* --- FONDO PARALLAX DE CÍRCULOS (Versión Presencia Elegante) --- */
.parallax-bg-circles {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 150vh; 
    z-index: -1; overflow: hidden; background-color: #ffffff; pointer-events: none;
}
.parallax-circle {
    position: absolute; border-radius: 70%;
    background-image: radial-gradient(#bdbdbd 2px, transparent 1.5px); background-color: transparent;
    filter: blur(0.05px); 
}
.circle-1 { width: 700px; height: 700px; background-size: 11px 11px; top: -200px; right: -320px; opacity: 0.6; }
.circle-2 { width: 600px; height: 600px; background-size: 11px 11px; top: 45vh; left: -182.5px; opacity: 0.75; }
.circle-3 { width: 350px; height: 350px; background-size: 11px 11px; top: -15vh; left: 170px; opacity: 0.3; }
.circle-5 { width: 500px; height: 500px; background-size: 11px 11px; top: 1000px; left: -130px; opacity: 0.6;}

/* --- NAVBAR --- */
.navbar {
    position: fixed; top: 0; width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 2rem var(--spacing-container); z-index: 1000; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: rgba(255, 255, 255, 0.55); border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    padding: 1rem var(--spacing-container); background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-svg { width: 150px; height: auto; transition: transform 0.3s ease, opacity 0.3s ease; }
.logo-svg:hover { opacity: 0.8; transform: scale(1.02); }

.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1001;}
.mobile-menu-toggle span { display: block; width: 25px; height: 2px; background-color: #111; margin: 5px 0; transition: all 0.3s ease;}

.menu { list-style: none; display: flex; gap: 2.5rem; margin: 0; padding: 0; align-items: center; }
.menu a { 
    text-decoration: none; color: var(--color-text); font-family: var(--font-brand); font-weight: 500; 
    font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; position: relative; padding-bottom: 5px; 
}
.menu a::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0;
    background: var(--silver-gradient); transition: width 0.3s ease;
}
.menu a:hover::after { width: 100%; }
.menu > li > a:hover { color: #555; }

/* --- DROPDOWN --- */
.dropdown-item { position: relative; padding-bottom: 20px; margin-bottom: -20px; }
.dropdown-menu {
    position: absolute; top: 100%; left: -20px; background-color: rgba(255, 255, 255, 0.98); 
    backdrop-filter: blur(10px); min-width: 220px; list-style: none; padding: 10px 0; margin: 0;
    border: 1px solid rgba(0,0,0,0.05); border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.95); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.dropdown-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.dropdown-menu li { display: block; }
.dropdown-menu a {
    display: block; padding: 12px 25px; text-transform: none; font-size: 0.95rem; color: var(--color-grey-dark); 
    border-left: 2px solid transparent; transition: all 0.2s ease;
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background-color: #f9f9f9; color: black; padding-left: 30px; border-left: 2px solid var(--color-silver); }

/* --- HERO --- */
.hero-container {
    height: 100vh; width: 100%; display: flex; justify-content: center; align-items: center; text-align: center; 
    padding: 0 var(--spacing-container); background: transparent; position: relative; z-index: 2; 
}
.hero-content { max-width: 900px; animation: fadeUp 1s ease-out forwards; }
.main-heading { font-size: clamp(2.5rem, 6vw, 4.5rem) !important; line-height: 1.1; margin-bottom: 2rem; }
.subtitle { font-family: var(--font-body); font-weight: 300; color: var(--color-grey-dark); margin-top: 1.5rem; font-size: clamp(1rem, 2vw, 1.25rem); max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* --- BOTÓN DESCUBRIR --- */
.btn-minimal {
    display: inline-block; margin-top: 3rem; padding: 14px 45px; background: white; border: 2px dashed #b8b8b8; 
    text-decoration: none; color: var(--color-text); font-family: var(--font-brand); font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase; font-size: 0.8rem; border-radius: 50px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); position: relative; overflow: hidden;
}
.btn-minimal::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent); transition: 0.5s;
}
.btn-minimal:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-color: #555; border-style: solid; }

/* --- ESTILOS INTERIORES --- */
.section-padding { padding: 8rem var(--spacing-container); position: relative; z-index: 2; }
.bg-white { background-color: transparent; color: black; }
.bg-black { background-color: #0a0a0a; color: white; }
.bg-silver { background-color: #f7f7f7; color: black; }
.text-center { text-align: center; }

.text-metallic-dark { background: linear-gradient(135deg, #777777 0%, #3a3a3a 50%, #777777 100%); background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent; font-weight: 600; }
.text-silver { background: var(--silver-gradient); background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { font-family: var(--font-brand); font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 2rem; line-height: 1.1; letter-spacing: -1px; color: #000000; font-weight: 600; }
.section-desc { font-size: 1.3rem; max-width: 800px; margin: 0 auto; line-height: 1.6; color: #666; font-weight: 300; }

/* ANIMACIÓN TYPEWRITER CORREGIDA AL MILÍMETRO */
.typewriter-text {
    display: inline-block;
    overflow: hidden; 
    white-space: nowrap; 
    
    /* 1. Lo ponemos transparente por defecto para que al terminar desaparezca */
    border-right: 3px solid transparent; 
    
    vertical-align: bottom; 
    margin-left: 0.2em; 
    
    /* 2. En lugar de 'infinite', le decimos que parpadee 5 veces y se detenga (forwards) */
    animation: 
        typing 3s steps(11) forwards, 
        blink 1s step-end 5 forwards; 
        
    color: #111; 
}

@keyframes typing { 
    from { width: 0; } 
    to { width: 5.5em; } /* Recuerda ajustar este 5.5em si lo necesitas */
}

/* 3. Aseguramos que el estado inicial (from) y final (to) sean transparentes */
@keyframes blink { 
    from, to { border-color: transparent; } 
    50% { border-color: #111; } 
}

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; text-align: center; }
.stat-number { font-family: var(--font-brand); font-size: 4.5rem; font-weight: 700; background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 0.5rem; }
.stat-label { font-family: var(--font-body); font-size: 1rem; opacity: 0.7; letter-spacing: 1px; text-transform: uppercase; }
.grid-services-home { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }

/* CAJAS DE SERVICIO (GLASSMORPHISM) */
.service-box {
    display: flex; flex-direction: column; justify-content: space-between;
    background: rgba(255, 255, 255, 0.75); 
    backdrop-filter: blur(10px); 
    border: 2.1px dashed #acacac; padding: 1rem; text-decoration: none; color: black; 
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); position: relative; border-radius: 12px;
}
.service-box:hover { border-color: #333; border-style: solid; transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); background: #fff;}
.service-box h3 { font-family: var(--font-brand); font-size: 1.8rem; margin-bottom: 1rem; font-weight: 600; }
.service-box p { color: #666; font-size: 1rem; line-height: 1.6; margin-bottom: 3rem; }
.service-box .arrow { position: absolute; bottom: 2.5rem; right: 2.5rem; font-size: 1.5rem; color: var(--color-silver); transition: all 0.3s ease; }
.service-box:hover .arrow { transform: translateX(5px); color: black; }

.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.talent-img { max-width: 100%; height: auto; max-height: 400px; display: block; margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1)); }
.quote { font-family: var(--font-brand); font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 400; margin-bottom: 2rem; color: #1a1a1a; line-height: 1.3; }
cite { font-family: var(--font-body); font-weight: 600; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 2px; color: #888; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- FOOTER ANTIGUO / GENERAL (Mantenido de tu primer código) --- */
.footer { background-color: #fbfbfb; color: #333; padding: 4rem var(--spacing-container) 2rem; margin-top: 4rem; border-top: 1px solid #eee; font-size: 0.9rem; position: relative; z-index: 2; }
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.brand-col { padding-right: 2rem; }
.footer-logo { width: 120px; margin-bottom: 1rem; opacity: 0.8; }
.footer-desc { color: #666; line-height: 1.6; max-width: 300px; }
.footer-col h4 { font-family: var(--font-brand); font-size: 1rem; font-weight: 600; margin-bottom: 1.5rem; color: #000; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { text-decoration: none; color: #666; transition: color 0.3s ease; }
.footer-links a:hover { color: #000; text-decoration: underline; }
.services-group { grid-column: span 2; }
.services-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.footer-bottom { border-top: 1px solid #eee; padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; color: #888; font-size: 0.85rem; }
.social-links a { text-decoration: none; color: #666; margin-left: 1.5rem; font-weight: 500; transition: color 0.3s ease; }
.social-links a:hover { color: #000; }

/* --- ESTILOS PÁGINAS INTERNAS (Restaurados de tu primer código) --- */
.service-hero { height: 60vh; display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; padding-top: 80px; }
.content-body { font-size: 1.1rem; line-height: 1.8; color: #444; max-width: 900px; margin: 0 auto; }
.content-body h2 { font-family: var(--font-brand); font-size: 2rem; margin-top: 4rem; margin-bottom: 1.5rem; color: #000; }
.content-body p { margin-bottom: 1.5rem; }
.bento-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 4rem 0; position: relative; z-index: 10; }
.service-editorial-header { max-width: 800px; margin-bottom: 4rem; text-align: left; }
.editorial-title { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 700; letter-spacing: -0.04em; margin-bottom: 1rem; color: #111; line-height: 1.1; }
.editorial-subtitle { font-size: 1.4rem; color: #666; line-height: 1.6; font-weight: 400; }

/* --- RESPONSIVE GENERAL --- */
@media screen and (max-width: 768px) {
    html, body { cursor: auto; } /* Restaurar cursor nativo en móvil */
    .cursor-dot { display: none; } /* Ocultar cursor personalizado en móvil */
    
    .navbar { flex-direction: column; gap: 1rem; padding: 1.5rem var(--spacing-container); background-color: rgba(255,255,255,0.98); backdrop-filter: blur(15px); border-bottom: 1px solid rgba(0,0,0,0.05); }
    .logo-svg { width: 120px; }
    
    .mobile-menu-toggle { display: block; position: absolute; right: 2rem; top: 1.5rem; }
    .menu { display: none; flex-direction: column; gap: 1rem; font-size: 0.85rem; text-align: center; width: 100%; padding-top: 1rem; }
    .menu.active { display: flex; }
    
    .mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    
    .dropdown-menu { position: static; box-shadow: none; border: none; border-left: 2px solid var(--color-silver); display: none; padding-left: 10px; background: transparent; transform: none; width: 100%; text-align: center; }
    .dropdown-item:hover .dropdown-menu { display: block; }
    
    .section-title { font-size: 2.5rem; }
    .split-layout { grid-template-columns: 1fr; gap: 3rem; }
    .quote { font-size: 1.5rem; }
    .service-box { padding: 2rem; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    .services-group { grid-column: auto; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .social-links a { margin: 0 0.5rem; }
    
    .bento-grid { grid-template-columns: 1fr; }
}