.buy-hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
	
}

.buy-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0, 45, 75, 0.8) 30%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.buy-hero .centrar-contenido {
    position: relative;
    z-index: 2;
    width: 100%;
}

.buy-hero-content {
    max-width: 700px;
    /* Estado inicial para el jQuery */
    opacity: 0;
    transform: translateX(-50px);
}

.buy-hero-content .pre-title {
    display: block;
    color: #e65c00;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.buy-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 25px;
	color: #fff;
}

.buy-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

.buy-hero-btns {
    display: flex;
    gap: 20px;
}

/* Botones con tus colores corporativos */
.btn-principal {
    background-color: #e65c00;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-secundario {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-principal:hover { background-color: #ff751a; transform: translateY(-3px); }
.btn-secundario:hover { background-color: #fff; color: #002d4b; transform: translateY(-3px); }

@media (max-width: 768px) {
    .buy-hero-btns { flex-direction: column; }
    .buy-hero-content { text-align: center; transform: translateY(30px); }
}

/******************* Seccion 2 ********************************/

.trust-bar {
    background-color: #002d4b; /* Azul Marino Corporativo */
    padding: 30px 0;
    position: relative;
    z-index: 10;
    margin-top: -50px; /* Sube un poco para encajar con el Hero */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.trust-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.trust-label {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Para el jQuery */
    transform: translateY(20px);
}

.logo-item img {
    height: 50px; /* Ajusta según el tamaño de tus archivos */
    width: auto;
    filter: brightness(0) invert(1); /* Pone los logos en blanco para que resalten en el azul */
    transition: all 0.3s ease;
}

.logo-item img:hover {
    filter: brightness(1) invert(0); /* Vuelve al color original en hover */
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .trust-bar { margin-top: 0; padding: 40px 20px; }
    .trust-logos { gap: 30px; }
    .logo-item img { height: 40px; }
}

/******************* Seccion 2 ********************************/

.investment-safe {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.safe-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.safe-image {
    flex: 1;
    position: relative;
    opacity: 0; /* Para jQuery */
    transform: translateX(-30px);
}

.safe-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 20px 20px 0px #e65c00; /* Detalle naranja Viva México */
}

.safe-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #002d4b;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.safe-experience-badge .number { font-size: 2rem; font-weight: 800; display: block; color: #e65c00; }
.safe-experience-badge .text { font-size: 0.8rem; text-transform: uppercase; font-weight: 600; }

.safe-text {
    flex: 1;
    opacity: 0; /* Para jQuery */
    transform: translateX(30px);
}

.safe-text .pre-title { color: #e65c00; font-weight: 700; letter-spacing: 2px; }
.safe-text h2 { color: #002d4b; font-size: 2.5rem; margin: 15px 0 25px; line-height: 1.2; }
.safe-text p { margin-bottom: 20px; color: #666; }

.safe-list { list-style: none; padding: 0; margin-top: 30px; }
.safe-list li { margin-bottom: 15px; font-weight: 600; color: #002d4b; display: flex; align-items: center; gap: 10px; }
.safe-list li i { color: #e65c00; font-size: 1.2rem; }

@media (max-width: 992px) {
    .safe-grid { flex-direction: column; text-align: center; }
    .safe-image img { box-shadow: 10px 10px 0px #e65c00; }
    .safe-list li { justify-content: center; }
}

/******************* Seccion 2 ********************************/

.buy-process {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.process-intro { margin-bottom: 60px; }
.process-intro h2 { color: #002d4b; font-size: 2.5rem; }

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background: #fdfdfd;
    padding: 50px 30px;
    border-radius: 15px;
    border: 1px solid #eee;
    position: relative;
    transition: all 0.4s ease;
    /* Estado inicial para el jQuery */
    opacity: 0;
    transform: translateY(30px);
}

.step-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border-color: #e65c00;
    transform: translateY(-5px);
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(230, 92, 0, 0.1); /* Naranja muy suave */
    position: absolute;
    top: 10px;
    right: 20px;
}

.step-card h3 {
    color: #002d4b;
    margin-bottom: 20px;
    font-size: 1.5rem;
    position: relative;
}

.step-card p {
    color: #777;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .process-grid { grid-template-columns: 1fr; }
}

/******************* Seccion 2 ********************************/

.foreign-investors {
    padding: 100px 0;
    background-color: #002d4b; /* Azul profundo */
    color: #fff;
    overflow: hidden;
}

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

.foreign-text {
    flex: 1.2;
    opacity: 0;
    transform: translateX(-40px);
}

.foreign-text .pre-title { color: #e65c00; font-weight: 700; letter-spacing: 2px; }
.foreign-text h2 { font-size: 2.8rem; margin: 20px 0; line-height: 1.1; color:#fff;}

.foreign-info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #e65c00;
    margin-bottom: 30px;
}

.foreign-info-card p { margin-bottom: 15px; line-height: 1.8; opacity: 0.9; }

.foreign-check { list-style: none; margin-bottom: 40px; }
.foreign-check li { display: flex; align-items: center; gap: 15px; font-weight: 600; font-size: 1.1rem; }
.foreign-check i { color: #e65c00; font-size: 1.5rem; }

.btn-terciario {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: #002d4b;
    font-weight: 700;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-terciario:hover { background: #e65c00; color: #fff; transform: scale(1.05); }

.foreign-image {
    flex: 1;
    opacity: 0;
    transform: scale(0.9);
}

.foreign-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

@media (max-width: 992px) {
    .foreign-flex { flex-direction: column-reverse; gap: 50px; text-align: center; }
    .foreign-check li { justify-content: center; }
}

/******************* Seccion 2 ********************************/

.buy-faq {
    padding: 100px 0;
    background-color: #f4f7f9;
}

.faq-intro { text-align: center; margin-bottom: 50px; }
.faq-intro h2 { color: #002d4b; font-size: 2.5rem; }

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #eee;
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.faq-question:hover { background: #fdfdfd; }

.faq-question h3 {
    font-size: 1.1rem;
    color: #002d4b;
    margin: 0;
}

.faq-question i {
    color: #e65c00;
    transition: 0.4s;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0; /* Cerrado por defecto */
    overflow: hidden;
    transition: all 0.4s ease-out;
    background: #fff;
}

.faq-answer p {
    padding-bottom: 25px;
    color: #666;
    line-height: 1.7;
}

/* Estado Activo */
.faq-item.active .faq-answer { max-height: 300px; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-item.active { border-color: #e65c00; }