/*
Theme Name: Zatrzymaj Się
Theme URI: https://annakwoska.pl
Author: Anna Kwoska
Description: Coaching & psychology landing page theme — exact replica of Gamma site
Version: 2.0
License: GNU General Public License v2 or later
*/

/* =====================================================================
   DESIGN TOKENS — extracted from Gamma source
   ===================================================================== */
:root {
    /* Card backgrounds */
    --card-bg: #EFECE6;
    --card-bg-accent: #EBCC75;
    --page-bg: #DDD6CC;

    /* Mask / overlay */
    --card-mask: #efece6d9;
    /* 85% opacity beige */
    --card-mask-accent: #ebcc75d9;
    /* 85% opacity gold */

    /* Typography */
    --heading-color: #282824;
    --body-color: #4A4A45;
    --accent-color: #282824;
    --body-color-muted: #4a4a4580;
    --body-color-inv: #fff;

    /* Shape / card */
    --shape-bg: #e5dfd2;
    --shape-border: #cbc5b8;
    --neutral-bg: #e2dfd9;
    --neutral-border: rgba(0, 0, 0, 0.08);
    --clickable-bg: #e2dfd999;

    /* Font */
    --body-font: 'Lato', sans-serif;
    --heading-font: 'Lato', sans-serif;
    /* Sizing */
    --max-w: 1080px;
    --section-pad: 4.75em 3.5em;
    --section-pad-sm: 3em 1.5em;
}

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

html {
    font-family: var(--body-font);
    font-feature-settings: 'liga';
    font-weight: 400;
    color: var(--body-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Accounts for fixed header when clicking anchor links */
}

body {
    background-color: var(--page-bg);
    padding-top: 100px;
    /* Prevents content from hiding under the fixed header */
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.25;
}

/* =====================================================================
   LAYOUT — card-based vertical flow (matches Gamma)
   ===================================================================== */
.zs-label {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-color);
    background-color: transparent;
    border: 1px solid var(--shape-border);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.zs-card {
    background-color: var(--card-bg);
    background-size: cover;
    background-blend-mode: multiply;
    width: 100%;
    display: flow-root;
}

.zs-card--accent {
    background-color: var(--card-bg-accent);
    --body-color: #000;
}

.zs-card__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--section-pad);
}

@media (max-width: 768px) {
    .zs-card__inner {
        padding: var(--section-pad-sm);
    }
}

/* =====================================================================
   HEADER
   ===================================================================== */
.zs-site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--shape-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3.5em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.zs-header-brand a {
    font-size: 1.7em;
    font-weight: 700;
    font-family: var(--heading-font);
    color: var(--heading-color);
    letter-spacing: -0.02em;
    z-index: 1001;
    /* Keep above mobile menu overlay */
    position: relative;
}

.zs-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.zs-mobile-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--heading-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.zs-header-right {
    display: flex;
    align-items: center;
    gap: 2.5em;
}

/* Adjust for WordPress Admin Bar */
.admin-bar .zs-site-header {
    top: 32px;
}

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

.zs-site-nav {
    display: flex;
    align-items: center;
    gap: 2em;
}

.zs-site-nav a {
    color: var(--heading-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.05em;
    transition: color 0.2s, transform 0.2s;
}

.zs-site-nav a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* MOBILE RESPONSIVE HEADER */
@media screen and (max-width: 900px) {
    .zs-site-header {
        padding: 0 1.5em;
    }

    .zs-mobile-toggle {
        display: flex;
    }

    /* Transform mobile toggle into an 'X' when active */
    .zs-mobile-toggle.is-active span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }

    .zs-mobile-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .zs-mobile-toggle.is-active span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }

    .zs-header-right {
        position: fixed;
        top: 100px;
        left: 0;
        width: 100%;
        height: calc(100vh - 100px);
        background-color: var(--card-bg);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 3em;
        gap: 2.5em;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }

    .admin-bar .zs-header-right {
        top: 132px;
        height: calc(100vh - 132px);
    }

    @media screen and (max-width: 782px) {
        .admin-bar .zs-header-right {
            top: 146px;
            height: calc(100vh - 146px);
        }
    }

    .zs-header-right.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .zs-site-nav {
        flex-direction: column;
        gap: 2em;
    }

    .zs-site-nav a {
        font-size: 1.25em;
    }

    .zs-site-nav a:hover {
        transform: none;
    }
}

/* =====================================================================
   CARD 1 — HERO  (mountains behind, mask overlay)
   ===================================================================== */
.zs-hero {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.zs-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.zs-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 85% opacity beige mask — from --card-color-mask:#efece6d9 */
.zs-hero__mask {
    position: absolute;
    inset: 0;
    background-color: var(--card-mask);
    z-index: 1;
}

.zs-hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--max-w);
    padding: var(--section-pad);
    width: 100%;
}

.zs-hero__content h1 {
    font-size: 2.5em;
    margin-bottom: 0.6em;
}

.zs-hero__content p {
    font-size: 1em;
    margin-bottom: 1.5em;
    max-width: 600px;
}

