:root {
    --rose: #f9e6ea;
    --pink: #f7d1da;
    --red: #d94b67; /* Główny kolor akcentu */
    --red-dark: #c03a55;
    --gold: #caa55f;
    --gold-strong: #b18b3f;
    --white: #ffffff;
    --soft-gray: #f3f4f6;
    --mid-gray: #9aa0a6;
    --dark: #2a2a2a;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 15px 40px rgba(217, 75, 103, 0.15);
    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 22px;
    --transition: 250ms ease;
    --header-h: 64px;
}

* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: var(--dark);
    font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height: 1.6;
}
img {
    max-width: 100%;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
}
button {
    font: inherit;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Otwieranie/zamykanie menu w mobile przez klasę na body */
body.menu-open #mobileMenu {
    display: flex;
    transform: none;
    opacity: 1;
}

/* Backdrop bez zmian w HTML */
header::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 0;
}
body.menu-open header::after {
    opacity: 1;
    pointer-events: none;
}

/* Hamburger -> X podczas otwartego menu */
.menu-toggle {
    position: relative;
}
body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}
body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Header - solid background to avoid overlay issues */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #eee;
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px; /* Zmniejszony padding na mobile */
    min-height: var(--header-h);
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px; /* Zmniejszony odstęp */
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 20px; /* Zmniejszona czcionka na mobile */
    color: var(--red);
    line-height: 1.2;
}
.logo-badge {
    width: 32px; /* Zmniejszone logo na mobile */
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 30%, #ffb5c6 0%, #e76b86 45%, #d94b67 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: var(--shadow);
}
.logo-badge svg {
    width: 20px;
    height: 20px;
}
@media (min-width: 900px) {
    .nav {
        padding: 12px 20px;
    }
    .logo {
        font-size: 24px;
        gap: 10px;
    }
    .logo-badge {
        width: 40px;
        height: 40px;
    }
    .logo-badge svg {
        width: 24px;
        height: 24px;
    }
}

.nav-links {
    display: none;
    gap: 18px;
    align-items: center;
}
nav.nav-links li {
    list-style: none;
}
@media (min-width: 900px) {
    .nav-links {
        display: flex;
    }
}
.nav-links a {
    padding: 8px 12px;
    border-radius: 10px;
    color: #444;
    transition: color var(--transition), background var(--transition);
    font-weight: 600;
}
.nav-links a:hover {
    background: var(--soft-gray);
    color: var(--red);
}
.nav-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-strong));
    color: #fff;
    padding: 8px 16px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    border: 0;
    background: transparent;
    padding: 8px;
    border-radius: 10px;
}
.menu-toggle span {
    width: 22px;
    height: 2px;
    background: #444;
    border-radius: 2px;
    display: block;
    transition: transform var(--transition), opacity var(--transition);
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-collapse {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 999;
    flex-direction: column;
    gap: 8px;
    padding: 12px 20px 16px;
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-8px);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
}
.nav-collapse a {
    padding: 14px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #f1f1f1;
    font-weight: 600;
    color: #333;
}
.nav-collapse li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-collapse li a {
    display: block;
    width: 100%;
}

.nav-collapse a:hover {
    background: var(--soft-gray);
    border-color: #eaeaea;
    color: var(--red);
}

@media (min-width: 900px) {
    .menu-toggle {
        display: none;
    }
    .nav-collapse {
        display: none !important;
    }
}

/* Sections need top padding so content isn't covered by sticky header */
section {
    position: relative;
    z-index: 1;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, var(--rose) 100%);
    padding-top: 16px;
}
.hero .container {
    display: grid;
    gap: 26px;
    align-items: center;
    padding: 48px 20px 24px;
    grid-template-columns: 1fr;
    min-height: 60vh;
}
.hero-text h1 {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    font-size: 38px;
    line-height: 1.2;
    margin: 0 0 10px;
    color: #1f1f1f;
}
.hero-text p {
    color: #555;
    margin: 0 0 18px;
    max-width: 640px;
}
.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.btn {
    padding: 12px 20px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition),
        background var(--transition);
    font-weight: 700;
}
.btn-primary {
    background: linear-gradient(135deg, #ffb0c0, #d94b67);
    color: #fff;
    box-shadow: 0 10px 24px rgba(217, 75, 103, 0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
}
.btn-ghost {
    background: #fff;
    color: #333;
    border: 1px solid #eee;
}
.hero-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.hero-media img {
    aspect-ratio: 16/10;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.02);
}
.badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    color: #444;
    border: 1px solid #eee;
}
@media (min-width: 900px) {
    .hero .container {
        grid-template-columns: 1.1fr 1fr;
        padding: 64px 20px;
    }
    .hero-text h1 {
        font-size: 52px;
    }
}

