/* Base de la página */
body {
    font-family: 'Inter', Arial, sans-serif;
    margin: 0;
    padding: 30px;

    background-image:
        linear-gradient(
            rgba(244,248,251,0.75),
            rgba(244,248,251,0.75)
        ),
        url("imagenes/fondo-playa.jpg");

    background-size: cover;
    background-position: center;
    background-attachment: scroll;

    color: #333;
}


/* Contenedor principal */
.contenedor {
    max-width: 1200px;
    margin: auto;
}

/* Título principal */
h1 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #0b3d62;
    margin-bottom: 35px;
}


/* Tabla general */
table {
    width: max-content;
    min-width: 100%;
    margin: auto;
    border-collapse: separate;
    border-spacing: 0 12px;
    table-layout: fixed;
}


/* Cabecera fija de la tabla */
thead {
    position: sticky;
    top: 0;
    z-index: 1000;
}

thead th {
    background: #0b7285;
    color: white;
    padding: 15px;
    font-size: 0.95rem;

    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}


/* Redondear esquinas de cabecera */
thead th:first-child {
    border-radius: 12px 0 0 12px;
}

thead th:last-child {
    border-radius: 0 12px 12px 0;
}


/* Filas como tarjetas */
tbody tr {
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* Efecto al pasar el ratón */
tbody tr:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}


/* Celdas */
td {
    padding: 16px 12px;
    border: none;
    text-align: center;
}


/* Primera celda alineada a izquierda */
td:first-child {
    font-weight: 600;
    text-align: left;
}


/* Bordes redondeados de filas */
tbody td:first-child {
    border-radius: 12px 0 0 12px;
}

tbody td:last-child {
    border-radius: 0 12px 12px 0;
}

.tabla-scroll {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 70vh;
    -webkit-overflow-scrolling: touch;
}

.oculto {
    display: none;
}
.detalles-mobile{
    margin-top:15px;
    padding-top:10px;
    border-top:1px solid #ddd;
}
.col-estado {
    width: 180px;
    white-space: normal;
    overflow-wrap: break-word;
}

