/* ICBM Local fixes — responsive & layout corrections */

/* Prevent horizontal scrollbar from Bootstrap .row negative margins */
html, body {
    overflow-x: hidden;
}

/* ===== HEADER / HERO TOP AREA ===== */
header {
    position: relative;
    overflow: visible !important;
    background-color: #fff !important;
    height: auto !important;
    background-image: none !important;
}

header .mixed {
    background-color: #fff !important;
    padding-bottom: 15px;
    position: relative;
    z-index: 100;
}

header > div {
    position: relative !important;
    background-image: none !important;
    background-color: #fff !important;
    padding-bottom: 0 !important;
}

/* Kill the pseudo-element background from production CSS */
header > div::before {
    display: none !important;
}

/* Logo sizing */
#logo {
    max-height: 60px;
    width: auto;
    margin-top: 10px;
}

/* Navigation fixes */
@media screen and (min-width: 992px) {
    header .mixed #main-menu ul.first-level {
        display: inline-block;
        float: right;
        margin-top: 15px;
        list-style: none;
        padding: 0;
    }

    header .mixed #main-menu ul.first-level > li {
        display: inline-block;
        position: relative;
    }

    header .mixed #main-menu ul.first-level > li > a {
        text-shadow: none;
        color: #000;
        font-weight: bold;
        padding: 10px 12px;
        font-size: 13px;
        text-transform: uppercase;
        text-decoration: none;
    }

    header .mixed #main-menu ul.first-level > li > a:hover {
        color: #dc1823;
    }

    /* Mega menu dropdown */
    header .mixed #main-menu ul.first-level > li > ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        border-radius: 4px;
        padding: 20px;
        z-index: 999;
        min-width: 600px;
    }

    header .mixed #main-menu ul.first-level > li:hover > ul {
        display: flex;
        flex-wrap: wrap;
    }

    header .mixed #main-menu ul.first-level > li > ul > li {
        width: 50%;
        margin-bottom: 15px;
    }

    header .mixed #main-menu ul.first-level > li > ul > li > a {
        font-weight: 600;
        color: #dc1823;
        font-size: 13px;
        text-decoration: none;
    }

    header .mixed #main-menu ul.first-level > li > ul > li > ul {
        list-style: none;
        padding: 5px 0 0 0;
    }

    header .mixed #main-menu ul.first-level > li > ul > li > ul > li > a {
        color: #555;
        font-size: 12px;
        text-decoration: none;
        display: block;
        padding: 3px 0;
    }

    header .mixed #main-menu ul.first-level > li > ul > li > ul > li > a:hover {
        color: #dc1823;
    }

    /* Nav right CTA */
    #nav-right {
        position: absolute;
        right: 0;
        top: 20px;
    }

    #nav-right ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    #nav-right ul li .btn {
        background-color: #dc1823;
        color: #fff;
        font-weight: 700;
        font-size: 11px;
        padding: 10px 20px;
        border-radius: 4px;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    #nav-right ul li .btn:hover {
        background-color: #b81420;
    }

    /* Mobile toggle hidden on desktop */
    .btn-toggle {
        display: none;
    }

    .slide-menu .controls {
        display: none;
    }
}

/* Mobile menu */
@media screen and (max-width: 991.999px) {
    #main-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 300px;
        background: #fff;
        z-index: 9999;
        overflow-y: auto;
        box-shadow: -4px 0 24px rgba(0,0,0,0.15);
        padding: 20px;
    }

    #main-menu.active {
        display: block;
    }

    #main-menu ul {
        list-style: none;
        padding: 0;
    }

    #main-menu ul.first-level > li {
        border-bottom: 1px solid #eee;
    }

    #main-menu ul.first-level > li > a {
        display: block;
        padding: 12px 0;
        color: #333;
        font-weight: 600;
        font-size: 14px;
        text-decoration: none;
    }

    #main-menu ul.first-level > li > ul {
        display: none;
        padding-left: 15px;
    }

    #main-menu ul.first-level > li > ul > li > ul {
        padding-left: 15px;
    }

    #main-menu ul.first-level > li > ul > li > ul > li > a {
        color: #666;
        font-size: 13px;
        text-decoration: none;
        display: block;
        padding: 5px 0;
    }

    .btn-toggle {
        display: block;
        float: right;
        margin-top: 20px;
        background: none;
        border: none;
        width: 30px;
        height: 25px;
        position: relative;
        cursor: pointer;
    }

    .btn-toggle::before,
    .btn-toggle::after {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background: #333;
        border-radius: 2px;
    }

    .btn-toggle::before { top: 0; box-shadow: 0 10px 0 #333; }
    .btn-toggle::after { bottom: 0; }

    #nav-right {
        display: none;
    }

    .slide-menu .controls {
        text-align: right;
        margin-bottom: 20px;
    }

    .slide-menu .controls .btn {
        background: none;
        border: 1px solid #ddd;
        padding: 5px 15px;
        border-radius: 4px;
        cursor: pointer;
    }
}

/* Premier Partner badge */
.premier-partner-logo {
    display: none;
}

@media screen and (min-width: 992px) {
    .premier-partner-logo {
        display: block;
        position: absolute;
        margin-left: 210px;
        margin-top: -65px;
        z-index: 0;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 40px 0 60px;
    background: #fff !important;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220, 24, 35, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Form Card */
.hero-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 2;
}

.hero-form-header {
    margin-bottom: 12px;
}

.hero-title {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
    margin: 0 0 6px;
}

.hero-subtitle {
    font-size: 15px;
    font-weight: 600;
    color: #dc1823;
    margin: 0;
}

.hero-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px;
}

/* Hero form inputs */
.hero-form-card .input-group {
    margin-bottom: 10px;
    position: relative;
}

.hero-form-card .input-group .icon-input {
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    transform: translateY(-50%);
    left: 14px;
    z-index: 10;
    opacity: 0.5;
}

.hero-form-card .input-group .form-control {
    background-color: #f7f8fb;
    border: 1.5px solid #eef0f5;
    border-radius: 10px;
    height: 46px;
    width: 100%;
    padding: 10px 15px 10px 42px;
    font-size: 13px;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-form-card .input-group .form-control:focus {
    outline: none;
    border-color: #dc1823;
    box-shadow: 0 0 0 3px rgba(220, 24, 35, 0.08);
    background-color: #fff;
}

.hero-form-card .input-group .form-control::placeholder {
    color: #999;
}

/* Select wrapper */
.hero-form-card .select-wrapper {
    display: flex;
    align-items: center;
    padding: 0 15px 0 42px !important;
    overflow: hidden;
}

.hero-form-card .select-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    background: transparent;
    height: 44px;
    width: 100%;
    padding: 0;
    font-size: 13px;
    color: #333;
    cursor: pointer;
}

.hero-form-card .select-wrapper select:focus {
    outline: none;
}

/* Submit button */
.hero-submit-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #dc1823 0%, #b81420 100%);
    color: #fff;
    border: none;
    padding: 14px 30px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(220, 24, 35, 0.3);
}

.hero-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(220, 24, 35, 0.4);
}

.hero-submit-btn:active {
    transform: translateY(0);
}

/* Tags */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
}

.hero-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #dc1823;
    background: rgba(220, 24, 35, 0.05);
    border: 1px solid rgba(220, 24, 35, 0.15);
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.hero-tag--primary {
    border: 1.5px solid #dc1823;
    padding: 5px 12px;
    font-size: 11px;
    background: rgba(220, 24, 35, 0.08);
}

/* Video wrapper */
.hero-video-wrapper {
    position: relative;
    padding: 20px 0;
}

.hero-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
}

.hero-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/* Responsive hero */
@media screen and (max-width: 991.999px) {
    .hero-section {
        padding: 20px 0 40px;
    }

    .hero-video-wrapper {
        margin-bottom: 24px;
        padding: 0;
    }

    .hero-video-badge {
        bottom: 10px;
        right: 10px;
    }

    .hero-form-card {
        padding: 24px 20px;
    }
}

