/* Reset and Base Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: inherit;
    color: #333;
    overflow-x: hidden;
    background-color: #f9f9f9;
}

/* Header */
.header {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: -0.5px;
    color: #111;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-family: inherit;
    font-weight: 400;
    font-size: 100%;
    margin: 0 1.2rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #777;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: #333;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Hero Section */
.hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.hero-content {
    text-align: center;
    z-index: 3;
}

.hero-text {
    margin-bottom: 4rem;
}

.subtitle {
    display: block;
    font-family: inherit;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #555;
    margin-bottom: 0.5rem;
}

.title {
    font-family: inherit;
    font-weight: 700;
    font-size: 5.5rem;
    letter-spacing: -1.5px;
    color: #e5e0e0;
    line-height: 1;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #777;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.arrow-down {
    width: 16px;
    height: 16px;
    border-right: 2px solid #777;
    border-bottom: 2px solid #777;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(5px) rotate(45deg);
    }
    60% {
        transform: translateY(3px) rotate(45deg);
    }
}

/* Imagen que se animará */
.fullscreen-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.fullscreen-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.2);
    opacity: 0;
    filter: brightness(0.9);
}

/* Contenido principal */
.main-content {
    position: relative;
    z-index: 10;
    background-color: #fff;
    padding: 6rem 2rem;
    margin-top: 100vh;
}

.content-section {
    max-width: 800px;
    margin: 0 auto;
}

.content-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #111;
}

.content-section p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #444;
}

.placeholder-content {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    background-color: #111;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .title {
        font-size: 4rem;
    }
}
    /* Mobile open state for nav */
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background-color: rgba(255, 255, 255, 0.98);
        padding: 1rem 2rem 2rem 2rem;
        gap: 0.6rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        z-index: 99;
    }

    .nav-links.open .nav-link {
        margin: 0.6rem 0;
        padding: 0.4rem 0.2rem;
        font-size: 1.05rem;
    }

@media (max-width: 768px) {
    .navbar {
        padding: 1.2rem 1.5rem;
    }
    
    .title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 0.8rem;
    }
    
    .main-content {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2.5rem;
    }
    
    .hero-text {
        margin-bottom: 3rem;
    }
}

/*Main*/
/* Estilos para la nueva sección */
.real-deal-section {
    padding: 8rem 2rem 6rem;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    letter-spacing: -0.5px;
    color: #111;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: #555;
    margin-bottom: 4rem;
}

/* Figura animada */
.animated-figure {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    position: relative;
    height: 200px;
}

.figure-shape {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #4a6fa5 0%, #2c3e50 100%);
    border-radius: 20% 80% 80% 20% / 20% 20% 80% 80%;
    transform: rotate(45deg);
    box-shadow: 0 10px 30px rgba(44, 62, 80, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

/* Grid de contenido */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.content-left {
    padding-right: 2rem;
}

/* Título rotativo */
.rotating-title-container {
    margin-bottom: 4rem;
    height: 60px;
    position: relative;
    overflow: hidden;
}

.rotating-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    color: #111;
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
}

.rotating-title.active {
    opacity: 1;
    transform: translateY(0);
}

/* Contenido 3D DESIGN */
.design-content {
    margin-top: 2rem;
}

.design-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.design-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}

/* Contenido derecho */
.content-right {
    padding-left: 2rem;
}

.section-with-hr {
    margin-bottom: 3rem;
}

.divider {
    border: none;
    height: 1px;
    background-color: #e0e0e0;
    margin-bottom: 2rem;
}

.item-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: #111;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.item-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* Sección de contenido de ejemplo */
.content-section {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.placeholder-content {
    max-width: 800px;
    margin: 0 auto;
}

.placeholder-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #111;
}

.placeholder-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #444;
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    background-color: #111;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
}