.col-explicacion {
    width: 350px;
    max-width: 350px;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

.ordenable {
    cursor: pointer;
    user-select: none;
}

.ordenable:hover,
.ordenable:focus-visible {
    background: #095b69;
    color: #fff;
    outline: 3px solid #ffd166;
    outline-offset: -3px;
}

/* Anchos específicos de columnas */

th:nth-child(1),
td:nth-child(1) {
    width: 40px;
}

th:nth-child(2),
td:nth-child(2) {
    width: 180px;
    white-space: normal;
    overflow-wrap: break-word;
}

th:nth-child(3),
td:nth-child(3) {
    width: 90px;
}

th:nth-child(4),
td:nth-child(4) {
    width: 130px;
}

th:nth-child(5),
td:nth-child(5) {
    width: 90px;
}

th:nth-child(6),
td:nth-child(6) {
    width: 90px;
}

th:nth-child(7),
td:nth-child(7) {
    width: 70px;
}

th:nth-child(8),
td:nth-child(8) {
    width: 90px;
}

th:nth-child(9),
td:nth-child(9) {
    width: 100px;
}

th:nth-child(10),
td:nth-child(10) {
    width: 180px;
}

/* Estado */
th:nth-child(11),
td:nth-child(11) {
    width: 180px;
}

/* Puntaje */
th:nth-child(12),
td:nth-child(12) {
    width: 80px;
}

/* Explicación */
th:nth-child(13),
td:nth-child(13) {
    width: 350px;
    min-width: 350px;
    max-width: 350px;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

thead th {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #0b7285;
    color: white;
}

#ranking-mobile {
    display: none;
}
.btn-tabla{
    display:inline-block;
}
.btn-buscar{

    background:#0b7285;

    color:white;

    border:none;

    border-radius:10px;

    padding:11px 18px;

    cursor:pointer;

    font-weight:600;

    transition:.2s;

}

.btn-buscar:hover{

    background:#095b69;

}
.filtros{

    display:flex;

    flex-wrap:wrap;

    gap:20px;

    align-items:flex-end;

    margin-bottom:25px;

}
.grupo-filtro{

    display:flex;

    flex-direction:column;

    gap:6px;

}
.input-con-boton{

    display:flex;

    gap:8px;

}
.filtros input{

    padding:11px 12px;

    border-radius:10px;

    border:1px solid #cfd8dc;

    font-size:15px;

}
.btn-vista{

    background:white;

    border:1px solid #0b7285;

    color:#0b7285;

    border-radius:10px;

    padding:11px 18px;

    cursor:pointer;

    font-weight:600;

}

.btn-vista:hover{

    background:#0b7285;

    color:white;

}
.btn-ubicacion{

    background:#0b7285;

    color:white;

    border:none;

    border-radius:10px;

    padding:11px 18px;

    cursor:pointer;

    font-weight:600;

}
/* Ajustes para móviles */
@media (max-width: 600px) {

    body {
        padding: 15px;

        background-position: center top;
        background-attachment: scroll;
    }


    h1 {
        font-size: 1.7rem;
        margin-bottom: 25px;
    }


    table {
    width: max-content;
    min-width: 100%;
    font-size: 0.85rem;
}



    td {
        padding: 12px 8px;
    }
th:nth-child(13),
td:nth-child(13) {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
}

th:nth-child(2),
td:nth-child(2) {
    width: 140px;
}

th:nth-child(11),
td:nth-child(11) {
    width: 140px;
}
.btn-tabla{
    display:none;
}
}
.tarjeta-playa{

    background:white;

    border-radius:16px;

    padding:18px;

    margin-bottom:18px;

    box-shadow:0 4px 15px rgba(0,0,0,.12);

}

.tarjeta-playa h2{

    margin:0 0 12px;

    color:#0b7285;

    font-size:1.2rem;

}

.tarjeta-playa .estado{

    font-weight:bold;

    margin-bottom:12px;

}

.tarjeta-playa p{

    margin:6px 0;

    line-height:1.4;

}

.tarjeta-playa .puntuacion{

    margin-top:12px;

    font-size:1.15rem;

    font-weight:bold;

    color:#0b7285;

}


/* Accesibilidad y estados de la interfaz */
.cabecera {
    max-width: 1200px;
    margin: 0 auto 22px;
    text-align: center;
}

.logo-lockup-v2 {
    display: grid;
    grid-template-columns: 27% 73%;
    grid-template-rows: auto auto;
    align-items: center;
    width: min(100%, 900px);
    margin: 0 auto;
    color-scheme: only light;
    forced-color-adjust: none;
    isolation: isolate;
}

.logo-lockup-v2 img {
    display: block;
    max-width: 100%;
    height: auto;
    color-scheme: only light;
    forced-color-adjust: none;
}

.logo-emblema-v2 {
    grid-row: 1 / 3;
    width: 100%;
}

.logo-nombre-v2 {
    width: 100%;
    align-self: end;
    filter:
        drop-shadow(0 0 1px rgba(255, 255, 255, .95))
        drop-shadow(0 0 2px rgba(255, 255, 255, .72));
}

.logo-lema-v2 {
    display: block;
    width: 78%;
    margin: 2px auto 0;
    align-self: start;
    filter:
        drop-shadow(0 0 1px rgba(255, 255, 255, 1))
        drop-shadow(0 0 2px rgba(255, 255, 255, .95))
        drop-shadow(0 0 4px rgba(255, 255, 255, .78));
}

.marca-principal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.marca-principal.marca-principal-v2 {
    gap: clamp(12px, 2.2vw, 24px);
}

.marca-simbolo.marca-simbolo-v2 {
    width: clamp(108px, 16vw, 170px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: url("assets/simbolo-logo-v2.jpg?v=1") center / cover no-repeat;
}

.marca-nombre.marca-nombre-v2 {
    font-family: 'Pacifico', 'Brush Script MT', cursive;
    font-size: clamp(2.65rem, 7vw, 5.35rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -.035em;
    white-space: nowrap;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .75);
}

.marca-nombre.marca-nombre-v2 span:last-child {
    color: #08a5b4;
}

.marca-ola.marca-ola-v2 {
    width: 42%;
    height: 9px;
    margin: 2px 0 2px 48%;
    border-bottom: 5px solid #08a5b4;
    border-radius: 0 0 60% 50%;
    transform: rotate(-2deg);
}

.marca-lema.marca-lema-v2 {
    color: #07375c;
    font-size: clamp(.78rem, 1.85vw, 1.18rem);
    font-weight: 600;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .85);
}

.marca-simbolo {
    width: clamp(88px, 12vw, 132px);
    height: auto;
    flex: 0 0 auto;
}

.marca-textos {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marca-nombre {
    color: #07375c;
    font-size: clamp(2rem, 5.2vw, 4rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.045em;
    white-space: nowrap;
}

.marca-nombre strong {
    color: #08a9b6;
}

.marca-ola {
    width: 42%;
    height: 8px;
    margin: 9px 0 5px;
    border-bottom: 4px solid #08a9b6;
    border-radius: 50%;
    transform: rotate(-1deg);
}

.marca-lema {
    color: #173f60;
    font-size: clamp(.72rem, 1.6vw, 1.05rem);
    letter-spacing: .015em;
}

.etiqueta-grupo,
.grupo-filtro label {
    font-weight: 600;
    color: #17394d;
}

.estado-carga {
    max-width: 1200px;
    margin: 0 auto 12px;
    padding: 0 4px;
    color: #526b78;
    font-size: 0.9rem;
}

.estado-carga[data-tipo="error"] {
    color: #9b2c20;
}

.estado-carga[data-tipo="exito"] {
    color: #526b78;
}

.origen-distancia {
    width: fit-content;
    max-width: calc(100% - 8px);
    margin: -4px auto 12px;
    padding: 7px 12px;
    border: 1px solid rgba(11, 114, 133, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: #294f5e;
    font-size: .88rem;
    font-weight: 650;
    text-align: center;
}

.origen-distancia[hidden] {
    display: none;
}

button:focus-visible,
input:focus-visible,
.tabla-scroll:focus-visible {
    outline: 3px solid #f4a261;
    outline-offset: 3px;
}

button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 600px) {
    body {
        padding-top: 18px;
    }

    .cabecera {
        margin-bottom: 16px;
    }

    .marca-principal {
        gap: 10px;
    }

    .marca-principal.marca-principal-v2 {
        gap: 8px;
    }

    .marca-simbolo.marca-simbolo-v2 {
        width: clamp(82px, 25vw, 108px);
    }

    .marca-nombre.marca-nombre-v2 {
        font-size: clamp(1.75rem, 9.7vw, 2.65rem);
    }

    .marca-lema.marca-lema-v2 {
        font-size: clamp(.52rem, 2.65vw, .72rem);
    }

    .logo-emblema-v2 {
        grid-row: 1;
    }

    .logo-nombre-v2 {
        grid-column: 2;
        grid-row: 1;
    }

    .logo-lema-v2 {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 94%;
        margin-top: 5px;
    }

    .marca-simbolo {
        width: 82px;
    }

    .marca-nombre {
        font-size: clamp(1.65rem, 8.7vw, 2.3rem);
    }

    .marca-ola {
        height: 5px;
        margin: 6px 0 3px;
        border-bottom-width: 3px;
    }

    .marca-lema {
        font-size: clamp(.55rem, 2.7vw, .72rem);
    }

    .filtros {
        gap: 14px;
    }

    .grupo-filtro,
    .input-con-boton {
        max-width: 100%;
    }

    .estado-carga {
        margin-bottom: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}


/* Evita que la tabla aparezca antes de inicializar JavaScript en móviles */
@media (max-width: 768px) {
    .tabla-scroll {
        display: none;
    }

    #ranking-mobile {
        display: block;
    }
}

.selector-dia {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 6px;
}

.btn-dia {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #0b7285;
    color: #0b7285;
    border-radius: 999px;
    padding: 9px 22px;
    cursor: pointer;
    font-weight: 700;
}

.btn-dia:hover,
.btn-dia.activo {
    background: #0b7285;
    color: white;
}

.btn-dia:focus-visible {
    outline: 3px solid rgba(11, 114, 133, 0.3);
    outline-offset: 2px;
}

/* Propuesta visual: filtros más ligeros y tarjetas con jerarquía clara */
.filtros {
    gap: 16px 20px;
    margin-bottom: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(11, 114, 133, .12);
    border-radius: 18px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 8px 30px rgba(22, 64, 78, .06);
    backdrop-filter: blur(8px);
}

.tarjeta-playa {
    padding: 18px 18px 16px;
    border: 1px solid rgba(20, 62, 78, .08);
    border-left: 5px solid #0b7285;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(22, 64, 78, .09);
    overflow: hidden;
}

.tarjeta-playa.valoracion-buena {
    border-left-color: #28a66a;
}

.tarjeta-playa.valoracion-aceptable {
    border-left-color: #e4a72b;
}

.tarjeta-playa.valoracion-regular {
    border-left-color: #e67e22;
}

.tarjeta-playa.valoracion-evitar {
    border-left-color: #dc5a52;
}

.tarjeta-cabecera,
.tarjeta-identidad,
.tarjeta-contexto {
    display: flex;
    align-items: center;
}

.tarjeta-cabecera {
    justify-content: space-between;
    gap: 14px;
}

.tarjeta-identidad {
    min-width: 0;
    gap: 11px;
}

.posicion-ranking {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e9f5f7;
    color: #0b6170;
    font-size: .86rem;
    font-weight: 800;
}

.tarjeta-playa h2 {
    margin: 0 0 5px;
    color: #153f52;
    font-size: 1.18rem;
    line-height: 1.2;
}

.tarjeta-playa .estado {
    margin: 0;
    color: #426571;
    font-size: .88rem;
    font-weight: 700;
}

.tarjeta-playa .puntuacion {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    margin: 0;
    padding: 8px 11px;
    border: 1px solid #dcecee;
    border-radius: 12px;
    background: #f3fafb;
    color: #0b6170;
    line-height: 1;
}

.tarjeta-playa .puntuacion strong {
    margin-top: 4px;
    font-size: 1.28rem;
    font-weight: 800;
}

.tarjeta-playa .puntuacion span {
    color: #55737e;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .01em;
    white-space: nowrap;
}

.tarjeta-playa .puntuacion small {
    margin-left: 2px;
    color: #55737e;
    font-size: .68rem;
    font-weight: 700;
}

.resumen-condiciones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 12px;
}

.resumen-condiciones span {
    padding: 7px 10px;
    border: 1px solid #deeaed;
    border-radius: 999px;
    background: #f6fafb;
    color: #294f5e;
    font-size: .84rem;
    font-weight: 650;
}

.tarjeta-contexto {
    justify-content: space-between;
    gap: 12px;
    color: #58717b;
    font-size: .84rem;
}

.tarjeta-playa .explicacion {
    margin: 14px 0 12px;
    padding-top: 12px;
    border-top: 1px solid #edf1f2;
    color: #52666e;
    font-size: .9rem;
    line-height: 1.48;
}

.btn-detalles {
    width: 100%;
    padding: 9px 12px;
    border: 0;
    border-radius: 10px;
    background: #edf7f8;
    color: #0b6170;
    font-weight: 700;
    cursor: pointer;
}

.btn-detalles:hover {
    background: #dceff2;
}

.detalles-mobile p {
    margin: 7px 0;
    color: #405a65;
    font-size: .9rem;
}

@media (max-width: 600px) {
    .filtros {
        gap: 14px;
        padding: 15px;
        border-radius: 16px;
    }
}


/* Selector del tramo horario del pronóstico */
.grupo-horario { min-width: 250px; }
.selector-horario { display: flex; align-items: center; gap: 8px; }
.selector-horario label { font-size: .82rem; font-weight: 650; }
.selector-horario select {
    padding: 10px 9px;
    border: 1px solid #c9d9de;
    border-radius: 10px;
    background: #fff;
    color: #193f50;
    font: inherit;
}
.grupo-horario small { color: #58717b; font-size: .76rem; }

@media (prefers-color-scheme: dark) {
    .selector-horario select {
        border-color: #71808a;
        background: #242424;
        color: #d9f2ff;
    }
    .grupo-horario small { color: #bed4de; }
}

@media (max-width: 600px) {
    .grupo-horario, .selector-horario { width: 100%; }
    .selector-horario select { flex: 1; min-width: 0; }
}


/* Alineación estable de la barra de filtros en escritorio */
@media (min-width: 1250px) {
    .filtros {
        display: grid;
        grid-template-columns:
            minmax(340px, 1.35fr)
            max-content
            minmax(190px, .9fr)
            minmax(315px, 1.2fr)
            max-content;
        column-gap: 24px;
        row-gap: 20px;
        align-items: end;
        padding-bottom: 42px;
    }

    .selector-dia {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .grupo-horario {
        position: relative;
        min-width: 0;
    }

    .grupo-horario small {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        white-space: nowrap;
    }

    .grupo-filtro {
        min-width: 0;
    }

    .grupo-filtro > input,
    .input-con-boton > input {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .input-con-boton {
        align-items: stretch;
    }

    .btn-ubicacion,
    .btn-buscar,
    .btn-vista {
        white-space: nowrap;
    }
}


/* Evita que los controles de la fila desborden el panel */
@media (min-width: 1250px) {
    .filtros {
        grid-template-columns:
            minmax(320px, 1.1fr)
            minmax(180px, .72fr)
            minmax(190px, .82fr)
            minmax(300px, 1.15fr)
            minmax(270px, 1fr);
        column-gap: 18px;
    }

    .btn-ubicacion {
        width: 100%;
        box-sizing: border-box;
        padding-inline: 12px;
    }

    .filtros > .grupo-filtro:last-child .input-con-boton {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        width: 100%;
    }

    .filtros > .grupo-filtro:last-child .btn-vista {
        min-width: 0;
        padding-inline: 10px;
    }
}


/* Mantiene todos los controles en una sola fila en escritorio */
@media (min-width: 1250px) {
    .filtros {
        grid-template-columns:
            minmax(300px, 1.2fr)
            minmax(155px, .65fr)
            minmax(175px, .75fr)
            minmax(280px, 1.1fr)
            minmax(230px, .9fr);
        column-gap: 12px;
    }

    .grupo-horario .etiqueta-grupo {
        white-space: nowrap;
    }

    .filtros > .grupo-filtro:last-child .input-con-boton {
        gap: 6px;
    }

    .filtros > .grupo-filtro:last-child .btn-vista {
        padding-inline: 7px;
    }
}


/* El texto Ocultar detalles debe permanecer dentro de su botón */
@media (min-width: 1250px) {
    .filtros > .grupo-filtro:last-child .input-con-boton {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filtros > .grupo-filtro:last-child .btn-vista {
        padding-inline: 4px;
        font-size: .8rem;
    }
}


/* Enlaces universales de indicaciones en Google Maps */
.nombre-playa-tabla,
.titulo-playa-con-maps {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.titulo-playa-con-maps h2 {
    margin: 0;
}

.enlace-maps {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: max-content;
    min-height: 28px;
    padding: 5px 10px;
    box-sizing: border-box;
    border: 1px solid rgba(11, 114, 133, .24);
    border-radius: 999px;
    background: linear-gradient(135deg, #f4fbfc 0%, #e5f5f7 100%);
    box-shadow: 0 2px 7px rgba(11, 97, 112, .10);
    color: #08677a;
    font-size: .73rem;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    color-scheme: only light;
    forced-color-adjust: none;
    -webkit-text-size-adjust: 100%;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.enlace-maps::before {
    content: "";
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 3 3.85 10.66c-.38.17-.37.72.02.87l6.66 2.59 2.58 6.66c.15.39.7.4.87.02L21.7 3.7c.2-.45-.25-.9-.7-.7Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 3 3.85 10.66c-.38.17-.37.72.02.87l6.66 2.59 2.58 6.66c.15.39.7.4.87.02L21.7 3.7c.2-.45-.25-.9-.7-.7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.enlace-maps:hover {
    transform: translateY(-1px);
    border-color: rgba(11, 114, 133, .48);
    background: linear-gradient(135deg, #e8f8fa 0%, #d5f0f3 100%);
    box-shadow: 0 5px 12px rgba(11, 97, 112, .16);
    color: #075563;
}

.enlace-maps:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(11, 97, 112, .12);
}

.enlace-maps:focus-visible {
    outline: 3px solid rgba(244, 162, 97, .65);
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .enlace-maps {
        -webkit-text-size-adjust: 100%;
    }
}

/* Mantiene el mismo aspecto claro aunque el móvil anuncie modo oscuro.
   Algunos navegadores Samsung aplican esa preferencia sin oscurecer la página. */
@media (prefers-color-scheme: dark) {
    .enlace-maps {
        border-color: rgba(11, 114, 133, .24);
        background: linear-gradient(135deg, #f4fbfc 0%, #e5f5f7 100%);
        box-shadow: 0 2px 7px rgba(11, 97, 112, .10);
        color: #08677a;
    }

    .enlace-maps:hover {
        border-color: rgba(11, 114, 133, .48);
        background: linear-gradient(135deg, #e8f8fa 0%, #d5f0f3 100%);
        box-shadow: 0 5px 12px rgba(11, 97, 112, .16);
        color: #075563;
    }
}


/* Jerarquía de la tarjeta: puntaje principal y navegación accesoria */
.tarjeta-playa .puntuacion {
    padding: 10px 13px;
    border-width: 2px;
    box-shadow: 0 4px 12px rgba(11, 97, 112, .09);
}

.tarjeta-playa .puntuacion strong {
    font-size: 1.55rem;
}

.tarjeta-playa .puntuacion span {
    font-size: .7rem;
}

.tarjeta-destino {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    text-align: right;
}

.tarjeta-destino > span {
    white-space: nowrap;
}

.tarjeta-playa .enlace-maps-tarjeta,
.tarjeta-playa .enlace-maps-tarjeta:hover {
    min-height: auto;
    padding: 2px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #4f7d86;
    font-size: .68rem;
    font-weight: 700;
    transform: none;
}

.tarjeta-playa .enlace-maps-tarjeta::before {
    flex-basis: 11px;
    width: 11px;
    height: 11px;
}

@media (prefers-color-scheme: dark) {
    .tarjeta-playa .enlace-maps-tarjeta,
    .tarjeta-playa .enlace-maps-tarjeta:hover {
        background: transparent;
        box-shadow: none;
        color: #83cbd5;
    }
}