@media screen and (min-width: 992px) {
    .hero-section {
        padding: 50px 0 70px;
    }

    .hero-form-card {
        margin-right: -20px;
        position: relative;
        z-index: 3;
    }

    .hero-video-wrapper {
        padding-left: 20px;
    }
}

@media screen and (min-width: 1200px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-form-card {
        padding: 36px 32px;
    }
}

/* Legacy support — keep .shadow-frame for other pages */
.shadow-frame {
    padding: 35px;
    box-shadow: 0 0 10px hsla(0, 0%, 50.2%, .2);
    background-color: #fff;
    border-radius: 5px;
    color: #000;
}

.shadow-frame .head-2 {
    color: #dc1823;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.shadow-frame .form-control {
    background-color: #f2f3f7;
    border-radius: 5px;
    height: 50px;
    border: 1px solid #f2f3f7;
    width: 100%;
    padding: 10px 15px 10px 45px;
    font-size: 14px;
}

/* Legacy input-group for non-hero forms */
.input-group {
    margin-bottom: 10px;
    position: relative;
}

.input-group .icon-input {
    position: absolute;
    max-height: 16px;
    max-width: 16px;
    top: 50%;
    margin-top: -8px;
    left: 16px;
    z-index: 10;
}

.input-group .form-control {
    padding-left: 45px;
}

.input-group select.form-control {
    appearance: none;
    -webkit-appearance: none;
    padding-left: 0;
    margin-left: 45px;
    width: calc(100% - 45px);
    border: none;
    background: transparent;
}

/* Legacy tag pills (other pages) */
.btn-pure-red {
    border: 1px solid #d22630;
    color: #d22630;
    font-weight: 800;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 3px;
    margin: 2px 3px 5px 0;
    display: inline-block;
    text-decoration: none;
    background: transparent;
    cursor: default;
}

/* Submit button (legacy for other forms) */
.btn-danger,
.btn-1 {
    background-color: #dc1823;
    color: #fff;
    border: none;
    padding: 14px 30px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.btn-danger:hover {
    background-color: #b81420;
}

/* Partners / Trust bar */
.partners-section {
    padding: 32px 0 !important;
    background: #f9fafb !important;
    border-top: 1px solid #eef0f4;
    border-bottom: 1px solid #eef0f4;
}

.partners-label {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #aaa;
    margin: 0 0 20px;
}

.partners-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.partners-strip::-webkit-scrollbar {
    display: none;
}

.partners-strip img {
    height: 50px !important;
    width: auto !important;
    max-width: 140px !important;
    margin-bottom: 0 !important;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.45;
    transition: all 0.3s;
    flex-shrink: 0;
}

.partners-strip img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Accent color helper */
.red {
    color: #dc1823;
}

/* Section headings */
.head-1 {
    font-size: 14px;
    color: #dc1823;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.head-2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
}

.text-1 {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}

/* Offer section */
.offer-section {
    padding: 70px 0 !important;
    background: #f9fafb !important;
}

.offer-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.offer-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #dc1823;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.offer-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 16px;
}

.offer-lead {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Offer grid */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 20px;
}

.offer-card,
.offer-card:hover,
.offer-card:focus,
.offer-card:active {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    text-decoration: none !important;
    border: 1px solid #eef0f4;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}


.offer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(220, 24, 35, 0.1);
    border-color: rgba(220, 24, 35, 0.15);
}

.offer-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #dc1823, #ff6b6b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.offer-card:hover::after {
    transform: scaleX(1);
}

.offer-card--primary {
    border-color: rgba(220, 24, 35, 0.12);
}

.offer-card--primary::after {
    transform: scaleX(1);
    opacity: 0.5;
}

.offer-card--primary:hover::after {
    opacity: 1;
}

.offer-card__icon {
    width: 52px;
    align-self: stretch;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.offer-card:hover .offer-card__icon {
    opacity: 1;
}

.offer-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.offer-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.offer-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 4px;
}

.offer-card__tags span {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    background: #f4f5f7;
    padding: 3px 8px;
    border-radius: 4px;
    transition: color 0.3s ease, background 0.3s ease;
}

.offer-card:hover .offer-card__title {
    color: #dc1823;
}

.offer-card:hover .offer-card__tags span {
    color: #c0392b;
    background: rgba(220, 24, 35, 0.06);
}

@media (max-width: 991.999px) {
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.999px) {
    .offer-grid {
        grid-template-columns: 1fr;
    }

    .offer-title {
        font-size: 26px;
    }

    .offer-section {
        padding: 40px 0 !important;
    }
}

#img-wired {
    max-width: 100%;
    border-radius: 8px;
}

/* Competences section */
.competences-section {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid #eef0f4;
}

.competences-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.competences-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #dc1823;
    margin-bottom: 8px;
}

.competences-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
}

.competences-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 24px;
}

.competence-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px 28px;
    border: 1px solid #eef0f4;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.competence-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #dc1823;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.competence-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(220, 24, 35, 0.1);
    border-color: rgba(220, 24, 35, 0.15);
}

.competence-card:hover::after {
    transform: scaleX(1);
}

.competence-card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 24, 35, 0.06);
    border-radius: 12px;
}

.competence-card__icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.competence-card__icon--duo {
    width: auto;
    height: auto;
    padding: 0;
    gap: 10px;
    justify-content: flex-start;
    background: transparent;
    border-radius: 0;
}

.competence-card__icon--duo img {
    width: 32px;
    height: 32px;
    padding: 12px;
    box-sizing: content-box;
    background: rgba(220, 24, 35, 0.06);
    border-radius: 12px;
    transition: background 0.3s ease;
}

.competence-card:hover .competence-card__icon--duo {
    background: transparent;
}

.competence-card:hover .competence-card__icon--duo img {
    background: rgba(220, 24, 35, 0.1);
}

.competence-card:hover .competence-card__icon {
    background: rgba(220, 24, 35, 0.1);
}

.competence-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
    transition: color 0.3s ease;
}

.competence-card:hover .competence-card__title {
    color: #dc1823;
}

.competence-card__text {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

@media (max-width: 991.999px) {
    .competences-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.999px) {
    .competences-grid {
        grid-template-columns: 1fr;
    }
    .competences-section {
        padding: 40px 0;
    }
    .competences-title {
        font-size: 26px;
    }
}

/* Numbers section */
.numbers-section {
    padding: 80px 0;
    background: #ffffff;
    color: #1a1a2e;
}

.numbers-top {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    margin-bottom: 56px;
}

.numbers-header {
    flex-shrink: 0;
    max-width: 380px;
}

.numbers-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #dc1823;
    margin-bottom: 8px;
}

.numbers-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.25;
}

.numbers-lead {
    font-size: 15px;
    line-height: 1.8;
    color: #4a4a4a;
    margin: 0;
    max-width: 600px;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.numbers-card {
    background: #f7f7f9;
    border: 1px solid #ececf0;
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.numbers-card:hover {
    transform: translateY(-3px);
    background: #f1f1f4;
    border-color: #dcdce2;
}

.numbers-card__icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 20px;
    opacity: 0.85;
}

.numbers-card__value {
    display: block;
    font-size: 40px;
    font-weight: 800;
    color: #dc1823;
    line-height: 1;
    margin-bottom: 12px;
}

.numbers-card__desc {
    display: block;
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.5;
}

@media (max-width: 991.999px) {
    .numbers-top {
        flex-direction: column;
        gap: 24px;
    }
    .numbers-header {
        max-width: 100%;
    }
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.999px) {
    .numbers-section {
        padding: 40px 0;
    }
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .numbers-title {
        font-size: 26px;
    }
    .numbers-card {
        padding: 24px 16px;
    }
    .numbers-card__value {
        font-size: 32px;
    }
}

/* Video Campaigns section */
.video-section {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid #eef0f4;
}

.video-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}

