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

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

.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;
}

/* Language switch.

   global.css sets "a { color: inherit }", so without an explicit colour this
   link inherited body's #333 and sat on the brand gradient at 1.11:1 contrast,
   effectively invisible. Styled as a pill matching the header nav so it reads
   as a control rather than body text. */
.location-page__switch {
    margin-top: 0.35rem;
}

.location-page__switch a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(17, 16, 143, 0.28);
    backdrop-filter: blur(18px);
    color: #ffffff;
    font-family: "Montserrat", "Segoe UI", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.location-page__switch a::before {
    content: "\1F310";
    font-size: 0.9em;
}

.location-page__switch a:hover,
.location-page__switch a:focus-visible {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(17, 16, 143, 0.45);
    transform: translateY(-1px);
}

.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(15, 23, 65, 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: #1715ff;
    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(23, 21, 255, 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(15, 23, 65, 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(15, 23, 65, 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(13, 12, 105, 0.78), rgba(7, 7, 61, 0.86));
    box-shadow: 0 18px 45px rgba(7, 10, 61, 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: #1715ff;
    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;
    }
}
