/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
/* Fix Chrome deprecated overflow:visible warning on replaced elements */
img, video, canvas { overflow: clip; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8;
    color: #484848;
    background: #221D23;
    -webkit-font-smoothing: antialiased;
}

:root {
    --raisin: #221D23;
    --raisin-light: #2D2830;
    --bitter-lemon: #D0FC00;
    --off-white: #FBFAF8;
    --ash: #A9B2AC;
    --dim: #484848;
    --surface: #F5F4F2;
}

/* === HERO — Split layout === */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}
.hero-left {
    background: var(--raisin);
    padding: 80px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-right {
    background: var(--raisin-light);
    padding: 80px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}
.hero-right::before {
    content: '267k';
    position: absolute;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 200px;
    color: rgba(208,252,0,0.03);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}
.hero-badge {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--raisin);
    background: var(--bitter-lemon);
    padding: 6px 16px;
    display: inline-block;
    margin-bottom: 32px;
    align-self: flex-start;
}
.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    font-size: clamp(28px, 3.5vw, 48px);
    line-height: 1.25;
    color: var(--off-white);
    margin-bottom: 32px;
}
.hero-desc {
    font-size: 15px;
    color: var(--ash);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
}
.hero-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.hero-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ash);
    border: 1px solid rgba(169,178,172,0.2);
    padding: 6px 14px;
}

/* Stats in hero-right */
.hero-stat {
    text-align: center;
    padding: 24px 0;
    width: 100%;
    max-width: 280px;
    border-bottom: 1px solid rgba(169,178,172,0.08);
    position: relative;
    z-index: 1;
}
.hero-stat:last-child { border-bottom: none; }
.hero-stat-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    font-size: clamp(40px, 5vw, 64px);
    color: var(--bitter-lemon);
    line-height: 1;
    margin-bottom: 8px;
}
.hero-stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ash);
}

/* === MAIN BODY — light background === */
.main {
    background: var(--off-white);
}

/* === CONTENT AREA === */
.content-wide {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 40px;
}
.content-narrow {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 40px;
}

/* === SECTION === */
.section {
    padding: 96px 0;
}
.section + .section {
    border-top: 1px solid rgba(34,29,35,0.06);
}

/* Section header — left aligned with number */
.section-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 40px;
}
.section-num {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    font-size: 48px;
    color: rgba(34,29,35,0.08);
    line-height: 1;
    flex-shrink: 0;
}
.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.3;
    color: var(--raisin);
}
.section p {
    margin-bottom: 24px;
    color: var(--dim);
}
.section p strong {
    color: var(--raisin);
    font-weight: 600;
}

/* === CLIENT — horizontal pills === */
.client-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0;
}
.client-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--surface);
    font-size: 13px;
}
.client-pill strong {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--raisin);
}
.client-pill span {
    color: var(--dim);
    font-weight: 400;
}
.client-pill::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--bitter-lemon);
    border-radius: 50%;
    flex-shrink: 0;
}

/* === SITUATION — horizontal scroll chips === */
.chips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(169,178,172,0.08);
    margin: 32px 0;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}
.chip {
    background: var(--raisin);
    padding: 24px 28px;
}
.chip-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ash);
    margin-bottom: 6px;
}
.chip-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--off-white);
}

/* === PROCESS — horizontal timeline === */
.timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 48px 0;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 1px;
    background: var(--bitter-lemon);
    opacity: 0.3;
}
.timeline-item {
    padding: 0 20px;
    text-align: center;
    position: relative;
}
.timeline-dot {
    width: 8px;
    height: 8px;
    background: var(--bitter-lemon);
    margin: 16px auto 20px;
    position: relative;
    z-index: 1;
}
.timeline-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--raisin);
    margin-bottom: 8px;
}
.timeline-item p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--dim);
    margin: 0;
}

/* === RESULTS — dark band === */
.results-band {
    background: var(--raisin);
    padding: 96px 40px;
}
.results-band .content-wide { padding: 0; }
.results-band h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    font-size: clamp(24px, 3vw, 36px);
    color: var(--off-white);
    margin-bottom: 48px;
    text-align: center;
}
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(169,178,172,0.08);
    max-width: 900px;
    margin: 0 auto;
}
.result-card {
    background: var(--raisin);
    padding: 40px 32px;
    text-align: center;
}
.result-card .eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ash);
    margin-bottom: 12px;
}
.result-card .before-val {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--ash);
    text-decoration: line-through;
    text-decoration-color: rgba(169,178,172,0.4);
    margin-bottom: 4px;
}
.result-card .after-val {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 24px;
    color: var(--bitter-lemon);
}