.video-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #dc1823;
    margin-bottom: 8px;
}

.video-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 16px;
}

.video-lead {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.video-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.video-nav {
    display: flex;
    gap: 12px;
}

.video-nav__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-nav__btn:hover {
    border-color: #dc1823;
    color: #dc1823;
    box-shadow: 0 4px 12px rgba(220, 24, 35, 0.15);
}

.video-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.video-carousel__track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.video-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.video-slide__main {
    width: 100%;
}

.video-slide__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.video-thumb {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    width: 100%;
    padding-bottom: 56.25%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-thumb:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.video-thumb iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

.video-thumb__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* Facade play button (poster -> click-to-load iframe) */
.video-thumb__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(220, 24, 35, 0.9);
    z-index: 11;
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}
.video-thumb__play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 11px 0 11px 18px;
    border-color: transparent transparent transparent #fff;
}
.video-thumb:hover .video-thumb__play {
    transform: translate(-50%, -50%) scale(1.08);
}
/* Once the iframe is loaded, hide the facade chrome and let the player receive clicks */
.video-thumb.is-playing .video-thumb__play,
.video-thumb.is-playing .video-thumb__overlay,
.video-thumb.is-playing > img {
    display: none;
}
.video-thumb.is-playing iframe {
    pointer-events: auto;
}

.video-cta__btn {
    display: inline-block;
    background: #fff;
    color: #dc1823;
    border: 2px solid #dc1823;
    padding: 12px 36px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.video-cta__btn:hover {
    background: #dc1823;
    color: #fff;
}

@media (max-width: 767px) {
    .video-section {
        padding: 40px 0;
    }
    .video-title {
        font-size: 26px;
    }
    .video-slide__row {
        grid-template-columns: 1fr;
    }
    .video-footer {
        flex-direction: column;
        gap: 16px;
    }
}

/* ===== CASE STUDY SECTION ===== */
.casestudy-section {
    padding: 80px 0;
    background: #f9fafb;
    border-top: 1px solid #eef0f4;
}

.casestudy-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.casestudy-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #dc1823;
    margin-bottom: 8px;
}

.casestudy-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 16px;
}

.casestudy-lead {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.casestudy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.casestudy-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    padding: 32px 28px;
    border: 1px solid #eef0f4;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.casestudy-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #dc1823, #ff6b6b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.casestudy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(220, 24, 35, 0.1);
    border-color: rgba(220, 24, 35, 0.15);
}

.casestudy-card:hover::after {
    transform: scaleX(1);
}

.casestudy-card__metric {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.casestudy-card__value {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: #dc1823;
    line-height: 1;
    margin-bottom: 4px;
}

.casestudy-card__metric-label {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.casestudy-card__body {
    flex: 1;
}

.casestudy-card__channel {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #dc1823;
    background: rgba(220, 24, 35, 0.06);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

.casestudy-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.casestudy-card:hover .casestudy-card__title {
    color: #dc1823;
}

.casestudy-card__text {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 14px;
}

.casestudy-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.casestudy-card__tags span {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    background: #f4f5f7;
    padding: 3px 8px;
    border-radius: 4px;
}

.casestudy-card__extra {
    background: #f7f7f9;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
}

.casestudy-card__extra-value {
    font-size: 20px;
    font-weight: 800;
    color: #dc1823;
}

.casestudy-card__extra-label {
    font-size: 13px;
    color: #666;
}

.casestudy-footer {
    text-align: center;
    margin-top: 40px;
}

.casestudy-cta {
    display: inline-block;
    background: #fff;
    color: #dc1823;
    border: 2px solid #dc1823;
    padding: 12px 36px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.casestudy-cta:hover {
    background: #dc1823;
    color: #fff;
}

@media (max-width: 991.999px) {
    .casestudy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.999px) {
    .casestudy-section {
        padding: 40px 0;
    }
    .casestudy-grid {
        grid-template-columns: 1fr;
    }
    .casestudy-title {
        font-size: 26px;
    }
    .casestudy-card__value {
        font-size: 40px;
    }
}

/* ===== BLOG SECTION (homepage) ===== */
.blog-section {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid #eef0f4;
}

.blog-section__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.blog-section__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #dc1823;
    margin-bottom: 8px;
}

.blog-section__title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 16px;
}

.blog-section__lead {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.blog-section__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eef0f4;
    overflow: hidden;
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(220, 24, 35, 0.1);
    border-color: rgba(220, 24, 35, 0.15);
}

.blog-card__img {
    height: 200px;
    overflow: hidden;
    background: #f4f5f7;
}

.blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__img img {
    transform: scale(1.05);
}

.blog-card__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #dc1823;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.blog-card__title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card__title {
    color: #dc1823;
}

.blog-card__excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 16px;
    flex: 1;
}

.blog-card__read {
    font-size: 13px;
    font-weight: 600;
    color: #dc1823;
    transition: letter-spacing 0.2s ease;
}

.blog-card:hover .blog-card__read {
    letter-spacing: 0.5px;
}

.blog-section__footer {
    text-align: center;
    margin-top: 40px;
}