@media (max-width: 768px) {
    .hero-media {
      display: none;
    }
  }

.section {
    padding: 64px 0;
}
.section-title {
    font-family: "Playfair Display", serif;
    font-size: 30px;
    margin: 0 0 16px;
    text-align: center;
    color: #1f1f1f;
}
.section-sub {
    max-width: 760px;
    margin: 0 auto 26px;
    text-align: center;
    color: #555;
}

/*--- about section ---*/
section#about {
    background: linear-gradient(180deg, var(--rose) 0%, #fff 100%);
}

/* Mission */
.mission-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 16px;
}
.mission-grid {
    display: grid;
    gap: 16px;
}
.mission-grid img {
    border-radius: var(--radius);
    object-fit: cover;
    height: 220px;
    width: 100%;
}

/* Profiles slider */
.profiles {
    /* background: linear-gradient(180deg, var(--rose) 0%, #fff 100%); */
    position: relative;
    padding-bottom: 64px; /* <-- DODAJ TĘ LINIĘ */
}
.slider {
    position: relative;
    overflow: hidden;
}
.slides {
    display: flex;
    gap: 16px;
    transition: transform 450ms ease;
    will-change: transform;
    padding: 6px;
}

.promo-banner {
    background-color: #ffffff;
    color: #b08d55; /* Kolor zbliżony do przycisku Kontakt */
    border: 2px solid #b08d55;
    padding: 15px 20px;
    text-align: center;
    font-family: sans-serif; /* Dopasuj do fontu strony */
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px; /* Mocno zaokrąglone rogi */
    margin: 0 auto 40px auto; /* Centrowanie i odstęp od dołu */
    max-width: 600px; /* Żeby nie był zbyt szeroki na dużych ekranach */
    box-shadow: 0 4px 15px rgba(176, 141, 85, 0.15); /* Delikatny złoty cień */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Dodanie serduszka dla ozdoby */
.promo-banner::before {
    content: "♥";
    font-size: 24px;
}

/* Responsywność dla telefonów */
@media (max-width: 768px) {
    .promo-banner {
        font-size: 14px;
        width: 90%;
        padding: 12px;
    }
}

.profile-card {
    min-width: 350px;
    max-width: 300px;
    flex: 0 0 80%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}
.profile-card:hover {
    transform: translateY(-4px);
}
.profile-media img {
    min-height: 220px;
    width: 100%;
    object-fit:contain;
}
.profile-body {
    padding: 14px;
}
.profile-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    color: #1f1f1f;
}
.profile-meta {
    color: var(--mid-gray);
    font-size: 14px;
    margin-top: 2px;
}
.profile-desc {
    margin: 10px 0;
    color: #555;
    font-size: 15px;
}
.profile-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.profile-actions .btn-outline {
    width: 100%;
    text-align: center;
}

/* --- STYLIZACJA STRONY PROFILU (SINGLE) --- */

.single-profile-section {
    padding-top: 32px;
    background: linear-gradient(180deg, var(--soft-gray) 0%, #fff 100%);
}

.single-profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}
@media (min-width: 900px) {
    .single-profile-grid {
        grid-template-columns: 1.2fr 1fr; /* Szersza kolumna na zdjęcia */
        gap: 48px;
    }
}

/* --- NOWY SLIDER ZDJĘĆ W PROFILU --- */
.profile-slider-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
}

.profile-slides-container {
    overflow: hidden;
    width: 100%;
}

