
/* =====================================================
   KONTAKT - KANCELARIA ADWOKACKA
===================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Karta kontaktowa */

.contact-box {
    background: transparent;
    border-left: 2px solid var(--kpss-gold);
    padding: 35px 35px 35px 25px;
    height: 100%;
}

/* =====================================================
   DANE KONTAKTOWE
===================================================== */

.contact-details {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}

.contact-details li:last-child {
    margin-bottom: 0;
}

.contact-details li i {
    font-size: 24px;
    color: var(--kpss-gold);
    line-height: 1;
    min-width: 24px;
    margin-top: 2px;
}

.contact-details li span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--kpss-gold);
    margin-bottom: 3px;
}

.contact-details li div {
    font-size: 15px;
    line-height: 1.6;
    color: var(--kpss-text);
}

.contact-details a {
    display: inline-block;
    color: var(--kpss-green);
    text-decoration: none;
    transition: var(--transition-normal);
}

.contact-details a:hover {
    color: var(--kpss-gold);
}

/* =====================================================
   FORMULARZ
===================================================== */

.contact-form-wrapper {
    margin-top: 35px;
}

.contact-form-wrapper h5 {
    font-size: 22px;
    font-weight: 300;
    color: var(--kpss-black);
    margin-bottom: 20px;
}

.contact-form-wrapper h5 i {
    color: var(--kpss-gold);
    margin-right: 8px;
}

.contact-form-wrapper .form-group {
    margin-bottom: 15px;
}

.contact-form-wrapper .form-control {
    width: 100%;
    border: 1px solid var(--kpss-border);
    padding: 12px 15px;
    font-size: 15px;
    color: var(--kpss-text);
    background: var(--kpss-bg-white);
    transition: all var(--transition-normal);
    box-shadow: none;
}

.contact-form-wrapper .form-control:focus {
    border-color: var(--kpss-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(168,134,34,.12);
}

.contact-form-wrapper textarea.form-control {
    min-height: 140px;
    resize: vertical;
}
.contact-form select.form-control {
    height: 36px;
    padding: 0 15px;
    font-size: 14px;
}
/* =====================================================
   RODO
===================================================== */

.rodo-group {
    margin-top: 15px;
    display: inline-block !important;
    text-align: left;
    }


.rodo-checkbox {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;

    width: auto !important;
    max-width: none !important;
}

.rodo-checkbox input {
    margin: 0 !important;
}

.rodo-checkbox input[type="checkbox"] {
    width: auto !important;
    padding: 0 !important;
    margin-right: 8px;
}

.rodo-checkbox span {
    display: inline-block;
    line-height: 1.5;
}
.contact-form .form-group:last-of-type {
    text-align: left;
}
.contact-form .form-group {
    text-align: left;
}
/* =====================================================
   PRZYCISK
===================================================== */

.btn-contact {
    display: block !important;
    background: var(--kpss-gold);
    border: 1px solid var(--kpss-gold);
    color: #fff;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    width: 220px;
    text-align: center;
    margin-bottom: 25px;
}

.btn-contact:hover {
    background: var(--kpss-gold-dark);
    border-color: var(--kpss-gold-dark);
    color: #fff;
}

.btn-contact:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(168,134,34,.2);
}

/* =====================================================
   MAPA
===================================================== */
.map-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-route-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 12px 20px;

    background: var(--kpss-gold);
    color: #fff;

    border-radius: 50px;

    text-decoration: none;
    font-weight: 600;

    box-shadow: var(--shadow-md);

    transition: all .25s ease;
}

.map-route-btn:hover {
    background: #8d6f1c;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.map-marker {
    position: absolute;
    top: 63%;
    left: 58%;

    transform: translate(-50%, -100%);

    font-size: 42px;
    color: var(--kpss-gold);

    text-shadow: 0 2px 8px rgba(0,0,0,.25);
}
@media (max-width: 768px) {

    .map-frame {
        aspect-ratio: 4 / 3;
    }

    .map-route-btn {
        bottom: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        justify-content: center;
    }

    .map-marker {
        top: 58%;
        left: 58%;
        font-size: 34px;
    }

}
.contact-map {
    display: flex;
    flex-direction: column;
}

