/**
 * custom.css - style bloczkow ACF motywu Abakon LP.
 * Mobile-first, jedna media query (992px) na koncu pliku.
 * Bazowe style projektu (tokeny, typografia, header, footer, formularze) sa w style.css.
 */

/* ==========================================================================
   0. WSPOLNE - sekcja bloku, placeholder osadzen, media
   ========================================================================== */

.abklp-section {
    padding-block: var(--abklp-section-y);
}

.abklp-section--white {
    background: var(--abklp-white);
}

.abklp-section--light {
    background: var(--abklp-surface);
}

.abklp-section--navy {
    background: var(--abklp-navy);
    color: var(--abklp-white);
}

/* Placeholder osadzen zewnetrznych - widoczny WYLACZNIE w podgladzie edytora */
.abklp-embed-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 180px;
    padding: 24px;
    border: 1px dashed var(--abklp-gold);
    border-radius: var(--abklp-radius-md);
    background: var(--abklp-surface);
    color: var(--abklp-navy);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.abklp-embed-placeholder .ico {
    width: 28px;
    height: 28px;
    color: var(--abklp-gold-dark);
}

.abklp-embed-placeholder small {
    display: block;
    color: var(--abklp-ink);
    font-size: 11px;
    font-weight: 500;
    word-break: break-all;
    opacity: 0.7;
}

/* Kadr mediow z zachowaniem proporcji - ogranicza CLS */
.abklp-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--abklp-border);
    border-radius: var(--abklp-radius-md);
    background: var(--abklp-surface);
}

.abklp-frame > img,
.abklp-frame > video,
.abklp-frame > iframe {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

/* Kadr bez wlasnych proporcji dostaje je z klasy bloku - patrz nizej */
.abklp-frame > .abklp-embed-placeholder {
    height: 100%;
    border: 0;
    border-radius: 0;
}

.abklp-video {
    position: relative;
    aspect-ratio: 16 / 9;
}

/* ==========================================================================
   1. BLOK: TYTUL STRONY (page-title)
   ========================================================================== */

.page-title-block {
    position: relative;
    padding-block: 48px;
    background: var(--abklp-navy);
    background-position: center center;
    background-size: cover;
    color: var(--abklp-white);
}

.page-title-block.has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 59, 131, 0.78);
}

.page-title-block > .container {
    position: relative;
}

.page-title-block h1 {
    margin: 0;
    color: var(--abklp-white);
}

.page-title-block p {
    margin: 0 0 12px;
}

.page-title-block p strong,
.page-title-block p em,
.page-title-block p strong em {
    display: inline-block;
    color: var(--abklp-gold);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 12px;
    font-weight: 700;
}

.breadcrumbs a {
    color: var(--abklp-gold);
    text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
    text-decoration: underline;
}

.breadcrumbs > span {
    color: var(--abklp-white);
    opacity: 0.7;
}

/* ==========================================================================
   2. BLOK: HERO SLIDER (hero-slider)
   ========================================================================== */

.hero-block {
    padding-block: 32px;
    background: var(--abklp-surface);
}

.hero-block .swiper {
    overflow: hidden;
}

.hero-block__slide {
    display: flex;
    flex-direction: column;
    gap: 32px;
    height: auto;
}

.hero-block__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

/* Przycisk jest osobnym elementem slajdu: mobile pod zdjeciem, desktop w lewej kolumnie */
.hero-block__cta {
    display: flex;
}

.hero-block__cta .btn {
    width: 100%;
}

.hero-block__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.hero-block__headline > *:last-child {
    margin-bottom: 0;
}

.hero-block__headline h1,
.hero-block__headline h2 {
    margin: 0 0 12px;
}