/* === LESSONS — card grid === */
.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    background: rgba(34,29,35,0.06);
    margin: 48px 0;
}
.lesson-card {
    background: var(--off-white);
    padding: 32px;
    position: relative;
}
.lesson-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--bitter-lemon);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.lesson-card:hover::before {
    transform: scaleX(1);
}
.lesson-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: var(--raisin);
    margin-bottom: 8px;
}
.lesson-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--dim);
    margin: 0;
}

/* === CTA — minimal === */
.cta {
    background: var(--surface);
    padding: 80px 40px;
    text-align: center;
}
.cta h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: clamp(20px, 2.5vw, 32px);
    color: var(--raisin);
    margin-bottom: 32px;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--off-white);
    background: var(--raisin);
    padding: 16px 40px;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
}
.cta-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 100%;
    background: var(--bitter-lemon);
    transition: width 0.4s ease;
    z-index: 0;
}
.cta-btn:hover::before { width: 100%; }
.cta-btn:hover { color: var(--raisin); }
.cta-btn span { position: relative; z-index: 1; }
.cta-btn::after {
    content: '\2192';
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}
.cta-btn:hover::after { transform: translateX(4px); }

/* === AUTHOR — dark footer === */
.author-bar {
    background: var(--raisin);
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.author-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--raisin-light);
    border: 1px solid rgba(169,178,172,0.15);
    flex-shrink: 0;
}
.author-info {
    font-family: 'Montserrat', sans-serif;
}
.author-name {
    font-weight: 500;
    font-size: 14px;
    color: var(--off-white);
}
.author-role {
    font-size: 12px;
    color: var(--ash);
}

/* === MOBILE === */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; }
    .hero-left { padding: 64px 32px; }
    .hero-right { padding: 48px 32px; flex-direction: row; flex-wrap: wrap; justify-content: space-around; }
    .hero-stat { width: auto; min-width: 140px; border-bottom: none; }
    .timeline { grid-template-columns: 1fr; gap: 24px; }
    .timeline::before { display: none; }
    .timeline-item { text-align: left; padding: 0; display: grid; grid-template-columns: 8px 1fr; gap: 16px; align-items: start; }
    .timeline-dot { margin: 6px 0 0; }
    .results-grid { grid-template-columns: 1fr; }
    .content-wide, .content-narrow { padding: 0 24px; }
    .section { padding: 64px 0; }
}
@media (max-width: 600px) {
    .hero-right { flex-direction: column; }
    .hero-stat { width: 100%; }
    .chips { grid-template-columns: 1fr; padding: 0 24px; }
    .chip { padding: 16px 20px; }
}

/* === AUTHOR SECTION === */
.author-section {
    background: var(--raisin);
    padding: 80px 40px;
}
.author-card {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
}
.author-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.author-divider {
    width: 48px;
    height: 1.5px;
    background: var(--bitter-lemon);
    margin-bottom: 24px;
}
.author-role {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--off-white);
    margin-bottom: 8px;
}
.author-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: var(--off-white);
    margin-bottom: 4px;
}
.author-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ash);
    margin-bottom: 24px;
}
.author-bio {
    font-family: 'Quicksand', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ash);
    margin-bottom: 24px;
}
.author-links {
    display: flex;
    gap: 12px;
}
.author-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(169,178,172,0.2);
    color: var(--ash);
    transition: all 0.3s ease;
}
.author-link:hover {
    background: var(--bitter-lemon);
    border-color: var(--bitter-lemon);
    color: var(--raisin);
}

@media (max-width: 767px) {
    .author-card {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .author-img {
        width: 160px;
        margin: 0 auto;
    }
    .author-divider {
        margin: 0 auto 24px;
    }
    .author-links {
        justify-content: center;
    }
}

/* === CS HEADER === */
.cs-header__logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--raisin);
    text-decoration: none;
    letter-spacing: -0.3px;
}
.cs-header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.cs-header__nav a {
    color: var(--dim) !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ash);
    text-decoration: none;
    transition: color 0.2s ease;
}
.cs-header__nav a.cs-header__link:hover { color: var(--raisin); }
.hero { padding-top: 64px; }

