/* ─────────────────────────────────────────────────────────────
   CSS Custom Properties
───────────────────────────────────────────────────────────── */
:root {
    --sf-dark:       #110e09;
    --sf-gold:       #e5bd7b;
    --sf-bg:         #f8f8f8;
    --sf-border:     #e3e3e3;
    --sf-glass:      rgba(255, 255, 255, 0.75);
    --sf-muted:      rgba(17, 14, 9, 0.75);
    --sf-muted-60:   rgba(17, 14, 9, 0.6);

    --bs-body-bg:          var(--sf-bg);
    --bs-body-color:       var(--sf-dark);
    --bs-body-font-family: 'Poppins', sans-serif;
    --bs-border-color:     var(--sf-border);
    --bs-link-color:       var(--sf-dark);
    --bs-link-hover-color: var(--sf-gold);
}

/* ─────────────────────────────────────────────────────────────
   Base
───────────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    background-color: var(--sf-bg);
    color: var(--sf-dark);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--sf-dark); transition: color .2s; }
a:hover,
a:focus { color: var(--sf-gold); text-decoration: none; }

/* ─────────────────────────────────────────────────────────────
   Container — 1120px (Figma: 1440 − 2×160)
───────────────────────────────────────────────────────────── */
.container { max-width: 1120px; }

/* ─────────────────────────────────────────────────────────────
   Spacing utilities
───────────────────────────────────────────────────────────── */
.py-6 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
.py-8 { padding-top: 8rem !important; padding-bottom: 8rem !important; }
.pt-6 { padding-top: 6rem !important; }
.pb-6 { padding-bottom: 6rem !important; }
.mt-6 { margin-top: 6rem !important; }
.mb-6 { margin-bottom: 6rem !important; }

/* ─────────────────────────────────────────────────────────────
   Typography
───────────────────────────────────────────────────────────── */
.sf-heading-bold {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-style: normal;
    color: var(--sf-dark);
}

.sf-heading-italic {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    font-style: italic;
    color: var(--sf-gold);
}

.sf-section-title {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: var(--sf-dark);
}

.sf-body-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    color: var(--sf-dark);
}

.sf-body-semibold { font-weight: 500; }

.sf-link-dark {
    color: var(--sf-dark);
    text-decoration: none;
    transition: color .2s;
}
.sf-link-dark:hover { color: var(--sf-gold); }

/* ─────────────────────────────────────────────────────────────
   Border utilities
───────────────────────────────────────────────────────────── */
.sf-border-top        { border-top:    1px solid var(--sf-border) !important; }
.sf-border-bottom     { border-bottom: 1px solid var(--sf-border) !important; }
.sf-section-border-top { border-top:  1px solid var(--sf-border); }

/* Na elementach <section> border jest full-width — wyłączamy,
   border powinien być na elementach wewnątrz .container */
section.sf-section-border-top { border-top: none; }

/* ─────────────────────────────────────────────────────────────
   Buttons
───────────────────────────────────────────────────────────── */
.btn-sf {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    background: var(--sf-dark);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    padding: 14px 32px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0, 0, 0, .08);
    transition: background .2s, opacity .2s;
    white-space: nowrap;
}
.btn-sf:hover,
.btn-sf:focus {
    background: rgba(17, 14, 9, .85);
    color: #fff;
    text-decoration: none;
}

.btn-sf-full { width: 100%; justify-content: center; }

.btn-sf-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    background: transparent;
    color: var(--sf-muted);
    border: 1px solid var(--sf-border);
    border-radius: 2px;
    padding: 14px 32px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 0 24px rgba(0, 0, 0, .08);
    transition: background .2s, color .2s;
    white-space: nowrap;
}
.btn-sf-outline:hover,
.btn-sf-outline:focus {
    background: rgba(17, 14, 9, .05);
    color: var(--sf-dark);
    text-decoration: none;
}

/* ─────────────────────────────────────────────────────────────
   Glass card
───────────────────────────────────────────────────────────── */
.sf-card-glass {
    background: var(--sf-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--sf-border);
    border-radius: 2px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
}

/* ─────────────────────────────────────────────────────────────
   Navbar
───────────────────────────────────────────────────────────── */
.sf-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1030;
    height: 64px;
    background: transparent;
    border-bottom: 1px solid transparent;
    padding: 0;
    transition: background .3s, border-color .3s;
}

