.cardsRail {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 6px 18px;

    scroll-snap-type: x proximity;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;

    cursor: grab;
    user-select: auto;

    /* en móvil: deja scroll vertical normal en la página */
    touch-action: pan-x;
}

.cardsRail.is-dragging {
    cursor: grabbing;
    /*user-select: none;*/
    scroll-snap-type: none;
}

.cardsRail .card {
    flex: 0 0 360px;
    scroll-snap-align: start;
}

/* Esto evita que el navegador intente “arrastrar” la imagen como archivo */
.cardsRail img {
    user-drag: none;
    -webkit-user-drag: none;
}

.card__imgWrap {
    cursor: grab;
}

.cardsRail.is-dragging .card__imgWrap {
    cursor: grabbing;
}

/* texto normal, clickeable */
.card__body {
    user-select: text;
    cursor: default;
}


/* Ocupa todo el ancho del carril (importantísimo si tu .card es <a>) */
/*.cardsRail .card {
    width: 100%;
    max-width: 420px;
    /* para que no sean gigantes en pantallas enormes */
/*}*/

/* Solo la imagen sirve para “agarrar y arrastrar” */
.cardsRail .card__imgWrap {
    cursor: grab;
}

.cardsRail.is-dragging .card__imgWrap {
    cursor: grabbing;
}

/* El texto vuelve a comportarse normal (clic sin arrastre) */
.cardsRail .card__body {
    cursor: default;
    user-select: text;
}

/* Imágenes con tamaño consistente */
.card__imgWrap {
    height: 260px;
    border-radius: 22px 22px 0 0;
    overflow: hidden;
    background: #f3f3f3;
}

/*
.card__imgWrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
    /* la imagen no “captura” eventos */
/*}*/

/* Scrollbar bonita (opcional) */
.cardsRail::-webkit-scrollbar {
    height: 10px;
    display: none;
}

.cardsRail::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .18);
    border-radius: 999px;
}


.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 247, 239, .80);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 900;
}

.logo__mark {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    box-shadow: 0 0 0 6px rgba(15, 118, 110, .12);
}

.menu {
    display: flex;
    gap: 18px;
}

.menu a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 800;
    font-size: 14px;
}

.menu a:hover {
    color: var(--ink);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 16px;
    font-weight: 900;
    text-decoration: none;
    border: 1px solid transparent;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #fff;
    box-shadow: 0 14px 35px rgba(15, 118, 110, .22);
}

.btn--ghost {
    background: rgba(255, 255, 255, .85);
    border: 1px solid var(--line);
    color: var(--ink);
}

.btn--ghost:hover {
    border-color: rgba(15, 118, 110, .35);
}

.w100 {
    width: 100%;
}

/* Hero */
.hero {
    min-height: 72vh;
    position: relative;
    display: grid;
    place-items: end start;
    border-bottom: 1px solid var(--line);
    overflow: hidden;

    /* IMAGEN PRINCIPAL NÍTIDA (encima del blur) */
    background-image: url('/assets/img/hero/plazaArmas.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    /* IMPORTANTE: que NO tenga filter aquí */
    filter: none;
}

/* Fondo borroso: SOLO detrás */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/assets/img/hero/plazaArmas.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    filter: blur(1px) brightness(0.6);
    z-index: 0;
}

/* Overlay: encima del blur, debajo del contenido */
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .65));
    z-index: 1;
}

/* Contenido: arriba de todo */
.hero__content {
    position: relative;
    z-index: 2;
    padding: 56px 0;
    max-width: 72ch;
}

.hero h1,
.hero .lead {
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 14px 42px rgba(0, 0, 0, .55);
}


.eyebrow {
    display: inline-block;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .75);
    border: 1px solid var(--line);
    color: var(--muted);
    font-weight: 900;
}

.hero h1 {
    margin-top: 12px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.02;
}

.lead {
    line-height: 1.65;
}

.hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
}

/* Grids */
.grid {
    display: grid;
    gap: 14px;
}

.grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.section__head {
    margin-bottom: 18px;
}

.section__head h2 {
    font-size: 34px;
}

/* Cards con imágenes uniformes */
.card {
    background: rgba(255, 255, 255, .86);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(31, 35, 40, .10);
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    display: flex;
    flex-direction: column;
}

.card__imgWrap {
    height: 260px;
    overflow: hidden;
    background: #f3f3f3;
    cursor: grab;
}

.card__imgWrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cardsRail.is-dragging .card__imgWrap {
    cursor: grabbing;
}

.card__body {
    padding: 14px;
}

.card__body h3 {
    font-family: "Playfair Display", serif;
}

.link {
    color: var(--accent);
    font-weight: 900;
}

/* Info cards */
.infoCard {
    background: rgba(255, 255, 255, .84);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 12px 40px rgba(31, 35, 40, .10);
}

.infoCard h3 {
    font-family: "Playfair Display", serif;
}

/* Guide section */
.guide {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 16px;
    align-items: center;
}

.guide__photo img {
    width: 100%;
    aspect-ratio: 4/4;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.bullets {
    margin: 12px 0 16px;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, .65);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    padding: 28px 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 16px;
    align-items: center;
    /* clave: centra vertical */
}

.footer__brand {
    margin: 0;
    font-weight: 900;
}

.footer__cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    /* centra CTA */
    text-align: center;
}

.footer__meta {
    display: flex;
    justify-content: flex-end;
    /* derecha */
}

.footer__meta .muted {
    margin: 0;
}

/* Responsive */
@media (max-width: 980px) {
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 12px;
        align-items: start;
    }

    .footer__cta {
        align-items: stretch;
        text-align: left;
    }

    .footer__meta {
        justify-content: flex-start;
    }
}

/* WhatsApp flotante (global) */
.waFloat {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--line);
    box-shadow: 0 18px 45px rgba(31, 35, 40, .18);
    display: grid;
    place-items: center;
    z-index: 60;
}

.waFloat img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 980px) {
    .menu {
        display: none;
    }

    .grid--4 {
        grid-template-columns: 1fr;
    }

    .grid--3 {
        grid-template-columns: 1fr;
    }

    .grid--2 {
        grid-template-columns: 1fr;
    }

    .guide {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr;
    }
}

/**Guia**/

.guideBlock {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.guideCard,
.locCard {
    background: rgba(255, 255, 255, .88);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 16px 45px rgba(31, 35, 40, .10);
    padding: 18px;
}

/* Contenido del guía: foto + lista bien alineado */
.guideCard__content {
    display: flex;
    gap: 14px;
    align-items: center;
    margin: 1px 0 10px;
}

.guideCard__photo {
    width: 300px;
    height: 360px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #f2f2f2;
    flex: 0 0 auto;
}

.guideCard__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.guideList {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.7;
}

/* MAPA: altura controlada (ya no se come todo) */
.locCard__map {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #ececec;
    height: clamp(220px, 28vw, 320px);
    /* ✅ clave */
}

.locCard__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.locCard__meta {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.locRow {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--muted);
    line-height: 1.5;
}

.locBtn {
    padding: 10px 14px;
    border-radius: 14px;
    font-weight: 900;
}

/* Responsive */
@media (max-width: 980px) {
    .guideBlock {
        grid-template-columns: 1fr;
    }

    .guideCard__photo {
        width: 96px;
        height: 96px;
        border-radius: 16px;
    }
}

.waGuide {
    align-self: flex-end;
    /* derecha */
    margin-top: 10px;
    /* separación normal */
}

/***********************/
/* Deportes acuáticos - carril de tarjetas */
/***********************/