.overlaycard {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: 100%;
    min-height: 220px;
    background-size: cover;
    background-position: center center;
}

.overlaycard::before {
    background-image: linear-gradient(360deg, var(--dark-70) 10%, rgba(0, 0, 0, 0) 40%);
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
}

.overlaycard > * {
    position: relative;
}

.blog-post__bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brx-popup {
    z-index: 10001;
}

html {
    scroll-behavior: smooth;
    color-scheme: only light;
    background: #ffffff;
}

#tarifas,
#ubicaciones,
#contacto,
#flota {
    scroll-margin-top: 24px;
}

.anchor-arrived {
    animation: anchor-arrive 1.2s ease;
}

@keyframes anchor-arrive {
    0% { box-shadow: inset 0 0 0 999px rgba(39, 160, 110, 0.18); }
    100% { box-shadow: inset 0 0 0 999px rgba(39, 160, 110, 0); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .anchor-arrived { animation: none; }
}

.pueblo-feature .feature__container {
    display: block;
}

.pueblo-feature .feature__description {
    max-width: none;
    display: flow-root;
}

.pueblo-feature .pueblo-photo {
    float: right;
    width: min(48%, 560px);
    height: auto;
    margin: 0 0 8px 32px;
}

.pueblo-feature .pueblo-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .pueblo-feature .pueblo-photo {
        float: none;
        width: 100%;
        margin: 0 0 16px;
    }
}

.bricks-is-frontend :not(.brx-animated)[data-interaction-hidden-on-load] {
    opacity: 1;
}

html.motions .bricks-is-frontend :not(.brx-animated)[data-interaction-hidden-on-load] {
    opacity: 0;
}

.blog-posts__wrapper.is-collapsed .pueblo-extra {
    display: none;
}

#ubicaciones {
    background-color: var(--bg-surface);
}

body,
#brx-content {
    background: #ffffff;
}

#flota,
#brxe-848740 {
    position: relative;
    z-index: 2;
    isolation: isolate;
    background: #ffffff !important;
}

#brxe-a7a29a {
    background: #ffffff;
}

#brxe-b6f0c0 {
    z-index: auto !important;
    overflow: hidden !important;
    contain: paint;
    isolation: isolate;
    clip-path: inset(0);
}

#brxe-b6f0c0 .bricks-background-video-wrapper {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    z-index: 0 !important;
    overflow: hidden !important;
    transform: none !important;
    background: transparent !important;
}

#brxe-b6f0c0 .bricks-background-video-wrapper .hero-video-poster,
#brxe-b6f0c0 .bricks-background-video-wrapper video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transform: none !important;
    background: transparent !important;
    pointer-events: none;
}

#brxe-b6f0c0 > :not(.bricks-background-video-wrapper) {
    position: relative;
    z-index: 1;
}

#ubicaciones,
#brxe-599993,
#brxe-773346,
#tarifas,
#brxe-cc6457,
#brxe-688d00 {
    position: relative;
    z-index: 1;
    background-color: #e6e6e6;
}

#ubicaciones {
    background-color: #ffffff !important;
}

/* Imported reviews: layout and navigation are local, without the WP widget runtime. */
#brxe-848740 .ti-widget,
#brxe-848740 .ti-widget-container,
#brxe-848740 .ti-reviews-container { min-width: 0; width: 100%; }

#brxe-848740 .ti-widget-container {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

#brxe-848740 .ti-widget-container .ti-footer,
#brxe-848740 .ti-widget-container .ti-reviews-container {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0;
}

#brxe-848740 .ti-reviews-container { touch-action: pan-x pan-y; }

#brxe-848740 .ti-reviews-container-wrapper {
    display: flex;
    gap: 16px;
    margin: 0 !important;
    padding: 0 0 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
}

#brxe-848740 .ti-review-item {
    flex: 0 0 calc((100% - 16px) / 2);
    max-width: none;
    min-width: 0;
    padding: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

#brxe-848740 .ti-review-item > .ti-inner { height: 100%; }
#brxe-848740 .ti-review-content {
    display: block;
    height: auto !important;
    overflow: visible;
    overflow-wrap: anywhere;
    -webkit-line-clamp: unset;
}
#brxe-848740 .ti-read-more,
#brxe-848740 .ti-controls-line { display: none !important; }

#brxe-848740 .ti-controls { display: none !important; }
#brxe-848740 .reviews-ready .ti-controls {
    display: flex !important;
    position: static;
    justify-content: flex-end;
    gap: 12px;
    height: auto;
    margin: 4px 0 0;
}
#brxe-848740 .ti-controls .ti-prev,
#brxe-848740 .ti-controls .ti-next {
    position: static;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #c7d4ce;
    border-radius: 50%;
    background: #ffffff;
    color: #173028;
    font: 24px/1 system-ui, sans-serif;
    transform: none;
    cursor: pointer;
}
#brxe-848740 .ti-controls .ti-prev::before,
#brxe-848740 .ti-controls .ti-prev::after,
#brxe-848740 .ti-controls .ti-next::before,
#brxe-848740 .ti-controls .ti-next::after { content: none; }
#brxe-848740 .ti-controls button:disabled { opacity: .35; cursor: default; }
#brxe-848740 .ti-controls button:focus-visible,
#brxe-848740 .ti-reviews-container-wrapper:focus-visible { outline: 2px solid #173028; outline-offset: 2px; }