.hero-block__headline p {
    margin: 0 0 8px;
    color: var(--abklp-gold-dark);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

/* Meta: Kiedy / Gdzie */
.hero-block__meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-meta__item {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.hero-meta__label {
    color: var(--abklp-ink);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    opacity: 0.6;
}

.hero-meta__value {
    color: var(--abklp-navy);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.hero-meta__sub {
    color: var(--abklp-ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

/* Media hero */
.hero-block__media {
    aspect-ratio: 343 / 220;
    box-shadow: var(--abklp-shadow-photo);
}

.hero-block__media--video {
    background: var(--abklp-navy-dark);
}

.hero-video__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-video__play {
    position: absolute;
    left: 50%;
    top: calc(50% - 20px);
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    color: var(--abklp-navy);
    cursor: pointer;
}

.hero-video__play .ico {
    width: 24px;
    height: 24px;
    margin-left: 3px;
}

.hero-video__label {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
}

.hero-video__label .badge {
    background: var(--abklp-gold);
    color: var(--abklp-navy);
    font-size: 11px;
}

/* Nawigacja slidera */
.hero-block .swiper-pagination {
    position: static;
    margin-top: 16px;
}

.hero-block .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: var(--abklp-navy);
    opacity: 0.25;
}

.hero-block .swiper-pagination-bullet-active {
    background: var(--abklp-gold-dark);
    opacity: 1;
}

/* ==========================================================================
   3. BLOK: BELKA PILNOSCI (urgency-bar)
   ========================================================================== */

.urgency-block {
    padding-block: 24px;
    background: var(--abklp-navy);
    color: var(--abklp-white);
}

.urgency-block__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.urgency-block__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.urgency-item {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.urgency-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--abklp-gold);
}

.urgency-item__icon .ico {
    width: 20px;
    height: 20px;
}

.urgency-item__body {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.urgency-item__label {
    color: var(--abklp-gold);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.urgency-item__value {
    color: var(--abklp-white);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.urgency-item__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.urgency-item__count {
    color: var(--abklp-white);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    text-align: right;
}

.urgency-progress {
    overflow: hidden;
    height: 6px;
    border-radius: 3px;
    background: var(--abklp-navy-dark);
}

.urgency-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--abklp-gold);
}

/* Stan: pilny - podkreslenie licznika */
.urgency-block--urgent .urgency-item__count {
    color: var(--abklp-gold);
}

/* Stan: zamkniety - wygaszona skala i przycisk listy rezerwowej */
.urgency-block--closed .urgency-progress span {
    background: var(--abklp-muted);
}

.urgency-block--closed .urgency-item__count {
    color: var(--abklp-border);
}

.urgency-block__reserve {
    margin-top: 12px;
}

.urgency-block__reserve .btn {
    width: 100%;
    border: 1px solid var(--abklp-gold);
    background: transparent;
    box-shadow: none;
    color: var(--abklp-gold);
    font-size: 13px;
    padding: 12px 16px;
}

.urgency-block__reserve .btn:hover,
.urgency-block__reserve .btn:focus-visible {
    background: var(--abklp-gold);
    color: var(--abklp-ink);
}

/* Odliczanie w kafelkach */
.countdown {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.countdown__cell {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
    padding-block: 12px;
    border-radius: var(--abklp-radius);
    background: var(--abklp-navy-dark);
}

.countdown__num {
    color: var(--abklp-white);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.countdown__unit {
    color: var(--abklp-gold);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.countdown--live {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: var(--abklp-radius);
    background: var(--abklp-gold);
}

.countdown--live span {
    color: var(--abklp-navy);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

/* ==========================================================================
   4. BLOK: BLOK TEKSTOWY (text-block)
   ========================================================================== */

.text-block {
    padding-block: var(--abklp-section-y);
}

.text-block__content > *:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   5. BLOK: MEDIA I TEKST (media_text)
   ========================================================================== */

.media_text {
    padding-block: var(--abklp-section-y);
}

.media_text__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.media_text__content {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    min-width: 0;
}

.media_text__text > *:last-child {
    margin-bottom: 0;
}

.media_text__media {
    flex: 1 1 0;
    min-width: 0;
}

.media_text__media .abklp-frame {
    aspect-ratio: 343 / 220;
}

.media_text__media .abklp-video {
    aspect-ratio: 16 / 9;
}

/* Wariant "na zewnatrz containera" - kolumna z mediami dochodzi do krawedzi */
.media_text.outside > .container {
    max-width: 100%;
    padding-inline: 0;
}

.media_text.outside .media_text__content {
    padding-inline: var(--abklp-gutter);
}

/* ==========================================================================
   6. BLOK: KOLUMNY Z IKONAMI I TEKSTEM (icon-text-columns)
   ========================================================================== */

.icon-columns {
    padding-block: var(--abklp-section-y);
}

.icon-columns__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.icon-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--abklp-border);
    border-radius: var(--abklp-radius-md);
    background: var(--abklp-white);
}

.icon-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.icon-card__body > *:last-child {
    margin-bottom: 0;
}

.icon-card h3,
.icon-card h4 {
    margin: 0;
}

.icon-card p {
    margin: 0 0 8px;
    color: var(--abklp-ink);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.icon-card__link {
    margin-top: auto;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
}

/* ==========================================================================
   7. BLOK: GALERIA (gallery)
   ========================================================================== */

.gallery-block {
    padding-block: var(--abklp-section-y);
}

.gallery-block__text {
    margin-bottom: 24px;
}

.gallery-block__text > *:last-child {
    margin-bottom: 0;
}

.gallery-block__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.gallery-block__item {
    min-width: 0;
    aspect-ratio: 343 / 180;
}

/* Podpis w karuzeli jest pod kadrem, nie na zdjeciu */
.gallery-block__carousel figcaption {
    padding: 10px 0 0;
    color: var(--abklp-ink);
    font-size: 12px;
    font-weight: 600;
}

.gallery-block__item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    background: rgba(0, 43, 99, 0.85);
    color: var(--abklp-white);
    font-size: 12px;
    font-weight: 700;
}

/* Wariant karuzeli (Swiper) */
.gallery-block__carousel {
    position: relative;
}

.gallery-block__carousel .swiper-slide {
    height: auto;
}

.gallery-block__carousel .abklp-frame {
    aspect-ratio: 343 / 180;
}

.gallery-block__carousel .swiper-pagination {
    position: static;
    margin-top: 16px;
}

.gallery-block__carousel .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: var(--abklp-navy);
    opacity: 0.25;
}

.gallery-block__carousel .swiper-pagination-bullet-active {
    background: var(--abklp-gold-dark);
    opacity: 1;
}

.gallery-block__carousel .swiper-button-next,
.gallery-block__carousel .swiper-button-prev {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--abklp-white);
    box-shadow: var(--abklp-shadow-photo);
    color: var(--abklp-navy);
}

.gallery-block__carousel .swiper-button-next::after,
.gallery-block__carousel .swiper-button-prev::after {
    font-size: 14px;
    font-weight: 800;
}

/* ==========================================================================
   8. BLOK: OPINIE (testimonials)
   ========================================================================== */

.testimonials-block {
    padding-block: var(--abklp-section-y);
}

.testimonials-block__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--abklp-border);
    border-radius: var(--abklp-radius-md);
    background: var(--abklp-white);
}

.testimonial-card__mark {
    width: 28px;
    height: 20px;
    color: var(--abklp-gold);
}

/* Cytat korzysta z blockquote - zerujemy dekoracje z style.css */
.testimonial-card__text {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--abklp-ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.testimonial-card__text p {
    margin: 0 0 10px;
}

.testimonial-card__text > *:last-child {
    margin-bottom: 0;
}

.testimonial-card__author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: auto;
}

.testimonial-card__name {
    color: var(--abklp-navy);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
}

.testimonial-card__role {
    color: var(--abklp-gold-dark);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
}

/* ==========================================================================
   9. BLOK: LOKALIZACJA I DOJAZD (location)
   ========================================================================== */

.location-block {
    padding-block: var(--abklp-section-y);
}

.location-block__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.location-block__col {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

/* Naglowek jest rozdzielony odstepem kolumny - nie dubluj marginesu */
.location-block__col .section-heading {
    margin-bottom: 0;
}

.location-block__info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.location-item--stacked {
    align-items: flex-start;
}

.location-item__icon {
    width: 40px;
    height: 40px;
}

.location-item__icon .ico {
    width: 18px;
    height: 18px;
}

.location-item__body {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.location-item__label {
    color: var(--abklp-gold-dark);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.location-item__body p {
    margin: 0 0 6px;
    color: var(--abklp-ink);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.location-item__body > *:last-child {
    margin-bottom: 0;
}

.location-item__body p strong {
    display: block;
    color: var(--abklp-navy);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.location-block__media {
    flex: 1 1 0;
    min-width: 0;
}

.location-block__link {
    margin: 16px 0 0;
}

/* ==========================================================================
   10. BLOK: MAPA (map) + wspolny kadr mapy
   ========================================================================== */

.map-block {
    padding-block: var(--abklp-section-y);
}

.abklp-map {
    position: relative;
    aspect-ratio: 343 / 220;
    background: var(--abklp-surface);
}

.abklp-map .abklp-embed-placeholder {
    height: 100%;
    border: 0;
    border-radius: 0;
}

.abklp-map__pin {
    position: absolute;
    left: 50%;
    top: calc(50% - 20px);
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    pointer-events: none;
}

.abklp-map__pin .ico {
    width: 32px;
    height: 32px;
    color: var(--abklp-navy);
}

.abklp-map__pin-label {
    padding: 4px 10px;
    border-radius: var(--abklp-radius-sm);
    background: var(--abklp-navy);
    color: var(--abklp-gold);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.4;
    white-space: nowrap;
}

.abklp-map img {
    object-fit: cover;
}

.map-block .abklp-map,
.map-block--16-9 .abklp-map {
    aspect-ratio: 16 / 9;
}

.map-block--4-3 .abklp-map {
    aspect-ratio: 4 / 3;
}

.map-block--21-9 .abklp-map {
    aspect-ratio: 21 / 9;
}

/* Shortcode Google Maps zwraca zwykle iframe - dopasuj do kadru */
.abklp-map > *:not(.abklp-map__pin) {
    width: 100%;
    height: 100%;
}

.abklp-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   11. BLOK: FORMULARZ KONTAKTOWY / ZAPISU (contact-form)
   ========================================================================== */

.contact-form-block {
    padding-block: var(--abklp-section-y);
}

.contact-form-block__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.contact-form-block--split .contact-form-block__head {
    align-items: flex-start;
    text-align: left;
}

.contact-form-block__head .section-heading {
    margin-bottom: 0;
}

.contact-form-block__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form-block__text {
    flex: 1 1 0;
    min-width: 0;
}

.contact-form-block__text > *:last-child {
    margin-bottom: 0;
}

/* Tekst obok formularza na granatowym tle */
.contact-form-block__text--light,
.contact-form-block__text--light p,
.contact-form-block__text--light li {
    color: var(--abklp-white);
}

.contact-form-block__text--light :is(h1, h2, h3, h4, h5, h6) {
    color: var(--abklp-white);
}

.contact-form-block__text--light a {
    color: var(--abklp-gold);
}

.contact-form-block__form {
    flex: 1 1 0;
    min-width: 0;
}

.form-container {
    padding: 20px;
    border-radius: var(--abklp-radius-md);
    background: var(--abklp-white);
    box-shadow: var(--abklp-shadow-form);
}

.contact-form-block--centered .form-container {
    max-width: 680px;
    margin-inline: auto;
}

.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.form-note__dot {
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--abklp-success);
}

.form-note p {
    margin: 0;
    color: var(--abklp-success);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

/* Stan po poprawnym zapisie */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    border: 2px solid var(--abklp-success);
    border-radius: var(--abklp-radius-md);
    background: var(--abklp-success-bg);
    text-align: center;
}

.form-success.is-visible {
    display: flex;
}

.form-success__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--abklp-success);
    color: var(--abklp-white);
}

.form-success__icon .ico {
    width: 32px;
    height: 32px;
}

.form-success h3 {
    margin: 0;
    color: var(--abklp-success);
    font-size: 20px;
    line-height: 1.2;
}

.form-success p {
    margin: 0;
    color: var(--abklp-ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.form-success .btn {
    border: 1px solid var(--abklp-success);
    background: var(--abklp-white);
    box-shadow: none;
    color: var(--abklp-success);
    font-size: 13px;
    padding: 12px 24px;
}

.form-success .btn:hover,
.form-success .btn:focus-visible {
    background: var(--abklp-success);
    color: var(--abklp-white);
}

.contact-form-block__form.is-sent .form-container {
    display: none;
}

/* ==========================================================================
   12. BLOK: FAQ (faq)
   ========================================================================== */

.faq-block {
    padding-block: var(--abklp-section-y);
}

.faq-block__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--abklp-border);
    border-radius: var(--abklp-radius);
    background: var(--abklp-surface);
}

.faq-item.is-open {
    border-color: var(--abklp-gold);
    background: var(--abklp-white);
}

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 16px;
    border: 0;
    background: transparent;
    color: var(--abklp-navy);
    font-family: var(--abklp-font);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
}

.faq-item__q > span {
    flex: 1 1 auto;
    min-width: 0;
}

.faq-item__q .ico {
    width: 16px;
    height: 16px;
    color: var(--abklp-ink);
    transition: transform 0.2s ease, color 0.2s ease;
}

.faq-item.is-open .faq-item__q .ico {
    color: var(--abklp-gold);
    transform: rotate(180deg);
}

.faq-item__a {
    display: none;
    padding: 0 16px 16px;
}

.faq-item.is-open .faq-item__a {
    display: block;
}

.faq-item__a > *:last-child {
    margin-bottom: 0;
}

.faq-item__a p {
    margin: 0 0 10px;
    color: var(--abklp-ink);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

/* ==========================================================================
   13. BLOK: PRZYKLEJONA BELKA CTA (sticky-cta)
   ========================================================================== */

.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 76px; /* wysokosc belki z projektu, przycisk wysrodkowany */
    padding: 12px 16px;
    background: var(--abklp-gold);
    box-shadow: var(--abklp-shadow-sticky);
}

.sticky-cta__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.sticky-cta .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 16px;
    border-radius: 6px;
    box-shadow: none;
    font-size: 14px;
}

.sticky-cta--gold .btn {
    background: var(--abklp-navy);
    color: var(--abklp-white);
}

.sticky-cta--gold .btn:hover,
.sticky-cta--gold .btn:focus-visible {
    background: var(--abklp-navy-dark);
    color: var(--abklp-white);
}

.sticky-cta--light {
    background: var(--abklp-white);
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.08);
}

.sticky-cta--light .btn {
    border-radius: var(--abklp-radius);
    background: var(--abklp-gold);
    color: var(--abklp-ink);
    font-size: 13px;
}

.sticky-cta__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 12px;
    border: 1.5px solid var(--abklp-navy);
    border-radius: var(--abklp-radius);
    color: var(--abklp-navy);
}

