/* ==========================================================================
   HOME AGENCY
   Estilos específicos para las nuevas secciones del Home estilo agencia.
   ========================================================================== */

/* Hero Redesign */
.hero-agency-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--dz-brand-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: var(--dz-space-lg);
}

.hero-agency-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--dz-brand-primary);
    border-radius: 50%;
    animation: agencyPulse 2s infinite;
}

@keyframes agencyPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-agency-title {
    font-family: var(--dz-font-heading);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--dz-space-lg);
}

.hero-agency-title .outline {
    -webkit-text-stroke: 1px var(--dz-text-muted);
    color: transparent;
}

@media (max-width: 768px) {
    .hero-agency-title .outline {
        -webkit-text-stroke: 0;
        color: var(--dz-text-muted);
    }
}

.hero-agency-sub {
    font-size: 1.1rem;
    color: var(--dz-text-secondary);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: var(--dz-space-xl);
}

/* Dayzel Experience Bar */
.experience-bar {
    background: var(--dz-bg-dark);
    border-top: 1px solid var(--dz-border);
    border-bottom: 1px solid var(--dz-border);
    padding: var(--dz-space-lg) 0;
    overflow: hidden;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--dz-space-md);
    text-align: center;
}

@media (max-width: 768px) {
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--dz-space-lg);
    }
}

.experience-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--dz-space-sm);
}

.experience-icon {
    font-size: 1.8rem;
    color: var(--dz-brand-primary);
}

.experience-label {
    font-family: var(--dz-font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dz-text-primary);
}

/* Stats Section */
.agency-stats-section {
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.05) 0%, var(--dz-bg) 70%);
    border-top: 1px solid var(--dz-border);
    border-bottom: 1px solid var(--dz-border);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: var(--dz-space-2xl) 0;
}

.stat-item {
    text-align: center;
    padding: var(--dz-space-xl) var(--dz-space-md);
    border-right: 1px solid var(--dz-border);
}

.stat-item:last-child {
    border-right: none;
}

@media (max-width: 768px) {
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item {
        border-bottom: 1px solid var(--dz-border);
        padding: var(--dz-space-lg) var(--dz-space-sm);
    }
    .stat-item:nth-child(even) {
        border-right: none;
    }
    .stat-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
    .stat-num {
        font-size: 2rem !important; /* Smaller text for mobile */
    }
    .stat-label {
        font-size: 0.75rem !important;
    }
}



.stat-num {
    font-family: var(--dz-font-heading);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 900;
    color: var(--dz-brand-primary);
    line-height: 1;
    margin-bottom: var(--dz-space-xs);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dz-text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* Team Section */
.agency-team-card {
    position: relative;
    border-radius: var(--dz-radius-md);
    overflow: hidden;
    border: 1px solid var(--dz-border);
    background: var(--dz-bg-dark);
}

.agency-team-img-wrap {
    width: 100%;
    aspect-ratio: 4/5;
    position: relative;
    overflow: hidden;
}

.agency-team-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%) contrast(120%);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.agency-team-card:hover .agency-team-img-wrap img {
    filter: grayscale(0%) contrast(100%);
    transform: scale(1.05);
}

.agency-team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 11, 16, 0.95) 0%, rgba(8, 11, 16, 0.4) 40%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.agency-team-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--dz-space-lg);
    z-index: 2;
    text-align: center;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.agency-team-card:hover .agency-team-content {
    transform: translateY(0);
}

.agency-team-name {
    font-size: 1.3rem;
    font-weight: 800;
    font-family: var(--dz-font-heading);
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 4px;
}

.agency-team-role {
    font-size: 0.8rem;
    color: var(--dz-brand-primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.15em;
}
