/* Elnorio V3.12b — approved original artwork, unmodified. */
/* The approved ZIP contains dark-ink originals only. On dark backgrounds, use a light carrier. */
.foot .brand { background:#f7f8f5; border-radius:12px; padding:7px 12px; width:max-content; max-width:100%; }
html[data-mode="dark"] .site-header .brand { background:#f7f8f5; border-radius:10px; padding:5px 9px; min-width:0; }
html[data-mode="dark"] .brand-logo-pair { background:#f7f8f5; border-radius:10px; padding:5px 8px; box-sizing:border-box; }
/* Avoid affecting layout dimensions for ordinary light-background logos. */
.foot .brand img, html[data-mode="dark"] .site-header .brand img { object-fit:contain; }


/* ELNORIO WWW V3.14C — oryginalne ksztalty, warianty na ciemne tlo. */
.foot .brand,
html[data-mode="dark"] .site-header .brand {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

html[data-mode="dark"] .brand-logo-pair {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

/* Elnotes ma dodatkowy podpis i wyzszy oryginalny viewBox. */
.offer-card.future .brand-heading {
    min-height: 82px;
}

.offer-card.future .brand-logo-pair {
    width: min(100%, 225px);
}

.offer-card.future .brand-logo-pair img {
    max-height: 82px;
    object-position: left center;
}


/* ELNORIO WWW V3.14E — czwarta marka w orbicie hero. */
.home-visual .float-card.four {
    --satellite-color: #a07c4f;
    --satellite-tint: #f0e7da;
    --satellite-border: #d8be9d;
    right: 0;
    bottom: 14px;
}

html[data-mode="dark"] .home-visual .float-card.four {
    --satellite-color: #d6b384;
    --satellite-tint: #3b332a;
    --satellite-border: #7f674d;
}

.home-visual .float-card.four .satellite-wordmark {
    height: 48px;
}

.home-visual .float-card.four .satellite-wordmark img {
    max-height: 48px;
}

/* Na tabletach i telefonach: centralna marka + cztery karty 2x2. */
@media (max-width: 850px) {
    .home-visual {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        justify-items: stretch;
        min-height: 0;
    }

    .home-visual .orbit {
        display: none;
    }

    .home-visual .center-node {
        grid-column: 1 / -1;
        justify-self: center;
        position: relative;
        margin: 0 auto 10px;
    }

    .home-visual .float-card,
    .home-visual .float-card.one,
    .home-visual .float-card.two,
    .home-visual .float-card.three,
    .home-visual .float-card.four {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        max-width: none;
        min-height: 85px;
        margin: 0;
    }

    .home-visual .float-card.three,
    .home-visual .float-card.four {
        grid-column: auto;
    }
}

/* ELNORIO WWW V3.16R — klikalne karty produktów w hero (desktop + mobile). */
.home-visual a.hero-product-link {
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

@media (hover: hover) and (pointer: fine) {
    .home-visual a.hero-product-link:hover {
        transform: translateY(-4px);
        border-color: var(--satellite-color);
        box-shadow: 0 18px 36px #00000022;
        z-index: 5;
    }
}

.home-visual a.hero-product-link:focus-visible {
    outline: 3px solid var(--satellite-color);
    outline-offset: 4px;
}

.home-visual a.hero-product-link:active {
    transform: scale(.985);
    border-color: var(--satellite-color);
}

@media (prefers-reduced-motion: reduce) {
    .home-visual a.hero-product-link { transition: none; }
}

/* ELNORIO WWW V3.16S LAB — rozwijana marka Elnotes, motyw Champagne. */
html[data-offer="elnotes"] {
    --accent: #8c704d;
    --accent-dark: #6b5337;
    --accent-light: #f0e5d4;
    --accent-soft: #f8f2e9;
    --ink: #342b21;
    --sub: #65594c;
    --line: #e3d8ca;
    --hero: linear-gradient(120deg, #f4eadb, #faf8f4 70%);
}

html[data-mode="dark"][data-offer="elnotes"] {
    --bg: #1d1a17;
    --card: #29241f;
    --ink: #fbf1e3;
    --sub: #d2c1ab;
    --line: #514536;
    --hero: linear-gradient(120deg, #332a22, #1d1a17 70%);
    --accent-light: #473727;
    --accent-soft: #322920;
    --accent: #e3c295;
    --accent-dark: #f1d6af;
}

html[data-mode="dark"][data-offer="elnotes"] .btn-primary {
    color: #2b231a;
}

.offer-card.elnotes-card {
    --offer-color: #896c47;
    --offer-soft: #f4eadc;
}

.offer-card.elnotes-card .brand-heading {
    min-height: 82px;
}

.offer-card.elnotes-card .brand-logo-pair {
    width: min(100%, 225px);
}

.offer-card.elnotes-card .brand-logo-pair img {
    max-height: 82px;
    object-fit: contain;
    object-position: left center;
}

.offer-card.elnotes-card:focus-visible {
    outline: 3px solid #896c47;
    outline-offset: 4px;
}

html[data-mode="dark"] .offer-card.elnotes-card {
    --offer-color: #dfbd8f;
    --offer-soft: #342b23;
}

html[data-offer="elnotes"] .marketing-product-wordmark {
    min-height: 94px;
}

html[data-offer="elnotes"] .marketing-product-wordmark .brand-logo-pair {
    width: min(100%, 290px);
}

html[data-offer="elnotes"] .marketing-product-wordmark img {
    max-height: 92px;
    object-fit: contain;
}

.notes-preview .preview-body {
    display: grid;
    gap: 15px;
}

.notes-preview .preview-title {
    margin-bottom: 3px;
}

.notes-demo-sheet {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 17px 20px;
    display: grid;
    gap: 6px;
}

.notes-demo-sheet strong { font-size: 1.03rem; }
.notes-demo-sheet p { margin: 0; font-size: .84rem; }
.notes-demo-tag { font-size: .64rem; letter-spacing: .1em; font-weight: 800; color: var(--accent-dark); }
.notes-demo-checks { margin: 5px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: .83rem; color: var(--sub); }
.notes-demo-checks li { display: flex; align-items: center; gap: 10px; }
.notes-demo-checks li span { color: var(--accent-dark); font-weight: 800; }
.elnotes-feature { --offer-color: var(--accent); --offer-soft: var(--accent-light); }
.elnotes-inline-link { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.elnotes-feature-disclaimer { margin: 15px 0 0; }

@media (max-width: 540px) {
    html[data-offer="elnotes"] .marketing-product-wordmark .brand-logo-pair { width: min(100%, 250px); }
    .notes-demo-sheet { padding: 13px 15px; }
}

/* ELNORIO WWW V3.16S3 — Elnotes: cieple zakonczenie w palecie Champagne.
   Wyłącznie podstrona Elnotes; motywy innych produktów i baner zgód bez zmian. */
html[data-offer="elnotes"] {
    --footer: #29231d;
}

html[data-offer="elnotes"] .contact-band {
    background: #3a3027;
}

html[data-offer="elnotes"] .contact-band p {
    color: #eadbca;
}

html[data-offer="elnotes"] .contact-band .btn {
    background: #e8cfad;
    color: #35271d;
}

html[data-offer="elnotes"] .foot {
    color: #f7eee1;
}

html[data-offer="elnotes"] .foot p,
html[data-offer="elnotes"] .foot-bottom {
    color: #cab9a6;
}

html[data-offer="elnotes"] .foot a {
    color: #e2d2bc;
}

html[data-offer="elnotes"] .foot h4 {
    color: #fff8ee;
}

html[data-mode="dark"][data-offer="elnotes"] {
    --footer: #241e19;
}

html[data-mode="dark"][data-offer="elnotes"] .contact-band {
    background: #342a22;
}

/* ELNORIO WWW V3.16S4 — spójne zakończenia stron produktów.
   Refined Cyan dla Elnumero oraz Royal Slate dla El na miarę.
   Tylko wybrane podstrony; Elnorio, Elnotes i baner zgód bez zmian. */
html[data-offer="elnumero"] {
    --footer: #13343e;
}

html[data-offer="elnumero"] .contact-band {
    background: #1c4b56;
}

html[data-offer="elnumero"] .contact-band p {
    color: #d7eef0;
}

html[data-offer="elnumero"] .contact-band .btn {
    background: #d6eef0;
    color: #15363e;
}

html[data-offer="elnumero"] .foot {
    color: #f2fbfc;
}

html[data-offer="elnumero"] .foot p,
html[data-offer="elnumero"] .foot-bottom {
    color: #bed8dc;
}

html[data-offer="elnumero"] .foot a {
    color: #d2e9eb;
}

html[data-offer="elnumero"] .foot h4 {
    color: #f2fbfc;
}

html[data-mode="dark"][data-offer="elnumero"] {
    --footer: #112a32;
}

html[data-mode="dark"][data-offer="elnumero"] .contact-band {
    background: #1c3d47;
}

html[data-offer="el-na-miare"] {
    --footer: #222e42;
}

html[data-offer="el-na-miare"] .contact-band {
    background: #30425d;
}

html[data-offer="el-na-miare"] .contact-band p {
    color: #dce5f1;
}

html[data-offer="el-na-miare"] .contact-band .btn {
    background: #e0e8f5;
    color: #26364c;
}

html[data-offer="el-na-miare"] .foot {
    color: #f3f6fc;
}

html[data-offer="el-na-miare"] .foot p,
html[data-offer="el-na-miare"] .foot-bottom {
    color: #bdcce0;
}

html[data-offer="el-na-miare"] .foot a {
    color: #d7e3f3;
}

html[data-offer="el-na-miare"] .foot h4 {
    color: #f4f7fc;
}

html[data-mode="dark"][data-offer="el-na-miare"] {
    --footer: #1b2638;
}

html[data-mode="dark"][data-offer="el-na-miare"] .contact-band {
    background: #28384e;
}

/* ELNORIO WWW V3.16S5 — geometria hero Elnorio jak w rodzinie produktów.
   Kopia zachowuje wszystkie CTA, ale cennik ma rangę drugorzędnego linku.
   Osobny oliwkowy blok kontaktu; stopka Elnorio pozostaje bez zmian. */
html[data-offer="elnorio"] .product-hero .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
    min-height: 610px;
    gap: 36px;
    padding-block: 70px 82px;
}

html[data-offer="elnorio"] .product-hero h1 {
    font-size: clamp(2.8rem, 4.6vw, 4.9rem);
    line-height: 1.09;
    margin-bottom: 24px;
}

/* V3.16S6: oddzielna struktura akcji, bez zależności od sąsiedztwa elementów. */
html[data-offer="elnorio"] .product-hero .elnorio-hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 540px;
}

html[data-offer="elnorio"] .product-hero .elnorio-hero-actions .btn {
    min-width: 0;
    width: 100%;
    min-height: 56px;
    font-size: .93rem;
    text-align: center;
    line-height: 1.25;
    white-space: normal;
}

html[data-offer="elnorio"] .product-hero .elnorio-hero-price-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 16px;
    color: var(--accent-dark);
    font-size: .95rem;
    line-height: 1.4;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

html[data-offer="elnorio"] .product-hero .elnorio-hero-price-link:hover {
    opacity: .85;
}

html[data-mode="dark"][data-offer="elnorio"] .product-hero .elnorio-hero-price-link {
    color: #d2e2c4;
}

html[data-offer="elnorio"] .product-hero .hero-copy > p.hero-note {
    margin: 22px 0 0;
    font-size: .89rem;
    line-height: 1.6;
    max-width: 615px;
}

html[data-offer="elnorio"] .contact-band {
    background: #314938;
}

html[data-offer="elnorio"] .contact-band p {
    color: #e0e9da;
}

html[data-offer="elnorio"] .contact-band .btn {
    background: #dce8d3;
    color: #203326;
}

html[data-mode="dark"][data-offer="elnorio"] .contact-band {
    background: #2a3f31;
}

@media (max-width: 950px) {
    html[data-offer="elnorio"] .product-hero .hero-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    html[data-offer="elnorio"] .product-hero .elnorio-hero-actions {
        grid-template-columns: 1fr;
    }

    html[data-offer="elnorio"] .product-hero .hero-inner {
        padding-block: 50px 58px;
    }

    html[data-offer="elnorio"] .product-hero h1 {
        font-size: clamp(2.36rem, 9vw, 3.3rem);
    }
}