.sf-navbar.scrolled,
body:not(.home) .sf-navbar {
    background: rgba(248, 248, 248, .97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom-color: var(--sf-border);
}

/* Strony z hero (metamorfozy, nasz zespół) — navbar transparentny */
body:has(#metamorfozy-hero) .sf-navbar,
body:has(#zespol-hero) .sf-navbar,
body:has(#oferta-hero) .sf-navbar {
    background: transparent !important;
    border-bottom-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
body:has(#metamorfozy-hero) .sf-navbar.scrolled,
body:has(#zespol-hero) .sf-navbar.scrolled,
body:has(#oferta-hero) .sf-navbar.scrolled {
    background: rgba(248, 248, 248, .97) !important;
    border-bottom-color: var(--sf-border) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

/* Admin bar offset */
body.admin-bar .sf-navbar { top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar .sf-navbar { top: 46px; }
}

.sf-navbar .container { height: 100%; }

.sf-navbar-brand { padding: 0; line-height: 1; }
.sf-navbar-brand img { height: 50px; width: auto; display: block; }

.sf-site-name {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--sf-dark);
}

/* .sf-navbar .nav-link / .dropdown-menu / .dropdown-item
   — usunięte: Max Mega Menu nie generuje tych klas Bootstrap */

/* ─────────────────────────────────────────────────────────────
   Max Mega Menu
───────────────────────────────────────────────────────────── */
#mega-menu-wrap-primary,
#mega-menu-wrap-primary #mega-menu-primary {
    border: none;
    box-shadow: none;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    color: #110e09;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.32px;
    padding: 12px 16px;
    background-color: transparent;
    border: none;
    text-decoration: none;
    transition: color .2s, background-color .2s;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link {
    color: var(--sf-gold) !important;
    background-color: rgba(17, 14, 9, 1);
    border-radius: 4px;
    line-height: 1;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link .mega-indicator {
    color: #110e09;
    font-size: 10px;
    margin-left: 4px;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > ul.mega-sub-menu,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
    border: none;
    border-top: 2px solid rgba(17, 14, 9, 0.15);
    box-shadow: 0 8px 24px rgba(17, 14, 9, 0.12);
    border-radius: 0 0 8px 8px;
    padding: 12px 0;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link {
    color: #110e09;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.3px;
    padding: 8px 20px;
    background-color: transparent;
    border: none;
    transition: background-color .15s, padding-left .15s;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link:hover {
    background-color: rgba(17, 14, 9, 0.08);
    padding-left: 24px;
    color: #110e09;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.mega-menu-column-header > a.mega-menu-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: rgba(17, 14, 9, 0.55);
    cursor: default;
    pointer-events: none;
}

#mega-menu-wrap-primary #mega-menu-primary ul.mega-sub-menu li.mega-menu-item-type-widget hr {
    border-color: rgba(17, 14, 9, 0.12);
    margin: 8px 20px;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
    background-color: #110e09;
    border-radius: 4px 4px 0 0;
}

#mega-menu-wrap-primary .mega-menu-toggle { border: none; }

#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block .mega-toggle-animated-box .mega-toggle-animated-inner,
#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block .mega-toggle-animated-box .mega-toggle-animated-inner::before,
#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block .mega-toggle-animated-box .mega-toggle-animated-inner::after {
    background-color: #110e09;
}

/* ─────────────────────────────────────────────────────────────
   Hero — front-page
───────────────────────────────────────────────────────────── */
.sf-hero {
    min-height: 60vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.sf-hero h1 .sf-heading-italic { color: #110e09; font-size: 48px; line-height: 1.5; }
.sf-hero h1 .sf-heading-bold   { font-size: 32px; line-height: 1.5; font-weight: 600; letter-spacing: -0.64px; }

/* Zdjęcie hero jako <img> (LCP) */
.sf-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
}

.sf-hero .sf-hero-container,
.sf-hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-top: 120px;
    padding-bottom: 4rem;
    width: 100%;
}

.sf-hero-text {
    max-width: 530px;
    flex-shrink: 0;
}

/* Wrapper dla dwóch przycisków CTA w hero */
.sf-hero-cta-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

/* btn-sf-outline na ciemnym tle hero */
.sf-hero .btn-sf-outline {
    color: rgba(255,255,255,.9);
    border-color: rgba(255,255,255,.4);
}
.sf-hero .btn-sf-outline:hover,
.sf-hero .btn-sf-outline:focus {
    background: rgba(255,255,255,.12);
    color: #fff;
    border-color: rgba(255,255,255,.7);
}

/* Promo badge */
.sf-promo-badge {
    flex-shrink: 0;
    align-self: flex-end;
    background: rgba(229, 189, 123, .25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 2px;
    box-shadow: 0 0 24px rgba(0, 0, 0, .08);
    padding: 16px;
    min-width: 166px;
    text-decoration: none;
    transition: background .2s, border-color .2s;
}
.sf-promo-badge:hover,
.sf-promo-badge:focus {
    background: rgba(229, 189, 123, .4);
    border-color: rgba(255,255,255,.45);
    text-decoration: none;
}

.sf-promo-badge-text { font-size: 13px; line-height: 1.5; color: #fff; }

.sf-promo-percent {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.5;
    color: #fff;
    margin-top: 8px;
}

/* ─────────────────────────────────────────────────────────────
   Sekcje — typografia
───────────────────────────────────────────────────────────── */
#oferta h2 .sf-heading-bold     { font-size: 40px; line-height: 1.2; }
#oferta h2 .sf-heading-italic   { font-size: 33px; line-height: 1.2; margin-top: 4px; }
.sf-oferta-intro                { max-width: 736px; }

#dlaczego-my h2 .sf-heading-italic { font-size: 33px; line-height: 1.5; }
#dlaczego-my h2 .sf-heading-bold   { font-size: 40px; line-height: 1.5; }

#raty h2 .sf-heading-bold { font-size: 33px; line-height: 1.2; }
#raty .sf-heading-italic  { font-size: 23px; line-height: 1.5; }
.sf-raty-inner            { max-width: 896px; }

#opinie h2 .sf-heading-bold   { font-size: 40px; line-height: 1.2; }
#opinie h2 .sf-heading-italic { font-size: 33px; line-height: 1.2; margin-top: 4px; }
.sf-opinie-intro              { max-width: 736px; }

#metamorfoza h2 .sf-heading-bold   { font-size: 40px; line-height: 1.5; }
#metamorfoza h2 .sf-heading-italic { font-size: 33px; line-height: 1.5; }
.sf-meta-intro                     { max-width: 1120px; }

#faq .sf-heading-bold { font-size: 40px; line-height: 1.5; }
.sf-faq-shortcode     { margin-top: 2.5rem; }

/* ─────────────────────────────────────────────────────────────
   Services — Oferta + Nasz Zespół
───────────────────────────────────────────────────────────── */
.sf-service-row {
    display: flex;
    align-items: center;
}

.sf-service-row--reverse { flex-direction: row-reverse; }

.sf-service-img {
    width: 352px;
    height: 352px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.sf-service-content {
    flex: 1 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-left: -16px;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.sf-service-content--right {
    margin-right: -16px;
}

.sf-service-card { padding: 24px 32px; }

.sf-service-title {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 23px;
    line-height: 1.5;
    color: var(--sf-dark);
}

.sf-service-subtitle {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    font-style: italic;
    font-size: 19px;
    line-height: 1.5;
    color: var(--sf-gold);
}

/* ─────────────────────────────────────────────────────────────
   Dlaczego my / Feature cards
───────────────────────────────────────────────────────────── */
.sf-why-card     { padding: 32px; }
.sf-feature-card { padding: 32px; }

.sf-feature-title {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 19px;
    line-height: 1.5;
    color: var(--sf-dark);
}

/* ─────────────────────────────────────────────────────────────
   CTA steps
───────────────────────────────────────────────────────────── */
.sf-cta-steps {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.sf-cta-step {
    flex: 1 0 0;
    justify-content: center;
    min-width: 180px;
}

.sf-cta-arrow { flex-shrink: 0; }

/* ─────────────────────────────────────────────────────────────
   CTA section — Oferta dla nowych klientek
───────────────────────────────────────────────────────────── */
.sf-cta-section {
    position: relative;
    min-height: 334px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--sf-gold);
    display: flex;
    align-items: center;
    padding: 5rem 0;
}

.sf-cta-section h2 .sf-heading-bold   { font-size: 33px; line-height: 1.5; }
.sf-cta-section h2 .sf-heading-italic { font-size: 23px; line-height: 1.5; color: #110e09; }

.sf-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(229, 189, 123, .75);
    z-index: 0;
}

.sf-cta-inner { position: relative; z-index: 1; width: 100%; }

/* CF7 w sekcji CTA */
.sf-cta-section .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.sf-cta-section .wpcf7-form p {
    margin: 0;
}
.sf-cta-section .wpcf7-form input[type="text"],
.sf-cta-section .wpcf7-form input[type="email"],
.sf-cta-section .wpcf7-form input[type="tel"],
.sf-cta-section .wpcf7-form textarea {
    background: #fff;
    border: 1px solid var(--sf-border);
    border-radius: 2px;
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: var(--sf-dark);
    width: 100%;
}

.sf-cta-section .wpcf7-form input::placeholder,
.sf-cta-section .wpcf7-form textarea::placeholder { color: rgba(17, 14, 9, .25); }

.sf-cta-section .wpcf7-form input[type="submit"] {
    display: inline-flex;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    background: var(--sf-dark);
    color: #fff;
    border: none;
    border-radius: 2px;
    padding: 14px 32px;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0, 0, 0, .08);
    transition: background .2s;
}
.sf-cta-section .wpcf7-form input[type="submit"]:hover { background: rgba(17, 14, 9, .85); }

/* ─────────────────────────────────────────────────────────────
   Partner logos
───────────────────────────────────────────────────────────── */
.sf-partner-logo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid var(--sf-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
}

/* ─────────────────────────────────────────────────────────────
   Reviews
───────────────────────────────────────────────────────────── */
.sf-reviews-shortcode { margin-top: 2rem; }

/* ─────────────────────────────────────────────────────────────
   Footer
───────────────────────────────────────────────────────────── */
.sf-footer {
    padding-top: 120px;
    background: var(--sf-bg);
    border-top: 1px solid var(--sf-border);
}

.sf-footer-site-name {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--sf-dark);
}

.sf-footer-logo { width: 124px; height: auto; display: block; }

.sf-footer-nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    color: var(--sf-muted);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: block;
    padding: 6px 0;
    transition: color .2s;
}
.sf-footer-nav-link:hover,
.sf-footer-nav-link:focus { color: var(--sf-gold); text-decoration: none; }

.sf-footer-hours-title {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    font-style: italic;
    font-size: 29px;
    line-height: 1.2;
    color: var(--sf-dark);
    letter-spacing: -0.05em;
}

.sf-footer-bottom {
    border-top: 1px solid rgba(17, 14, 9, .2);
    padding: 20px 0;
    margin-top: 24px;
}

.sf-footer-copyright {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 13px;
    line-height: 1.5;
    color: var(--sf-muted);
    letter-spacing: -0.02em;
}

.sf-footer-policy-link { color: inherit; text-decoration: none; transition: color .2s; }
.sf-footer-policy-link:hover { color: var(--sf-gold); }

.sf-social-icons { display: flex; flex-wrap: wrap; gap: 10px; }

.sf-social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(17, 14, 9, .12);
    color: var(--sf-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background .2s, color .2s;
    flex-shrink: 0;
}
.sf-social-icon:hover,
.sf-social-icon:focus { background: var(--sf-gold); color: var(--sf-dark); text-decoration: none; }

/* ─────────────────────────────────────────────────────────────
   Misc
───────────────────────────────────────────────────────────── */
#sf-main { overflow-x: clip; }

body:not(.home) #sf-main { padding-top: 64px; }

/* Strony z custom hero — cofnij padding */
body:has(#metamorfozy-hero) #sf-main,
body:has(#zespol-hero) #sf-main,
body:has(#oferta-hero) #sf-main { padding-top: 0 !important; }

/* ─────────────────────────────────────────────────────────────
   Kontakt — strona
───────────────────────────────────────────────────────────── */
#kontakt h1 .sf-heading-italic { font-size: 33px; line-height: 1.2; }
#kontakt h1 .sf-heading-bold   { font-size: 48px; line-height: 1.2; }
.sf-contact-intro               { max-width: 736px; }

.sf-contact-sidebar-title {
    font-family: 'Merriweather', serif;
    font-weight: 600;
    font-size: 19px;
    line-height: 1.2;
    color: var(--sf-dark);
    letter-spacing: -0.02em;
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .sf-contact-sidebar {
        border-right: 1px solid var(--sf-border);
        padding-right: 32px;
        padding-top: 24px;
        padding-bottom: 24px;
        min-width: 200px;
    }
    .sf-contact-form-col {
        padding-left: 48px !important;
        padding-top: 24px;
        padding-bottom: 24px;
    }
}

.sf-contact-info-link {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--sf-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    transition: color .2s;
}
.sf-contact-info-link:hover,
.sf-contact-info-link:focus { color: var(--sf-gold); text-decoration: underline; }
.sf-contact-info-link svg   { flex-shrink: 0; margin-top: 2px; }

.sf-contact-map {
    height: 300px;
    overflow: hidden;
    background: #e8e8e8;
}
.sf-contact-map iframe { width: 100%; height: 100%; border: none; display: block; }

/* ─────────────────────────────────────────────────────────────
   Kontakt — CF7 formularz
───────────────────────────────────────────────────────────── */
.sf-cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.sf-cf7-field { margin-bottom: 1.5rem; }

.sf-cf7-row label,
.sf-cf7-field label {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--sf-dark);
    display: block;
    margin-bottom: 6px;
}

.sf-required { margin-left: 1px; }

#kontakt .wpcf7-form-control-wrap { display: block; }

#kontakt .wpcf7-form input[type="text"],
#kontakt .wpcf7-form input[type="tel"],
#kontakt .wpcf7-form input[type="email"],
#kontakt .wpcf7-form textarea {
    width: 100%;
    border: 1px solid var(--sf-border);
    border-radius: 2px;
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--sf-dark);
    background: #fff;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
}
#kontakt .wpcf7-form input:focus,
#kontakt .wpcf7-form textarea:focus {
    border-color: var(--sf-gold);
    box-shadow: 0 0 0 3px rgba(229, 189, 123, .15);
}
#kontakt .wpcf7-form input::placeholder,
#kontakt .wpcf7-form textarea::placeholder { color: rgba(17, 14, 9, .25); }
#kontakt .wpcf7-form textarea { resize: vertical; min-height: 120px; }

.sf-cf7-consent .wpcf7-acceptance {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
}
.sf-cf7-consent .wpcf7-acceptance input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border: 1px solid var(--sf-border);
    border-radius: 2px;
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: background .2s, border-color .2s;
    position: relative;
    margin: 0;
}
.sf-cf7-consent .wpcf7-acceptance input[type="checkbox"]:checked {
    background: var(--sf-gold);
    border-color: var(--sf-gold);
}
.sf-cf7-consent .wpcf7-acceptance input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -60%) rotate(-45deg);
    width: 8px; height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
}
.sf-cf7-consent .wpcf7-acceptance .wpcf7-list-item        { margin: 0; }
.sf-cf7-consent .wpcf7-acceptance .wpcf7-list-item-label  {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--sf-dark);
    cursor: pointer;
}

#kontakt .wpcf7-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    background: var(--sf-dark);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    padding: 14px 32px;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0, 0, 0, .08);
    transition: background .2s;
    -webkit-appearance: none;
    appearance: none;
}
#kontakt .wpcf7-form input[type="submit"]:hover { background: rgba(17, 14, 9, .85); }

#kontakt .wpcf7-not-valid-tip {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: #c0392b;
    margin-top: 4px;
    display: block;
}
#kontakt .wpcf7-form input.wpcf7-not-valid,
#kontakt .wpcf7-form textarea.wpcf7-not-valid { border-color: #c0392b; }

#kontakt .wpcf7-response-output {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    border-radius: 2px;
    padding: 12px 16px;
    margin-top: 1rem;
    border: 1px solid var(--sf-border);
}
#kontakt .wpcf7-mail-sent-ok {
    background: rgba(229, 189, 123, .1);
    border-color: var(--sf-gold);
    color: var(--sf-dark);
}
#kontakt .wpcf7-mail-sent-ng,
#kontakt .wpcf7-aborted,
#kontakt .wpcf7-spam-blocked {
    background: #fdf2f2;
    border-color: #c0392b;
    color: #c0392b;
}