.contact-map,
.map-frame {
    width: 100%;
}

.map-iframe {
    flex: 1;
    min-height: 420px;
    width: 100%;
    border: 0;
}

.map-link {
    margin-top: 10px;
    display: block;
}

/* =====================================================
   LINK "WIĘKSZA MAPA"
===================================================== */

.contact-map small {
    display: block;
    margin-top: 10px;
}

.contact-map small a {
    color: var(--kpss-green);
    text-decoration: none;
}

.contact-map small a:hover {
    color: var(--kpss-gold);
}

/* =====================================================
   RESPONSYWNOŚĆ
===================================================== */

@media (max-width: 991px) {

    .contact-map {
        margin-bottom: 30px;
    }

    .contact-map iframe {
        height: 450px;
    }

    .contact-box {
        padding: 25px;
    }

}

@media (max-width: 767px) {

    .contact-map iframe {
        height: 320px;
    }

    .contact-box {
        padding: 20px;
    }

    .contact-details li {
        gap: 12px;
    }

    .contact-details li i {
        font-size: 20px;
    }

    .contact-form-wrapper h5 {
        font-size: 20px;
    }

}

@media (max-width: 576px) {

    .contact-box {
        padding: 15px;
    }

    .contact-form-wrapper .form-control {
        padding: 10px 12px;
    }

    .btn-contact {
        width: 100%;
        text-align: center;
    }

}
/* Formularz kontaktowy */

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--kpss-border);
    border-radius: var(--radius-md);
    background: var(--kpss-bg-white);
    font-size: 15px;
    color: var(--kpss-text);
    transition: all var(--transition-normal);
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--kpss-gold);
    box-shadow: 0 0 0 3px rgba(168,134,34,0.15);
}

/* ====================================
   MOBILE CONTACT BAR
==================================== */

.mobile-contact-bar {
    display: none;
}

@media (max-width: 991px) {

    .mobile-contact-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;

        display: flex;

        background: var(--kpss-green);
        z-index: 9999;

        box-shadow: 0 -2px 12px rgba(0,0,0,.15);
    }

    .mobile-contact-btn {
        flex: 1;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        padding: 6px 4px;

        color: #fff;
        text-decoration: none;

        border-right: 1px solid rgba(255,255,255,.15);

        transition: var(--transition-normal);
    }

    .mobile-contact-btn:last-child {
        border-right: none;
    }

  @media (hover: hover) {
    .mobile-contact-btn:hover {
        background: var(--kpss-gold);
        color: #fff;
    }
}

    .mobile-contact-btn i {
        font-size: 16px;
        margin-bottom: 2px;
    }

    .mobile-contact-btn span {
        font-size: 10px;
        font-weight: 500;
    }

    body {
        padding-bottom: 50px;
    }
}
.contact-row {
    display: flex;
    flex-wrap: wrap;
}

.contact-col:first-child {
    padding-right: 5px;
}

