/* ============================================
   HERO PREMIUM
   Estudio Jurídico Giusta 2025
   ============================================ */

.hero-premium {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: calc(80px + var(--space-8)) 0 var(--space-12);
}

/* === BACKGROUND LAYERS === */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--navy-primary) 0%,
        var(--navy-medium) 50%,
        var(--navy-light) 100%
    );
    opacity: 0.5;
    z-index: 2;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(247, 184, 199, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(247, 184, 199, 0.08) 0%, transparent 50%);
    z-index: 3;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 1;
}

/* === CONTENT GRID === */
.hero-content-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: flex-start;
    max-width: 800px;
    margin: 0;
    text-align: left;
}

/* === TEXT COLUMN === */
.hero-text-col {
    color: var(--white);
}

/* Badge Premium */
.hero-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(247, 184, 199, 0.2);
    border: 2px solid var(--gold-primary);
    border-radius: var(--radius-full);
    color: var(--gold-primary);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin-bottom: var(--space-6);
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s var(--ease-premium);
}

.badge-icon {
    width: 20px;
    height: 20px;
}

/* Título Premium */
.hero-title-premium {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: var(--font-extrabold);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-6);
    letter-spacing: var(--tracking-tight);
    animation: fadeInUp 0.8s var(--ease-premium) 0.2s backwards;
    color: var(--white);
}

.hero-title-premium .title-line-1,
.hero-title-premium .title-line-2,
.hero-title-premium .title-line-3 {
    display: block;
    color: var(--white);
}

.title-highlight {
    color: var(--gold-primary);
    position: relative;
    display: inline-block;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    right: 0;
    height: 0.15em;
    background: var(--gold-primary);
    opacity: 0.3;
    border-radius: var(--radius-sm);
}

/* Subtítulo */
.hero-subtitle-premium {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: var(--leading-relaxed);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-8);
    max-width: 600px;
    animation: fadeInUp 0.8s var(--ease-premium) 0.4s backwards;
}

.hero-subtitle-premium strong {
    color: var(--gold-light);
    font-weight: var(--font-semibold);
}

/* === CTAs === */
.hero-ctas {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s var(--ease-premium) 0.6s backwards;
}

.btn-hero-whatsapp,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-xl);
    font-weight: var(--font-semibold);
    font-size: var(--text-base);
    text-decoration: none;
    transition: all var(--duration-300) var(--ease-premium);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-hero-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    box-shadow: var(--shadow-lg), 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-hero-whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), 0 15px 40px rgba(37, 211, 102, 0.4);
    color: var(--white);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--gold-primary);
    color: var(--white);
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.btn-text strong {
    font-size: var(--text-base);
    display: block;
}

.btn-text small {
    font-size: var(--text-xs);
    font-weight: var(--font-regular);
    opacity: 0.9;
}

/* === TRUST BAR === */
.hero-trust-bar {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s var(--ease-premium) 0.8s backwards;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-icon {
    color: var(--gold-primary);
    flex-shrink: 0;
    font-size: var(--text-2xl);
}

.trust-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--white);
}

.trust-text strong {
    font-size: var(--text-base);
    font-weight: var(--font-bold);
}

.trust-text span {
    font-size: var(--text-xs);
    opacity: 0.9;
}

/* === IMAGE COLUMN === */
.hero-image-col {
    position: relative;
    animation: scaleIn 1s var(--ease-premium) 0.4s backwards;
}

.hero-image-wrapper-premium {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--gold-primary);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    z-index: 0;
}

.hero-main-image {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    z-index: 1;
}

/* Badges Flotantes */
.floating-experience-badge {
    position: absolute;
    bottom: var(--space-6);
    right: var(--space-6);
    background: var(--gold-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    box-shadow: var(--shadow-gold);
    animation: float 3s ease-in-out infinite;
    z-index: 2;
    min-width: 140px;
}

.badge-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.badge-number-large {
    font-size: var(--text-4xl);
    font-weight: var(--font-extrabold);
    color: var(--white);
    line-height: 1;
    margin-bottom: var(--space-1);
}

.badge-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-number {
    font-size: var(--text-3xl);
    font-weight: var(--font-extrabold);
    color: var(--white);
    line-height: 1;
}

.badge-label {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--white);
    line-height: 1;
}