.sticky-cta__phone .ico {
    width: 16px;
    height: 16px;
}

/* Belka jest mobilna - na desktopie ukryta, chyba ze redaktor wlaczy inaczej */
.sticky-cta--mobile-only {
    display: flex;
}

/* ==========================================================================
   14. DESKTOP (992px ->) - jedyna media query
   ========================================================================== */

@media (min-width: 992px) {
    /* --- Wspolne --- */
    .abklp-embed-placeholder {
        min-height: 240px;
        font-size: 14px;
    }

    /* --- Tytul strony --- */
    .page-title-block {
        padding-block: 80px;
    }

    .page-title-block p strong,
    .page-title-block p em,
    .page-title-block p strong em {
        font-size: 14px;
    }

    .breadcrumbs {
        font-size: 13px;
    }

    /* --- Hero --- */
    .hero-block {
        padding-block: 80px;
    }

    /* Desktop: lewa kolumna (tresc + przycisk) i prawa kolumna z mediami.
       Grid pozwala na inna kolejnosc niz w DOM bez duplikowania markupu. */
    .hero-block__slide {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 600px;
        grid-template-areas:
            'content media'
            'cta     media';
        align-items: center;
        column-gap: 64px;
        row-gap: 32px;
    }

    .hero-block__content {
        grid-area: content;
        gap: 32px;
    }

    .hero-block__cta {
        grid-area: cta;
    }

    .hero-block__cta .btn {
        width: auto;
    }

    .hero-block__text {
        gap: 16px;
    }

    .hero-block__headline p {
        font-size: 24px;
    }

    .hero-block__meta {
        flex-direction: row;
        gap: 32px;
    }

    .hero-meta__value {
        font-size: 18px;
    }

    .hero-meta__sub {
        font-size: 14px;
    }

    .hero-block__media {
        grid-area: media;
        align-self: center;
        width: 600px;
        max-width: 100%;
        aspect-ratio: 600 / 400;
    }

    .hero-block__media .abklp-frame,
    .hero-block__media.abklp-frame {
        border-width: 2px;
        border-radius: var(--abklp-radius-lg);
        box-shadow: var(--abklp-shadow-photo-lg);
    }

    /* --- Belka pilnosci --- */
    .urgency-block__inner {
        flex-direction: row;
        align-items: center;
        gap: 96px;
    }

    .urgency-block__divider {
        display: none;
    }

    .urgency-item {
        gap: 20px;
    }

    .urgency-item__icon {
        width: 28px;
        height: 28px;
        border-radius: 0;
        background: transparent;
    }

    .urgency-item__icon .ico {
        width: 28px;
        height: 28px;
    }

    .urgency-item__body {
        gap: 4px;
    }

    .urgency-item__label {
        font-size: 12px;
    }

    .urgency-item__value {
        font-size: 20px;
    }

    .urgency-item__count {
        font-size: 14px;
    }

    .urgency-progress {
        height: 8px;
        border-radius: 4px;
    }

    .countdown__num {
        font-size: 24px;
    }

    .countdown--live span {
        font-size: 22px;
    }

    /* --- Blok tekstowy --- */
    .text-block--narrow .text-block__content {
        max-width: 900px;
        margin-inline: auto;
    }

    /* --- Media i tekst --- */
    .media_text__inner {
        flex-direction: row;
        align-items: center;
        gap: 64px;
    }

    .media_text.left .media_text__media {
        order: 1;
    }

    .media_text.left .media_text__content {
        order: 2;
    }

    .media_text__media .abklp-frame {
        aspect-ratio: 600 / 400;
        border-radius: var(--abklp-radius-lg);
        box-shadow: var(--abklp-shadow-photo-lg);
    }

    /* Wariant poza containerem - kolumna tekstu wyrownana do siatki 1120px */
    .media_text.outside .media_text__content {
        padding-inline: max(var(--abklp-gutter), calc((100% - var(--abklp-content)) / 2)) 0;
    }

    .media_text.outside.left .media_text__content {
        padding-inline: 0 max(var(--abklp-gutter), calc((100% - var(--abklp-content)) / 2));
    }

    /* --- Kolumny z ikonami --- */
    .icon-columns__grid {
        gap: 24px;
    }

    .icon-columns__grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .icon-columns__grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .icon-columns__grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .icon-card {
        gap: 20px;
        padding: 32px;
        box-shadow: var(--abklp-shadow-card);
    }

    .icon-card__body {
        gap: 8px;
    }

    .icon-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* --- Galeria --- */
    .gallery-block__text {
        margin-bottom: 32px;
    }

    .gallery-block__grid {
        gap: 24px;
    }

    .gallery-block__grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-block__grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gallery-block__grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .gallery-block__item {
        aspect-ratio: 357 / 280;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.02);
    }

    .gallery-block__carousel .abklp-frame {
        aspect-ratio: 357 / 280;
    }

    /* --- Opinie --- */
    .testimonials-block__grid {
        gap: 32px;
    }

    .testimonials-block__grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonials-block__grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .testimonial-card {
        gap: 24px;
        padding: 40px;
        border-radius: var(--abklp-radius-lg);
        box-shadow: 0 12px 12px rgba(0, 0, 0, 0.02);
    }

    .testimonial-card__mark {
        width: 32px;
        height: 24px;
    }

    .testimonial-card__text {
        font-size: 16px;
        line-height: 1.6;
    }

    .testimonial-card__author {
        gap: 4px;
    }

    .testimonial-card__name {
        font-size: 16px;
    }

    .testimonial-card__role {
        font-size: 13px;
    }

    /* --- Lokalizacja --- */
    .location-block__inner {
        flex-direction: row;
        align-items: center;
        gap: 64px;
    }

    .location-block__col {
        gap: 32px;
    }

    .location-block__info {
        gap: 24px;
    }

    .location-item {
        gap: 16px;
    }

    .location-item__icon {
        width: 48px;
        height: 48px;
    }

    .location-item__icon .ico {
        width: 20px;
        height: 20px;
    }

    .location-item__label {
        font-size: 14px;
    }

    .location-item__body p {
        font-size: 15px;
    }

    .location-item__body p strong {
        font-size: 20px;
    }

    /* Mapa po lewej stronie */
    .location-block--left .location-block__media {
        order: 1;
    }

    .location-block--left .location-block__col {
        order: 2;
    }

    .location-block__media {
        flex: 0 0 600px;
        width: 600px;
        max-width: 100%;
    }

    .location-block__media .abklp-map {
        aspect-ratio: 600 / 380;
        border-radius: var(--abklp-radius-lg);
    }

    .abklp-map__pin .ico {
        width: 40px;
        height: 40px;
    }

    .abklp-map__pin-label {
        padding: 6px 12px;
        font-size: 11px;
    }

    /* --- Formularz --- */
    .contact-form-block__head {
        gap: 16px;
        margin-bottom: 56px;
    }

    .contact-form-block--split .contact-form-block__inner {
        flex-direction: row;
        align-items: flex-start;
        gap: 64px;
    }

    .form-container {
        padding: 48px;
        border-radius: var(--abklp-radius-lg);
        box-shadow: var(--abklp-shadow-form-lg);
    }

    .form-note {
        gap: 8px;
        margin-top: 16px;
    }

    .form-note__dot {
        width: 8px;
        height: 8px;
    }

    .form-note p {
        font-size: 13px;
    }

    .form-success {
        gap: 24px;
        padding: 40px;
        border-radius: var(--abklp-radius-lg);
    }

    .form-success h3 {
        font-size: 24px;
    }

    .form-success p {
        font-size: 15px;
    }

    /* --- FAQ --- */
    .faq-block__list {
        gap: 16px;
    }

    .faq-item {
        border-radius: var(--abklp-radius-md);
    }

    .faq-item__q {
        padding: 24px 32px;
        font-size: 18px;
    }

    .faq-item__q .ico {
        width: 20px;
        height: 20px;
    }

    .faq-item__a {
        padding: 0 32px 24px;
    }

    .faq-item__a p {
        font-size: 15px;
        line-height: 1.6;
    }

    /* --- Przyklejona belka CTA --- */
    .sticky-cta--mobile-only {
        display: none;
    }

    .sticky-cta .btn {
        flex: 0 0 auto;
        padding: 14px 28px;
    }

    .sticky-cta__inner {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        width: 100%;
        max-width: calc(var(--abklp-content) + (var(--abklp-gutter) * 2));
        margin-inline: auto;
    }
}