/* ─────────────────────────────────────────────────────────────
   Metamorfozy + Nasz Zespół — hero (.sf-meta-hero)
───────────────────────────────────────────────────────────── */
.sf-meta-hero {
    min-height: 60vh;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.sf-meta-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-top: 120px;
    padding-bottom: 5rem;
    width: 100%;
}

.sf-meta-hero-text {
    max-width: 530px;
    flex-shrink: 0;
}

.sf-meta-hero-label {
    font-family: 'Merriweather', serif;
    font-size: 48px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: -0.96px;
    color: var(--sf-dark);
    margin-bottom: 4px;
    display: block;
}

.sf-meta-hero-heading {
    font-family: 'Merriweather', serif;
    font-weight: 600;
    font-style: normal;
    font-size: 32px;
    line-height: 1.5;
    letter-spacing: -0.64px;
    color: var(--sf-dark);
    margin-bottom: 0;
}

/* ─────────────────────────────────────────────────────────────
   Metamorfozy — karty
───────────────────────────────────────────────────────────── */
.sf-meta-card {
    border-radius: 2px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--sf-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

.sf-meta-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.sf-meta-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform .4s ease;
}
.sf-meta-card:hover .sf-meta-card-img { transform: scale(1.03); }

/* Badges PRZED / PO */
.sf-meta-card-badges {
    position: absolute;
    bottom: 8px;
    left: -10px;
    right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sf-meta-badges-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.sf-meta-badge {
    display: flex;
    padding: 4px 12px;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
    color: #fff;
    border-radius: 12px;
}
.sf-meta-badges-sep {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    line-height: 1;
    user-select: none;
}

/* Footer karty */
.sf-meta-card-footer {
    display: flex;
    padding: 8px 0;
    align-items: center;
    border-top: 1px solid var(--sf-border);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.sf-meta-card-weight {
    flex: 1;
    text-align: right;
    padding-right: 20px;
    font-family: 'Merriweather', serif;
    font-size: 40px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.5;
    color: var(--sf-dark);
    white-space: nowrap;
}

.sf-meta-card-divider { display: none; }

.sf-meta-card-name {
    flex: 1;
    padding: 8px 16px;
    border-left: 1px solid var(--sf-gold);
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--sf-dark);
}

/* ─────────────────────────────────────────────────────────────
   Max Mega Menu — mobile (max-width: 768px)
───────────────────────────────────────────────────────────── */
@media only screen and (max-width: 991px) {
    .mega-toggle-animated-box {
        background: transparent !important;
        width: 24px !important;
        height: 16px !important;
        position: relative !important;
        transform: none !important;
        display: block !important;
    }

    .mega-toggle-animated-inner { display: none !important; }

    .mega-toggle-animated-box::before {
        content: "" !important;
        position: absolute !important;
        top: 0 !important; left: 0 !important;
        width: 24px !important;
        height: 2.5px !important;
        background: #110e09 !important;
        border-radius: 3px !important;
        box-shadow: 0 6px 0 #110e09, 0 12px 0 #110e09 !important;
        pointer-events: none !important;
    }

    .mega-menu-toggle button,
    .mega-toggle-animated {
        pointer-events: auto !important;
        cursor: pointer !important;
        position: relative !important;
        z-index: 999999 !important;
    }

    #mega-menu-wrap-primary #mega-menu-primary {
        position: fixed !important;
        top: 64px !important; left: 0 !important;
        width: 100vw !important;
        height: calc(100dvh - 64px) !important;
        background: #110e09 !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        display: none !important;
        flex-direction: column !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        z-index: 99999 !important;
        box-sizing: border-box !important;
        max-width: 100vw !important;
        max-height: none !important;
    }

    #mega-menu-wrap-primary #mega-menu-primary[aria-hidden="false"] { display: flex !important; }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item {
        width: 100% !important;
        display: block !important;
        float: none !important;
        clear: both !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
        flex-shrink: 0 !important;
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 17px 28px !important;
        font-family: 'Poppins', sans-serif !important;
        font-size: 19px !important;
        font-weight: 500 !important;
        color: #fff !important;
        background: transparent !important;
        border: none !important;
        letter-spacing: -0.3px !important;
        white-space: normal !important;
        box-sizing: border-box !important;
        transition: color .2s, background .2s !important;
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:focus {
        color: #e5bd7b !important;
        background: rgba(229, 189, 123, 0.25) !important;
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link .mega-indicator {
        color: rgba(229, 189, 123, 0.65) !important;
        font-size: 13px !important;
        margin-left: 8px !important;
        flex-shrink: 0 !important;
        transition: transform .25s !important;
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link .mega-indicator {
        transform: rotate(180deg) !important;
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item ul.mega-sub-menu {
        position: static !important;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 4px 0 8px !important;
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link {
        font-family: 'Poppins', sans-serif !important;
        font-size: 15px !important;
        font-weight: 400 !important;
        color: rgba(255, 255, 255, 0.6) !important;
        padding: 10px 28px 10px 44px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
        background: transparent !important;
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item ul.mega-sub-menu li.mega-menu-item > a.mega-menu-link:hover {
        color: #e5bd7b !important;
        background: rgba(229, 189, 123, 0.15) !important;
        padding-left: 48px !important;
    }

    .sf-menu-footer {
        margin-top: auto !important;
        padding: 20px 24px 32px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        flex-shrink: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .sf-menu-cta-btn {
        display: block !important;
        width: 100% !important;
        padding: 15px 20px !important;
        background: #e5bd7b !important;
        color: #110e09 !important;
        font-family: 'Poppins', sans-serif !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        text-align: center !important;
        border-radius: 10px !important;
        text-decoration: none !important;
        letter-spacing: -0.2px !important;
        box-sizing: border-box !important;
        transition: background .2s !important;
    }
    .sf-menu-cta-btn:hover,
    .sf-menu-cta-btn:focus {
        background: #cfaa62 !important;
        color: #110e09 !important;
        text-decoration: none !important;
    }

    .sf-menu-social {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
    }

    .sf-menu-social a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important; height: 40px !important;
        border-radius: 50% !important;
        background: rgba(229, 189, 123, 0.12) !important;
        border: 1px solid rgba(229, 189, 123, 0.25) !important;
        transition: background .2s !important;
        text-decoration: none !important;
    }
    .sf-menu-social a:hover {
        background: rgba(229, 189, 123, 0.25) !important;
        border-color: rgba(229, 189, 123, 0.5) !important;
    }

    .sf-menu-social svg {
        width: 18px !important; height: 18px !important;
        fill: #e5bd7b !important;
        flex-shrink: 0 !important;
    }
}

/* ─────────────────────────────────────────────────────────────
   Responsive — tablet (max-width: 991.98px)
───────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    /* Hero front-page */
    .sf-hero {
        min-height: auto;
        align-items: flex-start;
        background-position: center left;
        padding: 3rem 0;
    }
    .sf-hero-container {
        flex-direction: column;
        align-items: center;
        padding-top: 96px;
        padding-bottom: 3rem;
    }
    .sf-hero h1 .sf-heading-italic { font-size: 36px; line-height: 1.4; }
    .sf-hero h1 .sf-heading-bold   { font-size: 26px; line-height: 1.4; }
    .sf-hero-text                  { max-width: 100%; }
    .sf-hero-cta-wrap              { flex-direction: column; align-items: flex-start; }
    .sf-promo-badge                { align-self: flex-start; }

    /* Services */
    .sf-service-row,
    .sf-service-row--reverse { flex-direction: column; align-items: stretch; }
    .sf-service-img { width: 100%; height: 280px; order: -1; }
    .sf-service-content { margin-left: 0; margin-right: 0; width: 100%; order: 1; }
    .sf-service-content--right { margin-right: 0; }

    /* Hero meta */
    .sf-meta-hero { min-height: auto; }
    .sf-meta-hero-container {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 96px;
        padding-bottom: 3rem;
    }
    .sf-meta-hero-text    { max-width: 100%; }
    .sf-meta-hero-label   { font-size: 32px; letter-spacing: -0.64px; }
    .sf-meta-hero-heading { font-size: 24px; letter-spacing: -0.48px; }
    .sf-meta-card-weight  { font-size: 28px; }

    /* Sekcje H2 */
    #oferta h2 .sf-heading-bold,
    #dlaczego-my h2 .sf-heading-bold,
    #opinie h2 .sf-heading-bold,
    #metamorfoza h2 .sf-heading-bold,
    #faq .sf-heading-bold              { font-size: 32px; }

    #oferta h2 .sf-heading-italic,
    #dlaczego-my h2 .sf-heading-italic,
    #opinie h2 .sf-heading-italic,
    #metamorfoza h2 .sf-heading-italic { font-size: 26px; }

    #raty h2 .sf-heading-bold  { font-size: 28px; }
    #raty .sf-heading-italic   { font-size: 20px; }

    .sf-cta-section h2 .sf-heading-bold { font-size: 28px; }
    .sf-footer-hours-title              { font-size: 22px; }
    .sf-partner-logo                    { width: 140px; height: 140px; }
    .sf-cta-steps { flex-direction: column; align-items: stretch; }
    .sf-cta-step  { min-width: unset; }
    .sf-cta-arrow { display: none; }
    .sf-why-card     { padding: 24px; }
    .sf-feature-card { padding: 24px; }
    .sf-cta-inner .row { --bs-gutter-x: 1.5rem; }

    /* Kontakt */
    .sf-contact-sidebar {
        border-bottom: 1px solid var(--sf-border);
        padding-bottom: 32px;
        margin-bottom: 32px;
        width: 100%;
    }
    #kontakt h1 .sf-heading-italic { font-size: 26px; }
    #kontakt h1 .sf-heading-bold   { font-size: 36px; }
}

/* ─────────────────────────────────────────────────────────────
   Responsive — mobile (max-width: 575.98px)
───────────────────────────────────────────────────────────── */
@media (max-width: 575.98px) {
    /* Hero front-page */
    .sf-hero {
        min-height: 80svh;
    }
    .sf-hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(200, 160, 100, 0.45);
        z-index: 0;
        pointer-events: none;
    }
    .sf-hero .sf-hero-container { z-index: 1; }
    .sf-hero-bg-img { object-position: 75% top; }
    .sf-hero-container {
        padding-top: 96px;
        padding-bottom: 2rem;
        align-items: flex-start;
    }
    .sf-hero-text {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
        padding: 20px;
        width: 100%;
    }
    .sf-hero h1 .sf-heading-italic { font-size: 28px !important; line-height: 1.35 !important; }
    .sf-hero h1 .sf-heading-bold   { font-size: 20px !important; line-height: 1.35 !important; }

    /* Promo badge */
    .sf-promo-badge {
        width: 100%;
        margin-top: 16px;
        align-self: stretch;
        padding: 20px 24px;
        min-width: unset;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 8px 16px;
    }
    .sf-promo-badge > div {
        grid-column: 1;
        grid-row: 1;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }
    .sf-promo-badge > div svg { display: none; }
    .sf-promo-percent {
        grid-column: 2;
        grid-row: 1 / 3;
        font-size: 48px;
        line-height: 1.2;
        align-self: center;
    }
    .sf-promo-badge-text {
        font-size: 14px;
        line-height: 1.5;
        grid-column: 1;
        grid-row: 2;
    }

    /* Hero meta (Metamorfozy + Nasz Zespół) */
    .sf-meta-hero {
        background-position: 70% center;
        min-height: 0;
        padding-bottom: 0;
    }
    .sf-meta-hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(200, 160, 100, 0.45);
        z-index: 0;
        pointer-events: none;
    }
    .sf-meta-hero-container {
        position: relative;
        z-index: 1;
        padding-top: 96px;
        padding-bottom: 1rem;
        align-items: flex-start;
    }
    .sf-meta-hero-text {
        max-width: 100%;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
        padding: 20px;
    }
    .sf-meta-hero-label              { font-size: 22px; letter-spacing: -0.44px; }
    .sf-meta-hero-heading            { font-size: 22px; }
    .sf-meta-hero-text .sf-body-text { font-size: 14px; }
    .sf-meta-card-weight             { font-size: 24px; }
    .sf-meta-card-name               { font-size: 15px; }
    .sf-meta-card-footer             { padding: 10px 16px; }

    /* H2 sekcje */
    #oferta h2 .sf-heading-bold,
    #dlaczego-my h2 .sf-heading-bold,
    #opinie h2 .sf-heading-bold,
    #metamorfoza h2 .sf-heading-bold,
    #faq .sf-heading-bold              { font-size: 26px; }

    #oferta h2 .sf-heading-italic,
    #dlaczego-my h2 .sf-heading-italic,
    #opinie h2 .sf-heading-italic,
    #metamorfoza h2 .sf-heading-italic { font-size: 22px; }

    #raty h2 .sf-heading-bold  { font-size: 24px; }
    #raty .sf-heading-italic   { font-size: 18px; }

    .sf-cta-section h2 .sf-heading-bold   { font-size: 24px; }
    .sf-cta-section h2 .sf-heading-italic { font-size: 18px; color: #110e09; }

    .sf-service-title    { font-size: 19px; }
    .sf-service-subtitle { font-size: 16px; }
    .sf-service-card     { padding: 20px; }
    .sf-feature-card     { padding: 20px; }

    .sf-footer-hours-title { font-size: 19px; }
    .sf-footer-logo        { width: 80px; }
    .sf-footer-nav-link    { font-size: 13px; padding: 3px 0; }
    .sf-footer-col3 .btn-sf { width: 100%; justify-content: center; }

    .sf-partner-logo { width: 120px; height: 120px; }

    .sf-cf7-row { grid-template-columns: 1fr; }

    .py-6 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
    .py-8 { padding-top: 5rem !important; padding-bottom: 5rem !important; }

    #kontakt h1 .sf-heading-italic { font-size: 22px !important; }
    #kontakt h1 .sf-heading-bold   { font-size: 28px !important; }
    .sf-contact-map { height: 250px; }
}
/* ─────────────────────────────────────────────────────────────
   Strony podrzędne — hero w białej karcie z shadow (Diety, etc.)
───────────────────────────────────────────────────────────── */
.sf-page-hero {
    padding-top: calc(64px + 2rem);
    padding-bottom: 0;
}

/* Szerszy container dla hero — 1376px jak w Figmie */
.sf-page-hero > .container {
    max-width: 1376px;
}

/* Biała karta z cieniem — container hero */
.sf-page-hero .row {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, .10);
    overflow: hidden;
    margin: 0;
}

/* Lewa kolumna — padding wewnątrz karty */
.sf-page-hero .col-12.col-lg-6:first-child {
    padding: 40px 48px;
}

/* Prawa kolumna — zdjęcie bez paddingu, wypełnia całą wysokość karty */
.sf-page-hero .col-12.col-lg-6:last-child {
    padding: 0;
}

.sf-page-hero-img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    object-position: right;
    display: block;
}
.sf-cta-oferta-dla-nowych {
	position: absolute;
    inset: 0;
    background: rgba(229, 189, 123, .75);
    z-index: 0;
}

.sf-back-link {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--sf-muted);
    text-decoration: none;
    transition: color .2s;
}
.sf-back-link:hover { color: var(--sf-gold); }
.sf-back-link svg   { flex-shrink: 0; }