.profile-slides {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

.profile-slide {
    min-width: 100%;
    /* flex-shrink: 0; */
    cursor: pointer;
}

.profile-slide img {
    width: 100%;
    height: auto;
    /* aspect-ratio: 3/4; Ustalona proporcja portretowa */
    object-fit: cover;
    display: block;
}

/* Strzałki slidera */
.profile-slider-prev,
.profile-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 24px;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.profile-slider-prev:hover,
.profile-slider-next:hover {
    background: #fff;
    color: var(--red);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.profile-slider-prev { left: 16px; }
.profile-slider-next { right: 16px; }

/* Licznik slidera */
.profile-slider-counter {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Miniaturki pod sliderem */
.profile-thumbnails {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.profile-thumb {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    background: none;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.profile-thumb:hover {
    opacity: 0.9;
}

.profile-thumb.active {
    border-color: var(--red, #c0392b);
    opacity: 1;
}

.profile-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-placeholder-image {
    aspect-ratio: 3/4;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 600;
    border-radius: var(--radius-lg);
}


/* --- DANE PROFILU --- */
.single-profile-details h1 {
    font-family: "Playfair Display", serif;
    font-size: 32px;
    margin: 0 0 8px;
    color: var(--dark);
}
@media (min-width: 900px) {
    .single-profile-details h1 {
        font-size: 40px;
    }
}
.profile-meta-id {
    color: var(--mid-gray);
    font-size: 16px;
    margin: 0 0 20px;
    font-weight: 600;
}

/* Trust Badge */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e9f7f0; /* Jasnozielone tło */
    color: #136647; /* Ciemnozielony tekst */
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid #d1e7dd;
}
.trust-badge svg {
    width: 18px;
    height: 18px;
}


.profile-data-list ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #eee;
    overflow: hidden;
}
.profile-data-list li {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.profile-data-list li:last-child {
    border-bottom: none;
}
.profile-data-list li:nth-child(even) {
    background-color: #fafafa;
}
.profile-data-list .label {
    color: var(--mid-gray);
    font-weight: 600;
    font-size: 14px;
}
.profile-data-list .value {
    color: var(--dark);
    font-weight: 700;
    text-align: right;
}

.profile-content-text {
    margin-bottom: 32px;
    color: #555;
    line-height: 1.7;
}

.profile-contact-box.main-cta-box {
    background: #fff;
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid #f0f0f0;
    box-shadow: var(--shadow-strong); /* Mocniejszy cień */
    position: relative;
    overflow: hidden;
}
/* Ozdobny pasek na górze */
.profile-contact-box.main-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--red), var(--gold));
}

.profile-contact-box h3 {
    margin: 0 0 20px;
    font-family: "Playfair Display", serif;
    font-size: 24px;
    color: var(--dark);
    text-align: center;
}

/* Disclaimer przeniesiony na dół - stylizacja */
.profile-contact-note.subtle {
    margin: 16px 0 0;
    color: #777;
    font-size: 13px;
    text-align: center;
    line-height: 1.5;
    border-top: 1px solid #eee;
    padding-top: 14px;
}

/* Reset wewnątrz CF7 */
.profile-contact-box .wpcf7-form {
    display: grid;
    gap: 14px;
}
.profile-contact-box .wpcf7-form p {
    margin: 0;
}
/* Ukrywamy <br> w formularzu */
.profile-contact-box .wpcf7-form br {
    display: none;
}

/* Pola formularza */
.profile-contact-box .wpcf7-form .wpcf7-form-control {
    width: 100%;
    border: 2px solid #f0f0f0; /* Grubsza, jasna ramka */
    border-radius: 12px;
    padding: 14px 16px;
    background: #fdfdfd;
    color: var(--dark);
    outline: none;
    transition: all var(--transition);
    font-size: 15px;
}
/* Zmniejszona wysokość pola wiadomości! */
.profile-contact-box .wpcf7-form .wpcf7-textarea {
    min-height: 100px; /* Było 140px */
    resize: vertical;
}
.profile-contact-box .wpcf7-form .wpcf7-form-control::placeholder {
    color: #aaa;
}

/* Focus na polu */
.profile-contact-box .wpcf7-form .wpcf7-form-control:focus {
    border-color: var(--red);
    background: #fff;
    box-shadow: 0 4px 12px rgba(217, 75, 103, 0.1);
}

/* Ukryte pola CF7 */
.profile-contact-box .wpcf7-hidden {
    display: none !important;
}

/* --- PRZYCISK GŁÓWNY (CTA) - NAJWAŻNIEJSZA ZMIANA --- */
.profile-contact-box .wpcf7-submit {
    width: 100%; /* Pełna szerokość */
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); /* Czerwony gradient */
    color: #fff; /* Biały tekst */
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-weight: 800; /* Bardzo gruby tekst */
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 8px 20px rgba(217, 75, 103, 0.3);
    margin-top: 8px;
}

.profile-contact-box .wpcf7-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(217, 75, 103, 0.5);
    background: linear-gradient(135deg, #e35d7a 0%, #c03a55 100%); /* Jaśniejszy przy hover */
}
.profile-contact-box .wpcf7-spinner {
    margin-left: 8px;
}

/* Komunikaty błędów/sukcesu */
.profile-contact-box .wpcf7-not-valid-tip {
    color: var(--red);
    font-size: 13px;
    margin-top: 6px;
    font-weight: 600;
}
.profile-contact-box .wpcf7-response-output {
    margin: 16px 0 0;
    border-radius: 12px;
    padding: 14px;
    font-weight: 600;
    text-align: center;
}
.profile-contact-box .wpcf7 form.sent .wpcf7-response-output {
    background: #e9f7f0;
    color: #136647;
    border: 1px solid #d1e7dd;
}
.profile-contact-box .wpcf7 form.failed .wpcf7-response-output,
.profile-contact-box .wpcf7 form.invalid .wpcf7-response-output {
    background: #fdecec;
    color: #8a1f1f;
    border: 1px solid #f5c6cb;
}

/* --- ULEPSZONA NAWIGACJA DOLNA --- */
.profile-navigation-refined {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid #eee;
    gap: 16px;
    flex-wrap: wrap;
}

/* Przyciski Prev/Next - mniejsze i subtelniejsze */
.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    color: #666;
    font-weight: 600;
    font-size: 14px;
    transition: all var(--transition);
    box-shadow: var(--shadow);
}
.nav-btn:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-2px);
}
.nav-btn.nav-disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
    box-shadow: none;
    background: #f9f9f9;
}

