/* Shared scoped hero palettes for Homepage, CleanSpector, Doradztwo, Cleanspiracje and Contact.
   Preserve approved layouts, images, forms, interactions and immutable v0.3.12 assets. */

body.cleanmode-v2a main#main > section.hero#top {
  color: #fff;
  background:
    radial-gradient(ellipse at 78% 43%, rgba(126, 173, 127, .20), transparent 59%),
    linear-gradient(105deg, #061a2e 0%, #0b2840 38%, #183e36 71%, #0c261f 100%);
}
body.cleanmode-v2a main#main > section.hero#top h1 { color: #fff; }
body.cleanmode-v2a main#main > section.hero#top .eyebrow { color: #91c8ff; }
body.cleanmode-v2a main#main > section.hero#top .lead { color: #c1d1e2; }
body.cleanmode-v2a main#main > section.hero#top .text-link { color: #e5f2ff; }
body.cleanmode-v2a main#main > section.hero#top .next-section-hint {
  color: #afc8e2;
  border-top-color: rgba(210, 231, 255, .24);
}
body.cleanmode-v2a main#main > section.hero#top a:focus-visible {
  outline-color: #9bd4ff;
}
body.cleanmode-v2a main#main > section.hero#top .hero-orbit {
  border-color: rgba(139, 199, 255, .24);
}
body.cleanmode-v2a main#main > section.hero#top .hero-media::before {
  background: radial-gradient(circle, rgba(63, 157, 255, .25), rgba(63, 157, 255, 0) 68%);
}

/* Homepage A section rhythm: slightly stronger transitions, no layout changes.
   Alternating neutral, blue and warm surfaces; keep all component/card styles. */
body.cleanmode-v2a main#main > section#b2b {
  background: linear-gradient(180deg, #e1efff 0%, #edf5ff 100%);
}
body.cleanmode-v2a main#main > section#mapa {
  background: #fcfdfc;
}
body.cleanmode-v2a main#main > section#cleanspector {
  background: linear-gradient(180deg, #e9f2f6 0%, #eff5f7 100%);
}
body.cleanmode-v2a main#main > section#szkolenia {
  background: #fff;
}
body.cleanmode-v2a main#main > section#doradztwo {
  background: linear-gradient(180deg, #f2eadf 0%, #f6f0e7 100%);
}
body.cleanmode-v2a main#main > section#dlaczego {
  background: #ebf1f5;
}
body.cleanmode-v2a main#main > section#cleanspiracje {
  background: linear-gradient(180deg, #ede1d1 0%, #f2e7d9 100%);
}
body.cleanmode-v2a main#main > section#newsletter {
  background: #fff;
}

