/*
 * expo-hospedaje.css
 * Sección de hospedaje con 2 tarjetas
 */

.expo-hospedaje {
    background: #ffffff;
}

.expo-hospedaje__titulo {
    font-family: var(--font-hero, 'Lexend', sans-serif);
    font-size: clamp(1.75rem, 4.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary, #0f172a);
    text-align: center;
    margin: 0;
}

/* Grid de tarjetas */
.expo-hospedaje__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3rem);
}

/* Tarjeta individual */
.expo-hospedaje__card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.1);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.expo-hospedaje__card:hover {
    transform: translateY(-0.375rem);
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.15);
}

/* Imagen */
.expo-hospedaje__image-link {
    display: block;
    text-decoration: none;
}

.expo-hospedaje__image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.expo-hospedaje__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.expo-hospedaje__image-link:hover .expo-hospedaje__image,
.expo-hospedaje__image-link:focus-visible .expo-hospedaje__image {
    transform: scale(1.03);
    filter: brightness(1.04);
}

.expo-hospedaje__image-link:focus-visible {
    outline: 0.125rem solid #0f172a;
    outline-offset: 0.15rem;
}

/* Contenido */
.expo-hospedaje__content {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.25rem);
    padding: clamp(1.75rem, 4vw, 2.5rem);
}

.expo-hospedaje__card-title {
    font-family: var(--font-hero, 'Lexend', sans-serif);
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text-primary, #0f172a);
    margin: 0;
}

.expo-hospedaje__title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.expo-hospedaje__title-link:hover,
.expo-hospedaje__title-link:focus-visible {
    color: #008888;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.expo-hospedaje__title-link:focus-visible {
    outline: 0.125rem solid #0f172a;
    outline-offset: 0.15rem;
}

.expo-hospedaje__info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.expo-hospedaje__subtitle {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: clamp(0.9375rem, 1.8vw, 1rem);
    font-weight: 600;
    color: var(--color-text-secondary, #475569);
    margin: 0;
}

.expo-hospedaje__contact {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
    font-weight: 500;
    color: var(--color-text-primary, #0f172a);
    margin: 0;
}

.expo-hospedaje__contact a {
    color: var(--color-primary, #ff6b35);
    text-decoration: none;
    transition: color 0.3s ease;
}

.expo-hospedaje__contact a:hover {
    color: var(--color-secondary, #008888);
    text-decoration: underline;
}

.expo-hospedaje__email {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: clamp(0.875rem, 1.6vw, 0.9375rem);
    margin: 0;
}

.expo-hospedaje__email a {
    color: var(--color-secondary, #008888);
    text-decoration: none;
    transition: color 0.3s ease;
}

.expo-hospedaje__email a:hover {
    color: var(--color-primary, #ff6b35);
    text-decoration: underline;
}

.expo-hospedaje__more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: flex-start;
    margin-top: 0.25rem;
    font-family: var(--font-hero, 'Lexend', sans-serif);
    font-size: clamp(0.9375rem, 1.8vw, 1rem);
    font-weight: 700;
    color: #008888;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.expo-hospedaje__more:hover,
.expo-hospedaje__more:focus-visible {
    color: var(--color-accent-orange, #ff6b35);
    gap: 0.6rem;
}

.expo-hospedaje__more:focus-visible {
    outline: 0.125rem solid #0f172a;
    outline-offset: 0.15rem;
}

.expo-hospedaje__more-icon {
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
}

/* Botón — CTA debajo del grid */
.expo-hospedaje__cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: clamp(2rem, 4vw, 3rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
}

.expo-hospedaje__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 2rem 0.85rem 2.15rem;
    font-family: var(--font-hero, 'Lexend', sans-serif);
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    background-color: #00a8a8;
    border: none;
    border-radius: 999rem;
    box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.22);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.expo-hospedaje__cta:hover,
.expo-hospedaje__cta:focus-visible {
    background-color: #009090;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-0.1rem);
    box-shadow: 0 0.45rem 1.25rem rgba(15, 23, 42, 0.28);
}

.expo-hospedaje__cta:focus-visible {
    outline: 0.2rem solid #0f172a;
    outline-offset: 0.2rem;
}

.expo-hospedaje__cta-icon {
    width: 1.2em;
    height: 1.2em;
    flex-shrink: 0;
}

/* Responsive: Tablet y Desktop (2 columnas) */
@media (min-width: 36rem) {
    .expo-hospedaje__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tema oscuro */
[data-theme="dark"] .expo-hospedaje {
    background: #0f172a;
}

[data-theme="dark"] .expo-hospedaje__card {
    background: #1e293b;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .expo-hospedaje__card:hover {
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .expo-hospedaje__titulo {
    color: #f1f5f9;
}

[data-theme="dark"] .expo-hospedaje__card-title {
    color: #f1f5f9;
}

[data-theme="dark"] .expo-hospedaje__subtitle {
    color: #94a3b8;
}