/* === HEADER — with logo image === */
.cs-header__logo img {
    height: 28px;
    width: auto;
    display: block;
}

/* === FOOTER — matching local Emerald design === */
.cs-header__logo { color: var(--raisin) !important; }
.cs-header__nav a.cs-header__link { color: var(--dim) !important; }
.cs-header__nav a.cs-header__link:hover { color: var(--raisin) !important; }

/* === FOOTER — 4 kwadranty, full width, seledynowe linie === */
.em-footer {
    background: var(--raisin);
    width: 100%;
}
.em-footer__top-line {
    height: 1px;
    background: var(--bitter-lemon);
}
.em-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}
.em-footer__col {
    padding: 60px 48px;
}
.em-footer__col--sep {
    border-right: 1px solid rgba(208,252,0,0.15);
}

/* Logo */
.em-footer__logo {
    height: 44px;
    width: auto;
    margin-bottom: 24px;
    display: block;
}

/* Info text */
.em-footer__info {
    font-family: 'Quicksand', sans-serif;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(169,178,172,0.6);
    margin: 0 0 24px;
}

/* Social icons */
.em-footer__social {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}
.em-footer__social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(208,252,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(169,178,172,0.5);
    text-decoration: none;
    transition: all 0.3s ease;
}
.em-footer__social a:hover {
    background: var(--bitter-lemon);
    border-color: var(--bitter-lemon);
    color: var(--raisin);
}

/* Copyright inline */
.em-footer__copy-inline {
    font-size: 12px;
    color: rgba(169,178,172,0.25);
    line-height: 1.6;
    margin: auto 0 0;
}

/* Headings */
.em-footer h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 28px;
}

/* Links */
.em-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.em-footer a {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    color: rgba(169,178,172,0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}
.em-footer a:hover {
    color: var(--bitter-lemon);
}

/* Contact column */
.em-footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}
.em-footer__contact-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    color: rgba(169,178,172,0.3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}
.em-footer__contact-item span,
.em-footer__contact-item a {
    font-size: 14px;
    color: rgba(169,178,172,0.7);
}

/* CTA button */
.em-footer__cta {
    display: inline-block;
    background: var(--bitter-lemon);
    color: var(--raisin) !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 32px;
    margin-bottom: 24px;
    transition: background 0.3s ease;
}
.em-footer__cta:hover {
    background: var(--off-white);
}

/* Partner badge */
.em-footer__partners {
    display: block;
    max-width: 200px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.em-footer__partners:hover {
    opacity: 1;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .em-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .em-footer__col--sep:nth-child(2) {
        border-right: none;
    }
    .em-footer__col:nth-child(1),
    .em-footer__col:nth-child(2) {
        border-bottom: 1px solid rgba(208,252,0,0.15);
    }
}
@media (max-width: 600px) {
    .em-footer__grid {
        grid-template-columns: 1fr;
    }
    .em-footer__col--sep {
        border-right: none;
        border-bottom: 1px solid rgba(208,252,0,0.15);
    }
    .em-footer__col {
        padding: 40px 24px;
    }
}

/* === FOOTER — 4 kwadranty, full width, seledynowe linie === */
.em-footer {
    background: var(--raisin);
    width: 100%;
}
.em-footer__top-line {
    height: 1px;
    background: var(--bitter-lemon);
}
.em-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}
.em-footer__col {
    padding: 60px 48px;
}
.em-footer__col--sep {
    border-right: 1px solid rgba(208,252,0,0.15);
}

/* Logo */
.em-footer__logo {
    height: 44px;
    width: auto;
    margin-bottom: 24px;
    display: block;
}

/* Info text */
.em-footer__info {
    font-family: 'Quicksand', sans-serif;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(169,178,172,0.6);
    margin: 0 0 24px;
}

/* Social icons */
.em-footer__social {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}
.em-footer__social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(208,252,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(169,178,172,0.5);
    text-decoration: none;
    transition: all 0.3s ease;
}
.em-footer__social a:hover {
    background: var(--bitter-lemon);
    border-color: var(--bitter-lemon);
    color: var(--raisin);
}

/* Copyright inline */
.em-footer__copy-inline {
    font-size: 12px;
    color: rgba(169,178,172,0.25);
    line-height: 1.6;
    margin: auto 0 0;
}