/* Środkowy link "Alle Profile" - najmniej inwazyjny */
.nav-link-all {
    font-weight: 700;
    color: var(--mid-gray);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 8px 12px;
    transition: color var(--transition);
}
.nav-link-all:hover {
    color: var(--red);
    text-decoration: underline;
}

/* Responsywność nawigacji */
@media (max-width: 768px) {
    .profile-navigation-refined {
        flex-direction: column;
        gap: 20px;
    }
    .nav-link-all {
        order: -1; /* Link "Alle" na samą górę na mobile */
    }
    .nav-btn {
        width: 100%;
        justify-content: center;
    }
}



/* --- Lightbox (prosty) --- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9); /* Ciemniejsze tło */
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px); /* Rozmycie tła */
}
.lightbox-overlay.open {
    display: flex;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox-content {
    position: relative;
    max-width: min(90vw, 1200px);
    max-height: 90vh;
}
.lightbox-content img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: var(--shadow-strong);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 0;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 24px;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.4);
}

.lightbox-close {
    top: -60px;
    right: 0;
    font-size: 32px;
}
.lightbox-prev {
    top: 50%;
    left: -70px;
    transform: translateY(-50%);
}
.lightbox-next {
    top: 50%;
    right: -70px;
    transform: translateY(-50%);
}
@media (max-width: 900px) {
    .lightbox-prev, .lightbox-next {
        display: none; /* Ukryj strzałki na mobile, zaufaj swipe (w przyszłości) lub klikaniu */
    }
    .lightbox-close {
        top: 16px;
        right: 16px;
        background: rgba(0,0,0,0.5);
    }
}

.btn-outline {
    background: #fff;
    border: 1px solid #eee;
    color: #333;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 700;
}
.btn-see {
    background: linear-gradient(135deg, #ffb0c0, #d94b67);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 700;
}
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}
.ctrl {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #eee;
    background: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: var(--shadow);
}
@media (min-width: 700px) {
    .profile-card {
        flex: 0 0 calc(33.333% - 16px);
        min-width: auto;
    }
}

