/*!
 * Etaply theme overrides
 * Motyw dla etaply.pl — oparty na silniku TIPIcms
 */

:root {
    --tipi-primary: #6c4cf1;
    --tipi-primary-dark: #5738d8;
    --tipi-primary-light: #eeeafe;
    --tipi-text: #17172b;
    --tipi-muted: #707083;
    --tipi-border: #e8e7ef;
    --tipi-surface: #f8f8fb;
    --tipi-focus-color: #ff6b5e;
    --tipi-focus-shadow: 0 0 0 3px rgba(108, 76, 241, 0.28);
    --tipi-focus-width: 3px;
    --tipi-focus-offset: 2px;
    --tipi-target-min: 24px;
    --tipi-target-comfortable: 44px;
    --tipi-radius: 8px;
    --tipi-radius-lg: 16px;
    --tipi-radius-xl: 24px;
    --tipi-shadow: 0 8px 28px rgba(23, 23, 43, 0.08);
    --tipi-shadow-lg: 0 18px 48px rgba(23, 23, 43, 0.12);
    --tipi-space-xs: 8px;
    --tipi-space-sm: 16px;
    --tipi-space-md: 32px;
    --tipi-space-lg: 64px;
    --tipi-space-xl: 96px;
    --tipi-font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

/* ============================ Globalne ============================ */
body {
    color: var(--tipi-text);
    font-family: var(--tipi-font);
}

h1, h2, h3, h4, h5, h6,
.btn-common,
.navbar-nav,
.tipi-section-label {
    font-family: var(--tipi-font);
}

a {
    color: var(--tipi-primary);
    transition: color .2s ease;
}

a:hover,
a:focus {
    color: var(--tipi-primary-dark);
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: var(--tipi-focus-width) solid var(--tipi-focus-color);
    outline-offset: var(--tipi-focus-offset);
    box-shadow: var(--tipi-focus-shadow);
}

/* Nadpisanie legacy outline:none z main.css dla CTA i pól (wyższa specificity). */
.btn-common:focus-visible,
.btn-submit:focus-visible,
.form-control:focus-visible,
.navbar-toggle:focus-visible,
#header .navbar-inverse .navbar-toggle:focus-visible {
    outline: var(--tipi-focus-width) solid var(--tipi-focus-color) !important;
    outline-offset: var(--tipi-focus-offset);
    box-shadow: var(--tipi-focus-shadow) !important;
}

html {
    scroll-padding-top: 5.5rem;
}

#main {
    scroll-margin-top: 1rem;
}

.tipi-skip-link {
    position: absolute;
    top: 0;
    left: 16px;
    z-index: 10000;
    display: inline-block;
    padding: 10px 14px;
    color: #fff !important;
    background: var(--tipi-primary-dark);
    border: 2px solid var(--tipi-focus-color);
    border-radius: 0 0 var(--tipi-radius) var(--tipi-radius);
    transform: translateY(-120%);
    transition: transform .15s ease;
}

.tipi-skip-link:focus,
.tipi-skip-link:focus-visible {
    color: #fff !important;
    transform: translateY(0);
}

#main:focus {
    outline: none;
}

.tipi-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (forced-colors: active) {
    a:focus-visible,
    button:focus-visible,
    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible,
    summary:focus-visible,
    [tabindex]:focus-visible {
        outline-color: Highlight;
        box-shadow: none;
    }

    .tipi-skip-link {
        border-color: Highlight;
    }
}

/* Naglowki - kolor firmowy dla sekcyjnych */
h1, h2, h3, h4, h5, h6 {
    color: var(--tipi-text);
}

/* Content Builder - klasy motywu dostepne z kontrolowanej allowlisty. */
.tipi-content-builder .tipi-section-muted {
    background-color: #f6f8fa;
}

.tipi-content-builder .tipi-section-accent {
    background-color: var(--tipi-primary-light);
    color: var(--tipi-text);
}

.tipi-content-builder .tipi-content-narrow {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
}

.tipi-content-builder .tipi-no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.tipi-content-builder .tipi-no-gutters > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

.tipi-content-builder .tipi-builder-image figcaption {
    margin-top: 6px;
    color: var(--tipi-muted);
    font-size: 13px;
}

/* Content Builder 2.8.0 - rytm i nowe bloki */
.tipi-content-builder .tipi-builder-row + .tipi-builder-row {
    margin-top: var(--tipi-space-sm);
}

.tipi-content-builder .tipi-builder-heading {
    margin: 0 0 var(--tipi-space-sm);
    line-height: 1.25;
}

.tipi-content-builder .tipi-heading-center {
    text-align: center;
}

.tipi-content-builder .tipi-heading-right {
    text-align: right;
}

.tipi-content-builder .tipi-builder-button-wrap {
    margin: var(--tipi-space-xs) 0;
}

.tipi-content-builder .tipi-button-center {
    text-align: center;
}

.tipi-content-builder .tipi-button-right {
    text-align: right;
}

.tipi-content-builder .tipi-builder-button {
    border-radius: var(--tipi-radius);
}

.tipi-content-builder .tipi-builder-embed {
    margin: var(--tipi-space-sm) 0;
    border-radius: var(--tipi-radius);
    box-shadow: var(--tipi-shadow);
    overflow: hidden;
}

.tipi-content-builder .tipi-builder-faq {
    margin: var(--tipi-space-sm) 0;
}

.tipi-content-builder .tipi-faq-title {
    margin: 0 0 var(--tipi-space-sm);
}

.tipi-content-builder .tipi-faq-item {
    margin-bottom: var(--tipi-space-xs);
    border: 1px solid var(--tipi-border);
    border-radius: var(--tipi-radius);
    background: #fff;
    overflow: hidden;
}

.tipi-content-builder .tipi-faq-question {
    padding: 12px 16px;
    cursor: pointer;
    color: var(--tipi-primary);
    font-weight: 600;
    list-style: none;
    background: #fff;
    transition: background .15s ease;
}

.tipi-content-builder .tipi-faq-question::-webkit-details-marker {
    display: none;
}

.tipi-content-builder .tipi-faq-question::after {
    content: "+";
    float: right;
    color: var(--tipi-muted);
    font-weight: 700;
}

.tipi-content-builder .tipi-faq-item[open] .tipi-faq-question {
    background: var(--tipi-primary-light);
}

.tipi-content-builder .tipi-faq-item[open] .tipi-faq-question::after {
    content: "\2212";
}

.tipi-content-builder .tipi-faq-answer {
    padding: 12px 16px;
    color: var(--tipi-muted);
    line-height: 1.6;
    border-top: 1px solid var(--tipi-border);
}

.section-title,
.breadContent h1 {
    color: var(--tipi-primary);
}

/* Bootstrap btn-primary -> kolor firmowy */
.btn-primary,
.btn-info {
    background-color: var(--tipi-primary);
    border-color: var(--tipi-primary);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-info:hover,
.btn-info:focus {
    background-color: var(--tipi-primary-dark);
    border-color: var(--tipi-primary-dark);
}

/* WCAG 2.2 component foundation */
.tipi-button,
.tipi-content-builder .tipi-builder-button {
    min-height: var(--tipi-target-comfortable);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.3;
}

.tipi-link-download::after,
.tipi-link-new-window::after {
    margin-left: 0.35em;
    font-size: 0.9em;
}

.tipi-link-download::after {
    content: "(plik)";
}

.tipi-link-new-window::after {
    content: "(otwiera się w nowej karcie)";
}

.tipi-field {
    margin-bottom: 18px;
}

.tipi-field label,
.tipi-label {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--tipi-text);
    font-weight: 700;
}

