/* ==========================================================
   HOTELMANIA
   CSS Maestro del Portal Público
   Archivo: /assets/public.css
   Versión: 3.2
   ========================================================== */

@import url('css/header.css');
@import url('css/hero.css');
@import url('css/inicio.css');
@import url('css/ubicacion.css');

/* ==========================================================
   1. VARIABLES GENERALES
   ========================================================== */

:root {
    --hm-azul-principal: #0b5c8f;
    --hm-azul-oscuro: #12384f;
    --hm-azul-claro: #e8f3ff;
    --hm-fondo: #f4f7f9;
    --hm-blanco: #ffffff;
    --hm-texto: #263746;
    --hm-texto-suave: #607382;
    --hm-borde: #d9e2e8;
    --hm-sombra: 0 10px 30px rgba(18, 56, 79, 0.10);
    --hm-radio: 12px;
    --hm-ancho: 1180px;
}

/* ==========================================================
   2. REINICIO BÁSICO
   ========================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--hm-texto);
    background: var(--hm-fondo);
    line-height: 1.6;
}

a {
    color: var(--hm-azul-principal);
}

img {
    max-width: 100%;
    display: block;
}

/* ==========================================================
   3. CONTENEDOR GENERAL
   ========================================================== */

.hm-contenedor {
    width: min(100% - 40px, var(--hm-ancho));
    margin: 0 auto;
}

/* ==========================================================
   4. ENCABEZADO DEL PORTAL
   ========================================================== */

header {
    background: var(--hm-blanco);
    border-bottom: 1px solid var(--hm-borde);
    padding: 22px 30px;
}

header > div,
header nav {
    width: min(100%, var(--hm-ancho));
    margin-left: auto;
    margin-right: auto;
}

header h1 {
    margin: 0;
    color: var(--hm-azul-oscuro);
    font-size: 2rem;
    letter-spacing: 0.03em;
}

header p {
    margin: 4px 0 15px;
    color: var(--hm-texto-suave);
}

header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
}

header nav a {
    color: var(--hm-azul-principal);
    text-decoration: none;
    font-weight: 700;
}

header nav a:hover {
    text-decoration: underline;
}

/* ==========================================================
   5. HERO PRINCIPAL
   ========================================================== */

.hm-hero {
    padding: 90px 20px;
    background:
        linear-gradient(
            135deg,
            rgba(11, 92, 143, 0.95),
            rgba(18, 56, 79, 0.96)
        );
    color: var(--hm-blanco);
    text-align: center;
}

.hm-hero-contenido {
    max-width: 900px;
    margin: 0 auto;
}

.hm-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;
}

.hm-hero p {
    max-width: 760px;
    margin: 0 auto 30px;
    font-size: 1.15rem;
}

/* ==========================================================
   6. BUSCADOR PRINCIPAL
   ========================================================== */

.hm-buscador-principal {
    display: flex;
    max-width: 760px;
    margin: 0 auto;
    background: var(--hm-blanco);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--hm-sombra);
}

.hm-buscador-principal input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 18px 20px;
    font-size: 1rem;
    outline: none;
}