/* Headings */
.em-footer h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 28px;
}

/* Links */
.em-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.em-footer a {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    color: rgba(169,178,172,0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}
.em-footer a:hover {
    color: var(--bitter-lemon);
}

/* Contact column */
.em-footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}
.em-footer__contact-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    color: rgba(169,178,172,0.3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}
.em-footer__contact-item span,
.em-footer__contact-item a {
    font-size: 14px;
    color: rgba(169,178,172,0.7);
}

/* CTA button */
.em-footer__cta {
    display: inline-block;
    background: var(--bitter-lemon);
    color: var(--raisin) !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 32px;
    margin-bottom: 24px;
    transition: background 0.3s ease;
}
.em-footer__cta:hover {
    background: var(--off-white);
}

/* Partner badge */
.em-footer__partners {
    display: block;
    max-width: 200px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.em-footer__partners:hover {
    opacity: 1;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .em-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .em-footer__col--sep:nth-child(2) {
        border-right: none;
    }
    .em-footer__col:nth-child(1),
    .em-footer__col:nth-child(2) {
        border-bottom: 1px solid rgba(208,252,0,0.15);
    }
}
@media (max-width: 600px) {
    .em-footer__grid {
        grid-template-columns: 1fr;
    }
    .em-footer__col--sep {
        border-right: none;
        border-bottom: 1px solid rgba(208,252,0,0.15);
    }
    .em-footer__col {
        padding: 40px 24px;
    }
}

.cs-header__logo { color: var(--raisin) !important; }
.cs-header__nav a.cs-header__link { color: var(--dim) !important; }
.cs-header__nav a.cs-header__link:hover { color: var(--raisin) !important; }

.cs-header__logo img { height: 34px !important; width: auto; }

/* === FOOTER FIXES — white logo + full badge === */
.em-footer__logo {
    height: 56px !important;
    width: auto !important;
    filter: none !important;
    object-fit: contain !important;
}
.em-footer__partners {
    max-width: 100% !important;
    width: 200px !important;
    height: auto !important;
    object-fit: contain !important;
    opacity: 0.7;
    /* overflow removed - deprecated on img */
}
.em-footer__col {
    /* overflow removed - deprecated on img */
}
/* Also fix for global footer */
.site-footer__logo {
    height: 56px !important;
    width: auto !important;
    filter: none !important;
    object-fit: contain !important;
}
.site-footer__partners {
    max-width: 100% !important;
    width: 200px !important;
    height: auto !important;
    object-fit: contain !important;
}




/* === HEADER FINAL === */
.cs-header {
    background: rgba(251,250,248,0.95) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(34,29,35,0.06);
}
.cs-header__logo img {
    height: 34px;
    width: auto;
}
.cs-header__nav a {
    color: #484848;
}
.cs-header__nav a:hover {
    color: #221D23;
}

/* Button: black bg, white text. Hover: lemon sweep left→right, black text */
.cs-header__cta {
    background: #221D23;
    color: #FBFAF8;
    padding: 10px 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.cs-header__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #D0FC00;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}
.cs-header__cta:hover {
    color: #221D23;
}
.cs-header__cta:hover::before {
    width: 100%;
}

/* === FOOTER LOGO — white with lemon square, bigger === */
.em-footer__logo {
    height: 80px !important;
    width: auto !important;
    max-width: 80px !important;
    filter: none !important;
    object-fit: contain !important;
    margin-bottom: 24px !important;
    display: block !important;
}

/* === FOOTER LOGO — 2x bigger === */
.em-footer__logo {
    height: 120px !important;
    width: auto !important;
    max-width: 200px !important;
    filter: none !important;
    object-fit: contain !important;
    margin-bottom: 28px !important;
    display: block !important;
}

/* === PARTNERS BADGE — full, no clipping === */
.em-footer__partners {
    display: block !important;
    width: 220px !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    /* overflow removed - deprecated on img */
    opacity: 0.7 !important;
    margin-top: 8px !important;
}
.em-footer__partners:hover { opacity: 1 !important; }
.em-footer__col {
    /* overflow removed - deprecated on img */
}

/* === HEADER — white bar, big logo left, menu+btn right === */
.cs-header {
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important;
    z-index: 100 !important;
    background: #FBFAF8 !important;
    padding: 0 48px !important;
    height: 72px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid rgba(34,29,35,0.06) !important;
    backdrop-filter: blur(16px) !important;
}
.cs-header__logo img {
    height: 40px !important;
    width: auto !important;
}
.cs-header__nav {
    display: flex !important;
    align-items: center !important;
    gap: 28px !important;
}
.cs-header__link {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    color: #484848 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    cursor: pointer !important;
}
.cs-header__link:hover { color: #221D23 !important; }

/* Dropdown */
.cs-header__dropdown {
    position: relative !important;
}
.cs-header__submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: -16px;
    margin-top: 16px;
    background: #FBFAF8;
    border: 1px solid rgba(34,29,35,0.06);
    box-shadow: 0 8px 32px rgba(34,29,35,0.08);
    padding: 12px 0;
    min-width: 240px;
    z-index: 200;
}
.cs-header__dropdown:hover .cs-header__submenu {
    display: block;
}
.cs-header__submenu a {
    display: block;
    padding: 10px 24px;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    color: #484848;
    text-decoration: none;
    transition: all 0.15s ease;
}
.cs-header__submenu a:hover {
    background: rgba(208,252,0,0.08);
    color: #221D23;
    padding-left: 28px;
}

/* Hero offset for taller header */
.hero { padding-top: 72px !important; }

@media (max-width: 900px) {
    .cs-header { padding: 0 24px !important; height: 64px !important; }
    .cs-header__logo img { height: 32px !important; }
    .cs-header__nav { gap: 16px !important; }
    .cs-header__link { font-size: 11px !important; }
    .cs-header__dropdown .cs-header__submenu { left: auto; right: 0; }
    .hero { padding-top: 64px !important; }
}

/* === HEADER LOGO 30% bigger === */
.cs-header__logo img {
    height: 52px !important;
    width: auto !important;
}

/* === FOOTER LOGO SVG === */
.em-footer__logo {
    width: 180px !important;
    height: auto !important;
    max-width: 180px !important;
    filter: none !important;
    margin-bottom: 28px !important;
    display: block !important;
}

/* === CARD STATS — visual separation === */
.cs-card__stat {
    background: var(--raisin) !important;
    padding: 20px 16px !important;
    text-align: center !important;
    border-right: 1px solid rgba(208,252,0,0.1) !important;
}
.cs-card__stat:last-child {
    border-right: none !important;
}
.cs-card:hover .cs-card__stat {
    background: #2D2830 !important;
}
.cs-card__stats {
    gap: 0 !important;
    background: none !important;
    border-top: 1px solid rgba(208,252,0,0.1) !important;
}

/* === EQUAL HEIGHT CARDS + STATS === */
.cs-archive__grid {
    align-items: stretch !important;
}
.cs-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}
.cs-card__body {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
}
.cs-card__title {
    flex: 1 1 auto !important;
}
.cs-card__arrow {
    flex: 0 0 auto !important;
    margin-top: auto !important;
    padding-bottom: 20px !important;
}
.cs-card__stats {
    flex: 0 0 auto !important;
    margin-top: auto !important;
}
.cs-card__stat {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 80px !important;
}

/* === HIGHLIGHT — gruby limonkowy podkreślnik 50/50 === */
.em-hl {
    background-image: linear-gradient(transparent 85%, #D0FC00 85%);
    background-size: 100% 100%;
    padding: 0 3px;
    margin: 0 -3px;
    font-style: normal;
}

/* === ARCHIVE — card stat numbers lemon === */
.cs-card__stat-number {
    color: var(--bitter-lemon) !important;
}

/* === SINGLE CASE STUDY — hero title highlight === */
.hero h1 .em-hl {
    background-image: linear-gradient(transparent 85%, #D0FC00 85%);
}

/* ============================================================
   MOBILE FIRST FIXES
   ============================================================ */

/* === HAMBURGER MENU === */
.cs-header__burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--raisin);
}
.cs-header__burger svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

@media (max-width: 900px) {
    /* Show burger, hide nav */
    .cs-header__burger { display: block; }
    .cs-header__nav {
        display: none !important;
        position: fixed;
        top: 64px;
        left: 0; right: 0;
        background: var(--off-white);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid rgba(34,29,35,0.06);
        box-shadow: 0 8px 32px rgba(34,29,35,0.08);
        z-index: 200;
    }
    .cs-header__nav.is-open {
        display: flex !important;
    }
    .cs-header__nav .cs-header__link,
    .cs-header__nav .cs-header__dropdown > a {
        padding: 14px 0 !important;
        border-bottom: 1px solid rgba(34,29,35,0.04);
        font-size: 14px !important;
        display: block !important;
        width: 100% !important;
    }
    .cs-header__nav .cs-header__cta {
        margin-top: 16px !important;
        text-align: center !important;
        justify-content: center !important;
        width: 100% !important;
    }
    /* Dropdown — inline on mobile */
    .cs-header__dropdown .cs-header__submenu {
        position: static !important;
        display: none;
        margin: 0 !important;
        padding: 0 0 0 16px !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
    }
    .cs-header__dropdown.is-open .cs-header__submenu {
        display: block;
    }
    .cs-header__submenu a {
        padding: 10px 0 !important;
        font-size: 13px !important;
    }

    /* === HERO CASE STUDY — mobile === */
    .hero-left { padding: 48px 24px 32px !important; }
    .hero-right { padding: 32px 24px !important; }
    .hero h1 { font-size: 28px !important; }
    .hero-desc { font-size: 14px !important; }
    .hero-tags { gap: 6px !important; }
    .hero-tag { font-size: 10px !important; padding: 4px 10px !important; }
    .hero-stat-number { font-size: 36px !important; }

    /* === CONTENT SECTIONS — mobile padding === */
    .content-narrow, .content-wide { padding: 0 20px !important; }
    .section { padding: 48px 0 !important; }
    .section-header { gap: 12px !important; margin-bottom: 24px !important; }
    .section-num { font-size: 36px !important; }

    /* === PILLS — stack === */
    .client-pills { flex-direction: column !important; gap: 8px !important; }
    .client-pill { width: 100% !important; }

    /* === CHIPS — 1 column === */
    .chips { grid-template-columns: 1fr !important; padding: 0 !important; margin: 24px 0 !important; }

    /* === TIMELINE — vertical === */
    .timeline { grid-template-columns: 1fr !important; gap: 16px !important; }
    .timeline::before { display: none !important; }
    .timeline-item { text-align: left !important; padding: 0 20px !important; display: grid !important; grid-template-columns: 8px 1fr !important; gap: 12px !important; }
    .timeline-dot { margin: 6px 0 0 !important; }

    /* === RESULTS BAND — 1 column === */
    .results-band { padding: 48px 20px !important; }
    .results-grid { grid-template-columns: 1fr !important; }

    /* === LESSONS — 1 column === */
    .lessons-grid { grid-template-columns: 1fr !important; }

    /* === CTA === */
    .cta { padding: 48px 20px !important; }
    .cta h2 { font-size: 22px !important; }
    .cta-btn { font-size: 11px !important; padding: 14px 28px !important; }

    /* === AUTHOR — stack === */
    .author-section { padding: 48px 20px !important; }
    .author-card { grid-template-columns: 1fr !important; gap: 24px !important; text-align: center !important; }
    .author-img { width: 140px !important; margin: 0 auto !important; }
    .author-divider { margin: 0 auto 20px !important; }
    .author-links { justify-content: center !important; }

    /* === FOOTER — 1 column === */
    .em-footer__grid { grid-template-columns: 1fr !important; }
    .em-footer__col--sep { border-right: none !important; border-bottom: 1px solid rgba(208,252,0,0.15) !important; }
    .em-footer__col { padding: 32px 24px !important; }
    .em-footer__logo { width: 140px !important; }
    .em-footer__partners { max-width: 160px !important; }
}

/* === SMALL PHONES (< 400px) === */
@media (max-width: 400px) {
    .hero-left { padding: 40px 16px 24px !important; }
    .hero-right { padding: 24px 16px !important; }
    .hero h1 { font-size: 24px !important; }
    .hero-stat-number { font-size: 28px !important; }
    .content-narrow, .content-wide { padding: 0 16px !important; }
    .chip { padding: 14px 16px !important; }
    .em-footer__col { padding: 24px 16px !important; }
}

/* === CARD IMAGE — ensure visible on desktop === */
.cs-card__image {
    width: 100% !important;
    height: 220px !important;
    overflow: hidden !important;
    display: block !important;
    position: relative !important;
    flex-shrink: 0 !important;
}
.cs-card__image img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    display: block !important;
}

