/* ===== PREMIUM DESIGN SYSTEM V2 ===== */
:root {
    --primary-color: #95c11f;
    --secondary-color: #ffffff;
    --accent-gold: #95c11f;
    --accent-teal: #95c11f;
    --accent-gold-light: #e8f5d0;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-light: #f8f9fa;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
    letter-spacing: -0.01em;
    font-weight: 400;
}

/* ===== WELCOME OVERLAY (ANIMACIÓN DE BIENVENIDA) ===== */
.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #95c11f;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.welcome-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.welcome-content {
    text-align: center;
    padding: 40px;
    max-width: 800px;
    animation: welcomeSlideUp 1s ease-out;
}

.welcome-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.welcome-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.welcome-loader {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.5s ease-out 0.9s forwards;
}

.welcome-loader::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: #95c11f;
    animation: loaderProgress 3s ease-out forwards;
    box-shadow: 0 0 20px var(--accent-gold);
}

@keyframes welcomeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes loaderProgress {
    to { width: 100%; }
}

/* ===== FULLSCREEN VIDEO SECTION ===== */
.fullscreen-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #000000;
    overflow: hidden;
}

.video-fullscreen-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-fullscreen-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Progress Bar (debajo del video) */
.video-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: #95c11f;
    transition: width 0.3s ease;
    box-shadow: 0 0 20px rgba(149, 193, 31, 0.6);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(149, 193, 31, 0.8);
}

/* ===== GIFT WIDGET (WIDGET FLOTANTE ANIMADO) ===== */
.gift-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.gift-widget.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: all;
}

.gift-widget-content {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
    text-align: center;
    max-width: 320px;
    border: 2px solid rgba(149, 193, 31, 0.2);
    position: relative;
    overflow: hidden;
}

.gift-widget-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(149, 193, 31, 0.1) 0%, transparent 70%);
    animation: rotateBg 10s linear infinite;
}

@keyframes rotateBg {
    to { transform: rotate(360deg); }
}

.gift-icon-animated {
    font-size: 64px;
    margin-bottom: 16px;
    animation: giftBounce 2s ease-in-out infinite;
    display: inline-block;
    position: relative;
    z-index: 1;
}

@keyframes giftBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(-5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.gift-widget-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.gift-widget-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.gift-widget-btn {
    display: inline-block;
    background: #95c11f;
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(149, 193, 31, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.gift-widget-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.gift-widget-btn:hover::before {
    width: 300px;
    height: 300px;
}

.gift-widget-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(149, 193, 31, 0.6);
}

/* ===== TIMELINE SECTION ===== */
.timeline-section {
    background: #ffffff;
    padding: 1px 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 80px;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #95c11f;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    padding-left: 80px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
    padding-right: 80px;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #95c11f;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(149, 193, 31, 0.4);
    z-index: 10;
}

.timeline-content {
    width: calc(50% - 40px);
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-image {
    width: 100%;
    height: 220px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.timeline-content:hover .timeline-image img {
    transform: scale(1.1);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== FINAL CTA ===== */
.final-cta {
    margin-top: 100px;
    margin-bottom: 0;
    text-align: center;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.final-cta.aos-animate {
    opacity: 1;
    transform: scale(1);
}

.cta-content {
    background: white;
    padding: 60px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid rgba(149, 193, 31, 0.1);
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.cta-content > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn.primary {
    background: #95c11f;
    color: white;
    box-shadow: 0 4px 20px rgba(149, 193, 31, 0.4);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(149, 193, 31, 0.6);
}

.cta-btn.secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--accent-gold);
    box-shadow: var(--shadow-sm);
}

.cta-btn.secondary:hover {
    background: var(--accent-gold);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .welcome-overlay {
        padding: 20px;
    }

    .welcome-title {
        font-size: 2rem;
    }

    .welcome-subtitle {
        font-size: 1rem;
    }

    .gift-widget {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }

    .gift-widget-content {
        max-width: 100%;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-marker {
        left: 30px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
        padding-left: 0;
        padding-right: 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }

    .timeline-section {
        padding: 60px 20px;
    }

    .section-subtitle {
        margin-bottom: 40px;
    }
}

/* ===== NOTIFICACIONES (mantener del diseño anterior) ===== */
.notifications-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
}

/* ===== AOS ANIMATION LIBRARY (básico) ===== */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.95);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ===== GIFT WIDGET CLOSE BUTTON ===== */
.gift-widget-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.gift-widget-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
}

/* ===== HORIZONTAL TIMELINE (Anteproyecto) ===== */
.timeline-horizontal {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 60px 0;
    position: relative;
    flex-wrap: wrap;
}

.timeline-step {
    flex: 1;
    min-width: 250px;
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    text-align: center;
}

.timeline-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.timeline-step h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.timeline-step p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
}

.timeline-step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #95c11f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

/* ===== PLANNING SECTION ===== */
.planning-section {
    background: #f8f9fa;
    padding: 80px 20px;
    margin: 60px 0;
    border-radius: 20px;
}

.planning-section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 50px;
    font-weight: 800;
}

.planning-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.planning-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 3px;
    background: #95c11f;
    z-index: 0;
}

