/* ---------------------------------------------------------------------------
   City landing pages (/renta-de-autos-*).

   Like /preguntas, these set no background of their own and sit on the red body
   gradient from global.css. Long-form copy goes in white cards so it stays
   readable; headings and lede stay white on the red.
   --------------------------------------------------------------------------- */

.location-page {
    padding: 7.5rem 1.25rem 3rem;
}

.location-page__shell {
    width: min(880px, 100%);
    margin: 0 auto;
}

.location-breadcrumb {
    margin-bottom: 1.25rem;
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.72);
}

.location-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.location-breadcrumb span[aria-hidden] {
    margin: 0 0.4rem;
    opacity: 0.6;
}

.location-page__intro {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.location-page__intro .home-module__eyebrow {
    justify-self: start;
    color: #ffffff;
}

.location-page__intro h1 {
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-size: clamp(1.9rem, 4.5vw, 2.7rem);
    font-weight: 800;
    line-height: 1.12;
    color: #ffffff;
}

.location-page__lede p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.02rem;
    line-height: 1.65;
}

.location-page__lede strong {
    color: #ffffff;
}

/* Long-form sections: white cards for readability. */
.location-card,
.location-page__body,
.location-page__other {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 18px 40px rgba(32, 13, 13, 0.1);
    color: #4a5364;
}

.location-page__body h2,
.location-card h2,
.location-page__other h2 {
    margin: 1.75rem 0 0.75rem;
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #1f2230;
    /* clear the fixed header when linked from the in-page anchors */
    scroll-margin-top: 6.5rem;
}

.location-page__body h2:first-child,
.location-card h2:first-child,
.location-page__other h2:first-child {
    margin-top: 0;
}

.location-page__body p,
.location-card p,
.location-page__other p {
    margin-bottom: 0.9rem;
    line-height: 1.65;
}

.location-page__body ul,
.location-page__other ul {
    margin: 0 0 1rem 1.1rem;
    padding: 0;
}

.location-page__body li,
.location-page__other li {
    margin-bottom: 0.55rem;
    line-height: 1.6;
}

.location-page__body strong,
.location-card strong {
    color: #1f2230;
}

.location-page__body a,
.location-card a,
.location-page__other a {
    color: #c8102e;
    font-weight: 700;
}

.location-card__note {
    font-size: 0.9rem;
    color: #6b7484;
}

.location-card__map {
    display: inline-block;
    text-decoration: none;
    border-bottom: 2px solid rgba(200, 16, 46, 0.35);
    padding-bottom: 0.1rem;
}

/* Deposit table */
.location-table-wrap {
    overflow-x: auto;
    margin: 0 0 1rem;
}

.location-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.location-table th,
.location-table td {
    padding: 0.55rem 0.7rem;
    text-align: left;
    border-bottom: 1px solid rgba(32, 13, 13, 0.1);
}

.location-table th {
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-weight: 700;
    color: #1f2230;
}

/* Reuses .home-faq-item from home-shell.css for the accordions. */
.location-faq {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.location-faq .home-faq-item {
    background: #ffffff;
    border: 1px solid rgba(32, 13, 13, 0.12);
    border-radius: 16px;
    padding: 0.9rem 1.1rem;
}

.location-cta {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(92, 5, 18, 0.78), rgba(46, 2, 12, 0.86));
    box-shadow: 0 18px 45px rgba(58, 4, 4, 0.22);
}

.location-cta h2 {
    margin-bottom: 0.5rem;
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
}

.location-cta p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.location-cta__link {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    background: #ffffff;
    color: #c8102e;
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.location-cta__link:hover,
.location-cta__link:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

@media (max-width: 640px) {
    .location-page {
        padding-top: 6rem;
    }

    .location-card,
    .location-page__body,
    .location-page__other,
    .location-cta {
        padding: 1.15rem;
    }
}
