/* LABELS SECTION - "THE KINETIC SCROLL" */
/* Concept: The organic flow of a continuous roll. Flexibility, adaptability, and motion. */

.labels-section {
    position: relative;
    padding: 180px 0 150px;
    background-color: #0c0c14;
    /* Slightly lighter deep blue/charcoal */
    color: #fff;
    z-index: 9;
    overflow: hidden;
    margin-top: -100px;
    /* Extraordinary Separation: "The Liquid Wave" */
    /* A smooth, organic curve that contrasts with the previous sharp polygon */
    clip-path: ellipse(150% 100% at 50% 100%);
    /* This creates a convex curve at the top if applied to the previous, but here we need to shape the top of THIS section.
       Actually, `clip-path` cuts *in*. To make a wave *top*, we usually shape the section. 
       Let's try a complex wave path. 
    */
    clip-path: path("M0,100 C300,0 800,200 1200,50 L1600,0 L1600,100% L0,100% Z");
    /* Note: path is tricky with responsiveness. Let's stick to a robust SVGM-like polygon or curve via border-radius or simpler polygon for safety, 
       BUT the user wants "Extraordinary". Let's use a skewed wave shape. */
    clip-path: polygon(0 150px, 100% 0, 100% 100%, 0 100%);
    /* Refining the separation to be more "Magnificent" - A double slope */
}

/* Redefining the separation with pseudo-elements for a multi-layered "peel" effect */
.labels-section::before {
    content: '';
    position: absolute;
    top: -100px;
    /* Pull up */
    left: 0;
    width: 100%;
    height: 300px;
    background: #FF00E6;
    /* Magenta Peel */
    transform: skewY(-3deg);
    z-index: -1;
    opacity: 0.1;
    pointer-events: none;
}

/* Background Texture: Dot Pattern (Halftones) */
.labels-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.05;
    pointer-events: none;
}

.labels-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* CONTENT SIDE (Right this time?) -> Let's alternate. Digital was Left-Text, Right-Img. 
   So Labels will be Left-Img, Right-Text. */

/* VISUAL SIDE (Left) - "The Floating Rolls" */
.labels-visuals {
    flex: 1;
    position: relative;
    height: 600px;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.label-showcase {
    position: relative;
    width: 450px;
    height: 550px;
    transform-style: preserve-3d;
    animation: floatingLabel 6s ease-in-out infinite;
}

@keyframes floatingLabel {

    0%,
    100% {
        transform: translateY(0) rotateX(5deg) rotateY(-5deg);
    }

    50% {
        transform: translateY(-20px) rotateX(10deg) rotateY(5deg);
    }
}

.label-img-card {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    background: #fff;
    padding: 10px;
    transition: all 0.5s ease;
}

.card-main {
    width: 380px;
    height: 480px;
    top: 0;
    left: 0;
    z-index: 5;
    transform: translateZ(50px);
}

.card-secondary {
    width: 300px;
    height: 350px;
    bottom: -30px;
    right: -40px;
    z-index: 6;
    transform: translateZ(80px);
    border: 4px solid var(--color-magenta);
}

.label-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Decoration Ring */
.deco-ring {
    position: absolute;
    width: 600px;
    height: 600px;
    border: 2px dashed rgba(255, 0, 230, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spinRing 20s linear infinite;
    z-index: 0;
}

@keyframes spinRing {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}


/* CONTENT SIDE (Right) */
.labels-content {
    flex: 1;
    padding-left: 0;
}

.labels-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #FF00E6;
    /* Magenta */
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
    border: 1px solid #FF00E6;
    padding: 5px 15px;
    border-radius: 20px;
}

.labels-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 30px;
}

.labels-title span {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
}

.labels-desc-box {
    background: linear-gradient(90deg, rgba(255, 0, 230, 0.1), transparent);
    border-left: 4px solid #FF00E6;
    padding: 20px;
    margin-bottom: 30px;
}

.labels-desc {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Features Grid (Minimo, Entrega) */
.key-features {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.kf-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.kf-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 0, 230, 0.15);
    border-color: #FF00E6;
}

.kf-icon {
    font-size: 1.5rem;
    color: #FF00E6;
    margin-bottom: 10px;
}

.kf-text {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    display: block;
}

.kf-sub {
    font-size: 0.85rem;
    color: #aaa;
    display: block;
    margin-top: 5px;
}

/* Specs Lists (Acabados, Sustratos) */
.specs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.spec-group h4 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 5px;
}

.spec-group h4 i {
    color: #FF00E6;
    margin-right: 8px;
}

.spec-list {
    list-style: none;
    padding: 0;
}

.spec-list li {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.spec-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #FF00E6;
    font-weight: bold;
    font-size: 0.8rem;
    top: 2px;
}

/* Responsive */
@media (max-width: 1024px) {
    .labels-container {
        flex-direction: column-reverse;
        /* Stack visual on top on mobile? No, text top usually better or visual. Let's stack visual bottom. */
    }

    .labels-visuals {
        height: 400px;
        width: 100%;
    }

    .labels-title {
        font-size: 2.5rem;
    }

    .key-features {
        flex-direction: column;
    }
}