.tipi-help {
    margin: 0 0 8px;
    color: var(--tipi-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.tipi-error {
    margin: 8px 0 0;
    color: #9f1d20;
    font-weight: 700;
    line-height: 1.5;
}

.tipi-field-invalid .form-control,
.tipi-field-invalid .form-select,
.form-control[aria-invalid="true"],
.form-select[aria-invalid="true"] {
    border-color: #9f1d20 !important;
    box-shadow: 0 0 0 2px rgba(159, 29, 32, 0.12);
}

.tipi-alert {
    position: relative;
    margin-bottom: 22px;
    padding: 16px 54px 16px 18px;
    border: 1px solid var(--tipi-border);
    border-left-width: 5px;
    border-radius: var(--tipi-radius);
    background: #fff;
    color: var(--tipi-text);
    box-shadow: 0 12px 30px rgba(12, 45, 69, 0.08);
}

.tipi-alert h2,
.tipi-alert h3,
.tipi-alert h4,
.tipi-alert p {
    margin-top: 0;
}

.tipi-alert :last-child {
    margin-bottom: 0;
}

.tipi-alert-success {
    border-left-color: #1d7f45;
    background: #f1fbf5;
}

.tipi-alert-danger {
    border-left-color: #9f1d20;
    background: #fff5f5;
}

.tipi-alert-info {
    border-left-color: var(--tipi-primary);
    background: var(--tipi-primary-light);
}

.tipi-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tipi-table,
.tipi-content-builder table {
    width: 100%;
    margin-bottom: 24px;
    border-collapse: collapse;
    color: var(--tipi-text);
}

.tipi-table caption,
.tipi-content-builder table caption {
    caption-side: top;
    padding: 0 0 10px;
    color: var(--tipi-text);
    font-weight: 700;
    text-align: left;
}

.tipi-table th,
.tipi-table td,
.tipi-content-builder table th,
.tipi-content-builder table td {
    padding: 12px 14px;
    border: 1px solid var(--tipi-border);
    vertical-align: top;
}

.tipi-table th,
.tipi-content-builder table th {
    background: var(--tipi-primary-light);
    color: var(--tipi-text);
    font-weight: 700;
}

/* ============================ Breadcrumb / hero ============================ */
.breadCrumbArea {
    background: linear-gradient(135deg, var(--tipi-primary) 0%, var(--tipi-primary-dark) 100%);
    padding: 60px 0 50px;
    position: relative;
}

.breadCrumbArea .breadOverlay {
    background: rgba(0, 0, 0, 0.15);
    position: absolute;
    inset: 0;
}

.breadCrumbArea .breadContent {
    position: relative;
    z-index: 2;
}

.breadCrumbArea .breadContent h1 {
    color: #fff;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.breadCrumbArea .breadContent h1 span {
    color: #fff;
    font-style: italic;
}

/* ============================ Dokumentacja / roadmap ============================ */
.tipi-doc-page {
    margin: 28px 0 64px;
    color: #34495a;
}

.tipi-doc-hero {
    position: relative;
    padding: clamp(30px, 5vw, 58px);
    border: 1px solid rgba(0, 89, 150, 0.12);
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 8%, rgba(52, 152, 219, 0.22), transparent 28%),
        linear-gradient(135deg, #f6fbff 0%, #edf7fd 55%, #fff 100%);
    box-shadow: 0 22px 55px rgba(0, 59, 107, 0.10);
    overflow: hidden;
}

.tipi-doc-hero--roadmap {
    background:
        radial-gradient(circle at 90% 10%, rgba(72, 187, 120, 0.20), transparent 28%),
        linear-gradient(135deg, #f4fbf8 0%, #eef8f4 55%, #fff 100%);
}

.tipi-doc-eyebrow,
.tipi-version-status {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--tipi-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.tipi-doc-hero h1 {
    max-width: 820px;
    margin: 0 0 16px;
    color: #15344d;
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.08;
}

.tipi-doc-lead {
    max-width: 780px;
    margin: 0;
    color: #526b7d;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.65;
}

.tipi-doc-meta,
.tipi-doc-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.tipi-doc-meta {
    margin-top: 24px;
}

.tipi-doc-meta span {
    padding: 8px 13px;
    border: 1px solid rgba(0, 89, 150, 0.12);
    border-radius: 999px;
    background: rgba(255,255,255,.75);
    color: #42647e;
    font-size: 12px;
    font-weight: 700;
}

.tipi-doc-nav {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(0, 89, 150, 0.10);
}

.tipi-doc-nav a {
    padding: 10px 16px;
    border-radius: 999px;
    color: #42647e;
    font-weight: 700;
    text-decoration: none;
}

.tipi-doc-nav a:hover,
.tipi-doc-nav a:focus,
.tipi-doc-nav a.active {
    background: var(--tipi-primary);
    color: #fff !important;
}

.tipi-doc-intro {
    margin-top: 20px;
}

.tipi-doc-main-row {
    margin-top: 36px;
    row-gap: 26px;
}

.tipi-doc-accordion {
    margin-bottom: 18px;
    border: 1px solid rgba(0, 89, 150, 0.12);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.tipi-doc-accordion[open] {
    box-shadow: 0 16px 38px rgba(0, 59, 107, 0.10);
    border-color: rgba(0, 89, 150, 0.25);
}

.tipi-doc-accordion > summary {
    position: relative;
    display: block;
    cursor: pointer;
    list-style: none;
    padding: 22px 70px 22px 24px;
    color: #15344d;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
}

.tipi-doc-accordion > summary::-webkit-details-marker {
    display: none;
}

.tipi-doc-accordion > summary:after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 89, 150, 0.08);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #526071;
}

.tipi-doc-accordion[open] > summary:after {
    content: '\2212';
}

.tipi-doc-body {
    padding: 0 24px 24px;
    line-height: 1.75;
}

.tipi-doc-intro > :last-child {
    margin-bottom: 0;
}

.tipi-doc-card {
    background: linear-gradient(180deg, #f8fbfd, #fff);
    border: 1px solid rgba(0, 89, 150, 0.10);
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 16px;
}

.tipi-capability-screen {
    margin: 0 0 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 89, 150, 0.12);
    border-radius: 14px;
    background: #f4f8fb;
}

.tipi-capability-screen img {
    display: block;
    width: 100%;
    max-height: 440px;
    object-fit: cover;
}

.zobacz_wdorzenia{
    margin-top: 20px;
}

.pakiet_standard h3{
    color:rgb(223, 160, 45); 
}

.tipi-capability-screen figcaption {
    padding: 10px 14px;
    color: #607487;
    font-size: 13px;
    line-height: 1.5;
}

.tipi-doc-aside {
    background: #fff;
    border: 1px solid rgba(0, 89, 150, 0.12);
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 12px 30px rgba(0, 59, 107, 0.07);
}

.tipi-doc-aside h2 {
    color: #15344d;
    font-size: 20px;
}

.tipi-doc-sidebar {
    align-self: flex-start;
}

@media (min-width: 992px) {
    .tipi-doc-sidebar {
        position: sticky;
        top: 24px;
    }
}

.tipi-version-section {
    margin-bottom: 42px;
    scroll-margin-top: 24px;
}

.tipi-version-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding: 0 4px 14px;
    border-bottom: 2px solid rgba(0, 89, 150, 0.10);
}

.tipi-version-heading h2 {
    margin: 0;
    color: #15344d;
    font-size: 30px;
}

.tipi-version-heading .tipi-version-status {
    margin-bottom: 5px;
}

.tipi-version-number {
    color: rgba(0, 89, 150, 0.14);
    font-size: 52px;
    font-weight: 800;
    line-height: .85;
}

.tipi-version-section--current .tipi-version-heading {
    border-bottom-color: #32a06b;
}

.tipi-version-nav {
    display: grid;
    gap: 8px;
}

.tipi-version-nav a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 13px;
    border-radius: 10px;
    background: #f3f8fb;
    color: #264b66;
    text-decoration: none;
}

.tipi-version-nav a:hover,
.tipi-version-nav a:focus {
    background: rgba(0, 89, 150, 0.10);
}

.tipi-version-nav span {
    color: #6e8291;
    font-size: 12px;
}

.tipi-doc-aside h2,
.tipi-doc-card h3 {
    margin-top: 0;
}

.tipi-doc-card ul,
.tipi-doc-card ol,
.tipi-doc-body ul,
.tipi-doc-body ol,
.tipi-doc-aside ul,
.tipi-doc-aside ol {
    padding-left: 20px;
}

.tipi-doc-card li,
.tipi-doc-body li,
.tipi-doc-aside li {
    margin-bottom: 8px;
}

.tipi-doc-body > :last-child,
.tipi-doc-card > :last-child,
.tipi-doc-aside > :last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .tipi-doc-page {
        margin-top: 16px;
    }

    .tipi-doc-hero {
        padding: 26px 20px;
        border-radius: 20px;
    }

    .tipi-doc-nav a {
        flex: 1 1 auto;
        text-align: center;
    }

    .tipi-doc-accordion > summary {
        padding: 18px 58px 18px 18px;
        font-size: 18px;
    }

    .tipi-doc-accordion > summary:after {
        position: absolute;
        right: 14px;
        display: grid;
        transform: translateY(-50%);
        margin-top: 0;
    }

    .tipi-doc-body {
        padding: 0 18px 18px;
    }

    .tipi-version-heading h2 {
        font-size: 25px;
    }

    .tipi-version-number {
        font-size: 38px;
    }
}

/* ============================ Lista postow ============================ */
.blogCateArea {
    padding: 50px 0;
    background: #fafbfc;
}