.hm-buscador-principal button {
    border: 0;
    padding: 0 30px;
    background: #d99624;
    color: var(--hm-blanco);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.hm-buscador-principal button:hover {
    background: #bd7f1f;
}

.hm-sugerencias {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.hm-sugerencias span {
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    font-size: 0.9rem;
}

/* ==========================================================
   7. SECCIONES GENERALES
   ========================================================== */

.hm-seccion {
    padding: 70px 20px;
    background: var(--hm-blanco);
}

.hm-seccion:nth-of-type(even) {
    background: var(--hm-fondo);
}

.hm-seccion h2 {
    margin: 0;
    color: var(--hm-azul-oscuro);
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.hm-seccion-descripcion {
    max-width: 760px;
    margin: 14px auto 38px;
    color: var(--hm-texto-suave);
    text-align: center;
}

/* ==========================================================
   8. DIRECTORIO DE ESTADOS
   ========================================================== */

.hm-accesos-destino {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.hm-accesos-destino a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 12px 16px;
    border: 1px solid var(--hm-borde);
    border-radius: 9px;
    background: var(--hm-blanco);
    color: var(--hm-azul-oscuro);
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(18, 56, 79, 0.05);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.hm-accesos-destino a:hover {
    transform: translateY(-3px);
    background: var(--hm-azul-claro);
    box-shadow: 0 10px 22px rgba(18, 56, 79, 0.12);
}

/* ==========================================================
   9. TARJETAS DE DESTINOS
   ========================================================== */

.hm-grid-destinos,
.hm-grid-hoteles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.hm-card-destino,
.hm-card-hotel {
    overflow: hidden;
    border: 1px solid var(--hm-borde);
    border-radius: var(--hm-radio);
    background: var(--hm-blanco);
    box-shadow: var(--hm-sombra);
}

.hm-card-imagen {
    min-height: 190px;
    background:
        linear-gradient(
            135deg,
            #dbeaf3,
            #a9cadc
        );
}

.hm-card-destino h3,
.hm-card-hotel h3 {
    margin: 22px 22px 8px;
    color: var(--hm-azul-oscuro);
}

.hm-card-destino p,
.hm-card-hotel p {
    margin: 0 22px 22px;
    color: var(--hm-texto-suave);
}

.hm-card-hotel a {
    display: inline-block;
    margin: 0 22px 24px;
    font-weight: 700;
    text-decoration: none;
}

/* ==========================================================
   10. PUBLICIDAD
   ========================================================== */

.hm-publicidad {
    background:
        linear-gradient(
            135deg,
            #0b5c8f,
            #12384f
        ) !important;
    color: var(--hm-blanco);
    text-align: center;
}

.hm-publicidad h2 {
    color: var(--hm-blanco);
}

.hm-publicidad p {
    max-width: 700px;
    margin: 16px auto 26px;
}

.hm-boton-secundario {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 7px;
    background: #d99624;
    color: var(--hm-blanco);
    text-decoration: none;
    font-weight: 700;
}

.hm-boton-secundario:hover {
    background: #bd7f1f;
}

/* ==========================================================
   11. PÁGINA DE ESTADO
   ========================================================== */

.hm-estado {
    padding: 70px 20px;
}

.hm-estado h1 {
    color: var(--hm-azul-oscuro);
}

.hm-directorio-estados {
    padding: 70px 20px;
    background:
        linear-gradient(
            180deg,
            #f5f9fc 0%,
            #ffffff 100%
        );
}

/* ==========================================================
   12. RESPONSIVE GENERAL
   ========================================================== */

@media (max-width: 900px) {

    .hm-accesos-destino {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hm-grid-destinos,
    .hm-grid-hoteles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {

    header {
        padding: 18px 20px;
    }

    header nav {
        gap: 10px 16px;
    }

    .hm-hero {
        padding: 65px 18px;
    }

    .hm-buscador-principal {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        gap: 10px;
    }

    .hm-buscador-principal input,
    .hm-buscador-principal button {
        width: 100%;
        min-height: 54px;
        border-radius: 8px;
    }

    .hm-accesos-destino {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hm-grid-destinos,
    .hm-grid-hoteles {
        grid-template-columns: 1fr;
    }

    .hm-seccion {
        padding: 50px 18px;
    }
}

/* ==========================================================
   HOTELMANIA
   Botón informativo de categoría sugerida
   ========================================================== */

.hm-boton-informacion {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 6px;
    padding: 0;
    border: 1px solid #657789;
    border-radius: 50%;
    background: transparent;
    color: #33475b;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
    cursor: help;
}

.hm-boton-informacion span {
    display: block;
    line-height: 1;
}

/* ==========================================================
   HOTELMANIA
   Estado de administración de la ficha del hotel
   ========================================================== */

.hm-estado-informacion {
    margin: 8px 0;
    color: #657789;
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.4;
}

/* ==========================================================
   HOTELMANIA
   PP-010.001 - Página Individual del Hotel
   Bloque 1 - Base general y cabecera de la ficha
   ========================================================== */

.hm-pagina-hotel {
    padding: 34px 0 56px;
    background: #f4f7f9;
}

.hm-pagina-hotel .hm-contenedor {
    width: min(100% - 40px, 1180px);
}

.hm-cabecera-ficha-hotel {
    margin: 18px 0 28px;
    padding: 0;
    border: 0;
    background: transparent;
}

.hm-cabecera-ficha-hotel h1 {
    margin: 0 0 10px;
    color: #17324d;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.hm-categoria-principal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 0 0 8px;
    color: #526273;
    font-size: 1rem;
    line-height: 1.5;
}

.hm-categoria-principal strong {
    color: #17324d;
}

.hm-categoria-principal
.hm-boton-informacion {
    flex: 0 0 auto;
}

.hm-cabecera-ficha-hotel
.hm-estado-informacion {
    margin: 5px 0 7px;
    color: #657789;
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.4;
}

.hm-ubicacion-hotel {
    margin: 0;
    color: #526273;
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 640px) {

    .hm-pagina-hotel {
        padding: 24px 0 40px;
    }

    .hm-pagina-hotel
    .hm-contenedor {
        width: min(100% - 28px, 1180px);
    }

    .hm-cabecera-ficha-hotel {
        margin: 14px 0 22px;
    }

    .hm-cabecera-ficha-hotel h1 {
        font-size: 2rem;
    }

    .hm-categoria-principal,
    .hm-ubicacion-hotel {
        font-size: 0.95rem;
    }
}

/* ==========================================================
   HP-BLOQUE-06
   Servicios del hotel
   ========================================================== */

.hm-seccion-servicios-hotel {
    padding-top: 0;
    padding-bottom: 32px;
}

.hm-bloque-servicios-hotel {
    padding: 26px 28px 28px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.hm-encabezado-servicios-hotel {
    margin-bottom: 22px;
}

.hm-encabezado-servicios-hotel h2 {
    margin: 0 0 6px;
    color: #0c2d63;
    font-size: 1.45rem;
    line-height: 1.25;
    text-align: left;
}

.hm-encabezado-servicios-hotel p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.hm-lista-servicios-hotel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 24px;
}

.hm-servicio-hotel {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 8px 0;
}

.hm-servicio-hotel__marca {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e8f3ff;
    color: #0b5c8f;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
}

.hm-servicio-hotel__nombre {
    min-width: 0;
    color: #263746;
    font-size: 0.96rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

@media (max-width: 1024px) {

    .hm-lista-servicios-hotel {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {

    .hm-seccion-servicios-hotel {
        padding-bottom: 24px;
    }

    .hm-bloque-servicios-hotel {
        padding: 22px 20px 24px;
    }

    .hm-encabezado-servicios-hotel h2 {
        font-size: 1.25rem;
    }

    .hm-lista-servicios-hotel {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 10px 18px;
    }
}

@media (max-width: 520px) {

    .hm-lista-servicios-hotel {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   HP-BLOQUE-05
   Mapa de ubicación del hotel
   ========================================================== */

.hm-seccion-mapa-hotel {
    padding-top: 0;
    padding-bottom: 48px;
}

.hm-bloque-mapa-hotel {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.hm-encabezado-mapa-hotel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px 20px;
}

.hm-encabezado-mapa-hotel h2 {
    margin: 0 0 6px;
    color: #0c2d63;
    font-size: 1.45rem;
    line-height: 1.25;
}

.hm-encabezado-mapa-hotel p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.hm-contenedor-mapa-hotel {
    position: relative;
    width: 100%;
    height: 390px;
    background: #e2e8f0;
}

.hm-contenedor-mapa-hotel iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.hm-acciones-mapa-hotel {
    display: flex;
    justify-content: flex-end;
    padding: 18px 28px 22px;
}

.hm-boton-mapa-hotel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    color: #ffffff;
    background: #0c2d63;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.hm-boton-mapa-hotel:hover {
    color: #ffffff;
    background: #163f7a;
    transform: translateY(-1px);
}

.hm-mapa-no-disponible {
    margin: 0 28px 24px;
    padding: 34px 24px;
    text-align: center;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
}

.hm-mapa-no-disponible p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {

    .hm-seccion-mapa-hotel {
        padding-bottom: 32px;
    }

    .hm-encabezado-mapa-hotel {
        padding: 20px 20px 16px;
    }

    .hm-encabezado-mapa-hotel h2 {
        font-size: 1.25rem;
    }

    .hm-contenedor-mapa-hotel {
        height: 320px;
    }

    .hm-acciones-mapa-hotel {
        justify-content: stretch;
        padding: 16px 20px 20px;
    }

    .hm-boton-mapa-hotel {
        width: 100%;
    }

    .hm-mapa-no-disponible {
        margin: 0 20px 20px;
    }
}s