/* Testimonials */
.t-grid {
    display: grid;
    gap: 16px;
}
.t-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--shadow);
}
.t-quote {
    font-style: italic;
    color: #333;
}
.t-meta {
    margin-top: 10px;
    color: #777;
    font-size: 14px;
}
@media (min-width: 900px) {
    .t-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* How it works */
.steps {
    background: linear-gradient(180deg, #fff 0%, var(--rose) 100%);
}
.steps-grid {
    display: grid;
    gap: 16px;
}
.step {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--shadow);
    position: relative;
}
.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ffd9a0, var(--gold));
    color: #fff;
    font-weight: 800;
    position: absolute;
    top: -18px;
    left: -18px;
    box-shadow: var(--shadow);
}
.step h4 {
    margin: 6px 0 8px;
    font-family: "Playfair Display", serif;
}
.step p {
    margin: 0;
    color: #555;
}
@media (min-width: 900px) {
    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Contact / Footer */
.contact-grid {
    display: grid;
    gap: 16px;
}
.card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--shadow);
}
.newsletter {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.newsletter input {
    flex: 1;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 12px 14px;
    outline: none;
}
.newsletter button {
    border: 0;
    border-radius: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--gold), var(--gold-strong));
    color: #fff;
    font-weight: 700;
}
.socials {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: var(--shadow);
}
@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}
footer {
    border-top: 1px solid #eee;
    padding: 18px 0;
    color: #777;
    background: #fff;
}

/* Animations on scroll */
.reveal {
    opacity: 1;
    transform: none;
} /* fallback visible by default */
.js-animate .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: 600ms ease;
}
.js-animate .reveal.in {
    opacity: 1;
    transform: none;
}


/* Testimonials slider */
.testimonials {
    background: linear-gradient(180deg, #fff 0%, var(--rose) 100%);
}
.review-card {
    flex: 0 0 80%;
    max-width: 520px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 18px;
    box-shadow: var(--shadow);
}
.review-card .text {
    color: #333;
    font-style: italic;
}
.review-author {
    margin-top: 12px;
    color: #777;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}
.review-author .author-name {
    font-weight: 700;
    color: #1f1f1f;
}
@media (min-width: 700px) {
    .review-card {
        flex: 0 0 calc(50% - 16px);
        max-width: none;
    }
}


/* --- Strona Kontaktowa - Dane teleadresowe --- */
.contact-details-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-direction: column;
    gap: 22px; /* Odstęp między pozycjami */
}

.contact-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px; /* Odstęp między ikoną a tekstem */
}

.contact-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--red); /* Używamy koloru z motywu */
    margin-top: 2px;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-text {
    line-height: 1.6;
}

.contact-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--mid-gray); /* Używamy koloru z motywu */
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-text a {
    font-weight: 600;
    color: var(--dark);
    transition: color var(--transition);
}

.contact-text a:hover {
    color: var(--red);
    text-decoration: underline;
}

/* --- Paginacja - stylowanie --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #555;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pagination .page-numbers:hover {
    background: var(--soft-gray);
    border-color: #d1d5db;
    color: var(--red);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pagination .page-numbers.current {
    background: linear-gradient(135deg, var(--red), #e76b86);
    color: #fff;
    border-color: var(--red);
    box-shadow: 0 4px 16px rgba(217, 75, 103, 0.25);
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    background: linear-gradient(135deg, var(--gold), var(--gold-strong));
    color: #fff;
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(202, 165, 95, 0.25);
}

.pagination .page-numbers.prev:hover,
.pagination .page-numbers.next:hover {
    background: linear-gradient(135deg, var(--gold-strong), #a17a2f);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(202, 165, 95, 0.3);
}

.pagination .page-numbers.dots {
    border: none;
    background: transparent;
    box-shadow: none;
    color: #9aa0a6;
    font-weight: 400;
}

.pagination .page-numbers.dots:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
    color: #9aa0a6;
}

/* Responsywność paginacji */
@media (max-width: 600px) {
    .pagination {
        gap: 6px;
        margin-top: 32px;
    }

    .pagination .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 0 10px;
        font-size: 14px;
    }
}