.blogCateArea .blogPostContent {
    background: #fff;
    border: 1px solid var(--tipi-border);
    border-radius: var(--tipi-radius);
    padding: 18px;
    margin-bottom: 24px;
    transition: box-shadow .25s ease, transform .25s ease;
    height: 100%;
}

.blogCateArea .blogPostContent:hover {
    box-shadow: var(--tipi-shadow);
    transform: translateY(-2px);
    border-color: var(--tipi-primary);
}

.blogCateArea .smallAuthor {
    overflow: hidden;
    border-radius: var(--tipi-radius);
}

.blogCateArea .smallAuthor a {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--tipi-primary-light);
    border-radius: var(--tipi-radius);
}

.blogCateArea .smallAuthor img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform .35s ease;
}

.blogCateArea .blogPostContent:hover .smallAuthor img {
    transform: scale(1.05);
}

.blogCateArea .blogPost h5 {
    margin: 0 0 8px;
    font-weight: 600;
    line-height: 1.35;
}

.blogCateArea .blogPost h5 a {
    color: var(--tipi-text);
}

.blogCateArea .blogPostContent:hover .blogPost h5 a,
.blogCateArea .blogPost h5 a:hover {
    color: var(--tipi-primary);
}

.blogCateArea .blogPost p {
    color: var(--tipi-muted);
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.55;
}

.blogCateArea .blogPost .postedBy {
    font-size: 12px;
    color: var(--tipi-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 0;
}

/* ============================ Pojedynczy post ============================ */
.single-blog,
.blog-details {
    background: #fff;
    border: 1px solid var(--tipi-border);
    border-radius: var(--tipi-radius);
    padding: 28px;
    margin-bottom: 30px;
}

.single-blog .post-thumb {
    position: relative;
    text-align: center;
    margin-bottom: 16px;
}

.single-blog .post-thumb img,
.single-blog .post-thumb .img-responsive {
    max-width: 100%;
    width: auto;
    max-height: 480px;
    margin: 0 auto;
    border-radius: var(--tipi-radius);
    box-shadow: var(--tipi-shadow);
}

.single-blog .post-caption {
    display: inline-block;
    margin: 0 0 22px;
    padding: 6px 14px;
    background: var(--tipi-primary-light);
    color: var(--tipi-primary-dark);
    border-left: 3px solid var(--tipi-primary);
    border-radius: 0 var(--tipi-radius) var(--tipi-radius) 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.single-blog .post-caption i {
    margin-right: 6px;
    color: var(--tipi-primary);
}

.single-blog .post-content {
    line-height: 1.7;
}

.single-blog .post-title {
    color: var(--tipi-primary);
    margin: 0 0 18px;
    font-weight: 700;
}

.single-blog .post-content p {
    margin-bottom: 14px;
    color: var(--tipi-text);
}

.single-blog .post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--tipi-radius);
    margin: 12px 0;
}

/* ============================ Paginacja ============================ */
.pagination > li > a,
.pagination > li > span,
.pagepagination a,
.pagepagination span {
    color: var(--tipi-primary);
    border-color: var(--tipi-border);
}

.pagination > .active > a,
.pagination > .active > span,
.pagepagination .active,
.pagepagination .active a {
    background-color: var(--tipi-primary) !important;
    border-color: var(--tipi-primary) !important;
    color: #fff !important;
}

.pagination > li > a:hover,
.pagepagination a:hover {
    background-color: var(--tipi-primary-light);
    border-color: var(--tipi-primary);
    color: var(--tipi-primary-dark);
}

/* ============================ Override palety Triangle (amber → blue) ============================ */

/* Linki globalne — wyzszy priorytet nad bazowymi ustawieniami motywu */
a,
a.read-more {
    color: var(--tipi-primary) !important;
}
a:hover,
a:focus {
    color: var(--tipi-primary-dark) !important;
    text-decoration: none !important;
}

/* Navbar — linki aktywne i hover */
#header .navbar-inverse .navbar-nav li.active > a,
#header .navbar-inverse .navbar-nav li.active > a:focus,
#header .navbar-nav.navbar-right li > a:hover,
#header .navbar-nav.navbar-right li > a:focus,
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
    color: var(--tipi-primary) !important;
    background-color: inherit !important;
    border: 0 !important;
}

#header .navbar-inverse .navbar-nav li a:hover {
    color: var(--tipi-primary-dark) !important;
}

/* Sub-menu — aktywne i hover */
#header .navbar-nav li ul.sub-menu li .active {
    background: var(--tipi-primary-light) !important;
    color: var(--tipi-primary) !important;
}
#header .navbar-nav li ul.sub-menu li .active i {
    color: var(--tipi-primary) !important;
}
#header .navbar-nav li ul.sub-menu li a:hover,
#header .navbar-nav li ul.sub-menu li a:focus {
    background: var(--tipi-primary-light) !important;
    color: var(--tipi-primary) !important;
}

/* Ikona wyszukiwarki i ramka inputa */
.search i { color: var(--tipi-primary) !important; }
.search-form { border-color: var(--tipi-primary) !important; }

/* Social icons hover */
.social-icons ul li a:hover,
.social-icons ul li a:focus {
    color: var(--tipi-primary) !important;
    background: none !important;
}

/* Formularz — ramki */
.form-control {
    border-color: var(--tipi-border) !important;
}
.form-control:focus {
    border-color: var(--tipi-primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 89, 150, 0.12) !important;
}

/* Przyciski wspólne */
.btn-submit {
    background-color: var(--tipi-primary) !important;
    border-color: var(--tipi-primary) !important;
    color: #fff !important;
}
.btn-submit:hover,
.btn-submit:focus {
    background-color: var(--tipi-primary-dark) !important;
    border-color: var(--tipi-primary-dark) !important;
}

.btn-common {
    border-color: var(--tipi-primary) !important;
    color: #fff !important;
    background: var(--tipi-primary) !important;
    border-radius: 999px !important;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.btn-common:hover,
.btn-common:focus {
    background: var(--tipi-primary-dark) !important;
    border-color: var(--tipi-primary-dark) !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(0, 89, 150, 0.22);
}

.btn-common.btn-outline {
    background: transparent !important;
    color: var(--tipi-primary) !important;
    border-color: rgba(0, 89, 150, 0.28) !important;
}

.btn-common.btn-outline:hover,
.btn-common.btn-outline:focus {
    background: var(--tipi-primary-light) !important;
    color: var(--tipi-primary-dark) !important;
    border-color: var(--tipi-primary) !important;
    box-shadow: none;
}

.btn-common.btn-light {
    background: #fff !important;
    color: var(--tipi-primary) !important;
    border-color: #fff !important;
}

.btn-common.btn-light:hover,
.btn-common.btn-light:focus {
    background: var(--tipi-primary-light) !important;
    color: var(--tipi-primary-dark) !important;
    border-color: var(--tipi-primary-light) !important;
}

/* ============================ Header ============================ */
#header {
    position: relative;
    z-index: 1020;
    margin-bottom: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(0, 89, 150, 0.08);
    box-shadow: none;
    backdrop-filter: blur(12px);
}

#header-wrap {
    width: 100%;
    background: transparent;
}

#header .navbar {
    background: transparent;
    margin-bottom: 0;
}

#header .tipi-navbar .tipi-header-container {
    padding-top: 0;
    padding-right: 24px;
    padding-bottom: 16px;
    padding-left: 24px;
}

.tipi-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    min-height: 76px;
    width: 100%;
}

.tipi-navbar-header {
    float: none;
    display: flex;
    align-items: center;
    margin-right: 0;
    flex: 0 0 auto;
    min-width: 0;
}

.tipi-brand-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    width: auto;
    padding-right: 0;
    border-right: 0;
}

#header .navbar-brand {
    float: none;
    display: block;
    height: auto;
    padding: 0;
}

.tipi-brand-wrap h1 {
    margin: 0;
    line-height: 0;
}

.tipi-brand-logo {
    display: block;
    line-height: 0;
}

#header .navbar-brand img {
    width: auto;
    max-height: 92px;
    margin-top: 0;
}

.tipi-brand-copy {
    min-width: 0;
    max-width: 250px;
}

.tipi-brand-subtitle {
    display: block;
    margin-top: 0;
    color: #61717f;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.45;
    text-transform: uppercase;
}

#header .navbar-collapse {
    padding-left: 0;
    padding-right: 0;
}

.tipi-header-nav {
    display: flex !important;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    padding-top: 24px;
    min-width: 0;
    padding-left: 0;
}

#header .tipi-navbar-menu > li:last-child {
    margin-right: 0;
}

#header .tipi-navbar-menu > li > a {
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 10px 16px;
    color: var(--tipi-muted) !important;
    background: transparent;
    box-shadow: inset 0 0 0 1px transparent;
    transition: color .25s ease, background .25s ease, box-shadow .25s ease;
}

