/* Estilos estructurales para asegurar que la grilla y las tarjetas no se desordenen */
:root {
    --accent: #00d4ff;
    --text-muted: #a0a0a0;
    --card-bg: #1a1b23;
    --border-color: #2a2b36;
}

.section-padding { padding: 60px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; font-family: sans-serif; }
.text-center { text-align: center; }

.section-subtitle {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-header-modern h2 {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 15px;
    color: #ffffff;
}

/* Grilla principal */
.hotel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Tarjetas de hotel */
.hotel-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

/* Contenedor de la imagen corregido */
.hotel-image {
    position: relative;
    width: 100%;
    height: 220px; /* Altura fija obligatoria para uniformidad */
    background-color: #222;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recorta la imagen sin deformarla */
    display: block;
}

.hotel-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 4px;
    z-index: 2;
}

/* Contenido de la tarjeta */
.hotel-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hotel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.hotel-header h3 { margin: 0; font-size: 1.25rem; }
.stars { color: #f39c12; font-size: 0.85rem; }

.hotel-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.hotel-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
    font-size: 0.85rem;
    color: #cccccc;
}

.hotel-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.price-block .label { display: block; font-size: 0.75rem; color: var(--text-muted); }
.price-block .amount { font-size: 1.1rem; font-weight: bold; color: var(--accent); }

.btn-book {
    background: transparent;
    color: #ffffff;
    border: 1px solid var(--accent);
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-book:hover { background: var(--accent); color: #000; }

/* Sección de Vuelos */
.flight-board-section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
    font-family: sans-serif;
}

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

.flight-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.flight-header h3 { margin: 0 0 5px 0; font-size: 1.1rem; }
.flight-header p { margin: 0; color: var(--text-muted); font-size: 0.9rem; }
.flight-icon { font-size: 2rem; color: var(--accent); }

.flight-action { text-align: center; margin-top: 20px; }
.btn-flight-search {
    display: inline-block;
    background: var(--accent);
    color: #000;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 10px;
}