/* WWRD Page Styles */

/* Hero Section */
.hero-wrapper {
    background-color: #ece5c6;
    padding-bottom: 2rem;
}

.hero-wrapper .container {
    position: relative;
}

.hero-wrapper .particles-bg {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 0;
    pointer-events: none;
}

.hero-wrapper .hero-section {
    position: relative;
    z-index: 1;
}

/* Section Title */
.section-title {
    font-family: "PP Acma Bold", sans-serif;
    color: #ad1739;
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Feature Cards - "Co zapewniamy" */
.feature-card {
    background: linear-gradient(135deg, #ad1739 0%, #8a1230 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(173, 23, 57, 0.25);
    transition: all 0.3s ease;
    border: none;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(173, 23, 57, 0.4);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.feature-icon svg {
    fill: white;
}

.feature-title {
    font-family: "Poppins", sans-serif;
    color: white;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.feature-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Content Sections */
.content-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #ad1739;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ece5c6;
}

.section-number {
    font-family: "PP Acma Bold", sans-serif;
    font-size: 2.5rem;
    color: #ad1739;
    opacity: 0.3;
    line-height: 1;
}

.section-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #ad1739;
}

.section-content p {
    color: #555;
    line-height: 1.8;
}

.section-content strong {
    color: #333;
}

/* Info Box */
.info-box {
    background: #ece5c6;
    border-left: 4px solid #ad1739;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.info-box:hover {
    background: #e3d9b5;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(173, 23, 57, 0.15);
}

.info-box svg {
    flex-shrink: 0;
    color: #ad1739;
    margin-top: 2px;
}

.info-box span {
    color: #555;
}

/* Age Range Box */
.age-range-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #ece5c6;
    border-radius: 16px;
    flex-wrap: wrap;
    border-left: 5px solid #ad1739;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.age-item {
    text-align: center;
}

.age-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 0.25rem;
}

.age-value {
    font-family: "PP Acma Bold", sans-serif;
    color: #ad1739;
    font-size: 1.1rem;
}

.age-divider {
    display: flex;
    align-items: center;
}

.age-divider svg {
    fill: #ad1739;
}

/* Target Grid */
.target-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.target-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #ece5c6;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #555;
    transition: all 0.2s ease;
    border-left: 5px solid #ad1739;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.target-item:hover {
    background: #e3d9b5;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(173, 23, 57, 0.15);
}

.target-dot {
    display: none;
}

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

/* Therapy Grid */
.therapy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.therapy-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #ece5c6;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 5px solid #ad1739;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.therapy-item:hover {
    background: #e3d9b5;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(173, 23, 57, 0.15);
}

.therapy-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.therapy-item span {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}

@media (max-width: 576px) {
    .therapy-grid {
        grid-template-columns: 1fr;
    }
}

/* Steps Timeline */
.steps-timeline {
    position: relative;
    padding-left: 3rem;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #ad1739 0%, #ece5c6 100%);
}

.step-item {
    position: relative;
    padding-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
}

.step-item:last-child {
    padding-bottom: 0;
}

.step-number {
    position: absolute;
    left: -3rem;
    width: 30px;
    height: 30px;
    background: #ad1739;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "PP Acma Bold", sans-serif;
    font-size: 0.9rem;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(173, 23, 57, 0.3);
}

.step-content {
    flex: 1;
    padding: 1rem 1.5rem;
    background: #ece5c6;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 5px solid #ad1739;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.step-content:hover {
    background: #e3d9b5;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(173, 23, 57, 0.15);
}

.step-content h5 {
    font-family: "PP Acma Bold", sans-serif;
    color: #ad1739;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* CTA Section */
.cta-section {
    background: #ece5c6;
    border-radius: 20px;
    margin-top: 2rem;
}

.cta-section h3 {
    font-family: "PP Acma Bold", sans-serif;
    color: #ad1739;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #ad1739;
    color: white;
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(173, 23, 57, 0.3);
}

.btn-cta:hover {
    background: #8a1230;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(173, 23, 57, 0.4);
}

.btn-cta svg {
    transition: transform 0.3s ease;
}

.btn-cta:hover svg {
    transform: translateX(5px);
}

/* Sidebar */
.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #ad1739;
}

.sidebar-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.sidebar-card-header svg {
    color: #ad1739;
}

.sidebar-card-header h4 {
    font-family: "PP Acma Bold", sans-serif;
    color: #ad1739;
    font-size: 1.1rem;
    margin: 0;
}

.sidebar-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-sidebar {
    /* Pozostaw domyślny czerwony pasek */
}

.info-sidebar {
    background: white;
    border-left: 5px solid #ad1739;
}

