/* ---------------------------------------------------------------------------
   Podstrona "Bon podarunkowy" (/voucher).

   Podpięty globalnie w App.razor, a nie w <HeadContent> tej strony - przy enhanced
   navigation Blazora <link> wstawiony dynamicznie nie blokuje renderowania, więc
   przy przejściu z menu migała strona bez stylów. Wszystko zagnieżdżone pod .vc,
   więc obecność arkusza na innych podstronach niczego nie zmienia.

   Układ i detale wzorowane na landingu css/offer-landing.css. Paleta wspólna
   z home.css, about.css i contact.css - jeśli zmieniasz markę, zmieniaj te
   pliki razem.
   --------------------------------------------------------------------------- */

.vc {
    --vc-ink: #2c2c2c;
    --vc-muted: #5f5750;
    --vc-cream: #fbf8f5;
    --vc-cream-dark: #f5efe8;
    --vc-line: #e8dfd5;
    --vc-brown: #5d4037;
    --vc-brown-soft: #8d6e63;
    --vc-gold: #b0894f;
    --vc-gold-dark: #96712f;

    color: var(--vc-ink);
    background: #fff;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.vc * {
    box-sizing: border-box;
}

.vc img {
    max-width: 100%;
}

.vc h1,
.vc h2,
.vc h3,
.vc p,
.vc li,
.vc a {
    overflow-wrap: anywhere;
}

.vc :where(p) {
    margin: 0 0 1.1em;
}

.vc :where(p):last-child {
    margin-bottom: 0;
}

.vc strong {
    font-weight: 600;
    color: var(--vc-brown);
}

/* MudPaper opakowujący @Body dokłada 2rem odstępu góra/dół - hero ma być
   full-bleed, więc na tej podstronie go zerujemy. */
.mud-paper.responsive-main:has(> .vc) {
    padding-top: 0;
    padding-bottom: 0;
}

/* --- układ ---------------------------------------------------------------- */

.vc-section {
    padding: 4.5rem 1.25rem;
}

.vc-section--cream {
    background: var(--vc-cream);
    border-top: 1px solid var(--vc-line);
    border-bottom: 1px solid var(--vc-line);
}

.vc-inner {
    max-width: 1140px;
    margin: 0 auto;
}

.vc-inner--narrow {
    max-width: 760px;
    margin: 0 auto;
}

.vc-center {
    text-align: center;
}

/* --- typografia ----------------------------------------------------------- */

.vc-eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--vc-gold-dark);
    margin: 0 0 0.9rem;
}

.vc-h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.4rem, 5.6vw, 3.6rem);
    line-height: 1.1;
    font-weight: 400;
    margin: 0 0 1rem;
}

.vc-h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.55rem, 3.4vw, 2.3rem);
    line-height: 1.2;
    font-weight: 400;
    margin: 0 0 0.6rem;
}

.vc-h3 {
    font-size: 1.0625rem;
    line-height: 1.35;
    font-weight: 600;
    margin: 0 0 0.4rem;
    color: var(--vc-brown);
}

.vc-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--vc-muted);
    margin: 0 0 1.5rem;
}

.vc-rule {
    width: 60px;
    height: 2px;
    background: var(--vc-gold);
    border: 0;
    margin: 1.3rem 0 1.75rem;
}

.vc-center .vc-rule,
.vc-rule--center {
    margin-left: auto;
    margin-right: auto;
}

/* --- hero ----------------------------------------------------------------- */

.vc-hero {
    background: var(--vc-cream);
    border-bottom: 1px solid var(--vc-line);
    padding-top: 3.5rem;
}

.vc-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.vc-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    overflow: hidden;
    background: var(--vc-cream-dark);
    box-shadow: 0 20px 48px rgba(93, 64, 55, .22);
}

.vc-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vc-facts {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 0 0 1.85rem;
    padding: 0;
    list-style: none;
}

/* Punkt = ikona + JEDEN <span> z treścią. Trzeciego elementu tu nie ma i być nie
   powinno: w kontenerze flex goły tekst i zagnieżdżony <a> stają się osobnymi
   elementami, przez co punkt rozjeżdża się na kolumny zamiast płynąć jak akapit. */
.vc-facts li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9688rem;
    color: var(--vc-muted);
}

/* Ikona nie może się zwężać, gdy tekst obok łamie się na kilka linii. */
.vc-facts li > svg {
    flex: 0 0 auto;
    margin-top: 0.15rem;
}

/* --- przyciski ------------------------------------------------------------ */

.vc-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.vc-cta--center {
    justify-content: center;
}

.vc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-family: inherit;
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none !important;
    padding: 1.05rem 1.9rem;
    /* Obrys robi "box-shadow: inset", nie border - przezroczysta ramka nad
       gradientem prześwitywała na łukach pigułki. */
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}

.vc-btn:hover,
.vc-btn:focus-visible {
    transform: translateY(-2px);
}