.blog-section__cta {
    display: inline-block;
    background: #fff;
    color: #dc1823;
    border: 2px solid #dc1823;
    padding: 12px 36px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-section__cta:hover {
    background: #dc1823;
    color: #fff;
}

@media (max-width: 991.999px) {
    .blog-section__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.999px) {
    .blog-section {
        padding: 40px 0;
    }
    .blog-section__grid {
        grid-template-columns: 1fr;
    }
    .blog-section__title {
        font-size: 26px;
    }
}

/* Legacy blog page styles (keep for /blog subpage) */
.blog {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog .tile {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.blog .tile .img {
    height: 180px;
    overflow: hidden;
    background: #eee;
}

.blog .tile .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog .tile .desc {
    padding: 20px;
}

.blog .tile .date {
    font-size: 12px;
    color: #999;
    display: block;
    margin-bottom: 8px;
}

.blog .tile .head {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: none;
    display: block;
    line-height: 1.4;
}

.blog .tile .head:hover {
    color: #dc1823;
}

/* Legacy case-study page styles (keep for /case-study subpage) */
.case-study {
    padding: 80px 0;
}

.case-study-tile {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 25px;
    margin-bottom: 20px;
    height: 100%;
}

.case-study-tile .percent {
    font-size: 48px;
    font-weight: 700;
    color: #dc1823;
}

.case-study-tile .head-3 {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
}

.case-study-tile .head {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.case-study-tile p {
    font-size: 13px;
    color: #666;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 60px 0 80px;
    background: #fff;
}

.cta-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 50%, #1a1a2e 100%);
    border-radius: 20px;
    padding: 56px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(220, 24, 35, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(220, 24, 35, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner__content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.cta-banner__logo {
    height: 36px;
    width: auto;
    margin-bottom: 20px;
    opacity: 0.7;
}

.cta-banner__title {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.2;
}

.cta-banner__text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0;
    max-width: 480px;
}

.cta-banner__actions {
    display: flex;
    gap: 16px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.cta-banner__btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-banner__btn:hover {
    text-decoration: none;
}

.cta-banner__btn--primary {
    background: linear-gradient(135deg, #dc1823 0%, #ff4757 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(220, 24, 35, 0.4);
}

.cta-banner__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(220, 24, 35, 0.5);
}

.cta-banner__btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.cta-banner__btn--outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 767px) {
    .cta-section {
        padding: 40px 0 60px;
    }
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 28px;
        gap: 28px;
    }
    .cta-banner__text {
        max-width: 100%;
    }
    .cta-banner__title {
        font-size: 24px;
    }
    .cta-banner__actions {
        flex-direction: column;
        width: 100%;
    }
    .cta-banner__btn {
        text-align: center;
    }
}

/* Legacy CTA styles (keep for other pages) */
.cta {
    padding: 60px 0;
}

.cta-container {
    background: linear-gradient(135deg, #1a1a2e, #2d2d4e);
    background-image: url(/imagess/cta-background.jpg);
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    padding: 50px 40px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.cta-container img {
    max-height: 50px;
}

.cta-head {
    font-size: 18px;
    color: #fff;
    font-weight: 500;
    flex: 1;
    min-width: 200px;
}

.cta-container .btn-default {
    background: #fff;
    color: #dc1823;
    font-weight: 700;
    font-size: 13px;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.cta-container .btn-default:hover {
    background: #f5f5f5;
}

/* Testimonials section */
.testimonials-section {
    padding: 80px 0;
    background: #f9fafb;
}

.testimonials-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.testimonials-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #dc1823;
    margin-bottom: 8px;
}

.testimonials-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 16px;
}

.testimonials-lead {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 24px;
}

.testimonial-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px 28px;
    border: 1px solid #eef0f4;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #dc1823;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(220, 24, 35, 0.1);
}

.testimonial-card:hover::after {
    transform: scaleX(1);
}

.testimonial-card__stars {
    color: #FFB800;
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-card__company {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px;
}

.testimonial-card__text {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 24px;
    flex: 1;
    font-style: italic;
}

.testimonial-card__author {
    border-top: 1px solid #eef0f4;
    padding-top: 16px;
}

.testimonial-card__author strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
}

.testimonial-card__author span {
    font-size: 13px;
    color: #888;
}

@media (max-width: 991.999px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.999px) {
    .testimonials-section {
        padding: 40px 0;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-title {
        font-size: 26px;
    }
}

/* Hide floating contact button (no styles on ICBM) */
.floating-contact {
    display: none !important;
}

/* Footer */
footer {
    background: #dc1823 !important;
    color: rgba(255,255,255,0.85);
    padding: 60px 0 30px !important;
    border-top: none !important;
}

footer:before {
    content: none !important;
}

footer .logo img {
    max-height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

footer .head {
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 6px;
}

footer ul li a,
footer .services ul li a,
footer .services a {
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    transition: opacity 0.2s;
}

footer ul li a:hover,
footer .services ul li a:hover {
    color: #fff !important;
    opacity: 0.75;
}

footer .two-columns {
    column-count: 2;
    column-gap: 20px;
}

footer .copyright {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    margin-top: 30px;
    background: none !important;
    padding: 0 !important;
    border: none !important;
}

footer .social-media {
    margin-bottom: 20px;
}

footer .social-media .circle {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

footer .social-media .circle i {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

footer .social-media .circle:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.15);
}

footer .social-media .circle:hover i {
    color: #fff;
}

footer .address-data {
    font-size: 13px;
    line-height: 2;
    color: rgba(255,255,255,0.85);
}

footer .address-data i {
    background-color: #fff !important;
}

footer .address-data a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

footer .address-data a:hover {
    color: #fff;
}

/* YouTube video container (legacy — subpages) */
.movie-container {
    display: flex;
    justify-content: center;
    height: 100%;
}

.movie-iframe {
    aspect-ratio: 16 / 9;
    width: 100% !important;
    border-radius: 8px;
}

.movie-iframe-mobile {
    aspect-ratio: 9 / 16;
    width: 100% !important;
}

/* Page headers for subpages */
.head-page {
    background: #f8f9fa;
    padding: 60px 0 40px;
    text-align: center;
}

.head-page h1,
.head-page .h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
}

.head-page p {
    font-size: 16px;
    color: #666;
}

/* Content pages */
.advise {
    padding: 60px 0;
}

.advise .ge-content {
    max-width: 800px;
    margin: 0 auto;
}

.advise .ge-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 40px 0 15px;
}

.advise .ge-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 25px 0 10px;
}

.advise .ge-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Knowledge base */
.nav-frame {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 20px;
    margin-bottom: 20px;
}

.nav-frame .head {
    font-weight: 700;
    font-size: 14px;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.nav-frame ul {
    list-style: none;
    padding: 0;
}

.nav-frame ul li a {
    display: block;
    padding: 8px 12px;
    color: #555;
    font-size: 13px;
    text-decoration: none;
    border-radius: 4px;
}

.nav-frame ul li a:hover,
.nav-frame ul li a.active {
    background: #f8f9fa;
    color: #dc1823;
}

.knowledge-tile {
    background: #fff;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s;
}

.knowledge-tile:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.knowledge-tile a {
    text-decoration: none;
    color: #1a1a2e;
    font-weight: 600;
    font-size: 14px;
}

.knowledge-tile a:hover {
    color: #dc1823;
}

/* Blog category nav */
.nav-sub {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    margin-bottom: 40px;
}

.nav-sub ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

.nav-sub ul li a {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    border-radius: 20px;
    border: 1px solid #eee;
    transition: all 0.2s;
}

.nav-sub ul li a:hover,
.nav-sub ul li a.active {
    background: #dc1823;
    color: #fff;
    border-color: #dc1823;
}

/* Wizard form */
.bubbles {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 20px;
}

.bubbles .bubble {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f2f3f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #888;
    cursor: pointer;
    transition: all 0.3s;
}

.bubbles .bubble.active {
    background: #dc1823;
    color: #fff;
}

.tabcontent {
    display: none;
}

.tabcontent.active {
    display: block;
}

.button-set {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.button-set label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.2s;
}

.button-set label:hover {
    background: #f0f0f0;
}

.button-set label img {
    max-height: 30px;
}

.button-set input[type="checkbox"],
.button-set input[type="radio"] {
    accent-color: #dc1823;
}

/* Offer page — all boxes same height across all rows */
@media (min-width: 768px) {
    .offer .col-lg-7 > .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 1fr;
        gap: 0;
    }
    .offer .col-lg-7 > .row > [class*="col-"] {
        max-width: 100%;
        flex: none;
        width: 100%;
    }
}

.offer .offer-item {
    display: flex;
    align-items: flex-start;
    height: 100%;
    box-sizing: border-box;
}

/* Responsive helpers */
@media (max-width: 767px) {
    .head-2 { font-size: 24px; }
    .offer { padding: 40px 0; }
    .competences-section { padding: 40px 0; }
    .numbers-section { padding: 40px 0; }
    .case-study { padding: 40px 0; }
    .blog { padding: 40px 0; }
    .cta-container { padding: 30px 20px; flex-direction: column; text-align: center; }
    footer .two-columns { column-count: 1; }
}

/* Lazyload fallback — show images even without lazysizes JS */
img.lazyload[data-src] {
    opacity: 0;
    transition: opacity 0.3s;
}

img.lazyloaded,
img.lazyload.loaded {
    opacity: 1;
}

/* ============================================================
   ABOUT PAGE (O nas)
   ============================================================ */

/* Shared section header */
.about-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.about-section-header__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #dc1823;
    margin-bottom: 8px;
}

.about-section-header__title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.2;
}

/* ===== HERO ===== */
.about-hero {
    padding: 80px 0 64px;
    background: linear-gradient(180deg, #f9fafb 0%, #fff 100%);
    border-bottom: 1px solid #eef0f4;
    text-align: center;
}

.about-hero__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #dc1823;
    margin-bottom: 16px;
}

.about-hero__title {
    font-size: 44px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.15;
    max-width: 880px;
    margin: 0 auto 24px;
}

.about-hero__lead {
    font-size: 17px;
    line-height: 1.7;
    color: #666;
    max-width: 720px;
    margin: 0 auto 32px;
}

.about-hero__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.about-hero__badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    background: #fff;
    border: 1px solid #e4e6ec;
    padding: 8px 18px;
    border-radius: 25px;
}

