/* ==========================================================================
   Document pages (regulamin, polityka-prywatnosci, rodo)
   ========================================================================== */

.document {
    position: relative;
    background-color: #fff;
    color: #181828;
    padding: 100px 0;
    margin: 0 0 -50px 0;
    text-align: center;
}

.document::before {
    pointer-events: none;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("../img/bg-light.png");
    background-position: bottom center;
    background-size: cover;
    opacity: 0.2;
}

.document__heading--secondary {
    margin-bottom: 20px;
    font-size: 17px;
    color: #D5846E;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

.document__heading--primary {
    font-size: 46px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #000;
}

.document__description {
    color: #4F4F4F;
    margin-bottom: 30px;
    text-align: justify;
}

/* WP content rendered inside document */
.document__description h1,
.document__description h2,
.document__description h3,
.document__description h4 {
    margin: 1.5rem 0 0.75rem;
    text-align: left;
}

.document__description p {
    margin: 0.5rem 0;
    text-align: justify;
}

.document__description ul,
.document__description ol {
    margin: 0.25rem 0 0.25rem 1.25rem;
    padding: 0;
    list-style: disc;
    text-align: left;
}

.document__description li {
    margin: 0.25rem 0;
}

.document__description table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.document__description td,
.document__description th {
    border: 1px solid #e5e7eb;
    padding: 0.6rem 0.7rem;
    vertical-align: top;
    font-size: 0.98rem;
    text-align: left;
}

.document__description th {
    background: #f3f4f6;
    font-weight: 700;
}

@media (max-width: 600px) {
    .document__description table {
        margin: 5px 0;
    }
    .document__description td,
    .document__description th {
        font-size: 10px;
        padding: 5px;
    }
}

/* ==========================================================================
   O mnie — Hero
   ========================================================================== */

.hero {
    position: relative;
    background-color: #EDEBE5;
    color: #181828;
    padding: 100px 0 0px;
}

.hero::before {
    pointer-events: none;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #EDEBE5;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.15;
}

.hero__desc-wrapper {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.hero__heading--secondary {
    font-size: 17px;
    color: #D5846E;
    text-transform: uppercase;
}

.hero__heading--primary {
    font-size: 64px;
}

.hero__description {
    text-align: center;
}

.hero__cta {
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .hero { padding: 50px 0; }
}

@media (max-width: 550px) {
    .hero { padding: 20px 0; }
    .hero__heading--primary { text-align: center; }
}

@media (max-width: 450px) {
    .hero__heading--primary { font-size: 36px; }
}

/* ==========================================================================
   O mnie — More (3 columns)
   ========================================================================== */

.more {
    padding: 120px 0;
    background-color: #EDEBE5;
}

.more__list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.more__list-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.more__img-wrapper {
    max-width: 90px;
}

.more__title {
    font-size: 22px;
    margin-bottom: 8px;
}

@media (max-width: 1024px) {
    .more { padding: 60px 0; }
    .more__list {
        flex-direction: column;
        align-items: center;
        max-width: max-content;
        margin: 0 auto;
        gap: 2rem;
    }
    .more__list-item {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 450px) {
    .more { padding: 20px 0; }
}

/* ==========================================================================
   O mnie — Info section
   ========================================================================== */

.info {
    background-color: #EDEBE5;
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-image: url("../img/astro-pattern.png");
    background-position: center center;
    background-repeat: repeat;
    background-size: 591px auto;
    opacity: .3;
    background-color: #EDEBE5;
}

.info__wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.info__img-wrapper {
    max-width: 50%;
}

.info__img {
    animation: bounce-out-down 8s ease infinite;
}

.info__desc-wrapper {
    max-width: 50%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
}

.info__title {
    font-size: 32px;
}

.info__description {
    line-height: 1.6;
}

.info__offer-title {
    font-size: 17px;
    color: #D5846E;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .info { text-align: center; }
    .info__wrapper { flex-direction: column-reverse; }
    .info__desc-wrapper { max-width: 100%; }
    .info__cta { align-self: center; }
}

@media (max-width: 450px) {
    .info__title { font-size: 20px; }
}

/* ==========================================================================
   Features (O kartach)
   ========================================================================== */

.features {
    position: relative;
    background-color: #21212C;
    color: #fff;
    padding: 100px 0;
    z-index: 1;
}

.features::before {
    pointer-events: none;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: #21212C;
    background-image: url("../img/Graphic-tarot.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: .2;
}

.features__heading--secondary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.features__heading--secondary img {
    max-width: 45px;
}

.features__heading--primary {
    font-size: 46px;
    text-align: center;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.features__list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    height: 100%;
    padding: 2rem 0;
}

.features__list-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.features__title {
    padding-bottom: 10px;
}

.features__img-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features__img-wrapper::before {
    content: '';
    position: absolute;
    --offset: -2.5rem;
    top: var(--offset);
    left: var(--offset);
    right: var(--offset);
    bottom: var(--offset);
    background-image: url("../img/circle-bg-tarot.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.features__img {
    animation: bounce-out-down 12s ease infinite;
}

@media (max-width: 900px) {
    .features__grid { grid-template-columns: 1fr; margin-top: 0; }
    .features__list { gap: 2rem; }
    .features__list-item {
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
        gap: .5rem;
    }
    .features__img-wrapper::before { --offset: 0; }
    .features__img { max-width: 75%; }
}

@media (max-width: 450px) {
    .features__heading--primary { font-size: 20px; }
}

/* ==========================================================================
   Reviews
   ========================================================================== */

.reviews {
    position: relative;
    background-color: #21212C;
    color: #fff;
    padding: 100px 0;
}

.reviews::before {
    pointer-events: none;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #21212c;
    background-image: url("../img/bg-dark.png");
    background-position: bottom right;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.15;
}

.reviews__container {
    position: relative;
    z-index: 1;
}

.reviews__heading--secondary {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    color: #B4975D;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.reviews__heading--secondary img {
    max-width: 42px;
}

.reviews__heading--primary {
    text-align: center;
    font-size: 46px;
    line-height: 1.3;
    color: #fff;
}

.reviews__primaryDescription {
    text-align: center;
    font-size: 16px;
    margin-bottom: 32px;
    margin-top: 23px;
    color: #fff;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.reviews .testimonial-swiper {
    max-width: 475px;
    margin: 0 auto;
}

.reviews .testimonial-swiper .swiper-wrapper {
    align-items: stretch;
}

.reviews .testimonial-swiper .swiper-slide {
    display: flex;
    height: auto;
}

.reviews .testimonial-swiper .swiper-button-prev,
.reviews .testimonial-swiper .swiper-button-next {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background: rgba(255,255,255,.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.reviews .testimonial-swiper .swiper-button-prev::after,
.reviews .testimonial-swiper .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.reviews .testimonial-swiper .swiper-button-prev { left: .5rem; }
.reviews .testimonial-swiper .swiper-button-next { right: .5rem; }

.reviews .testimonial-swiper .swiper-pagination {
    top: 0;
    bottom: auto;
    display: flex;
    padding: 20px 16px;
}

.reviews .testimonial-swiper .swiper-pagination-bullet {
    flex: 1;
    border-radius: 0;
    height: 2px;
    opacity: 1;
    background: rgba(255,255,255,.35);
}

.reviews .testimonial-swiper .swiper-pagination-bullet-active {
    background: #fff;
}

.reviews__follow {
    padding: 20px;
    display: flex;
    gap: 15px;
    position: absolute;
    bottom: 0;
    z-index: 10;
    width: 100%;
    cursor: pointer;
    color: #fff;
}

.reviews__follow-input {
    border: 1px solid rgb(219,219,219);
    padding: 10px 20px;
    font-size: 12px;
    border-radius: 30px;
    flex: 1;
}

.reviews__follow-icon-wrapper {
    max-width: 24px;
    display: flex;
    align-items: center;
    color: #fff;
    transition: .3s all ease-in-out;
    cursor: pointer;
}

.reviews__follow-icon-wrapper:hover {
    color: rgba(255,255,255,.35);
}

@media (max-width: 900px) {
    .reviews { padding: 50px 0; }
    .reviews__heading--primary { font-size: 2rem; }
}

@media (max-width: 550px) {
    .reviews__primaryDescription { max-width: 100%; }
    .reviews__heading--primary { font-size: 20px; }
}

/* ==========================================================================
   Contact form
   ========================================================================== */

.contact {
    --c-bg: #f7f8fb;
    --c-surface: #ffffff;
    --c-text: #0f172a;
    --c-muted: #6b7280;
    --c-border: #e5e7eb;
    --c-primary: #6d28d9;
    --c-primary-contrast: #ffffff;
    --c-error: #dc2626;
    --c-success: #16a34a;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(17, 24, 39, .08);
    position: relative;
}

.contact::before {
    pointer-events: none;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("../img/bg-light.png");
    background-position: bottom center;
    background-size: cover;
    opacity: 0.2;
}

.contact__container {
    max-width: 760px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem;
    position: relative;
    z-index: 1;
}

.contact__title {
    margin: 0 0 1.25rem;
    font-size: clamp(1.6rem, 1.1rem + 2vw, 2.2rem);
    line-height: 1.15;
    color: var(--c-text);
    text-align: center;
}

.contact-form {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

@media (min-width: 640px) {
    .contact-form { padding: 1.75rem; gap: 1.1rem; }
}

.contact-form__group { display: grid; gap: .5rem; }
.contact-form__label { font-size: .95rem; color: var(--c-muted); }

.contact-form__input,
.contact-form__textarea {
    width: 100%;
    font: inherit;
    color: var(--c-text);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: .8rem 1rem;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form__textarea { resize: vertical; min-height: 140px; }

.contact-form__input:focus,
.contact-form__textarea:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 4px rgba(109, 40, 217, .12);
}

.contact-form__input[aria-invalid="true"],
.contact-form__textarea[aria-invalid="true"] {
    border-color: var(--c-error);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, .08);
}

.contact-form__hint { font-size: .85rem; color: var(--c-muted); }
.contact-form__hint--error { color: var(--c-error); }

.contact-form__button {
    margin: 0 auto;
    cursor: pointer;
    border: none;
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #FFFFFF;
    background-color: #EC4400;
    box-shadow: 0px 10px 20px 0px rgba(255, 84, 84, 0.24);
    padding: 20px 50px;
    width: max-content;
    transition: .3s all ease-in-out;
}

.contact-form__button:hover,
.contact-form__button:focus {
    background-color: #C93D03;
}

.contact-form__status {
    margin-top: .5rem;
    padding: .75rem .9rem;
    border-radius: 10px;
    font-size: .95rem;
    border: 1px solid var(--c-border);
}

.contact-form__status--success {
    color: var(--c-success);
    background: rgba(22, 163, 74, .06);
    border-color: rgba(22, 163, 74, .25);
}

.contact-form__status--error {
    color: var(--c-error);
    background: rgba(220, 38, 38, .06);
    border-color: rgba(220, 38, 38, .25);
}

.contact-form__honeypot {
    position: absolute !important;
    left: -99999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* ==========================================================================
   Newsletter landing page
   ========================================================================== */

.newsletterPage .newsletter {
    padding: 2rem 1rem;
}

.newsletterPage .newsletter__container {
    max-width: 780px;
    margin: 0 auto;
}

.newsletterPage .newsletter__title {
    margin: 0 0 .5rem;
    font-size: 35px;
    line-height: 1.2;
    text-align: center;
    color: #b18930;
}

.newsletterPage .newsletter__lead {
    margin: 0 0 1.25rem;
    text-align: center;
}

.newsletterPage .newsletter__strong {
    font-size: 20px;
    color: #b18930;
}

.newsletterPage .newsletter__frame {
    display: block;
    width: 100%;
    border: 0;
    min-height: 760px;
}

.newsletterPage .newsletter__fallback {
    opacity: .75;
    font-style: italic;
}
