/* ============================================================
   MÓJ KRAM — landing "Oferta i cennik" (oferta.html) pod Meta Ads
   i Google Ads. Nadbudowa nad css/metropolis.css + css/reklamy.css:
   hero z formularzem wyceny, czipy cen, tabela porównania cen,
   karty cennika, pakiet. Zachowanie w js/oferta.js.
   ============================================================ */

/* ---------------- hero + formularz ---------------- */

.offer-hero-grid { align-items: start; }

@media (min-width: 960px) {
    .offer-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); }
}

.ad-hero .offer-hero-grid h1 {
    font-size: clamp(2rem, 4.8vw, 3.5rem);
    line-height: 1.06;
}

.price-chips {
    list-style: none;
    margin: 1.6rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    max-width: 34rem;
}

.price-chips a {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding: .75rem 1rem;
    text-decoration: none;
    border: 1px solid rgba(23, 230, 255, .3);
    background: rgba(5, 7, 13, .55);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.price-chips a:hover,
.price-chips a.on {
    border-color: var(--lime);
    box-shadow: 0 0 22px -4px var(--lime-glow);
    transform: translateY(-2px);
}

.price-chips span { font-size: .85rem; color: var(--text-dim); }

.price-chips b {
    font-family: "Orbitron", sans-serif;
    font-size: 1.05rem;
    color: var(--lime);
    text-shadow: 0 0 14px var(--lime-glow);
}

.lead-form {
    padding: clamp(1.5rem, 3.5vw, 2.2rem);
    border-color: rgba(198, 255, 61, .45);
    box-shadow: 0 0 0 1px rgba(198, 255, 61, .12), 0 0 70px -15px rgba(198, 255, 61, .3);
    scroll-margin-top: 90px;
}

.lead-form .form-title { font-size: clamp(1.2rem, 2.4vw, 1.5rem); color: var(--lime); }
.lead-form .form-sub { margin: .5rem 0 1.1rem; color: var(--text-dim); font-size: .95rem; }

.lead-form label {
    display: block;
    margin: .85rem 0 .35rem;
    font-family: "Orbitron", sans-serif;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--cyan);
}

.lead-form label small { font-family: "Exo 2", sans-serif; letter-spacing: 0; text-transform: none; color: var(--text-dim); }

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: .75rem .9rem;
    font: inherit;
    font-size: 1rem;
    color: var(--text);
    background: rgba(5, 7, 13, .6);
    border: 1px solid rgba(23, 230, 255, .3);
    border-radius: 2px;
}

.lead-form select { appearance: auto; }
.lead-form select option, .lead-form select optgroup { background: var(--night-2); color: var(--text); }

.lead-form input:focus-visible,
.lead-form select:focus-visible,
.lead-form textarea:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 1px;
    border-color: var(--lime);
}

.lead-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0 .9rem;
}

.lead-form select.flash { animation: pick-flash 1s ease; }

@keyframes pick-flash {
    0%, 100% { box-shadow: none; }
    30% { box-shadow: 0 0 0 3px var(--lime), 0 0 30px var(--lime-glow); }
}

.lead-form button[type="submit"] { width: 100%; justify-content: center; margin-top: 1.2rem; }

.lead-form .form-legal { margin: .9rem 0 0; font-size: .78rem; color: var(--text-dim); line-height: 1.45; }
.lead-form .form-legal a { color: var(--cyan); }

.lead-form .form-alt { margin: .9rem 0 0; text-align: center; color: var(--text-dim); font-size: .95rem; }
.lead-form .form-alt a { color: var(--lime); font-weight: 700; text-decoration: none; }

/* honeypot: niewidoczne dla ludzi, boty je wypełniają */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------- porównanie cen ---------------- */

.head-sub { margin-top: .9rem; color: var(--text-dim); }

.compare { padding: clamp(1.2rem, 3vw, 2rem); }

.compare-scroll { overflow-x: auto; }

.compare table { width: 100%; min-width: 520px; border-collapse: collapse; }

.compare th,
.compare td {
    padding: .85rem .9rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(23, 230, 255, .15);
}

.compare thead th {
    font-family: "Orbitron", sans-serif;
    font-size: .68rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--cyan);
}