/* ─────────────────────────────────────────────────────────────
   Karty diet
───────────────────────────────────────────────────────────── */
.sf-diet-card {
    border-radius: 2px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s, transform .25s;
}
.sf-diet-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
    transform: translateY(-2px);
}

.sf-diet-card-img-wrap {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    flex-shrink: 0;
}

.sf-diet-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .4s ease;
}
.sf-diet-card:hover .sf-diet-card-img { transform: scale(1.04); }

.sf-diet-card-body {
    padding: 20px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.sf-diet-card-title {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.4;
    color: var(--sf-dark);
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .sf-page-hero { padding-top: calc(64px + 1.5rem); }
    .sf-page-hero .col-12.col-lg-6:first-child { padding: 28px 24px; }
    .sf-page-hero-img { min-height: 260px; }
}

@media (max-width: 575.98px) {
    .sf-page-hero { padding-top: calc(64px + 1rem); }
    .sf-page-hero .col-12.col-lg-6:first-child { padding: 20px 20px; }
    .sf-page-hero-img { min-height: 200px; }
}

@media (max-width: 575.98px) {
    .sf-diet-card-body { padding: 16px 16px 20px; text-align: left; }
    .sf-diet-card-title { font-size: 15px; }
}
/* ─────────────────────────────────────────────────────────────
   Wpis blogowy — single.php
───────────────────────────────────────────────────────────── */

.sf-blog-article {
    padding-top: calc(64px + 2rem);
    padding-bottom: 6rem;
}

/* Dwukolumnowy layout: treść + sidebar */
.sf-blog-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

/* ── Meta (data | autor | czas) ── */
.sf-blog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.sf-blog-meta-item {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--sf-gold);
    line-height: 1.5;
}

