/* ==============================
   FUENTES
================================ */
@font-face { font-family: 'Helvetica'; src: local('Helvetica Light'); font-weight: 300; }
@font-face { font-family: 'Helvetica'; src: local('Helvetica'); font-weight: 400; }
@font-face { font-family: 'Helvetica Bold'; src: local('Helvetica Bold'); font-weight: 700; }

/* ==============================
   SECCIÓN PRINCIPAL
================================ */
.rf-final-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Helvetica', Arial, sans-serif;
}

.rf-title-main {
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 40px;
    border-left: 6px solid #2b3e88;
    padding-left: 15px;
}

/* ==============================
   GRID PRINCIPAL
================================ */
.rf-main-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 50px;
    margin-bottom: 50px;
    align-items: stretch;
}

.rf-info-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.rf-info-list p {
    width: 100%;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.rf-info-list b {
    font-weight: 700;
    display: block;
    font-size: 17px;
    margin-top: 5px;
}

.rf-info-list i {
    font-style: italic;
    color: #555;
    font-size: 14px;
    display: block;
}

/* ==============================
   BOTÓN WHATSAPP 3D
================================ */
.whatsapp-link {
    text-decoration: none;
    display: inline-flex;
    margin-top: 10px;
    margin-bottom: 20px;
}

.custom-btn {
    cursor: pointer;
    border: none;
    background: transparent !important;
    padding: 0;
}

.whats-btn i {
    color: white !important;
    font-size: 24px !important;
    font-style: normal !important;
    transform: none !important;
    display: inline-block;
}

.whats-btn.btn-12 {
    width: 240px;
    height: 55px;
    position: relative;
    perspective: 500px;
}

.whats-btn.btn-12 span {
    background: #235ECB;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    font-size: 14px;
    transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: 50% 50% -27.5px;
    backface-visibility: hidden;
}

.whats-btn i {
    color: white !important;
    font-size: 20px !important;
    margin-right: 10px;
}

.whats-btn.btn-12 span:nth-child(1) {
    transform: rotateX(90deg);
}

.whats-btn.btn-12 span:nth-child(2) {
    transform: rotateX(0deg);
}

.whats-btn.btn-12:hover span:nth-child(1) {
    transform: rotateX(0deg);
}

.whats-btn.btn-12:hover span:nth-child(2) {
    transform: rotateX(-90deg);
}

/* ==============================
   MOSAICO
================================ */
.rf-mosaic-box {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 120px);
    gap: 12px;
}

.rf-mosaic-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
    border: 1px solid #eee;
}

.rf-img-1 {
    grid-column: 1 / 4;
    grid-row: 1 / 3;
    object-position: center top;
}

.rf-img-2 {
    grid-column: 4 / 7;
    grid-row: 1 / 2;
}

.rf-img-3 {
    grid-column: 4 / 7;
    grid-row: 2 / 5;
}

.rf-img-4 {
    grid-column: 1 / 4;
    grid-row: 3 / 5;
    object-position: center top;
}

/* ==============================
   ACORDEONES
================================ */
.rf-hover-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 60px;
}

.rf-hover-item {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.rf-hover-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #f9f9f9;
}

.rf-hover-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    border-left: 4px solid #2b3e88;
    padding-left: 12px;
}

.rf-hover-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
}

.rf-hover-content img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

.rf-hover-item:hover .rf-hover-content {
    max-height: 500px;
}

.rf-icon-plus {
    font-size: 24px;
    transition: transform 0.4s;
    font-weight: 300;
}

.rf-hover-item:hover .rf-icon-plus {
    transform: rotate(45deg);
}

/* ==============================
   ANIMACIONES SCROLL
================================ */
.rf-hover-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, border 0.2s ease, background 0.2s ease;
}

.rf-hover-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.rf-hover-item:nth-child(1) { transition-delay: 0s; }
.rf-hover-item:nth-child(2) { transition-delay: 0.12s; }
.rf-hover-item:nth-child(3) { transition-delay: 0.24s; }

.rf-info-list p {
    opacity: 0;
    transform: translateX(-15px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-bottom 0.2s ease;
}

.rf-info-list p.visible {
    opacity: 1;
    transform: translateX(0);
}

.rf-info-list p:nth-child(1) { transition-delay: 0s; }
.rf-info-list p:nth-child(2) { transition-delay: 0.1s; }
.rf-info-list p:nth-child(3) { transition-delay: 0.2s; }
.rf-info-list p:nth-child(4) { transition-delay: 0.3s; }

/* ==============================
   CINTILLO LOGOS
================================ */
.rf-about-strip {
    width: 100%;
    background: #e6e6e6;
    padding: 40px 0;
    overflow: hidden;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.rf-about-strip-track {
    display: flex;
    align-items: center;
    gap: 50px;
    animation: rfStripScroll 30s linear infinite;
    width: max-content;
}

.rf-logo-item img {
    height: 70px;
    width: 120px;
    object-fit: contain;
    background: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
}


@keyframes rfStripScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .rf-main-wrapper {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .rf-info-list {
        order: 1;
    }

    .rf-mosaic-box {
        order: 2;
        width: 100%;
        overflow-x: auto;
    }
}