/* --- Sekcja: Mission (udoskonalone style) --- */
.mission-card {
    /* Ustawiamy padding, aby był spójny i dobrze wyglądał z nową siatką */
    padding: 32px;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr; /* Domyślnie jedna kolumna na mobile */
    gap: 28px;
    text-align: center;
}

.mission-item .icon {
    display: inline-block;
    color: var(--red);
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
}

.mission-item h3 {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    color: var(--dark);
    margin: 0 0 8px;
}

#about h3 {
    text-align: center;
}

.mission-item p {
    color: #555;
    margin: 0;
    font-size: 15px;
}

/* Ustawienie 3 kolumn na większych ekranach */
@media (min-width: 900px) {
    .mission-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        text-align: left; /* Wyrównanie do lewej na desktopie */
    }
    .mission-item .icon {
        display: block; /* Ikona nad tekstem na desktopie */
    }
}

/* --- Sekcja: How It Works (Ablauf) --- */
.how-it-works {
    background: linear-gradient(180deg, #fff 0%, var(--rose) 100%);
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr; /* Jedna kolumna na mobile */
    gap: 48px; /* Większy odstęp, bo numery nachodzą na karty */
}

.step-card {
    position: relative;
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 40px 24px 24px;
    box-shadow: var(--shadow);
    text-align: center;
}

.step-number {
    position: absolute;
    top: -24px; /* Unosi numer nad kartę */
    left: 50%;
    transform: translateX(-50%); /* Centruje w poziomie */
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-strong));
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    box-shadow: var(--shadow);
    border: 3px solid #fff;
}

.step-content h3 {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    color: var(--dark);
    margin: 0 0 10px;
}

.step-content p {
    color: #555;
    margin: 0;
}

/* Trzy kolumny na desktopie */
@media (min-width: 900px) {
    .steps-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

/* Sekcja z wezwaniem do działania na końcu 'How It Works' */
.cta-section {
    text-align: center;
    margin-top: 56px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
}
.cta-section p {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 16px;
}
/* --- Przycisk "Zobacz więcej profili" pod sliderem --- */
.profiles-cta {
    text-align: center;
    margin-top: 40px; /* Odstęp od slidera */
    height: 44px;
}

/* Zwiększamy przycisk, aby był bardziej widoczny */
.profiles-cta .btn {
    padding: 14px 28px;
    font-size: 16px;
}

.our-values {
    background-color: var(--soft-gray); /* Jasnoszare tło dla oddzielenia sekcji */
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr; /* Jedna kolumna na mobile */
    gap: 20px;
    margin-top: 32px;
}

.feature-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.feature-item .icon {
    display: block;
    margin: 0 auto 14px;
    color: var(--red);
    width: 36px;
    height: 36px;
}

.feature-item h3 {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    color: var(--dark);
    margin: 0 0 8px;
}

.feature-item p {
    color: #555;
    margin: 0;
    font-size: 15px;
}

/* Tekst podsumowujący pod kartami */
.section-summary {
    max-width: 760px;
    margin: 40px auto 0;
    text-align: center;
    color: #444;
    font-size: 17px;
    font-style: italic;
}

/* Kontener na przycisk CTA */
.section-cta {
    text-align: center;
    margin-top: 24px;
}

/* Ustawienie 3 kolumn na większych ekranach */
@media (min-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

/* Główny kontener paska cookie */
.custom-consent-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
    border-top: 3px solid #f08a9b;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

/* Klasa pokazująca pasek */
.custom-consent-banner.show {
    display: block;
    animation: slideUp 0.5s forwards ease-out;
}

/* Styl ikonki cookie */
#cookie-settings-icon {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background-color: #f08a9b;
    border-radius: 50%;
    display: none; /* Ukryta, gdy baner jest widoczny */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9998;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

#cookie-settings-icon.show {
    display: flex; /* Pokazuje ikonkę gdy baner znika */
}

#cookie-settings-icon:hover {
    transform: scale(1.1);
}