.badge-subtitle {
    font-size: var(--text-sm);
    color: var(--white);
    opacity: 0.9;
    line-height: 1.2;
    margin-top: var(--space-1);
}

.floating-stats-card {
    position: absolute;
    top: var(--space-6);
    left: var(--space-6);
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4);
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out 1.5s infinite;
    z-index: 2;
}

.stat-item-mini {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number-mini {
    font-size: var(--text-base);
    color: var(--gold-primary);
}

.stat-label-mini {
    font-size: var(--text-xs);
    color: var(--gray-600);
    font-weight: var(--font-medium);
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255, 255, 255, 0.7);
    animation: fadeIn 1s ease 1.5s backwards;
    z-index: 10;
}

.scroll-text {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
}

.scroll-arrow {
    animation: bounce 2s ease infinite;
}

.scroll-arrow svg {
    color: var(--gold-primary);
}

/* === ANIMATIONS === */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .hero-image-col {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-premium {
        min-height: auto;
        padding: calc(70px + var(--space-6)) 0 var(--space-8);
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .btn-hero-whatsapp,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-trust-bar {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .floating-experience-badge {
        bottom: var(--space-4);
        right: var(--space-4);
        padding: var(--space-3);
    }
    
    .badge-number {
        font-size: var(--text-2xl);
    }
}

@media (max-width: 480px) {
    .hero-title-premium {
        font-size: 2rem;
    }
    
    .hero-badge-premium {
        font-size: 0.7rem;
        padding: var(--space-1-5) var(--space-3);
    }
}

/* ============================================
   SERVICES HERO PREMIUM
   ============================================ */

.services-hero-premium {
    position: relative;
    padding: calc(80px + var(--space-20)) 0 var(--space-20);
    background: var(--navy-primary);
    color: var(--white);
    text-align: center;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.services-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-medium) 100%);
}

.services-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(247, 184, 199, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(247, 184, 199, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(247, 184, 199, 0.08) 0%, transparent 50%);
}

.services-hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
}

.services-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background: rgba(247, 184, 199, 0.15);
    border: 1px solid rgba(247, 184, 199, 0.3);
    border-radius: var(--radius-full);
    color: var(--gold-primary);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin-bottom: var(--space-6);
    backdrop-filter: blur(10px);
}

.services-badge-premium .badge-icon {
    color: var(--gold-primary);
}

.services-hero-title-premium {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: var(--font-extrabold);
    line-height: 1.1;
    margin-bottom: var(--space-6);
    color: var(--white);
}

.services-hero-title-premium .text-gold {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-hero-subtitle-premium {
    font-size: var(--text-xl);
    line-height: 1.6;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto var(--space-8);
    color: rgba(255, 255, 255, 0.95);
}

.services-hero-subtitle-premium strong {
    color: var(--gold-primary);
    font-weight: var(--font-semibold);
}

.services-hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    margin-top: var(--space-8);
}

/* ============================================
   CTA PREMIUM SECTION
   ============================================ */

.cta-premium {
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-medium) 100%);
    color: var(--white);
    padding: var(--space-20) 0;
    position: relative;
    overflow: hidden;
}

.cta-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(247, 184, 199, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(247, 184, 199, 0.08) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-extrabold);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.cta-subtitle {
    font-size: var(--text-xl);
    opacity: 0.9;
    margin-bottom: var(--space-8);
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-xl);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    text-decoration: none;
    transition: all var(--duration-300) var(--ease-premium);
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left var(--duration-500) var(--ease-premium);
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-premium.btn-primary {
    background: var(--gold-primary);
    color: var(--white);
    border: 2px solid var(--gold-primary);
}

.btn-premium.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 184, 199, 0.4);
}

.btn-premium.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-premium.btn-secondary:hover {
    background: var(--white);
    color: var(--navy-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-premium svg {
    flex-shrink: 0;
}

/* Responsive para Services y CTA */
@media (max-width: 768px) {
    .services-hero-stats {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-premium {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}



