/* =========================================================
   1) TOKENS / VARIABLES
   ========================================================= */

:root {
    --bg: #f7faf9;
    --card: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --brand: #155e63;
    --brand2: #0ea5a4;
    --line: rgba(15, 23, 42, .10);
    --shadow: 0 14px 40px rgba(2, 6, 23, .08);
    --shadow2: 0 10px 24px rgba(2, 6, 23, .06);
    --radius: 26px;
    --max: 1120px;
    --section: 54px;
    --section-sm: 40px;
}

/* =========================================================
   2) BASE / RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background:
        radial-gradient(820px 520px at 10% 6%, rgba(14, 165, 164, .10), transparent 62%),
        radial-gradient(700px 460px at 90% 2%, rgba(21, 94, 99, .10), transparent 64%),
        var(--bg);
    line-height: 1.60;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 18px;
}

:focus-visible {
    outline: 3px solid rgba(14, 165, 164, .35);
    outline-offset: 3px;
    border-radius: 14px;
}

/* =========================================================
   3) NAVIGATION
   ========================================================= */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(247, 250, 249, .80);
    border-bottom: 1px solid var(--line);
}

.navin {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: -.3px;
}

.logo {
    display: flex;
    align-items: center;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.logo-img {
    height: 42px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo-img {
        height: 34px;
    }
}

.brand small {
    display: block;
    color: var(--muted);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0;
    margin-top: 2px;
}

.menu {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    color: var(--muted);
    font-weight: 800;
    font-size: 14px;
}

.menu a {
    padding: 8px 10px;
    border-radius: 12px;
}

.menu a:hover {
    background: rgba(21, 94, 99, .08);
    color: var(--text);
}

/* ===== NAV: CTA nie spada do drugiej linii (desktop) ===== */
@media (min-width: 981px) {
    .menu {
        flex-wrap: nowrap;
        white-space: nowrap;
    }
}

/* =========================================================
   4) BUTTONS
   ========================================================= */

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(21, 94, 99, .95), rgba(14, 165, 164, .92));
    color: #fff;
    font-weight: 900;
    font-size: 14px;
    box-shadow: 0 12px 26px rgba(14, 165, 164, .14);
    border: 1px solid rgba(255, 255, 255, .20);
    white-space: nowrap;
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.cta:hover {
    transform: translateY(-1px);
    filter: saturate(0.98) contrast(0.98);
    box-shadow: 0 14px 30px rgba(14, 165, 164, .16);
}

.ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(15, 23, 42, .14);
    color: var(--text);
    font-weight: 900;
    font-size: 14px;
    transition: background .18s ease, transform .18s ease;
}

.ghost:hover {
    background: #fff;
    transform: translateY(-1px);
}

/* =========================================================
   5) HERO / LAYOUT
   ========================================================= */

/* (scalone: było 2x .hero) */
.hero {
    padding: 64px 0 16px;
    padding-top: 90px;
}

/* sticky nav fix */

.grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 16px;
    align-items: stretch;
}

.panel {
    background: rgba(255, 255, 255, .76);
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.panel:before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(520px 230px at 18% 0%, rgba(14, 165, 164, .14), transparent 60%),
        radial-gradient(520px 230px at 92% 10%, rgba(21, 94, 99, .14), transparent 60%);
    pointer-events: none;
}

.panel>* {
    position: relative;
}

h1,
.title h2 {
    font-family: Fraunces, ui-serif, Georgia, serif;
    font-variation-settings: "opsz"96;
}

h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.02;
    letter-spacing: -1.15px;
    max-width: 22ch;
    text-wrap: balance;
}

.lead {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 16px;
    font-weight: 650;
    max-width: 74ch;
}

.kicker {
    margin: 8px 0 14px;
    color: rgba(15, 23, 42, .70);
    font-weight: 600;
    letter-spacing: -.2px;
    font-size: clamp(14px, 1.2vw, 16px);
    max-width: 62ch;
}

.chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0 20px;
}

.chip {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(21, 94, 99, .07);
    border: 1px solid rgba(21, 94, 99, .14);
    color: #0b3c3f;
    font-weight: 900;
    font-size: 13px;
}

.btnrow {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.btnrow .cta {
    padding: 12px 16px;
    border-radius: 16px;
}

.btnrow .ghost {
    padding: 12px 16px;
    border-radius: 16px;
}

.micro {
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
}

.side {
    position: relative;
    align-items: stretch;
    gap: 14px;
}

.minihero {
    width: 100%;
    height: auto;
    border-radius: 22px;
    display: block;
    align-self: stretch;
}

.photo-frame {
    position: absolute;
    right: 6%;
    bottom: 8%;
    width: 180px;
    height: 220px;
    border-radius: 18px;
    overflow: hidden;
    background: #f7faf9;
    box-shadow:
        0 12px 30px rgba(2, 6, 23, .18),
        0 0 0 6px rgba(255, 255, 255, .6);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.photo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    color: #155e63;
    background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .98));
    border: 1px dashed rgba(21, 94, 99, .25);
    border-radius: 18px;
    line-height: 1.4;
}