.planning-step {
    flex: 1;
    min-width: 150px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.planning-step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.planning-step:hover .planning-step-number {
    transform: scale(1.15);
    background: var(--primary-color);
    color: white;
}

.planning-step h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.planning-step p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 80px 20px;
    background: white;
}

.features-section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 60px;
    font-weight: 800;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-align: center;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #95c11f 0%, #7ba518 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(149, 193, 31, 0.3);
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 1rem;
}

.feature-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.feature-link:hover {
    border-bottom-color: var(--primary-color);
    transform: translateX(5px);
}

/* ===== SINGLE CTA BUTTON ===== */
.cta-btn-single {
    display: inline-block;
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    background: #95c11f;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
    letter-spacing: 1px;
}

.cta-btn-single:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    background: #7da919;
}

.cta-btn-single:active {
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 992px) {
    .timeline-horizontal {
        flex-direction: column;
        gap: 40px;
    }
    
    .planning-timeline {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .planning-timeline::before {
        width: 3px;
        height: 100%;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        background: #95c11f;
    }
    
    .planning-step {
        min-width: 100%;
        max-width: 400px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .timeline-step {
        min-width: 100%;
    }
    
    .planning-section {
        padding: 60px 15px;
    }
    
    .features-section {
        padding: 60px 15px;
    }
    
    .features-grid {
        /* Mobile: horizontal gallery with snap */
        display: flex;
        gap: 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
        padding-inline: 9%; /* center first/last card so it appears centered */
    }
    
    .feature-card {
        padding: 30px 20px;
        flex: 0 0 82%;
        min-width: 82%;
        scroll-snap-align: center;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
    }
    
    .cta-btn-single {
        padding: 18px 40px;
        font-size: 1.1rem;
        width: 100%;
        max-width: 400px;
    }

    /* Pagination dots for mobile features gallery */
    .features-dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 14px;
    }

    .features-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(0,0,0,0.12);
        border: none;
        padding: 0;
        cursor: pointer;
        transition: transform 0.2s ease, background 0.2s ease;
    }

    .features-dot.active {
        background: var(--primary-color);
        transform: scale(1.15);
    }
}

/* ===== ESTILOS ADICIONALES PARA TIMELINE HORIZONTAL ===== */
.step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background: #95c11f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.step-image {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.timeline-step:hover .step-image img {
    transform: scale(1.1);
}

.timeline-step h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
}

/* ===== PLANNING ICON ===== */
.planning-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.planning-connector {
    display: none;
}

/* ===== SECTION SUBTITLE ===== */
.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 40px;
    opacity: 0.8;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    text-align: center;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow {
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 8px;
}

.scroll-text {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===== SERVICE TABS (PROPUESTA COMERCIAL) ===== */
.service-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 50px 0;
    flex-wrap: wrap;
}

.service-tab {
    padding: 12px 32px;
    background: transparent;
    border: 2px solid rgba(149, 193, 31, 0.3);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.service-tab:hover {
    border-color: rgba(149, 193, 31, 0.6);
    transform: translateY(-2px);
}

.service-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(149, 193, 31, 0.3);
}

/* ===== SERVICE CONTENT ===== */
.service-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.service-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== HORIZONTAL TIMELINE STEPS ===== */
.timeline-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    margin: 50px auto;
    max-width: 1200px;
    position: relative;
    padding: 0 40px;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    flex: 1;
    min-width: 0;
}

.timeline-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(149, 193, 31, 0.2);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.timeline-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 35px rgba(149, 193, 31, 0.35);
    border-width: 4px;
}