.sf-blog-meta-sep {
    color: var(--sf-border);
    font-size: 13px;
}

/* ── Tytuł ── */
.sf-blog-title {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.2;
    color: var(--sf-dark);
    margin-bottom: 32px;
}

/* ── Featured image ── */
.sf-blog-featured-img {
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 32px;
}

.sf-blog-featured-img img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* ── Treść wpisu ── */
.sf-blog-body {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.8;
    color: var(--sf-dark);
}

.sf-blog-body p {
    margin-bottom: 1.25rem;
}

.sf-blog-body h2 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.3;
    color: var(--sf-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.sf-blog-body h3 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: var(--sf-dark);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.sf-blog-body strong { font-weight: 600; }

.sf-blog-body ul,
.sf-blog-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.sf-blog-body li { margin-bottom: 0.4rem; }

.sf-blog-body img {
    max-width: 100%;
    height: auto;
    border-radius: 2px;
    margin: 1.5rem 0;
}

.sf-blog-body a {
    color: var(--sf-gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sf-blog-body blockquote {
    border-left: 3px solid var(--sf-gold);
    padding: 12px 20px;
    margin: 1.5rem 0;
    background: rgba(229, 189, 123, .06);
    font-style: italic;
}

/* ── Sidebar ── */
.sf-blog-sidebar {
    position: sticky;
    top: calc(64px + 24px);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* CTA button */
.sf-blog-sidebar-cta .btn-sf {
    display: flex;
    width: 100%;
    justify-content: center;
}

/* Sidebar titles */
.sf-blog-sidebar-title {
    font-family: 'Merriweather', serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    color: var(--sf-dark);
    margin-bottom: 12px;
}

/* Podobne artykuły */
.sf-blog-related {
    background: var(--sf-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--sf-border);
    border-radius: 2px;
    padding: 20px;
}

.sf-blog-related-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    color: var(--sf-dark);
    transition: color .2s;
}
.sf-blog-related-item:hover { color: var(--sf-gold); }

.sf-blog-related-img {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 2px;
    overflow: hidden;
}
.sf-blog-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sf-blog-related-title {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: inherit;
}

/* Spis treści */
.sf-blog-toc {
    background: var(--sf-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--sf-border);
    border-radius: 2px;
    padding: 20px;
}

.sf-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc-counter;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sf-toc-item {
    counter-increment: toc-counter;
}

.sf-toc-item--sub .sf-toc-link {
    padding-left: 16px;
    font-size: 12px;
}

.sf-toc-link {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--sf-muted);
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 8px;
    transition: color .2s;
}
.sf-toc-link::before {
    content: counter(toc-counter) '.';
    color: var(--sf-gold);
    font-size: 11px;
    flex-shrink: 0;
}
.sf-toc-link:hover,
.sf-toc-link--active {
    color: var(--sf-dark);
    font-weight: 500;
}

/* ── Responsive — tablet ── */
@media (max-width: 991.98px) {
    .sf-blog-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .sf-blog-sidebar {
        display: none; /* zastąpiony przez bloki inline w treści */
    }
    .sf-blog-title { font-size: 32px; }
}

/* Mobile TOC inline (pod zdjęciem) */
.sf-blog-toc-mobile {
    display: none;
}
@media (max-width: 991.98px) {
    .sf-blog-toc-mobile {
        display: block;
        background: var(--sf-glass);
        border: 1px solid var(--sf-border);
        border-radius: 2px;
        padding: 20px;
        margin-bottom: 2rem;
    }
    .sf-blog-toc-mobile[data-empty="true"] {
        display: none;
    }
}

/* Mobile podobne artykuły inline (pod treścią) */
.sf-blog-related-mobile {
    display: none;
}
@media (max-width: 991.98px) {
    .sf-blog-related-mobile {
        display: block;
        margin-top: 2.5rem;
        padding-top: 2rem;
        border-top: 1px solid var(--sf-border);
    }
}

@media (max-width: 575.98px) {
    .sf-blog-article { padding-top: calc(64px + 1rem); padding-bottom: 4rem; }
    .sf-blog-title   { font-size: 26px; }
    .sf-blog-body    { font-size: 15px; }
    .sf-blog-body h2 { font-size: 22px; }
    .sf-blog-body h3 { font-size: 18px; }
}


/* ─────────────────────────────────────────────────────────────
   Strona Blog — listing (home.php) — wg Figma
───────────────────────────────────────────────────────────── */
.sf-blog-listing {
    padding-top: calc(64px + 2rem);
    padding-bottom: 6rem;
}

/* Nagłówek */
.sf-blog-listing-header { margin-bottom: 48px; }
.sf-blog-listing-header .sf-heading-italic {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 4px;
}
.sf-blog-listing-header .sf-heading-bold {
    font-size: 40px;
    line-height: 1.2;
    margin: 0;
}

/* Lista kart */
.sf-blog-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Pojedyncza karta — zdjęcie po lewej, treść po prawej */
.sf-blog-card {
    display: flex;
    align-items: stretch;
    gap: 24px;
}

/* Zdjęcie */
.sf-blog-card-img-wrap {
    flex: 0 0 30%;
    max-width: 360px;
    align-self: stretch;
    display: block;
    border-radius: 6px;
    overflow: hidden;
    background: var(--sf-border);
}
.sf-blog-card-img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.sf-blog-card-img-wrap:hover .sf-blog-card-img { transform: scale(1.04); }

/* Placeholder gdy brak miniatury */
.sf-blog-card-img-placeholder {
    background: linear-gradient(135deg, #efe6d4 0%, var(--sf-gold) 100%);
    min-height: 200px;
}

/* Treść karty (biały panel) */
.sf-blog-card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--sf-border);
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(17, 14, 9, .04), 0 8px 24px rgba(17, 14, 9, .05);
    padding: 32px 40px;
}

/* Data */
.sf-blog-card-date {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
    color: var(--sf-muted-60);
    margin-bottom: 12px;
}

/* Tytuł */
.sf-blog-card-title {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.3;
    margin: 0 0 14px;
}
.sf-blog-card-title a {
    color: var(--sf-dark);
    text-decoration: none;
    transition: color .2s;
}
.sf-blog-card-title a:hover,
.sf-blog-card-title a:focus { color: var(--sf-gold); }

/* Zajawka */
.sf-blog-card-excerpt {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: var(--sf-muted);
    margin: 0 0 20px;
}

/* Link "Czytaj więcej" */
.sf-blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.5;
    color: var(--sf-dark);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color .2s;
}
.sf-blog-card-link svg { transition: transform .2s; }
.sf-blog-card-link:hover,
.sf-blog-card-link:focus { color: var(--sf-gold); }
.sf-blog-card-link:hover svg { transform: translateX(3px); }