#header .tipi-navbar-menu > li > a:hover,
#header .tipi-navbar-menu > li > a:focus,
#header .tipi-navbar-menu > li.active > a,
#header .tipi-navbar-menu > li.active > a:focus {
    color: var(--tipi-primary) !important;
    background: rgba(0, 89, 150, 0.08);
    box-shadow: inset 0 0 0 1px rgba(0, 89, 150, 0.14);
}

#header .navbar-toggler-line {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--tipi-primary);
    transition: transform .35s ease, opacity .25s ease, background .25s ease;
    transform-origin: center;
}

#header .navbar-nav li {
    position: relative;
}

#header .titel-menu-left.dropdown-toggle::after {
    display: none;
}

#header .mobile-menu-child-drop-down {
    display: none;
}

#header .navbar-nav li > ul.main-nav__sub {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.text-justify {
    text-align: justify;
}

#header .navbar-nav li > ul.dropdown-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

#header .navbar-nav li ul.sub-menu,
#header .navbar-nav li ul.main-nav__sub,
#header .navbar-nav li ul.dropdown-menu {
    border-color: rgba(0, 89, 150, 0.14) !important;
    box-shadow: 0 18px 35px rgba(0, 59, 107, 0.10);
}

#header .navbar-nav li ul.sub-menu li .active,
#header .navbar-nav li ul.sub-menu li a:hover,
#header .navbar-nav li ul.sub-menu li a:focus,
#header .navbar-nav li ul.main-nav__sub li .active,
#header .navbar-nav li ul.main-nav__sub li a:hover,
#header .navbar-nav li ul.main-nav__sub li a:focus {
    background: rgba(0, 89, 150, 0.08) !important;
}

@media (min-width: 992px) {
    #header .navbar-nav li:hover > ul.main-nav__sub,
    #header .navbar-nav li:focus-within > ul.main-nav__sub,
    #header .navbar-nav li:hover > ul.dropdown-menu,
    #header .navbar-nav li:focus-within > ul.dropdown-menu {
        display: block;
        -webkit-animation: fadeInUp 400ms;
        animation: fadeInUp 400ms;
    }

    #header .navbar-nav li > ul.main-nav__sub,
    #header .navbar-nav li > ul.dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999;
        min-width: 240px;
        padding: 10px 0;
        border: 1px solid rgba(0, 89, 150, 0.14);
        border-radius: 12px;
        background: #fff;
    }

    #header .tipi-navbar-menu > li:last-child > ul.main-nav__sub,
    #header .tipi-navbar-menu > li:last-child > ul.dropdown-menu {
        right: 0;
        left: auto;
    }

    #header .navbar-nav li ul.main-nav__sub ul.main-nav__sub,
    #header .navbar-nav li ul.dropdown-menu ul.dropdown-menu {
        top: -1px;
        left: 100%;
    }

    #header .navbar-nav li ul.main-nav__sub li,
    #header .navbar-nav li ul.dropdown-menu li {
        float: none;
        display: block;
        width: 100%;
    }

    #header .navbar-nav li ul.main-nav__sub li a,
    #header .navbar-nav li ul.dropdown-menu li a {
        display: block;
        padding: 8px 20px;
        color: #61717f !important;
        font-size: 13px;
        font-weight: 500;
        line-height: 1.35;
        text-align: left;
        text-transform: none;
        white-space: nowrap;
    }

    #header .navbar-nav li ul.main-nav__sub li a:hover,
    #header .navbar-nav li ul.main-nav__sub li a:focus,
    #header .navbar-nav li ul.main-nav__sub li.active > a,
    #header .navbar-nav li ul.dropdown-menu li a:hover,
    #header .navbar-nav li ul.dropdown-menu li a:focus,
    #header .navbar-nav li ul.dropdown-menu li.active > a {
        color: var(--tipi-primary) !important;
    }
}

/* ============================ Home ============================ */
.tipi-pricing-section {
    padding: 24px 0 10px;
}

.tipi-pricing-section .pricing-header {
    text-align: center;
    margin-bottom: 34px;
}