.timeline-icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.timeline-step .timeline-line {
    position: absolute;
    top: 45px;
    left: calc(50% + 45px);
    right: calc(-50% + 45px);
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, rgba(149, 193, 31, 0.3) 100%);
    z-index: 1;
}

.timeline-step:last-child .timeline-line {
    display: none;
}

.timeline-step h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

/* ===== RESPONSIVE TIMELINE ===== */
@media (max-width: 992px) {
    .timeline-steps {
        flex-wrap: wrap;
        gap: 40px 20px;
    }

    .timeline-step {
        flex: 0 0 calc(33.333% - 14px);
        min-width: 120px;
    }

    .timeline-step .timeline-line {
        display: none;
    }

    .timeline-icon {
        width: 80px;
        height: 80px;
    }

    .timeline-step h4 {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .service-tabs {
        gap: 12px;
    }

    .service-tab {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    .timeline-steps {
        flex-direction: column;
        padding: 0 20px;
        gap: 30px;
    }

    .timeline-step {
        flex: none;
        width: 100%;
    }

    .timeline-icon {
        width: 70px;
        height: 70px;
    }

    .timeline-step h4 {
        font-size: 0.95rem;
    }

    /* Ajuste del hero/video en móvil para mostrar contenido debajo */
    .fullscreen-video-section {
        height: 90vh;
    }
}

/* ===== PROCESS BUTTONS ===== */
.process-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 60px 0;
    flex-wrap: wrap;
}

.process-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px 50px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(149, 193, 31, 0.1);
    min-width: 220px;
}

.process-btn:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(149, 193, 31, 0.25);
}

.btn-icon {
    font-size: 2.5rem;
}

.btn-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.4s ease;
}

.process-btn:hover .btn-text {
    color: white;
}

/* ===== MODAL STYLES ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: block;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 1200px;
    position: relative;
    animation: slideDown 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
}

/* ===== RESPONSIVE MODAL ===== */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 30px 20px;
        margin: 10% auto;
    }
    
    .modal-title {
        font-size: 1.8rem;
    }
    
    .process-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .process-btn {
        min-width: 100%;
        max-width: 350px;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
}

/* ===== PREMIUM SECTION STYLING ===== */
section {
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #7fa119);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(149, 193, 31, 0.3);
}

/* ===== TOUR 360 SECTION ===== */
.tour360-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 20px;
    position: relative;
}

.tour360-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%2395c11f;stop-opacity:0.03"/><stop offset="100%" style="stop-color:%2395c11f;stop-opacity:0"/></linearGradient></defs><circle cx="200" cy="150" r="120" fill="url(%23grad1)"/><circle cx="1000" cy="600" r="150" fill="url(%23grad1)"/><circle cx="600" cy="300" r="80" fill="url(%23grad1)"/></svg>');
    background-size: cover;
    opacity: 0.5;
    pointer-events: none;
}

.tour360-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    aspect-ratio: 16 / 9;
    background: #000;
}

.tour360-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.tour360-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85), rgba(149, 193, 31, 0.75));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: opacity 0.4s ease;
}

.tour360-play-btn {
    background: white;
    border: none;
    padding: 30px 50px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.tour360-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(149, 193, 31, 0.4);
}

.play-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.play-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ===== DECORATIVE VECTORS ===== */
.timeline-section::before,
.features-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(149, 193, 31, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.timeline-section::before {
    top: -100px;
    right: -100px;
}

.features-section::before {
    bottom: -100px;
    left: -100px;
}

.features-section {
    background: #ffffff;
    padding: 40px 20px; /* reducido para disminuir espacio con la sección anterior */
    margin: 0;
}

.timeline-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    padding: 20px 20px; /* padding reducido para acercar la siguiente sección */
    margin: 0;
}

/* ===== CTA SECTION PREMIUM ===== */
.cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 100px 20px;
    position: relative;
    margin: 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,200 Q300,150 600,200 T1200,200 L1200,600 L0,600 Z" fill="%2395c11f" opacity="0.05"/></svg>');
    background-size: cover;
    background-position: bottom;
}

@media (max-width: 768px) {
    .tour360-play-btn {
        padding: 20px 35px;
    }
    
    .play-text {
        font-size: 1rem;
    }
    
    .play-icon {
        font-size: 1.5rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .tour360-section,
    .features-section,
    .timeline-section,
    .cta-section {
        padding: 60px 20px;
    }
}

