/*
Theme Name: Sosenka
Theme URI: https://marketingczarnecki.pl/
Author: Marketing M.Czarnecki
Author URI: https://marketingczarnecki.pl
Description: Sosenka custom theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sosenka
Tags: responsive, custom-colors
*/

/* ================================================================
   VARIABLES
================================================================ */
:root {
    --font:              "Montserrat", sans-serif;
    --green:             #25a244;
    --green-hover:       #1e8a38;
    --brown:             #8B4513;
    --brown-hover:       #a0521a;
    --white:             #ffffff;
    --dark:              #1a1a1a;
    --footer-bg:         #2c1a0e;
    --footer-bottom-bg:  #1e1008;
    --max-w:             1440px;
    --pad-x:             64px;
    --topbar-h:          42px;
    --header-h:          80px;
    --header-h-sticky:   68px;
    --ease:              cubic-bezier(0.4, 0, 0.2, 1);
    --t:                 0.3s;
}

/* ================================================================
   RESET
================================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Admin bar fix — WordPress dodaje margin-top do body/html */
html { margin-top: 0 !important; }
body { margin-top: 0 !important; }
#wpadminbar { position: fixed !important; }

body {
    font-family: var(--font);
    width: 100%;
    overflow-x: hidden;
    background: #fff;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ================================================================
   HEADER
================================================================ */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    transition:
        background var(--t) var(--ease),
        box-shadow  var(--t) var(--ease);
}

/* Gdy zalogowany — przesunięcie pod admin bar */
.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header { top: 46px; }
}

.site-header.is-sticky {
    background:  var(--white);
    box-shadow:  0 2px 24px rgba(0, 0, 0, 0.10);
}

/* ----------------------------------------------------------------
   TOP BAR
---------------------------------------------------------------- */
.header-topbar {
    width:    100%;
    overflow: hidden;
    height:   var(--topbar-h);
    transition:
        height  var(--t) var(--ease),
        opacity var(--t) var(--ease);
    opacity: 1;
}

.site-header.is-sticky .header-topbar {
    height:         0;
    opacity:        0;
    pointer-events: none;
}