/* ── Paginacja ── */
.sf-blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 48px;
}
.sf-blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1;
    color: var(--sf-dark);
    background: #fff;
    border: 1px solid var(--sf-border);
    border-radius: 6px;
    text-decoration: none;
    transition: color .2s, border-color .2s, background-color .2s;
}
.sf-blog-pagination a.page-numbers:hover,
.sf-blog-pagination a.page-numbers:focus {
    border-color: var(--sf-gold);
    color: var(--sf-gold);
}
.sf-blog-pagination .page-numbers.current {
    background: var(--sf-gold);
    border-color: var(--sf-gold);
    color: #fff;
    font-weight: 500;
}
.sf-blog-pagination .page-numbers.dots {
    border: none;
    background: transparent;
    min-width: auto;
    padding: 0 4px;
    color: var(--sf-muted-60);
}

/* ── Responsive — tablet ── */
@media (max-width: 991.98px) {
    .sf-blog-listing-header .sf-heading-bold { font-size: 34px; }
    .sf-blog-card-img-wrap { flex-basis: 34%; }
    .sf-blog-card-body { padding: 28px 32px; }
    .sf-blog-card-title { font-size: 23px; }
}

/* ── Responsive — mobile: zdjęcie nad treścią ── */
@media (max-width: 767.98px) {
    .sf-blog-card {
        flex-direction: column;
        gap: 0;
    }
    .sf-blog-card-img-wrap {
        flex: 0 0 auto;
        max-width: none;
        width: 100%;
        border-radius: 6px 6px 0 0;
    }
    .sf-blog-card-img {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }
    .sf-blog-card-img-placeholder {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }
    .sf-blog-card-body {
        border-radius: 0 0 6px 6px;
        border-top: none;
        padding: 24px;
    }
}

@media (max-width: 575.98px) {
    .sf-blog-listing { padding-top: calc(64px + 1rem); padding-bottom: 4rem; }
    .sf-blog-listing-header { margin-bottom: 32px; }
    .sf-blog-listing-header .sf-heading-bold { font-size: 28px; }
    .sf-blog-listing-header .sf-heading-italic { font-size: 17px; }
    .sf-blog-card-title { font-size: 21px; }
    .sf-blog-card-excerpt { font-size: 15px; }
    .sf-blog-pagination .page-numbers { min-width: 42px; height: 42px; font-size: 14px; }
}
/* ─────────────────────────────────────────────────────────────
   Strona Kosmetyki i Suplementy
───────────────────────────────────────────────────────────── */

/* Banner full-width */
.sf-products-banner-section {
    background: linear-gradient(135deg, #e5bd7b 0%, #c9a455 100%);
    position: relative;
    overflow: hidden;
    min-height: 334px;
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
}

.sf-products-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/uploads/img_template/kosmetyki/kosmetyki_banner.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.85;
    z-index: 0;
}

.sf-products-banner-section.sf-suplementy-banner::before {
    background-image: url('/wp-content/uploads/img_template/kosmetyki/suplementy_banner.webp');
}

.sf-products-banner-section .container {
    position: relative;
    z-index: 1;
}

.sf-products-banner-section .col-12 {
    max-width: 480px;
}

.sf-products-banner-section h2,
.sf-products-banner-section p { color: var(--sf-dark); }

.sf-products-banner { display: none; }

/* Karta produktu */
.sf-product-card {
    background: #fff;
    border: 1px solid var(--sf-border);
    border-radius: 2px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s, transform .25s;
}
.sf-product-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, .1);
    transform: translateY(-2px);
}

.sf-product-card-img-wrap {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 240px;
    padding: 16px;
}

.sf-product-card-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform .4s ease;
}
.sf-product-card:hover .sf-product-card-img { transform: scale(1.05); }

.sf-product-card-body {
    padding: 16px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--sf-border);
}

.sf-product-card-title {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    color: var(--sf-dark);
    margin: 0;
    text-align: center;
}

.sf-product-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sf-product-list li {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--sf-muted);
    padding-left: 14px;
    position: relative;
}

.sf-product-list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--sf-gold);
    font-weight: 400;
}

/* Animacje scroll — JS dodaje klasę sf-anim-ready żeby włączyć animacje */
body.sf-anim-ready .sf-product-card,
body.sf-anim-ready .sf-diet-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s;
}
body.sf-anim-ready .sf-product-card.sf-visible,
body.sf-anim-ready .sf-diet-card.sf-visible {
    opacity: 1;
    transform: translateY(0);
}
body.sf-anim-ready .sf-products-banner-section {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
body.sf-anim-ready .sf-products-banner-section.sf-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    body.sf-anim-ready .sf-product-card,
    body.sf-anim-ready .sf-diet-card,
    body.sf-anim-ready .sf-products-banner-section {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .sf-products-banner-section { min-height: auto; padding: 32px 0; }
}
@media (max-width: 575.98px) {
    .sf-product-card-body  { padding: 16px 16px 20px; }
    .sf-product-card-title { font-size: 15px; }
}
/* ── CTA sekcje oferty — lepsza czytelność ── */
#oferta-dieta,
#oferta-kosmetyki {
    min-height: 400px;
}

#oferta-dieta .sf-cta-overlay,
#oferta-kosmetyki .sf-cta-overlay {
    background: rgba(229, 189, 123, 0.82);
}

/* Baner CTA na stronie Diety — mocniej prześwitujące tło.
   Gradient: gęstszy po lewej (czytelny tekst), przezroczysty po prawej (widać zdjęcie). */
#diety-produkty .sf-cta-overlay {
    background: linear-gradient(
        to right,
        rgba(229, 189, 123, 0.85) 0%,
        rgba(229, 189, 123, 0.70) 35%,
        rgba(229, 189, 123, 0.30) 70%,
        rgba(229, 189, 123, 0.15) 100%
    );
}

@media (max-width: 991.98px) {
    /* Na mobile tekst zajmuje całą szerokość — wyrównane, czytelne krycie */
    #diety-produkty .sf-cta-overlay {
        background: rgba(229, 189, 123, 0.78);
    }
}

#oferta-dieta h2,
#oferta-dieta p,
#oferta-kosmetyki h2,
#oferta-kosmetyki p {
    color: var(--sf-dark) !important;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .sf-oferta-hero { min-height: auto; align-items: flex-start; }
    .sf-oferta-hero-container { flex-direction: column; gap: 0; padding-bottom: 0; }
    .sf-oferta-hero-text { flex: none; max-width: 100%; padding: 2rem 0 1rem; }
    .sf-oferta-hero-img-wrap { position: relative; height: 300px; width: 100%; }
    .sf-oferta-hero-img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
}

@media (max-width: 575.98px) {
    .sf-oferta-hero { padding-top: 64px; }
    .sf-oferta-hero-img-wrap { height: 220px; }
}
/* ── Siatka urządzeń Strefy Fitness ───────────────────────── */
.sf-fitness-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:30px;
}
.sf-fitness-card{
  display:flex;
  flex-direction:column;
  background:#fff;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
  transition:transform .25s ease, box-shadow .25s ease;
}
.sf-fitness-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 40px rgba(0,0,0,.10);
}
.sf-fitness-card__img-wrap{
  aspect-ratio:16/10;
  overflow:hidden;
}
.sf-fitness-card__img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .4s ease;
}
.sf-fitness-card:hover .sf-fitness-card__img{ transform:scale(1.04); }
.sf-fitness-card__body{
   display:flex;
  flex-direction:column;
  gap:10px;
  padding:16px 28px 28px;   /* było 26px → teraz 16px od góry (od zdjęcia) */
  flex:1 1 auto;
}
.sf-fitness-card__title{
  font-size:22px;
  font-weight:700;
  margin:0;
  line-height:1.25;
}
.sf-fitness-card__subtitle{
  font-style:italic;
  color: var(--sf-gold);  /* brand gold */
  font-size:15px;
  margin:0;
}
.sf-fitness-card__text{
  font-size:15px;
  line-height:1.6;
  color:#444;
  margin:0 0 6px;
  flex:1 1 auto;
}
.sf-fitness-card .btn-sf{ margin-top:auto; }

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width:767.98px){
  .sf-fitness-grid{ grid-template-columns:1fr; gap:22px; }
  .sf-fitness-card__body{ padding:22px 22px 24px; }
  .sf-fitness-card__title{ font-size:20px; }
}
/* ─────────────────────────────────────────────────────────────
   Kosmetologia Estetyczna — odstęp tekst↔zdjęcie w hero
   (analogicznie do Fitness/Wellness; możesz też dopisać
    #kosmetologia-hero-img-col do istniejącej reguły 992px)
───────────────────────────────────────────────────────────── */
@media (min-width: 992px) {
    #kosmetologia-hero .col-12.col-lg-6:last-child,
    #kosmetologia-hero-img-col { padding-left: 32px; }
}
/* ══════════════════════════════════════════════════════
   TYLKO style których NIE MA w css/style.css motywu
══════════════════════════════════════════════════════ */
/* ── Tylko style których NIE MA w css/style.css motywu ── */
 