.tipi-pricing-section .section-label {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(0, 89, 150, 0.08);
    color: var(--tipi-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tipi-pricing-section .section-sub {
    max-width: 760px;
    margin: 14px auto 0;
    color: var(--tipi-muted);
    line-height: 1.75;
}

.tipi-sales-models {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 44px;
}

.tipi-sales-model {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 32px;
    border: 1px solid rgba(0, 89, 150, 0.16);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.tipi-sales-model--subscription {
    background: linear-gradient(135deg, #ffffff 0%, #edf7fd 100%);
    box-shadow: 0 18px 42px rgba(0, 89, 150, 0.12);
}

.tipi-sales-model--one-time {
    border-color: rgba(31, 86, 66, 0.20);
    background: linear-gradient(135deg, #ffffff 0%, #f2f8f5 100%);
}

.tipi-sales-model-label {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 89, 150, 0.10);
    color: var(--tipi-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tipi-sales-model--one-time .tipi-sales-model-label {
    background: rgba(31, 86, 66, 0.10);
    color: #1f5642;
}

.tipi-sales-model h3 {
    margin-bottom: 16px;
    font-size: 28px;
}

.tipi-sales-model-price {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 18px;
}

.tipi-sales-model-price strong {
    color: var(--tipi-text);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
}

.tipi-sales-model-price span {
    color: var(--tipi-muted);
    font-size: 13px;
    font-weight: 600;
}

.tipi-sales-model > p {
    margin-bottom: 20px;
    color: var(--tipi-muted);
    line-height: 1.7;
}

.tipi-sales-model ul {
    flex: 1 1 auto;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.tipi-sales-model li {
    position: relative;
    margin-bottom: 11px;
    padding-left: 27px;
    color: var(--tipi-muted);
    line-height: 1.55;
}

.tipi-sales-model li::before {
    content: "✓";
    position: absolute;
    top: 2px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(0, 89, 150, 0.16);
    border-radius: 50%;
    background: rgba(0, 89, 150, 0.08);
    color: var(--tipi-primary);
    font-size: 10px;
    font-weight: 700;
}

.tipi-sales-model--one-time li::before {
    border-color: rgba(31, 86, 66, 0.18);
    background: rgba(31, 86, 66, 0.08);
    color: #1f5642;
}

.tipi-pricing-subhead {
    max-width: 760px;
    margin: 0 auto 30px;
}

.tipi-pricing-subhead h3 {
    margin: 10px 0 8px;
    font-size: 28px;
}

.tipi-pricing-subhead p {
    margin: 0;
    color: var(--tipi-muted);
    line-height: 1.7;
}

.tipi-hosting-included {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 0 0 28px;
    padding: 26px 30px;
    border: 1px solid rgba(0, 89, 150, 0.14);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 89, 150, 0.08), rgba(31, 86, 66, 0.08));
}

.tipi-hosting-included span {
    display: block;
    margin-bottom: 8px;
    color: var(--tipi-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tipi-hosting-included h3 {
    margin: 0 0 8px;
    color: var(--tipi-text);
    font-size: 24px;
}

.tipi-hosting-included p {
    max-width: 780px;
    margin: 0;
    color: var(--tipi-muted);
    line-height: 1.7;
}

.tipi-hosting-included .pricing-cta {
    min-width: 240px;
    flex: 0 0 auto;
    background: #ffffff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 26px;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 34px 30px;
    border: 1px solid var(--tipi-border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 46px rgba(15, 23, 42, 0.12);
}

.pricing-card.featured {
    border-color: var(--tipi-primary);
    background: linear-gradient(160deg, #005996 0%, #003f6b 100%);
    box-shadow: 0 22px 52px rgba(0, 89, 150, 0.26);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 30px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #0b7bd0;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pricing-tier {
    margin-bottom: 12px;
    color: #708192;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pricing-card.featured .pricing-tier {
    color: rgba(255, 255, 255, 0.62);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}

.price-prefix {
    font-size: 14px;
    font-weight: 700;
    color: var(--tipi-muted);
}

.price-amount {
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    color: var(--tipi-text);
}

.price-period {
    font-size: 13px;
    color: var(--tipi-muted);
}

.pricing-card.featured .price-prefix,
.pricing-card.featured .price-amount,
.pricing-card.featured .price-period {
    color: #fff;
}

.pricing-note {
    min-height: 20px;
    margin-bottom: 18px;
    color: #708192;
    font-size: 12px;
    font-weight: 600;
}

.pricing-card.featured .pricing-note,
.pricing-card.featured .pricing-desc,
.pricing-card.featured .pricing-feature {
    color: rgba(255, 255, 255, 0.82);
}

.pricing-desc {
    margin-bottom: 24px;
    color: var(--tipi-muted);
    line-height: 1.7;
}

.pricing-divider {
    height: 1px;
    margin-bottom: 22px;
    background: var(--tipi-border);
}

.pricing-card.featured .pricing-divider {
    background: rgba(255, 255, 255, 0.16);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 auto;
    margin-bottom: 28px;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--tipi-muted);
    line-height: 1.55;
}

.pricing-check {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex: 0 0 18px;
    border-radius: 50%;
    background: rgba(0, 89, 150, 0.08);
    border: 1px solid rgba(0, 89, 150, 0.16);
    color: var(--tipi-primary);
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-card.featured .pricing-check {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.pricing-cta {
    display: block;
    padding: 13px 16px;
    border-radius: 999px;
    border: 1px solid rgba(0, 89, 150, 0.16);
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--tipi-primary);
    background: rgba(0, 89, 150, 0.06);
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.pricing-cta:hover,
.pricing-cta:focus {
    background: rgba(0, 89, 150, 0.12);
    color: var(--tipi-primary-dark);
}

.pricing-card.featured .pricing-cta {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--tipi-primary);
}

.pricing-card.featured .pricing-cta:hover,
.pricing-card.featured .pricing-cta:focus {
    background: rgba(255, 255, 255, 0.92);
    color: var(--tipi-primary-dark);
}

.tipi-pricing-note-card {
    padding: 30px;
    border: 1px solid var(--tipi-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.tipi-pricing-note-card ul {
    margin: 0;
    padding-left: 18px;
}

.tipi-pricing-note-card li {
    margin-bottom: 10px;
    color: var(--tipi-muted);
}

.tipi-home-section,
.tipi-home-hero,
#korzysci,
#panel,
#mozliwosci,
#content-builder,
#wdrozenie,
#wdrozenia,
#pakiety,
#faq {
    scroll-margin-top: 96px;
}

.tipi-home-hero-copy,
.tipi-home-hero-visual {
    animation: tipi-home-rise 0.7s ease both;
}

.tipi-home-hero-visual {
    animation-delay: 0.12s;
}

@keyframes tipi-home-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tipi-home-hero-copy,
    .tipi-home-hero-visual,
    .tipi-case-card,
    .tipi-cookie-banner {
        animation: none;
        transition: none;
    }
}

/* ============================ Home Verve ============================ */
.tipi-page-main,
.tipi-main-content {
    width: 100%;
    text-align: left;
}

.tipi-home-page {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    overflow: hidden;
}

.tipi-home-page img {
    max-width: 100%;
    height: auto;
}

.tipi-home-page figure {
    max-width: 100%;
    overflow: hidden;
}

.tipi-section-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--tipi-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tipi-home-section {
    padding: var(--tipi-space-xl) 0;
}

.tipi-home-section--muted {
    background: var(--tipi-surface);
}

.tipi-home-section-head {
    max-width: 720px;
    margin: 0 auto 48px;
}

.tipi-home-section-head--left {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 28px;
}

.tipi-home-section-head h2 {
    margin: 0 0 16px;
    color: var(--tipi-text);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.tipi-home-section-head p {
    margin: 0 auto;
    color: var(--tipi-muted);
    font-size: 17px;
    line-height: 1.75;
}

.tipi-home-section-head--left p {
    margin-left: 0;
}

/* Hero */
.tipi-home-hero {
    position: relative;
    padding: 72px 0 0;
    overflow: hidden;
}

.tipi-home-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 85% 0%, rgba(108, 76, 241, 0.16), transparent 55%),
        radial-gradient(ellipse 50% 45% at 10% 80%, rgba(255, 107, 94, 0.08), transparent 50%),
        linear-gradient(180deg, #f8f8fb 0%, #ffffff 62%, #ffffff 100%);
    pointer-events: none;
}

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

.tipi-home-hero-copy {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.tipi-home-brand {
    margin: 0 0 18px;
    color: var(--tipi-primary);
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.tipi-home-slogan {
    margin: -6px 0 16px;
    color: #FF6B5E;
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tipi-home-hero h1 {
    margin: 0 0 20px;
    color: var(--tipi-text);
    font-size: clamp(28px, 4.2vw, 44px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.025em;
}

.tipi-home-lead {
    max-width: 640px;
    margin: 0 auto;
    color: var(--tipi-muted);
    font-size: 18px;
    line-height: 1.7;
}

.tipi-home-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.tipi-home-actions .btn-common {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 0;
    padding: 12px 26px;
}

.tipi-home-hero-visual {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 12px;
}

.tipi-home-hero-app {
    display: block;
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: contain;
    object-position: center;
}

.etaply-marketing-card {
    width: min(460px, 100%);
    margin: 0 auto;
    padding: 28px;
    border-radius: 28px 28px 0 0;
    color: #fff;
    background: #29204d;
    box-shadow: var(--tipi-shadow-lg);
}

.etaply-marketing-card__head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #dcd4ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
}

.etaply-marketing-card h2 {
    margin: 34px 0 18px;
    color: #fff;
    font-size: 27px;
}

.etaply-marketing-card__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.etaply-marketing-card__grid span {
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    border: 2px dashed rgba(255, 255, 255, .42);
    border-radius: 14px;
    color: #fff;
    font-weight: 800;
}

.etaply-marketing-card__grid .is-filled {
    border-style: solid;
    border-color: #ff6b5e;
    background: rgba(255, 107, 94, .24);
}

.etaply-marketing-card__grid .is-reward { border-color: rgba(255, 255, 255, .8); }
.etaply-marketing-card p { margin: 18px 0 0; color: #dcd4ff; }

/* Trust strip */
.tipi-home-trust {
    padding: 28px 0 8px;
    border-bottom: 1px solid rgba(108, 76, 241, 0.10);
}

.tipi-proof-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    text-align: center;
}

.tipi-proof-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--tipi-text);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tipi-proof-item span {
    color: var(--tipi-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* Feature grid */
.tipi-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 32px;
}

.tipi-feature-tile {
    padding: 8px 4px 0;
}

.tipi-feature-tile-num {
    display: block;
    margin-bottom: 14px;
    color: rgba(108, 76, 241, 0.35);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.tipi-feature-tile h3 {
    margin: 0 0 10px;
    color: var(--tipi-text);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.tipi-feature-tile p {
    margin: 0;
    color: var(--tipi-muted);
    line-height: 1.7;
}

/* Split / panel */
.tipi-split-row {
    align-items: center;
}

.tipi-media-frame {
    margin: 0;
    border-radius: var(--tipi-radius-xl);
    background: #fff;
    border: 1px solid rgba(0, 89, 150, 0.10);
    box-shadow: var(--tipi-shadow-lg);
    overflow: hidden;
}

.tipi-media-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.tipi-step-list {
    display: grid;
    gap: 18px;
    margin: 0 0 28px;
}

.tipi-step-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: start;
}

.tipi-step-item > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 89, 150, 0.08);
    color: var(--tipi-primary);
    font-size: 13px;
    font-weight: 700;
}

.tipi-step-item h3 {
    margin: 4px 0 6px;
    color: var(--tipi-text);
    font-size: 18px;
    font-weight: 700;
}

.tipi-step-item p {
    margin: 0;
    color: var(--tipi-muted);
    line-height: 1.65;
}

/* CTA band */
.tipi-home-cta-band {
    padding: 0 0 var(--tipi-space-xl);
}

.tipi-cta-band-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 40px 44px;
    border-radius: var(--tipi-radius-xl);
    background: linear-gradient(135deg, var(--tipi-primary) 0%, var(--tipi-primary-dark) 100%);
    box-shadow: var(--tipi-shadow-lg);
    color: #fff;
    margin-top: 30px;
}

.tipi-cta-band-copy {
    flex: 1 1 420px;
    max-width: 720px;
}

.tipi-cta-band-copy h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tipi-cta-band-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
}

/* Feature splits */
.tipi-home-feature-list {
    display: grid;
    gap: 72px;
}

.tipi-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.tipi-split--reverse .tipi-split-media {
    order: 2;
}

.tipi-split--reverse .tipi-split-copy {
    order: 1;
}

.tipi-split-copy h2 {
    margin: 0 0 16px;
    color: var(--tipi-text);
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.tipi-split-copy p {
    margin: 0 0 14px;
    color: var(--tipi-muted);
    font-size: 16px;
    line-height: 1.75;
}

.tipi-home-checklist {
    margin: 18px 0 0;
    padding-left: 18px;
    color: var(--tipi-muted);
    line-height: 1.9;
}

.tipi-home-checklist li {
    margin-bottom: 6px;
}

.tipi-inline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.tipi-inline-tags li {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 89, 150, 0.08);
    color: var(--tipi-primary);
    font-size: 13px;
    font-weight: 600;
}

.tipi-process-board {
    padding: 28px;
    border-radius: var(--tipi-radius-xl);
    background: #fff;
    border: 1px solid rgba(0, 89, 150, 0.10);
    box-shadow: var(--tipi-shadow);
}

.tipi-process-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid rgba(0, 89, 150, 0.08);
}

.tipi-process-step:first-child {
    border-top: 0;
    padding-top: 0;
}

.tipi-process-step:last-child {
    padding-bottom: 0;
}

.tipi-process-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--tipi-primary);
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}

.tipi-process-step strong {
    color: var(--tipi-text);
    font-size: 16px;
    font-weight: 600;
}

.tipi-contact-strip {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 89, 150, 0.08);
    color: var(--tipi-muted);
}

.tipi-contact-strip a {
    font-weight: 700;
}

.tipi-contact-strip span {
    display: block;
    margin-top: 10px;
}

.tipi-feature-image {
    display: block;
    width: 100%;
    height: auto;
}

/* Cases */
.tipi-case-card {
    height: 100%;
    margin-bottom: 24px;
    border-radius: var(--tipi-radius-xl);
    background: #fff;
    border: 1px solid rgba(0, 89, 150, 0.10);
    box-shadow: var(--tipi-shadow);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.tipi-case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tipi-shadow-lg);
}

.tipi-case-card figure {
    margin: 0;
    background: #eef5fa;
}

.tipi-case-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.tipi-case-body {
    padding: 24px 26px 28px;
}

.tipi-case-body > span,
.tipi-news-tile > span {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--tipi-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tipi-case-body h3,
.tipi-news-tile h3 {
    margin: 0 0 10px;
    color: var(--tipi-text);
    font-size: 22px;
    font-weight: 700;
}

.tipi-case-body p,
.tipi-news-tile p {
    margin: 0 0 16px;
    color: var(--tipi-muted);
    line-height: 1.7;
}

.tipi-case-body a {
    font-weight: 700;
}

.tipi-section-cta {
    margin-top: 12px;
}

/* Compare */
.tipi-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.tipi-compare-col {
    padding: 32px;
    border-radius: var(--tipi-radius-xl);
    background: #fff;
    border: 1px solid rgba(0, 89, 150, 0.10);
}

.tipi-compare-col--accent {
    background: linear-gradient(180deg, #fff 0%, #eef6fc 100%);
    border-color: rgba(0, 89, 150, 0.18);
}

.tipi-compare-col h3 {
    margin: 0 0 16px;
    color: var(--tipi-text);
    font-size: 22px;
    font-weight: 700;
}

.tipi-compare-col ul {
    margin: 0;
    padding-left: 18px;
}

.tipi-compare-col li {
    margin-bottom: 10px;
    color: var(--tipi-muted);
    line-height: 1.65;
}

/* News */
.tipi-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.tipi-news-tile {
    padding: 28px;
    border-radius: var(--tipi-radius-xl);
    background: #fff;
    border: 1px solid rgba(0, 89, 150, 0.10);
}

a.tipi-news-tile-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a.tipi-news-tile-link:hover,
a.tipi-news-tile-link:focus {
    border-color: rgba(0, 89, 150, 0.28);
    box-shadow: 0 10px 24px rgba(0, 89, 150, 0.08);
    transform: translateY(-2px);
}

a.tipi-news-tile-link:hover h3,
a.tipi-news-tile-link:focus h3 {
    color: var(--tipi-primary);
}

.tipi-price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0 0 20px;
}

.tipi-price-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.tipi-price-steps {
    margin: 8px auto 28px;
    max-width: 860px;
}

.tipi-price-card {
    padding: 28px 26px;
    border-radius: var(--tipi-radius-xl);
    background: #fff;
    border: 1px solid rgba(0, 89, 150, 0.10);
}

.tipi-price-card--featured {
    border-color: rgba(108, 76, 241, 0.35);
    box-shadow: 0 12px 28px rgba(108, 76, 241, 0.12);
}

.tipi-price-card__plan {
    margin: 0 0 8px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--tipi-muted);
    font-size: 13px;
}

.tipi-price-card__amount {
    margin: 0 0 16px;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--tipi-text);
}

.tipi-price-card__amount span {
    font-size: 15px;
    font-weight: 600;
    color: var(--tipi-muted);
}

.tipi-price-card ul {
    margin: 0;
    padding-left: 18px;
}

.tipi-price-card li {
    margin-bottom: 8px;
    color: var(--tipi-muted);
    line-height: 1.55;
}

.tipi-price-note {
    margin: 0 0 20px;
    text-align: center;
    color: var(--tipi-muted);
    font-size: 0.95rem;
}

.tipi-home-disambiguation {
    margin: 12px 0 0;
    max-width: 46rem;
    color: var(--tipi-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.tipi-intent-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.tipi-intent-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid rgba(0, 89, 150, 0.16);
    border-radius: 999px;
    color: var(--tipi-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
}

.tipi-intent-links a:hover,
.tipi-intent-links a:focus {
    background: var(--tipi-primary-light);
}

.tipi-news-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

/* Pricing section spacing in home */
.tipi-home-page .tipi-pricing-section {
    padding-top: var(--tipi-space-xl);
    padding-bottom: var(--tipi-space-lg);
}

/* FAQ accordion */
.tipi-faq-accordion {
    max-width: 820px;
    margin: 0 auto;
}

.tipi-faq-item {
    margin-bottom: 12px;
    border: 1px solid rgba(0, 89, 150, 0.12);
    border-radius: var(--tipi-radius-lg);
    background: #fff;
    overflow: hidden;
}

.tipi-faq-item summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 18px 52px 18px 22px;
    color: var(--tipi-text);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.tipi-faq-item summary::-webkit-details-marker {
    display: none;
}

.tipi-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tipi-primary);
    font-size: 22px;
    font-weight: 500;
}

.tipi-faq-item[open] summary::after {
    content: "\2212";
}

.tipi-faq-answer {
    padding: 0 22px 20px;
}

.tipi-faq-answer p {
    margin: 0;
    color: var(--tipi-muted);
    line-height: 1.7;
}

/* Final CTA */
.tipi-home-final {
    padding: 0 0 var(--tipi-space-xl);
}

.tipi-final-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 48px;
    border-radius: var(--tipi-radius-xl);
    background:
        radial-gradient(circle at top right, rgba(0, 89, 150, 0.12), transparent 40%),
        linear-gradient(180deg, #f7fbfe 0%, #eef5fb 100%);
    border: 1px solid rgba(0, 89, 150, 0.12);
}

.tipi-final-copy {
    flex: 1 1 420px;
    max-width: 640px;
}

.tipi-final-copy h2 {
    margin: 0 0 12px;
    color: var(--tipi-text);
    font-size: clamp(26px, 3.2vw, 34px);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tipi-final-copy p {
    margin: 0;
    color: var(--tipi-muted);
    line-height: 1.7;
}

.tipi-final-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-width: 220px;
}

.tipi-final-actions .btn-common {
    text-align: center;
}

.tipi-cta-phone {
    display: block;
    text-align: center;
    color: var(--tipi-text);
    font-size: 17px;
    font-weight: 700;
}

.tipi-cta-phone:hover,
.tipi-cta-phone:focus {
    color: var(--tipi-primary);
}

.tipi-contact-page {
    padding-top: 12px;
}

.tipi-contact-intro {
    margin-bottom: 22px;
}

.tipi-contact-intro p,
.tipi-contact-copy p {
    color: var(--tipi-muted);
    line-height: 1.8;
}

.tipi-contact-card {
    margin-bottom: 24px;
    padding: 26px;
    border: 1px solid rgba(0, 89, 150, 0.10);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--tipi-shadow);
}

.tipi-contact-card h2 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #15344d;
    font-size: 24px;
}

.tipi-contact-list {
    margin: 0;
    padding-left: 18px;
    color: var(--tipi-muted);
    line-height: 1.9;
}

.tipi-contact-list li {
    margin-bottom: 8px;
}

.tipi-contact-form-note {
    margin-bottom: 18px;
    color: var(--tipi-muted);
    line-height: 1.7;
}

.tipi-contact-form-card .form-label {
    display: inline-block;
    margin-bottom: 6px;
    font-weight: 700;
    color: var(--tipi-text);
}

.tipi-optional {
    font-weight: 400;
    color: var(--tipi-muted);
}

.tipi-contact-alert h4 {
    margin: 0;
    color: #15344d;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.tipi-contact-alert .icon {
    margin-right: 8px;
}

.tipi-alert-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid rgba(21, 52, 77, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
    color: #15344d;
    opacity: 1;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.tipi-alert-close:before {
    content: "\00d7";
    font-size: 20px;
    line-height: 1;
}

.tipi-alert-close:hover,
.tipi-alert-close:focus {
    border-color: rgba(0, 89, 150, 0.34);
    background: #fff;
    color: var(--tipi-primary);
}

#contact-form textarea[name="tresc"] {
    height: auto;
    min-height: 180px;
    resize: vertical;
}

#home-cta {
    background-image: url(../images/home/tour-bg.png);
    background-color: #fbfafa;
    background-repeat: repeat-x;
    background-position: center;
    display: table;
    width: 100%;
    height: 155px;
}