.about-hero__badge--primary {
    color: #fff;
    background: linear-gradient(135deg, #dc1823 0%, #ff4757 100%);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(220, 24, 35, 0.3);
}

/* ===== STATS ===== */
.about-stats {
    padding: 56px 0;
    background: #1a1a2e;
}

.about-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-stats__item {
    text-align: center;
    padding: 16px;
}

.about-stats__value {
    display: block;
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.about-stats__label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== HISTORY TIMELINE ===== */
.about-history {
    padding: 80px 0;
    background: #fff;
}

.about-timeline {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding-left: 96px;
}

.about-timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 24px;
    width: 2px;
    background: linear-gradient(180deg, #dc1823 0%, #f0d2d4 100%);
}

.about-timeline__item {
    position: relative;
    padding-bottom: 36px;
}

.about-timeline__item:last-child {
    padding-bottom: 0;
}

.about-timeline__marker {
    position: absolute;
    left: -72px;
    top: -2px;
    min-width: 52px;
    padding: 5px 8px;
    background: #dc1823;
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    z-index: 1;
}

.about-timeline__content {
    background: #f9fafb;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    padding: 24px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-timeline__item:hover .about-timeline__content {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(220, 24, 35, 0.1);
    border-color: rgba(220, 24, 35, 0.15);
}

.about-timeline__content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.about-timeline__content p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.about-timeline__item--current .about-timeline__marker {
    background: linear-gradient(135deg, #dc1823 0%, #ff4757 100%);
    box-shadow: 0 4px 12px rgba(220, 24, 35, 0.35);
}

.about-timeline__item--current .about-timeline__content {
    border-color: rgba(220, 24, 35, 0.2);
    background: #fff;
    box-shadow: 0 8px 24px rgba(220, 24, 35, 0.08);
}

/* ===== VISION & MISSION ===== */
.about-vm {
    padding: 80px 0;
    background: #f9fafb;
    border-top: 1px solid #eef0f4;
}

.about-vm__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-vm__card {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-vm__card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #dc1823, #ff6b6b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.about-vm__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(220, 24, 35, 0.1);
    border-color: rgba(220, 24, 35, 0.15);
}

.about-vm__card:hover::after {
    transform: scaleX(1);
}

.about-vm__icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(220, 24, 35, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.about-vm__icon img {
    width: 28px;
    height: 28px;
}

.about-vm__card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px;
}

.about-vm__card-text {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* ===== VALUES / PARTNERSHIP ===== */
.about-values {
    padding: 80px 0;
    background: #fff;
}

.about-values__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-values__title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 8px 0 20px;
    line-height: 1.2;
}

.about-values__text p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin: 0 0 16px;
}

.about-values__text p:last-child {
    margin-bottom: 0;
}

.about-values__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.about-values__list li {
    background: #f9fafb;
    border: 1px solid #eef0f4;
    border-left: 3px solid #dc1823;
    border-radius: 10px;
    padding: 18px 22px;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-values__list li:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 18px rgba(220, 24, 35, 0.08);
}

.about-values__list strong {
    color: #1a1a2e;
    font-weight: 700;
}

/* ===== ABOUT RESPONSIVE ===== */
@media (max-width: 991.999px) {
    .about-hero__title {
        font-size: 36px;
    }
    .about-vm__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-values__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 767px) {
    .about-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 16px;
    }
    .about-vm__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.999px) {
    .about-hero {
        padding: 56px 0 48px;
    }
    .about-hero__title {
        font-size: 28px;
    }
    .about-hero__lead {
        font-size: 15px;
    }
    .about-history,
    .about-vm,
    .about-values {
        padding: 48px 0;
    }
    .about-section-header {
        margin-bottom: 36px;
    }
    .about-section-header__title,
    .about-values__title {
        font-size: 26px;
    }
    .about-stats__value {
        font-size: 36px;
    }
    .about-timeline {
        padding-left: 68px;
    }
    .about-timeline__marker {
        left: -68px;
        min-width: 46px;
        font-size: 11px;
    }
    .about-timeline::before {
        left: 16px;
    }
    .about-timeline__content {
        padding: 20px 22px;
    }
}

/* ============================================================
   CONTACT PAGE (Kontakt)
   ============================================================ */

/* ===== HERO ===== */
.contact-hero {
    padding: 80px 0 56px;
    background: linear-gradient(180deg, #f9fafb 0%, #fff 100%);
    border-bottom: 1px solid #eef0f4;
    text-align: center;
}

.contact-hero__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #dc1823;
    margin-bottom: 16px;
}

.contact-hero__title {
    font-size: 44px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.15;
    margin: 0 auto 20px;
}

.contact-hero__lead {
    font-size: 17px;
    line-height: 1.7;
    color: #666;
    max-width: 680px;
    margin: 0 auto;
}

/* ===== MAIN GRID ===== */
.contact-main {
    padding: 72px 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: start;
}

/* ===== INFO ===== */
.contact-info__company {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 28px;
}

.contact-info__list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: grid;
    gap: 16px;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #f9fafb;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    padding: 20px 22px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-info__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(220, 24, 35, 0.1);
    border-color: rgba(220, 24, 35, 0.15);
}

.contact-info__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #dc1823 0%, #ff4757 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(220, 24, 35, 0.28);
}

.contact-info__icon svg {
    width: 24px;
    height: 24px;
}

.contact-info__text {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.contact-info__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 4px;
}

.contact-info__text a {
    color: #1a1a2e;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info__text a:hover {
    color: #dc1823;
    text-decoration: none;
}

.contact-info__identifiers {
    display: grid;
    gap: 8px;
    padding-top: 24px;
    border-top: 1px solid #eef0f4;
}

.contact-info__identifiers div {
    font-size: 14px;
    color: #666;
}

.contact-info__identifiers span {
    display: inline-block;
    min-width: 64px;
    font-weight: 700;
    color: #1a1a2e;
}

/* ===== FORM ===== */
.contact-form-card {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 12px 40px rgba(26, 26, 46, 0.06);
}

.contact-form-card__title {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 6px;
}

.contact-form-card__subtitle {
    font-size: 14px;
    color: #888;
    margin: 0 0 28px;
}

.contact-form .form-control {
    width: 100%;
    border: 1px solid #e4e6ec;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 15px;
    color: #1a1a2e;
    background: #fafbfc;
    margin-bottom: 16px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact-form .form-control::placeholder {
    color: #9aa0ab;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: #dc1823;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(220, 24, 35, 0.1);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form__turnstile {
    margin: 4px 0 20px;
}

.contact-form__submit {
    display: inline-block;
    width: 100%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #dc1823 0%, #ff4757 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 28px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(220, 24, 35, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(220, 24, 35, 0.45);
}

.contact-form__privacy {
    margin: 16px 0 0;
    text-align: center;
}

.contact-form__privacy a {
    font-size: 13px;
    color: #999;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-form__privacy a:hover {
    color: #dc1823;
}

/* ===== MAP ===== */
.contact-map {
    line-height: 0;
}

.contact-map iframe {
    display: block;
}

/* ===== CONTACT RESPONSIVE ===== */
@media (max-width: 991.999px) {
    .contact-hero__title {
        font-size: 36px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 575.999px) {
    .contact-hero {
        padding: 56px 0 40px;
    }
    .contact-hero__title {
        font-size: 28px;
    }
    .contact-hero__lead {
        font-size: 15px;
    }
    .contact-main {
        padding: 48px 0;
    }
    .contact-form-card {
        padding: 28px 22px;
    }
    .contact-map iframe {
        height: 340px;
    }
}

/* ============================================================
   DARMOWA WYCENA (Wizard form)
   ============================================================ */

/* ===== HERO ===== */
.wycena-hero {
    padding: 80px 0 48px;
    background: linear-gradient(180deg, #f9fafb 0%, #fff 100%);
    border-bottom: 1px solid #eef0f4;
    text-align: center;
}

.wycena-hero__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #dc1823;
    margin-bottom: 16px;
}

.wycena-hero__title {
    font-size: 44px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.15;
    margin: 0 auto 20px;
}

.wycena-hero__lead {
    font-size: 17px;
    line-height: 1.7;
    color: #666;
    max-width: 680px;
    margin: 0 auto;
}

/* ===== MAIN ===== */
.wycena-main {
    padding: 56px 0 72px;
    background: #fff;
}

.wycena-form {
    max-width: 760px;
    margin: 0 auto;
}

/* ===== PROGRESS STEPS ===== */
.wycena-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    max-width: 560px;
    margin: 0 auto 40px;
}

.wycena-steps::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 11%;
    right: 11%;
    height: 2px;
    background: #e4e6ec;
    z-index: 0;
}

