/* Estilos especificos para el navbar de index */
.navbar {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 10 !important;
    background: transparent !important;
}

.hero {
    height: 110vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;

    color: white;
}

/* Imagen de fondo */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url("/imagenes/paginas/index/portada.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    z-index: -2;
}

/* Overlay oscuro */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        180deg,
        rgba(29, 23, 21, 0.42) 0%,
        rgba(29, 23, 21, 0.56) 100%
    );
    z-index: -1;
}
.brand-logo img {
    height: 180px;
    width: auto;
}

.caption {
    max-width: 620px;
    width: 100%;
    height: auto;
    padding-bottom: 1.5rem;

    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.caption-title {
    color: #fff;
    text-align: center;
    font-size: 64px;
    font-style: normal;
    font-weight: 900;
    line-height: 72px;
    letter-spacing: -1.8px;
}

.caption-subtitle {
    color: #e2e8f0;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 140% */
}

/* botones cta hero */
.hero-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: stretch;
}

/* Base común */
.hero-btn {
    min-width: 190px;
    padding: 14px 28px;
    border-radius: 12px;

    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0.2px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    white-space: nowrap;
    flex-wrap: nowrap;

    border: 1px solid transparent;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);

    color: #fff;
    text-align: center;
}

/* Botón marrón sólido */
.hero-btn-primary {
    background-color: rgba(166, 108, 83, 0.95);
    color: #fff;
    border-color: rgba(166, 108, 83, 1);
}

.hero-btn-primary:hover {
    background-color: rgba(185, 125, 98, 1);
    border-color: rgba(185, 125, 98, 1);
    color: white !important;
}

/* Botón translúcido */
.hero-btn-secondary {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);

    background: rgba(236, 228, 183, 0.1);

    backdrop-filter: blur(6px);
}

.hero-btn-secondary:hover {
    background: rgba(236, 228, 183, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    color: white !important;
}

/* Secciones */
.section-desconectar {
    height: 90vh;
    overflow: hidden;
}

.section-estancia {
    background: #eabe7c;
}

.section-galeria {
    background: #ece4b7;
}

.tarjeta-refugio {
    border-radius: 1rem;
    background: #d9dd92;
    margin-bottom: 32px;
}

.tarjeta-refugio .title {
    color: #925040;
    font-family: Raleway;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px; /* 133.333% */
}

/* Mobile: limitar altura de imagen */
@media (max-width: 991.98px) {
    .tarjeta-refugio img {
        max-height: 220px;
    }

    .tarjeta-refugio .btn {
        align-self: center;
    }
}

/* Estancia */
.section-estancia img {
    border-radius: 1rem;
}

.estancia-icono {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--principal);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    color: #ece4b7;
}

/* Mobile tweak */
@media (max-width: 575.98px) {
    .estancia-icono {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

.btn-map {
    position: absolute;
    left: 15px;
    bottom: 15px;
    background-color: #fff !important;
    border: none !important;
    color: var(--principal) !important;
}
.btn-map:hover {
    background-color: #fff8 !important;
    backdrop-filter: blur(6px);
    color: var(--principal) !important;
}

/* Mobile */
@media (max-width: 991.98px) {
    .section-desconectar {
        height: auto;
        padding: 3rem 0;
    }

    .section-desconectar .row {
        row-gap: 2rem;
    }

    .section-desconectar img {
        height: auto;
        max-height: 300px;
    }
}

/* Galeria */

.section-galeria img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.3s ease;
    height: 230px;
    border-radius: .5rem;
}

.section-galeria a:hover img {
    transform: scale(1.05);
}