.photo-placeholder .ph-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
    letter-spacing: -.2px;
}

.photo-placeholder .ph-sub {
    font-size: 13px;
    opacity: .65;
    max-width: 180px;
}

/* =====================
   HERO: QUOTE CARD (TOP PREMIUM)
   ===================== */

.side {
    position: relative;
}

/* Karta dopasowana do szerokości SVG */
.hero-quote {
    width: 100%;
    margin-top: 14px;

    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .10);
    padding: 18px 18px 16px;

    /* delikatny „editorial” akcent */
    position: relative;
    overflow: hidden;
}

.hero-quote::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 240px at 10% 0%, rgba(14, 165, 164, .10), transparent 60%),
        radial-gradient(800px 240px at 90% 0%, rgba(21, 94, 99, .12), transparent 62%);
    pointer-events: none;
}

.hero-quote__text {
    position: relative;
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.22;
    font-size: clamp(1.05rem, 1.2vw, 1.25rem);
    color: rgba(15, 23, 42, .92);
}

.hero-quote__sig {
    position: relative;
    margin: 10px 0 0;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.92rem;
    color: rgba(15, 23, 42, .55);
}

/* jeśli chcesz, żeby wyglądało jak „podpis piórem” bez fontów: */
.hero-quote__sig {
    letter-spacing: .01em;
}

/* Mobile: mniejsze odstępy */
@media (max-width: 980px) {
    .hero-quote {
        margin-top: 12px;
        padding: 16px 16px 14px;
    }
}

/* =========================================================
   6) SECTIONS / TITLES / CARDS
   ========================================================= */

section {
    padding: var(--section) 0;
}

.hero+section {
    padding-top: var(--section-sm);
}

.title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 16px;
}

.title h2 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -.65px;
}

.title .hint {
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
}

.cols3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.card {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow2);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 17.5px;
    letter-spacing: -0.35px;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-weight: 650;
    font-size: 14px;
    line-height: 1.6;
}

.badge {
    display: inline-flex;
    margin-top: 12px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(14, 165, 164, .07);
    border: 1px solid rgba(14, 165, 164, .14);
    font-size: 11px;
    font-weight: 900;
    color: #064b4a;
    opacity: .85;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: stretch;
}

/* SEO intro – kontrola szerokości tekstu */
.seo-intro h2,
.seo-intro p {
    max-width: 68ch;
}

.seo-intro {
    text-align: left;
}

/* =========================================================
   SEO INTRO (SEO + UX, spokojna kolumna tekstu)
   ========================================================= */

.seo-intro__box {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow2);
}

.seo-intro h2 {
    margin: 0 0 10px;
    font-size: 22px;
    letter-spacing: -0.35px;
    max-width: 60ch;
}

.seo-intro__lead {
    margin: 0;
    color: var(--muted);
    font-weight: 650;
    font-size: 15px;
    line-height: 1.65;
    max-width: 72ch;
}

.seo-intro__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.seo-intro__micro {
    margin: 12px 0 0;
    color: rgba(15, 23, 42, .62);
    font-weight: 600;
    font-size: 13px;
    max-width: 80ch;
}

.seo-intro__inline span {
    white-space: nowrap;
}

@media (max-width: 640px) {
    .seo-intro__box {
        padding: 16px;
    }

    .seo-intro h2 {
        font-size: 20px;
    }

    .seo-intro__lead {
        font-size: 14.5px;
    }

    .seo-intro__inline span {
        white-space: normal;
    }
}

/* =========================================================
   7) FAQ (details/summary)
   ========================================================= */

details {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: 0 8px 18px rgba(2, 6, 23, .04);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

details+details {
    margin-top: 10px;
}

summary {
    cursor: pointer;
    font-weight: 900;
}

summary::-webkit-details-marker {
    display: none;
}

details p {
    margin: 10px 0 0;
    color: var(--muted);
    font-weight: 650;
}

/* =========================================================
   8) CONTACT / FORM
   ========================================================= */

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: stretch;
}

form,
.info,
.trust {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow2);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

label {
    display: block;
    font-weight: 900;
    font-size: 13px;
    margin: 10px 0 6px;
}

input,
textarea {
    width: 100%;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, .16);
    background: rgba(247, 250, 249, .65);
    font: inherit;
    outline: none;
    transition: border-color .18s ease, background .18s ease;
}

