html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
body {
    width: 100vw;
    height: 100vh;
    background: url('assets/fondo4.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
}
header {
    width: 100vw;
    height: 80px;
    background: rgba(30, 41, 59, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-sizing: border-box;
    position: relative;
}
.header-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.3);
}
.logo {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
}
nav {
    display: flex
;
    gap: 30px;
    align-items: center;
}
nav a {
    color: #ffffff70;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all ease .3s, background 0.2s;
}
nav a:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}
.contenido {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.card-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    max-width: 100%;
    position: relative;
}
.arrow {
    width: 48px;
    height: 48px;
    background: rgba(30,41,59,0.5);
    border: none;
    color: #fff;
    font-size: 2rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    margin: 0 16px;
    transition: background 0.2s;
}
.arrow:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.cards {
    display: flex
;
    gap: 0;
    width: 21%;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    position: relative;
}
.card {
    width: 200px;
    height: 280px;
    aspect-ratio: 63/88;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 2px 8px rgba(255,255,255,0.08) inset;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.7s cubic-bezier(.22,1,.36,1), box-shadow 0.5s cubic-bezier(.22,1,.36,1), filter 0.5s cubic-bezier(.22,1,.36,1);
    will-change: transform, box-shadow, filter;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.12);
    overflow: hidden;
}
.card img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    image-rendering: auto;
    backface-visibility: hidden;
}
.card .card-content {
    width: 100%;
    background: rgba(30,41,59,0.55);
    border-radius: 0 0 12px 12px;
    padding: 16px 10px 12px 10px;
    color: #fff;
    text-align: center;
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    transition: background 0.5s cubic-bezier(.22,1,.36,1), box-shadow 0.5s cubic-bezier(.22,1,.36,1);
}
.card-title {
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
    letter-spacing: 1px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.18);
}
.card-desc {
    font-size: 0.92rem;
    opacity: 0.85;
    text-shadow: 0 1px 4px rgba(0,0,0,0.12);
}
.card.active {
    box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 2px 8px rgba(255,255,255,0.10) inset, 0 0 18px 0 rgba(255,255,255,0.05);
    z-index: 2;
    border: 2.5px solid #fff;
    filter: drop-shadow(0 0 8px #fff3) brightness(1.04);
    animation: pulseCard 1.8s infinite alternate cubic-bezier(.22,1,.36,1);
}
.card:not(.active) {
    opacity: 0.7;
    z-index: 1;
    filter: blur(0.5px) grayscale(0.1) brightness(0.95);
}
@keyframes pulseCard {
    0% { box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 18px 0 rgba(255,255,255,0.05); }
    100% { box-shadow: 0 32px 80px rgba(0,0,0,0.65), 0 0 24px 0 rgba(255,255,255,0.09); }
}
a.logo img {
    width: 40px;
    top: 4px;
    position: relative;
}
.ver-mas-btn{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(80% + 173px);
    z-index: 10;
    width: 180px;
    padding: 16px 0px;
    font-size: 1.1rem;
    background: rgb(255 152 0 / 61%);
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 2px 8px;
    cursor: pointer;
    transition: background 0.2s;
}
.ver-mas-btn:hover {
    background: rgb(255 152 0 / 100%);
}
.index-titulo {
        position: absolute;
        top: 32px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        text-align: center;
        font-size: 2.3rem;
        font-weight: 700;
        color: #fff;
        text-shadow: 0 2px 16px #0007,0 1px 0 #ff9800;
        letter-spacing: 1px;
        pointer-events: none;
        z-index: 20;
        
    }