/* ============================ Footer ============================ */
#footer {
    padding: 56px 0 34px;
    background:
        radial-gradient(circle at top left, rgba(0, 89, 150, 0.12), transparent 34%),
        linear-gradient(180deg, #f7fbfe 0%, #eef5fb 100%);
    border-top: 1px solid rgba(0, 89, 150, 0.10);
}

.tipi-footer-shell {
    position: relative;
}

.tipi-footer-shell:before {
    content: "";
    display: block;
    height: 1px;
    margin-bottom: 34px;
    background: linear-gradient(90deg, rgba(0, 89, 150, 0), rgba(0, 89, 150, 0.18), rgba(0, 89, 150, 0));
}

.tipi-footer-card {
    height: 100%;
    padding: 28px;
    border: 1px solid rgba(0, 89, 150, 0.10);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 35px rgba(0, 59, 107, 0.08);
}

.tipi-footer-card-accent {
    background: linear-gradient(180deg, #ffffff 0%, #f2f8fd 100%);
}

.tipi-footer-kicker {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 89, 150, 0.08);
    color: var(--tipi-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tipi-footer-card h2,
.tipi-footer-card h3 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #15344d;
}

.tipi-footer-card h2 {
    font-size: 28px;
    line-height: 1.3;
}

.tipi-footer-card h3 {
    font-size: 20px;
}

.tipi-footer-card p,
.tipi-footer-card li,
.tipi-footer-card span {
    color: var(--tipi-muted);
    line-height: 1.75;
}

.tipi-footer-brandline {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 89, 150, 0.08);
}