input:focus,
textarea:focus {
    border-color: rgba(14, 165, 164, .55);
    background: rgba(247, 250, 249, .82);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.formnote {
    color: var(--muted);
    font-size: 13px;
    margin-top: 10px;
    font-weight: 650;
}

.pillrow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.pill {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, .12);
    background: rgba(247, 250, 249, .85);
    font-weight: 900;
    font-size: 13px;
}

/* =========================================================
   9) FOOTER (quiet / editorial)
   ========================================================= */

/* (scalone: było 2x footer; końcowa wartość margin-top to 96px) */
footer {
    padding: 30px 0 46px;
    color: var(--muted);
    border-top: 1px solid rgba(15, 23, 42, .10);
    margin-top: 96px;
    background: rgba(255, 255, 255, .15);
}

.foot {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 700;
}

.wrap.foot {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.82rem;
    color: rgba(0, 0, 0, .55);
}

/* linia główna */
.foot-main {
    font-weight: 500;
    color: rgba(0, 0, 0, .65);
}

/* linia pomocnicza */
.foot-meta {
    font-size: 0.78rem;
    color: rgba(0, 0, 0, .45);
}

/* linki – ciche, editorial */
.wrap.foot a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, .18);
    transition: border-color .2s ease, color .2s ease;
}

.wrap.foot a:hover {
    color: rgba(0, 0, 0, .65);
    border-bottom-color: rgba(0, 0, 0, .35);
}

/* credit jeszcze ciszej */
.foot-credit {
    color: rgba(0, 0, 0, .38);
}

.foot-credit a {
    color: rgba(0, 0, 0, .42);
}

.foot-credit a:hover {
    color: rgba(0, 0, 0, .60);
}

/* =========================================================
   10) LINK STYLE (lead link underline)
   ========================================================= */

.lead a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.18);
    transition: border-color .18s ease, opacity .18s ease;
}

.lead a:hover,
.lead a:focus-visible {
    border-bottom-color: rgba(15, 23, 42, 0.35);
    opacity: .95;
}

/* =========================================================
   11) EMPATHY PAUSE
   ========================================================= */

.empathy-pause {
    max-width: 56ch;
    margin: 36px auto 48px;
    padding: 0 12px;
    text-align: center;
    font-size: 15.5px;
    line-height: 1.55;
    font-weight: 500;
    color: rgba(15, 23, 42, .75);
}

.empathy-pause strong {
    font-weight: 650;
    color: rgba(15, 23, 42, .9);
}

/* =========================================================
   12) MOTION / REVEAL
   ========================================================= */

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(8px);
        transition: opacity .55s ease, transform .55s ease;
    }

    .reveal.is-in {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   13) HOVER LIFT (cards/forms/details)
   ========================================================= */

@media (hover:hover) {

    .card:hover,
    .trust:hover,
    .info:hover,
    form:hover,
    details:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(2, 6, 23, .08);
        border-color: rgba(15, 23, 42, .12);
    }
}

/* =========================================================
   14) RESPONSIVE
   ========================================================= */

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

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

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

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

    .menu {
        display: none;
    }

    .hero {
        padding: 56px 0 12px;
        padding-top: 90px;
    }

    .photo-frame {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 240px;
        height: auto !important;
        aspect-ratio: 4 / 5;
        margin: 12px auto 0;
    }
}

@media (max-width: 640px) {
    body {
        overflow-x: hidden;
    }

    .wrap {
        padding: 0 14px;
    }

    .navin {
        flex-wrap: wrap;
        gap: 10px;
    }

    .brand small {
        display: none;
    }

    .cta {
        width: 100%;
        justify-content: center;
    }

    .panel {
        padding: 20px;
    }

    h1 {
        font-size: 32px;
    }

    .title {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .empathy-pause {
        margin: 28px auto 36px;
        font-size: 14.5px;
    }
}

/* =========================================================
   15) MOBILE MENU (hamburger)
   ========================================================= */

.hamburger {
    display: none;
    border: 1px solid rgba(15, 23, 42, .12);
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 10px 12px;
    line-height: 0;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
}

.hamburger:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(14, 165, 164, .18), 0 6px 18px rgba(15, 23, 42, .06);
}

.hamburger-lines {
    display: inline-block;
    width: 22px;
    height: 16px;
    position: relative;
}

.hamburger-lines::before,
.hamburger-lines::after,
.hamburger-lines {
    background: transparent;
}

.hamburger-lines::before,
.hamburger-lines::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: rgba(15, 23, 42, .85);
    border-radius: 99px;
    transition: transform .2s ease, top .2s ease, opacity .2s ease;
}

.hamburger-lines::before {
    top: 3px;
}

.hamburger-lines::after {
    top: 11px;
}

.nav.is-open .hamburger-lines::before {
    top: 7px;
    transform: rotate(45deg);
}