.compare tbody th { font-weight: 600; color: var(--text); }
.compare tbody td:nth-child(2) { color: var(--text-dim); text-decoration: line-through; text-decoration-color: rgba(255, 47, 208, .6); }
.compare tbody td:last-child { white-space: nowrap; }
.compare tbody td b { font-family: "Orbitron", sans-serif; color: var(--lime); text-shadow: 0 0 12px var(--lime-glow); }

.compare-note { margin: 1rem 0 0; font-size: .82rem; color: var(--text-dim); }

/* telefon: każdy wiersz jako karta, nasza cena zawsze widoczna */
@media (max-width: 640px) {
    .compare table { min-width: 0; }
    .compare thead { display: none; }
    .compare tbody tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: .3rem 1rem;
        padding: .9rem 0;
        border-bottom: 1px solid rgba(23, 230, 255, .15);
    }
    .compare tbody th { grid-column: 1 / -1; padding: 0; border: 0; }
    .compare tbody td { padding: 0; border: 0; }
    .compare tbody td:last-child { align-self: end; text-align: right; }
}

/* ---------------- strony: kafelki realizacji ---------------- */

.shots { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

.shot {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    padding: 1rem;
    text-decoration: none;
    transition: transform .2s ease;
}

.shot:hover { transform: translateY(-4px); }

.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.shot img.logo { object-fit: contain; padding: 1rem; background: rgba(255, 255, 255, .04); }
.shot span { font-size: .85rem; color: var(--cyan); }

/* ---------------- rolki: dwa telefony ---------------- */

.reel-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.reel-duo .reel-card h3 { font-size: .9rem; }

/* ---------------- karty cennika ---------------- */

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    margin-top: clamp(2rem, 5vw, 3rem);
    align-items: stretch;
}

.price-grid.two { max-width: 820px; margin-inline: auto; }

.price-card {
    display: flex;
    flex-direction: column;
    padding: clamp(1.4rem, 3vw, 2rem);
}

.price-card.featured {
    border-color: rgba(198, 255, 61, .55);
    box-shadow: 0 0 0 1px rgba(198, 255, 61, .15), 0 0 60px -15px rgba(198, 255, 61, .35);
}

.price-card .flag {
    position: absolute;
    top: -.8rem;
    right: 1.2rem;
    padding: .3rem .7rem;
    font-family: "Orbitron", sans-serif;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--night);
    background: var(--lime);
    box-shadow: 0 0 18px var(--lime-glow);
}

.price-card h3 { font-size: 1.1rem; color: var(--cyan); }

.price-card .price,
.bundle .price {
    margin: .9rem 0 0;
    font-family: "Orbitron", sans-serif;
    font-size: 1.1rem;
    color: var(--text);
}

.price-card .price b,
.bundle .price b {
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    font-weight: 900;
    color: var(--lime);
    text-shadow: 0 0 22px var(--lime-glow);
}

.price-card .price small { font-size: .75rem; color: var(--text-dim); }

.price-card .per,
.bundle .per { margin: .2rem 0 0; font-size: .85rem; color: var(--text-dim); }

.price-card ul {
    list-style: none;
    margin: 1.1rem 0 0;
    padding: 0;
    flex: 1;
}

.price-card li {
    position: relative;
    padding: .35rem 0 .35rem 1.5rem;
    color: var(--text);
    font-size: .95rem;
}

.price-card li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--lime);
}

.price-card .time { margin: 1rem 0 0; font-size: .8rem; color: var(--text-dim); }

.price-card .btn,
.price-card .btn-scream { margin-top: 1.1rem; width: 100%; justify-content: center; }

/* ---------------- pakiet ---------------- */

.bundle {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    border-color: rgba(255, 47, 208, .5);
    box-shadow: 0 0 0 1px rgba(255, 47, 208, .15), 0 0 70px -15px var(--magenta-glow);
}

@media (min-width: 760px) {
    .bundle { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
}

.bundle h2 { margin-top: .5rem; font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.bundle p { color: var(--text-dim); }
.bundle-price { text-align: center; }
.bundle-price .old { margin: 0; color: var(--text-dim); font-family: "Orbitron", sans-serif; }
.bundle-price .btn-scream { margin-top: 1rem; }

.price-note { margin: 1.2rem auto 0; max-width: 46rem; text-align: center; font-size: .85rem; color: var(--text-dim); }

/* ---------------- telefon ---------------- */

@media (max-width: 480px) {
    .price-chips { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .5rem; }
    .price-chips a { padding: .6rem .7rem; }
    .price-chips b { font-size: .95rem; }
}