.contact-col:last-child {
    padding-left: 5px;
}
.contact-map {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.contact-box {
    height: 100%;
}
.card-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.card-subtitle {
    font-size: 0.9rem;
    color: var(--kpss-text-muted);
    margin-bottom: 0;
}
.hero-container {
    max-width: 1400px;
}

.hero-row {
    min-height: 75vh;
    align-items: flex-start;
    padding-top: 110px;
}

.hero-content {
    margin-left: auto;
    padding-right: 110px;
}

.pb_cover_v1 {
    min-height: 75vh;
    height: auto;
}

.hero-list {
    font-size: 1.2rem;
    line-height: 1.8;
}
.navbar-brand {
    position: relative;
    display: block;
}

.logo-white,
.logo-green {
    height: 70px;
    width: auto;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.logo-white {
    opacity: 1;
}

.logo-green {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

/* po przewinięciu */

.pb_navbar.scrolled .logo-white {
    opacity: 0;
}

.pb_navbar.scrolled .logo-green {
    opacity: 1;
}

/* ====================================
   Okno wiadomości z formularza
==================================== */

#form-message {
    margin-bottom: 20px;
}

.form-success {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 18px 22px;
    border-radius: var(--radius-md);

    background: #edf8ef;
    border: 1px solid #b7dfc0;

    color: #1d5f2c;
    font-size: 15px;
    line-height: 1.6;

    transition: opacity .5s ease;
    animation: fadeIn .3s ease;
}

.form-success i {
    font-size: 22px;
    color: #2f7d32;
    margin-top: 2px;
    flex-shrink: 0;
}

.form-error {
    padding: 18px 22px;

    border-radius: var(--radius-md);
    background: var(--kpss-bg-white);
    border: 1px solid #f0bcbc;

    color: #9f1d1d;
    font-size: 15px;
    line-height: 1.6;

    animation: fadeIn .3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.contact-form-title {
    margin-bottom: 10px;
}

.contact-intro {
    margin-bottom: 30px;
    color: var(--kpss-text-light);
    font-size: 15px;
    line-height: 1.7;
}
/* ====================================
   wybór preferencji kontaktu
==================================== */

.contact-preference {
    margin-bottom: 25px;
}

.contact-preference-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.contact-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    color: var(--kpss-text);
}

.contact-option input[type="radio"] {
    cursor: pointer;
}
.form-help {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--kpss-text-muted);
    line-height: 1.4;
}

/* ====================================
   Zdjęcie zespołu
==================================== */


.team-photo {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 30px;
    max-width: 1150px;
    margin: 0 auto;
}

.team-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

/* ====================================
   Tło sekcji
==================================== */


#wspolpracownicy {
    background: linear-gradient(
        135deg,
        #7c8791 0%,
        #9aa5af 100%
    );
}

/* ====================================
   Zdjęcie indywidualne zespołu
==================================== */
.team-grid {
    max-width: 1150px;
    margin: 0 auto;
}
.profile-img {
    object-fit: cover;
    object-position: center 20%;
    width: 100%;
    aspect-ratio: 3 / 4;
    width: 100%;
    aspect-ratio: 3 / 4;
    border: 2px solid rgba(255,255,255,.9);
    border-radius: var(--radius-md);

    display: block;
    margin: 0 auto;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pb_card_v1 .card-body {
    padding: 12px 16px 16px;
}

.profile-card .card-subtitle {
    margin-top: 10px;
    margin-bottom: 6px;

    color: #7a7a7a;

    font-size: 13px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: .8px;
}

.profile-card .card-title {
    margin: 0;

    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    min-height: 25px;

    color: #2c2c2c;
}

.pb_card_v1 {
    background: var(--kpss-bg-white);
    border: none;
    border-radius: var(--radius-lg);

    max-width: 330px;
    height: auto;
    margin: 0 auto;

    box-shadow: var(--shadow-md);

    transition: transform .2s ease,
                box-shadow .2s ease;
}

.pb_card_v1:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {

    .profile-img {
        width: 100%;
        aspect-ratio: 3 / 4;
    }

    .pb_card_v1 {
        max-width: 330px;
    }

    .profile-card .card-title {
        font-size: 18px;
    }
}
@media (max-width: 480px) {

    .profile-img {
        width: 100%;
        aspect-ratio: 3 / 4;
    }

    .pb_card_v1 {
        max-width: 330px;
    }

    .profile-card .card-title {
        font-size: 17px;
    }

    .profile-card .card-subtitle {
        font-size: 11px;
    }
    .pb_card_v1 .card-body {
        padding: 16px 16px 18px;
    }
}
.pb_card_v2 .icon i:before {
  font-size: 50px;
  margin: 0;
  padding: 0;
  color: #868e96; }

.pb_card_v2 .card-body {
  padding-top: 0; }
  .pb_card_v2 .card-body h4 {
    margin-top: 0;
    font-size: 16px; }

/* ====================================
   pływający przycisk kontaktowy
==================================== */

html {
    scroll-behavior: smooth;
}
.floating-cta {
    position: fixed;

    right: 4%;
    bottom: 8%;

    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 14px 22px;

    background: var(--kpss-gold);
    color: #fff;

    border-radius: 50px;

    text-decoration: none;
    font-size: 15px;
    font-weight: 700;

    box-shadow: 0 8px 25px rgba(0,0,0,.18);

    -webkit-font-smoothing: antialiased;

    text-rendering: geometricPrecision;

    backface-visibility: hidden;

    transition:
        bottom .3s ease,
        background .25s ease,
        transform .25s ease,
        opacity .25s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.floating-cta:hover {
    background: #8d6f1c;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.floating-cta.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.floating-cta.footer-visible {

    bottom: 410px;
}
@media (max-width: 768px) {

    .floating-cta {
        right: 15px;
        bottom: 60px;

        padding: 12px 18px;
        font-size: 14px;
    }
   .floating-cta.footer-visible {

    bottom: 940px;
}
}


/* ====================================
   SEKCJA MACIEJ SKOTNICKI
==================================== */

#notka h2 {
    margin-bottom: 0.5rem;
}
#notka p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--kpss-text);
}
#notka .lead {
    margin-bottom: 0.5rem;
}
#notka .notka-text {
    max-width: 900px;
}
#notka .col-12.notka-text {
    max-width: 950px;
    margin: 0 auto;
}
.profil-text,
.notka-text {
    text-align: left;
}
.profil-image,
.notka-image {
    display:flex;
    justify-content:center;
    align-items:flex-start;
}

