.category-page {
    --category-navy: #153b79;
    --category-pink: #ed0753;
    --category-muted: #7184a8;
    --category-line: #e9eef7;
    --category-soft-pink: #fff1f6;
    margin: 0;
    color: var(--category-navy);
    background: #fff;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.category-page * { box-sizing: border-box; }
.category-page a { text-decoration: none; }

.category-container {
    width: 100%;
    max-width: 1920px;
    margin-inline: auto;
    padding-inline: 58px;
}

.category-hero {
    position: relative;
    z-index: 3;
    min-height: 470px;
    padding: 20px 0 0;
    overflow: visible;
    background: #fff;
}

.category-hero-image {
    position: absolute;
    inset: 0 0 auto;
    height: 460px;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 27%, rgba(255,255,255,.12) 62%, rgba(255,255,255,0) 100%),
        var(--category-hero-image, url("../../img/web/imagen-portada.jpg"));
    background-repeat: no-repeat;
    background-position: center, center 43%;
    background-size: cover;
    pointer-events: none;
}

.category-hero .category-container {
    position: relative;
    z-index: 1;
}

.category-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--category-muted);
    font-size: 13px;
}

.category-breadcrumb a { color: var(--category-navy); }
.category-breadcrumb span { color: var(--category-pink); }
.category-breadcrumb i { font-size: 10px; }

.category-hero-copy {
    max-width: 510px;
    padding: 24px 0 20px;
}

.category-hero-copy h1 {
    margin: 0;
    color: var(--category-navy);
    font-size: clamp(36px, 4.4vw, 50px);
    font-weight: 850;
    letter-spacing: -2px;
    line-height: .99;
}

.category-hero-copy h1 strong {
    display: block;
    color: var(--category-pink);
    font-weight: 900;
}

.category-hero-copy h1 strong.category-hero-highlight { display: inline; }

.category-hero-copy p {
    max-width: 465px;
    margin: 14px 0 0;
    color: var(--category-muted);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
}

