:root {
    --gold-primary: #ecac32;
    --gold-dark: #d49a2a;
    --navy-dark: #0f172a;
    --navy-light: #1e293b;
    --gray-text: #64748b;
    --bg-light: #f8fafc;
}
.highlight-gold {
    color: var(--gold-primary);
}

.hww-relative-z {
    position: relative;
    z-index: 5;
}
.hww-hero-creative {
    position: relative;
    padding: 10rem 0 8rem;
    background-color: var(--navy-dark);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hww-float-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    filter: blur(40px);
}

.hww-shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 172, 50, 0.15) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation: drift 15s ease-in-out infinite alternate;
}

.hww-shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 172, 50, 0.1) 0%, transparent 70%);
    bottom: -50px;
    right: -50px;
    animation: drift-reverse 20s ease-in-out infinite alternate;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}
@keyframes drift-reverse {
    0% { transform: translate(0, 0) scale(1.1); }
    100% { transform: translate(-50px, -50px) scale(1); }
}

.hww-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: var(--navy-dark);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    font-weight: 600;
}

.breadcrumb-item a:hover { color: var(--gold-primary); }
.breadcrumb-item.active { color: var(--gold-primary); font-weight: 600; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding-right: 0.75rem;
    color: #64748b;
}

.hww-badge-modern {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(236, 172, 50, 0.15);
    color: var(--gold-primary);
    border: 1px solid rgba(236, 172, 50, 0.3);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hww-title-modern {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gold-primary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hww-desc-modern {
    font-size: 1.15rem;
    color: var(--navy-dark);
    line-height: 1.8;
    margin: 0 auto;
    max-width: 90%;
    font-weight: 600;
}
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpAnim 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeUpAnim {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hww-timeline-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hww-timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.hww-glowing-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    background: rgba(236, 172, 50, 0.15);
    border-radius: 4px;
    z-index: 1;
}

.hww-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%; 
    background: linear-gradient(to bottom, var(--gold-primary), var(--gold-dark));
    box-shadow: 0 0 15px rgba(236, 172, 50, 0.6), 0 0 30px rgba(236, 172, 50, 0.3);
    border-radius: 4px;
    transition: height 0.1s ease-out;
}

.hww-step-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    z-index: 2;
}

.hww-step-wrapper:last-child {
    margin-bottom: 0;
}

.left-step {
    justify-content: flex-end;
}

.right-step {
    justify-content: flex-start;
}

.left-step .hww-glass-card {
    margin-right: 50%;
    transform-origin: right center;
    padding-right: 3rem;
}

.right-step .hww-glass-card {
    margin-left: 50%;
    transform-origin: left center;
    padding-left: 3rem;
}

.hww-timeline-node {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    border: 4px solid var(--gold-primary);
    z-index: 3;
    transition: all 0.4s ease;
    box-shadow: 0 0 0 0 rgba(236, 172, 50, 0);
}

.hww-step-wrapper:hover .hww-timeline-node {
    background: var(--gold-primary);
    box-shadow: 0 0 0 10px rgba(236, 172, 50, 0.2);
    transform: translate(-50%, -50%) scale(1.2);
}

.hww-glass-card {
    position: relative;
    width: 90%;
    max-width: 400px;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hww-glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(236, 172, 50, 0.12);
    border-color: rgba(236, 172, 50, 0.3);
}

.hww-watermark {
    position: absolute;
    top: -20px;
    left: 20px; 
    font-size: 8rem;
    font-weight: 900;
    color: rgba(236, 172, 50, 0.06);
    z-index: 0;
    line-height: 1;
    user-select: none;
    pointer-events: none;
    transition: all 0.4s ease;
}

.left-step .hww-watermark {
    left: auto;
    right: 20px;
}

.hww-glass-card:hover .hww-watermark {
    transform: scale(1.1);
    color: rgba(236, 172, 50, 0.1);
}

.hww-card-content {
    position: relative;
    z-index: 1;
}

.hww-icon-box {
    width: 60px;
    height: 60px;
    background: var(--navy-dark);
    color: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.4s ease;
}

.hww-icon-box::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--gold-primary), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hww-glass-card:hover .hww-icon-box {
    background: var(--gold-primary);
    transform: rotate(5deg) scale(1.05);
}

.hww-glass-card:hover .hww-icon-box::after {
    opacity: 1;
}

.hww-card-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 1rem;
}

.hww-card-content p {
    color: var(--gray-text);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

.fade-in-section {
    opacity: 0;
    transform: translateY(50px);
    visibility: hidden;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
    visibility: visible;
}

.hww-dynamic-cta {
    padding: 2rem 0 6rem;
    background-color: var(--bg-light);
}

.hww-cta-card {
    position: relative;
    background: var(--navy-dark);
    border-radius: 32px;
    padding: 5rem 3rem;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
}

.hww-cta-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(236, 172, 50, 0.15) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: ctaBreath 8s ease-in-out infinite alternate;
}

@keyframes ctaBreath {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.hww-cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.hww-cta-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 2;
}

.hww-cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.btn-modern-primary {
    background: var(--gold-primary);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
    border: none;
}

.btn-modern-primary i {
    transition: transform 0.3s;
}

.btn-modern-primary:hover {
    background: #fff;
    color: var(--navy-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(236, 172, 50, 0.3);
}

.btn-modern-primary:hover i {
    transform: translateX(-5px);
}

.btn-modern-whatsapp {
    background: #25d366;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
}

.btn-modern-whatsapp:hover {
    background: #1faf53;
    color: #fff;
    transform: translateY(-3px);
}

.pulse-effect {
    animation: pulseWhatsapp 2s infinite;
}

@keyframes pulseWhatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 991px) {
    .hww-title-modern {
        font-size: 2.8rem;
    }
    
    .hww-glass-card {
        padding: 2rem;
    }
    
    .hww-watermark {
        font-size: 6rem;
    }
}

@media (max-width: 768px) {
    .hww-glowing-line {
        left: 30px;
        transform: none;
    }
    
    .hww-timeline-node {
        left: 30px;
        transform: translate(-50%, -50%);
    }

    .hww-step-wrapper:hover .hww-timeline-node {
        transform: translate(-50%, -50%) scale(1.2);
    }
    
    .hww-step-wrapper {
        justify-content: flex-end;
    }
    
    .left-step .hww-glass-card, 
    .right-step .hww-glass-card {
        margin: 0 0 0 70px; 
        padding: 2rem;
        max-width: 100%;
        width: calc(100% - 70px);
    }
    
    html[dir="rtl"] .hww-glowing-line {
        left: auto;
        right: 30px;
    }
    
    html[dir="rtl"] .hww-timeline-node {
        left: auto;
        right: 30px;
        transform: translate(50%, -50%);
    }

    html[dir="rtl"] .hww-step-wrapper:hover .hww-timeline-node {
        transform: translate(50%, -50%) scale(1.2);
    }
    
    html[dir="rtl"] .left-step .hww-glass-card, 
    html[dir="rtl"] .right-step .hww-glass-card {
        margin: 0 70px 0 0; 
    }
    
    .hww-hero-creative {
        padding: 8rem 0 5rem;
    }
    
    .hww-title-modern {
        font-size: 2.2rem;
    }
    
    .hww-cta-title {
        font-size: 1.8rem;
    }
    
    .hww-cta-card {
        padding: 3rem 2rem;
    }
}