.wycena-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex: 1;
}

.wycena-step__num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e4e6ec;
    color: #9aa0ab;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wycena-step__label {
    font-size: 13px;
    font-weight: 600;
    color: #9aa0ab;
    transition: color 0.3s ease;
}

.wycena-step.is-active .wycena-step__num {
    background: linear-gradient(135deg, #dc1823 0%, #ff4757 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(220, 24, 35, 0.32);
}

.wycena-step.is-active .wycena-step__label {
    color: #1a1a2e;
}

.wycena-step.is-done .wycena-step__num {
    background: #fff;
    border-color: #dc1823;
    color: #dc1823;
}

.wycena-step.is-done .wycena-step__label {
    color: #444;
}

/* ===== CARD ===== */
.wycena-card {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 12px 40px rgba(26, 26, 46, 0.06);
}

.wycena-panel {
    display: none;
    animation: wycenaFade 0.35s ease;
}

.wycena-panel.is-active {
    display: block;
}

@keyframes wycenaFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.wycena-panel__step {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #dc1823;
    margin-bottom: 10px;
}

.wycena-panel__title {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 6px;
}

.wycena-panel__hint {
    font-size: 14px;
    color: #888;
    margin: 0 0 26px;
}

/* ===== OPTIONS ===== */
.wycena-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 8px;
}

.wycena-options--budget {
    grid-template-columns: 1fr;
}

.wycena-option {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.wycena-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.wycena-option__body {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    background: #fafbfc;
    border: 1.5px solid #e4e6ec;
    border-radius: 12px;
    padding: 16px 18px;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.wycena-option:hover .wycena-option__body {
    border-color: rgba(220, 24, 35, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(220, 24, 35, 0.08);
}

.wycena-option__icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eef0f4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.wycena-option__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.wycena-option__label {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.35;
}

.wycena-option__meta {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #9aa0ab;
    margin-top: 2px;
}

/* Checkbox tick badge */
.wycena-option__check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    border: 1.5px solid #d4d7df;
    background: #fff;
    position: relative;
    transition: all 0.25s ease;
}

.wycena-option__check::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 4px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease;
}

/* Radio dot */
.wycena-option__radio {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #d4d7df;
    background: #fff;
    position: relative;
    transition: all 0.25s ease;
}

.wycena-option__radio::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease;
}

/* Checked state */
.wycena-option input:checked + .wycena-option__body {
    border-color: #dc1823;
    background: #fff5f5;
    box-shadow: 0 6px 18px rgba(220, 24, 35, 0.12);
}

.wycena-option input:checked + .wycena-option__body .wycena-option__check {
    background: linear-gradient(135deg, #dc1823 0%, #ff4757 100%);
    border-color: transparent;
}

.wycena-option input:checked + .wycena-option__body .wycena-option__check::after {
    transform: rotate(45deg) scale(1);
}

.wycena-option input:checked + .wycena-option__body .wycena-option__radio {
    border-color: #dc1823;
}

.wycena-option input:checked + .wycena-option__body .wycena-option__radio::after {
    background: #dc1823;
    transform: translate(-50%, -50%) scale(1);
}

.wycena-option input:focus-visible + .wycena-option__body {
    box-shadow: 0 0 0 3px rgba(220, 24, 35, 0.18);
}

/* ===== FIELDS ===== */
.wycena-field-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.wycena-field-label--mt {
    margin-top: 24px;
}

.wycena-input {
    width: 100%;
    border: 1.5px solid #e4e6ec;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 15px;
    color: #1a1a2e;
    background: #fafbfc;
    margin-bottom: 18px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.wycena-input::placeholder {
    color: #9aa0ab;
}

.wycena-input:focus {
    outline: none;
    border-color: #dc1823;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(220, 24, 35, 0.1);
}

/* ===== NAV BUTTONS ===== */
.wycena-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eef0f4;
}

.wycena-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.wycena-btn svg {
    width: 18px;
    height: 18px;
}

.wycena-btn--prev {
    background: #f3f4f7;
    color: #444;
}

.wycena-btn--prev:hover {
    background: #e9ebf0;
    color: #1a1a2e;
}

.wycena-btn--next,
.wycena-btn--submit {
    background: linear-gradient(135deg, #dc1823 0%, #ff4757 100%);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(220, 24, 35, 0.3);
}

.wycena-btn--next:hover,
.wycena-btn--submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(220, 24, 35, 0.45);
    color: #fff;
}

.wycena-btn--submit {
    margin-left: auto;
    padding: 14px 32px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767.999px) {
    .wycena-hero__title {
        font-size: 32px;
    }
    .wycena-card {
        padding: 28px 20px;
    }
    .wycena-options {
        grid-template-columns: 1fr;
    }
    .wycena-step__label {
        font-size: 12px;
    }
}

@media (max-width: 575.999px) {
    .wycena-hero {
        padding: 56px 0 40px;
    }
    .wycena-hero__title {
        font-size: 26px;
    }
    .wycena-hero__lead {
        font-size: 15px;
    }
    .wycena-panel__title {
        font-size: 22px;
    }
    .wycena-step__num {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    .wycena-steps::before {
        top: 19px;
    }
    .wycena-nav {
        gap: 10px;
    }
    .wycena-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* ============================================================
   KNOWLEDGE BASE (Baza wiedzy)
   ============================================================ */

/* ===== HERO ===== */
.kb-hero {
    padding: 80px 0 48px;
    background: linear-gradient(180deg, #f9fafb 0%, #fff 100%);
    border-bottom: 1px solid #eef0f4;
    text-align: center;
}

.kb-hero__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #dc1823;
    margin-bottom: 16px;
}

.kb-hero__title {
    font-size: 44px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.15;
    margin: 0 auto 18px;
}

.kb-hero__lead {
    font-size: 17px;
    line-height: 1.7;
    color: #666;
    max-width: 640px;
    margin: 0 auto 32px;
}

.kb-hero__search {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}

.kb-hero__search svg {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #9aa0ab;
    pointer-events: none;
}

.kb-hero__search input {
    width: 100%;
    border: 1px solid #e4e6ec;
    border-radius: 30px;
    padding: 16px 24px 16px 52px;
    font-size: 16px;
    color: #1a1a2e;
    background: #fff;
    box-shadow: 0 6px 20px rgba(26, 26, 46, 0.05);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.kb-hero__search input::placeholder {
    color: #9aa0ab;
}

.kb-hero__search input:focus {
    outline: none;
    border-color: #dc1823;
    box-shadow: 0 0 0 3px rgba(220, 24, 35, 0.1);
}

/* ===== MAIN LAYOUT ===== */
.kb-main {
    padding: 56px 0 80px;
    background: #fff;
}

.kb-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* ===== SIDEBAR ===== */
.kb-sidebar {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 20px;
}

.kb-cats {
    background: #f9fafb;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    padding: 22px;
}

.kb-cats__title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    margin-bottom: 14px;
}

.kb-cats__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 2px;
}

.kb-cats__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.kb-cats__link:hover {
    background: #fff;
    color: #dc1823;
    text-decoration: none;
}

.kb-cats__link.is-active {
    background: linear-gradient(135deg, #dc1823 0%, #ff4757 100%);
    color: #fff;
}

.kb-cats__count {
    flex-shrink: 0;
    min-width: 24px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #999;
    background: #eef0f4;
    border-radius: 20px;
    padding: 2px 8px;
}

.kb-cats__link:hover .kb-cats__count {
    color: #dc1823;
    background: rgba(220, 24, 35, 0.08);
}

.kb-cats__link.is-active .kb-cats__count {
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
}

.kb-help {
    border-radius: 14px;
    padding: 22px;
    text-decoration: none;
}

.kb-help img {
    width: 28px;
    height: 28px;
}

.kb-help--ask {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kb-help--ask img {
    filter: brightness(0) invert(1);
}

.kb-help--ask:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(26, 26, 46, 0.25);
    text-decoration: none;
    color: #fff;
}

.kb-help--phone {
    background: #f9fafb;
    border: 1px solid #eef0f4;
    display: grid;
    gap: 4px;
}

.kb-help__title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
}

.kb-help__text {
    font-size: 13px;
    color: #888;
}

.kb-help--phone a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #dc1823;
    text-decoration: none;
}

.kb-help--phone a:hover {
    text-decoration: none;
    opacity: 0.85;
}

/* ===== CONTENT GROUPS ===== */
.kb-group {
    margin-bottom: 44px;
}

.kb-group:last-of-type {
    margin-bottom: 0;
}

.kb-group__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef0f4;
}