.nav.is-open .hamburger-lines::after {
    top: 7px;
    transform: rotate(-45deg);
}

@media (max-width: 980px) {
    .hamburger {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .menu {
        display: none !important;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-top: 10px;
        padding: 12px;
        border: 1px solid rgba(15, 23, 42, .10);
        background: rgba(255, 255, 255, .92);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        box-shadow: 0 18px 40px rgba(15, 23, 42, .10);
    }

    .nav.is-open .menu {
        display: flex !important;
    }

    .menu a {
        padding: 10px 12px;
        border-radius: 12px;
    }

    .menu a:hover {
        background: rgba(14, 165, 164, .08);
    }

    .menu .cta {
        width: 100%;
        justify-content: center;
        margin-top: 4px;
    }
}

/* =========================================================
   16) FORM UX: anti-double-click + soft success
   ========================================================= */

.cta[disabled] {
    opacity: .75;
    cursor: not-allowed;
    transform: none !important;
    filter: saturate(.95);
}

.form-status {
    margin-top: 12px;
    border-radius: 16px;
    padding: 12px 12px;
    border: 1px solid rgba(15, 23, 42, .10);
    background: rgba(247, 250, 249, .85);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(15, 23, 42, .78);
}

.form-status[hidden] {
    display: none;
}

.form-status .dot {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    margin-top: 4px;
    background: rgba(15, 23, 42, .28);
    flex: 0 0 auto;
}

.form-status.is-success {
    border-color: rgba(14, 165, 164, .22);
    background: rgba(14, 165, 164, .08);
    color: rgba(6, 75, 74, .92);
}

.form-status.is-success .dot {
    background: rgba(14, 165, 164, .85);
}

.form-status.is-error {
    border-color: rgba(239, 68, 68, .20);
    background: rgba(239, 68, 68, .08);
    color: rgba(127, 29, 29, .92);
}

.form-status.is-error .dot {
    background: rgba(239, 68, 68, .78);
}

/* mały spinner w przycisku */
.btn-spinner {
    width: 16px;
    height: 16px;
    border-radius: 99px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: rgba(255, 255, 255, .95);
    animation: spin .8s linear infinite;
    display: inline-block;
    margin-right: 8px;
    vertical-align: -2px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =====================
   SUBPAGES (kafelki)
   ===================== */

.subpages {
    padding-top: 44px;
    padding-bottom: 44px;
}

.subpages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.subpage-card {
    display: block;
    background: rgba(255, 255, 255, .80);
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: var(--radius);
    box-shadow: var(--shadow2);
    padding: 18px 18px 16px;
    text-decoration: none !important;
}

.subpage-card:hover {
    transform: translateY(-1px);
}

.subpage-card h3 {
    margin: 0 0 8px;
}

.subpage-card p {
    margin: 0;
    color: rgba(15, 23, 42, .80);
}

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

/* =========================
   HERO MOTTO – TOP PREMIUM
   ========================= */

.hero-motto {
    width: 100%;
    margin-top: 16px;
    padding: 20px 22px 18px;

    border-radius: 26px;
    border: 1px solid rgba(15, 23, 42, .10);

    background: rgba(255, 255, 255, .62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow:
        0 18px 40px rgba(15, 23, 42, .08),
        0 1px 0 rgba(255, 255, 255, .55) inset;

    position: relative;
    overflow: hidden;
}

.hero-motto::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(900px 220px at 18% 0%, rgba(14, 165, 164, .10), transparent 60%),
        radial-gradient(760px 200px at 88% 10%, rgba(21, 94, 99, .12), transparent 62%);
    pointer-events: none;
}

.hero-motto__text {
    position: relative;
    margin: 0;

    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 520;
    letter-spacing: -0.02em;
    line-height: 1.18;

    font-size: clamp(1.15rem, 1.1vw, 1.38rem);
    color: rgba(15, 23, 42, .92);
}

.hero-motto__sig {
    position: relative;
    margin: 12px 0 0;

    font-family: "Allura", cursive;
    font-weight: 400;
    line-height: 1;

    font-size: 1.35rem;
    color: rgba(15, 23, 42, .58);
}

/* subtelna kreska jak w cytacie (premium detal) */
.hero-motto__sig::before {
    content: "";
    display: inline-block;
    width: 34px;
    height: 1px;
    background: rgba(15, 23, 42, .18);
    margin-right: 10px;
    transform: translateY(-6px);
    border-radius: 999px;
}

@media (max-width: 980px) {
    .hero-motto {
        margin-top: 12px;
        padding: 18px 18px 16px;
        border-radius: 24px;
    }

    .hero-motto__sig {
        font-size: 1.25rem;
    }
}

/* ✅ MOBILE: wyłączamy "reveal" (bo JS jest wyłączony) */
@media (max-width: 900px) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}