/* Kontener wewnętrzny (ograniczenie szerokości) */
.consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Stylizacja tekstu */
.consent-content p {
    margin: 0;
    color: #4a4a4a;
    font-size: 14px;
    line-height: 1.6;
    flex: 1; /* Tekst zajmuje dostępną przestrzeń */
}

/* Wyróżnienie nagłówka w tekście */
.consent-content p strong {
    font-family: "Playfair Display", Georgia, serif; /* Font szeryfowy jak w nagłówkach strony */
    font-size: 16px;
    color: #222;
    display: block;
    margin-bottom: 4px;
}

/* Link do polityki prywatności */
.consent-content a {
    color: #f08a9b; /* Kolor różowy */
    text-decoration: underline;
    transition: color 0.3s;
}

.consent-content a:hover {
    color: #d66a7b; /* Ciemniejszy róż przy najechaniu */
}

/* Kontener przycisków */
.consent-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0; /* Zapobiega ściskaniu przycisków */
}

/* Wspólne style przycisków */
.consent-buttons button {
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

/* Przycisk akceptacji (Główny - różowy) */
#consent-accept-btn {
    background-color: #f08a9b; /* Kolor zbliżony do przycisku "Lernen Sie..." */
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(240, 138, 155, 0.3);
}

#consent-accept-btn:hover {
    background-color: #d66a7b;
    transform: translateY(-1px);
}

/* Przycisk odrzucenia (Drugorzędny - biały/szary) */
#consent-deny-btn {
    background-color: #f5f5f5;
    color: #555555;
    border: 1px solid #e0e0e0;
}

#consent-deny-btn:hover {
    background-color: #e0e0e0;
    color: #333;
}

/* Animacja wjazdu paska */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 1; transform: translateY(0); }
}

/* Wersja mobilna (RWD) */
@media (max-width: 768px) {
    .consent-content {
        flex-direction: column;
        text-align: left;
        gap: 20px;
    }

    .consent-buttons {
        width: 100%;
        display: flex;
        flex-direction: column; /* Przyciski jeden pod drugim na telefonie */
    }

    .consent-buttons button {
        width: 100%;
        padding: 14px; /* Większe pola dotykowe na mobile */
    }

    /* Styl ogólny tekstu statusu */
.consent-status-text {
    font-size: 13px;
    margin-top: 8px;
    font-weight: 700;
    transition: color 0.3s;
}

/* Kolor zielony dla zgody */
.consent-status-text.status-granted {
    color: #27ae60; /* Ładna zieleń */
}

/* Kolor szary/czerwony dla braku zgody */
.consent-status-text.status-denied {
    color: #c0392b; /* Stonowana czerwień */
}

/* Dostosowanie układu, aby tekst i status były w jednej kolumnie */
.consent-text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Na mobilkach status też musi wyglądać dobrze */
@media (max-width: 768px) {
    .consent-status-text {
        margin-bottom: 10px;
    }
}

@keyframes subtlePulse {
    0% { transform: scale(1); box-shadow: 0 4px 10px rgba(240, 138, 155, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 4px 20px rgba(240, 138, 155, 0.6); }
    100% { transform: scale(1); box-shadow: 0 4px 10px rgba(240, 138, 155, 0.3); }
}

/* Klasa, którą nadamy przyciskowi "Akceptuj", gdy użytkownik wcześniej odmówił */
.consent-buttons button.suggest-change {
    animation: subtlePulse 2s infinite; /* Pulsuje w nieskończoność */
    border: 2px solid #d66a7b; /* Dodatkowe pogrubienie ramki */
    font-weight: 800; /* Jeszcze grubszy tekst */
}

/* Klasa dla przycisku, który reprezentuje obecny stan (jest już wybrany) */
.consent-buttons button.is-selected {
    opacity: 0.6; /* Lekko przezroczysty */
    cursor: default; /* Kursor sugeruje, że to już jest wybrane */
    transform: none !important; /* Wyłącza efekty hover */
    box-shadow: inset 0 3px 5px rgba(0,0,0,0.1); /* Wygląda na wciśnięty */
}

/* Jeśli przycisk jest "wybrany", nie chcemy efektu hover */
.consent-buttons button.is-selected:hover {
    background-color: inherit;
    color: inherit;
}