.category-search {
    position: relative;
    z-index: 2;
    width: min(980px, 100%);
    padding: 18px 24px 14px;
    border: 1px solid var(--category-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(31, 49, 84, .09);
}

.category-search-row {
    display: grid;
    grid-template-columns: minmax(0, 27fr) minmax(0, 27fr) minmax(0, 27fr) minmax(130px, 19fr);
    align-items: end;
    gap: 12px;
}

.category-search-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.category-search-label {
    display: block;
    margin: 0 0 8px;
    color: #223b6e;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.category-search-control {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 50px;
    padding-left: 44px;
    border: 2px solid #edf1f8;
    border-radius: 8px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.category-search-control:focus-within {
    border-color: #ffc2d8;
    box-shadow: 0 0 0 4px rgba(221,4,81,.08);
}

.category-search-control > i:first-child {
    position: absolute;
    left: 14px;
    color: var(--category-pink);
    font-size: 22px;
    line-height: 1;
}

.category-search-select,
.category-search-input {
    align-self: stretch;
    width: 100%;
    min-width: 0;
    padding: 0 14px 0 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #243b6b;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
}

.category-search-select {
    display: flex;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
}

.category-search-select > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-search-select > span.is-placeholder,
.category-search-input::placeholder { color: #7f8ca9; }

.category-search-input { padding-right: 10px; }

.category-search-caret {
    position: absolute;
    top: 50%;
    right: 15px;
    color: #7f8ca9;
    font-size: 14px;
    pointer-events: none;
    transform: translateY(-50%);
    transition: transform .2s ease;
}

.category-search-control:has([aria-expanded="true"]) .category-search-caret {
    transform: translateY(-50%) rotate(180deg);
}

.category-search-control.has-dates .category-search-caret { display: none; }

.category-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: -2px;
    z-index: 50;
    width: max-content;
    min-width: calc(100% + 4px);
    max-width: min(380px, calc(100vw - 32px));
    max-height: 340px;
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    border: 1px solid #edf1f8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(30,50,88,.16);
    list-style: none;
}

.category-search-dropdown[hidden],
.category-search-suggestions:empty { display: none; }

.category-picker-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
}

.category-picker-option:hover,
.category-picker-option.is-active { background: #fff2f7; }

.category-picker-icon {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 22px;
}

.category-picker-icon.color-pink { background: #fff0f5; color: #dd0451; }
.category-picker-icon.color-orange { background: #fff6e8; color: #ff9d00; }
.category-picker-icon.color-green { background: #eafaf1; color: #1fbf69; }
.category-picker-icon.color-blue { background: #edf6ff; color: #2a8bf2; }
.category-picker-icon.color-purple { background: #f4efff; color: #7a39d3; }
.category-picker-icon.color-cyan { background: #eafafd; color: #20b9ce; }
.category-picker-icon.color-red { background: #fff0ef; color: #e5483d; }
.category-picker-icon.color-brown { background: #f8f1e9; color: #a0662b; }

.category-picker-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; }
.category-picker-copy strong { color: #1f3a6b; font-size: 15px; font-weight: 800; line-height: 1.15; }
.category-picker-copy small { color: #6c7ea3; font-size: 12px; line-height: 1.25; }
.category-picker-option[aria-selected="true"] .category-picker-copy strong { color: var(--category-pink); }
.category-picker-check { visibility: hidden; color: var(--category-pink); font-size: 20px; }
.category-picker-option[aria-selected="true"] .category-picker-check { visibility: visible; }

.category-search-suggestions {
    width: max-content;
    min-width: calc(100% + 4px);
    max-width: min(380px, calc(100vw - 32px));
}

.category-search-suggestions .suggestion {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    cursor: pointer;
}

.category-search-suggestions .suggestion:hover,
.category-search-suggestions .suggestion.highlighted { background: #fff2f7; }
.category-search-suggestions .suggestion-icon { flex-shrink: 0; margin-top: 1px; color: var(--category-pink); font-size: 17px; }
.category-search-suggestions .suggestion-copy { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.category-search-suggestions .suggestion-name { color: #1f3a6b; font-size: 14.5px; font-weight: 800; line-height: 1.2; }
.category-search-suggestions .suggestion-context { color: #6c7ea3; font-size: 12.5px; line-height: 1.25; }

.category-search-hint {
    position: absolute;
    top: calc(100% + 8px);
    left: -2px;
    z-index: 30;
    max-width: calc(100% + 4px);
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #e3e9f5;
    border-radius: 8px;
    background: #f7f9ff;
    box-shadow: 0 10px 24px rgba(30,50,88,.1);
    color: #5f7296;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.category-search-hint[hidden] { display: none; }
.category-search-hint.is-warning { border-color: #fcd34d; background: #fffbeb; color: #b45309; }

.category-dates-clear {
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 2;
    width: 28px;
    height: 28px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #7f8ca9;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.category-dates-clear[hidden] { display: none; }

.category-search-dropdown.category-dates-menu {
    width: min(360px, calc(100vw - 32px));
    min-width: 0;
    max-width: none;
    max-height: none;
    overflow: visible;
    padding: 14px;
}

.category-dates-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #7f8ca9;
}

.category-dates-step { padding: 7px 12px; border: 2px solid #edf1f8; border-radius: 8px; }
.category-dates-step small { display: block; color: #7f8ca9; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.category-dates-step strong { display: block; overflow: hidden; color: #1f3a6b; font-size: 14px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.category-dates-step.is-current { border-color: var(--category-pink); box-shadow: 0 0 0 4px rgba(221,4,81,.08); }

.category-dates-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f3f9;
    color: #5f7296;
    font-size: 12px;
    line-height: 1.3;
}

.category-dates-hint { flex-basis: 100%; }
.category-dates-reset { padding: 6px 0; border: 0; background: none; color: #1f3a6b; font-size: 12px; font-weight: 800; text-decoration: underline; cursor: pointer; }
.category-dates-done { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 18px; border: 0; border-radius: 8px; background: #1f3a6b; color: #fff; font-size: 13px; font-weight: 800; cursor: pointer; }

.category-search-button {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: var(--category-pink);
    box-shadow: 0 12px 28px rgba(221,4,81,.25);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .15s ease;
}

.category-search-button:hover { background: #d9044b; color: #fff; }

.category-search-trust {
    display: grid;
    grid-template-columns: 30% 30% 40%;
    margin-top: 14px;
}

.category-search-trust span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 28px;
    color: #5b6c90;
    font-size: clamp(12px, 1.3vw, 15px);
    font-weight: 500;
    text-align: center;
    padding: 0 8px;
    border-left: 1px solid var(--category-line);
    white-space: nowrap;
}

.category-search-trust span:first-child { border-left: 0; }
.category-search-trust i { color: #506899; font-size: 19px; }

.category-benefits {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    width: calc(100% - 32px);
    max-width: none;
    padding: clamp(18px, 1.2vw, 24px) clamp(18px, 2vw, 40px) clamp(14px, 1vw, 20px);
    border-radius: 14px;
    background: linear-gradient(110deg, #fff0f6 0%, #fff8fb 100%);
}

.category-section-heading h2 {
    margin: 0;
    color: var(--category-navy);
    font-size: clamp(22px, 2.5vw, 29px);
    font-weight: 850;
    letter-spacing: -.7px;
    line-height: 1.2;
}

.category-section-heading p {
    margin: 4px 0 0;
    color: var(--category-muted);
    font-size: 14px;
    line-height: 1.4;
}

.category-benefits .category-section-heading h2 {
    font-size: clamp(22px, 1.65vw, 34px);
    letter-spacing: -.7px;
}

.category-benefits .category-section-heading p {
    margin-top: 6px;
    font-size: clamp(14px, 1vw, 20px);
}

.category-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 1.2vw, 24px);
    margin-top: clamp(12px, .9vw, 18px);
}

.category-benefit-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-benefit-grid--three .category-benefit-card {
    display: grid;
    grid-template-columns: clamp(54px, 3vw, 62px) minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: clamp(12px, 1vw, 20px);
    row-gap: 4px;
    min-height: clamp(132px, 7vw, 150px);
    padding: clamp(16px, 1.1vw, 22px);
    border-color: rgba(235, 47, 94, .12);
    box-shadow: 0 8px 22px rgba(31, 59, 114, .05);
}

.category-benefit-grid--three .category-benefit-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    width: clamp(54px, 3vw, 62px);
    height: clamp(54px, 3vw, 62px);
    font-size: clamp(27px, 1.6vw, 31px);
}

.category-benefit-grid--three .category-benefit-card h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 4px;
    font-size: clamp(17px, 1.15vw, 22px);
}

.category-benefit-grid--three .category-benefit-card p {
    grid-column: 2;
    grid-row: 2;
    font-size: clamp(15px, 1.05vw, 19px);
    line-height: 1.42;
}

.category-benefit-card {
    min-height: clamp(170px, 9vw, 190px);
    padding: clamp(14px, 1.2vw, 24px);
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 12px;
    background: rgba(255,255,255,.72);
}

.category-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(42px, 2.6vw, 54px);
    height: clamp(42px, 2.6vw, 54px);
    border-radius: 50%;
    background: #ffe4ef;
    color: var(--category-pink);
    font-size: clamp(22px, 1.35vw, 27px);
}

.category-benefit-card h3 {
    margin: clamp(8px, .6vw, 12px) 0 6px;
    color: var(--category-navy);
    font-size: clamp(15px, 1vw, 20px);
    font-weight: 800;
}

.category-benefit-card p {
    margin: 0;
    color: var(--category-muted);
    font-size: clamp(13px, .9vw, 18px);
    line-height: 1.4;
}

.category-locations {
    margin-top: 10px;
    padding: 18px 0 20px;
    background: linear-gradient(100deg, #fff9fb 0%, #fff1f6 100%);
}

.category-locations-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.category-city-grid {
    display: grid;
    grid-template-columns: 30% 1fr;
    gap: 18px;
    align-items: center;
    margin-top: 14px;
}

.category-location-map {
    display: block;
    width: 100%;
    height: auto;
}

.category-city-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.category-city-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid rgba(233,238,247,.8);
    border-radius: 7px;
    background: rgba(255,255,255,.92);
    color: var(--category-navy);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.category-city-list a:hover { border-color: var(--category-pink); color: var(--category-pink); }
.category-city-list span { min-width: 0; }
.category-city-list i { flex: 0 0 auto; color: #486ca9; font-size: 11px; }

/* The rest of the cities, folded under the first ones: in a box with its own scroll when it is open */
.category-city-more { margin-top: 12px; }

.category-city-more summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--category-pink);
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    list-style: none;
}

.category-city-more summary::-webkit-details-marker { display: none; }
.category-city-more summary i { font-size: 12px; transition: transform .2s ease; }
.category-city-more[open] summary i { transform: rotate(180deg); }
.category-city-more summary:focus-visible { outline: 3px solid rgba(221, 4, 81, .3); outline-offset: 3px; }

.category-city-more-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 2px 12px;
    max-height: 340px;
    margin-top: 10px;
    padding: 12px 14px;
    overflow-y: auto;
    border: 1px solid rgba(233,238,247,.8);
    border-radius: 7px;
    background: rgba(255,255,255,.92);
}

.category-city-more-list a {
    overflow: hidden;
    padding: 5px 0;
    color: var(--category-navy);
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-city-more-list a:hover { color: var(--category-pink); }

.category-featured-section {
    padding: 30px 0 34px;
    background: #fff;
}

.category-featured-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.category-featured-title h2 {
    margin: 0 0 7px;
    color: var(--category-navy);
    font-size: clamp(26px, 2.2vw, 38px);
    font-weight: 850;
    line-height: 1.15;
}

.category-featured-title p {
    margin: 0;
    color: var(--category-muted);
    font-size: clamp(14px, 1.2vw, 19px);
    line-height: 1.45;
}

.category-featured-all {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--category-pink);
    font-size: clamp(15px, 1.2vw, 20px);
    font-weight: 800;
    text-decoration: none;
}

.category-featured-all i { font-size: 20px; transition: transform .2s ease; }
.category-featured-all:hover i { transform: translateX(4px); }

.category-featured-carousel { position: relative; }

.category-featured-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 2px 2px 16px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.category-featured-track::-webkit-scrollbar { display: none; }

.category-featured-card {
    display: block;
    flex: 0 0 calc((100% - 48px) / 4);
    min-width: 0;
    overflow: hidden;
    color: inherit;
    border: 1px solid #e8edf6;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(21, 37, 69, .08);
    scroll-snap-align: start;
    transition: transform .2s ease, box-shadow .2s ease;
}

.category-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(21, 37, 69, .13);
}

.category-featured-photo { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #f1f3f8; }
.category-featured-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.category-featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0 10px;
    border-radius: 999px;
    background: #2f6bff;
    color: #fff;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .04em;
}

.category-featured-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(26, 41, 72, .18);
    color: var(--category-pink);
    font-size: 19px;
}

.category-featured-card-body { padding: 14px 15px 15px; }
.category-featured-card h3 { overflow: hidden; margin: 0 0 8px; color: var(--category-navy); font-size: clamp(16px, 1.25vw, 22px); font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.category-featured-meta { display: flex; align-items: center; gap: 7px; margin: 0 0 14px; color: var(--category-muted); font-size: 13px; font-weight: 650; }
.category-featured-meta span:first-child { white-space: nowrap; }
.category-featured-meta .bi-star-fill { color: #ffb100; }
.category-featured-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.category-featured-service { overflow: hidden; max-width: 58%; padding: 6px 10px; border-radius: 999px; background: #f0f3f9; color: #596b8d; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.category-featured-price { flex: 0 0 auto; color: var(--category-pink); font-size: 18px; font-weight: 850; white-space: nowrap; }
.category-featured-price small { color: var(--category-muted); font-size: 11px; font-weight: 600; }
.category-featured-price em { color: var(--category-muted); font-size: 11px; font-style: normal; font-weight: 600; }

.category-featured-arrow {
    position: absolute;
    z-index: 1;
    top: 42%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #edf0f5;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 18px rgba(24, 39, 68, .16);
    color: var(--category-navy);
    cursor: pointer;
    font-size: 18px;
    transition: color .2s ease, opacity .2s ease, transform .2s ease;
}

.category-featured-arrow:hover:not(:disabled) { transform: scale(1.06); color: var(--category-pink); }
.category-featured-arrow:disabled { opacity: .4; cursor: default; }
.category-featured-arrow.is-previous { left: -20px; }
.category-featured-arrow.is-next { right: -20px; }

.category-featured-dots { display: flex; justify-content: center; gap: 10px; margin-top: 2px; }
.category-featured-dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: #ccd4e2; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.category-featured-dots button[aria-pressed="true"] { transform: scale(1.08); background: var(--category-pink); }
.category-featured-dots button:focus-visible,
.category-featured-arrow:focus-visible,
.category-featured-all:focus-visible { outline: 3px solid rgba(221, 4, 81, .3); outline-offset: 3px; }

.category-guide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(20px, 2vw, 36px);
    width: calc(100% - 64px);
    max-width: none;
    margin-bottom: 30px;
    padding: 24px;
    border: 1px solid #f1e6ed;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff8fb 0%, #fff 58%, #f8faff 100%);
    box-shadow: 0 18px 48px rgba(31, 47, 79, .1);
}

.category-guide-photo {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    border-radius: 16px;
    background:
        linear-gradient(0deg, rgba(20, 35, 67, .18), transparent 42%),
        url("../../img/web/imagen-portada.jpg") center / cover no-repeat;
    box-shadow: 0 12px 30px rgba(31, 47, 79, .16);
}

.category-guide-photo-badge {
    position: absolute;
    bottom: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 15px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 8px 24px rgba(22, 35, 62, .14);
    color: var(--category-navy);
    font-size: 14px;
    font-weight: 750;
    backdrop-filter: blur(12px);
}

.category-guide-photo-badge i { color: var(--category-pink); }

.category-faq {
    padding: 24px;
    border: 1px solid #e8edf5;
    border-radius: 16px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 10px 32px rgba(31, 47, 79, .07);
}

.category-faq-heading { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.category-faq-icon { display: inline-flex; flex: 0 0 46px; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: #fff0f6; color: var(--category-pink); font-size: 21px; }
.category-faq-eyebrow { display: block; margin: 0 0 5px; color: var(--category-pink); font-size: 11px; font-weight: 850; letter-spacing: .11em; }
.category-faq-heading h2 { margin: 0; color: var(--category-navy); font-size: clamp(20px, 1.5vw, 28px); font-weight: 850; line-height: 1.2; }
.category-faq-heading p { margin: 6px 0 0; color: var(--category-muted); font-size: 14px; line-height: 1.45; }
.category-faq details { margin-top: 9px; border: 1px solid #edf0f5; border-radius: 10px; background: #f9fafc; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.category-faq details:hover { border-color: #f4c9da; background: #fff; box-shadow: 0 5px 16px rgba(31, 47, 79, .06); }
.category-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; color: var(--category-navy); cursor: pointer; font-size: clamp(14px, 1vw, 20px); font-weight: 650; list-style: none; }
.category-faq summary h3 { flex: 1; min-width: 0; margin: 0; color: inherit; font: inherit; line-height: inherit; }
.category-faq summary::-webkit-details-marker { display: none; }
.category-faq summary i { display: inline-flex; flex: 0 0 28px; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #edf2fb; color: #4568a5; font-size: 12px; transition: transform .2s ease, background .2s ease, color .2s ease; }
.category-faq details[open] summary i { transform: rotate(180deg); background: #fff0f6; color: var(--category-pink); }
.category-faq details p { margin: 0; padding: 0 14px 14px; color: var(--category-muted); font-size: 15px; line-height: 1.5; }

/* The seo text of the category (category_city_seo), at the bottom of the page, like the one of the map */
.category-seo { margin-bottom: 30px; }

.category-seo-inner {
    padding: 28px 32px;
    border: 1px solid var(--category-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(31, 47, 79, .07);
    color: var(--category-muted);
    font-size: 15px;
    line-height: 1.65;
}

.category-seo-inner h2,
.category-seo-inner h3 { margin: 22px 0 8px; color: var(--category-navy); font-weight: 850; line-height: 1.2; }
.category-seo-inner h2 { font-size: clamp(20px, 1.6vw, 26px); }
.category-seo-inner h3 { font-size: 18px; }
.category-seo-inner > :first-child { margin-top: 0; }
.category-seo-inner > :last-child { margin-bottom: 0; }
.category-seo-inner p { margin: 0 0 12px; }
.category-seo-inner ul { margin: 0 0 12px; padding-left: 20px; }
.category-seo-inner strong { color: var(--category-navy); }
.category-seo-inner a { color: var(--category-pink); font-weight: 700; }
.category-seo-inner a:hover { text-decoration: underline; }

@media (max-width: 900px) {
    .category-hero { min-height: 0; padding-bottom: 22px; }
    .category-hero-image { background-position: center, 59% center; }
    .category-hero-copy { max-width: 450px; padding-top: 34px; }
    .category-search { width: 100%; }
    .category-search-row { grid-template-columns: 1fr; }
    .category-search-row > .category-search-button { grid-column: auto; }
    .category-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-city-grid { grid-template-columns: 25% 1fr; }
    .category-city-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-featured-card { flex-basis: calc((100% - 16px) / 2); }
    .category-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-guide-photo { min-height: 260px; }
    .category-faq { padding: 18px; }
    .category-faq-icon { flex-basis: 40px; width: 40px; height: 40px; }
    .category-faq-heading { gap: 10px; margin-bottom: 12px; }
    .category-faq-heading p { font-size: 12px; }
    .category-faq { display: block; }
    .category-faq-heading h2 { font-size: 20px; }
    .category-faq summary { font-size: 14px; }
    .category-faq details p { font-size: 13px; }
}

@media (min-width: 769px) and (max-width: 900px) {
    .category-search-trust span {
        gap: 4px;
        padding-inline: 5px;
        font-size: clamp(11px, 1.3vw, 12px);
    }
    .category-search-trust i { font-size: 16px; }
}

@media (min-width: 901px) and (max-width: 1200px) {
    .category-search { width: 100%; }
    .category-search-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .category-search-trust {
        grid-template-columns: 1fr;
        gap: 4px;
        margin-top: 12px;
    }
    .category-search-trust span {
        justify-content: flex-start;
        font-size: .95rem;
        padding: 5px 0;
        border-left: 0;
        text-align: left;
        white-space: normal;
    }
    .category-search-trust i { font-size: 16px; }
}

@media (max-width: 600px) {
    .category-container { max-width: none; padding-inline: 14px; }
    .category-hero { padding-top: 14px; }
    .category-hero-image {
        height: 420px;
        opacity: 1;
        background-image:
            linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.88) 44%, rgba(255,255,255,.35) 100%),
            var(--category-hero-image, url("../../img/web/imagen-portada.jpg"));
        background-position: center, 62% center;
    }
    .category-hero-copy { padding: 36px 0 20px; }
    .category-hero-copy h1 { max-width: 380px; font-size: 34px; }
    .category-hero-copy p { max-width: 370px; font-size: 14px; }
    .category-search { padding: 14px 12px 12px; }
    .category-search-row { grid-template-columns: 1fr; gap: 12px; }
    .category-search-row > .category-search-button { grid-column: auto; }
    .category-search-control { min-height: 54px; }
    .category-search-button { width: 100%; min-height: 52px; }
    .category-benefits { width: 100%; padding: 20px 14px; border-radius: 0; }
    .category-benefit-grid { gap: 8px; }
    .category-benefit-grid--three { grid-template-columns: 1fr; }
    .category-benefit-grid--three .category-benefit-card {
        grid-template-columns: 48px minmax(0, 1fr);
        min-height: 0;
        padding: 14px;
    }
    .category-benefit-grid--three .category-benefit-icon { width: 48px; height: 48px; font-size: 24px; }
    .category-benefit-grid--three .category-benefit-card h3 { font-size: 15px; }
    .category-benefit-grid--three .category-benefit-card p { font-size: 13px; }
    .category-benefit-card { min-height: 0; padding: 13px; }
    .category-benefit-card h3 { font-size: 13px; }
    .category-benefit-card p { font-size: 11px; }
    .category-benefits .category-section-heading h2 { font-size: 22px; }
    .category-benefits .category-section-heading p { font-size: 13px; }
    .category-benefit-icon { width: 42px; height: 42px; font-size: 21px; }
    .category-locations { padding: 20px 0; }
    .category-locations-heading { align-items: flex-start; }
    .category-locations-heading { flex-direction: column; gap: 12px; }
    .category-city-grid { grid-template-columns: 1fr; gap: 4px; }
    .category-city-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-location-map { max-width: 380px; margin: 0 auto; }
    .category-city-more summary { font-size: 13px; }
    .category-city-more-list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 300px; }
    .category-city-more-list a { font-size: 12px; }
    .category-featured-section { padding: 22px 0 26px; }
    .category-featured-head { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 14px; }
    .category-featured-title h2 { font-size: 25px; }
    .category-featured-title p { font-size: 13px; }
    .category-featured-all { padding: 2px 0; font-size: 14px; }
    .category-featured-track { gap: 12px; }
    .category-featured-card { flex-basis: 84%; }
    .category-featured-card-body { padding: 12px; }
    .category-featured-card h3 { font-size: 17px; }
    .category-featured-meta { font-size: 12px; }
    .category-featured-price { font-size: 16px; }
    .category-featured-arrow { top: 38%; width: 34px; height: 34px; font-size: 15px; }
    .category-featured-arrow.is-previous { left: -7px; }
    .category-featured-arrow.is-next { right: -7px; }
    .category-featured-dots { gap: 8px; }
    .category-featured-dots button { width: 10px; height: 10px; }
    .category-city-list a { min-height: 40px; padding-inline: 10px; font-size: 11px; }
    .category-guide { grid-template-columns: 1fr; gap: 13px; width: 100%; margin-bottom: 20px; padding: 12px; }
    .category-guide-photo { min-height: 180px; }
    .category-guide-photo-badge { bottom: 12px; left: 12px; padding: 8px 11px; font-size: 11px; }
    .category-faq { padding: 15px; }
    .category-faq-icon { flex-basis: 36px; width: 36px; height: 36px; border-radius: 11px; font-size: 17px; }
    .category-faq-eyebrow { font-size: 9px; }
    .category-faq-heading { gap: 9px; margin-bottom: 12px; }
    .category-faq-heading p { font-size: 11px; }
    .category-faq { display: block; }
    .category-faq-heading h2 { margin-top: 4px; font-size: 16px; }
    .category-faq summary { padding: 9px 10px; font-size: 11px; }
    .category-faq details p { padding: 0 10px 10px; font-size: 11px; }
    .category-seo { margin-bottom: 20px; }
    .category-seo-inner { padding: 18px 16px; font-size: 13px; }
}

@media (min-width: 601px) and (max-width: 1200px) {
    .category-container { padding-inline: 20px; }
    .category-benefits { padding-inline: 20px; }
}