.notka-banner {
    overflow: hidden;
    border-radius: var(--radius-lg);
    max-width: 1150px;
    margin: 0 auto;
}
.notka-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}


.profile-img2 {
    width: 100%;
    max-width: 360px;
    height: auto;

    border-radius: var(--radius-md);
    border: 1px solid #ddd;

    display: block;
  
}

@media (max-width: 990px) {
  /* Ensure text and image sit side by side with comfortable spacing on large screens */
  .notka-text { display: block; }
  .notka-image { 
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
 }
 .profil-text {
        padding-top: 20px;
    }

  .profil-image {
        margin-bottom: 20px;
    }
  /* If you want the image to be fixed height and fill container, adjust here */}


/* ==========================
   SPECJALIZACJE GŁÓWNE
========================== */
/* DESKTOP */

#prawo-pracy,
#prawo-rodzinne,
#obsluga-przedsiebiorcow,
#klienci-indywidualni {
    scroll-margin-top: 100px;
}

.specialization-detail h3 {
    align-items: flex-start;
}

.specialization-wrapper .col-lg-3 {
    margin-bottom: 20px;
}
.specialization-card {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
    text-decoration: none;

    background: var(--kpss-bg-white);

    padding: 30px 20px;

    border: 1px solid #e5e5e5;
    border-radius: var(--radius-lg);

    height: 100%;

    transition: all var(--transition-normal);

    box-shadow: 0 4px 12px rgba(0,0,0,.04);
}

.specialization-card:hover {
    transform: translateY(-4px);

    border-color: var(--kpss-gold);

    box-shadow: 0 12px 24px rgba(0,0,0,.08);

    text-decoration: none;
}

/* IKONA */

.specialization-card .icon {

    width: 90px;
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid var(--kpss-gold);
    border-radius: 50%;

    margin-bottom: 20px;
}

.specialization-card .icon i {
    font-size: 46px;
    color: #115330;
}

/* TYTUŁ */

.specialization-card h3 {

    color: #2c2c2c;

    font-size: 1.2rem;
    font-weight: 500;

    line-height: 1.4;

    margin-bottom: 12px;

    min-height: 70px;
}

/* LINK */