.kb-group__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(220, 24, 35, 0.06);
    color: #dc1823;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kb-group__icon svg {
    width: 22px;
    height: 22px;
}

.kb-group__title {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0;
}

.kb-group__count {
    font-size: 12px;
    font-weight: 700;
    color: #999;
    background: #f4f5f7;
    border-radius: 20px;
    padding: 3px 10px;
}

.kb-group__all {
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
    color: #dc1823;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.kb-group__all:hover {
    text-decoration: none;
    opacity: 0.7;
}

.kb-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.kb-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 12px;
    padding: 16px 18px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.kb-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 24, 35, 0.1);
    border-color: rgba(220, 24, 35, 0.18);
    text-decoration: none;
}

.kb-card__title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
    transition: color 0.25s ease;
}

.kb-card:hover .kb-card__title {
    color: #dc1823;
}

.kb-card__arrow {
    flex-shrink: 0;
    color: #cdd1d9;
    font-size: 16px;
    transition: transform 0.25s ease, color 0.25s ease;
}

.kb-card:hover .kb-card__arrow {
    color: #dc1823;
    transform: translateX(3px);
}

/* ===== EMPTY STATE ===== */
.kb-empty {
    text-align: center;
    padding: 48px 20px;
    color: #888;
}

.kb-empty p {
    margin: 0 0 8px;
    font-size: 15px;
}

.kb-empty a {
    color: #dc1823;
    font-weight: 600;
}

/* ===== KB ARTICLE ===== */
.kb-article {
    background: #fff;
    border: 1px solid #ececf1;
    border-radius: 14px;
    padding: 32px 36px;
}

.kb-article__body {
    color: #2a2a3c;
    font-size: 16px;
    line-height: 1.75;
}

.kb-article__body p {
    margin: 0 0 16px;
}

.kb-article__body p:last-child {
    margin-bottom: 0;
}

.kb-article__body h2,
.kb-article__body h3 {
    color: #1a1a2e;
    font-weight: 700;
    line-height: 1.3;
    margin: 28px 0 12px;
}

.kb-article__body h2 { font-size: 22px; }
.kb-article__body h3 { font-size: 18px; }

.kb-article__body ul,
.kb-article__body ol {
    margin: 0 0 16px;
    padding-left: 22px;
}

.kb-article__body li {
    margin-bottom: 8px;
}

.kb-article__body a {
    color: #dc1823;
    font-weight: 600;
}

.kb-article__body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 16px 0;
}

.kb-article__body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.kb-article__body th,
.kb-article__body td {
    border: 1px solid #ececf1;
    padding: 10px 12px;
    text-align: left;
}

.kb-article__back {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #ececf1;
}

.kb-article__back a {
    color: #dc1823;
    font-weight: 600;
    text-decoration: none;
}

.kb-article__back a:hover {
    text-decoration: underline;
}

@media (max-width: 575.999px) {
    .kb-article {
        padding: 22px 20px;
    }
}

/* ===== KB RESPONSIVE ===== */
@media (max-width: 991.999px) {
    .kb-hero__title {
        font-size: 36px;
    }
    .kb-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .kb-sidebar {
        position: static;
    }
    .kb-cats__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
}

@media (max-width: 575.999px) {
    .kb-hero {
        padding: 56px 0 40px;
    }
    .kb-hero__title {
        font-size: 28px;
    }
    .kb-hero__lead {
        font-size: 15px;
    }
    .kb-main {
        padding: 40px 0 56px;
    }
    .kb-cats__list {
        grid-template-columns: 1fr;
    }
    .kb-grid {
        grid-template-columns: 1fr;
    }
    .kb-group__title {
        font-size: 19px;
    }
    .kb-group__all {
        display: none;
    }
}

/* ============================================================
   SERVICE / OFFER SUBPAGES (.svc-*)
   Reużywalne komponenty dla podstron oferty — spójne z about/home
   ============================================================ */

/* ===== HERO ===== */
.svc-hero {
    padding: 80px 0 64px;
    background: linear-gradient(180deg, #f9fafb 0%, #fff 100%);
    border-bottom: 1px solid #eef0f4;
    text-align: center;
}

.svc-hero__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #dc1823;
    margin-bottom: 16px;
}

.svc-hero__title {
    font-size: 44px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.15;
    max-width: 880px;
    margin: 0 auto 24px;
}

.svc-hero__title .red {
    color: #dc1823;
}

.svc-hero__lead {
    font-size: 17px;
    line-height: 1.7;
    color: #666;
    max-width: 720px;
    margin: 0 auto 32px;
}

.svc-hero__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.svc-hero__badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    background: #fff;
    border: 1px solid #e4e6ec;
    padding: 8px 18px;
    border-radius: 25px;
}

.svc-hero__badge--primary {
    color: #fff;
    background: linear-gradient(135deg, #dc1823 0%, #ff4757 100%);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(220, 24, 35, 0.3);
}

.svc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

.svc-hero__btn {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 28px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.svc-hero__btn--primary {
    color: #fff;
    background: linear-gradient(135deg, #dc1823 0%, #ff4757 100%);
    box-shadow: 0 6px 18px rgba(220, 24, 35, 0.3);
}

.svc-hero__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(220, 24, 35, 0.4);
    color: #fff;
}

.svc-hero__btn--outline {
    color: #1a1a2e;
    background: #fff;
    border: 1px solid #e4e6ec;
}

.svc-hero__btn--outline:hover {
    transform: translateY(-2px);
    border-color: #dc1823;
    color: #dc1823;
}

.svc-hero__media {
    max-width: 720px;
    margin: 48px auto 0;
    animation: svcHeroFloat 6s ease-in-out infinite;
}

.svc-hero__media img {
    display: block;
    width: 100%;
    height: auto;
}

@keyframes svcHeroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
    .svc-hero__media {
        animation: none;
    }
}

/* ===== SECTION WRAP ===== */
.svc-section {
    padding: 80px 0;
}

.svc-section--alt {
    background: #f9fafb;
    border-top: 1px solid #eef0f4;
    border-bottom: 1px solid #eef0f4;
}

.svc-section--dark {
    background: #1a1a2e;
}

/* ===== CARDS GRID (features / competences / differentiators) ===== */
.svc-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.svc-cards--2 { grid-template-columns: repeat(2, 1fr); }
.svc-cards--4 { grid-template-columns: repeat(4, 1fr); }

.svc-card {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.svc-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #dc1823, #ff6b6b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.svc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(220, 24, 35, 0.1);
    border-color: rgba(220, 24, 35, 0.15);
}

.svc-card:hover::after {
    transform: scaleX(1);
}

.svc-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(220, 24, 35, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 22px;
    color: #dc1823;
    font-weight: 800;
}

.svc-card__icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.svc-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
}