@media (max-width: 768px) {
    .zs-hero__content {
        padding: var(--section-pad-sm);
    }

    .zs-hero__content h1 {
        font-size: 2em;
    }
}

/* Buttons (from Gamma button styles) */
.zs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 12em;
    padding: 0.5em 1em;
    min-height: 2.75em;
    font-family: var(--body-font);
    font-weight: 600;
    font-size: 1em;
    border-radius: 0.125em;
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
}

.zs-btn:hover {
    transform: scale(1.03);
}

.zs-btn--solid {
    background-color: var(--accent-color);
    color: var(--body-color-inv);
    border: none;
}

.zs-btn--outline {
    background-color: var(--card-bg);
    color: var(--accent-color);
    border: none;
    box-shadow: inset 0 0 0 1px var(--accent-color);
}

.zs-btn-group {
    display: flex;
    gap: 0.5em;
    flex-wrap: wrap;
}

/* cal.com button */
#calcom-embed-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 12em;
    padding: 0.5em 1em;
    min-height: 2.75em;
    font-family: var(--body-font);
    font-weight: 600;
    font-size: 1em;
    border-radius: 0.125em;
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;

    background-color: var(--card-bg) !important;
    color: var(--accent-color) !important;
    border: none;
    box-shadow: inset 0 0 0 1px var(--accent-color) !important;
    padding: 8px !important;
}

.wpb_form_popup_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 12em;
    padding: 0.5em 1em;
    min-height: 2.75em;
    font-family: var(--body-font);
    font-weight: 600;
    font-size: 1em;
    border-radius: 0.125em;
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;

    background-color: var(--accent-color) !important;
    color: var(--body-color-inv) !important;
    border: none;
    box-shadow: inset 0 0 0 1px var(--accent-color) !important;
    padding: 8px !important;
}

.zs-header-right #calcom-embed-link {
    background-color: var(--accent-color) !important;
    color: var(--body-color-inv) !important;
    border: none;
}

/* =====================================================================
   CARD 2 — PAIN POINTS  (gold / #EBCC75 background)
   ===================================================================== */
.zs-pain h2 {
    font-size: 2em;
    margin-bottom: 1.5em;
}

.zs-grid-2x3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
}

@media (max-width: 600px) {
    .zs-grid-2x3 {
        grid-template-columns: 1fr;
    }
}

.zs-outline-card {
    background: var(--card-bg-accent);
    border: 2px solid #1F7135;
    border-radius: 0.125em;
    padding: 1em;
}

.zs-outline-card h4 {
    font-size: 1.25em;
    margin-bottom: 0.4em;
}

.zs-outline-card p {
    font-size: 1em;
    color: #000;
}

.zs-pain-note {
    margin-top: 1.5em;
    font-style: italic;
    color: #000;
}

/* =====================================================================
   CARD 3 — SERVICES  (beige, 4 columns)
   ===================================================================== */
.zs-services h2 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

.zs-services>p {
    margin-bottom: 1.5em;
}

.zs-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
}

@media (max-width: 900px) {
    .zs-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .zs-grid-4 {
        grid-template-columns: 1fr;
    }
}

.zs-svc-card {
    background: var(--shape-bg);
    border-radius: 0.125em;
    padding: 1em;
}

.zs-svc-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--body-color-inv);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.6em;
    flex-shrink: 0;
}

.zs-svc-icon svg {
    width: 60%;
    height: 60%;
}

.zs-svc-card h3 {
    font-size: 1.25em;
    margin-bottom: 0.6em;
}

.zs-svc-card ul {
    list-style: disc;
    padding-left: 1.6em;
    font-size: 1em;
    line-height: 1.6;
}

/* =====================================================================
   CARD 4 — HOW WE WORK (beige, 4 columns with arrows)
   ===================================================================== */
.zs-how h2 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

.zs-how>p {
    margin-bottom: 1.5em;
}

.zs-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
}

@media (max-width: 900px) {
    .zs-flow {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .zs-flow {
        grid-template-columns: 1fr;
    }
}

.zs-flow-item {
    background: transparent;
    border: 1px solid var(--shape-border);
    border-radius: 8px;
    padding: 1.5em;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.zs-flow-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--card-bg-accent);
    /* usually accent for secondary icons */
    color: var(--heading-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1em;
    flex-shrink: 0;
}

.zs-flow-icon svg {
    width: 50%;
    height: 50%;
}

.zs-flow-item h4 {
    font-size: 1.15em;
    margin-bottom: 0.5em;
}

.zs-flow-item p {
    font-size: 0.9em;
    color: var(--body-color);
}

/* =====================================================================
   CARD 5 — O MNIE  (beige, 2-column: image + text, diamond bg)
   ===================================================================== */
.zs-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    align-items: start;
}

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

.zs-about__image img {
    width: 100%;
    border-radius: 0.125em;
}

.zs-about__text h2 {
    font-size: 2em;
    margin-bottom: 0.8em;
}

.zs-about__text p {
    margin-bottom: 1em;
}

/* =====================================================================
   CARD 6 — COLLABORATION (beige, timeline)
   ===================================================================== */
.zs-collab h2 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

.zs-collab>p {
    margin-bottom: 1.5em;
}