/* === MOBILE MENU — centered items === */
@media (max-width: 900px) {
    .cs-header__nav.is-open {
        text-align: center !important;
        align-items: center !important;
    }
    .cs-header__nav .cs-header__link,
    .cs-header__nav .cs-header__dropdown > a {
        text-align: center !important;
        display: block !important;
        width: 100% !important;
    }
    .cs-header__dropdown {
        width: 100% !important;
        text-align: center !important;
    }
    .cs-header__submenu a {
        text-align: center !important;
    }
    .cs-header__nav .cs-header__cta {
        justify-content: center !important;
        text-align: center !important;
    }
}

/* === DROPDOWN FIX — bridge gap so submenu doesn't close === */
.cs-header__dropdown .cs-header__submenu {
    margin-top: 0 !important;
    padding-top: 16px !important;
    top: 100% !important;
}
.cs-header__dropdown {
    position: relative !important;
    padding-bottom: 16px !important;
    margin-bottom: -16px !important;
}

/* === BLOG CONTENT LINKS — black text + lemon underline === */
.blog-content__inner a {
    color: var(--raisin) !important;
    text-decoration: none !important;
    background-image: linear-gradient(transparent 85%, #D0FC00 85%) !important;
    background-size: 100% 100% !important;
    padding: 0 2px !important;
    margin: 0 -2px !important;
    transition: background-image 0.2s ease !important;
}
.blog-content__inner a:hover {
    background-image: linear-gradient(transparent 35%, #D0FC00 35%) !important;
}

/* === FOOTER FIXES — Kuba feedback === */
.em-footer__cta {
    white-space: nowrap !important;
    font-size: 11px !important;
    padding: 12px 24px !important;
}
.em-footer__partners {
    filter: grayscale(100%) !important;
    opacity: 0.5 !important;
    max-width: 160px !important;
    transition: all 0.3s ease !important;
}
.em-footer__partners:hover {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
}

/* === Remove 267k watermark from hero === */
.hero-right::before {
    display: none !important;
}

/* === FOOTER CTA — never wrap === */
.em-footer__cta {
    white-space: nowrap !important;
    font-size: 10px !important;
    padding: 12px 20px !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
    max-width: 100% !important;
    text-align: center !important;
}
@media (max-width: 600px) {
    .em-footer__cta {
        font-size: 9px !important;
        padding: 10px 16px !important;
        letter-spacing: 0 !important;
    }
}

/* === FOOTER CTA — sweep hover like all buttons === */
.em-footer__cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: var(--bitter-lemon) !important;
    color: var(--raisin) !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    padding: 14px 32px !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    transition: color 0.4s ease !important;
    white-space: nowrap !important;
}
.em-footer__cta::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 0 !important; height: 100% !important;
    background: var(--off-white) !important;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    z-index: -1 !important;
}
.em-footer__cta:hover { color: var(--raisin) !important; }
.em-footer__cta:hover::before { width: 100% !important; }
.em-footer__cta::after { content: "\2192" !important; transition: transform 0.3s ease !important; }
.em-footer__cta:hover::after { transform: translateX(4px) !important; }
@media (max-width: 600px) {
    .em-footer__cta { font-size: 10px !important; padding: 12px 24px !important; }
}

/* === PARTNER BADGES — original colors, always visible === */
.em-footer__partners {
    filter: none !important;
    opacity: 1 !important;
    max-width: 220px !important;
}
.em-footer__partners:hover {
    filter: none !important;
    opacity: 1 !important;
}

/* === ZAUFALI NAM — service pages === */
.svc-logos{background:var(--off-white);padding:48px 0;overflow:hidden}
.svc-logos__label{font-family:'Montserrat',sans-serif;font-size:14px;font-weight:500;letter-spacing:3px;text-transform:uppercase;color:var(--ash);text-align:center;margin-bottom:24px}
.svc-logos__strip{display:flex;align-items:center;gap:48px;animation:logoScroll 30s linear infinite;width:max-content}
.svc-logos__strip:hover{animation-play-state:paused}
.svc-logos__strip img{height:288px;width:auto;object-fit:contain;filter:grayscale(100%);opacity:.35;transition:all .3s;flex-shrink:0;mix-blend-mode:multiply}
.svc-logos__strip img:hover{filter:none;opacity:1}
@keyframes logoScroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
