/* ── REPUTATION SECTION ─────────────────────────────────── */
.rep-section {
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%232d4f95' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.rep-container {
    max-width: 1300px;
    margin: 0 auto;
}

/* HEADLINE */
.rep-headline-block {
    text-align: right;
    margin-block: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease 0.1s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}

.rep-headline-block.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.rep-headline {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 300;
    line-height: 1.25;
    color: #000000;
    margin: 0;
    letter-spacing: -0.02em;
    font-family: 'Playfair Display', serif;
}

.rep-headline em {
    font-style: italic;
    color: #b4935a;
}

/* GRID ASIMÉTRICO */
.rep-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    align-items: start;
}

/* BASE CARD */
.rep-card {
    border-radius: 6px;
    padding: 48px 48px 40px;
    position: relative;
    overflow: hidden;

    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.rep-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* shimmer */
.rep-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent 40%,
            rgba(255, 255, 255, 0.04) 50%,
            transparent 60%);
    transform: skewX(-15deg);
    pointer-events: none;
}

.rep-card.is-visible::before {
    animation: repShimmer 1s ease 0.3s forwards;
}

@keyframes repShimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 150%;
    }
}

/* línea superior */
.rep-card-top-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            var(--cicove-red, #d1173c) 0%,
            rgba(209, 23, 60, 0.3) 100%);
}

.rep-card-top-line--gold {
    background: linear-gradient(90deg,
            rgba(180, 147, 90, 0.8) 0%,
            transparent 100%);
}

/* CARD ROJA */
.rep-card--red {
    background: linear-gradient(145deg, #b01030 0%, #7a0a22 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

/* CARD AZUL */
.rep-card--blue {
    background: linear-gradient(145deg, #090a10 0%, #0a1c3e 100%);
    border: 1px solid rgba(180, 147, 90, 0.15);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    transition-delay: 0.15s;
}

/* HEADER */
.rep-award-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}


.rep-rank-medallion {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #ffca45;
    margin-bottom: 20px;
}

.rep-rank-num {
    font-size: 22px;
    font-weight: 900;
    color: #000000;
    line-height: 1;
}

.rep-rank-sub {
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #000000;
    margin-top: 2px;
}

.rep-meta-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.rep-meta-gold {
    color: #ffca45;
}

.rep-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.01em;
}

.rep-card-title em {
    font-style: italic;
    color: #b4935a;
}

.rep-card-body {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 36px;
}

.rep-card-body strong {
    color: #fff;
    font-weight: 600;
}

/* PLATAFORMAS */
.rep-platforms {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 28px;
}

.rep-platform-row {
    display: grid;
    grid-template-columns: 120px 100px 1fr;
    align-items: center;
    gap: 16px;
}

.rep-platform-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 48px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 14px;
    box-sizing: border-box;
}

.rep-platform-logo img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.rep-platform-score {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rep-score-value {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.rep-score-stars {
    font-size: 10px;
    color: #ffca45;
}

.rep-score-count {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.rep-score-bar-wrap {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.rep-score-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
    border-radius: 2px;
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.rep-card.is-visible .rep-score-bar {
    width: var(--bar-width);
}

/* CARD PEQUEÑA — AWARD */
.rep-award-logo-wrap {
    flex: 1;
    display: flex;
    align-items: center;
}

.rep-award-logo {
    height: 82px;
    width: auto;
    object-fit: contain;
}

.rep-award-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(180, 147, 90, 0.35);
    border-radius: 6px;
    padding: 12px 20px;

    gap: 3px;
    flex-shrink: 0;
}

.rep-award-year {
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

.rep-award-stars {
    font-size: 9px;
    color: #ffca45;
    letter-spacing: 2px;
}

.rep-award-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    line-height: 1.4;
}

El logo queda a la izquierda ocupando el espacio disponible y el badge del award queda fijo a la derecha — los dos en la misma línea horizontal.

/* SPLIT RECONOCIMIENTO */
.rep-recognition-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 24px;
}

.rep-recog-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(180, 147, 90, 0.7);
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.rep-recog-text {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* FOOTER CICOVE */
.rep-cicove-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.rep-cicove-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    opacity: 0.6;
    filter: brightness(0) invert(1);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .rep-grid {
        grid-template-columns: 1fr;
    }

    .rep-card--blue {
        transition-delay: 0s;
    }
}

@media (max-width: 768px) {
    .rep-section {
        padding: 60px 24px;
    }

    .rep-card {
        padding: 32px 28px;
    }

    .rep-platform-row {
        grid-template-columns: 100px 80px 1fr;
        gap: 10px;
    }
}