/**
 * Scrollytelling Block — Premium Light Redesign
 * GSAP ScrollTrigger powered, Awwwards / SaaS level
 */

/* ===== BLOCK WRAPPER ===== */
.scrolly-block {
    position: relative !important;
    background: #F8FAFC !important;
    /* Premium Soft White */
    color: #1A1A2E !important;
    /* Dark Navy for contrast */
    width: 100% !important;
    margin: 0 !important;
    padding: 0 0 12rem !important;
    overflow: visible !important;
    display: block !important;
}

/* Subtle noise texture */
.scrolly-block::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.03;
    /* Slightly more visible on light background */
    mix-blend-mode: multiply;
}

/* Hide blobs */
.scrolly-decor,
.scrolly-blob {
    display: none;
}

/* ===== CONTAINER ===== */
.scrolly-container {
    position: relative;
    width: 100%;
    max-width: 1300px !important;
    margin: 0 auto !important;
    padding: 0 3rem !important;
    z-index: 10;
}

/* ===== HEADER ===== */
.scrolly-header {
    text-align: left !important;
    padding: 8rem 0 6rem;
    position: relative;
    z-index: 2;
}

.scrolly-section-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    color: #1A1A2E !important;
    text-transform: uppercase !important;
    letter-spacing: -0.04em !important;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(40px);
}

.scrolly-section-title.is-revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scrolly-section-subtitle {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.125rem !important;
    line-height: 1.7 !important;
    color: rgba(26, 26, 46, 0.7) !important;
    max-width: 600px;
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
}

.scrolly-section-subtitle.is-revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease 0.15s, transform 0.8s ease 0.15s;
}

/* ===== STICKY WRAPPER ===== */
.scrolly-sticky {
    position: relative;
    top: auto;
    height: auto;
    display: block;
    overflow: visible;
}

.scrolly-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    width: 100%;
    align-items: flex-start;
}

/* ===== VISUAL COLUMN — STICKY ===== */
.scrolly-visual-col {
    position: -webkit-sticky;
    position: sticky;
    top: 15vh;
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.scrolly-media-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

.scrolly-media-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.scrolly-media-item:first-child {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.scrolly-media-item.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.scrolly-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Progressive overlay on image */
.scrolly-visual-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(135deg,
            rgba(236, 72, 153, 0.08) 0%,
            rgba(139, 92, 246, 0.05) 50%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.scrolly-media-item.is-active~.scrolly-visual-overlay,
.scrolly-visual-col.has-overlay .scrolly-visual-overlay {
    opacity: 1;
}

/* Corner accent */
.scrolly-media-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #EC4899, #8B5CF6, #3B82F6);
    z-index: 4;
}

/* ===== TEXT COLUMN — SCROLLING ===== */
.scrolly-text-col {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.scrolly-text-track {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ===== STEP CONTENT ===== */
.scrolly-step-content {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.2;
    transition: opacity 0.5s ease;
    padding: 4rem 0 4rem 3.5rem;
    border-left: 2px solid rgba(26, 26, 46, 0.08);
    position: relative;
    top: auto;
}

.scrolly-step-content.is-active {
    opacity: 1;
    border-left-color: #EC4899;
}

/* Active left glow */
.scrolly-step-content.is-active::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 20%;
    height: 60%;
    width: 3px;
    background: linear-gradient(180deg, transparent, #EC4899, transparent);
    border-radius: 3px;
}

/* ===== STEP NUMBER — LARGE 01/02/03 ===== */
.scrolly-step-info {
    position: relative;
}

.scrolly-step-number {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(5rem, 10vw, 8rem) !important;
    font-weight: 950 !important;
    line-height: 0.9 !important;
    color: transparent;
    -webkit-text-stroke: 1px rgba(26, 26, 46, 0.1);
    margin-bottom: 1.5rem;
    display: block;
    letter-spacing: -0.04em;
    transition: color 0.5s ease, -webkit-text-stroke 0.5s ease;
    user-select: none;
}

.scrolly-step-content.is-active .scrolly-step-number {
    -webkit-text-stroke: 0;
    color: rgba(236, 72, 153, 0.1);
}

/* ===== STEP TITLE ===== */
.scrolly-step-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
    font-weight: 900 !important;
    margin-bottom: 1.5rem;
    color: #1A1A2E !important;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* Keyword highlight */
.scrolly-step-title .keyword,
.scrolly-step-keyword {
    background: linear-gradient(135deg, #EC4899, #8B5CF6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== STEP TEXT ===== */
.scrolly-step-text {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.1rem !important;
    line-height: 1.75 !important;
    color: rgba(26, 26, 46, 0.7) !important;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

/* ===== STEP INDICATOR LINE ===== */
.scrolly-step-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 3.5rem;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(26, 26, 46, 0.06), transparent);
}

/* ===== CTA BUTTON ===== */
.scrolly-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.875rem 2rem;
    background: #1A1A2E;
    border: 1px solid transparent;
    border-radius: 999px;
    color: white !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    text-decoration: none;
    transition: all 0.35s ease;
    align-self: flex-start;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 20px rgba(26, 26, 46, 0.1);
}

.scrolly-btn::after {
    content: '→';
    transition: transform 0.3s ease;
}

.scrolly-btn:hover {
    background: linear-gradient(135deg, #EC4899, #8B5CF6);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(236, 72, 153, 0.3);
}

.scrolly-btn:hover::after {
    transform: translateX(4px);
}

/* ===== MOBILE MEDIA ===== */
.scrolly-mobile-media {
    display: none;
}

.scrolly-mobile-media img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .scrolly-block {
        padding-bottom: 0px !important;
    }

    .scrolly-grid {
        display: block;
        height: auto;
    }

    .scrolly-visual-col {
        display: none;
    }

    .scrolly-mobile-media {
        display: block;
    }

    .scrolly-step-content {
        min-height: auto;
        opacity: 1;
        margin-bottom: 4rem;
        border-left: none;
        padding-left: 0;
    }

    .scrolly-step-content::before,
    .scrolly-step-content::after {
        display: none;
    }

    .scrolly-step-number {
        font-size: clamp(3.5rem, 12vw, 5rem) !important;
        -webkit-text-stroke: 1px rgba(236, 72, 153, 0.3);
    }
}

@media (max-width: 768px) {
    .scrolly-container {
        padding: 0 1.5rem !important;
    }
    

    .scrolly-header {
        padding: 0px !important;
    }

    .scrolly-section-title {
        font-size: 2.25rem !important;
    }

    .scrolly-step-title {
        font-size: 1.75rem !important;
    }
}


.lista-check p {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
}

/* círculo */
.lista-check p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  background: #22c55e;
  border-radius: 50%;
}

/* check */
.lista-check p::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}