/* =========================================
   SECCIÓN CÓDIGO DE VESTIMENTA
========================================= */

.vestimenta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.75), transparent 30%), radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.65), transparent 30%), linear-gradient(135deg, #edf5ed, #f9f3e9, #e8f3ef);
}


/* Encabezado */

.vestimenta-header {
    max-width: 700px;
    margin: 0 auto 55px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.vestimenta-section.visible .vestimenta-header {
    opacity: 1;
    transform: translateY(0);
}

.vestimenta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--dorado);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.vestimenta-title {
    color: #174b3e;
    font-family: 'Nunito', sans-serif;
    font-size: clamp(2.3rem, 5vw, 3.7rem);
    font-weight: 800;
    margin-bottom: 15px;
}

.vestimenta-title span {
    color: var(--dorado);
}

.vestimenta-subtitle {
    color: #64756c;
    font-size: 1.05rem;
    line-height: 1.8;
}


/* Tarjeta principal */

.vestimenta-card {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: 65px 45px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(190, 157, 91, 0.45);
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(24, 70, 55, 0.12);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease 0.2s, transform 1s ease 0.2s;
}

.vestimenta-section.visible .vestimenta-card {
    opacity: 1;
    transform: translateY(0);
}

.vestimenta-card::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(190, 157, 91, 0.25);
    border-radius: 5px;
    pointer-events: none;
}

.vestimenta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.vestimenta-icon {
    width: 75px;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #edf5ed;
    border: 1px solid rgba(190, 157, 91, 0.5);
    color: var(--dorado);
    font-size: 2rem;
}

.vestimenta-label {
    display: block;
    color: #8c9b91;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.vestimenta-content h3 {
    color: #174b3e;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 15px;
}

.vestimenta-description {
    max-width: 500px;
    margin: 0 auto;
    color: #718078;
    line-height: 1.8;
}


/* Separador */

.vestimenta-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 35px 0;
    color: var(--dorado);
}

.vestimenta-divider span {
    width: 75px;
    height: 1px;
    background: rgba(190, 157, 91, 0.5);
}


/* Colores reservados */

.vestimenta-colors h4 {
    color: #174b3e;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.vestimenta-colors>p {
    color: #718078;
    margin-bottom: 25px;
}

.vestimenta-color-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.vestimenta-color-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #52645a;
    font-size: 0.95rem;
}

.color-circle {
    width: 25px;
    height: 25px;
    display: inline-block;
    border-radius: 50%;
    border: 3px solid white;
    outline: 1px solid rgba(0, 0, 0, 0.12);
}

.color-emerald {
    background: #08785e;
}

.color-pink {
    background: #e8a9b8;
}


/* Nota final */

.vestimenta-note {
    margin-top: 40px;
    padding: 17px;
    background: #f8f4eb;
    border-radius: 5px;
    color: #8c7650;
    font-size: 0.9rem;
    line-height: 1.7;
}

.vestimenta-note i {
    margin-right: 7px;
    color: #c68c91;
}


/* Decoraciones */

.vestimenta-decoration {
    position: absolute;
    color: rgba(190, 157, 91, 0.25);
    font-size: 3rem;
}

.vestimenta-decoration-top {
    top: 20px;
    left: 25px;
}

.vestimenta-decoration-bottom {
    right: 25px;
    bottom: 20px;
}


/* Firma */

.vestimenta-footer {
    margin-top: 45px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.5s, transform 0.8s ease 0.5s;
}

.vestimenta-section.visible .vestimenta-footer {
    opacity: 1;
    transform: translateY(0);
}

.vestimenta-footer span {
    color: #7b8a80;
    font-size: 0.95rem;
}

.vestimenta-footer h3 {
    margin-top: 5px;
    color: var(--dorado);
    font-size: 2.2rem;
    font-weight: 800;
}


/* Responsive */

@media (max-width: 576px) {
    .vestimenta-section {
        padding: 75px 0;
    }
    .vestimenta-card {
        padding: 55px 25px;
    }
    .vestimenta-decoration {
        font-size: 2rem;
    }
    .vestimenta-decoration-top {
        left: 18px;
        top: 18px;
    }
    .vestimenta-decoration-bottom {
        right: 18px;
        bottom: 18px;
    }
    .vestimenta-color-list {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .vestimenta-note {
        font-size: 0.85rem;
    }
}


/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {
    .vestimenta-header,
    .vestimenta-card,
    .vestimenta-footer {
        opacity: 1;
        transform: none;
        transition: none;
    }
}