.tipi-footer-brandline img {
    width: auto;
    max-height: 42px;
}

.tipi-footer-brandline span {
    font-size: 14px;
}

.tipi-footer-list,
.tipi-footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tipi-footer-list li,
.tipi-footer-links li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 18px;
}

.tipi-footer-list li:before,
.tipi-footer-links li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tipi-primary);
}

.tipi-footer-links li a {
    color: var(--tipi-primary) !important;
    font-weight: 600;
}

.tipi-footer-links li a:hover,
.tipi-footer-links li a:focus {
    color: var(--tipi-primary-dark) !important;
}

.tipi-footer-meta {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 89, 150, 0.08);
}

.tipi-footer-meta strong {
    display: block;
    margin-bottom: 6px;
    color: #15344d;
    font-size: 15px;
}

.tipi-footer-meta a {
    color: var(--tipi-primary) !important;
    font-weight: 600;
}

.tipi-footer-bottom {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 89, 150, 0.10);
}

.tipi-footer-bottom p {
    margin-bottom: 6px;
    color: var(--tipi-muted);
}

.tipi-footer-bottom a {
    color: var(--tipi-primary) !important;
    font-weight: 600;
}

/* ============================ Cookie Banner ============================ */
.tipi-cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.tipi-cookie-banner.is-hiding {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
}

.tipi-cookie-banner .eucookie-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 22px;
    border: 1px solid rgba(0, 89, 150, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 40px rgba(0, 59, 107, 0.16);
}

.tipi-cookie-banner .eucookie-content {
    flex: 1 1 auto;
}

.tipi-cookie-banner .eucookie-content p {
    margin: 0;
    color: #3b4f60;
    line-height: 1.65;
}

.tipi-cookie-link {
    color: var(--tipi-primary) !important;
    font-weight: 700;
    text-decoration: underline;
}

.tipi-cookie-actions {
    flex: 0 0 auto;
}

.tipi-cookie-banner .eucookie_close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    background: var(--tipi-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tipi-cookie-banner .eucookie_close:hover,
.tipi-cookie-banner .eucookie_close:focus {
    background: var(--tipi-primary-dark);
    color: #fff;
}

@media (min-width: 992px) {
    #header .navbar-collapse.collapse {
        display: block !important;
        height: auto !important;
    }
    #header .tipi-navbar-menu {
        float: none !important;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
        gap: 2px;
        margin-top: 0;
        margin-bottom: 0;
    }
    #header .tipi-navbar-menu > li {
        float: none;
    }
}

@media (max-width: 991px) {
    #header .tipi-navbar .tipi-header-container {
        padding-top: 12px;
        padding-right: 12px;
        padding-bottom: 12px;
        padding-left: 12px;
    }
    .tipi-header-row {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        min-height: 0;
    }
    .tipi-navbar-header {
        width: 100%;
        min-height: 56px;
        justify-content: space-between;
    }
    .tipi-brand-wrap {
        display: flex;
        align-items: center;
        gap: 10px;
        order: 1;
        flex: 1 1 auto;
        min-width: 0;
        padding-right: 0;
        border-right: 0;
        width: auto;
    }
    #header .navbar-brand img {
        max-height: 52px;
        margin-top: 0;
    }
    .tipi-brand-subtitle {
        display: none;
    }
    #header .navbar-toggler,
    #header .tipi-navbar .navbar-toggler:focus {
        border-color: var(--tipi-primary) !important;
        width: 42px;
        height: 42px;
        padding: 10px 9px;
        margin: 0;
        margin-left: auto;
        float: none;
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        background: rgba(0, 89, 150, 0.06);
    }
    #header .navbar-toggler-line {
        background: var(--tipi-primary) !important;
        width: 22px;
        margin-top: 0;
    }
    #header .navbar-toggler-line + .navbar-toggler-line {
        margin-top: 4px;
    }
    #header .navbar-toggler:not(.collapsed) .navbar-toggler-line:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    #header .navbar-toggler:not(.collapsed) .navbar-toggler-line:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    #header .navbar-toggler:not(.collapsed) .navbar-toggler-line:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    #header .navbar-collapse {
        margin-top: 8px;
        width: 100%;
        border-top: 0;
        box-shadow: none;
        padding-left: 0;
        padding-right: 0;
    }
    #header .navbar-collapse.collapse:not(.show) {
        display: none !important;
    }
    #header .navbar-collapse.collapse.show {
        display: block !important;
    }
    .tipi-header-nav {
        width: 100%;
        display: block !important;
        padding: 8px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 16px 36px rgba(0, 89, 150, 0.10);
    }
    #header .tipi-navbar-menu {
        float: none !important;
        display: block;
        margin: 0;
    }
    #header .tipi-navbar-menu > li {
        float: none;
        border-bottom: 1px solid rgba(0, 89, 150, 0.10);
    }
    #header .tipi-navbar-menu > li:last-child {
        border-bottom: 0;
    }
    #header .tipi-navbar-menu > li > a {
        display: block;
        padding: 14px 12px;
        border-radius: 12px;
        text-align: center;
        font-size: 15px;
        font-weight: 600;
        letter-spacing: -0.01em;
        color: #15344d !important;
        background: transparent;
        box-shadow: none;
    }
    #header .tipi-navbar-menu > li > a:hover,
    #header .tipi-navbar-menu > li > a:focus,
    #header .tipi-navbar-menu > li.active > a,
    #header .tipi-navbar-menu > li.active > a:focus {
        color: var(--tipi-primary) !important;
        background: rgba(0, 89, 150, 0.06);
        box-shadow: none;
    }
    #header .tipi-navbar-menu > li.dropdown {
        display: grid;
        grid-template-columns: 1fr 42px;
        align-items: center;
    }
    #header .tipi-navbar-menu > li.dropdown > a {
        grid-column: 1;
    }
    #header .mobile-menu-child-drop-down {
        grid-column: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 0;
        border-radius: 12px;
        background: rgba(0, 89, 150, 0.06);
        color: var(--tipi-primary);
        line-height: 1;
    }
    #header .mobile-menu-child-drop-down:hover,
    #header .mobile-menu-child-drop-down:focus {
        background: rgba(0, 89, 150, 0.10);
        color: var(--tipi-primary-dark);
    }
    #header .mobile-menu-child-drop-down[aria-expanded="true"] .mobile-fa {
        transform: rotate(180deg);
    }
    #header .mobile-fa {
        padding-left: 0;
        transition: transform .2s ease;
    }
    #header .navbar-nav li > ul.main-nav__sub,
    #header .navbar-nav li > ul.dropdown-menu {
        grid-column: 1 / -1;
        position: static;
        display: none;
        min-width: 0;
        margin: 0 8px 8px;
        padding: 4px 0 8px;
        border: 0;
        border-radius: 12px;
        background: rgba(0, 89, 150, 0.04);
        box-shadow: none;
    }
    #header .navbar-nav li.active > ul.main-nav__sub,
    #header .navbar-nav li:focus-within > ul.main-nav__sub,
    #header .navbar-nav li.open > ul.dropdown-menu {
        display: block;
    }
    #header .navbar-nav li ul.main-nav__sub li,
    #header .navbar-nav li ul.dropdown-menu li {
        border-bottom: 0;
    }
    #header .navbar-nav li ul.main-nav__sub li a,
    #header .navbar-nav li ul.dropdown-menu li a {
        display: block;
        padding: 9px 12px;
        border-radius: 10px;
        color: #61717f !important;
        font-size: 13px;
        font-weight: 500;
        line-height: 1.35;
        text-align: center;
        text-transform: none;
        white-space: normal;
    }
    #header .navbar-nav li ul.main-nav__sub li a:hover,
    #header .navbar-nav li ul.main-nav__sub li a:focus,
    #header .navbar-nav li ul.main-nav__sub li.active > a,
    #header .navbar-nav li ul.dropdown-menu li a:hover,
    #header .navbar-nav li ul.dropdown-menu li a:focus,
    #header .navbar-nav li ul.dropdown-menu li.active > a {
        color: var(--tipi-primary) !important;
        background: rgba(0, 89, 150, 0.08) !important;
    }
    .tipi-sales-models,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .tipi-proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tipi-panel-preview-section,
    .tipi-implementations-section,
    .tipi-choice-section,
    .tipi-news-section {
        padding-top: 42px;
    }
    .tipi-sales-model,
    .tipi-hosting-included,
    .tipi-pricing-note-card,
    .pricing-card {
        padding: 24px 22px;
    }
    .tipi-hosting-included {
        display: block;
    }
    .tipi-hosting-included .pricing-cta {
        min-width: 0;
        margin-top: 18px;
    }
    .tipi-footer-card {
        margin-bottom: 24px;
    }
    .tipi-cookie-banner {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
}