.zs-timeline {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.zs-timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5em;
}

.zs-timeline-graphic {
    position: relative;
    width: 60px;
    height: 88.6px;
    flex-shrink: 0;
    color: var(--card-bg-accent);
}

.zs-timeline-arrow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.zs-timeline-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--heading-color);
}

.zs-timeline-icon svg {
    width: 50%;
    height: 50%;
    margin-top: -10%;
}

.zs-timeline-content {
    padding-top: 0.5em;
}

.zs-timeline-content h4 {
    font-size: 1.25em;
    margin-bottom: 0.4em;
}

.zs-timeline-content p {
    font-size: 1em;
    color: var(--body-color);
}

/* =====================================================================
   CARD 7 — STRUCTURE (beige, 3-column grid)
   ===================================================================== */
.zs-structure {
    background-color: var(--card-bg);
    border-radius: 8px;
    /* Standard Gamma card radius */
    padding: 4.5em 2em !important;
    /* Larger vertical gap, smaller lateral width */
    margin: 3.5em auto;
    /* Spacing within the outer --accent wrapper */
}

@media (max-width: 600px) {
    .zs-structure {
        padding: 3em 1.25em !important;
        margin: 2em auto;
    }
}

.zs-structure h2 {
    font-size: 2em;
    margin-bottom: 1em;
}

.zs-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
}

@media (max-width: 600px) {
    .zs-grid-3 {
        grid-template-columns: 1fr;
    }
}

.zs-struct-card {
    background: var(--shape-bg);
    border-radius: 0.125em;
    padding: 1em;
}

.zs-struct-card h4 {
    font-size: 1.25em;
    margin-bottom: 0.4em;
}

.zs-struct-card p {
    font-size: 1em;
}

.zs-note-box {
    margin-top: 2em;
    background: transparent;
    padding: 0;
}

.zs-note-box h3 {
    font-size: 1.5em;
    margin-bottom: 0.8em;
}

.zs-note-list {
    list-style: disc;
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

.zs-note-list li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

.zs-highlight-quote {
    font-size: 1.1em;
    margin: 0;
    padding: 0 0 0 1em;
    border-left: 2px solid var(--heading-color);
}

.zs-highlight-quote mark {
    background-color: #FDF4DB;
    color: var(--heading-color);
    padding: 0.1em 0.3em;
    border-radius: 4px;
}

/* =====================================================================
   CARD 8 — OFERTA (beige, pricing grid 4 cols)
   ===================================================================== */
.zs-oferta h2 {
    font-size: 2em;
    margin-bottom: 1em;
}

.zs-price-card {
    background: var(--shape-bg);
    border-radius: 0.125em;
    padding: 1.5em;
    /* Increased padding */
}

.zs-price-card h3 {
    font-size: 1.15em;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 0.5em;
}

.zs-price-card p {
    font-size: 0.95em;
    line-height: 1.5;
    color: var(--body-color);
}

/* =====================================================================
   CARD 9 — MOMENT NA ZMIANĘ (beige, 3 columns)
   ===================================================================== */
.zs-moment h2 {
    font-size: 2em;
    margin-bottom: 1em;
}

.zs-moment-card {
    background: var(--shape-bg);
    border-radius: 0.125em;
    padding: 1em;
    text-align: center;
}

.zs-moment-card .zs-moment-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--body-color-inv);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.0 0.6em;
    font-size: 1.2em;
}

.zs-moment-card h4 {
    font-size: 1.25em;
    margin-bottom: 0.4em;
}

.zs-moment-card p {
    font-size: 1em;
}

/* =====================================================================
   CARD 10 — FINAL CTA (living room bg + mask)
   ===================================================================== */
.zs-cta {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.zs-cta__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.zs-cta__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zs-cta__mask {
    position: absolute;
    inset: 0;
    background-color: var(--card-mask);
    z-index: 1;
}

.zs-cta__content {
    position: relative;
    z-index: 2;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: var(--section-pad);
}

.zs-cta__content h2 {
    font-size: 2em;
    margin-bottom: 0.6em;
}

.zs-cta__content p {
    margin-bottom: 1.5em;
    max-width: 600px;
}

.zs-callout-box {
    margin-top: 2em;
    display: flex;
    align-items: flex-start;
    gap: 1em;
    background: #dbdbd7ff !important;
    padding: 1.5em;
    border-radius: 2px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.zs-callout-box svg {
    flex-shrink: 0;
    color: var(--heading-color);
    width: 24px;
    height: 24px;
    margin-top: 0.1em;
}

.zs-callout-text p {
    margin: 0;
    font-size: 1em;
    color: var(--body-color);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.zs-footer {
    background: var(--card-bg-accent);
    color: var(--body-color-muted);
    font-size: 0.85em;
    margin-top: auto;
}

.zs-footer__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 1em 3.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
}

.zs-footer__copyright {
    margin: 0;
}

.zs-footer__policy {
    text-decoration: underline;
    transition: color 0.2s;
}

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

@media (max-width: 768px) {
    .zs-footer__inner {
        padding: 2em 1.5em;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

/* =====================================================================
   UTILITY
   ===================================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}