/* Responsive */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .content-left, .content-right {
        padding: 0;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .real-deal-section {
        padding: 6rem 1.5rem 4rem;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .rotating-title {
        font-size: 2.2rem;
    }
    
    .design-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .rotating-title {
        font-size: 1.8rem;
    }
    
    .animated-figure {
        height: 150px;
    }
    
    .figure-shape {
        width: 90px;
        height: 90px;
    }
}

/*Frases*/
/* Estilos para la sección Denim Hub */
.denim-hub-section {
    padding: 11rem 2rem 10rem;
    background-color: #0a0a0a;
    color: #fff;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.hub-container {
    max-width: 1800px;
    margin: 0 auto;
    border-radius: 20px;
}

/* Frase principal */
.main-phrase {
    margin-bottom: 8rem;
}

.phrase-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    gap: 1.5rem;
}

.phrase-word {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 4.5rem;
    letter-spacing: -1px;
    color: #fff;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.bold-word {
    font-weight: 800;
    color: #f8f8f8;
    position: relative;
}

/* Contenedores para palabras con imágenes */
.word-with-image {
    display: inline-flex;
    align-items: center;
    position: relative;
    margin: 0 1rem;
}

.word-with-language {
    display: inline-flex;
    align-items: center;
    position: relative;
    margin: 0 1rem;
}

.community-word {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    position: relative;
    width: 100%;
}

/* Imágenes interactivas */
.interactive-image {
    position: absolute;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.interactive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.8rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.interactive-image:hover .image-overlay {
    transform: translateY(0);
}

/* Tamaños y posiciones específicas para cada imagen */
.image-small {
    width: 180px;
    height: 120px;
    top: -130px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
}

.image-medium {
    width: 220px;
    height: 150px;
    top: -160px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
}

.image-left {
    width: 160px;
    height: 110px;
    top: 50%;
    right: calc(100% + 2rem);
    transform: translateY(-50%) scale(0.8);
}

.image-right {
    width: 160px;
    height: 110px;
    top: 50%;
    left: calc(100% + 2rem);
    transform: translateY(-50%) scale(0.8);
}

/* Estado activo (hover) */
.interactive-image.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.interactive-image.active img {
    transform: scale(1.1);
}

/* Contenido del hub */
.hub-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.content-left {
    padding-right: 2rem;
}

.content-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.content-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 2rem;
}

.hub-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background-color: #fff;
    color: #0a0a0a;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hub-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.hub-button i {
    transition: transform 0.3s ease;
}

.hub-button:hover i {
    transform: translateX(5px);
}

/* Estadísticas */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #aaa;
    letter-spacing: 0.5px;
}

/* Sección de separación */
.spacer-section {
    padding: 6rem 2rem;
    background-color: #111;
    text-align: center;
}

.spacer-content {
    max-width: 800px;
    margin: 0 auto;
}

.spacer-content p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.8rem;
    color: #fff;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1200px) {
    .phrase-word {
        font-size: 3.8rem;
    }
    
    .image-small {
        width: 150px;
        height: 100px;
        top: -110px;
    }
    
    .image-medium {
        width: 180px;
        height: 120px;
        top: -130px;
    }
}

