@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;500;700&family=Inter:wght@300;400&display=swap');

:root {
    --accent: #00e5ff;
    --dark: #0f172a;
    --light: #f8fafc;
}

.swiper {
    width: 100%;
    height: 100vh;
    background: var(--dark);
}

/* Tratamiento de Imagen estilo Photoshop */
.image-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Imagen sutil de fondo */
    filter: grayscale(20%) brightness(0.8);
}

/* Layout de Contenido */
.content-container {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 8%;
}

.text-wrapper {
    max-width: 600px;
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 40px;
}

/* Tipografía "Modern Wide" Controlada */
.category-tag {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.main-title {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--light);
    font-size: clamp(2rem, 5vw, 3.5rem); /* Tamaño fluido pero elegante */
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -1px;
}

.description {
    font-family: 'Inter', sans-serif;
    color: rgba(248, 250, 252, 0.7);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 25px 0 40px 0;
    font-weight: 300;
}

/* Botón Minimalista con Hover Animado */
.btn-minimal {
    display: inline-flex;
    align-items: center;
    color: var(--light);
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    gap: 15px;
    transition: all 0.3s ease;
}

.btn-minimal svg {
    width: 20px;
    stroke: var(--accent);
    stroke-width: 2;
    fill: none;
    transition: transform 0.3s ease;
}

.btn-minimal:hover {
    color: var(--accent);
}

.btn-minimal:hover svg {
    transform: translateX(10px);
}

/* Paginación Vertical de alta gama */
.swiper-pagination {
    left: auto !important;
    right: 40px !important;
    width: auto !important;
}

.swiper-pagination-bullet {
    width: 3px;
    height: 20px;
    border-radius: 0;
    background: rgba(255,255,255,0.3);
    opacity: 1;
    margin: 10px 0 !important;
    transition: all 0.4s;
}

.swiper-pagination-bullet-active {
    background: var(--accent);
    height: 40px;
}

/* --- MEJORA DE LEGIBILIDAD --- */
.image-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--dark); /* Evita destellos blancos en la transición */
}

.image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Degradado logarítmico: más oscuro donde está el texto, transparente al final */
    background: linear-gradient(90deg, 
        rgba(15, 23, 42, 0.95) 0%, 
		rgba(15, 23, 42, 0.85) 20%, 
        rgba(15, 23, 42, 0.66) 55%, 
        rgba(15, 23, 42, 0.3) 70%);
    z-index: 1;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Eliminamos la opacidad de la imagen aquí para evitar el conflicto en la transición */
    display: block;
}

/* --- FIX DE TRANSICIÓN --- */
.swiper-slide {
    background: var(--dark); /* Base sólida para que el fade no se transparente */
    opacity: 0 !important; /* Forzamos que los slides inactivos sean invisibles */
    transition-property: opacity;
}

.swiper-slide-active {
    opacity: 1 !important;
}

.image-wrapper img {
    filter: brightness(1.9) contrast(1.1); /* Mejora el impacto visual */
}
/*.image-wrapper img { filter: blur(1px); }*/


@media (max-width: 1068px) {
	.image-wrapper::after {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		/* Degradado logarítmico: más oscuro donde está el texto, transparente al final */
		background: linear-gradient(90deg, 
        rgba(15, 23, 42, 0.85) 0%, 
		rgba(15, 23, 42, 0.75) 20%, 
        rgba(15, 23, 42, 0.76) 55%, 
        rgba(15, 23, 42, 0.73) 70%);
		z-index: 1;
	}
}