body.cleanmode-native .cm-cleanspector > section.hero {
  color: #fff;
  background:
    radial-gradient(ellipse at 82% 44%, rgba(34, 92, 149, .52), transparent 58%),
    linear-gradient(140deg, #061321 0%, #0b223b 53%, #061321 100%);
}
body.cleanmode-native .cm-cleanspector > section.hero h1 { color: #fff; }
body.cleanmode-native .cm-cleanspector > section.hero h1 em { color: #77b3ff; }
body.cleanmode-native .cm-cleanspector > section.hero .smallcap { color: #91c8ff; }
body.cleanmode-native .cm-cleanspector > section.hero p { color: #c1d1e2; }
body.cleanmode-native .cm-cleanspector > section.hero .hero-points { color: #c1d1e2; }
body.cleanmode-native .cm-cleanspector > section.hero .hero-price {
  border-top-color: rgba(210, 231, 255, .24);
}
body.cleanmode-native .cm-cleanspector > section.hero .hero-price strong { color: #fff; }
body.cleanmode-native .cm-cleanspector > section.hero .hero-price small { color: #b5cee7; }
body.cleanmode-native .cm-cleanspector > section.hero .btn.secondary {
  background: transparent;
  border-color: rgba(214, 232, 255, .5);
  color: #e5f2ff;
}
body.cleanmode-native .cm-cleanspector > section.hero .btn.secondary:hover {
  background: rgba(172, 211, 255, .14);
  border-color: #c7e4ff;
  color: #fff;
}
body.cleanmode-native .cm-cleanspector > section.hero a:focus-visible {
  outline-color: #9bd4ff;
}

/* Warm forest hero palette: advisory, editorial masthead and contact.
   Scoped to each page's first section; do not tint the editorial cards,
   contact form inputs, other sections or provider-owned pages. */
body.cleanmode-native .cm-doradztwo > section.hero,
body.cleanmode-native .cm-cleanspiracje > section.section-top,
body.cleanmode-native .cm-contact > section.hero-shell {
  color: #f7fbf5;
  background:
    radial-gradient(ellipse at 81% 33%, rgba(115, 152, 105, .23), transparent 60%),
    linear-gradient(135deg, #0c221c 0%, #17382b 54%, #081e18 100%);
}

/* Doradztwo: preserve the layout and existing expert visualisation. */
body.cleanmode-native .cm-doradztwo > section.hero h1 { color: #f8fbf5; }
body.cleanmode-native .cm-doradztwo > section.hero h1 .accent { color: #c8e2aa; }
body.cleanmode-native .cm-doradztwo > section.hero .eyebrow { color: #c8e2aa; }
body.cleanmode-native .cm-doradztwo > section.hero .eyebrow::before { background: #a9c999; }
body.cleanmode-native .cm-doradztwo > section.hero .hero-lead { color: #d9e7d9; }
body.cleanmode-native .cm-doradztwo > section.hero .hero-note { color: #d9e7d9; }
body.cleanmode-native .cm-doradztwo > section.hero .hero-note::before { background: #b7d4a1; }
body.cleanmode-native .cm-doradztwo > section.hero .btn-primary {
  background: #c8e2aa;
  color: #17352d;
  box-shadow: 0 12px 24px rgba(6, 29, 20, .18);
}
body.cleanmode-native .cm-doradztwo > section.hero .btn-primary:hover {
  background: #e0efc6;
  color: #123127;
}
body.cleanmode-native .cm-doradztwo > section.hero .btn-outline {
  color: #f7fbf5;
  border-color: rgba(216, 235, 211, .58);
}
body.cleanmode-native .cm-doradztwo > section.hero .btn-outline:hover {
  background: rgba(213, 236, 206, .14);
  color: #fff;
}
body.cleanmode-native .cm-doradztwo > section.hero a:focus-visible {
  outline-color: #d9e8bb;
}
body.cleanmode-native .cm-doradztwo > section.hero .visual-panel {
  background: linear-gradient(143deg, #2a5848, #173a31 62%, #102a24);
}
body.cleanmode-native .cm-doradztwo > section.hero .visual-head { color: #cee6d2; }
body.cleanmode-native .cm-doradztwo > section.hero .visual-title span { color: #c8e2aa; }
body.cleanmode-native .cm-doradztwo > section.hero .hero-visual::before,
body.cleanmode-native .cm-doradztwo > section.hero .hero-visual::after {
  border-color: rgba(195, 222, 187, .24);
}

/* Cleanspiracje: only the first editorial masthead, not the publication grid. */
body.cleanmode-native .cm-cleanspiracje > section.section-top {
  border-bottom-color: rgba(222, 235, 216, .2);
}
body.cleanmode-native .cm-cleanspiracje > section.section-top .crumb { color: #d2e4d6; }
body.cleanmode-native .cm-cleanspiracje > section.section-top .masthead-kicker { color: #c8e2aa; }
body.cleanmode-native .cm-cleanspiracje > section.section-top .masthead-kicker::before { background: #a9c999; }
body.cleanmode-native .cm-cleanspiracje > section.section-top .masthead h1 { color: #fff; }
body.cleanmode-native .cm-cleanspiracje > section.section-top .masthead h1 span { color: #c8e2aa; }
body.cleanmode-native .cm-cleanspiracje > section.section-top .masthead-right { color: #d2e4d6; }
body.cleanmode-native .cm-cleanspiracje > section.section-top .masthead-right strong { color: #fff; }
body.cleanmode-native .cm-cleanspiracje > section.section-top .masthead-right small { color: #c6d9c6; }
body.cleanmode-native .cm-cleanspiracje > section.section-top a:focus-visible {
  outline: 3px solid #d9e8bb;
  outline-offset: 4px;
}

/* Contact: the outer hero goes forest green; the form remains a white,
   light-mode card with unchanged field, validation and submission behaviour. */
body.cleanmode-native .cm-contact > section.hero-shell::before {
  background: radial-gradient(circle, rgba(185, 218, 159, .16), transparent 65%);
}
body.cleanmode-native .cm-contact > section.hero-shell .breadcrumb { color: #d2e4d6; }
body.cleanmode-native .cm-contact > section.hero-shell .kicker,
body.cleanmode-native .cm-contact > section.hero-shell .microtitle { color: #c8e2aa; }
body.cleanmode-native .cm-contact > section.hero-shell .kicker::before { background: #a9c999; }
body.cleanmode-native .cm-contact > section.hero-shell .hero-left h1 { color: #fff; }
body.cleanmode-native .cm-contact > section.hero-shell .hero-left h1 span { color: #c8e2aa; }
body.cleanmode-native .cm-contact > section.hero-shell .lead,
body.cleanmode-native .cm-contact > section.hero-shell .microhint,
body.cleanmode-native .cm-contact > section.hero-shell .alternate p { color: #d2e4d6; }
body.cleanmode-native .cm-contact > section.hero-shell .alternate-title { color: #f7fbf5; }
body.cleanmode-native .cm-contact > section.hero-shell .divider-line { background: rgba(222, 235, 216, .28); }
body.cleanmode-native .cm-contact > section.hero-shell .alternate { border-left-color: rgba(222, 235, 216, .45); }
body.cleanmode-native .cm-contact > section.hero-shell .topic-chip.active {
  color: #204635;
  background: #e3efd9;
  border-color: #a8c49b;
}
body.cleanmode-native .cm-contact > section.hero-shell .topic-chip:hover {
  color: #204635;
  background: #f0f6e8;
  border-color: #a8c49b;
}
body.cleanmode-native .cm-contact > section.hero-shell .contact-mail {
  color: #214735;
  background: #e3efd9;
  border-color: #b1cda8;
}
body.cleanmode-native .cm-contact > section.hero-shell .contact-mail:hover {
  background: #f0f6e8;
  border-color: #9fbc90;
}
body.cleanmode-native .cm-contact > section.hero-shell .deco-index { color: #d2e4d6; }
body.cleanmode-native .cm-contact > section.hero-shell .deco-line { background: #a2c6a8; }
body.cleanmode-native .cm-contact > section.hero-shell .deco-ring { border-color: #a2c6a8; }
body.cleanmode-native .cm-contact > section.hero-shell .deco-ring::after { background: #c8e2aa; }
body.cleanmode-native .cm-contact > section.hero-shell .form-card {
  color: #17202a;
  color-scheme: light;
}
body.cleanmode-native .cm-contact > section.hero-shell .form-card::before { background: #5c9571; }
body.cleanmode-native .cm-contact > section.hero-shell .form-card .mail-icon {
  background: #eef5e9;
  color: #2a634a;
}
body.cleanmode-native .cm-contact > section.hero-shell .form-card .submit {
  background: #28684c;
  color: #fff;
}
body.cleanmode-native .cm-contact > section.hero-shell .form-card .submit:hover {
  background: #20543d;
}
body.cleanmode-native .cm-contact > section.hero-shell a:focus-visible,
body.cleanmode-native .cm-contact > section.hero-shell button:focus-visible {
  outline-color: #a1d89e;
}
body.cleanmode-native .cm-contact > section.hero-shell .form-card :focus-visible {
  outline-color: #2a634a;
}