@media (max-width: 992px) {
    .phrase-word {
        font-size: 3rem;
    }
    
    .hub-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .content-left {
        padding-right: 0;
    }
    
    .community-word {
        gap: 1.5rem;
    }
    
    .image-left, .image-right {
        width: 120px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .denim-hub-section {
        padding: 8rem 1.5rem 6rem;
    }
    
    .phrase-word {
        font-size: 2.2rem;
    }
    
    .phrase-line {
        margin-bottom: 2rem;
        gap: 1rem;
    }
    
    .content-title {
        font-size: 1.8rem;
    }
    
    .image-small, .image-medium {
        display: none; /* Ocultamos imágenes en móvil para mejor legibilidad */
    }
    
    .community-word {
        flex-direction: column;
        gap: 1rem;
    }
    
    .image-left, .image-right {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        margin: 1rem 0;
        width: 200px;
        height: 140px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .phrase-word {
        font-size: 1.8rem;
    }
    
    .spacer-content p {
        font-size: 1.4rem;
    }
}

/*Fin Frases*/

/*Section_SFI_2*/
/* Estilos para la sección Capsules */
.capsules-section {
    padding: 8rem 2rem 6rem;
    background-color: #f8f8f8;
    position: relative;
    overflow: hidden;
}

.capsules-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Encabezado */
.capsules-header {
    text-align: center;
    margin-bottom: 6rem;
}

.capsules-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    letter-spacing: -1px;
    color: #111;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.capsules-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #555;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Botón con línea */
.capsules-button-container {
    display: inline-flex;
    justify-content: center;
    margin-top: 1rem;
}

.capsules-button {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 2rem;
    background-color: transparent;
    color: #111;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.button-line {
    width: 60px;
    height: 2px;
    background-color: #111;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.button-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #4a6fa5;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.capsules-button:hover .button-line {
    width: 30px;
}

.capsules-button:hover .button-line::before {
    transform: translateX(0);
}

.capsules-button:hover {
    color: #4a6fa5;
}

/* Slider */
.capsules-slider {
    margin-top: 4rem;
}

.slider-container {
    position: relative;
    overflow: hidden;
}

.slides {
    position: relative;
    min-height: 600px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Layout del slide dividido */
.slide-left, .slide-right {
    flex: 1;
    padding: 2rem;
}

.slide-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-right {
    display: flex;
    align-items: center;
}

/* Contenedor de imágenes con líneas divisoria */
.images-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    gap: 1rem;
}

.image-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
    height: 400px;
    position: relative;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.image-wrapper:hover .slide-image {
    transform: scale(1.05);
}

/* Líneas divisorias entre imágenes */
.divider-line {
    width: 2px;
    height: 300px;
    background-color: #e0e0e0;
    position: relative;
    overflow: hidden;
}

.line-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #111;
    transform: translateY(-100%);
    transition: transform 0.5s ease;
}

.slide.active .line-fill {
    transform: translateY(0);
    transition-delay: 0.3s;
}

/* Contenido del lado derecho */
.slide-content {
    max-width: 500px;
}

.slide-number {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #4a6fa5;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.slide-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #111;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.slide-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2.5rem;
}

.slide-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature i {
    color: #4a6fa5;
    font-size: 1.2rem;
    width: 24px;
}

.feature span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: #333;
}

/* Indicadores del slide */
.slide-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #111;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.indicator.active::before {
    transform: scale(1);
}

.indicator.active {
    background-color: transparent;
}

/* Animación para el cambio automático del indicador */
.indicator.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #111;
    animation: countdown 3.3s linear infinite;
}

@keyframes countdown {
    0% {
        clip-path: inset(0 0 0 0);
    }
    100% {
        clip-path: inset(0 0 0 100%);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .slide {
        flex-direction: column;
        gap: 3rem;
    }
    
    .slide-left, .slide-right {
        width: 100%;
    }
    
    .images-container {
        max-width: 100%;
    }
    
    .image-wrapper {
        height: 300px;
    }
    
    .divider-line {
        height: 200px;
    }
}

@media (max-width: 992px) {
    .capsules-title {
        font-size: 2.8rem;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .images-container {
        gap: 0.5rem;
    }
    
    .image-wrapper {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .capsules-section {
        padding: 6rem 1.5rem 4rem;
    }
    
    .capsules-title {
        font-size: 2.2rem;
    }
    
    .capsules-description {
        font-size: 1.1rem;
    }
    
    .capsules-button {
        font-size: 1rem;
    }
    
    .images-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .image-wrapper {
        width: 100%;
        height: 200px;
    }
    
    .divider-line {
        width: 100%;
        height: 2px;
    }
    
    .slide-left, .slide-right {
        padding: 1rem;
    }
    
    .slide-features {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .capsules-title {
        font-size: 1.8rem;
    }
    
    .slide-title {
        font-size: 1.6rem;
    }
    
    .slide-text {
        font-size: 1rem;
    }
    
    .feature span {
        font-size: 0.9rem;
    }
}

/*Fin Section_SFI_2*/

/*Section_SFI_3*/
/* Estilos para la sección Market & Trend */
.market-trend-section {
    padding: 8rem 2rem;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.market-trend-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Título con efectos especiales */
.title-container {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-main-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 5rem;
    color: #111;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    line-height: 1.1;
    position: relative;
}

/* Efecto especial para "Market" - Cubo 3D */
.market-word {
    display: inline-block;
    position: relative;
    color: #111;
    transform-style: preserve-3d;
    perspective: 1000px;
    z-index: 2;
}

.market-word::before {
    content: 'Market';
    position: absolute;
    top: 0;
    left: 0;
    color: rgba(74, 111, 165, 0.2);
    transform: translateZ(-20px) rotateX(15deg);
    z-index: -1;
}

.market-word::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #4a6fa5, #2c3e50);
    transform: rotateX(75deg) translateZ(-10px);
    z-index: -1;
    border-radius: 2px;
}

/* Ampersand */
.ampersand {
    font-weight: 400;
    color: #777;
    font-size: 4rem;
}

/* Efecto especial para "Trend" - Subrayado animado */
.trend-word {
    display: inline-block;
    position: relative;
    color: #111;
    z-index: 2;
}

.trend-word::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: #ff6b6b;
    z-index: -1;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.trend-word.active::after {
    transform: scaleX(1);
}

/* Digital */
.digital-word {
    color: #2c3e50;
    font-weight: 700;
    position: relative;
}

.digital-word::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    width: 4px;
    height: 70%;
    background-color: #4a6fa5;
    transform: translateY(-50%);
    border-radius: 2px;
}

/* Descripción */
.description-container {
    max-width: 800px;
    margin: 0 auto 6rem;
    text-align: center;
}

.section-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #555;
}

/* Contenido dividido */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Lado izquierdo */
.left-side {
    position: relative;
}

.image-container {
    position: relative;
    margin-bottom: 3rem;
}

.image-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.image-frame:hover .main-image {
    transform: scale(1.05);
}

.image-overlay-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(74, 111, 165, 0.1), rgba(44, 62, 80, 0.05));
    pointer-events: none;
}