@media (max-width: 900px) {
    #brxe-848740 .ti-widget-container { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
    #brxe-848740 .ti-review-item { flex-basis: 100%; }
}
@media (min-width: 1200px) {
    #brxe-848740 .ti-review-item { flex-basis: calc((100% - 32px) / 3); }
}

#ubicaciones .blog-post__bg-img {
    z-index: 0;
}

#ubicaciones .blog-post__overlay {
    z-index: 1;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 46%);
}

#ubicaciones .blog-post__info-overlay {
    z-index: 2;
}

.locations-more {
    display: flex;
    justify-content: center;
    margin-top: var(--space-m);
}

body:has(.legal) #brxe-gocxmy {
    background-color: #ffffff;
    box-shadow: 0 1px 0 #e6eeea;
}

body:has(.legal) #brxe-zsccpz {
    filter: brightness(0) saturate(100%);
}

body:has(.legal) .header__menu--last-item.brxe-nav-menu .bricks-nav-menu > li > a,
body:has(.legal) .header__menu.brxe-nav-menu .bricks-nav-menu .current-menu-item > a,
body:has(.legal) .header__menu.brxe-nav-menu .bricks-nav-menu li > a:hover,
body:has(.legal) .header__menu.brxe-nav-menu .bricks-nav-menu .current-menu-item > a:hover,
body:has(.legal) #brxe-abpawl .bricks-mobile-menu > li > a {
    color: #173028 !important;
}

.legal {
    background: #ffffff;
    color: #24332c;
    padding: 112px 24px 80px;
}

.legal-wrap {
    width: min(760px, 100%);
    margin: 0 auto;
}

.legal h1 {
    margin: 0 0 22px;
    color: #173028;
    font-size: clamp(32px, 4vw, 40px);
    line-height: 1.15;
    font-weight: 650;
}

.legal-body h2 {
    margin: 36px 0 12px;
    color: #173028;
    font-size: 22px;
    line-height: 1.3;
}

.legal-body h3 {
    margin: 0 0 6px;
    color: #173028;
    font-size: 16px;
}

.legal-body p,
.legal-body li {
    margin: 0 0 14px;
    line-height: 1.7;
}

.legal-body strong,
.feature__description strong {
    font-weight: 700;
}

.legal-body ul {
    margin: 0 0 18px;
    padding-left: 1.2em;
}

.legal-body code {
    font-size: 0.92em;
}

.legal-facts {
    list-style: none;
    margin: 0 0 18px;
    padding: 16px 18px;
    background: #f4f7f5;
    border-radius: 16px;
}

.legal-facts li {
    margin: 0;
    padding: 6px 0;
    line-height: 1.45;
}

.legal-facts li + li {
    border-top: 1px solid #e1ebe6;
}

.legal-kind {
    margin: 0 0 8px;
    padding: 14px 0;
    border-top: 1px solid #e1ebe6;
}

.legal-kind p { margin: 0; }

.legal-table-wrap {
    overflow-x: auto;
    margin: 8px 0 22px;
    border: 1px solid #e1ebe6;
    border-radius: 16px;
}

table.legal-cookies {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

table.legal-cookies th,
table.legal-cookies td {
    text-align: left;
    padding: 12px 14px;
    vertical-align: top;
    border-bottom: 1px solid #e1ebe6;
}

table.legal-cookies tr:last-child td { border-bottom: 0; }

table.legal-cookies th {
    background: #f7faf8;
    color: #5d7268;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

table.legal-cookies td:first-child {
    font-weight: 650;
    white-space: nowrap;
}

.legal-consent { margin: 8px 0 18px; }

.legal-consent button,
.legal-wa {
    display: inline-flex;
    align-items: center;
    border: 0;
    border-radius: 999px;
    background: #27a06e;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 16px;
    cursor: pointer;
    font: inherit;
}

.legal-card {
    display: grid;
    gap: 8px;
    margin-top: 8px;
    padding: 18px;
    background: #f4f7f5;
    border-radius: 16px;
}

.legal-card a { color: #173028; }
.legal-card p { margin: 0; }
.legal-card .legal-wa { justify-self: start; margin-top: 6px; }

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e1ebe6;
}

.legal-links a {
    color: #173028;
    text-decoration: none;
    border: 1px solid #d7e3dc;
    border-radius: 999px;
    padding: 8px 14px;
    background: #ffffff;
}