.btn-sidebar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: #ad1739;
    border: 2px solid #ad1739;
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-sidebar:hover {
    background: #ad1739;
    color: white;
}

.btn-sidebar svg {
    transition: transform 0.3s ease;
}

.btn-sidebar:hover svg {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar-sticky {
        position: static;
    }

    .content-section {
        padding: 1.5rem;
    }

    .section-number {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 1.25rem;
    }

    .section-header {
        flex-wrap: wrap;
    }

    .section-header h2 {
        font-size: 1.15rem;
    }

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

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

    .hero-section {
        padding: 2rem 1.5rem !important;
    }

    .hero-section h1 {
        font-size: 1.75rem !important;
    }

    .hero-section p {
        font-size: 1rem !important;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .feature-card {
        padding: 1rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .feature-title {
        font-size: 0.9rem;
    }

    .feature-text {
        font-size: 0.8rem;
    }

    .age-range-box {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem 1rem;
    }

    .age-divider svg {
        transform: rotate(90deg);
    }

    .steps-timeline {
        padding-left: 2.5rem;
    }

    .step-number {
        left: -2.5rem;
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }

    .step-content {
        padding: 0.75rem 1rem;
    }

    .step-content h5 {
        font-size: 0.95rem;
    }

    .step-content p {
        font-size: 0.85rem;
    }

    .info-box {
        padding: 0.875rem 1rem;
        gap: 0.75rem;
        border-radius: 10px;
    }

    .info-box svg {
        width: 18px;
        height: 18px;
        min-width: 18px;
    }

    .info-box span {
        font-size: 0.875rem;
        line-height: 1.6;
        word-break: break-word;
    }

    .content-section {
        padding: 1rem;
        border-left: 3px solid #ad1739;
        border-radius: 16px;
    }

    .section-number {
        font-size: 1.75rem;
    }

    .section-header {
        gap: 0.75rem;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }

    .section-header h2 {
        font-size: 1.1rem;
    }

    .section-content p {
        font-size: 0.9rem;
    }

    .therapy-item {
        padding: 0.875rem;
        gap: 0.75rem;
    }

    .therapy-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .therapy-item span {
        font-size: 0.875rem;
    }

    .target-item {
        padding: 0.625rem 0.875rem;
        font-size: 0.85rem;
        border-left: 3px solid #ad1739;
    }

    .age-value {
        font-size: 1rem;
    }

    .btn-cta {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    .cta-section {
        padding: 1.5rem 1rem;
        border-radius: 16px;
        margin-top: 1.5rem;
    }

    .cta-section h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .sidebar-card {
        padding: 1.25rem;
        border-left: 3px solid #ad1739;
    }

    .sidebar-card-header h4 {
        font-size: 1rem;
    }

    .sidebar-card p {
        font-size: 0.875rem;
    }

    .hero-section {
        padding: 1.5rem 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-section h1 {
        font-size: 1.5rem !important;
    }

    .hero-section p {
        font-size: 0.95rem !important;
        max-width: 100% !important;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .hero-wrapper .container {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    main.container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

/* Klikalne karty terapii */
.therapy-item[data-therapy] {
    cursor: pointer;
    position: relative;
}

.therapy-hint {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: #ad1739;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.therapy-hint svg {
    width: 16px;
    height: 16px;
    animation: bounce-arrow 1.5s ease-in-out infinite;
}

@keyframes bounce-arrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.therapy-item[data-therapy]:hover .therapy-hint {
    opacity: 1;
}

.therapy-item[data-therapy]:hover {
    background: #e3d9b5;
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(173, 23, 57, 0.2);
}

/* Modale terapii */
.therapy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: -1;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: none;
}

.therapy-modal.active {
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    opacity: 1;
    pointer-events: all;
}

.therapy-modal-content {
    background: white;
    border-radius: 24px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    transform: scale(0.8) translateY(30px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.therapy-modal.active .therapy-modal-content {
    transform: scale(1) translateY(0);
}

.therapy-modal-header {
    background: linear-gradient(135deg, #ad1739 0%, #8a1230 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.therapy-modal-icon {
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.15);
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.therapy-modal-header h3 {
    margin: 0;
    font-family: "PP Acma Bold", sans-serif;
    font-size: 1.3rem;
    color: white;
    flex: 1;
}

.therapy-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.therapy-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.therapy-modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(85vh - 100px);
}

.therapy-modal-body p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.therapy-modal-body p:last-child {
    margin-bottom: 0;
}

.therapy-modal-body ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.therapy-modal-body li {
    color: #555;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    position: relative;
}

.therapy-modal-body li::marker {
    color: #ad1739;
}

/* Responsive dla modali */
@media (max-width: 576px) {
    .therapy-modal-content {
        width: 95%;
        border-radius: 20px;
    }

    .therapy-modal-header {
        padding: 1.25rem 1.5rem;
    }

    .therapy-modal-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .therapy-modal-header h3 {
        font-size: 1.1rem;
    }

    .therapy-modal-body {
        padding: 1.5rem;
    }

    .therapy-hint {
        display: none;
    }
}

/* Sidebar - Checklista */
.checklist-sidebar {
    background: white;
    border-left: 5px solid #ad1739;
}

.checklist-sidebar .sidebar-card-header svg {
    color: #ad1739;
}

.checklist-sidebar .sidebar-card-header h4 {
    color: #ad1739;
}

.checklist-sidebar p {
    color: #666;
}

.btn-checklist {
    background: transparent;
    color: #ad1739;
    border: 2px solid #ad1739;
    width: 100%;
    justify-content: center;
    border-radius: 50px;
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-checklist:hover {
    background: #ad1739;
    color: white;
}

/* Sidebar - Regulamin */
.regulamin-sidebar {
    background: white;
    border-left: 5px solid #ad1739;
}

.regulamin-sidebar .sidebar-card-header svg {
    color: #ad1739;
}

.regulamin-sidebar .sidebar-card-header h4 {
    color: #ad1739;
}

.regulamin-sidebar p {
    color: #666;
}

.btn-regulamin {
    background: transparent;
    color: #ad1739;
    border: 2px solid #ad1739;
    width: 100%;
    justify-content: center;
    border-radius: 50px;
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-regulamin:hover {
    background: #ad1739;
    color: white;
}

/* Modal Checklisty */
.checklist-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: -1;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: none;
}

.checklist-modal.active {
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    opacity: 1;
    pointer-events: all;
}

.checklist-modal-content {
    background: white;
    border-radius: 24px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.8) translateY(30px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.checklist-modal.active .checklist-modal-content {
    transform: scale(1) translateY(0);
}

.checklist-modal-header {
    background: linear-gradient(135deg, #ad1739 0%, #8a1230 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.checklist-modal-icon {
    font-size: 2rem;
}

.checklist-modal-header h3 {
    margin: 0;
    font-family: "PP Acma Bold", sans-serif;
    font-size: 1.3rem;
    color: white;
    flex: 1;
}

.checklist-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.checklist-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.checklist-modal-body {
    padding: 1.5rem 2rem 2rem;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

/* Kroki checklisty */
.checklist-step {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #ece5c6;
}

.checklist-step:last-of-type {
    border-bottom: none;
}

.checklist-step-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.checklist-step-icon {
    font-size: 1.25rem;
}

.checklist-step-header h4 {
    margin: 0;
    font-family: "PP Acma Bold", sans-serif;
    font-size: 1rem;
    color: #ad1739;
}

.checklist-intro {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
}

/* Checkbox items */
.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f8f6f0;
    border-radius: 10px;
    cursor: default;
    transition: all 0.2s ease;
    position: relative;
    pointer-events: none;
    user-select: none;
}

.checklist-item:hover {
    background: #ece5c6;
}

.checklist-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: default;
    pointer-events: none;
}

.checklist-item .checkmark {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid #ad1739;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.checklist-item .checkmark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease;
}

.checklist-item input[type="checkbox"]:checked + .checkmark {
    background: #ad1739;
    border-color: #ad1739;
}

.checklist-item input[type="checkbox"]:checked + .checkmark::after {
    transform: rotate(45deg) scale(1);
}

.checklist-item input[type="checkbox"]:checked ~ span:last-child {
    text-decoration: line-through;
    color: #999;
}

.checklist-item span:last-child {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
}

/* Notatki */
.checklist-note {
    font-size: 0.85rem;
    color: #666;
    background: #fff8e1;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-top: 0.75rem;
    border-left: 3px solid #ffc107;
}

/* Info box */
.checklist-info-box {
    background: #e8f5e9;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.checklist-info-box h5 {
    font-family: "PP Acma Bold", sans-serif;
    color: #2e7d32;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.checklist-info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist-info-box li {
    font-size: 0.9rem;
    color: #333;
    padding: 0.25rem 0;
}

/* Kontakt box */
.checklist-contact {
    background: #ece5c6;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.checklist-contact h5 {
    font-family: "PP Acma Bold", sans-serif;
    color: #ad1739;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.checklist-contact p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
}

.btn-checklist-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #ad1739;
    color: white;
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-checklist-contact:hover {
    background: #8a1230;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(173, 23, 57, 0.3);
}

.btn-checklist-contact svg {
    transition: transform 0.3s ease;
}

.btn-checklist-contact:hover svg {
    transform: translateX(5px);
}

/* Responsive dla checklisty */
@media (max-width: 576px) {
    .checklist-modal-content {
        width: 95%;
        border-radius: 20px;
    }

    .checklist-modal-header {
        padding: 1.25rem 1.5rem;
    }

    .checklist-modal-header h3 {
        font-size: 1.1rem;
    }

    .checklist-modal-body {
        padding: 1.25rem 1.5rem;
    }

    .checklist-step-header h4 {
        font-size: 0.95rem;
    }

    .checklist-item {
        padding: 0.6rem 0.75rem;
    }

    .checklist-item span:last-child {
        font-size: 0.85rem;
    }
}

/* Modal Regulaminu WWRD */
.regulamin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: -1;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: none;
}

.regulamin-modal.active {
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    opacity: 1;
    pointer-events: all;
}

.regulamin-modal-content {
    background: white;
    border-radius: 24px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.8) translateY(30px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.regulamin-modal.active .regulamin-modal-content {
    transform: scale(1) translateY(0);
}

.regulamin-modal-header {
    background: linear-gradient(135deg, #ad1739 0%, #8a1230 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.regulamin-modal-icon {
    font-size: 2rem;
}

.regulamin-modal-header h3 {
    margin: 0;
    font-family: "PP Acma Bold", sans-serif;
    font-size: 1.3rem;
    color: white;
    flex: 1;
}

.regulamin-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.regulamin-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.regulamin-modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
    background: #ece5c6;
}

.regulamin-main-title {
    font-family: "PP Acma Bold", sans-serif;
    color: #ad1739;
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.regulamin-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

/* Timeline for Regulamin */
.regulamin-timeline {
    position: relative;
    padding: 20px 0;
}

.regulamin-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #ad1739 0%, #d4a574 100%);
}

.regulamin-timeline-item {
    position: relative;
    padding-left: 65px;
    margin-bottom: 40px;
}

.regulamin-timeline-badge {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ad1739 0%, #8b1230 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    font-family: "PP Acma Bold", sans-serif;
    box-shadow: 0 3px 10px rgba(173, 23, 57, 0.4);
    z-index: 2;
}

.regulamin-timeline-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #ad1739;
}

.regulamin-timeline-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(173, 23, 57, 0.15);
}

.regulamin-timeline-card h4 {
    font-family: "PP Acma Bold", sans-serif;
    color: #ad1739;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.regulamin-timeline-card p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.regulamin-timeline-card p:last-child {
    margin-bottom: 0;
}

.regulamin-timeline-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.regulamin-timeline-card li {
    color: #555;
    line-height: 1.7;
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.regulamin-timeline-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ad1739;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Download Section */
.regulamin-download-section {
    text-align: center;
    padding: 2rem;
    background: #e3d9b5;
    border-radius: 12px;
    margin-top: 2rem;
}

.regulamin-download-section h3 {
    font-family: "PP Acma Bold", sans-serif;
    color: #ad1739;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.btn-regulamin-download {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #ad1739 0%, #8b1230 100%);
    color: white;
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(173, 23, 57, 0.3);
}

.btn-regulamin-download:hover {
    background: linear-gradient(135deg, #8b1230 0%, #ad1739 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(173, 23, 57, 0.4);
}

.btn-regulamin-download svg {
    transition: transform 0.3s ease;
}

.btn-regulamin-download:hover svg {
    transform: translateY(3px);
}

/* Responsive dla regulaminu */
@media (max-width: 576px) {
    .regulamin-modal-content {
        width: 95%;
        border-radius: 20px;
    }

    .regulamin-modal-header {
        padding: 1.25rem 1.5rem;
    }

    .regulamin-modal-header h3 {
        font-size: 1.1rem;
    }

    .regulamin-modal-body {
        padding: 1.5rem;
    }

    .regulamin-main-title {
        font-size: 1rem;
    }

    .regulamin-subtitle {
        font-size: 0.85rem;
    }

    .regulamin-timeline::before {
        left: 15px;
    }

    .regulamin-timeline-item {
        padding-left: 55px;
        margin-bottom: 30px;
    }

    .regulamin-timeline-badge {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .regulamin-timeline-card {
        padding: 1.25rem;
    }

    .regulamin-timeline-card h4 {
        font-size: 1rem;
    }

    .regulamin-timeline-card p,
    .regulamin-timeline-card li {
        font-size: 0.9rem;
    }

    .regulamin-download-section {
        padding: 1.5rem;
    }

    .regulamin-download-section h3 {
        font-size: 1.1rem;
    }

    .btn-regulamin-download {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }
}

/* Strzałka powrotu do góry */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #ad1739;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(173, 23, 57, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #8a1230;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(173, 23, 57, 0.4);
}

.scroll-to-top svg {
    transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