.header-topbar__inner {
    max-width:   var(--max-w);
    margin:      0 auto;
    padding:     0 var(--pad-x);
    height:      100%;
    display:     flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-right {
    display:     flex;
    align-items: center;
    gap: 16px;
}

.topbar-item {
    display:     inline-flex;
    align-items: center;
    gap: 7px;
    color:       var(--white);
    font-size:   13px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.topbar-item i {
    font-size: 11px;
    opacity: 0.80;
}

.topbar-item a {
    color: var(--white);
    transition: opacity var(--t);
}

.topbar-item a:hover {
    opacity: 0.70;
}

.topbar-sep {
    color:       rgba(255, 255, 255, 0.35);
    font-weight: 300;
    user-select: none;
}

/* ----------------------------------------------------------------
   MAIN ROW
---------------------------------------------------------------- */
.header-main {
    width: 100%;
}

.header-main__inner {
    max-width:   var(--max-w);
    margin:      0 auto;
    padding:     0 var(--pad-x);
    height:      var(--header-h);
    display:     flex;
    align-items: center;
    justify-content: space-between;
    transition:  height var(--t) var(--ease);
}

.site-header.is-sticky .header-main__inner {
    height: var(--header-h-sticky);
}

/* ----------------------------------------------------------------
   LOGO
---------------------------------------------------------------- */
.header-logo {
    position:    relative;
    display:     flex;
    align-items: center;
    flex-shrink: 0;
    cursor:      pointer;
}

.header-logo .logo {
    height:     52px;
    width:      auto;
    object-fit: contain;
    transition: height var(--t) var(--ease), opacity var(--t) var(--ease);
}

.logo-default { opacity: 1; position: static;   }
.logo-sticky  { opacity: 0; position: absolute; pointer-events: none; }

.site-header.is-sticky .logo-default { opacity: 0; position: absolute; pointer-events: none; }
.site-header.is-sticky .logo-sticky  { opacity: 1; position: static;   pointer-events: auto; }

.site-header.is-sticky .header-logo .logo {
    height: 42px;
}

/* ----------------------------------------------------------------
   NAV
---------------------------------------------------------------- */
.header-nav {
    display:     flex;
    align-items: center;
    gap:         28px;
}

.nav-list {
    display:     flex;
    align-items: center;
    gap:         4px;
    list-style:  none;
}

.nav-list li a {
    position:        relative;
    display:         inline-block;
    padding:         6px 12px;
    color:           var(--white);
    font-size:       14px;
    font-weight:     600;
    letter-spacing:  0.02em;
    text-decoration: none;
    transition:      color var(--t) var(--ease);
}

.nav-list li a::after {
    content:          '';
    position:         absolute;
    bottom:           2px;
    left:             12px;
    right:            12px;
    height:           2px;
    background:       var(--white);
    border-radius:    1px;
    transform:        scaleX(0);
    transform-origin: left center;
    transition:       transform 0.25s var(--ease);
}

.nav-list li a:hover::after,
.nav-list li a:focus-visible::after,
.nav-list li a:active::after {
    transform: scaleX(1);
}

.site-header.is-sticky .nav-list li a        { color: var(--dark); }
.site-header.is-sticky .nav-list li a::after { background: #deb887; }

/* ----------------------------------------------------------------
   WHATSAPP BUTTON (header)
---------------------------------------------------------------- */
.btn-whatsapp {
    display:         inline-flex;
    align-items:     center;
    gap:             8px;
    padding:         10px 22px;
    background:      var(--green);
    color:           var(--white) !important;
    font-family:     var(--font);
    font-size:       14px;
    font-weight:     700;
    border-radius:   6px;
    white-space:     nowrap;
    text-decoration: none;
    box-shadow:      0 2px 10px rgba(37, 162, 68, 0.35);
    transition:
        background var(--t) var(--ease),
        box-shadow var(--t) var(--ease),
        transform  0.2s    var(--ease);
}

.btn-whatsapp i      { font-size: 18px; line-height: 1; }
.btn-whatsapp:hover  { background: var(--green-hover); box-shadow: 0 4px 18px rgba(37,162,68,0.50); transform: translateY(-2px); }
.btn-whatsapp:active { transform: translateY(0); }

/* ================================================================
   HERO
================================================================ */
.hero {
    position:            relative;
    width:               100%;
    min-height:          100svh;
    background-color:    #1a1008;
    background-size:     cover;
    background-position: center;
    background-repeat:   no-repeat;
    display:             flex;
    align-items:         center;
    overflow:            hidden;
}

.hero__overlay {
    position:   absolute;
    inset:      0;
    background: linear-gradient(108deg, rgba(8,5,1,.74) 0%, rgba(15,9,3,.52) 52%, rgba(8,5,1,.26) 100%);
    z-index:    1;
}

.hero__inner {
    position:       relative;
    z-index:        2;
    width:          100%;
    max-width:      var(--max-w);
    margin:         0 auto;
    padding:        180px var(--pad-x) 140px;
    display:        flex;
    flex-direction: column;
    align-items:    flex-start;
    gap:            22px;
}

.hero__badge,
.hero__heading,
.hero__text,
.hero__buttons { max-width: 720px; }

.hero__badge   { animation: hero-fade-up 0.7s var(--ease) 0.10s both; }
.hero__heading { animation: hero-fade-up 0.7s var(--ease) 0.25s both; }
.hero__text    { animation: hero-fade-up 0.7s var(--ease) 0.40s both; }
.hero__buttons { animation: hero-fade-up 0.7s var(--ease) 0.55s both; }

@keyframes hero-fade-up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero__badge {
    display:         inline-block;
    padding:         7px 16px;
    background:      rgba(139, 69, 19, 0.82);
    color:           var(--white);
    font-size:       13px;
    font-weight:     600;
    letter-spacing:  0.04em;
    border-radius:   4px;
    backdrop-filter: blur(6px);
}

.hero__heading {
    font-size:      clamp(36px, 5.2vw, 70px);
    font-weight:    800;
    line-height:    1.08;
    color:          var(--white);
    letter-spacing: -0.02em;
}

.hero__text {
    color:       rgba(255,255,255,0.88);
    font-size:   clamp(14px, 1.5vw, 17px);
    font-weight: 400;
    line-height: 1.70;
}

.hero__text p            { margin: 0 0 8px; }
.hero__text p:last-child { margin-bottom: 0; }
.hero__text p:first-child {
    font-size:     clamp(14px, 1.4vw, 16px);
    font-weight:   600;
    color:         var(--white);
    margin-bottom: 10px;
}

.hero__buttons {
    display:    flex;
    flex-wrap:  wrap;
    gap:        14px;
    margin-top: 6px;
}

.hero__btn {
    display:         inline-flex;
    align-items:     center;
    justify-content: center;
    padding:         14px 32px;
    font-family:     var(--font);
    font-size:       15px;
    font-weight:     700;
    border-radius:   6px;
    white-space:     nowrap;
    text-decoration: none;
    transition:
        background   var(--t) var(--ease),
        border-color var(--t) var(--ease),
        box-shadow   var(--t) var(--ease),
        transform    0.2s     var(--ease);
}

.hero__btn--primary {
    background:  var(--brown);
    color:       var(--white);
    border:      2px solid var(--brown);
    box-shadow:  0 4px 18px rgba(139,69,19,0.45);
}
.hero__btn--primary:hover {
    background:   var(--brown-hover);
    border-color: var(--brown-hover);
    box-shadow:   0 6px 26px rgba(139,69,19,0.55);
    transform:    translateY(-2px);
}

.hero__btn--secondary {
    background: transparent;
    color:      var(--white);
    border:     2px solid rgba(255,255,255,0.65);
}
.hero__btn--secondary:hover {
    background:   rgba(255,255,255,0.10);
    border-color: var(--white);
    transform:    translateY(-2px);
}

.hero__btn:active { transform: translateY(0); }

/* Scroll indicator */
.hero__scroll {
    position:  absolute;
    bottom:    32px;
    left:      50%;
    transform: translateX(-50%);
    z-index:   2;
    opacity:   0;
    animation:
        scroll-appear 0.6s var(--ease) 1.2s forwards,
        scroll-pulse  2.4s var(--ease) 1.8s infinite;
}

@keyframes scroll-appear { to   { opacity: 0.65; } }
@keyframes scroll-pulse  { 0%,100% { opacity:.65; } 50% { opacity:.30; } }

.hero__scroll-mouse {
    width:         26px;
    height:        42px;
    border:        2px solid rgba(255,255,255,0.80);
    border-radius: 13px;
    display:       flex;
    justify-content: center;
    padding-top:   7px;
}

.hero__scroll-wheel {
    width:         4px;
    height:        8px;
    background:    var(--white);
    border-radius: 2px;
    animation:     wheel-scroll 1.8s var(--ease) infinite;
}

@keyframes wheel-scroll {
    0%   { transform: translateY(0);    opacity: 1; }
    60%  { transform: translateY(10px); opacity: 0.15; }
    100% { transform: translateY(0);    opacity: 1; }
}

/* ================================================================
   FOOTER
================================================================ */
.site-footer {
    background: var(--footer-bg);
    color:      rgba(255,255,255,0.80);
    font-size:  14px;
}

/* Top */
.footer__top {
    padding: 72px 0 56px;
}

.footer__inner {
    max-width:   var(--max-w);
    margin:      0 auto;
    padding:     0 var(--pad-x);
    display:     grid;
    grid-template-columns: 1.4fr 1fr 1.4fr;
    gap:         48px 64px;
    align-items: start;
}

/* COL brand */
.footer__col--brand {
    display:        flex;
    flex-direction: column;
    gap:            20px;
}

.footer__logo img {
    height:     52px;
    width:      auto;
    object-fit: contain;
}

.footer__brand-text {
    color:       rgba(255,255,255,0.65);
    font-size:   14px;
    line-height: 1.70;
}

.footer__brand-text p { margin: 0; }

.footer__social {
    display: flex;
    gap:     10px;
    margin-top: 4px;
}

.footer__social-link {
    display:         flex;
    align-items:     center;
    justify-content: center;
    width:           40px;
    height:          40px;
    border-radius:   50%;
    background:      rgba(255,255,255,0.10);
    color:           rgba(255,255,255,0.80);
    font-size:       15px;
    transition:
        background var(--t) var(--ease),
        color      var(--t) var(--ease),
        transform  0.2s    var(--ease);
}

.footer__social-link:hover {
    background: var(--brown);
    color:      var(--white);
    transform:  translateY(-2px);
}

/* COL title */
.footer__col-title {
    font-size:      15px;
    font-weight:    700;
    color:          #deb887;
    letter-spacing: 0.02em;
    margin-bottom:  20px;
}

/* Footer nav */
.footer__nav {
    list-style: none;
    display:    flex;
    flex-direction: column;
    gap:        10px;
}

.footer__nav li a {
    color:      rgba(255,255,255,0.65);
    font-size:  14px;
    font-weight: 500;
    transition: color var(--t) var(--ease), padding-left var(--t) var(--ease);
    display:    inline-block;
}

.footer__nav li a:hover {
    color:        #deb887;
    padding-left: 6px;
}

/* Contact items */
.footer__contact-item {
    display:     flex;
    align-items: flex-start;
    gap:         12px;
    margin-bottom: 16px;
    color:       rgba(255,255,255,0.70);
    font-size:   14px;
    line-height: 1.60;
}

.footer__contact-item:last-child { margin-bottom: 0; }

.footer__contact-item i {
    font-size:  15px;
    color:      #deb887;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer__contact-item a {
    color:      rgba(255,255,255,0.70);
    transition: color var(--t) var(--ease);
}

.footer__contact-item a:hover { color: #deb887; }

.footer__contact-item p { margin: 0; }

/* Bottom bar */
.footer__bottom {
    background:  var(--footer-bottom-bg);
    border-top:  1px solid rgba(255,255,255,0.08);
    padding:     20px 0;
}

.footer__bottom-inner {
    max-width:       var(--max-w);
    margin:          0 auto;
    padding:         0 var(--pad-x);
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    gap:             16px;
}

.footer__copy,
.footer__credit {
    font-size:   12px;
    color:       rgba(255,255,255,0.45);
}

.footer__credit a {
    color:      rgba(255,255,255,0.65);
    transition: color var(--t) var(--ease);
}

.footer__credit a:hover { color: var(--white); }

/* ================================================================
   BACK TO TOP
================================================================ */
.back-to-top {
    position:    fixed;
    bottom:      28px;
    left:        28px;
    z-index:     900;
    width:       46px;
    height:      46px;
    border-radius: 50%;
    background:  var(--brown);
    color:       var(--white);
    border:      none;
    cursor:      pointer;
    display:     flex;
    align-items: center;
    justify-content: center;
    font-size:   16px;
    box-shadow:  0 4px 14px rgba(0,0,0,0.25);
    opacity:     0;
    visibility:  hidden;
    transform:   translateY(12px);
    transition:
        opacity    var(--t) var(--ease),
        visibility var(--t) var(--ease),
        transform  var(--t) var(--ease),
        background var(--t) var(--ease);
}

.back-to-top.is-visible {
    opacity:    1;
    visibility: visible;
    transform:  translateY(0);
}

.back-to-top:hover    { background: var(--brown-hover); transform: translateY(-2px); }
.back-to-top:active   { transform: translateY(0); }

/* ================================================================
   FLOAT WHATSAPP
================================================================ */
.float-whatsapp {
    position:    fixed;
    bottom:      28px;
    right:       28px;
    z-index:     900;
    width:       52px;
    height:      52px;
    border-radius: 50%;
    background:  var(--green);
    color:       var(--white);
    display:     flex;
    align-items: center;
    justify-content: center;
    font-size:   26px;
    box-shadow:  0 4px 16px rgba(37,162,68,0.45);
    transition:
        background var(--t) var(--ease),
        transform  0.2s    var(--ease),
        box-shadow var(--t) var(--ease);
    animation:   float-wa-pulse 3s ease-in-out infinite;
}

.float-whatsapp:hover {
    background: var(--green-hover);
    transform:  scale(1.08);
    box-shadow: 0 6px 22px rgba(37,162,68,0.60);
    animation:  none;
}

@keyframes float-wa-pulse {
    0%,100% { box-shadow: 0 4px 16px rgba(37,162,68,0.45); }
    50%     { box-shadow: 0 6px 28px rgba(37,162,68,0.70); }
}

/* ================================================================
   COOKIE BANNER
================================================================ */
.cookie-banner {
    position:    fixed;
    bottom:      24px;
    left:        50%;
    transform:   translateX(-50%);
    z-index:     9999;
    width:       min(680px, calc(100vw - 32px));
    background:  #1e1208;
    border:      1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    box-shadow:  0 8px 40px rgba(0,0,0,0.45);
    padding:     24px 28px;
    animation:   cookie-in 0.4s var(--ease) both;
}

.cookie-banner[hidden] { display: none; }

.cookie-banner.is-hiding {
    animation: cookie-out 0.4s var(--ease) forwards;
}

@keyframes cookie-in  { from { opacity:0; transform:translateX(-50%) translateY(20px); } to { opacity:1; transform:translateX(-50%) translateY(0); } }
@keyframes cookie-out { to   { opacity:0; transform:translateX(-50%) translateY(20px); } }

.cookie-banner__inner {
    display:     flex;
    align-items: center;
    gap:         24px;
    flex-wrap:   wrap;
}

.cookie-banner__text {
    flex:        1 1 300px;
    color:       rgba(255,255,255,0.80);
    font-size:   13px;
    line-height: 1.60;
}

.cookie-banner__text strong {
    display:       block;
    color:         var(--white);
    font-size:     14px;
    font-weight:   700;
    margin-bottom: 6px;
}

.cookie-banner__text p { margin: 0; }

.cookie-banner__actions {
    display:  flex;
    gap:      10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding:      10px 20px;
    font-family:  var(--font);
    font-size:    13px;
    font-weight:  700;
    border-radius: 6px;
    border:       none;
    cursor:       pointer;
    white-space:  nowrap;
    transition:
        background var(--t) var(--ease),
        transform  0.2s    var(--ease);
}

.cookie-btn--accept {
    background: var(--green);
    color:      var(--white);
}
.cookie-btn--accept:hover    { background: var(--green-hover); transform: translateY(-1px); }

.cookie-btn--necessary {
    background: rgba(255,255,255,0.12);
    color:      rgba(255,255,255,0.80);
}
.cookie-btn--necessary:hover { background: rgba(255,255,255,0.20); transform: translateY(-1px); }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
    :root { --pad-x: 40px; }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer__col--brand {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 24px;
    }

}

@media (max-width: 768px) {
    :root {
        --pad-x:           24px;
        --header-h:        64px;
        --header-h-sticky: 58px;
    }

    .header-topbar    { display: none; }
    .nav-list         { display: none; }

    .btn-whatsapp span { display: none; }
    .btn-whatsapp      { padding: 10px 13px; }

    .hero__inner        { padding-top: 130px; padding-bottom: 100px; gap: 16px; }
    .hero__buttons      { flex-direction: column; width: 100%; }
    .hero__btn          { width: 100%; justify-content: center; }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer__col--brand { flex-direction: column; }

    .footer__bottom-inner {
        flex-direction: column;
        text-align:     center;
        gap:            8px;
    }

    .back-to-top   { bottom: 20px; left:  20px; width: 42px; height: 42px; }
    .float-whatsapp{ bottom: 20px; right: 20px; width: 48px; height: 48px; font-size: 22px; }

    .cookie-banner {
        bottom:  0;
        left:    0;
        right:   0;
        width:   100%;
        border-radius: 12px 12px 0 0;
        transform: none;
    }

    .cookie-banner.is-hiding {
        animation: cookie-out-mobile 0.4s var(--ease) forwards;
    }

    @keyframes cookie-out-mobile { to { opacity:0; transform: translateY(100%); } }
    @keyframes cookie-in         { from { opacity:0; transform: translateY(100%); } to { opacity:1; transform: translateY(0); } }
}

.why {
    background: #f5f0e8;
    padding:    96px 0 100px;
}
 
.why__inner {
    max-width: var(--max-w);
    margin:    0 auto;
    padding:   0 var(--pad-x);
}
 
/* Nagłówek sekcji */
.why__header {
    text-align:    center;
    margin-bottom: 56px;
}
 
.why__heading {
    font-size:      clamp(28px, 3.2vw, 42px);
    font-weight:    800;
    color:          var(--dark);
    letter-spacing: -0.02em;
    line-height:    1.15;
    margin-bottom:  14px;
}
 
.why__subtext {
    font-size:   clamp(14px, 1.4vw, 16px);
    color:       #6b6055;
    line-height: 1.65;
}
 
.why__subtext p { margin: 0; }
 
/* Grid kart */
.why__grid {
    display:               grid;
    grid-template-columns: repeat(4, 1fr);
    gap:                   24px;
}
 
/* Karta */
.why__card {
    background:    #ffffff;
    border-radius: 14px;
    padding:       32px 28px 36px;
    box-shadow:    0 2px 12px rgba(0,0,0,0.06);
    transition:
        transform  var(--t) var(--ease),
        box-shadow var(--t) var(--ease);
 
    /* Entrance animation — stagger przez CSS custom property */
    opacity:   0;
    transform: translateY(30px);
    animation: why-card-in 0.6s var(--ease) calc(0.1s + var(--i, 0) * 0.12s) forwards;
}
 
@keyframes why-card-in {
    to { opacity: 1; transform: translateY(0); }
}
 
.why__card:hover {
    transform:  translateY(-6px);
    box-shadow: 0 10px 32px rgba(139,69,19,0.12);
}
 
/* Ikona */
.why__card-icon {
    width:           52px;
    height:          52px;
    border-radius:   12px;
    background:      rgba(139,69,19,0.10);
    display:         flex;
    align-items:     center;
    justify-content: center;
    margin-bottom:   24px;
    transition:      background var(--t) var(--ease);
}
 
.why__card-icon i {
    font-size: 22px;
    color:     var(--brown);
    transition: color var(--t) var(--ease);
}
 
.why__card:hover .why__card-icon {
    background: var(--brown);
}
 
.why__card:hover .why__card-icon i {
    color: var(--white);
}
 
/* Tytuł karty */
.why__card-title {
    font-size:     16px;
    font-weight:   700;
    color:         var(--dark);
    line-height:   1.30;
    margin-bottom: 10px;
}
 
/* Tekst karty */
.why__card-text {
    font-size:   14px;
    color:       #7a6f65;
    line-height: 1.65;
    margin:      0;
}
 
/* ----------------------------------------------------------------
   Responsive — why
---------------------------------------------------------------- */
@media (max-width: 1024px) {
    .why__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
 
@media (max-width: 600px) {
    .why {
        padding: 64px 0 72px;
    }
 
    .why__grid {
        grid-template-columns: 1fr;
    }
 
    .why__header {
        margin-bottom: 40px;
    }
}

/* ================================================================
   USŁUGI
================================================================ */
.services {
    background: #fafaf8;
    padding:    96px 0 100px;
}

.services__inner {
    max-width: var(--max-w);
    margin:    0 auto;
    padding:   0 var(--pad-x);
}

.services__header {
    text-align:    center;
    margin-bottom: 52px;
}

.services__heading {
    font-size:      clamp(28px, 3.2vw, 42px);
    font-weight:    800;
    color:          var(--dark);
    letter-spacing: -0.02em;
    line-height:    1.15;
    margin-bottom:  14px;
}

.services__subtext {
    font-size:   clamp(14px, 1.4vw, 16px);
    color:       #6b6055;
    line-height: 1.65;
}

.services__subtext p { margin: 0; }

/* Grid 3×2 */
.services__grid {
    display:               grid;
    grid-template-columns: repeat(3, 1fr);
    gap:                   20px;
}

/* Karta — poziomy układ ikona + tekst */
.services__card {
    display:       flex;
    align-items:   flex-start;
    gap:           20px;
    background:    #ffffff;
    border-radius: 14px;
    padding:       28px 24px;
    border: 1px solid #e5e0d5;
    box-shadow:    0 2px 10px rgba(0,0,0,0.05);
    transition:
        transform  var(--t) var(--ease),
        box-shadow var(--t) var(--ease);

    opacity:   0;
    transform: translateY(28px);
    animation: svc-card-in 0.6s var(--ease) calc(0.05s + var(--i,0) * 0.10s) forwards;
}

@keyframes svc-card-in {
    to { opacity: 1; transform: translateY(0); }
}

.services__card:hover {
    transform:  translateY(-5px);
    border-color: #8b4513;
    box-shadow: 0 10px 28px rgba(139,69,19,0.12);
}

/* Ikona */
.services__card-icon {
    flex-shrink:     0;
    width:           48px;
    height:          48px;
    border-radius:   10px;
    background:      rgba(45,80,22,0.10);
    display:         flex;
    align-items:     center;
    justify-content: center;
    transition:      background var(--t) var(--ease);
}

.services__card-icon i {
    font-size: 20px;
    color:     #2d5016;
    transition: color var(--t) var(--ease);
}

.services__card:hover .services__card-icon {
    background: #2d5016;
}

.services__card:hover .services__card-icon i {
    color: var(--white);
}

/* Body */
.services__card-body {
    display:        flex;
    flex-direction: column;
    gap:            6px;
}

.services__card-title {
    font-size:   16px;
    font-weight: 700;
    color:       var(--dark);
    line-height: 1.25;
}

.services__card-text {
    font-size:   13px;
    color:       #7a6f65;
    line-height: 1.60;
    margin:      0;
}

/* Responsive */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services { padding: 64px 0 72px; }
    .services__grid { grid-template-columns: 1fr; }
    .services__header { margin-bottom: 36px; }
}

/* ================================================================
   REALIZACJE — sekcja na stronie głównej
================================================================ */
.real-section {
    background: #f5f0e8;
    padding:    96px 0 100px;
}

.real__inner {
    max-width: var(--max-w);
    margin:    0 auto;
    padding:   0 var(--pad-x);
}

/* Nagłówek */
.real__header {
    text-align:    center;
    margin-bottom: 40px;
}

.real__heading {
    font-size:      clamp(28px, 3.2vw, 42px);
    font-weight:    800;
    color:          var(--dark);
    letter-spacing: -0.02em;
    line-height:    1.15;
    margin-bottom:  12px;
}

.real__subtext {
    font-size:   clamp(14px, 1.4vw, 16px);
    color:       #6b6055;
    line-height: 1.65;
}

.real__subtext p { margin: 0; }

/* Filtry */
.real__filters {
    display:         flex;
    flex-wrap:       wrap;
    justify-content: center;
    gap:             8px;
    margin-bottom:   40px;
}

.real__filter {
    padding:      8px 20px;
    font-family:  var(--font);
    font-size:    14px;
    font-weight:  600;
    border-radius: 6px;
    border:       1px solid #d8d0c4;
    background:   transparent;
    color:        #5a4a3a;
    cursor:       pointer;
    transition:
        background  var(--t) var(--ease),
        border-color var(--t) var(--ease),
        color        var(--t) var(--ease),
        transform    0.15s   var(--ease);
}

.real__filter:hover {
    border-color: var(--brown);
    color:        var(--brown);
    transform:    translateY(-1px);
}

.real__filter.is-active {
    background:   var(--brown);
    border-color: var(--brown);
    color:        var(--white);
}

/* Grid */
.real__grid {
    display:               grid;
    grid-template-columns: repeat(4, 1fr);
    gap:                   4px;
    margin-bottom:         48px;
}

/* Item */
.real__item {
    position:     relative;
    overflow:     hidden;
    border-radius: 8px;
    cursor:       pointer;
    aspect-ratio: 4 / 3;
    background:   #e8e0d5;
}

.real__item.is-hidden {
    display: none;
}

.real__item img {
    width:      100%;
    height:     100%;
    object-fit: cover;
    display:    block;
    transition: transform 0.45s var(--ease);
}

.real__item:hover img {
    transform: scale(1.06);
}

/* Overlay ciemny */
.real__item-overlay {
    position:   absolute;
    inset:      0;
    background: rgba(0,0,0,0);
    transition: background 0.35s var(--ease);
    z-index:    1;
}

.real__item:hover .real__item-overlay {
    background: rgba(0,0,0,0.25);
}

/* Podpis na hover — wyśrodkowany na obrazie */
.real__item-caption {
    position:     absolute;
    top:          50%;
    left:         50%;
    transform:    translate(-50%, -50%) scale(0.85);
    background:   rgba(139,69,19,0.92);
    color:        var(--white);
    font-size:    13px;
    font-weight:  600;
    padding:      10px 20px;
    border-radius: 8px;
    z-index:      2;
    white-space:  nowrap;
    max-width:    calc(100% - 24px);
    overflow:     hidden;
    text-overflow: ellipsis;
    opacity:      0;
    transition:
        opacity   0.30s var(--ease),
        transform 0.30s var(--ease);
    pointer-events: none;
}

.real__item:hover .real__item-caption {
    opacity:   1;
    transform: translate(-50%, -50%) scale(1);
}

/* Przycisk */
.real__footer {
    text-align: center;
}

.real__btn {
    display:         inline-flex;
    align-items:     center;
    gap:             10px;
    padding:         14px 36px;
    background:      var(--brown);
    color:           var(--white);
    font-family:     var(--font);
    font-size:       15px;
    font-weight:     700;
    border-radius:   8px;
    text-decoration: none;
    box-shadow:      0 4px 16px rgba(139,69,19,0.35);
    transition:
        background var(--t) var(--ease),
        box-shadow var(--t) var(--ease),
        transform  0.2s    var(--ease);
}

.real__btn:hover {
    background: var(--brown-hover);
    box-shadow: 0 6px 22px rgba(139,69,19,0.50);
    transform:  translateY(-2px);
}

.real__btn:active { transform: translateY(0); }

.real__btn i { font-size: 14px; }

/* ================================================================
   LIGHTBOX
================================================================ */
.real-lb {
    position:        fixed;
    inset:           0;
    z-index:         9000;
    background:      rgba(0,0,0,0.92);
    display:         flex;
    align-items:     center;
    justify-content: center;
    animation:       lb-in 0.25s var(--ease);
}

.real-lb[hidden] { display: none; }

@keyframes lb-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.real-lb__content {
    position:   relative;
    max-width:  min(1100px, 92vw);
    max-height: 90vh;
    display:    flex;
    flex-direction: column;
    align-items: center;
}

.real-lb__content img {
    max-width:   100%;
    max-height:  80vh;
    object-fit:  contain;
    border-radius: 6px;
    display:     block;
    box-shadow:  0 8px 40px rgba(0,0,0,0.60);
}

.real-lb__caption {
    margin:      12px 0 0;
    color:       rgba(255,255,255,0.88);
    font-size:   14px;
    font-weight: 500;
    text-align:  center;
    line-height: 1.50;
    padding:     0 16px;
}

/* Przyciski nawigacji */
.real-lb__nav {
    position:    fixed;
    top:         50%;
    transform:   translateY(-50%);
    background:  rgba(255,255,255,0.12);
    border:      none;
    color:       var(--white);
    font-size:   20px;
    width:       52px;
    height:      52px;
    border-radius: 50%;
    cursor:      pointer;
    display:     flex;
    align-items: center;
    justify-content: center;
    transition:
        background var(--t) var(--ease),
        transform  0.2s    var(--ease);
    z-index:     9001;
}

.real-lb__nav:hover {
    background: rgba(255,255,255,0.25);
    transform:  translateY(-50%) scale(1.08);
}

.real-lb__nav--prev { left:  24px; }
.real-lb__nav--next { right: 24px; }

/* Przycisk zamknij */
.real-lb__close {
    position:    fixed;
    top:         20px;
    right:       24px;
    background:  rgba(255,255,255,0.12);
    border:      none;
    color:       var(--white);
    font-size:   20px;
    width:       44px;
    height:      44px;
    border-radius: 50%;
    cursor:      pointer;
    display:     flex;
    align-items: center;
    justify-content: center;
    z-index:     9001;
    transition:  background var(--t) var(--ease);
}

.real-lb__close:hover { background: rgba(255,255,255,0.25); }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
    .real__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .real-section { padding: 64px 0 72px; }
    .real__grid   { grid-template-columns: repeat(2, 1fr); }
    .real-lb__nav--prev { left:  8px; }
    .real-lb__nav--next { right: 8px; }
}

@media (max-width: 480px) {
    .real__grid { grid-template-columns: repeat(2, 1fr); gap: 3px; }
    .real__filters { gap: 6px; }
    .real__filter  { padding: 6px 14px; font-size: 13px; }
}

/* ================================================================
   JAK DZIAŁAMY
================================================================ */
.steps {
    background: #fafaf8;
    padding:    96px 0 100px;
}

.steps__inner {
    max-width: var(--max-w);
    margin:    0 auto;
    padding:   0 var(--pad-x);
}

.steps__header {
    text-align:    center;
    margin-bottom: 64px;
}

.steps__heading {
    font-size:      clamp(28px, 3.2vw, 42px);
    font-weight:    800;
    color:          var(--dark);
    letter-spacing: -0.02em;
    line-height:    1.15;
    margin-bottom:  14px;
}

.steps__subtext {
    font-size:   clamp(14px, 1.4vw, 16px);
    color:       #6b6055;
    line-height: 1.65;
}

.steps__subtext p { margin: 0; }

/* ----------------------------------------------------------------
   Track — względem pozycji ikon
---------------------------------------------------------------- */
.steps__track {
    position: relative;
    display:  grid;
    grid-template-columns: repeat(4, 1fr);
    gap:      0 32px;
}

/* Pozioma linia między ikonami */
.steps__line {
    position:   absolute;
    top:        56px; /* połowa wysokości ikony */
    left:       calc(12.5% + 40px); /* od środka 1. ikony */
    right:      calc(12.5% + 40px); /* do środka 4. ikony */
    height:     1px;
    background: linear-gradient(90deg, #c8bfb0 0%, #c8bfb0 100%);
    z-index:    0;
}

/* ----------------------------------------------------------------
   Pojedynczy krok
---------------------------------------------------------------- */
.steps__item {
    display:        flex;
    flex-direction: column;
    align-items:    center;
    text-align:     center;
    position:       relative;
    z-index:        1;

    opacity:   0;
    transform: translateY(28px);
    animation: step-in 0.6s var(--ease) calc(0.1s + var(--i, 0) * 0.15s) forwards;
}

@keyframes step-in {
    to { opacity: 1; transform: translateY(0); }
}

/* Ikona */
.steps__icon-wrap {
    position:      relative;
    margin-bottom: 28px;
}

.steps__icon-bg {
    width:           112px;
    height:          112px;
    border-radius:   50%;
    background:      #ede8e0;
    display:         flex;
    align-items:     center;
    justify-content: center;
    transition:      background var(--t) var(--ease);
}

.steps__icon-bg i {
    font-size:  36px;
    color:      var(--brown);
    transition: color var(--t) var(--ease), transform 0.4s var(--ease);
}

.steps__item:hover .steps__icon-bg {
    background: #e0d8ce;
}

.steps__item:hover .steps__icon-bg i {
    transform: scale(1.12) rotate(-6deg);
}

/* Numer badge */
.steps__num {
    position:        absolute;
    top:             0;
    right:           0;
    width:           28px;
    height:          28px;
    border-radius:   50%;
    background:      #2d5016;
    color:           var(--white);
    font-size:       11px;
    font-weight:     800;
    letter-spacing:  0.03em;
    display:         flex;
    align-items:     center;
    justify-content: center;
    box-shadow:      0 2px 8px rgba(45,80,22,0.40);
}

/* Tytuł */
.steps__title {
    font-size:     16px;
    font-weight:   700;
    color:         var(--dark);
    line-height:   1.25;
    margin-bottom: 10px;
}

/* Tekst WYSIWYG */
.steps__text {
    font-size:   14px;
    color:       #7a6f65;
    line-height: 1.65;
}

.steps__text p            { margin: 0 0 6px; }
.steps__text p:last-child { margin-bottom: 0; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
    .steps__track {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px 40px;
    }

    .steps__line { display: none; }
}

@media (max-width: 600px) {
    .steps         { padding: 64px 0 72px; }
    .steps__header { margin-bottom: 48px; }

    .steps__track {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps__icon-bg {
        width:  88px;
        height: 88px;
    }

    .steps__icon-bg i { font-size: 28px; }
}

/* ================================================================
   OPINIE
================================================================ */
.reviews {
    background: #f5f0e8;
    padding:    96px 0 100px;
}

.reviews__inner {
    max-width: var(--max-w);
    margin:    0 auto;
    padding:   0 var(--pad-x);
}

.reviews__header {
    text-align:    center;
    margin-bottom: 56px;
}

.reviews__heading {
    font-size:      clamp(28px, 3.2vw, 42px);
    font-weight:    800;
    color:          var(--dark);
    letter-spacing: -0.02em;
    line-height:    1.15;
    margin-bottom:  14px;
}

.reviews__subtext {
    font-size:   clamp(14px, 1.4vw, 16px);
    color:       #5a6b5a;
    line-height: 1.65;
}

.reviews__subtext p { margin: 0; }

/* Grid */
.reviews__grid {
    display:               grid;
    grid-template-columns: repeat(3, 1fr);
    gap:                   24px;
    margin-bottom:         40px;
}

/* Karta */
.reviews__card {
    background:    #ffffff;
    border-radius: 16px;
    padding:       36px 32px 32px;
    display:       flex;
    flex-direction: column;
    gap:           16px;
    box-shadow:    0 2px 16px rgba(0,0,0,0.06);
    transition:
        transform  var(--t) var(--ease),
        box-shadow var(--t) var(--ease);

    opacity:   0;
    transform: translateY(28px);
    animation: review-in 0.6s var(--ease) calc(0.1s + var(--i,0) * 0.15s) forwards;
}

@keyframes review-in {
    to { opacity: 1; transform: translateY(0); }
}

.reviews__card:hover {
    transform:  translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.10);
}

/* Cudzysłów dekoracyjny */
.reviews__quote i {
    font-size: 32px;
    color:     #c8b89a;
    line-height: 1;
}

/* Tekst opinii */
.reviews__text {
    font-size:   15px;
    color:       #4a4a4a;
    line-height: 1.70;
    flex:        1;
}

.reviews__text p { margin: 0; }

/* Gwiazdki */
.reviews__stars {
    display: flex;
    gap:     4px;
}

.reviews__stars i {
    font-size: 16px;
    color:     var(--brown);
}

/* Imię */
.reviews__name {
    font-size:   15px;
    font-weight: 700;
    color:       var(--dark);
    margin:      0;
}

/* Tekst pod opiniami */
.reviews__footer {
    text-align:  center;
    font-size:   14px;
    color:       #5a6b5a;
    line-height: 1.60;
    font-style:  italic;
}

.reviews__footer p { margin: 0; }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
    .reviews__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .reviews         { padding: 64px 0 72px; }
    .reviews__grid   { grid-template-columns: 1fr; }
    .reviews__header { margin-bottom: 40px; }
    .reviews__card   { padding: 28px 24px; }
}

/* ================================================================
   O NAS
================================================================ */
.about {
    background: #fafaf8;
    padding:    96px 0 100px;
}

.about__inner {
    max-width:   var(--max-w);
    margin:      0 auto;
    padding:     0 var(--pad-x);
    display:     grid;
    grid-template-columns: 1fr 1fr;
    gap:         80px;
    align-items: center;
}

/* ----------------------------------------------------------------
   Lewa kolumna — zdjęcie
---------------------------------------------------------------- */
.about__media {
    position: relative;
    animation: about-img-in 0.8s var(--ease) 0.1s both;
}

@keyframes about-img-in {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

.about__img {
    width:         100%;
    aspect-ratio:  4 / 3;
    object-fit:    cover;
    border-radius: 16px;
    display:       block;
    box-shadow:    0 8px 40px rgba(0,0,0,0.12);
}

/* Badge w prawym dolnym rogu zdjęcia */
.about__badge {
    position:        absolute;
    bottom:          -20px;
    right:           -20px;
    background:      var(--brown);
    color:           var(--white);
    border-radius:   12px;
    padding:         20px 24px;
    text-align:      center;
    min-width:       110px;
    box-shadow:      0 6px 24px rgba(139,69,19,0.40);
    line-height:     1.20;
}

/* Treść badge renderowana z WYSIWYG —
   zakładamy że redaktor wpisuje np. <strong>100+</strong><br>realizacji */
.about__badge p {
    margin:      0;
    font-family: var(--font);
}

.about__badge strong,
.about__badge b {
    display:     block;
    font-size:   clamp(28px, 3vw, 38px);
    font-weight: 800;
    line-height: 1;
}

.about__badge p,
.about__badge span {
    font-size:   13px;
    font-weight: 500;
    opacity:     0.90;
}

/* ----------------------------------------------------------------
   Prawa kolumna — treść
---------------------------------------------------------------- */
.about__content {
    display:        flex;
    flex-direction: column;
    gap:            16px;
    animation:      about-content-in 0.8s var(--ease) 0.25s both;
}

@keyframes about-content-in {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

.about__overtitle {
    font-size:      13px;
    font-weight:    700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color:          var(--brown);
}

.about__heading {
    font-size:      clamp(30px, 3.5vw, 48px);
    font-weight:    800;
    color:          var(--dark);
    letter-spacing: -0.02em;
    line-height:    1.10;
    margin:         0;
}

/* WYSIWYG tekst */
.about__text {
    font-size:   15px;
    color:       #5a5045;
    line-height: 1.75;
}

.about__text p {
    margin: 0 0 14px;
}

.about__text p:last-child {
    margin-bottom: 0;
}

/* Lista z ikonami — redaktor wpisuje <ul> lub <li> */
.about__text ul {
    list-style:    none;
    padding:       0;
    margin:        16px 0 0;
    display:       flex;
    flex-direction: column;
    gap:           10px;
}

.about__text ul li {
    display:     flex;
    align-items: center;
    gap:         12px;
    font-size:   15px;
    font-weight: 500;
    color:       var(--dark);
}

/* Zielona ikona check przed każdym li */
.about__text ul li::before {
    content:          '\f058'; /* fa-circle-check */
    font-family:      'Font Awesome 6 Free';
    font-weight:      900;
    font-size:        18px;
    color:            #2d5016;
    flex-shrink:      0;
    line-height:      1;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
    .about__inner { gap: 48px; }
}

@media (max-width: 768px) {
    .about__inner {
        grid-template-columns: 1fr;
        gap:                   48px;
    }

    .about__badge {
        bottom: -16px;
        right:  -8px;
    }

    .about { padding: 64px 0 80px; }
}

/* ================================================================
   KONTAKT
================================================================ */
.contact {
    background: #f5f0e8;
    padding:    96px 0 100px;
}

.contact__inner {
    max-width: var(--max-w);
    margin:    0 auto;
    padding:   0 var(--pad-x);
}

.contact__header {
    text-align:    center;
    margin-bottom: 52px;
}

.contact__heading {
    font-size:      clamp(28px, 3.2vw, 42px);
    font-weight:    800;
    color:          var(--dark);
    letter-spacing: -0.02em;
    line-height:    1.15;
    margin-bottom:  14px;
}

.contact__subtext {
    font-size:   clamp(14px, 1.4vw, 16px);
    color:       #6b6055;
    line-height: 1.65;
}

.contact__subtext p { margin: 0; }

/* Grid 3 kolumny */
.contact__grid {
    display:               grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap:                   24px;
    align-items:           stretch;
}

/* Karta */
.contact__card {
    background:    #ffffff;
    border-radius: 16px;
    padding:       32px 28px;
    box-shadow:    0 2px 16px rgba(0,0,0,0.06);
    display:       flex;
    flex-direction: column;
    gap:           20px;
}

.contact__card--map {
    padding:     0;
    overflow:    hidden;
    min-height:  380px;
}

.contact__card--map iframe {
    width:      100%;
    height:     100%;
    display:    block;
    border:     none;
    min-height: 380px;
}

.contact__card-title {
    font-size:     18px;
    font-weight:   700;
    color:         var(--dark);
    line-height:   1.20;
    margin:        0;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0ebe3;
}

/* ----------------------------------------------------------------
   Alerty
---------------------------------------------------------------- */
.contact__alert {
    display:       flex;
    align-items:   center;
    gap:           10px;
    padding:       12px 16px;
    border-radius: 8px;
    font-size:     14px;
    font-weight:   600;
    line-height:   1.40;
}

.contact__alert--success {
    background: rgba(45,80,22,0.10);
    color:      #2d5016;
}

.contact__alert--error {
    background: rgba(180,40,40,0.10);
    color:      #b42828;
}

.contact__alert i { font-size: 16px; flex-shrink: 0; }

/* ----------------------------------------------------------------
   Formularz
---------------------------------------------------------------- */
.contact__form {
    display:        flex;
    flex-direction: column;
    gap:            12px;
    flex:           1;
}

/* Honeypot — całkowicie ukryty */
.contact__hp {
    position:   absolute;
    left:       -9999px;
    width:      1px;
    height:     1px;
    overflow:   hidden;
    opacity:    0;
    pointer-events: none;
}

.contact__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:     12px;
}

.contact__field input,
.contact__field textarea {
    width:         100%;
    padding:       12px 16px;
    font-family:   var(--font);
    font-size:     14px;
    color:         var(--dark);
    background:    #faf8f5;
    border:        1px solid #e5ddd4;
    border-radius: 8px;
    outline:       none;
    transition:    border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
    resize:        none;
    line-height:   1.50;
}

.contact__field input::placeholder,
.contact__field textarea::placeholder {
    color: #a89a8a;
}

.contact__field input:focus,
.contact__field textarea:focus {
    border-color: var(--brown);
    box-shadow:   0 0 0 3px rgba(139,69,19,0.12);
    background:   #ffffff;
}

.contact__submit {
    margin-top:      4px;
    padding:         14px;
    background:      var(--brown);
    color:           var(--white);
    font-family:     var(--font);
    font-size:       15px;
    font-weight:     700;
    border:          none;
    border-radius:   8px;
    cursor:          pointer;
    box-shadow:      0 4px 14px rgba(139,69,19,0.35);
    transition:
        background var(--t) var(--ease),
        box-shadow var(--t) var(--ease),
        transform  0.2s    var(--ease);
}

.contact__submit:hover    { background: var(--brown-hover); box-shadow: 0 6px 20px rgba(139,69,19,0.45); transform: translateY(-1px); }
.contact__submit:active   { transform: translateY(0); }
.contact__submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ----------------------------------------------------------------
   Dane kontaktowe
---------------------------------------------------------------- */
.contact__details {
    list-style:     none;
    display:        flex;
    flex-direction: column;
    gap:            18px;
    flex:           1;
}

.contact__detail {
    display:     flex;
    align-items: flex-start;
    gap:         14px;
    font-size:   14px;
    line-height: 1.55;
}

.contact__detail-icon {
    width:           36px;
    height:          36px;
    border-radius:   50%;
    background:      #f5f0e8;
    display:         flex;
    align-items:     center;
    justify-content: center;
    flex-shrink:     0;
    margin-top:      2px;
}

.contact__detail-icon i {
    font-size: 14px;
    color:     var(--brown);
}

.contact__detail strong {
    display:       block;
    font-weight:   700;
    color:         var(--dark);
    font-size:     13px;
    margin-bottom: 3px;
}

.contact__detail-text {
    color: #6b6055;
}

.contact__detail-text p  { margin: 0; }
.contact__detail-text a  { color: var(--brown); font-weight: 600; }
.contact__detail-text a:hover { color: var(--brown-hover); }

/* Social */
.contact__social {
    display:     flex;
    align-items: center;
    gap:         10px;
    font-size:   13px;
    font-weight: 600;
    color:       #6b6055;
    padding-top: 4px;
}

.contact__social-link {
    width:           36px;
    height:          36px;
    border-radius:   50%;
    display:         flex;
    align-items:     center;
    justify-content: center;
    font-size:       15px;
    color:           var(--white);
    transition:      transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.contact__social-link--fb { background: #1877f2; }
.contact__social-link--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%); }

.contact__social-link:hover {
    transform:  translateY(-2px) scale(1.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.20);
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
    .contact__grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact__card--map {
        grid-column: 1 / -1;
        min-height: 280px;
    }

    .contact__card--map iframe { min-height: 280px; }
}

@media (max-width: 640px) {
    .contact         { padding: 64px 0 72px; }
    .contact__grid   { grid-template-columns: 1fr; }
    .contact__card--map { grid-column: auto; }
    .contact__row    { grid-template-columns: 1fr; }
}

/* ================================================================
   STRONA REALIZACJE — page-realizacje.php
================================================================ */

/* ----------------------------------------------------------------
   HERO
---------------------------------------------------------------- */
.real-hero {
    position:            relative;
    min-height:          60vh;
    background-color:    #1a2e1a;
    background-size:     cover;
    background-position: center;
    background-repeat:   no-repeat;
    display:             flex;
    flex-direction:      column;
    align-items:         center;
    justify-content:     center;
    text-align:          center;
    overflow:            hidden;
    padding:             120px var(--pad-x) 80px;
}

.real-hero__overlay {
    position:   absolute;
    inset:      0;
    background: linear-gradient(180deg, rgba(10,20,10,.70) 0%, rgba(10,20,10,.55) 100%);
    z-index:    1;
}

.real-hero__inner {
    position:       relative;
    z-index:        2;
    display:        flex;
    flex-direction: column;
    align-items:    center;
    gap:            16px;
    max-width:      820px;
}

.real-hero__brand {
    font-size:      12px;
    font-weight:    700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color:          rgba(255,255,255,0.65);
}

.real-hero__heading {
    font-size:      clamp(22px, 2.8vw, 38px);
    font-weight:    800;
    color:          #ffffff;
    line-height:    1.08;
    letter-spacing: -0.02em;
}

.real-hero__heading p { margin: 0; }

.real-hero__text {
    font-size:   clamp(14px, 1.5vw, 17px);
    color:       rgba(255,255,255,0.80);
    line-height: 1.65;
    max-width:   600px;
}

.real-hero__text p { margin: 0; }

.real-hero__filter-btn {
    margin-top:    8px;
    display:       inline-flex;
    align-items:   center;
    gap:           8px;
    padding:       12px 28px;
    background:    transparent;
    border:        2px solid rgba(255,255,255,0.60);
    border-radius: 50px;
    color:         #ffffff;
    font-family:   var(--font);
    font-size:     14px;
    font-weight:   600;
    cursor:        pointer;
    transition:    background var(--t) var(--ease), border-color var(--t) var(--ease);
}

.real-hero__filter-btn:hover {
    background:   rgba(255,255,255,0.12);
    border-color: #ffffff;
}

.real-hero__scroll {
    position:  absolute;
    bottom:    24px;
    left:      50%;
    transform: translateX(-50%);
    z-index:   2;
    color:     rgba(255,255,255,0.55);
    font-size: 18px;
    cursor:    pointer;
    animation: rh-bounce 1.6s ease-in-out infinite;
}

@keyframes rh-bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%     { transform: translateX(-50%) translateY(6px); }
}

/* ----------------------------------------------------------------
   BACK LINK
---------------------------------------------------------------- */
.real-hero__back {
    position:        absolute;
    top:             28px;
    left:            var(--pad-x);
    z-index:         3;
    display:         inline-flex;
    align-items:     center;
    gap:             8px;
    color:           rgba(255,255,255,0.85);
    font-size:       14px;
    font-weight:     600;
    text-decoration: none;
    transition:      color var(--t) var(--ease);
}

.real-hero__back:hover { color: #ffffff; }
.real-hero__back i     { font-size: 13px; }

/* ----------------------------------------------------------------
   FILTERS BAR
---------------------------------------------------------------- */
.real-filters-bar {
    background:    #ffffff;
    border-bottom: 1px solid #ede8e0;
    position:      sticky;
    top:           0;
    z-index:       200;
}

.admin-bar .real-filters-bar { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar .real-filters-bar { top: 46px; }
}

.real-filters-bar__inner {
    max-width:   var(--max-w);
    margin:      0 auto;
    padding:     12px var(--pad-x);
    display:     flex;
    flex-wrap:   wrap;
    gap:         6px 8px;
    align-items: center;
}

.real-filt {
    display:       inline-flex;
    align-items:   center;
    gap:           6px;
    padding:       7px 16px;
    background:    transparent;
    border:        1px solid #ddd6cc;
    border-radius: 50px;
    font-family:   var(--font);
    font-size:     13px;
    font-weight:   600;
    color:         #5a4a3a;
    cursor:        pointer;
    transition:    background var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease);
    white-space:   nowrap;
}

.real-filt:hover {
    border-color: var(--brown);
    color:        var(--brown);
}

.real-filt.is-active {
    background:   #2d5016;
    border-color: #2d5016;
    color:        #ffffff;
}

.real-filt__count {
    font-size:   11px;
    font-weight: 700;
    opacity:     0.75;
}

/* ----------------------------------------------------------------
   GALERIA — CSS GRID
   Kluczowa zmiana: grid zamiast columns.
   Columns powoduje, że przy display:none/block wszystkie elementy
   przeliczają pozycje i "skaczą". Grid tego nie robi.
---------------------------------------------------------------- */
.real-gallery {
    background: #f8f6f2;
    padding:    48px 0 80px;
    min-height: 60vh;
}

.real-gallery__inner {
    max-width: var(--max-w);
    margin:    0 auto;
    padding:   0 var(--pad-x);
}

.real-gallery__grid {
    display:               grid;
    grid-template-columns: repeat(4, 1fr);
    gap:                   12px;
}

.rg-item {
    position:      relative;
    overflow:      hidden;
    border-radius: 10px;
    cursor:        pointer;

    /* Stan startowy — niewidoczny, lekko przesunięty w dół */
    opacity:    0;
    transform:  translateY(16px);
    transition: opacity .32s ease, transform .32s ease;
}

.rg-item.is-visible {
    opacity:   1;
    transform: translateY(0);
}

.rg-item.is-hidden {
    display: none;
}

.rg-item img {
    width:        100%;
    display:      block;
    aspect-ratio: 4 / 3;
    object-fit:   cover;
    border-radius: 10px;
    transition:    transform 0.40s var(--ease);
}

.rg-item:hover img { transform: scale(1.04); }

/* Podpis na hover */
.rg-item__caption {
    position:       absolute;
    bottom:         0;
    left:           0;
    right:          0;
    background:     linear-gradient(transparent, rgba(0,0,0,0.72));
    color:          #ffffff;
    padding:        32px 14px 12px;
    opacity:        0;
    transition:     opacity 0.30s var(--ease);
    border-radius:  0 0 10px 10px;
    display:        flex;
    flex-direction: column;
    gap:            3px;
}

.rg-item:hover .rg-item__caption { opacity: 1; }

.rg-cap__title {
    font-size:   13px;
    font-weight: 700;
    line-height: 1.30;
}

.rg-cap__meta {
    font-size:      11px;
    font-weight:    500;
    opacity:        0.78;
    letter-spacing: 0.02em;
}

/* ----------------------------------------------------------------
   LOAD MORE
---------------------------------------------------------------- */
.rg-more {
    display:         flex;
    justify-content: center;
    margin-top:      40px;
}

.rg-more__btn {
    padding:       14px 36px;
    background:    #2d5016;
    color:         #ffffff;
    font-family:   var(--font);
    font-size:     15px;
    font-weight:   700;
    border:        none;
    border-radius: 50px;
    cursor:        pointer;
    box-shadow:    0 4px 16px rgba(45,80,22,0.30);
    transition:    background var(--t) var(--ease), transform 0.2s var(--ease), box-shadow var(--t) var(--ease);
}

.rg-more__btn:hover {
    background:  #3a6b1e;
    transform:   translateY(-2px);
    box-shadow:  0 6px 22px rgba(45,80,22,0.40);
}

/* ----------------------------------------------------------------
   LIGHTBOX
---------------------------------------------------------------- */
.rg-lb {
    position:        fixed;
    inset:           0;
    z-index:         9000;
    background:      rgba(0,0,0,0.93);
    display:         flex;
    align-items:     center;
    justify-content: center;
    animation:       rglb-in 0.22s var(--ease);
}

.rg-lb[hidden] { display: none; }

@keyframes rglb-in { from { opacity:0; } to { opacity:1; } }

.rg-lb__content {
    max-width:      min(1100px, 92vw);
    display:        flex;
    flex-direction: column;
    align-items:    center;
    gap:            12px;
}

.rg-lb__content img {
    max-width:     100%;
    max-height:    82vh;
    object-fit:    contain;
    border-radius: 6px;
    box-shadow:    0 8px 48px rgba(0,0,0,0.70);
    display:       block;
}

.rg-lb__cap {
    color:       rgba(255,255,255,0.85);
    font-size:   14px;
    font-weight: 500;
    text-align:  center;
    margin:      0;
    padding:     0 16px;
}

.rg-lb__nav {
    position:        fixed;
    top:             50%;
    transform:       translateY(-50%);
    background:      rgba(255,255,255,0.12);
    border:          none;
    color:           #ffffff;
    font-size:       20px;
    width:           52px;
    height:          52px;
    border-radius:   50%;
    cursor:          pointer;
    display:         flex;
    align-items:     center;
    justify-content: center;
    z-index:         9001;
    transition:      background var(--t) var(--ease), transform 0.2s var(--ease);
}

.rg-lb__nav:hover      { background: rgba(255,255,255,0.25); transform: translateY(-50%) scale(1.08); }
.rg-lb__nav--prev      { left:  20px; }
.rg-lb__nav--next      { right: 20px; }

.rg-lb__close {
    position:        fixed;
    top:             18px;
    right:           22px;
    background:      rgba(255,255,255,0.12);
    border:          none;
    color:           #ffffff;
    font-size:       20px;
    width:           44px;
    height:          44px;
    border-radius:   50%;
    cursor:          pointer;
    display:         flex;
    align-items:     center;
    justify-content: center;
    z-index:         9001;
    transition:      background var(--t) var(--ease);
}

.rg-lb__close:hover { background: rgba(255,255,255,0.25); }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
    .real-gallery__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .real-hero          { min-height: 50vh; padding: 100px 24px 60px; }
    .real-gallery__grid { grid-template-columns: repeat(2, 1fr); }
    .rg-lb__nav--prev   { left: 6px; }
    .rg-lb__nav--next   { right: 6px; }

    .real-filters-bar__inner {
        padding:            12px 20px;
        overflow-x:         auto;
        flex-wrap:          nowrap;
        gap:                6px;
        scrollbar-width:    none;
        -ms-overflow-style: none;
    }
    .real-filters-bar__inner::-webkit-scrollbar { display: none; }

    .real-filt {
        padding:     6px 14px;
        font-size:   12px;
        flex-shrink: 0;
    }

    .real-filt__count { display: none; }

    .rg-more      { padding: 0 20px; }
    .rg-more__btn { width: 100%; justify-content: center; border-radius: 12px; }
}

@media (max-width: 480px) {
    .real-gallery__grid  { grid-template-columns: repeat(2, 1fr); gap: 6px; }
    .rg-item             { border-radius: 8px; }
    .real-filters-bar__inner { padding: 10px 16px; }
    .rg-more             { padding: 0 16px; }
    .rg-more__btn        { font-size: 14px; padding: 12px; }
}

/* ----------------------------------------------------------------
   STOPKA CTA
---------------------------------------------------------------- */
.real-cta {
    background: #1e2e1e;
    padding:    28px 0;
}

.real-cta__inner {
    max-width:       var(--max-w);
    margin:          0 auto;
    padding:         0 var(--pad-x);
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    gap:             24px;
    flex-wrap:       wrap;
}

.real-cta__text {
    color:       rgba(255,255,255,0.80);
    font-size:   clamp(14px, 1.5vw, 17px);
    line-height: 1.50;
}

.real-cta__text p      { margin: 0; }
.real-cta__text strong { color: #ffffff; }

.real-cta__actions {
    display:     flex;
    align-items: center;
    gap:         12px;
    flex-shrink: 0;
    flex-wrap:   wrap;
}

.real-cta__phone {
    display:         inline-flex;
    align-items:     center;
    gap:             10px;
    padding:         9px 16px;
    background:      rgba(255,255,255,0.10);
    border-radius:   50px;
    color:           #ffffff;
    font-weight:     600;
    font-size:       14px;
    text-decoration: none;
    white-space:     nowrap;
    transition:      background var(--t) var(--ease);
}

.real-cta__phone small {
    display:       block;
    font-size:     10px;
    font-weight:   500;
    opacity:       0.65;
    line-height:   1;
    margin-bottom: 2px;
}

.real-cta__phone i     { font-size: 14px; color: #6ab04c; flex-shrink: 0; }
.real-cta__phone:hover { background: rgba(255,255,255,0.18); }

@media (max-width: 768px) {
    .real-cta__inner   { flex-direction: column; align-items: flex-start; }
    .real-cta__actions { width: 100%; }
    .real-cta__phone   { flex: 1; justify-content: center; }
}

/* ----------------------------------------------------------------
   FOOTER MISC
---------------------------------------------------------------- */
.footer__copy-sep {
    margin:  0 8px;
    opacity: 0.35;
}

.footer__policy {
    color:      rgba(255,255,255,0.55);
    transition: color var(--t) var(--ease);
}

.footer__policy:hover { color: var(--white); }

/* ================================================================
   POLITYKA PRYWATNOŚCI
================================================================ */
.policy-wrap {
    background: #f5f0e8;
    min-height: calc(100vh - 200px);
    padding:    120px 0 100px;
}

.policy-inner {
    max-width: var(--max-w);
    margin:    0 auto;
    padding:   0 var(--pad-x);
}

.policy-title {
    font-size:      clamp(28px, 3.5vw, 42px);
    font-weight:    800;
    color:          var(--dark);
    letter-spacing: -0.02em;
    line-height:    1.15;
    margin-bottom:  40px;
    padding-bottom: 24px;
    border-bottom:  2px solid #e5ddd4;
}

.policy-content {
    font-size:   15px;
    color:       #4a4540;
    line-height: 1.80;
}

.policy-content h2 {
    font-size:    20px;
    font-weight:  700;
    color:        var(--dark);
    margin:       36px 0 14px;
    padding-left: 14px;
    border-left:  3px solid var(--brown);
}

.policy-content h3 {
    font-size:   17px;
    font-weight: 700;
    color:       var(--dark);
    margin:      28px 0 10px;
}

.policy-content p  { margin: 0 0 16px; }

.policy-content ul,
.policy-content ol {
    margin:  0 0 16px 24px;
    padding: 0;
}

.policy-content li { margin-bottom: 8px; }

.policy-content a {
    color:       var(--brown);
    font-weight: 600;
    transition:  color var(--t) var(--ease);
}

.policy-content a:hover { color: var(--brown-hover); }
.policy-content strong  { color: var(--dark); }

@media (max-width: 768px) {
    .policy-wrap { padding: 100px 0 72px; }
}

.policy-back {
    display:         inline-flex;
    align-items:     center;
    gap:             8px;
    color:           var(--brown);
    font-size:       14px;
    font-weight:     600;
    text-decoration: none;
    margin-bottom:   32px;
    transition:      color var(--t) var(--ease), gap var(--t) var(--ease);
}

.policy-back:hover { color: var(--brown-hover); gap: 12px; }
.policy-back i     { font-size: 13px; }