/* --- ESTILOS HERO VENTA --- */
.sell-hero {
    position: relative;
    height: 80vh; /* Un poco más bajo que el de compra para ir directo al grano */
    min-height: 500px;
    display: flex;
    align-items: center;
    /* Imagen de fondo sugerida: Interior de casa de lujo o trato cerrándose */
   
    color: #fff;
    overflow: hidden;
}

.sell-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* Degradado oscuro para que resalte el texto blanco */
    background: linear-gradient(135deg, rgba(0, 45, 75, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.sell-hero .centrar-contenido {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center; /* Centrado como en la captura */
}

.sell-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.sell-hero-content .pre-title {
    display: block;
    color: #e65c00; /* Naranja corporativo */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.sell-hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
	color: #fff;
}

.sell-hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 300;
}

/* Reutilizando tus estilos de botones corporativos */
.sell-hero .btn-principal {
    background-color: #e65c00;
    color: #fff;
    padding: 18px 40px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
}

.sell-hero .btn-principal:hover {
    background-color: #ff751a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 92, 0, 0.3);
}

/* --- CLASES DE ANIMACIÓN (Para jQuery) --- */
.animar-entrada-arriba {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animar-entrada-arriba.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delays para el efecto cascada */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 768px) {
    .sell-hero { height: auto; padding: 120px 20px; }
    .sell-hero-content h1 { font-size: 2.5rem; }
    .sell-hero-content p { font-size: 1.1rem; }
}

/************************* Sección 2 ******************************/

.sell-stats-bar {
    background-color: #f4f7f9;
    padding: 60px 0;
    margin-top: -40px; /* Traslape ligero con el hero */
    position: relative;
    z-index: 5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 45, 75, 0.1);
}

.stat-item {
    text-align: center;
    border-right: 1px solid #eee;
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #002d4b;
    display: inline-block;
}

.stat-plus {
    font-size: 1.8rem;
    font-weight: 800;
    color: #e65c00;
}

.stat-item p {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 10px;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 500px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid #eee; padding-bottom: 20px; }
}

/************************* Sección 3 ******************************/

.white-glove-sale {
    padding: 100px 0;
    background-color: #fff;
}

.sell-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.sell-info { flex: 1.2; }

.sell-info .pre-title { color: #e65c00; font-weight: 700; letter-spacing: 2px; font-size: 0.9rem; }

.sell-info h2 { 
    color: #002d4b; 
    font-size: 2.8rem; 
    margin: 20px 0 30px; 
    line-height: 1.1; 
    font-weight: 800;
}

.sell-description p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.sell-description p strong { color: #002d4b; }

.sell-image { flex: 1; position: relative; }

.image-container img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.floating-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: #e65c00;
    color: #fff;
    padding: 20px;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(230,92,0,0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 992px) {
    .sell-flex { flex-direction: column; text-align: center; gap: 50px; }
    .sell-info h2 { font-size: 2.2rem; }
}

/************************* Sección 4 ******************************/

.sell-pillars {
    padding: 60px 0 100px;
    background-color: #fff;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
}

.pillar-item {
    position: relative;
    /* Estado inicial para el jQuery */
    opacity: 0;
    transform: translateY(20px);
}

.pillar-line {
    width: 60px;
    height: 30px; /* Línea de color Viva México */
    border-top: 3px solid #e65c00;
    margin-bottom: 10px;
}

.pillar-item h3 {
    color: #002d4b;
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.pillar-item p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
    max-width: 450px;
}

/* Animación visible */
.pillar-item.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease-out;
}

@media (max-width: 768px) {
    .pillars-grid { grid-template-columns: 1fr; gap: 40px; }
    .pillar-item p { max-width: 100%; }
}

/************************* Sección 5 ******************************/

.sell-valuation {
    padding: 40px 0 100px;
    background-color: #fff;
}

.valuation-card {
    background-color: #c09e66; /* El tono dorado/tierra de tu captura */
    padding: 50px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    /* Efecto de borde lateral que se ve en tu imagen */
    border-left: 5px solid #002d4b;
    transition: all 0.4s ease;
}

.valuation-card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.valuation-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.valuation-content p {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0;
    flex: 2;
}

.btn-valuation {
    background-color: #fff;
    color: #c09e66;
    padding: 18px 35px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 1;
    text-align: center;
}

.btn-valuation:hover {
    background-color: #002d4b;
    color: #fff;
}

@media (max-width: 992px) {
    .valuation-content { flex-direction: column; text-align: center; }
    .valuation-card { padding: 40px 20px; }
}

/************************* Sección 6 ******************************/

.sell-process { padding: 100px 0; background-color: #f9f9f9; }
.process-header { text-align: center; margin-bottom: 80px; }
.process-header h2 { color: #002d4b; font-size: 2.5rem; margin-top: 10px; }

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 20px;
}

/* Línea de fondo que conecta los pasos */
.process-line {
    position: absolute;
    top: 40px; left: 50px; right: 50px;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.step-box {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
}

.step-circle {
    width: 80px; height: 80px;
    background: #002d4b;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.5rem; font-weight: 800;
    border: 5px solid #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.step-box:hover .step-circle { background: #e65c00; transform: scale(1.1); }

.step-box h3 { color: #002d4b; font-size: 1.2rem; margin-bottom: 15px; font-weight: 700; }
.step-box p { color: #666; font-size: 0.95rem; line-height: 1.5; padding: 0 10px; }

/* Animación de entrada */
.step-box.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease-out calc(var(--i) * 0.2s);
}

@media (max-width: 992px) {
    .process-steps { flex-direction: column; gap: 50px; }
    .process-line { display: none; }
    .step-box { max-width: 400px; margin: 0 auto; }
}