/* Przyciski błędu / coming soon */
.btn-error:hover,
.btn-error:focus {
    background-color: var(--tipi-primary) !important;
    border-color: var(--tipi-primary) !important;
}
#error-page i:hover,
#coming-soon i:hover {
    background-color: var(--tipi-primary) !important;
}

/* Nav-pills — aktywne */
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
    background-color: var(--tipi-primary) !important;
    color: #fff !important;
}

/* Tag cloud hover */
.tag-cloud .nav-pills li a:hover {
    background: var(--tipi-primary) !important;
    color: #fff !important;
}

/* Sidebar — media hover */
.sidebar-item .media:hover .media-body h4 a,
.sidebar-item .media:hover.media .media-body h4 a {
    color: var(--tipi-primary) !important;
}

/* Kategorie w sidebar */
.categories .navbar-stacked li a:hover,
.categories .navbar-stacked li.active a {
    color: var(--tipi-primary) !important;
}

/* Liczniki / stats */
.count h1 { color: var(--tipi-primary) !important; }

/* Elementy listy z ikoną */
ul.elements li > i { color: var(--tipi-primary) !important; }

/* Ikona-wrapper (services) */
.icon-wrapper {
    background-color: var(--tipi-primary) !important;
    color: #fff !important;
}

/* Pasek postępu */
.progress-bar.progress-bar-primary {
    background: var(--tipi-primary) !important;
}

/* Linia osi czasu */
.timeline-left-side:before,
.blog-timeline:before {
    border-left-color: var(--tipi-primary) !important;
}

/* Post — hover na tytule i readmore */
.post-title a:hover,
.comments-number a:hover {
    color: var(--tipi-primary) !important;
}
.post-nav li a i { color: var(--tipi-primary) !important; }
.post-nav li a:hover,
.post-nav li a:focus { color: var(--tipi-primary-dark) !important; }

/* Autor profil */
.author-profile span a { color: var(--tipi-primary) !important; }

/* Tabela cennikowa (highlight) */
.highligh-table .plan-name,
.single-table.highligh-table .table-header {
    background-color: var(--tipi-primary) !important;
    color: #fff !important;
}
.highligh-table .btn-buynow {
    background-color: var(--tipi-primary) !important;
    border-color: var(--tipi-primary) !important;
}
.highligh-table .btn-buynow:hover {
    background-color: var(--tipi-primary-dark) !important;
    border-color: var(--tipi-primary-dark) !important;
}

/* Newsletter icon */
#newsletter i { color: var(--tipi-primary) !important; }

/* Navbar-default (secondaty nav / skills / client) */
.navbar-default li a:hover { color: var(--tipi-primary-dark) !important; }

/* Carousel indicators */
.carousel-indicators.visible-xs li { border-color: var(--tipi-primary) !important; }

/* Audio player */
.audiojs { background: var(--tipi-primary) !important; }
.audiojs .play-pause { background: var(--tipi-primary-dark) !important; }
.audiojs .progress { background: #003d6a !important; }
.audiojs .loaded { background: rgba(0,89,150,0.5) !important; }

#page-kontakt .alert-dismissible .btn-close{
    top: 12px;
    right: 10px;
    padding: 3px;
}

/* ============================ RWD ============================ */
@media (max-width: 991px) {
    .tipi-feature-grid,
    .tipi-news-grid,
    .tipi-price-grid {
        grid-template-columns: 1fr 1fr;
    }
    .tipi-proof-strip {
        grid-template-columns: 1fr 1fr;
    }
    .tipi-split,
    .tipi-compare-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .tipi-split--reverse .tipi-split-media,
    .tipi-split--reverse .tipi-split-copy {
        order: initial;
    }
}

@media (max-width: 767px) {
    #home-cta.responsive {
        height: 255px;
    }
    #footer {
        padding: 42px 0 22px;
    }
    .tipi-cookie-banner .eucookie-block {
        display: block;
        padding: 18px;
    }
    .tipi-cookie-actions {
        margin-top: 14px;
    }
    .tipi-cookie-banner .eucookie_close {
        width: 100%;
    }
    .tipi-footer-card {
        padding: 22px;
    }
    .tipi-footer-card h2 {
        font-size: 24px;
    }
    .tipi-footer-brandline {
        display: block;
    }
    .tipi-footer-brandline img {
        margin-bottom: 12px;
    }
    #header {
        padding: 0;
    }
    #header .navbar-brand img {
        max-height: 52px;
    }
    .tipi-pricing-section {
        padding-top: 12px;
    }
    .tipi-sales-model-price strong,
    .price-amount {
        font-size: 32px;
    }
    .tipi-home-hero {
        padding-top: 42px;
    }
    .tipi-home-hero-copy {
        margin-bottom: 32px;
        text-align: left;
    }
    .tipi-home-actions {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }
    .tipi-home-actions .btn-common {
        display: block;
        width: 100%;
        margin-right: 0;
        text-align: center;
    }
    .tipi-home-section {
        padding: 56px 0;
    }
    .tipi-home-section-head {
        margin-bottom: 32px;
        text-align: left;
    }
    .tipi-proof-strip,
    .tipi-feature-grid,
    .tipi-news-grid,
    .tipi-price-grid,
    .tipi-compare-grid,
    .tipi-split {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .tipi-split--reverse .tipi-split-media,
    .tipi-split--reverse .tipi-split-copy {
        order: initial;
    }
    .tipi-home-feature-list {
        gap: 48px;
    }
    .tipi-cta-band-inner,
    .tipi-final-inner {
        padding: 28px 22px;
    }
    .tipi-cta-band-copy,
    .tipi-final-copy {
        text-align: left;
    }
    .tipi-final-actions {
        width: 100%;
        min-width: 0;
    }
    .tipi-news-actions {
        display: block;
    }
    .tipi-news-actions .btn-common {
        display: block;
        margin: 0 0 12px;
        width: 100%;
    }
    .tipi-contact-card {
        padding: 22px;
    }
    .blogCateArea {
        padding: 30px 0;
    }
    .blogCateArea .blogPostContent {
        padding: 14px;
    }
    .single-blog,
    .blog-details {
        padding: 18px;
    }
    .breadCrumbArea {
        padding: 40px 0 30px;
    }
}

.well .btn-primar{
    color:#fff;
}
