.catalog-hero {
    padding: 94px 24px 72px;
    text-align: center;
    color: #fff;
    background: radial-gradient(circle at 75% 20%, rgba(43,151,255,.45), transparent 28%), linear-gradient(135deg,#061b46,#0a4c9d);
}

.catalog-hero .eyebrow { color: #8bc6ff; }
.catalog-hero h1 { max-width: 900px; margin: 10px auto 15px; font-size: clamp(44px,6vw,72px); line-height: 1; letter-spacing: -.06em; }
.catalog-hero p { max-width: 650px; margin: auto; color: #d8e6f8; font-size: 17px; line-height: 1.6; }
.catalog-benefits { display: flex; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.catalog-benefits span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.08); color: #e6effc; font-size: 12px; backdrop-filter: blur(6px); }
.catalog-benefits i { color: #8fd0ff; }

.catalog { max-width: 1280px; padding-top: 52px; padding-bottom: 72px; }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.catalog-heading .eyebrow { margin-bottom: 7px; }
.catalog-heading h2 { margin: 0; color: #071c49; font-size: clamp(30px,3vw,40px); letter-spacing: -.045em; }
.catalog-heading > p { max-width: 420px; margin: 0; color: #6b7790; line-height: 1.6; }

.catalog-controls { margin-bottom: 22px; padding: 20px; border: 1px solid #e2e8f1; border-radius: 20px; background: #f8fafd; box-shadow: 0 10px 30px rgba(7,28,73,.05); }
.catalog-toolbar { display: grid; grid-template-columns: minmax(280px,1fr) 230px; gap: 14px; margin-bottom: 18px; }
.catalog-search { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0 15px; border: 1px solid #d7e0ec; border-radius: 13px; background: #fff; color: #0b63ce; transition: border-color .2s ease,box-shadow .2s ease; }
.catalog-search:focus-within { border-color: #70b0ef; box-shadow: 0 0 0 4px rgba(11,99,206,.1); }
.catalog-search input { width: 100%; height: 52px; border: 0; outline: 0; background: transparent; color: #071c49; }
.catalog-search input::placeholder { color: #8a96a9; }
.search-clear { display: grid; width: 32px; height: 32px; place-items: center; flex: none; border: 0; border-radius: 50%; background: #edf2f8; color: #526078; cursor: pointer; }
.search-clear[hidden] { display: none; }
.catalog-sort { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid #d7e0ec; border-radius: 13px; background: #fff; color: #6b7790; font-size: 11px; font-weight: 700; white-space: nowrap; }
.catalog-sort select { width: 100%; height: 52px; border: 0; outline: 0; background: transparent; color: #071c49; font-weight: 700; cursor: pointer; }

.catalog-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.catalog-tabs button { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 9px 14px; flex: none; border: 1px solid #dbe3ee; border-radius: 999px; background: #fff; color: #526078; font-size: 12px; font-weight: 800; cursor: pointer; transition: .2s ease; }
.catalog-tabs button:hover { border-color: #8abceb; color: #0756bd; }
.catalog-tabs button.is-active { border-color: #0756bd; background: #0756bd; color: #fff; box-shadow: 0 8px 18px rgba(7,86,189,.2); }
.catalog-tabs button span { display: grid; min-width: 22px; height: 22px; padding: 0 5px; place-items: center; border-radius: 999px; background: #edf3f9; color: #526078; font-size: 10px; }
.catalog-tabs button.is-active span { background: rgba(255,255,255,.18); color: #fff; }

.catalog-results-bar { display: flex; min-height: 38px; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.catalog-summary { margin: 0; color: #6b7790; font-size: 13px; }
.catalog-summary strong { color: #071c49; font-size: 15px; }
.catalog-reset { border: 0; background: transparent; color: #0756bd; font-size: 12px; font-weight: 800; cursor: pointer; }
.catalog-reset[hidden] { display: none; }

.trip-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.trip-grid[hidden], .trip-card[hidden] { display: none; }
.trip-card { overflow: hidden; border: 1px solid #e3e9f1; border-radius: 22px; background: #fff; box-shadow: 0 12px 35px rgba(7,28,73,.08); transition: transform .25s ease,box-shadow .25s ease; }
.trip-card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(7,28,73,.13); }
.trip-photo { height: 250px; position: relative; overflow: hidden; background: linear-gradient(135deg,#dbeafe,#8ec5ee); }
.trip-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.trip-card:hover .trip-photo img { transform: scale(1.04); }
.trip-photo::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent,rgba(2,17,43,.35)); pointer-events: none; }
.trip-date { position: absolute; z-index: 2; top: 16px; left: 16px; width: 56px; padding: 8px 5px; text-align: center; border-radius: 13px; background: #fff; box-shadow: 0 8px 24px rgba(6,27,70,.2); }
.trip-date strong,.trip-date span { display: block; }
.trip-date strong { color: #071c49; font-size: 22px; line-height: 1; }
.trip-date span { margin-top: 4px; color: #0b63ce; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.trip-status { position: absolute; z-index: 2; right: 14px; bottom: 14px; padding: 7px 11px; border-radius: 999px; background: #e8f8eb; color: #178625; font-size: 10px; font-weight: 800; }
.trip-status.closed { background: #fff0f0; color: #c92d3b; }
.trip-status.tbd { background: #fff7dc; color: #946b00; }
.trip-status.realized { background: #e8edf4; color: #526078; }
.trip-card.is-unavailable .trip-photo img { filter: saturate(.45); }
.trip-card.is-realized { background: #f8fafc; }
.trip-card.is-realized .trip-photo img { filter: grayscale(.45) saturate(.55); }
.trip-body { padding: 23px; }
.trip-location { color: #0b63ce; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.trip-body h2 { min-height: 52px; margin: 8px 0 15px; color: #071c49; font-size: 22px; line-height: 1.15; letter-spacing: -.035em; }
.trip-meta { display: flex; min-height: 24px; flex-wrap: wrap; gap: 10px 15px; color: #68758c; font-size: 12px; }
.trip-meta span { display: flex; align-items: center; gap: 6px; }
.trip-meta i { color: #0b63ce; }
.trip-footer { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #edf0f5; }
.trip-price small,.trip-price strong { display: block; }
.trip-price small { margin-bottom: 2px; color: #7b879b; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.trip-price strong { color: #1b9c2c; font-size: 21px; }
.trip-price strong sup { font-size: 10px; }
.trip-footer > a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 10px; background: #eef6ff; color: #0b63ce; font-size: 12px; font-weight: 800; transition: background .2s ease; }
.trip-footer > a:hover,.trip-footer > a:focus-visible { background: #dcecff; }
.trip-sold-out { color: #c92d3b; font-size: 13px; }
.trip-completed { display: inline-flex; align-items: center; gap: 6px; color: #526078; font-size: 12px; font-weight: 800; }

.catalog-empty { padding: 65px 20px; text-align: center; border: 1px dashed #cbd7e7; border-radius: 22px; background: #f9fbfd; }
.catalog-empty[hidden] { display: none; }
.catalog-empty > span { display: grid; width: 64px; height: 64px; margin: 0 auto 18px; place-items: center; border-radius: 20px; background: #e9f4ff; color: #0756bd; font-size: 26px; }
.catalog-empty h2 { margin: 0 0 8px; color: #071c49; font-size: 25px; }
.catalog-empty p { margin: 0 0 22px; color: #6b7790; }

.catalog-pagination { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 38px 0 50px; }
.catalog-pagination[hidden] { display: none; }
.catalog-pagination button { display: inline-flex; min-width: 42px; height: 42px; padding: 0 12px; align-items: center; justify-content: center; gap: 8px; border: 1px solid #dce4ee; border-radius: 11px; background: #fff; color: #40506b; font-size: 12px; font-weight: 800; cursor: pointer; }
.catalog-pagination button:hover:not(:disabled) { border-color: #87b9eb; color: #0756bd; }
.catalog-pagination button:disabled { opacity: .4; cursor: not-allowed; }
.catalog-pages { display: flex; align-items: center; gap: 7px; }
.catalog-pages button.is-active { border-color: #0756bd; background: #0756bd; color: #fff; }
.catalog-pages > span { padding: 0 3px; color: #8490a4; }

.catalog-help { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; margin-top: 48px; padding: 30px 34px; border-radius: 22px; background: linear-gradient(115deg,#061b46,#0a4c9d); color: #fff; box-shadow: 0 18px 45px rgba(7,28,73,.16); }
.catalog-pagination:not([hidden]) + .catalog-help { margin-top: 0; }
.catalog-help > span { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 17px; background: rgba(255,255,255,.12); color: #8fd0ff; font-size: 25px; }
.catalog-help h2 { margin: 0 0 5px; font-size: 21px; }
.catalog-help p { margin: 0; color: #cbdaf0; font-size: 13px; }
.catalog-help .btn { gap: 9px; background: #22ad2b; white-space: nowrap; }
.photo-credit { margin: 27px 0 0; text-align: center; color: #8490a4; font-size: 10px; }

@media(max-width:980px) {
    .trip-grid { grid-template-columns: repeat(2,1fr); }
    .catalog-help { grid-template-columns: auto 1fr; }
    .catalog-help .btn { grid-column: 2; width: fit-content; }
}

@media(max-width:700px) {
    .catalog-hero { padding: 72px 20px 52px; }
    .catalog-hero h1 { font-size: 46px; }
    .catalog-hero p { font-size: 14px; }
    .catalog-benefits { gap: 7px; }
    .catalog-benefits span { padding: 7px 10px; font-size: 10px; }
    .catalog { padding: 36px 16px 55px; }
    .catalog-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
    .catalog-heading > p { font-size: 13px; }
    .catalog-controls { margin-right: -16px; margin-left: -16px; padding: 17px 16px; border-right: 0; border-left: 0; border-radius: 0; }
    .catalog-toolbar { grid-template-columns: 1fr; }
    .catalog-sort { grid-template-columns: 90px 1fr; }
    .catalog-results-bar { align-items: flex-start; }
    .trip-grid { grid-template-columns: 1fr; }
    .trip-photo { height: 260px; }
    .trip-body h2 { min-height: 0; }
    .trip-card:hover { transform: none; }
    .catalog-pagination { gap: 5px; }
    .catalog-pagination > button span { display: none; }
    .catalog-pagination button { min-width: 38px; height: 38px; padding: 0 9px; }
    .catalog-pages { gap: 4px; }
    .catalog-help { grid-template-columns: 1fr; padding: 28px 24px; }
    .catalog-help .btn { grid-column: auto; width: 100%; white-space: normal; text-align: center; }
}

@media(prefers-reduced-motion:reduce) {
    .trip-card,.trip-photo img,.catalog-tabs button { transition: none; }
}
