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

/* Hero Redesign */
.hero-agency-section {
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--dz-bg);
    overflow: hidden;
    border-bottom: 1px solid var(--dz-border);
    padding: 36px 0 32px 0;
}

.hero-agency-content {
    max-width: 850px;
    border-left: 3px solid var(--dz-brand-primary);
    padding-left: var(--dz-space-xl);
}

.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-md);
}

.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: 12px;
}

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

.hero-agency-subtitle {
    display: block;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    letter-spacing: 0.15em;
    color: var(--dz-brand-primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 6px;
    font-family: var(--dz-font-body);
}

.hero-agency-h2 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    color: #FFF;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 14px;
    line-height: 1.2;
}

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

@media (max-width: 1024px) {
    .hero-agency-section {
        min-height: auto !important;
        padding: 24px 0 20px 0 !important;
    }

    .hero-agency-content {
        padding-left: 18px !important;
    }

    .hero-agency-title {
        font-size: clamp(2.2rem, 5vw, 3.6rem) !important;
        margin-bottom: 8px !important;
    }

    .hero-agency-h2 {
        font-size: 1.25rem !important;
        margin-bottom: 10px !important;
    }

    .hero-agency-sub {
        font-size: 0.95rem !important;
        margin-bottom: 18px !important;
    }

    .hero-agency-badge {
        margin-bottom: 10px !important;
    }
}

@media (max-width: 768px) {
    .hero-agency-section {
        min-height: auto !important;
        display: block !important;
        padding: 14px 0 16px 0 !important;
    }

    .hero-agency-content {
        padding-left: 12px !important;
        border-left-width: 2px !important;
    }

    .hero-agency-badge {
        margin-bottom: 8px !important;
        font-size: 0.68rem !important;
        padding: 4px 10px !important;
    }

    .hero-agency-title {
        font-size: clamp(1.9rem, 7.5vw, 2.7rem) !important;
        line-height: 1.05 !important;
        margin-bottom: 6px !important;
    }

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

    .hero-agency-subtitle {
        font-size: 0.78rem !important;
        letter-spacing: 0.08em !important;
        margin-top: 4px !important;
    }

    .hero-agency-h2 {
        font-size: 1.05rem !important;
        line-height: 1.25 !important;
        margin-bottom: 8px !important;
    }

    .hero-agency-sub {
        font-size: 0.88rem !important;
        line-height: 1.4 !important;
        margin-bottom: 14px !important;
    }

    .hero-agency-actions {
        gap: 8px !important;
    }

    .hero-agency-btn {
        padding: 0 20px !important;
        font-size: 13px !important;
        height: 38px !important;
        line-height: 38px !important;
    }

    .agency-section-header {
        margin-bottom: 18px !important;
    }
}

/* 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;
}