.specialization-link {

    color: var(--kpss-gold);

    font-size: .9rem;
    font-weight: 600;
}

/* HOVER */

.specialization-card:hover .icon {
    border-color: #115330;
}

.specialization-card:hover .specialization-link {
    color: #115330;
}
.specialization-link {
    display: block;
    margin-top: 12px;
    font-size: 0.9rem;
    color: #b08a1e;
    font-weight: 500;
}


/* ==========================
   TABLET
========================== */

@media (max-width: 991px) {

    .specialization-card {
        padding: 25px 15px;
        margin-bottom: 20px;
    }

    .specialization-card .icon {
        width: 75px;
        height: 75px;
    }

    .specialization-card .icon i {
        font-size: 38px;
    }

    .specialization-card h3 {
        font-size: 1.05rem;
        min-height: auto;
    }

    .specialization-link {
        font-size: .85rem;
    }
}
/* ==========================
   TELEFON
========================== */

@media (max-width: 767px) {

     .specialization-card {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .specialization-card .icon {
        width: 65px;
        height: 65px;

        margin-bottom: 15px;
    }

    .specialization-card .icon i {
        font-size: 32px;
    }

    .specialization-card h3 {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 8px;

        min-height: auto;
    }

    .specialization-link {
        font-size: .8rem;
    }
}

/* ==========================
   CZYM SIĘ ZAJMUJEMY
========================== */

/* ====================================
   SPECJALIZACJE SZCZEGÓŁOWE
==================================== */

.specialization-detail {

    background: var(--kpss-bg-white);

    border-radius: var(--radius-lg);

    padding: 35px;

    margin-bottom: 30px;

    box-shadow: var(--shadow-sm);
}

.specialization-detail h3 {

    display: flex;
    align-items: center;

    gap: 15px;

    margin-bottom: 25px;

    color: #115330;

    font-size: 1.5rem;
}

.specialization-detail h3 i {

    color: var(--kpss-gold);

    font-size: 2rem;
}

.specialization-detail .practice-list {

    list-style: none;

    padding: 0;
    margin: 0;
}

.specialization-detail .practice-list li {

    position: relative;

    padding-left: 24px;

    margin-bottom: 12px;

    line-height: 1.8;
}

.specialization-detail .practice-list li::before {

    content: "";

    position: absolute;

    left: 0;
    top: 12px;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--kpss-gold);
}

/* ==========================
   Mobile
========================== */
@media (max-width: 767px) {

    .specialization-detail {

        padding: 25px 20px;
    }

    .specialization-detail h3 {

        font-size: 1.2rem;

        gap: 10px;
    }

    .specialization-detail h3 i {

        font-size: 1.6rem;
    }

    .specialization-detail .practice-list li {

        font-size: .95rem;

        line-height: 1.7;
    }
}
/* ==========================
   Strona starowa kancelarii
========================== */
.pb_section {
    scroll-margin-top: 50px;
}

.hero-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255,255,255,.95);
    font-weight: 300;
}
.hero-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-benefits li {
    position: relative;
    padding-left: 42px;
    margin-bottom: 14px;

    font-size: .95rem;
    line-height: 1.6;

    color: #fff;
}

.hero-benefits li::before {
    content: "\F271";
    font-family: "bootstrap-icons";

    position: absolute;
    left: 0;
    top: -2px;
    color: var(--kpss-gold);

    font-size: 1.7rem;
    text-shadow: 0 0 6px rgba(198,162,74,.25);
}
/* ==========================
   Mobile
========================== */
@media (max-width: 767px) {

    .hero-content {
        text-align: left;
        max-width: 92%;
        margin: 0 auto;
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-intro {
        text-align: left;
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

    .hero-benefits {
        text-align: left;
    }

    .hero-benefits li {
        font-size: .95rem;
        line-height: 1.6;
        padding-left: 28px;
        margin-bottom: 12px;
    }

    .hero-benefits li::before {
        font-size: 1.5rem;
    }
}
