/* ============================================================
   SPIRO PILATES — hero.css
   ============================================================ */

/* ── HERO grid ─────────────────────────────────────────────── */
.spiro-hero {
    display: grid;
    grid-template-columns: 50% 50%;
    min-height: 100vh;
    width: 100%;
    font-family: var(--font-body);
}

/* ── LEWA kolumna ──────────────────────────────────────────── */
.spiro-hero__left {
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 52px;
    border-right: 1px solid var(--line);
}

.sp-title {
    font-family: var(--font-title);
    font-weight: 400;
    font-size: clamp(24px, 2.8vw, 46px);
    line-height: 1.15;
    color: var(--text);
    margin: 0 0 28px;
    letter-spacing: -0.02em;
}

.sp-title em {
    font-style: italic;
    color: var(--muted);
}

.sp-body {
    font-family: var(--font-body);
    font-size: clamp(13px, 1.2vw, 15px);
    font-weight: 400;
    line-height: 1.85;
    color: var(--muted);
    max-width: 380px;
    margin: 0 0 10px;
}

.sp-sep {
    width: 40px;
    height: 1px;
    background: var(--line);
    margin: 20px auto;
}

/* Ramka z sentencją */
.sp-etym-block {
    margin-top: 8px;
    margin-bottom: 8px;
    padding: 18px 28px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: transparent;
    max-width: 320px;
    width: 100%;
}

.sp-etym-block__word {
    font-family: var(--font-title);
    font-style: italic;
    font-size: clamp(15px, 1.4vw, 18px);
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.sp-etym-block__trans {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
}

/* Cytat */
.sp-quote {
    font-family: var(--font-title);
    font-style: italic;
    font-size: clamp(13px, 1.2vw, 14px);
    line-height: 1.75;
    color: var(--muted);
    margin: 28px 0 6px;
    max-width: 320px;
}

.sp-quote-cite {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
}

/* CTA */
.sp-cta {
    margin-top: 16px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.sp-btn {
    display: inline-block;
    padding: 13px 40px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    background: var(--cta);
    border: 1px solid var(--cta);
    border-radius: 9999px;
    color: var(--cta-text);
    transition: background 0.3s, border-color 0.3s, color 0.3s;
    cursor: pointer;
}

.sp-btn:hover {
    background: transparent;
    border-color: var(--cta);
    color: var(--cta);
}

.sp-btn--accent {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-text);
}

.sp-btn--accent:hover {
    background: transparent;
    border-color: var(--accent-text);
    color: var(--accent-text);
}

/* ── PRAWA kolumna — zdjęcie ───────────────────────────────── */
.spiro-hero__right {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.sp-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 15%;
    width: 100%;
    height: 100%;
}

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.spiro-testimonials {
    background: var(--cta);
    padding: 100px 40px;
    text-align: center;
    font-family: var(--font-body);
}

.sp-testi__icon {
    font-family: var(--font-title);
    font-size: 72px;
    line-height: 1;
    color: rgba(255,255,255,0.12);
    margin-bottom: 32px;
    display: block;
}

.sp-testi__slider {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
}

.sp-testi__slide           { display: none; }
.sp-testi__slide.is-active { display: block; }

.sp-testi__quote {
    font-family: var(--font-title);
    font-weight: 300;
    font-size: clamp(18px, 2.8vw, 34px);
    line-height: 1.5;
    color: var(--cta-text);
    margin: 0 0 28px;
    letter-spacing: 0.01em;
}

.sp-testi__author {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.40);
}

.sp-testi__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.30);
    font-size: 28px;
    cursor: pointer;
    padding: 8px 16px;
    line-height: 1;
    transition: color 0.25s;
}
.sp-testi__arrow:hover    { color: var(--accent); }
.sp-testi__arrow--prev    { left: -60px; }
.sp-testi__arrow--next    { right: -60px; }

.sp-testi__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.sp-testi__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.20);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s;
}
.sp-testi__dot.is-active { background: var(--accent); }

/* ── RESPONSIVE ────────────────────────────────────────────── */

/* Tablet landscape */
@media (max-width: 1100px) {
    .spiro-hero {
        grid-template-columns: 55% 45%;
    }
    .spiro-hero__left {
        padding: 72px 44px;
    }
}

/* Tablet portrait — kolumny w pionie */
@media (max-width: 900px) {
    .spiro-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .spiro-hero__left {
        padding: 72px 40px;
        border-right: none;
        border-bottom: 1px solid var(--line);
        min-height: auto;
    }
    .spiro-hero__right {
        min-height: 60vw;
        max-height: 520px;
    }
    .sp-testi__arrow--prev { left: -20px; }
    .sp-testi__arrow--next { right: -20px; }
    .spiro-testimonials {
        padding: 80px 40px;
    }
}

/* Large phone */
@media (max-width: 640px) {
    .spiro-hero__left {
        padding: 56px 28px;
    }
    .spiro-hero__right {
        min-height: 72vw;
        max-height: 400px;
    }
    .sp-title {
        font-size: clamp(22px, 7vw, 32px);
    }
    .sp-etym-block {
        padding: 16px 20px;
        max-width: 100%;
    }
    .sp-quote {
        max-width: 100%;
    }
    .spiro-testimonials {
        padding: 64px 28px;
    }
    .sp-testi__arrow {
        display: none;
    }
    .sp-testi__icon {
        font-size: 52px;
        margin-bottom: 20px;
    }
}

/* Small phone */
@media (max-width: 380px) {
    .spiro-hero__left {
        padding: 44px 18px;
    }
    .spiro-hero__right {
        min-height: 80vw;
        max-height: 320px;
    }
    .sp-title {
        font-size: 21px;
    }
    .sp-btn {
        padding: 12px 28px;
        font-size: 10px;
        letter-spacing: 0.14em;
    }
    .spiro-testimonials {
        padding: 52px 18px;
    }
}