/*
Theme Name: Mamy Strategie
Theme URI: https://mamystrategie.pl
Author: Mamy Strategie
Author URI: https://mamystrategie.pl
Description: Motyw agencji Mamy Strategie. Szablon Orisa (wariant 01 Creative Agency) na wspólnym kodzie grupy z Semnaro, WordPress + ACF, bez page buildera.
Version: 0.2.0
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: mamystrategie
*/

/* Wlasciwe style motywu sa w assets/css/main.css (+ vendors) i ladowane przez functions.php.
   Ten plik to wymagany naglowek motywu WordPress oraz miejsce na drobne nadpisania. */

/* Margines boczny: Orisa ma .container do 1750px, wiec na ekranach ~1440px tresc stala przy krawedzi */
@media (min-width: 1400px) {
    .container { max-width: min(1750px, calc(100vw - 80px)); }
}
/* przy wezszym kontenerze menu nie moze sie lamac, a cena "2 400 zl" nie moze gubic "zl" */
.at-main-menu nav > ul { display: flex; flex-wrap: nowrap; }
.at-main-menu nav ul li a { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1599px) { .at-main-menu nav > ul > li > a { padding-left: 12px; padding-right: 12px; } }
.pricing-2-row__amount { white-space: nowrap; }
@media (min-width: 992px) { .sm-jedna-linia { white-space: nowrap; } }
@media (max-width: 575px) {
    .container { padding-left: 20px; padding-right: 20px; }
    /* odstep .g-4/.g-5 wiekszy niz padding kontenera wypycha kolumny poza ekran */
    .container > .row, .container .row.g-4, .container .row.g-5 { --bs-gutter-x: 40px; }
}

/* Orisa wymusza capitalize na przyciskach - po polsku wielka litera tylko na poczatku */
.at-btn { text-transform: none; }

