//* =========================================
   SECCIÓN: POR QUÉ ECUADOR
   ========================================= */
.why-ecuador-block {
    position: relative;
    display: flex;
    flex-direction: column;
    font-family: 'Syne', sans-serif;
    width: 100%;
}

/* =========================================
   ACTUALIZACIÓN: IMAGEN AL 100% SIN RECORTES
   ========================================= */
.why-image-wrapper {
    position: relative;
    width: 100%;
    height: auto; /* La altura ahora se adapta 100% a la imagen */
    overflow: hidden;
}

.why-image-wrapper img {
    width: 100%;
    height: auto; /* Mantiene la proporción exacta sin recortar nada */
    display: block;
}

/* Franja naranja inferior */
.why-orange-bar {
    position: relative;
    background-color: #ff4700; /* Naranja corporativo del diseño */
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    padding: 0 5%;
    box-sizing: border-box;
}

/* Título superpuesto (POR QUÉ ECUADOR) */
.why-title-container {
    position: absolute;
    bottom: 50px; /* Esto empuja el título hacia arriba para que monte la imagen */
    left: 5%;
    z-index: 10;
    pointer-events: none;
}

.why-title {
    font-size: clamp(4rem, 9vw, 10rem); /* Texto responsivo y gigante */
    font-weight: 800;
    color: #1a1a1a; /* Negro/Gris oscuro del diseño */
    line-height: 0.85;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -2px;
}

/* Contenedor del subtítulo y botón */
.why-subtitle-container {
    display: flex;
    width: 100%;
    justify-content: flex-start; /* Mantiene el botón a la izquierda */
    align-items: center;
}

/* Subtítulo flotando a la derecha sobre el mar */
.why-subtitle {
    position: absolute;
    bottom: 150px; /* Justo por encima de la franja naranja */
    right: 5%;
    color: #ffffff;
    font-size: 1.2rem;
    margin: 0;
    z-index: 10;
    text-align: right;
}

.why-subtitle strong {
    font-weight: 800;
}

/* Botón Descargar Presentación */
.download-btn {
    background-color: #0b0b0b;
    color: #ff4700;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: none;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: scale(1.05);
}

/* =========================================
   FOOTER (Alineación vertical centrada)
   ========================================= */
footer {
    background-color: #0b0b0b;
    color: #ffffff;
    padding: 60px 0 30px;
    font-family: 'Syne', sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-grid {
    display: flex;
    flex-direction: column; /* Apila Contacto, Ubicación y Social verticalmente */
    gap: 40px; 
    text-align: center;
    margin-bottom: 50px;
}

.footer-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-group .label {
    color: #555555;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.footer-group p,
.footer-group a.footer-link,
.social-row a {
    color: #dddddd;
    text-decoration: none;
    font-size: 0.95rem;
    margin: 3px 0;
    transition: color 0.3s ease;
}

.footer-group a:hover,
.social-row a:hover {
    color: #ff4700;
}

.mini-copyright {
    font-size: 0.75rem;
    color: #555555;
    margin-top: 5px;
}

.social-row {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.social-row a {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
}

.footer-credits {
    border-top: 1px solid #222222;
    width: 100%;
    text-align: center;
    padding-top: 25px;
}

.footer-credits p {
    margin: 0;
    font-size: 0.75rem;
    color: #444444;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.footer-credits a {
    color: #666666;
    text-decoration: none;
}



/* =========================================
   AJUSTES PARA CELULARES (Media Queries)
   ========================================= */
@media (max-width: 768px) {
    /* Como la imagen es más "bajita" en celular, reajustamos las posiciones */
    
    .why-title-container {
        bottom: 20px; /* Reducimos la distancia para que monte bien la foto */
    }

    .why-title {
        font-size: clamp(2.5rem, 12vw, 4rem); /* Ajustamos el tamaño del título */
    }

    .why-subtitle {
        bottom: 60px; /* Lo bajamos para que siga sobre el mar y no se salga de la foto */
        font-size: 0.85rem;
    }
    
    .why-orange-bar {
        height: auto; /* Permite que la franja crezca si el contenido se apila */
        padding: 20px 5%;
    }

    .why-subtitle-container {
        flex-direction: column; /* Apilamos el botón por si no cabe al lado del título */
        align-items: flex-start;
        gap: 15px;
    }

    .download-btn {
        padding: 12px 25px;
        font-size: 0.8rem;
    }
}