.vc-btn:active {
    transform: translateY(0);
}

.vc-btn--call {
    background: linear-gradient(135deg, #b0894f 0%, #96712f 100%);
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(150, 113, 47, .22);
}

.vc-btn--call:hover,
.vc-btn--call:focus-visible {
    box-shadow: 0 6px 16px rgba(150, 113, 47, .28);
    color: #fff !important;
}

.vc-btn--outline {
    background: #fff;
    box-shadow: inset 0 0 0 2px var(--vc-gold);
    color: var(--vc-gold-dark) !important;
}

.vc-btn--outline:hover,
.vc-btn--outline:focus-visible {
    background: var(--vc-gold);
    color: #fff !important;
    box-shadow: inset 0 0 0 2px var(--vc-gold);
}

/* --- kroki ---------------------------------------------------------------- */

.vc-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

.vc-step {
    text-align: center;
}

.vc-step-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--vc-gold);
    color: var(--vc-gold-dark);
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    line-height: 1;
    margin-bottom: 0.9rem;
}

.vc-step p {
    color: var(--vc-muted);
    font-size: 0.9688rem;
    margin: 0;
}

.vc-step a {
    color: var(--vc-brown-soft);
}

/* --- dane do przelewu ----------------------------------------------------- */

.vc-payment {
    background: #fff;
    border: 2px solid var(--vc-gold);
    border-radius: 16px;
    padding: 2.25rem;
    max-width: 680px;
    margin: 0 auto;
    box-shadow: 0 16px 40px rgba(93, 64, 55, .1);
}

.vc-field + .vc-field {
    margin-top: 1.5rem;
}

.vc-field-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--vc-gold-dark);
    margin-bottom: 0.5rem;
}

.vc-field-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--vc-cream);
    border: 1px solid var(--vc-line);
    border-radius: 10px;
    padding: 0.85rem 0.9rem 0.85rem 1.1rem;
}

/* Dane do przelewu przepisuje się z ekranu, więc krój o stałej szerokości
   i cyfry tabelaryczne - w proporcjonalnym łatwo zgubić się w numerze konta. */
.vc-field-value {
    flex: 1 1 auto;
    min-width: 0;
    font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
    font-variant-numeric: tabular-nums;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--vc-ink);
    word-break: break-word;
}

.vc-copy {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.55rem 0.95rem;
    background: #fff;
    border: 1px solid var(--vc-line);
    border-radius: 999px;
    color: var(--vc-gold-dark);
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.vc-copy:hover,
.vc-copy:focus-visible {
    border-color: var(--vc-gold);
    background: var(--vc-gold);
    color: #fff;
}

.vc-payment-note {
    margin: 2rem 0 0 !important;
    padding-top: 1.5rem;
    border-top: 1px solid var(--vc-line);
    font-size: 0.9688rem;
    line-height: 1.7;
    color: var(--vc-muted);
}

.vc-payment-note a {
    color: var(--vc-brown-soft);
}

/* --- notka o ważności ----------------------------------------------------- */

.vc-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    max-width: 680px;
    margin: 1.75rem auto 0;
    padding: 1.15rem 1.35rem;
    background: var(--vc-cream);
    border: 1px solid var(--vc-line);
    border-left: 3px solid var(--vc-gold);
    border-radius: 10px;
    text-align: left;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--vc-muted);
}

.vc-notice svg {
    flex: 0 0 auto;
    color: var(--vc-gold-dark);
}

/* --- stopka sekcji finałowej ---------------------------------------------- */

.vc-final-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 2rem;
    margin-top: 2.5rem;
    font-size: 0.9375rem;
    color: var(--vc-muted);
}

.vc-final-contact span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.vc-final-contact a {
    color: var(--vc-brown-soft);
}

/* --- responsywność -------------------------------------------------------- */

@media (max-width: 960px) {
    .vc-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .vc-hero-grid .vc-media-wrap {
        order: -1;
    }

    .vc-hero-text {
        text-align: center;
    }

    .vc-facts li,
    .vc-cta {
        justify-content: center;
    }
}

@media (max-width: 780px) {
    .vc-section {
        padding: 3.25rem 1.1rem;
    }

    .vc-hero {
        padding-top: 2.5rem;
    }

    .vc-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .vc-payment {
        padding: 1.6rem 1.25rem;
    }

    /* Numer konta i tak łamie się na kilka linii, więc przycisk kopiowania
       schodzi pod spód zamiast zabierać mu szerokość. */
    .vc-field-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
        padding: 1rem;
    }

    .vc-copy {
        justify-content: center;
    }

    .vc-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .vc-cta .vc-btn {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .vc-section {
        padding: 2.75rem 0.9rem;
    }

    .vc-btn {
        font-size: 1rem;
        padding: 1rem 1.1rem;
        letter-spacing: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vc *,
    .vc-btn,
    .vc-copy {
        animation: none !important;
        transition: none !important;
    }
}