/* Typografia tresci podstron i wpisow (.at-content) - szablon nie ma stylu dla tekstu redakcyjnego */
.at-content { font-size: 18px; line-height: 1.7; color: var(--at-neutral-800, #2b2b2b); }
.at-content > * + * { margin-top: 1em; }
.at-content h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; font-weight: 600; margin-top: 1.8em; margin-bottom: .5em; letter-spacing: -0.01em; }
.at-content h3 { font-size: clamp(21px, 2.2vw, 24px); line-height: 1.3; font-weight: 600; margin-top: 1.5em; margin-bottom: .4em; }
.at-content p, .at-content li { font-size: 18px; line-height: 1.7; margin-bottom: 0; }
.at-content ul, .at-content ol { padding-left: 1.3em; }
.at-content li + li { margin-top: .35em; }
.at-content a:not(.at-btn) { text-decoration: underline; text-underline-offset: 3px; }
.at-content .fz-xl { font-size: 22px; line-height: 1.5; color: var(--at-neutral-950, #111); }
.at-content details { border-bottom: 1px solid var(--at-neutral-100, #e5e5e5); padding: 14px 0; }
.at-content summary { cursor: pointer; font-weight: 600; }

/* Naglowki .reveal-text: Orisa daje literom 40% krycia i odslania je przy przewijaniu - w przypietych sekcjach
   zostawaly w polowie szare. Zawsze pelny kolor (nadpisuje inline style GSAP). */
.reveal-text, .reveal-text * { opacity: 1 !important; }
.reveal-text .split-line > div, .reveal-text .split-line div { transform: none !important; }

/* Hero: loga platform (Simple Icons, CC0) z nazwa */
.sm-platforma { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.sm-platforma img { width: 24px; height: 24px; flex: 0 0 auto; }
[data-bs-theme="dark"] .sm-platforma img { filter: invert(1); }

/* Hero: karta z cytatem przykrywa linie siatki tla */
.testimonial-cart .testimonial-content { position: relative; z-index: 1; background: var(--at-neutral-0, #fff); border-radius: 12px; }

/* Strona glowna: kafelki branz w miejscu logotypow klientow */
.brand.sm-branza { display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; }
.brand.sm-branza span { font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--at-neutral-900, #1a1a1a); }

/* Strona glowna: numery krokow w nawigacji procesu (zamiast awatarow demo) */
.navigation-section-10 .item .sm-krok { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
    font-weight: 600; font-size: 15px; color: var(--at-neutral-900, #1a1a1a); background: var(--at-neutral-100, #f1f1f1); border-radius: inherit; }

/* Formularz kontaktowy */
.sm-pulapka { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sm-form-info { padding: 14px 18px; border-radius: 12px; margin: 16px 0; font-size: 16px; }
.sm-form-info--ok { background: #e8f6ec; color: #14532d; }
.sm-form-info--blad { background: #fdecec; color: #7f1d1d; }
.sm-zgoda { font-size: 14px; line-height: 1.5; cursor: pointer; }
.sm-zgoda input { margin-top: 4px; flex: 0 0 auto; }
.sm-kroki-kontakt { padding-left: 1.2em; font-size: 16px; line-height: 1.6; }
.sm-kroki-kontakt li + li { margin-top: 12px; }

/* FAQ: wyglad Orisy (.at-faq-item) na <details>/<summary> */
.sm-faq { margin-bottom: 12px; overflow: hidden; }
.sm-faq > summary { list-style: none; cursor: pointer; align-items: center; padding: 20px 24px; }
.sm-faq > summary::-webkit-details-marker { display: none; }
.sm-faq > summary .at-faq-button::before { content: none; display: none; }
.sm-faq > summary .at-faq-button { flex: 1; font-weight: 600; font-size: 18px; line-height: 1.4; padding-right: 32px; position: relative; background: none; border: 0; text-align: left; }
.sm-faq > summary .at-faq-button::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; transition: transform .2s; }
.sm-faq[open] > summary .at-faq-button::after { transform: translateY(-50%) rotate(45deg); }
.sm-faq .at-faq-body { padding: 0 24px 22px 70px; }
.sm-faq .at-faq-body p { font-size: 16px; line-height: 1.65; margin: 0; color: var(--at-neutral-700, #444); }
@media (max-width: 575px) { .sm-faq .at-faq-body { padding-left: 24px; } }

/* Cennik */
.pricing-2-row__amount .sm-od { font-size: .45em; font-weight: 500; opacity: .6; margin-right: 4px; }
.sm-osobno { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.sm-osobno li { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; border-bottom: 1px dashed var(--at-neutral-100, #e5e5e5); padding-bottom: 6px; }
.sm-osobno li strong { white-space: nowrap; font-weight: 600; }
@media (max-width: 575px) {
    .pricing-2-custom__text { flex-basis: 100%; }
    .sm-osobno li { flex-wrap: wrap; gap: 2px 12px; }
    .sm-osobno li strong { white-space: normal; }
    /* tabela porownania: pierwsza kolumna przyklejona, pakiety przewijane w bok */
    .pricing-2-table th:first-child, .pricing-2-table td:first-child { position: sticky; left: 0; z-index: 2; min-width: 132px; max-width: 132px;
        background: var(--at-neutral-0, #fff); box-shadow: 1px 0 0 var(--at-neutral-100, #e5e5e5); padding-left: 14px; padding-right: 10px; }
    .pricing-2-table th, .pricing-2-table td { padding-left: 10px; padding-right: 10px; }
    .pricing-2-table { min-width: 0; width: max-content; table-layout: fixed; }
    .pricing-2-table th:first-child, .pricing-2-table td:first-child { width: 132px; }
    .pricing-2-table th:not(:first-child), .pricing-2-table td:not(:first-child) { width: 104px; }
}

/* Przycisk na ciemnym panelu CTA: biala pigulka jak w demo */
.pricing-2-cta__panel .at-btn { background: var(--at-neutral-0, #fff); color: var(--at-neutral-950, #111); padding: 14px 28px; }
.pricing-2-cta__panel .at-btn:hover { background: var(--at-neutral-100, #ececec); }

/* Rowne zdjecia niezaleznie od wgranego pliku: stale proporcje jak w demo + kadrowanie */
.about-me-slider-thumb img { width: 100%; aspect-ratio: 770 / 560; object-fit: cover; }
.alt-portfolio-thumb > img, .alt-portfolio-thumb .sm-realizacja-zastepczy { width: 100%; aspect-ratio: 845 / 542; object-fit: cover; }
.process-card__img-wrap img { width: 100%; aspect-ratio: 499 / 310; object-fit: cover; }
.sm-cs-tresc figure img { aspect-ratio: 16 / 10; object-fit: cover; }

/* Realizacja (single, uklad portfolio-details-1): tresc sekcji po prawej */
.sm-cs-tresc { padding-top: 24px; }
.sm-cs-tresc h3 { font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; margin: 28px 0 10px; }
.sm-cs-tresc h4 { font-size: 18px; font-weight: 600; margin: 20px 0 8px; }
.sm-cs-tresc p { font-size: 20px; line-height: 1.6; color: var(--at-neutral-900, #1a1a1a); margin-bottom: 18px; }
.sm-cs-tresc ul, .sm-cs-tresc ol { padding-left: 1.4em; margin-bottom: 18px; }
.sm-cs-tresc li { font-size: 17px; line-height: 1.6; color: var(--at-neutral-950, #111); }
.sm-cs-tresc li + li { margin-top: 8px; }
.sm-cs-tresc table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 16px; }
.sm-cs-tresc th, .sm-cs-tresc td { border-bottom: 1px solid var(--at-neutral-100, #e5e5e5); padding: 12px 8px; text-align: left; }
.sm-cs-tresc th { font-weight: 600; }
.sm-cs-tresc figure { margin: 8px 0 24px; }
.sm-cs-tresc figure img { width: 100%; height: auto; border-radius: 16px; display: block; }
.sm-cs-tresc figcaption { font-size: 14px; color: var(--at-neutral-500, #777); margin-top: 8px; }
.sm-cs-tresc blockquote { border: 0; margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid var(--at-neutral-100, #e5e5e5); }
.sm-cs-tresc blockquote p { font-size: 24px; line-height: 1.45; }
.sm-cs-tresc blockquote cite { font-style: normal; font-weight: 600; font-size: 15px; }

/* Realizacje */
.sm-realizacja-zastepczy { aspect-ratio: 845 / 542; background: linear-gradient(135deg, #1a1a1f, #2f3340); }
.sm-realizacja-meta li { padding: 8px 14px; border-radius: 999px; background: var(--at-neutral-100, #f1f1f1); font-size: 15px; }
.sm-realizacja-meta li span { opacity: .55; margin-right: 4px; }
.sm-realizacja-wynik p:first-child { font-size: clamp(44px, 6vw, 72px); line-height: 1; }

/* Uslugi: lista (services-1) i szczegoly (services-details) */
.sm-uslugi-h1 { font-size: clamp(64px, 11vw, 200px); letter-spacing: -0.03em; }
.sm-uslugi-lead { max-width: 760px; }
.at-service-item .title { font-size: clamp(26px, 3vw, 40px); }
.sm-zakres li { border: 1px solid var(--at-neutral-200, #ddd); border-radius: 999px; padding: 5px 14px; font-size: 14px; }
.sm-cena-od { font-weight: 600; font-size: 18px; }
.sm-cena-od a { text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.sm-dostajesz { list-style: none; padding: 0; display: grid; gap: 10px; }
.sm-dostajesz li { position: relative; padding-left: 30px; font-size: 18px; }
.sm-dostajesz li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--at-theme-primary, #06A5D0); font-weight: 700; }

/* Stopka: przynaleznosc do grupy */
.sm-o-firmie { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .7); max-width: 360px; }
.sm-grupa { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.sm-grupa a { color: #fff; font-weight: 600; text-decoration: none; }
.sm-grupa a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* „Semnaro” jest dluzsze niz „Orisa” z demo - 120px rozpychalo kolumne; rozmiar wg szerokosci kolumny */
.footer-3-logo .fz-120 { font-size: clamp(56px, 22vw, 110px); line-height: 1; }
@media (min-width: 992px) { .footer-3-logo .fz-120 { font-size: clamp(52px, calc(6.25vw - 17px), 96px); } }
.footer-3-logo { transform: none !important; }
.sm-adres span { display: block; }
.footer-3-logo + .alt-footer-social-item.w-75 { width: 100% !important; }
.alt-footer-link-item-wrap.row { margin-left: 0; margin-right: 0; }
.alt-footer-link-item-wrap.row > * { padding-left: 0; }
@media (max-width: 767px) {
    .footer-3-border .alt-footer-link-item ul { justify-content: flex-start !important; gap: 8px 24px !important; text-align: left !important; }
}
.alt-footer-social-item ul li a .icon-social svg { display: block; }
@media (max-width: 767px) { .footer-3-connect-title { font-size: clamp(34px, 11vw, 64px); line-height: 1.05; } }

/* Spis tresci i tagi we wpisie */
.sm-spis { margin: 0 0 48px; }
.sm-spis details { border: 1px solid var(--at-neutral-100, #e5e5e5); border-radius: 16px; padding: 18px 24px; background: var(--at-neutral-50, #f7f7f7); }
.sm-spis summary { font-weight: 700; font-size: 18px; cursor: pointer; }
.sm-spis ol { margin: 14px 0 0; padding-left: 1.3em; columns: 2; column-gap: 40px; }
.sm-spis li { font-size: 16px; line-height: 1.5; margin-bottom: 6px; break-inside: avoid; }
.sm-spis a { color: var(--at-neutral-900, #1a1a1a); text-decoration: none; }
.sm-spis a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) { .sm-spis ol { columns: 1; } }
.sm-wpis h2[id] { scroll-margin-top: 110px; }
.sm-tagi a { font-size: 15px; padding: 5px 12px; border-radius: 999px; background: var(--at-neutral-50, #f5f5f5); color: var(--at-neutral-900, #1a1a1a); text-decoration: none; }
.sm-tagi a:hover { background: var(--at-neutral-100, #ececec); }
/* Menu w stopce z panelu WP: odstepy jak w liscie zapasowej */
.alt-footer-link-item ul li + li { margin-top: 8px; }

/* Wpis bloga (blog-details) */
.sm-wpis-tytul { font-size: clamp(34px, 4.6vw, 64px); letter-spacing: -0.02em; }
.sm-wpis-foto { aspect-ratio: 16 / 7; object-fit: cover; }
.sm-wpis-lead { line-height: 1.45; }
.sm-udostepnij a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--at-neutral-900, #1a1a1a); }
.sm-udostepnij a:hover { text-decoration: underline; }
.sm-autor-awatar { background: #0b0b0f; }
.sm-wpis h2 { margin-top: 2em; }
.sm-wpis table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 16px; }
.sm-wpis th, .sm-wpis td { border-bottom: 1px solid var(--at-neutral-100, #e5e5e5); padding: 12px 10px; text-align: left; vertical-align: top; }
.sm-wpis thead th { font-weight: 600; background: var(--at-neutral-50, #f6f6f6); }
.sm-wpis details { border: 1px solid var(--at-neutral-100, #e5e5e5); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
.sm-wpis details summary { font-weight: 600; cursor: pointer; }
.sm-wpis details[open] summary { margin-bottom: 8px; }
.sm-wpis-nav a { font-weight: 600; text-decoration: none; color: var(--at-neutral-900, #1a1a1a); font-size: 18px; line-height: 1.35; }
.sm-karta-wpisu img { aspect-ratio: 16 / 10; object-fit: cover; }
.sm-karta-wpisu h2 { color: var(--at-neutral-900, #1a1a1a); }
@media (max-width: 767px) { .sm-wpis table { display: block; overflow-x: auto; } }

/* Slownik: hub A-Z i haslo */
.sm-az { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 10px 0 50px; }
.sm-az a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px;
    background: var(--at-neutral-50, #f5f5f5); font-weight: 600; color: var(--at-neutral-900, #1a1a1a); text-decoration: none; }
.sm-az a:hover { background: var(--at-neutral-900, #1a1a1a); color: #fff; }
.sm-litera { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--at-neutral-100, #e5e5e5); scroll-margin-top: 110px; }
.sm-litera__znak { font-size: 44px; line-height: 1; margin: 0; font-weight: 600; }
.sm-litera__hasla { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 28px; }
.sm-litera__hasla a { display: block; padding: 10px 0; text-decoration: none; color: inherit; }
.sm-litera__hasla strong { display: block; font-size: 17px; font-weight: 600; }
.sm-litera__hasla span { display: block; font-size: 14px; color: var(--at-neutral-500, #777); line-height: 1.45; margin-top: 3px; }
.sm-litera__hasla a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 575px) { .sm-litera { grid-template-columns: 1fr; gap: 8px; } }
.sm-definicja { line-height: 1.45; padding-left: 20px; border-left: 3px solid var(--at-theme-primary, #06A5D0); }
.sm-haslo details { border: 1px solid var(--at-neutral-100, #e5e5e5); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
.sm-haslo details summary { font-weight: 600; cursor: pointer; }
.sm-haslo details[open] summary { margin-bottom: 8px; }
.sm-powiazane__karta { text-decoration: none; color: inherit; transition: background .2s; }
.sm-powiazane__karta:hover { background: var(--at-neutral-100, #ececec) !important; }
.sm-powiazane__karta span { font-size: 15px; color: var(--at-neutral-600, #555); }

/* Pasek kategorii bloga */
.sm-kategorie { margin-bottom: 48px; }
.sm-kategorie__lista { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.sm-kategorie__lista[data-zwiniete="1"] .sm-kategorie__nadmiar { display: none; }
.sm-kategorie__pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
    border: 1px solid transparent; background: var(--at-neutral-100, #f1f1f1); color: var(--at-neutral-900, #1a1a1a);
    font-size: 15px; line-height: 1.3; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s; }
.sm-kategorie__pill:hover { background: var(--at-neutral-200, #e4e4e4); color: var(--at-neutral-950, #111); }
.sm-kategorie__pill.is-active { background: transparent; border-color: currentColor; font-weight: 600; }
.sm-kategorie__ogien { font-size: 12px; color: #06A5D0; }
.sm-kategorie__przelacz { font-family: inherit; }

/* Zalogowany: pasek administratora WP (32px, ponizej 783px - 46px) nie moze zaslaniac naglowka */
.admin-bar .header-transparent { top: 32px; }
.admin-bar .hamburger-sticky-menu { top: 52px; }
@media screen and (max-width: 782px) {
    .admin-bar .header-transparent { top: 46px; }
    .admin-bar .hamburger-sticky-menu { top: 66px; }
}

/* Polityka prywatnosci (tresc skopiowana z mamystrategie.pl, naglowki h4) */
.page-id-3 main h4 { font-size: 24px; line-height: 1.3; letter-spacing: normal; margin: 40px 0 14px; }
.page-id-3 main ol li, .page-id-3 main ul li { margin-bottom: 6px; }

/* Baner zgody na cookies (inc/analityka.php) */
.sm-cookies { position: fixed; left: 20px; bottom: 20px; z-index: 9999; max-width: 420px; padding: 22px 24px; border-radius: 18px;
    background: var(--at-neutral-950, #111); color: rgba(255, 255, 255, .85); box-shadow: 0 12px 40px rgba(0, 0, 0, .25); font-size: 15px; line-height: 1.5; }
.sm-cookies[hidden], .sm-cookies-ustawienia[hidden] { display: none; }
.sm-cookies__tekst { margin: 0 0 16px; color: inherit; }
.sm-cookies__tekst a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.sm-cookies__przyciski { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.sm-cookies .at-btn { background: #fff; color: var(--at-neutral-950, #111); padding: 10px 22px; }
.sm-cookies__nie { background: none; border: 0; padding: 0; color: #fff; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.sm-cookies-ustawienia { position: fixed; left: 16px; bottom: 16px; z-index: 9998; padding: 6px 12px; border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 999px; background: rgba(255, 255, 255, .9); color: #333; font-size: 12px; cursor: pointer; }
@media (max-width: 575px) { .sm-cookies { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* Rozwijane menu Uslugi: dluzsze nazwy uslug niz w demo, pelne tlo */
.at-main-menu nav ul li .at-submenu { width: auto; min-width: 260px; }
.at-main-menu nav ul li .at-submenu li a { white-space: nowrap; }
.at-main-menu nav ul li .at-submenu { background: rgba(var(--at-neutral-0-rgb), 1); backdrop-filter: none; }

/* Strony miast: zdjecie miasta pod naglowkiem */
.sm-geo-foto { aspect-ratio: 21 / 8; object-fit: cover; height: auto; }
@media (max-width: 767px) { .sm-geo-foto { aspect-ratio: 4 / 3; } }

/* reCAPTCHA: informacja przy formularzu zamiast plakietki Google */
.grecaptcha-badge { visibility: hidden; }
.sm-recaptcha-info { font-size: 12px; line-height: 1.5; opacity: .6; margin: 14px 0 0; }
.sm-recaptcha-info a { text-decoration: underline; }

/* Mega-menu Uslugi (walker: pozycja z klasa sm-mega) - na bazie .at-megamenu z demo */
.at-main-menu nav ul li .at-megamenu.sm-mega { width: min(1120px, calc(100vw - 80px)); left: -330px; padding: 0; }
.sm-mega .row { flex-wrap: nowrap; }
.sm-mega__kol { padding: 30px 24px 26px; min-width: 0; }
.sm-mega__kol + .sm-mega__kol { border-left: 1px solid rgba(0, 0, 0, .08); }
.at-main-menu nav ul li .sm-mega .at-megamenu-title { padding-left: 0; font-size: 18px; white-space: normal; }
.at-main-menu nav ul li .sm-mega .at-megamenu-title-wrap { border-bottom: 0; margin-bottom: 4px; padding-bottom: 0; }
.sm-mega__opis { font-size: 14px; line-height: 1.45; color: var(--at-neutral-500, #777); margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.at-main-menu nav ul li .sm-mega ul li { padding: 0; }
.at-main-menu nav ul li .sm-mega ul li a { padding: 6px 0; font-size: 15px; white-space: normal; }
.sm-mega__cta { flex: 0 0 260px; background: var(--at-neutral-950, #111); color: #fff; padding: 30px 26px; display: flex; flex-direction: column; }
.sm-mega__cta-tytul { font-size: 20px; font-weight: 600; line-height: 1.25; color: #fff; margin: 0 0 10px; }
.sm-mega__cta-tekst { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .7); margin: 0 0 20px; }
.at-main-menu nav ul li .sm-mega .sm-mega__cta-btn { margin-top: auto; align-self: flex-start; background: #fff; color: var(--at-neutral-950, #111); padding: 10px 20px; font-size: 14px; }
/* Mega-menu w panelu mobilnym: grupy jedna pod druga, bez opisow i panelu CTA */
.at-offcanvas-menu .sm-mega { width: auto !important; padding: 0 !important; background: none !important; box-shadow: none !important; }
.at-offcanvas-menu .sm-mega .row { display: block; margin: 0; }
.at-offcanvas-menu .sm-mega__kol { padding: 10px 0 4px 14px; border: 0 !important; width: 100%; }
.at-offcanvas-menu .sm-mega__opis, .at-offcanvas-menu .sm-mega__cta { display: none !important; }
.at-offcanvas-menu .sm-mega .at-megamenu-title-wrap { border: 0; padding: 0; margin: 0 0 6px; }
.at-offcanvas-menu .sm-mega .at-megamenu-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; opacity: .55; padding: 0; }
.at-offcanvas-menu .sm-mega ul li a { font-size: 17px; padding: 5px 0; display: block; }
/* Mega-menu: bez przesuniecia i tla przy najechaniu (w waskiej kolumnie zawijalo linki na 2-3 linie) */
.at-main-menu nav ul li .sm-mega ul li a { line-height: 1.35; transition: color .2s ease; }
.at-main-menu nav ul li .sm-mega ul li:hover > a { padding-left: 0; background: none; color: var(--at-neutral-950, #111) !important; text-decoration: underline; text-underline-offset: 3px; }
/* 3 kolumny: szerszy panel CTA */
.sm-mega__cta { flex-basis: 280px; }

/* Kontakt: odstep pod formularzem przed szara sekcja FAQ */
.sec-1-contact { padding-bottom: 120px; }
@media (max-width: 767px) { .sec-1-contact { padding-bottom: 80px; } }
.sm-o-firmie__grupa { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Wyglad „korporacyjny”: bez ozdobnikow z demo w tresci (kostka 3D, krecaca sie gwiazdka w hero), spokojne separatory w pasku hasel */
main .at-about-svg-wrap, main svg.rotate-infinite { display: none !important; }
main svg.scroll-rotate { width: 14px; height: 14px; transform: none !important; animation: none !important; opacity: .5; }
.sm-dane-spolki { font-size: 13px; line-height: 1.5; text-align: center; }

/* Strona uslugi wg demo services-details */
.sm-krok-foto { aspect-ratio: 400 / 280; width: 100%; height: auto; object-fit: cover; }
.sm-dostajesz-foto { aspect-ratio: 4 / 3; object-fit: cover; }
.sec-3-services-details .item h3 { font-size: 24px; }
.sec-4-services-details .at-service-card h3 { font-size: 22px; line-height: 1.25; }

/* Stopka: profile spolecznosciowe */
.sm-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #fff; transition: background .2s, color .2s; }
.sm-social a:hover { background: #fff; color: var(--at-neutral-950, #111); }
/* Karty krokow bez zdjec: wysokosc wg tresci (motyw ma 480px na zdjecie) */
.sec-4-services-details .at-service-card { min-height: 0; max-height: none; }

/* Jednolity styl zdjec: czarno-biale z pomaranczowym akcentem (decyzja wlasciciela 1.12). Logotypy i znak bez filtra. */
main img:not([src*="/logos/"]):not([src*="favicon"]):not([src*="semnaro-logo"]):not(.sm-bez-mono) { filter: grayscale(1) contrast(1.06) brightness(1.02); }

/* Duze menu (plywajacy przycisk MENU): podmenu bez kropek, drobne pozycje w rzedzie pod dzialem */
.at-offcanvas-2-wrapper .at-offcanvas-menu ul ul, .at-offcanvas-2-wrapper .at-offcanvas-menu .sm-mega ul { list-style: none; padding-left: 0; margin: 0; }
.at-offcanvas-2-wrapper .at-offcanvas-menu nav > ul > li > ul.at-submenu { padding: 4px 0 18px; box-shadow: none; background: none; width: auto; }
.at-offcanvas-2-wrapper .at-offcanvas-menu nav ul li ul li a::before, .at-offcanvas-2-wrapper .at-offcanvas-menu nav ul li ul li::before { content: none !important; display: none !important; }
.at-offcanvas-2-wrapper .at-offcanvas-menu nav > ul > li > ul.at-submenu li { width: auto; padding: 0; }
.at-offcanvas-2-wrapper .at-offcanvas-menu nav > ul > li > ul.at-submenu li a,
.at-offcanvas-2-wrapper .at-offcanvas-menu .sm-mega ul li a { font-size: 17px !important; line-height: 1.5; font-weight: 400; padding: 2px 0 !important; }
.at-offcanvas-2-wrapper .at-offcanvas-menu .sm-mega ul { display: flex; flex-wrap: wrap; gap: 2px 22px; }
.at-offcanvas-2-wrapper .at-offcanvas-menu .sm-mega__kol { padding: 6px 0 4px; }
.at-offcanvas-2-wrapper .at-offcanvas-menu nav ul li::marker { content: none; }
.at-offcanvas-2-wrapper .at-offcanvas-menu nav > ul { max-height: calc(100vh - 340px) !important; overscroll-behavior: contain; }
.at-offcanvas-2-wrapper .at-offcanvas-menu nav > ul ul { max-height: none !important; overflow: visible !important; }

/* Strony miast: zrodlo danych pod sekcja z liczbami */
.sm-zrodlo { font-size: 13px; opacity: .6; margin-top: 8px; }

.sm-adres span span{display:inline}

/* Ilustracje miedzy akapitami we wpisach (schematy i zdjecia) */
.sm-ilustracja{margin:48px 0}
.sm-ilustracja img{display:block;width:100%;height:auto;border-radius:14px}
.sm-ilustracja--schemat img{border:1px solid #e3e3e3;filter:none!important}
.sm-ilustracja figcaption{font-size:13px;color:#888;margin-top:8px}

/* Cena pod nazwą pozycji w mega-menu (Cennik) */
.sm-mega .sm-mega__cena{display:block;font-size:12px;line-height:1.3;color:var(--at-neutral-500,#777);font-weight:400;margin-top:2px}
.at-offcanvas .sm-mega__cena,.offcanvas .sm-mega__cena{display:block;font-size:12px;opacity:.7}


/* Siatka platform na stronie Pozycjonowanie sklepów */
.sm-platformy__siatka{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.sm-platformy__kafel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:150px;padding:24px 12px;border:1px solid var(--at-neutral-100,#e6e6e6);border-radius:12px;background:var(--at-neutral-0,#fff);color:var(--at-neutral-900,#111);text-align:center;transition:border-color .2s,transform .2s}
a.sm-platformy__kafel:hover{border-color:var(--at-neutral-900,#111);transform:translateY(-3px)}
.sm-platformy__kafel img{width:40px;height:40px;filter:grayscale(1)}
.sm-platformy__kafel--napis img{width:auto;height:auto;max-width:160px;max-height:44px}
.sm-platformy__nazwa{font-weight:600;font-size:16px;line-height:1.3}
@media (max-width:1199px){.sm-platformy__siatka{grid-template-columns:repeat(4,1fr)}}
@media (max-width:991px){.sm-platformy__siatka{grid-template-columns:repeat(3,1fr)}}
@media (max-width:575px){.sm-platformy__siatka{grid-template-columns:repeat(2,1fr)}.sm-platformy__kafel{min-height:120px}}
.sm-platformy__kafel img[src*="woocommerce"]{width:84px;height:84px;margin:-22px 0}

/* Mamy Strategie: jedyny kolor akcentu - turkus (Semnaro ma ten sam kod, inny akcent) */
:root { --at-theme-primary: #06A5D0; --at-primary-1: #06A5D0; --ms-turkus: #06A5D0; --ms-turkus-ciemny: #0488AC; }
.bg-primary-1 { background-color: var(--ms-turkus) !important; }
.ms-logo-klienta { max-height: 56px; width: auto; filter: grayscale(1); opacity: .8; }

/* Logo MS: białe nad hasłem, oryginalne na przyklejonym (jasnym) nagłówku */
.ms-logo { height: 32px; width: auto; max-width: 240px; display: inline-block; }
.ms-logo--ciemne { display: none; }
.header-sticky .ms-logo--biale { display: none; }
.header-sticky .ms-logo--ciemne { display: inline-block; }
.at-offcanvas-logo .ms-logo--biale, footer .ms-logo--biale { display: inline-block; }

/* Opinie: pełny cytat zamiast ucięcia na 4 liniach */
.testimonial-content-text.text-truncate-4 { -webkit-line-clamp: unset; line-clamp: unset; display: block; overflow: visible; font-size: 22px; line-height: 1.45; }

/* Opinie: karta rośnie z długością cytatu (bez nachodzenia tekstu na podpis), puste miejsca po awatarach schowane */
.sec-6-home-1 .testimonial-cart-wrap { height: auto !important; min-height: 100%; display: flex; flex-direction: column; }
.sec-6-home-1 .swiper-slide { height: auto; }
.sec-6-home-1 .testimonial-top { display: none !important; }
.sec-6-home-1 .testimonial-content-text.text-truncate-4 { font-size: 19px; line-height: 1.5; margin-bottom: 20px; }
.sec-6-home-1 .testimonial-content-text.text-truncate-4 { height: auto !important; max-height: none !important; }
.sec-6-home-1 .testimonial-content-rating { position: static !important; margin-top: 0 !important; }

/* Hasło: zdjęcie na całą szerokość zamiast w ramce, z przyciemnieniem pod tekst */
.at-hero-area { background-image: none !important; background-color: #05141a !important; }
.at-hero-area .at-hero-bg { inset: 0; width: 100%; height: 100%; }
.at-hero-area .at-hero-bg img.layer { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }
.at-hero-area .at-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,10,14,.55) 0%, rgba(3,10,14,.25) 55%, rgba(3,10,14,.6) 100%); pointer-events: none; }

/* Nagłówek MS: menu bez pudełka, czytelne białe pozycje, bez pływającego „MENU" na komputerze */
.at-header-area.header-transparent .at-main-menu,
.at-header-area.header-transparent .at-main-menu nav,
.at-header-area.header-transparent .at-main-menu nav > ul { background: transparent !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.at-header-area.header-transparent .at-main-menu nav > ul > li > a { color: #fff !important; opacity: 1 !important; font-size: 16px; font-weight: 500; }
.at-header-area.header-transparent .at-main-menu nav > ul > li > a:hover,
.at-header-area.header-transparent .at-main-menu nav > ul > li.current-menu-item > a { color: var(--ms-turkus) !important; }
.at-header-area.header-sticky .at-main-menu nav > ul > li > a { color: #141414 !important; }
.at-header-area .at-btn { background: var(--ms-turkus) !important; border-color: var(--ms-turkus) !important; color: #fff !important; }
.at-header-area.header-transparent .at-header-right button,
.at-header-area.header-transparent .at-header-right svg { color: #fff; }
@media (min-width: 1200px) { .hamburger-sticky-menu { display: none !important; } }

/* Podstrony list: nagłówek, pigułki kategorii, zajawki, paginacja */
.ms-naglowek-podstrony { background: #f5f5f5; border-radius: 0 0 24px 24px; }
.ms-lead { max-width: 760px; opacity: .8; }
.ms-pigulka { display: inline-block; padding: 8px 18px; border: 1px solid #d9d9d9; border-radius: 999px; color: #141414; text-decoration: none; font-size: 15px; transition: all .2s; }
.ms-pigulka:hover, .ms-pigulka.is-aktywna { background: var(--ms-turkus); border-color: var(--ms-turkus); color: #fff; }
.ms-karta-zajawka { font-size: 15px; opacity: .75; margin-top: 8px; }
.ms-paginacja .page-numbers { display: inline-block; min-width: 44px; padding: 10px 14px; margin-right: 6px; border: 1px solid #e0e0e0; border-radius: 8px; text-align: center; color: #141414; text-decoration: none; }
.ms-paginacja .page-numbers.current { background: var(--ms-turkus); border-color: var(--ms-turkus); color: #fff; }

/* Podstrony mają jasne tło pod nagłówkiem: ciemne logo, ciemne menu i ikony (biała wersja tylko na stronie głównej) */
body:not(.home) .at-header-area .ms-logo--biale { display: none !important; }
body:not(.home) .at-header-area .ms-logo--ciemne { display: inline-block !important; }
body:not(.home) .at-header-area.header-transparent .at-main-menu nav > ul > li > a { color: #141414 !important; }
body:not(.home) .at-header-area.header-transparent .at-main-menu nav > ul > li > a:hover,
body:not(.home) .at-header-area.header-transparent .at-main-menu nav > ul > li.current-menu-item > a,
body:not(.home) .at-header-area.header-transparent .at-main-menu nav > ul > li.current-menu-parent > a { color: var(--ms-turkus) !important; }
body:not(.home) .at-header-area.header-transparent .at-header-right button,
body:not(.home) .at-header-area.header-transparent .at-header-right svg,
body:not(.home) .at-header-area.header-transparent .at-main-menu nav > ul > li.has-dropdown > a::after { color: #141414 !important; fill: currentColor; }

/* O firmie */
.ms-akcent { color: var(--ms-turkus); }
.ms-fakt { border-color: rgba(20,20,20,.15) !important; }
.ms-ceo img { aspect-ratio: 810 / 854; object-fit: cover; }
.ms-karta-o-firmie { color: inherit; transition: transform .3s ease; }
.ms-karta-o-firmie:hover { transform: translateY(-4px); }
.ms-karta-o-firmie__img { aspect-ratio: 16 / 9; object-fit: cover; }

/* Hero: zdjęcie stoi w miejscu na całą szerokość. Paralaksa myszy (.layer) i ScrollSmoother (data-speed) przesuwały je,
   odsłaniając pas po lewej i pod nagłówkiem. Inline transform z JS przebija tylko !important. */
.at-hero-area .at-hero-bg,
.at-hero-area .at-hero-bg img.layer { transform: none !important; translate: none !important; opacity: 1 !important; }
.at-hero-area .at-hero-bg { position: absolute !important; inset: 0 !important; margin: 0 !important; }
.at-hero-area .at-hero-bg img.layer { position: absolute !important; inset: 0 !important; left: 0 !important; top: 0 !important; }

/* Plakietka „Porozmawiajmy" w turkusie zamiast czarnego kwiatka z demo */
.at-hero-button > img { opacity: 0; }
.at-hero-button { width: 141px; height: 141px; border-radius: 50% !important; background: var(--ms-turkus) !important; box-shadow: 0 10px 30px rgba(6,165,208,.35); transition: transform .3s ease; }
.at-hero-button:hover { transform: scale(1.05); }

/* Kontakt: wszystkie linki w danych (telefon, e-maile, mapa) w jednym stylu */
.sm-kontakt .sm-adres a { color: #141414; text-decoration: underline; text-decoration-color: rgba(20,20,20,.25); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.sm-kontakt .sm-adres a:hover { color: var(--ms-turkus); text-decoration-color: var(--ms-turkus); }
.sm-kontakt .sm-adres a.ms-mapa { color: var(--ms-turkus); font-weight: 500; text-decoration: none; }

/* O firmie - wartości: wąska kolumna numeru, turkusowe numery, czytelny opis, przycisk w turkusie */
.block-journey .journey-list__item { grid-template-columns: 56px 1fr !important; }
.block-journey .journey-list__date { color: var(--ms-turkus) !important; font-weight: 600; }
.block-journey .journey-list__desc { color: rgba(255,255,255,.75) !important; }
.block-journey .at-btn.bg-neutral-700 { background: var(--ms-turkus) !important; color: #fff !important; }
.block-journey .at-btn.bg-neutral-700:hover { background: #fff !important; color: #141414 !important; }

/* Karty realizacji: zdjęcie 16:9, ciemny gradient pod tekstem, opis zawsze widoczny */
.alt-portfolio-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.alt-portfolio-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.75) 100%); z-index: 1; pointer-events: none; }
.alt-portfolio-btn { transform: none !important; }
.alt-portfolio-btn .des { color: #fff !important; opacity: .9 !important; visibility: visible !important; }

/* Stopka: prawdziwe logo zamiast napisu */
.ms-stopka-logo img { width: 100%; max-width: 320px; height: auto; display: block; }

/* Case study: skan listu referencyjnego */
.ms-list-referencyjny { max-width: 520px; margin: 2rem 0; }
.ms-list-referencyjny img { width: 100%; height: auto; border: 1px solid rgba(20,20,20,.12); border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.08); filter: none !important; transition: transform .3s ease; }
.ms-list-referencyjny a:hover img { transform: translateY(-4px); }
.ms-list-referencyjny figcaption { font-size: 14px; opacity: .75; margin-top: .75rem; }
.ms-list-referencyjny img { height: auto !important; max-height: none !important; aspect-ratio: auto !important; object-fit: contain !important; }

/* Referencje: listy w siatce, w kolorze, z podpisem */
.ms-referencje { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px; }
.ms-referencje > * { margin: 0 !important; }
.ms-referencje figure img { width: 100%; height: auto !important; border: 1px solid rgba(20,20,20,.12); border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.08); filter: none !important; transition: transform .3s ease; }
.ms-referencje figure a:hover img { transform: translateY(-4px); }
.ms-referencje figcaption { font-size: 15px; line-height: 1.5; margin-top: 1rem; text-align: left; }
.ms-referencje figcaption a { color: var(--ms-turkus); }
.ms-list-referencyjny img { filter: none !important; }
.ms-opinie-google .at-btn { background: var(--ms-turkus) !important; color: #fff !important; padding: 16px 30px; border-radius: 999px; }
.ms-opinie-google .at-btn:hover { background: #fff !important; color: #141414 !important; }

/* Kontakt: biura jako bloki z ikoną (Orisa contact-2) */
.ms-biura .ms-biuro__typ { color: var(--ms-turkus); font-weight: 600; letter-spacing: .06em; font-size: 11px; vertical-align: middle; }
.ms-biura { border-top: 1px solid rgba(20,20,20,.1); }
.ms-biuro__typ { color: var(--ms-turkus); font-weight: 600; letter-spacing: .06em; font-size: 11px; vertical-align: middle; }
.ms-sygnet { width: 40px; height: 40px; object-fit: contain; filter: none !important; }