.svc-card__text {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* ===== STEPS (numbered process) ===== */
.svc-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
    max-width: 920px;
    margin: 0 auto;
}

.svc-steps--single {
    grid-template-columns: 1fr;
    max-width: 720px;
}

.svc-step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.svc-step__num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc1823 0%, #ff4757 100%);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(220, 24, 35, 0.25);
}

.svc-step__text {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    padding-top: 9px;
}

/* ===== RESULTS / CASE STUDY STATS ===== */
.svc-results__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.svc-result {
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 32px 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.svc-result:hover {
    transform: translateY(-3px);
    border-color: rgba(220, 24, 35, 0.5);
}

.svc-result__value {
    display: block;
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ff4757 0%, #ff8a5b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.svc-result__label {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.svc-section--dark .about-section-header__title {
    color: #fff;
}

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

.svc-faq__item {
    border: 1px solid #eef0f4;
    border-radius: 12px;
    margin-bottom: 12px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.svc-faq__item[open] {
    border-color: rgba(220, 24, 35, 0.2);
    box-shadow: 0 6px 20px rgba(220, 24, 35, 0.07);
}

.svc-faq__q {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    padding: 20px 56px 20px 24px;
    cursor: pointer;
    position: relative;
    list-style: none;
    line-height: 1.5;
}

.svc-faq__q::-webkit-details-marker {
    display: none;
}

.svc-faq__q::after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 400;
    color: #dc1823;
    transition: transform 0.25s ease;
}

.svc-faq__item[open] .svc-faq__q::after {
    transform: translateY(-50%) rotate(45deg);
}

.svc-faq__a {
    padding: 0 24px 22px;
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

/* ===== RELATED SERVICES ===== */
.svc-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.svc-related__item {
    display: block;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.svc-related__item:hover {
    transform: translateY(-2px);
    border-color: #dc1823;
    color: #dc1823;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .svc-cards,
    .svc-cards--4,
    .svc-results__grid,
    .svc-related__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .svc-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .svc-hero {
        padding: 56px 0 44px;
    }
    .svc-hero__title {
        font-size: 30px;
    }
    .svc-hero__lead {
        font-size: 15px;
    }
    .svc-hero__media {
        margin-top: 32px;
    }
    .svc-section {
        padding: 52px 0;
    }
    .svc-cards,
    .svc-cards--2,
    .svc-cards--4,
    .svc-results__grid,
    .svc-related__grid {
        grid-template-columns: 1fr;
    }
    .svc-result__value {
        font-size: 34px;
    }
}

/* ============================================================
   BLOG (.blog-*)
   Lista artykułów + strona kategorii + artykuł.
   Reużywa .kb-hero / .kb-main / .kb-layout / .kb-sidebar / .kb-cats.
   ============================================================ */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(26, 26, 46, 0.1);
    border-color: #e2e4ea;
}

.blog-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f3f4f7;
}

.blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__media img {
    transform: scale(1.05);
}

.blog-card__cat {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 2;
    display: inline-block;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background: #dc1823;
    border-radius: 20px;
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 24px;
}

.blog-card__date {
    font-size: 12.5px;
    font-weight: 600;
    color: #9aa0ab;
    margin-bottom: 10px;
}

.blog-card__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a2e;
    margin: 0 0 12px;
}

.blog-card:hover .blog-card__title {
    color: #dc1823;
}

.blog-card__excerpt {
    font-size: 14.5px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__more {
    margin-top: auto;
    font-size: 13.5px;
    font-weight: 700;
    color: #dc1823;
}

/* ===== Article page ===== */
.blog-article__hero-img {
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 28px;
}

.blog-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    font-size: 13.5px;
    color: #888;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ececf1;
}

.blog-article__meta .blog-card__cat {
    position: static;
}

.blog-article__meta strong {
    color: #1a1a2e;
    font-weight: 600;
}

/* ===== Empty state ===== */
.blog-empty {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    color: #888;
    background: #f9fafb;
    border: 1px dashed #e4e6ec;
    border-radius: 14px;
}

@media (max-width: 1199.999px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.999px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   CASE STUDY (historie sukcesu) — new design
   ============================================================ */

/* ----- Index grid ----- */
.cs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 8px;
}

.cs-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 16px;
    padding: 32px 28px 26px;
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.cs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(26, 26, 46, .12);
    border-color: #e2e4ec;
}

.cs-card__metric {
    color: #dc1823;
    font-size: 48px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -1px;
}

.cs-card__metric-label {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #888;
    text-transform: lowercase;
}

.cs-card__platform {
    margin-top: 26px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #9aa0ab;
}

.cs-card__title {
    margin: 8px 0 0;
    font-size: 19px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.35;
}

.cs-card__desc {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cs-card__tags {
    margin-top: 16px;
    font-size: 12.5px;
    color: #dc1823;
    font-weight: 600;
}

.cs-card__results {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.cs-card__results li {
    font-size: 13px;
    font-weight: 700;
    color: #dc1823;
    margin-bottom: 2px;
}

.cs-card__results li span {
    color: #888;
    font-weight: 500;
}

.cs-card__more {
    margin-top: auto;
    padding-top: 20px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
}

.cs-card:hover .cs-card__more {
    color: #dc1823;
}

/* ----- Detail hero ----- */
.cs-detail__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
}

.cs-detail__metric {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 20px;
    font-weight: 800;
    color: #dc1823;
}

.cs-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 16px;
    font-size: 14px;
    color: #9aa0ab;
    font-weight: 600;
}

.cs-detail__meta strong {
    color: #1a1a2e;
}

/* ----- Detail body sections ----- */
.cs-section {
    margin-top: 48px;
}

.cs-section__label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #dc1823;
}

.cs-section__title {
    margin: 6px 0 0;
    font-size: 26px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -.5px;
}

.cs-intro {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.75;
    color: #555;
}

/* targets grid */
.cs-targets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 22px;
    padding: 0;
    list-style: none;
}

.cs-targets li {
    position: relative;
    padding: 14px 16px 14px 44px;
    background: #f9fafb;
    border: 1px solid #eef0f4;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 600;
    color: #1a1a2e;
}

.cs-targets li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border-radius: 50%;
    background: #dc1823;
    box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px #dc1823;
}

/* realization steps timeline */
.cs-steps {
    margin-top: 26px;
    padding: 0;
    list-style: none;
}

.cs-step {
    position: relative;
    padding: 0 0 30px 64px;
}

.cs-step::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 44px;
    bottom: 0;
    width: 2px;
    background: #eef0f4;
}

.cs-step:last-child::before {
    display: none;
}

.cs-step__num {
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #dc1823;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-step__title {
    margin: 6px 0 0;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
}

.cs-step__text {
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

/* effects */
.cs-effects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.cs-effect {
    background: linear-gradient(180deg, #fff, #fbfbfd);
    border: 1px solid #eef0f4;
    border-radius: 16px;
    padding: 26px 22px;
    text-align: center;
}

.cs-effect__value {
    font-size: 34px;
    font-weight: 800;
    color: #dc1823;
    letter-spacing: -1px;
}

.cs-effect__label {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.cs-back {
    margin-top: 40px;
    font-size: 15px;
    font-weight: 600;
}

.cs-back a {
    color: #dc1823;
    text-decoration: none;
}

@media (max-width: 1199.999px) {
    .cs-grid { grid-template-columns: repeat(2, 1fr); }
    .cs-effects { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767.999px) {
    .cs-grid { grid-template-columns: 1fr; }
    .cs-targets { grid-template-columns: 1fr; }
    .cs-effects { grid-template-columns: 1fr; }
}