/* Efectos de cubo alrededor de la imagen */
.cube-effect {
    position: absolute;
    background: linear-gradient(135deg, #4a6fa5, #2c3e50);
    border-radius: 4px;
    transform-style: preserve-3d;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

.cube-1 {
    width: 40px;
    height: 40px;
    top: -20px;
    left: -20px;
    animation-delay: 0s;
}

.cube-2 {
    width: 30px;
    height: 30px;
    bottom: 40px;
    right: -15px;
    animation-delay: 2s;
}

.cube-3 {
    width: 25px;
    height: 25px;
    top: 50%;
    right: 30px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Estadísticas */
.stats-container {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    flex: 1;
    padding: 1.5rem 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background-color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #666;
    letter-spacing: 0.5px;
}

/* Lado derecho */
.features-list {
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.feature-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4a6fa5, #2c3e50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: white;
    font-size: 1.5rem;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: #111;
    margin-bottom: 0.8rem;
}

.feature-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* CTA */
.cta-container {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #4a6fa5;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.2rem 2rem;
    background-color: #2c3e50;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.cta-button:hover {
    background-color: #4a6fa5;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 111, 165, 0.2);
}

.button-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

.cta-note {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #777;
    text-align: center;
}

/* Elemento decorativo */
.decorative-element {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 6rem;
    gap: 1rem;
}

.decorative-line {
    height: 1px;
    background-color: #e0e0e0;
    flex: 1;
    max-width: 200px;
}

.decorative-dot {
    width: 8px;
    height: 8px;
    background-color: #4a6fa5;
    border-radius: 50%;
}

/* Sección de separación */
.spacer-section.light {
    background-color: #f8f9fa;
}

.spacer-section.light p {
    color: #555;
}

/* Responsive */
@media (max-width: 1200px) {
    .section-main-title {
        font-size: 4rem;
    }
    
    .ampersand {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .content-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .section-main-title {
        font-size: 3.5rem;
    }
    
    .main-image {
        height: 400px;
    }
    
    .stats-container {
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .market-trend-section {
        padding: 6rem 1.5rem;
    }
    
    .section-main-title {
        font-size: 2.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .ampersand {
        font-size: 2.5rem;
    }
    
    .section-description {
        font-size: 1.1rem;
    }
    
    .main-image {
        height: 300px;
    }
    
    .stat-item {
        flex: 0 0 100%;
    }
    
    .feature-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .feature-icon {
        margin: 0 auto;
    }
    
    .cube-effect {
        display: none; /* Ocultamos cubos en móviles */
    }
}

@media (max-width: 480px) {
    .section-main-title {
        font-size: 2.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
}