/* ===== REVISION SPECIALIST — v2 moderno, fondo blanco, más profundidad ===== */
.revision-specialist-section {
    position: relative;
    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");
    padding: 120px 0;
    font-family: 'Inter', -apple-system, sans-serif;
    color: #0a1a35;
    overflow: hidden;
    isolation: isolate;
}

/* ── fondo: blobs suaves + grid técnico, sin romper el blanco ── */
.rv-bg-fx {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.rv-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.16;
    will-change: transform;
}

.rv-blob--1 {
    width: 480px;
    height: 480px;
    top: -160px;
    right: -120px;
    background: radial-gradient(circle, #2d4f95 0%, transparent 70%);
    animation: rvFloat1 24s ease-in-out infinite;
}

.rv-blob--2 {
    width: 380px;
    height: 380px;
    bottom: -140px;
    left: -100px;
    background: radial-gradient(circle, #b4935a 0%, transparent 70%);
    animation: rvFloat2 28s ease-in-out infinite;
}

@keyframes rvFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-40px, 30px) scale(1.1);
    }
}

@keyframes rvFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.08);
    }
}

.rv-grid-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background-image:
        linear-gradient(rgba(45, 79, 149, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 79, 149, 0.035) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%);
}

.revision-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

/* ── grid maestro ── */
.revision-split-body {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.revision-left-master-column {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.revision-header {
    margin-bottom: 0;
}

.revision-overline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #b4935a;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.rv-overline-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d01341;
    box-shadow: 0 0 0 4px rgba(208, 19, 65, 0.15);
    animation: rvPulse 2.4s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes rvPulse {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(208, 19, 65, 0.15);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(208, 19, 65, 0.04);
    }
}

.revision-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(25px, 2.5vw, 40px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
    color: #0a1a35;
    overflow: hidden;
}

/* cada palabra se revela con clip-path, controlado vía JS al entrar en viewport */
.rv-word {
    display: inline-block;
    clip-path: inset(0 0 100% 0);
    transform: translateY(100%);
    opacity: 0;
    transition: clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.revision-title.is-revealed .rv-word {
    clip-path: inset(0 0 0% 0);
    transform: translateY(0);
    opacity: 1;
}

.rv-word--accent {
    color: #d01341;
    font-style: italic;
}

.revision-accent-line {
    width: 64px;
    height: 2px;
    background: rgba(180, 147, 90, 0.2);
    overflow: hidden;
}

.revision-accent-line span {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #d01341, #b4935a);
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.revision-fade-element.is-visible .revision-accent-line span {
    width: 100%;
}

/* ── ESTADÍSTICA GIGANTE ── */
.rv-stat-block {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
    border-top: 1px solid rgba(10, 26, 53, 0.08);
    border-bottom: 1px solid rgba(10, 26, 53, 0.08);
}

.rv-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(56px, 6vw, 84px);
    font-weight: 700;
    line-height: 1;
    color: #0a1a35;
    display: flex;
    align-items: flex-start;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.rv-stat-suffix {
    font-size: 0.4em;
    margin-top: 6px;
    color: #d01341;
    font-weight: 600;
}

.rv-stat-label {
    font-size: 13px;
    line-height: 1.55;
    color: #64748b;
    font-weight: 500;
    max-width: 180px;
}

/* ── LOGO CARD con tilt + shine ── */
.revision-logo-column {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.revision-logo-wrapper {
    position: relative;
    width: 340px;
    height: 135px;
    background: linear-gradient(160deg, #1a2744 0%, #1a2744 60%, #0a1020 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 26px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow:
        0 20px 45px rgba(10, 26, 53, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.revision-logo-wrapper:hover {
    box-shadow: 0 34px 70px rgba(10, 26, 53, 0.25);
}

.rv-logo-shine {
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
    transform: skewX(-20deg);
    pointer-events: none;
    transition: left 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.revision-logo-wrapper:hover .rv-logo-shine {
    left: 130%;
}

.revision-brand-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

/* ── COLUMNA DE TEXTO ── */
.revision-content {
    position: relative;
    max-width: 780px;
    text-align: justify;
    margin-top: 90px;
}

.rv-quote-mark {
    position: absolute;
    top: -50px;
    left: -12px;
    font-family: 'Playfair Display', serif;
    font-size: 110px;
    line-height: 1;
    color: rgba(45, 79, 149, 0.08);
    pointer-events: none;
    user-select: none;
}

.rv-text-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--rv-delay, 0ms), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--rv-delay, 0ms);
}

.revision-content.is-visible .rv-text-reveal {
    opacity: 1;
    transform: translateY(0);
}

.revision-text {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 30px;
}

.revision-text:last-child {
    margin-bottom: 0;
}

.revision-text strong {
    color: #0a1a35;
    font-weight: 700;
    position: relative;
    background: linear-gradient(to right, rgba(19, 107, 208, 0.2), rgba(19, 88, 208, 0.2));
    background-repeat: no-repeat;
    background-size: 0% 100%;
    background-position: left bottom;
    transition: background-size 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
    padding: 0 2px;
}

.revision-content.is-visible .revision-text strong {
    background-size: 100% 100%;
}

/* ── util genérico de fade (compatibilidad con tu JS anterior) ── */
.revision-fade-element {
    opacity: 0;
    transform: translateY(40px);
    will-change: opacity, transform;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.revision-fade-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .revision-split-body {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .revision-content {
        margin-top: 0;
        max-width: 100%;
    }

    .rv-quote-mark {
        top: -40px;
    }
}

@media (max-width: 768px) {
    .revision-specialist-section {
        padding: 70px 0;
    }

    .revision-container {
        padding: 0 24px;
    }

    .revision-title {
        font-size: 32px;
    }

    .rv-stat-block {
        gap: 18px;
        padding: 22px 0;
    }

    .rv-stat-number {
        font-size: 56px;
    }

    .rv-stat-label {
        font-size: 12px;
        max-width: 150px;
    }

    .revision-logo-wrapper {
        width: 100%;
        max-width: 300px;
        height: 120px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .rv-blob,
    .rv-overline-dot {
        animation: none;
    }

    .rv-word {
        clip-path: inset(0);
        transform: none;
        opacity: 1;
        transition: none;
    }

    .revision-fade-element,
    .rv-text-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}