/* --- HERO DESARROLLO --- */
.dev-hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.dev-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* Degradado que da ese toque premium de la captura */
    background: linear-gradient(rgba(0, 45, 75, 0.7), rgba(0, 45, 75, 0.5));
    z-index: 1;
}

.dev-hero .centrar-contenido {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.dev-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.dev-hero-content .pre-title {
    display: block;
    color: #c09e66; /* Dorado/Tierra para diferenciarlo de Venta/Compra */
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-size: 1rem;
}

.dev-hero-content h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
	color: #fff;
}

.dev-hero-content p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
    font-weight: 300;
}

/* Botón estilo Desarrollo */
.dev-hero .btn-principal {
    background-color: #002d4b;
    border: 1px solid #c09e66;
    color: #fff;
    padding: 18px 45px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.4s ease;
    display: inline-block;
}

.dev-hero .btn-principal:hover {
    background-color: #c09e66;
    color: #002d4b;
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .dev-hero-content h1 { font-size: 2.5rem; }
    .dev-hero-content p { font-size: 1.1rem; }
}
/* --- Lógica de Animaciones --- */

/* Estado Inicial: Oculto y 30px abajo */
.animar-entrada-arriba {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

/* Estado Final: Clase que activa el jQuery */
.animar-entrada-arriba.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delays para que los elementos entren uno tras otro */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/******************* SECCIÓN 2 ******************************/

.dev-why { padding: 100px 0; background-color: #fff; }

.dev-why-flex { display: flex; align-items: center; gap: 60px; }

.dev-why-text { flex: 1.2; }
.dev-why-text h2 { color: #002d4b; font-size: 2.5rem; margin: 15px 0; }
.main-p { font-size: 1.1rem; color: #666; margin-bottom: 30px; line-height: 1.7; }

.dev-list { list-style: none; }
.dev-list li { 
    display: flex; gap: 15px; margin-bottom: 20px; 
    color: #444; font-weight: 500; line-height: 1.4;
}
.dev-list i { color: #c09e66; font-size: 1.2rem; margin-top: 3px; }

/* Contenedor de stats estilo "Mosaico" de tu captura */
.dev-why-stats { 
    flex: 1; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
}

.stat-box {
    background-color: #002d4b; /* Azul marino Viva México */
    color: #fff;
    padding: 40px 25px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-box:hover { transform: translateY(-10px); }

/* El tercer cuadro ocupa dos columnas según tu imagen */
.stat-box.blue-3 { grid-column: span 2; }

.stat-num { font-size: 2.8rem; font-weight: 800; display: block; color: #c09e66; margin-bottom: 5px; }
.stat-box p { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; opacity: 0.9; }

@media (max-width: 992px) {
    .dev-why-flex { flex-direction: column; }
    .dev-why-stats { width: 100%; }
}

/******************* SECCIÓN 3 ******************************/

.dev-steps {
    padding: 100px 0;
    background-color: #f9f9f9;
}

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

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.step-card-dev {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
    border: 1px solid #eee;
}

.step-card-dev:hover {
    transform: translateY(-10px);
    border-color: #c09e66;
    box-shadow: 0 20px 40px rgba(0,45,75,0.08);
}

.step-bg-num {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(192, 158, 102, 0.08); /* Dorado muy sutil */
    line-height: 1;
    z-index: 1;
}

.step-card-dev h3 {
    color: #002d4b;
    font-size: 1.25rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    font-weight: 700;
}

.step-card-dev p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

@media (max-width: 1024px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/******************* SECCIÓN 4 ******************************/

/* --- SECCIÓN PORTAFOLIO DESARROLLOS --- */
.dev-portfolio {
    padding: 100px 0;
    background-color: #fff;
}

.portfolio-header {
    margin-bottom: 60px;
}

.pre-title-small {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 5px;
    text-transform: capitalize;
}

.portfolio-header h2 {
    color: #333;
    font-size: 2.2rem;
    font-weight: 700;
}

/* Grid de 2 columnas */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
}

.dev-card {
    background: #fff;
    border-radius: 30px; /* Bordes muy redondeados como en la captura */
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.dev-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* Contenedor de Imagen y Badge */
.dev-img-container {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.dev-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dev-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: #e65c00; /* Naranja Viva México */
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(230,92,0,0.2);
}

/* Cuerpo de la tarjeta */
.dev-body {
    padding: 35px 40px;
}

.dev-location {
    display: block;
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.dev-body h3 {
    color: #333;
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.dev-body p {
    color: #777;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    min-height: 50px;
}

/* Botón estilo texto de la captura */
.dev-btn-text {
    display: inline-block;
    color: #444;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.dev-btn-text:hover {
    color: #e65c00;
    border-bottom: 1px solid #e65c00;
}

/* Responsive */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .dev-img-container {
        height: 280px;
    }
}
/******************* SECCIÓN 5 ******************************/

/* --- SECCIÓN EARLY ACCESS (SOLO COLOR) --- */
.dev-access-list {
    padding: 100px 0;
    background-color: #002d4b; /* Azul Marino Viva México - Sólido */
    color: #fff;
    text-align: center;
}

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

.access-content h2 {
    font-size: 2.8rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.access-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 50px;
}

/* Botón estilo Desarrollo (Dorado/Tierra) */
.btn-access {
    background-color: #c09e66;
    color: #002d4b;
    padding: 20px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.btn-access:hover {
    background-color: #fff;
    color: #c09e66;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

@media (max-width: 768px) {
    .access-content h2 { font-size: 2rem; }
    .access-content p { font-size: 1.1rem; }
    .btn-access { width: 100%; justify-content: center; }
}