/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://zenthagencia.com
 Description:  Child theme de Hello Elementor para Zenth Agencia
 Author:       Zenth
 Author URI:   https://zenthagencia.com
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-elementor-child
*/

/* ── FUENTES LOCALES ── */
@font-face {
    font-family: 'Syne';
    src: url('/fonts/Syne-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Syne';
    src: url('/fonts/Syne-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('/fonts/DMSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('/fonts/DMSans-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* ══════════════════════════════════════
   ZENTH — HEADER GLOBAL
   ══════════════════════════════════════ */
.zenth-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: all 0.4s ease;
}
.zenth-header.scrolled {
    background: rgba(8, 8, 8, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.15);
}

.zenth-logo .logo-dot {
    width: 8px; height: 8px;
    background: #60a5fa;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 12px #06b6d4;
    animation: zenthPulse 2s ease-in-out infinite;
    margin-right: 8px;
    vertical-align: middle;
}

.zenth-cta-btn {
    clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
    padding: 12px 32px !important;
    transition: all 0.3s ease !important;
}
.zenth-cta-btn:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
}

.zenth-nav-link {
    color: #6b7280 !important;
    transition: color 0.3s ease !important;
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    letter-spacing: 0.3px;
}
.zenth-nav-link:hover { color: #f0f0f0 !important; }

@keyframes zenthPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* ══════════════════════════════════════
   ZENTH — HERO SECTION
   ══════════════════════════════════════ */
.zenth-hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.zenth-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

.orb-blue {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    top: -100px; left: 50%;
    transform: translateX(-50%);
    animation: floatOrb 8s ease-in-out infinite;
    pointer-events: none;
}
.orb-cyan {
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(6,182,212,0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    bottom: 200px; right: -100px;
    animation: floatOrb 10s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes floatOrb {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-30px); }
}

.zenth-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37,99,235,0.1);
    border: 1px solid rgba(37,99,235,0.25);
    color: #60a5fa;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 100px;
}
.zenth-badge .badge-dot {
    width: 6px; height: 6px;
    background: #60a5fa;
    border-radius: 50%;
    box-shadow: 0 0 8px #06b6d4;
    animation: zenthPulse 1.5s ease-in-out infinite;
}

.hero-gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-dim-text {
    color: rgba(240, 240, 240, 0.25) !important;
}

.zenth-ghost-btn {
    border: 1px solid rgba(37,99,235,0.15) !important;
    background: transparent !important;
    color: rgba(240,244,255,0.65) !important;
    transition: all 0.3s ease !important;
}
.zenth-ghost-btn:hover {
    border-color: rgba(37,99,235,0.35) !important;
    background: rgba(37,99,235,0.06) !important;
    color: #f0f0f0 !important;
}

.zenth-float-card {
    background: rgba(14,14,24,0.85);
    border: 1px solid rgba(37,99,235,0.15);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 16px 20px;
    animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.zenth-metric-box {
    border-right: 1px solid rgba(37,99,235,0.15);
    padding: 32px 40px;
    transition: background 0.3s ease;
}
.zenth-metric-box:last-child { border-right: none; }
.zenth-metric-box:hover { background: rgba(37,99,235,0.04); }

.metric-gradient-num {
    background: linear-gradient(135deg, #f0f0f0, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ══════════════════════════════════════
   ZENTH — GLOBAL UTILITIES
   ══════════════════════════════════════ */
body { overflow-x: hidden; }
html { scroll-behavior: smooth; }
:target { scroll-margin-top: 80px; }

/* ══════════════════════════════════════
   ZENTH — RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
    .zenth-float-card { display: none; }
}
@media (max-width: 640px) {
    .zenth-metric-box { padding: 24px 20px; }
}