.sf-zabieg-hero {
    padding-top: calc(64px + 2rem);
    padding-bottom: 0;
}
.sf-zabieg-hero-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--sf-border);
    margin-bottom: 24px;
}
/* H1 z dwoma liniami: bold (tytuł) + italic (podtytuł) */
.sf-zabieg-hero-top h1 .sf-heading-bold  { font-size: 40px; line-height: 1.15; display: block; }
.sf-zabieg-hero-top h1 .sf-heading-italic { font-size: 23px; line-height: 1.4;  display: block; margin-top: 4px; }

.sf-zabieg-hero-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.sf-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--sf-dark);
    color: #fff;
    text-decoration: none;
    transition: background .2s;
    flex-shrink: 0;
}
.sf-social-btn:hover { background: var(--sf-gold); color: var(--sf-dark); }
 
/* Layout dwukolumnowy: zdjęcie + sidebar — identyczny jak szablon */
.sf-zabieg-body {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
    padding-bottom: 6rem;
}
 
/* Zdjęcie — pełna szerokość lewej kolumny, jak na szablonie */
.sf-zabieg-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 2px;
    margin-bottom: 28px;
}
 
/* Sidebar */
.sf-zabieg-sidebar {
    position: sticky;
    top: calc(64px + 24px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sf-sidebar-cta {
    background: var(--sf-dark);
    border-radius: 2px;
    padding: 24px;
}
.sf-sidebar-cta p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: rgba(255,255,255,.85);
    line-height: 1.6;
    margin-bottom: 16px;
}
.sf-sidebar-devices {
    background: var(--sf-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--sf-border);
    border-radius: 2px;
    padding: 20px;
}
.sf-sidebar-devices-title {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    font-style: italic;
    font-size: 16px;
    color: var(--sf-gold);
    margin-bottom: 8px;
}
.sf-device-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--sf-border);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: var(--sf-muted);
    text-decoration: none;
    transition: color .2s;
}
.sf-device-link:last-child { border-bottom: none; }
.sf-device-link:hover { color: var(--sf-gold); }
.sf-sidebar-hours {
    background: var(--sf-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--sf-border);
    border-radius: 2px;
    padding: 20px;
}
.sf-sidebar-hours-title {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    font-style: italic;
    font-size: 20px;
    color: var(--sf-dark);
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}
.sf-sidebar-hours p {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: var(--sf-muted);
    margin: 0;
    line-height: 1.9;
}
 
/* Treść */
.sf-content-h2 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 23px;
    line-height: 1.4;
    color: var(--sf-dark);
    margin-bottom: 4px;
}
.sf-content-sep {
    border: none;
    border-top: 1px solid var(--sf-border);
    margin: 2.5rem 0;
}
.sf-effects-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
.sf-effect-tag {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--sf-dark);
    background: #fff;
    padding: 7px 18px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.sf-tech-list { display: flex; flex-direction: column; }
.sf-tech-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--sf-border);
}
.sf-tech-row:first-child { border-top: 1px solid var(--sf-border); }
.sf-tech-num {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1;
    color: var(--sf-gold);
    min-width: 28px;
    padding-top: 2px;
    flex-shrink: 0;
}
.sf-tech-row h3 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--sf-dark);
    margin-bottom: 3px;
}
.sf-tech-row p {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.7;
    color: var(--sf-muted);
    margin: 0;
}
.sf-list-dot {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.sf-list-dot li {
    display: flex; gap: 12px; align-items: flex-start;
    font-family: 'Poppins', sans-serif;
    font-weight: 300; font-size: 15px; line-height: 1.65;
    color: var(--sf-dark);
}
.sf-list-dot li::before {
    content: '';
    display: block; width: 6px; height: 6px;
    border-radius: 50%; background: var(--sf-gold);
    margin-top: 9px; flex-shrink: 0;
}
.sf-callout {
    border-left: 3px solid var(--sf-gold);
    background: rgba(229,189,123,.07);
    border-radius: 0 2px 2px 0;
    padding: 20px 24px;
}
.sf-callout h3 {
    font-family: 'Merriweather', serif;
    font-weight: 700; font-size: 15px;
    color: var(--sf-dark); margin-bottom: 8px;
}
.sf-callout p {
    font-family: 'Poppins', sans-serif;
    font-weight: 300; font-size: 14px;
    line-height: 1.75; color: var(--sf-muted);
    margin: 0 0 6px;
}
.sf-callout p:last-child { margin-bottom: 0; }
.sf-contra-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-contra-tag {
    font-family: 'Poppins', sans-serif;
    font-size: 12px; font-weight: 400;
    background: #fff; border: 1px solid #e8b8b8;
    border-radius: 2px; color: #8a2020; padding: 5px 12px;
}
.sf-form-section {
    position: relative; background: var(--sf-gold);
    border-radius: 2px; overflow: hidden; padding: 40px 48px;
}
.sf-form-overlay {
    position: absolute; inset: 0;
    background: rgba(229,189,123,.55); z-index: 0;
}
.sf-form-inner { position: relative; z-index: 1; }
 
/* Responsive */
@media (max-width: 991.98px) {
    .sf-zabieg-body { grid-template-columns: 1fr; gap: 0; }
    .sf-zabieg-sidebar { position: static; order: -1; margin-bottom: 24px; }
    .sf-zabieg-hero-top { flex-direction: column; align-items: flex-start; }
    .sf-form-section { padding: 28px 24px; }
    /* Cały sidebar zbędny na mobile — CTA zastępuje sticky bar,
       a urządzenia i godziny są dostępne ze stopki */
    .sf-zabieg-sidebar { display: none; }
    /* Padding na dole strony żeby sticky bar nie zasłaniał treści */
    .sf-zabieg-body { padding-bottom: 80px; }
}
@media (max-width: 575.98px) {
    .sf-zabieg-hero { padding-top: calc(64px + 1rem); }
    .sf-content-h2 { font-size: 19px; }
    .sf-form-section { padding: 20px; }
    .sf-zabieg-hero-top h1 .sf-heading-bold   { font-size: 28px; }
    .sf-zabieg-hero-top h1 .sf-heading-italic  { font-size: 18px; }
}

/* ── Sticky CTA bar — tylko mobile ── */
.sf-sticky-cta {
    display: none;
}
@media (max-width: 991.98px) {
    .sf-sticky-cta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: var(--sf-dark);
        padding: 12px 20px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
        box-shadow: 0 -2px 16px rgba(0,0,0,.25);
    }
    .sf-sticky-cta p {
        font-family: 'Poppins', sans-serif;
        font-size: 13px;
        font-weight: 300;
        color: rgba(255,255,255,.8);
        margin: 0;
        line-height: 1.4;
        flex: 1;
    }
    .sf-sticky-cta .btn-sf {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 13px;
        padding: 10px 18px;
    }
}
/* ── Swan Shaper — sekcja formularza ── */
.sf-form-section {
    position: relative;
    background: var(--sf-gold);
    border-radius: 2px;
    overflow: hidden;
    padding: 40px 48px;
}
.sf-form-overlay {
    position: absolute;
    inset: 0;
    background: rgba(229,189,123,.55);
    z-index: 0;
}
.sf-form-inner { position: relative; z-index: 1; }

