/* Loty krajowe v2 — warstwa wizualna wokół istniejącego QSF. */
.domestic-page {
    background: linear-gradient(180deg, #f7faff 0, #fff 560px);
    padding-top: 14px;
}

.domestic-breadcrumbs { margin-bottom: 12px; }

.domestic-hero--photo {
    background: #eef6ff;
    gap: 12px 34px;
    grid-template-columns: minmax(0, 1.04fr) minmax(330px, .96fr);
    padding: 30px 34px 20px;
}

.domestic-hero__photo {
    height: 360px;
    inset: 0 0 auto 37%;
    object-fit: cover;
    object-position: 54% 48%;
    position: absolute;
    width: 63%;
    z-index: 0;
}

.domestic-hero--photo::after {
    background: linear-gradient(90deg, #f4f9ff 0%, rgba(244,249,255,.98) 24%, rgba(244,249,255,.8) 49%, rgba(244,249,255,.13) 75%, rgba(244,249,255,.05) 100%);
    content: "";
    height: 360px;
    inset: 0 0 auto;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

.domestic-hero__copy { max-width: 720px; }
.domestic-hero h1 { font-size: clamp(2.65rem, 4.15vw, 4.45rem); max-width: 760px; }
.domestic-hero__copy > p:not(.eyebrow) { font-size: clamp(.98rem, 1.15vw, 1.14rem); line-height: 1.5; margin-top: 15px; max-width: 620px; }

.domestic-hero__benefits {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}

.domestic-hero__benefits li { align-items: center; display: flex; gap: 9px; min-width: 0; }
.domestic-hero__benefits img { flex: 0 0 34px; height: 34px; object-fit: contain; width: 34px; }
.domestic-hero__benefits span, .domestic-hero__benefits strong, .domestic-hero__benefits small { display: block; min-width: 0; }
.domestic-hero__benefits strong { color: #0d3874; font-size: .76rem; }
.domestic-hero__benefits small { color: #60738e; font-size: .63rem; line-height: 1.25; margin-top: 2px; }

.domestic-hero__route { min-height: 210px; padding: 20px 4px; z-index: 3; }
.domestic-hero__route::before { display: none; }
.domestic-hero__route > span { align-items: center; border: 1px solid rgba(203,219,241,.9); border-radius: 19px; display: flex; flex-direction: column; padding: 13px 17px; text-transform: uppercase; }
.domestic-hero__route > span > b { background: transparent; border: 0; border-radius: 0; box-shadow: none; color: #0a326c; font-size: 1.03rem; height: auto; margin: 0; transform: none; width: auto; }
.domestic-hero__route > span > small { color: #38577e; font-size: .58rem; font-weight: 800; margin-top: 2px; }
.domestic-hero__route > i { border-color: rgba(255,255,255,.95); flex-basis: 72px; }
.domestic-hero__route > b.domestic-hero__plane { align-items: center; background: linear-gradient(145deg, #315fca, #173e9f); border: 4px solid rgba(255,255,255,.94); border-radius: 50%; box-shadow: 0 10px 22px rgba(13,45,107,.25); display: flex; height: 52px; justify-content: center; margin: 0 6px; transform: none; width: 52px; }
.domestic-hero__route > b.domestic-hero__plane svg { fill: #fff; height: 26px; transform: rotate(-10deg); width: 26px; }
.domestic-hero__route b::after { display: none; }

.domestic-hero__credit {
    bottom: 8px;
    color: rgba(255,255,255,.82);
    font-size: .56rem;
    position: absolute;
    right: 12px;
    text-decoration: none;
    text-shadow: 0 1px 3px rgba(0,0,0,.6);
    z-index: 3;
}

.domestic-trust { gap: 0; margin: 0; }
.domestic-trust li { background: rgba(255,255,255,.95); border-color: #dce7f4; border-radius: 0; min-height: 66px; padding: 10px 18px; }
.domestic-trust li:first-child { border-radius: 16px 0 0 16px; }
.domestic-trust li:last-child { border-radius: 0 16px 16px 0; }
.domestic-trust li + li { border-left: 0; }
.domestic-trust li > img { flex: 0 0 48px; height: 44px; object-fit: contain; width: 48px; }
.domestic-trust li:last-child > img { width: 58px; }
.domestic-trust strong { font-size: .82rem; }
.domestic-trust small { font-size: .67rem; }

.domestic-section { margin-top: 24px; }
.domestic-heading { align-items: center; }
.domestic-filter { background: #fff; border: 1px solid #d6e3f4; padding: 5px; }
.domestic-filter button.is-active { background: linear-gradient(145deg, #315dca, #173e9f); color: #fff; }

.domestic-deal-grid { gap: 16px; }
.domestic-deal { min-height: 310px; overflow: hidden; padding: 0 16px 15px; position: relative; }
.domestic-deal__image { background: #dfeaf7; display: block; height: 112px; margin: 0 -16px 0; overflow: hidden; }
.domestic-deal__image img { height: 100%; object-fit: cover; transition: transform .3s ease; width: 100%; }
.domestic-deal:hover .domestic-deal__image img { transform: scale(1.045); }
.domestic-deal__codes { margin-top: -17px; position: relative; z-index: 2; }
.domestic-deal__codes b { background: #fff; border: 1px solid #d7e4f4; border-radius: 12px; box-shadow: 0 7px 16px rgba(19,59,111,.12); min-width: 54px; padding: 9px 7px; text-align: center; }
.domestic-deal__badge { align-self: flex-start; background: #edf9f2; border: 1px solid #bce7cb; border-radius: 999px; color: #1d9850; font-size: .63rem; font-weight: 850; margin-top: 9px; padding: 4px 9px; }
.domestic-deal__cities { font-size: 1rem; margin-top: 9px; }
.domestic-deal__meta { padding-top: 12px; }
.domestic-deal__meta strong { color: #f17800; }

.domestic-map-section { grid-template-columns: .72fr 1.28fr; min-height: 500px; }
.domestic-map { min-height: 420px; }
.domestic-map__shape { background: transparent; clip-path: none; filter: drop-shadow(0 20px 24px rgba(28,95,164,.16)); inset: 2% 8%; }
.domestic-map__shape::after { display: none; }
.domestic-map__shape img { height: 100%; object-fit: contain; width: 100%; }

.domestic-origin-feature {
    align-items: stretch;
    border: 1px solid #cadcf2;
    border-radius: 18px;
    color: inherit;
    display: grid;
    grid-template-columns: 155px 250px 180px minmax(250px, 1fr) 150px;
    min-height: 122px;
    overflow: hidden;
    text-decoration: none;
}

.domestic-origin-feature__lead { background: linear-gradient(145deg, #245fc9, #173d9a); color: #fff; padding: 22px 18px; }
.domestic-origin-feature__lead small, .domestic-origin-feature__lead b { display: block; }
.domestic-origin-feature__lead small { font-size: .65rem; font-weight: 850; text-transform: uppercase; }
.domestic-origin-feature__lead b { font-size: .75rem; line-height: 1.45; margin-top: 12px; }
.domestic-origin-feature > img { height: 100%; object-fit: cover; width: 100%; }
.domestic-origin-feature__city { align-content: center; border-right: 1px solid #dbe6f3; display: grid; padding: 18px; }
.domestic-origin-feature__city > b { background: #fff; border: 1px solid #d6e3f3; border-radius: 9px; color: #1c56b5; font-size: .72rem; justify-self: start; padding: 6px 9px; }
.domestic-origin-feature__city strong { font-size: 1.05rem; margin-top: 8px; }
.domestic-origin-feature__city small { color: #6c7e98; font-size: .69rem; margin-top: 3px; }
.domestic-origin-feature__routes { align-content: center; display: grid; padding: 16px 20px; }
.domestic-origin-feature__routes > small { color: #657994; font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.domestic-origin-feature__routes > span { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 10px; }
.domestic-origin-feature__routes i { border-right: 1px solid #dbe5f2; font-style: normal; }
.domestic-origin-feature__routes i:last-child { border-right: 0; }
.domestic-origin-feature__routes b, .domestic-origin-feature__routes em { display: block; }
.domestic-origin-feature__routes b { font-size: .72rem; }
.domestic-origin-feature__routes em { color: #f17800; font-size: .72rem; font-style: normal; font-weight: 850; margin-top: 4px; }
.domestic-origin-feature__cta { align-items: center; align-self: center; border: 1px solid #c8d9ee; border-radius: 11px; color: #1659bd; display: flex; font-size: .72rem; font-weight: 850; justify-content: center; margin-right: 18px; min-height: 44px; padding: 10px; }

.domestic-origin-grid { gap: 14px; margin-top: 20px; }
.domestic-origin-grid a { display: flex; flex-direction: column; gap: 0; overflow: hidden; padding: 0; }
.domestic-origin-grid a > .domestic-origin-grid__photo { align-items: initial; background: #dfeaf7; border-radius: 0; color: inherit; display: block; flex: none; height: 100px; justify-content: initial; position: relative; width: 100%; }
.domestic-origin-grid__photo img { height: 100%; object-fit: cover; width: 100%; }
.domestic-origin-grid__photo b { background: #fff; border-radius: 8px; color: #1859b6; font-size: .68rem; left: 10px; padding: 6px 8px; position: absolute; top: 10px; }
.domestic-origin-grid a > .domestic-origin-grid__copy { align-items: initial; background: #fff; border-radius: 0; color: inherit; display: block; flex: none; height: auto; justify-content: initial; min-height: 105px; padding: 13px 15px; position: relative; width: 100%; }
.domestic-origin-grid__copy small, .domestic-origin-grid__copy strong, .domestic-origin-grid__copy em { display: block; }
.domestic-origin-grid__copy small { color: #7b8ba1; font-size: .65rem; }
.domestic-origin-grid__copy strong { font-size: .93rem; margin-top: 3px; }
.domestic-origin-grid__copy em { color: #f17800; font-size: .86rem; font-style: normal; font-weight: 850; margin-top: 10px; }
.domestic-origin-grid__copy > i { bottom: 15px; color: #174ea3; font-size: 1.35rem; font-style: normal; position: absolute; right: 15px; }

.domestic-month-panel { overflow: visible; }
.domestic-calendar-grid > a { position: relative; }
.domestic-calendar-tooltip {
    background: #092d66;
    border-radius: 12px;
    bottom: calc(100% + 10px);
    box-shadow: 0 14px 34px rgba(5,31,72,.28);
    color: #fff;
    display: block;
    left: 50%;
    min-width: 190px;
    opacity: 0;
    padding: 12px 13px;
    pointer-events: none;
    position: absolute;
    transform: translate(-50%, 6px);
    transition: opacity .16s ease, transform .16s ease;
    visibility: hidden;
    z-index: 20;
}
.domestic-calendar-tooltip::after { border: 7px solid transparent; border-top-color: #092d66; content: ""; left: 50%; position: absolute; top: 100%; transform: translateX(-50%); }
.domestic-calendar-tooltip b, .domestic-calendar-tooltip span, .domestic-calendar-tooltip strong, .domestic-calendar-tooltip em { display: block; }
.domestic-calendar-tooltip b { font-size: .68rem; opacity: .75; }
.domestic-calendar-tooltip span { color: #fff; font-size: .77rem; font-weight: 750; margin-top: 4px; }
.domestic-calendar-tooltip strong { color: #7ddcff; font-size: 1rem; margin-top: 6px; }
.domestic-calendar-tooltip em { border-top: 1px solid rgba(255,255,255,.16); color: #fff; font-size: .67rem; font-style: normal; font-weight: 800; margin-top: 8px; padding-top: 8px; }
.domestic-calendar-grid > a:hover .domestic-calendar-tooltip,
.domestic-calendar-grid > a:focus-visible .domestic-calendar-tooltip { opacity: 1; transform: translate(-50%, 0); visibility: visible; }

@media (max-width: 1180px) {
    .domestic-origin-feature { grid-template-columns: 135px 200px 160px 1fr; }
    .domestic-origin-feature__cta { display: none; }
}

@media (max-width: 900px) {
    .domestic-hero--photo { grid-template-columns: 1fr; }
    .domestic-hero__photo { height: 300px; left: 26%; right: 0; top: 0; width: 74%; }
    .domestic-hero--photo::after { height: 300px; }
    .domestic-hero__benefits { max-width: 600px; }
    .domestic-trust li:first-child, .domestic-trust li:last-child { border-radius: 14px; }
    .domestic-trust li + li { border-left: 1px solid #dce7f4; }
    .domestic-origin-feature { grid-template-columns: 130px 210px 1fr; }
    .domestic-origin-feature__routes { display: none; }
}

@media (max-width: 700px) {
    .domestic-hero--photo { padding-top: 220px; }
    .domestic-hero__photo { height: 230px; inset: 0 0 auto; width: 100%; }
    .domestic-hero--photo::after { background: linear-gradient(180deg, rgba(244,249,255,.05), #f4f9ff 93%); height: 235px; }
    .domestic-hero__copy { background: rgba(244,249,255,.96); border-radius: 18px; padding: 18px 12px 0; }
    .domestic-hero h1 { font-size: clamp(2.1rem, 10.5vw, 3rem); }
    .domestic-hero__benefits { grid-template-columns: 1fr; margin-top: 16px; }
    .domestic-hero__benefits small { font-size: .68rem; }
    .domestic-hero__credit { top: 203px; bottom: auto; }
    .domestic-trust { gap: 8px; }
    .domestic-trust li { border: 1px solid #dce7f4; border-radius: 14px; }
    .domestic-deal { flex-basis: 86%; min-height: 302px; }
    .domestic-origin-feature { display: grid; grid-template-columns: 112px 1fr; }
    .domestic-origin-feature__lead { grid-row: span 2; }
    .domestic-origin-feature > img { height: 92px; }
    .domestic-origin-feature__city { border-right: 0; padding: 12px 14px; }
    .domestic-origin-grid { display: flex; margin-right: -15px; overflow-x: auto; padding: 0 15px 10px 0; }
    .domestic-origin-grid a { flex: 0 0 70%; }
    .domestic-calendar-tooltip { display: none; }
}
