/* ================== FONTS ================== */
* {
    font-family: "Montserrat", sans-serif;
}

/* ================== COLORS ================== */
.color-blue { color: #002d72; }
.bg-blue { background-color: #002d72; }
.color-secondary { color: #7e2845; }
.bg-secondary { background-color: #7e2845; }
.color-tertiary { color: #106042; }
.bg-tertiary { background-color: #106042; }
.color-gray { color: #333333; }

/* ================== BUTTONS ================== */
.button-white {
    background-color: #ffffff;
    color: #002d72;
    padding: 10px 25px;
    border-radius: 15px;
    transition: 0.3s ease-in-out;
}
.button-white:hover {
    background-color: #002d72;
    color: #ffffff;
    transition: 0.3s ease-in-out;
}
.button-blue {
    background-color: #002d72;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 15px;
    transition: 0.3s ease-in-out;
}
.button-blue:hover {
    background-color: #ffffff;
    color: #002d72;
    transition: 0.3s ease-in-out;
}
.button-secondary {
    background-color: #7e2845;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 15px;
    transition: 0.3s ease-in-out;
}
.button-secondary:hover {
    background-color: #ffffff;
    color: #7e2845;
    transition: 0.3s ease-in-out;
    border: 1px solid #7e2845;
}

/* ================== GRADIENTS ================== */
.gradient-blue-ttb {
	background: #002d72;
	background: linear-gradient(180deg, #002d72 0%, rgba(0,45,114,0.26) 100%);
}
.gradient-blue-btt {
	background: #002d72;
	background: linear-gradient(0deg, #002d72 0%, rgba(0,45,114,0) 100%);
}
.gradient-blue-ltr {
	background: #002d72;
	background: linear-gradient(90deg, #002d72 0%, rgba(0,45,114,0.26) 100%);
}
.gradient-blue-rtl {
	background: #002d72;
	background: linear-gradient(-90deg, #002d72 0%, rgba(0,45,114,0.26) 100%);
}

/* Page hero gradient for offer subpages */
.page-hero,
.page-header {
    background: linear-gradient(135deg, #001a48 0%, #002d72 35%, #004a9f 65%, #7e2845 100%);
    position: relative;
}
.page-hero::before,
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(126,40,69,0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Page content sections */
.page-content {
    padding: 4rem 1.5rem;
}
@media (min-width: 1024px) {
    .page-content {
        padding: 6rem 5rem;
    }
}

/* ================== HERO TILES ================== */
.hero-tiles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
@media (min-width: 1024px) {
    .hero-tiles {
        grid-template-columns: 1fr 1fr;
        /* Wysokość ograniczona do viewportu minus nagłówek (pasek + nav + oferta) */
        height: calc(100svh - 11.5rem);
        max-height: calc(100svh - 11.5rem);
        padding: 1.5rem 3rem;
        gap: 1.25rem;
        align-items: stretch;
        overflow: hidden;
    }
}
.hero-tile-left {
    border-radius: 0.5rem;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}
.hero-tile-right {
    border-radius: 0.5rem;
    overflow: hidden;
    min-width: 0;
    min-height: 240px;
    position: relative;
}
.hero-tile-right img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
@media (min-width: 1024px) {
    .hero-tile-right {
        min-height: 0;
        height: 100%;
    }
    .hero-tile-right img {
        position: absolute;
        inset: 0;
    }
}

/* ================== SERVICE ACCORDION ================== */
.service-row {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.service-row:first-of-type {
    border-top: 1px solid rgba(255,255,255,0.1);
}
.service-accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
}
@media (min-width: 1024px) {
    .service-accordion-header {
        gap: 3rem;
        padding: 2.5rem 0;
    }
}
.service-accordion-header:hover {
    background: rgba(255,255,255,0.05);
}
.service-accordion-num {
    width: 3rem;
    flex-shrink: 0;
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
}
.service-accordion-title {
    flex: 1;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: left;
}
@media (min-width: 1024px) {
    .service-accordion-title {
        font-size: 1.875rem;
    }
}
.service-accordion-chevron {
    flex-shrink: 0;
    font-size: 1.25rem;
    color: rgba(255,255,255,0.7);
    transition: transform 0.3s ease;
}
.service-accordion-item.is-open .service-accordion-chevron {
    transform: rotate(90deg);
}
.service-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}
.service-accordion-item.is-open .service-accordion-body {
    max-height: 720px;
    opacity: 1;
}
.service-accordion-content {
    padding: 0 0 2rem 4.5rem;
}
@media (min-width: 1024px) {
    .service-accordion-content {
        padding: 0 0 2.5rem 6rem;
    }
}
.service-accordion-content p {
    margin-bottom: 1.5rem;
}
.service-accordion-content p:last-child {
    margin-bottom: 0;
}

/* ================== OFFER PAGE ================== */
.offer-page__visual {
    padding-bottom: 2rem;
    padding-right: 2rem;
}
.offer-page__square {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%;
    aspect-ratio: 1;
    background-color: #002d72;
    z-index: 0;
    border-radius: 2px;
}
.offer-page__square--sm {
    width: 5rem;
    height: 5rem;
    bottom: -1rem;
    right: -1rem;
    z-index: 20;
}
@media (min-width: 1024px) {
    .offer-page__square--sm {
        width: 7rem;
        height: 7rem;
        bottom: -1.5rem;
        right: -1.5rem;
    }
}
.offer-page__num {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #7e2845;
    margin-bottom: 1rem;
}
.offer-page__num--white {
    color: #ffffff;
}
.offer-page__banner-overlay {
    background: linear-gradient(135deg, rgba(0, 26, 72, 0.92) 0%, rgba(0, 45, 114, 0.85) 45%, rgba(126, 40, 69, 0.8) 100%);
}

/* Oferta nav dropdown (niebieski pasek) */
.oferta-nav-group {
    position: relative;
}
.oferta-nav-dropdown {
    display: none;
}
.oferta-nav-group:hover .oferta-nav-dropdown,
.oferta-nav-group:focus-within .oferta-nav-dropdown {
    display: block;
}
.oferta-nav-dropdown a {
    white-space: nowrap;
}
.offer-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border: 1px solid #f0f0f0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 220px;
}
.offer-card:hover {
    border-color: rgba(0, 45, 114, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
.offer-card__num {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #7e2845;
    margin-bottom: 1.25rem;
}
.offer-card__title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}
.offer-card:hover .offer-card__title {
    color: #002d72;
}
.offer-card__text {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.5rem;
}
.offer-card__link {
    font-size: 0.8rem;
    font-weight: 500;
    color: #002d72;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s ease;
}
.offer-card:hover .offer-card__link {
    gap: 0.75rem;
}

/* ================== CONSULTATION DRAWER ================== */
body.consult-drawer-open {
    overflow: hidden;
}
.consult-drawer {
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
}
.consult-drawer.is-open {
    pointer-events: auto;
}
.consult-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 26, 72, 0.45);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.consult-drawer.is-open .consult-drawer__backdrop {
    opacity: 1;
}
.consult-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background: #fff;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
    overflow-y: auto;
}
.consult-drawer.is-open .consult-drawer__panel {
    transform: translateX(0);
}
.consult-drawer__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}
.consult-drawer__eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #7e2845;
    margin-bottom: 0.35rem;
}
.consult-drawer__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #002d72;
    line-height: 1.25;
}
.consult-drawer__close {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #1a1a1a;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}
.consult-drawer__close:hover {
    background: #002d72;
    color: #fff;
    border-color: #002d72;
}
.consult-drawer__intro {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}
.consult-drawer__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}
.consult-drawer__field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.4rem;
}
.consult-drawer__field label span {
    font-weight: 400;
    color: #9ca3af;
}
.consult-drawer__field input,
.consult-drawer__field textarea {
    width: 100%;
    border: 1px solid #e5e7eb;
    background: #fafafa;
    padding: 0.85rem 1rem;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}
.consult-drawer__field input:focus,
.consult-drawer__field textarea:focus {
    border-color: #002d72;
    background: #fff;
}
.consult-drawer__field textarea {
    resize: vertical;
    min-height: 100px;
}
.consult-drawer__submit {
    margin-top: 0.5rem;
    background: #002d72;
    color: #fff;
    border: none;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: background 0.2s ease;
}
.consult-drawer__submit:hover {
    background: #001a48;
}
.consult-drawer__note {
    font-size: 0.75rem;
    color: #9ca3af;
    line-height: 1.5;
    text-align: center;
}
.consult-drawer__note a {
    color: #002d72;
    text-decoration: underline;
}
.consult-drawer__contact {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.consult-drawer__contact a {
    font-size: 0.875rem;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: color 0.2s ease;
}
.consult-drawer__contact a:hover {
    color: #002d72;
}
.consult-drawer__contact i {
    color: #002d72;
    width: 1rem;
}

/* ================== HELP WIDGET ================== */
.help-widget {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
}
.help-widget__fab {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(145deg, #7e2845 0%, #5a1c32 100%);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(126, 40, 69, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}
.help-widget__fab:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(126, 40, 69, 0.5);
}
.help-widget__fab-icon {
    position: absolute;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.help-widget__fab-icon--close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.6);
}
.help-widget.is-open .help-widget__fab-icon--open {
    opacity: 0;
    transform: rotate(90deg) scale(0.6);
}
.help-widget.is-open .help-widget__fab-icon--close {
    opacity: 1;
    transform: rotate(0) scale(1);
}
.help-widget__panel {
    width: min(340px, calc(100vw - 2.5rem));
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 26, 72, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.28s;
    max-height: min(520px, calc(100vh - 7rem));
    display: flex;
    flex-direction: column;
}
.help-widget.is-open .help-widget__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.help-widget__view {
    display: none;
    flex-direction: column;
    min-height: 0;
    flex: 1;
}
.help-widget__view.is-active {
    display: flex;
}
.help-widget__header {
    background: linear-gradient(145deg, #002d72 0%, #001a48 70%, #7e2845 140%);
    color: #fff;
    padding: 1.5rem 1.25rem 1.35rem;
    position: relative;
    text-align: center;
}
.help-widget__icon-btn {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: none;
    background: #fff;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease;
}
.help-widget__icon-btn:hover {
    background: #f4f4f4;
}
.help-widget__icon-btn--back {
    right: auto;
    left: 0.85rem;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: none;
}
.help-widget__icon-btn--back:hover {
    background: rgba(255, 255, 255, 0.3);
}
.help-widget__title {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0.5rem 1.75rem 0.4rem;
}
.help-widget__subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}
.help-widget__body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    background: #fff;
}
.help-widget__body--scroll {
    overflow-y: auto;
    max-height: 320px;
}
.help-widget__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 0.85rem;
    padding: 0.95rem 1rem;
    cursor: pointer;
    color: inherit;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.help-widget__card:not(.help-widget__card--accent):hover {
    border-color: rgba(0, 45, 114, 0.25);
    box-shadow: 0 6px 18px rgba(0, 45, 114, 0.1);
}
.help-widget__card-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}
.help-widget__card-text strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
}
.help-widget__card-text small {
    font-size: 0.75rem;
    color: #8a8a8a;
}
.help-widget__card > i {
    color: #9ca3af;
    font-size: 0.75rem;
    flex-shrink: 0;
}
.help-widget__card:not(.help-widget__card--accent):hover > i {
    color: #002d72;
}
.help-widget__card--accent {
    background: linear-gradient(135deg, #002d72 0%, #001a48 55%, #7e2845 120%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 45, 114, 0.28);
}
.help-widget__card--accent .help-widget__card-text strong {
    color: #fff;
}
.help-widget__card--accent .help-widget__card-text small {
    color: rgba(255, 255, 255, 0.75);
}
.help-widget__card--accent > i {
    color: rgba(255, 255, 255, 0.85);
}
.help-widget__card--accent:hover {
    border-color: transparent;
    box-shadow: 0 10px 28px rgba(0, 45, 114, 0.38);
    filter: brightness(1.05);
}
@media (max-width: 480px) {
    .help-widget {
        right: 1rem;
        bottom: 1rem;
    }
    .help-widget__panel {
        max-height: min(480px, calc(100vh - 6.5rem));
    }
}

/* ================== FORMS ================== */
.ff_t_c {
	font-size: 12px !important;
	color: #ffffff !important;
}