/* Formularz dwukolumnowy */
.sf-form-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* CF7 pola w sekcji formularza */
.sf-form-section .wpcf7-form p { margin-bottom: 0; }
.sf-form-section .wpcf7-form label {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--sf-dark);
    display: block;
    margin-bottom: 6px;
}
.sf-form-section .wpcf7-form input[type="text"],
.sf-form-section .wpcf7-form input[type="tel"],
.sf-form-section .wpcf7-form input[type="email"] {
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(17,14,9,.2);
    border-radius: 2px;
    padding: 12px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--sf-dark);
    background: #fff;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    margin-bottom: 16px;
    display: block;
}
.sf-form-section .wpcf7-form input:focus {
    border-color: var(--sf-dark);
    box-shadow: 0 0 0 3px rgba(17,14,9,.08);
}
.sf-form-section .wpcf7-form input::placeholder {
    color: rgba(17,14,9,.35);
}
.sf-form-section .wpcf7-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    background: var(--sf-dark);
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 2px;
    padding: 14px 32px;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(0,0,0,.08);
    transition: background .2s;
    margin-top: 8px;
}
.sf-form-section .wpcf7-form input[type="submit"]:hover {
    background: rgba(17,14,9,.85);
}
.sf-form-section .wpcf7-form .wpcf7-form-control-wrap {
    display: block;
}
.sf-form-section .wpcf7-response-output {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    border-radius: 2px;
    padding: 12px 16px;
    margin-top: 1rem;
    border: 1px solid rgba(17,14,9,.2);
    background: rgba(255,255,255,.5);
}

/* Pola formularza na pełną szerokość kolumny (bez max-width gdy w gridzie) */
.sf-form-fields .wpcf7-form input[type="text"],
.sf-form-fields .wpcf7-form input[type="tel"],
.sf-form-fields .wpcf7-form input[type="email"] {
    max-width: 100%;
}

/* Responsive */
@media (max-width: 767.98px) {
    .sf-form-two-col {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .sf-form-section {
        padding: 28px 24px;
    }
}
/* ── Karty korzyści (Roll Shaper) ── */
.sf-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 8px;
}
.sf-benefit-card {
    background: #fff;
    border: 1px solid var(--sf-border);
    border-radius: 2px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sf-benefit-num {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 28px;
    color: var(--sf-gold);
    line-height: 1;
    margin-bottom: 4px;
}
.sf-benefit-title {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--sf-dark);
    margin: 0;
}
.sf-benefit-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 13px;
    line-height: 1.7;
    color: var(--sf-muted);
    margin: 0;
}
@media (max-width: 767.98px) {
    .sf-benefits-grid { grid-template-columns: 1fr; }
}
/* ── Maska fotonowa — siatka dwóch świateł ── */
.sf-led-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.sf-led-card {
    border-radius: 2px;
    padding: 24px 20px;
}
.sf-led-red {
    background: rgba(220, 80, 80, .06);
    border: 1px solid rgba(220, 80, 80, .2);
}
.sf-led-blue {
    background: rgba(60, 100, 220, .06);
    border: 1px solid rgba(60, 100, 220, .2);
}
.sf-led-label {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--sf-dark);
    margin-bottom: 14px;
}
.sf-led-red .sf-led-label  { color: #b03030; }
.sf-led-blue .sf-led-label { color: #2c50b0; }
.sf-led-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sf-led-list li {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 13px;
    line-height: 1.6;
    color: var(--sf-muted);
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.sf-led-red  .sf-led-list li::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: #c04040; margin-top: 6px; flex-shrink: 0; }
.sf-led-blue .sf-led-list li::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: #3c64dc; margin-top: 6px; flex-shrink: 0; }
@media (max-width: 575.98px) {
    .sf-led-grid { grid-template-columns: 1fr; }
}
/* ==========================================================================
   404 – Nie znaleziono strony
   ========================================================================== */

.sf-404-page {
    min-height: calc(100vh - 72px); /* viewport minus navbar */
    display: flex;
    flex-direction: column;
}

/* Hero */
.sf-404-hero {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 80px 0 64px;
}

.sf-404-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Wielka liczba 404 jako dekoracja */
.sf-404-code {
    display: block;
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(96px, 18vw, 160px);
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--sf-gold);
    letter-spacing: -4px;
    margin-bottom: 24px;
    user-select: none;
}

.sf-404-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: var(--sf-dark);
    margin-bottom: 20px;
}

.sf-404-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--sf-muted);
    margin-bottom: 36px;
}

.sf-404-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sekcja "Może szukałeś" */
.sf-404-links {
    background-color: var(--sf-bg);
}

.sf-404-links-label {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sf-muted-60);
    margin-bottom: 20px;
}

.sf-404-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 0;
}

.sf-404-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--sf-dark);
    padding: 10px 20px;
    border: 1px solid var(--sf-border);
    border-radius: 2px;
    text-decoration: none;
    transition: border-color .2s, color .2s;
}

.sf-404-link:hover,
.sf-404-link:focus {
    color: var(--sf-gold);
    border-color: var(--sf-gold);
    text-decoration: none;
}

.sf-404-link svg path {
    stroke: currentColor;
}

/* Mobile */
@media (max-width: 575.98px) {
    .sf-404-hero {
        padding: 56px 0 48px;
    }

    .sf-404-actions {
        flex-direction: column;
        align-items: center;
    }

    .sf-404-link-list {
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================================================
   Fix: hamburger + ikona FB – landscape na telefonie
   Problem: plugin Max Mega Menu ma breakpoint 768px, więc telefon w landscape
   (szerokość ~844–932px) traktowany jest jak desktop i toggle renderuje się
   w pełnym rozmiarze, nakrywając treść strony.
   Rozwiązanie: jawnie ukrywamy toggle na ≥992px i wymuszamy jego widoczność
   + poprawny rozmiar ikonki FB na <992px.
   ========================================================================== */

/* Desktop (≥992px) – ukryj hamburger, pokaż pełne menu */
@media (min-width: 992px) {
    #mega-menu-wrap-primary .mega-menu-toggle {
        display: none !important;
    }
    #mega-menu-wrap-primary #mega-menu-primary {
        display: flex !important;
        position: static !important;
        background: transparent !important;
        height: auto !important;
        width: auto !important;
        padding: 0 !important;
    }
}

/* Mobile + landscape telefon (<992px) – ogranicz rozmiar ikonki FB */
@media (max-width: 991.98px) {
    /* Kontener toggle – wyrównaj elementy */
    #mega-menu-wrap-primary .mega-menu-toggle {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
    }

    /* Ikonka FB / każdy obraz w toggle bloku */
    #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block img,
    #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block svg,
    #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block a {
        width: 32px !important;
        height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }
}
/* ==========================================================================
   POLITYKA PRYWATNOŚCI  –  dopisz na końcu css/style.css
   ========================================================================== */

.polityka-prywatnosci {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
  font-family: 'Poppins', sans-serif;
  color: #2b2620;
  line-height: 1.7;
  font-size: 1rem;
}

.polityka-prywatnosci h2 {
  font-family: 'Merriweather', serif;
  color: var(--sf-dark, #110e09);
  font-size: 1.55rem;
  line-height: 1.3;
  margin: 2.6rem 0 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--sf-gold, #e5bd7b);
}

.polityka-prywatnosci h3 {
  font-family: 'Merriweather', serif;
  color: var(--sf-dark, #110e09);
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 1.9rem 0 .8rem;
}

.polityka-prywatnosci p {
  margin: 0 0 1.1rem;
}

.polityka-prywatnosci ul,
.polityka-prywatnosci ol {
  margin: 0 0 1.3rem;
  padding-left: 1.3rem;
}

.polityka-prywatnosci li {
  margin-bottom: .55rem;
}

.polityka-prywatnosci ol li::marker {
  color: var(--sf-gold, #e5bd7b);
  font-weight: 600;
}

.polityka-prywatnosci a {
  color: #b8862f;            /* czytelniejszy gold na białym tle */
  text-decoration: underline;
  word-break: break-word;
}

.polityka-prywatnosci a:hover {
  color: var(--sf-dark, #110e09);
}

/* --- Tabele (responsywne, przewijane poziomo na mobile) ------------------ */
.polityka-tabela {
  margin: 0 0 1.8rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 6px;
}

.polityka-prywatnosci table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.polityka-prywatnosci th,
.polityka-prywatnosci td {
  border: 1px solid #e6ddcb;
  padding: .9rem 1rem;
  text-align: left;
  vertical-align: top;
  font-size: .93rem;
  line-height: 1.6;
}

.polityka-prywatnosci thead th {
  background: var(--sf-dark, #110e09);
  color: var(--sf-gold, #e5bd7b);
  font-family: 'Merriweather', serif;
  font-weight: 600;
  white-space: normal;
}

.polityka-prywatnosci tbody th {
  background: #faf3e6;
  color: var(--sf-dark, #110e09);
  font-weight: 600;
  white-space: normal;
}

.polityka-prywatnosci tbody tr:nth-child(even) td {
  background: #fcfaf6;
}

@media (max-width: 767px) {
  .polityka-prywatnosci h2 { font-size: 1.35rem; }
  .polityka-prywatnosci h3 { font-size: 1.1rem; }
  .polityka-prywatnosci { font-size: .96rem; }
}