/* ==========================================================================
   VERTICAL: COMPRAVENTA CON PACTO DE RETROVENTA & CRÉDITO PRENDARIO
   Separación de responsabilidades: 100% CSS externo
   ========================================================================== */

.hero-vertical-compraventa {
    padding-top: 105px !important;
    padding-bottom: 60px;
    background: radial-gradient(circle at 50% 10%, rgba(217, 119, 6, 0.08) 0%, rgba(15, 23, 42, 0) 70%),
                linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-vertical-compraventa {
        padding-top: 85px !important;
        padding-bottom: 40px;
    }
}

.hero-badge-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(217, 119, 6, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title-compraventa {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-title-compraventa .highlight-gold {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .hero-title-compraventa {
        font-size: 2rem;
    }
}

.hero-lead-compraventa {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 680px;
    margin-bottom: 28px;
}

/* Bento Grid Vertical */
.bento-grid-compraventa {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.bento-card-compraventa {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card-compraventa:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -4px rgba(217, 119, 6, 0.12);
}

.bento-col-8 {
    grid-column: span 8;
}

.bento-col-4 {
    grid-column: span 4;
}

.bento-col-6 {
    grid-column: span 6;
}

.bento-col-12 {
    grid-column: span 12;
}

@media (max-width: 992px) {
    .bento-col-8, .bento-col-4, .bento-col-6 {
        grid-column: span 12;
    }
}

/* Interactive Simulator */
.simulator-box {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 16px;
    padding: 28px;
    color: #f8fafc;
}

.simulator-input-group {
    margin-bottom: 18px;
}

.simulator-input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.simulator-input-group input,
.simulator-input-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #334155;
    background: #0f172a;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.simulator-input-group input:focus,
.simulator-input-group select:focus {
    border-color: #f59e0b;
}

.simulator-result {
    background: rgba(245, 158, 11, 0.1);
    border: 1px dashed rgba(245, 158, 11, 0.4);
    border-radius: 12px;
    padding: 18px;
    margin-top: 20px;
}

.sim-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fbbf24;
}

/* Window Frames for App Mockups */
.mac-window-frame {
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #334155;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.35);
}

.mac-window-header {
    background: #1e293b;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #334155;
}

.mac-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.mac-dot-red { background: #ef4444; }
.mac-dot-yellow { background: #f59e0b; }
.mac-dot-green { background: #10b981; }

.mac-window-title {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.mac-window-body {
    padding: 0;
    position: relative;
    background: #090d16;
}

.mac-window-body img {
    width: 100%;
    height: auto;
    display: block;
}

/* Feature Icon pill */
.feat-icon-gold {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(217, 119, 6, 0.1);
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 18px;
}

/* FAQ Accordion Compraventa */
.faq-item-compraventa {
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
}

.faq-trigger-compraventa {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0;
}

.faq-trigger-compraventa:hover {
    color: #d97706;
}

.faq-answer-compraventa {
    display: none;
    padding-top: 12px;
    font-size: 1rem;
    line-height: 1.65;
    color: #475569;
}

.faq-item-compraventa.active .faq-answer-compraventa {
    display: block;
}

.faq-item-compraventa.active .faq-icon {
    transform: rotate(180deg);
}

.faq-icon {
    transition: transform 0.2s ease;
}
