/* ===== EGYEDI PC IGÉNYFELVEVŐ – a ttechservice.hu arculatához igazítva ===== */
:root {
    --pc-green: #00d663;        /* a főoldal gombszíne (btn-success) */
    --pc-green-dark: #00b051;
    --pc-green-deep: #04301a;
    --pc-teal: #4ecca3;         /* a szerviz-követő kiemelő színe */
    --pc-ink: #0f1531;          /* sötét, címek */
    --pc-text: #212529;
    --pc-muted: #6c757d;
    --pc-border: #dfe6e2;
    --pc-bg: #f3f8f5;
    --pc-card: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background:
        radial-gradient(1000px 420px at 85% -80px, rgba(0, 214, 99, 0.10), transparent 70%),
        var(--pc-bg);
    color: var(--pc-text);
    font-family: "Rubik", "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

/* ===== FELSŐ SÁV ===== */
.pc-top {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 14px rgba(15, 21, 49, 0.08);
}

.pc-top-in {
    max-width: 880px;
    margin: 0 auto;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pc-logo img { height: 40px; width: auto; display: block; }

.pc-back {
    color: var(--pc-ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: background 0.2s;
}
.pc-back:hover { background: #e8f8ef; }

.pc-progress { height: 3px; background: #e6ece8; }
.pc-progress div {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--pc-teal), var(--pc-green));
    transition: width 0.3s ease;
}

/* ===== HERO ===== */
.pc-hero-in {
    max-width: 880px;
    margin: 0 auto;
    padding: 34px 18px 8px;
}

.pc-kicker {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: #dcfce9;
    color: #047a3a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.pc-hero h1 {
    margin: 12px 0 10px;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.12;
    color: var(--pc-ink);
}
.pc-hero h1 em { color: var(--pc-green-dark); font-style: normal; }

.pc-hero p {
    margin: 0;
    max-width: 640px;
    color: #4b5563;
    font-size: 15.5px;
}

/* ===== KÁRTYÁK ===== */
.pc-wrap {
    max-width: 880px;
    margin: 0 auto;
    padding: 18px 14px 70px;
}

.pc-card {
    background: var(--pc-card);
    border-radius: 16px;
    padding: 24px 26px;
    margin-bottom: 18px;
    box-shadow: 0 2px 14px rgba(15, 21, 49, 0.06);
    border: 1px solid #e9efec;
}

.pc-card h2 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 600;
    color: var(--pc-ink);
    display: flex;
    align-items: center;
    gap: 11px;
}

.pc-card h2 b, .pc-field b, .pc-consent b { color: #e5484d; font-weight: 600; }

.pc-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pc-teal), var(--pc-green));
    color: var(--pc-green-deep);
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.pc-hint { margin: -6px 0 12px; font-size: 13px; color: var(--pc-muted); }
.pc-center { text-align: center; margin: 12px 0 0; }
.pc-mt { margin-top: 16px; }

/* ===== MEZŐK ===== */
.pc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 18px;
}
.pc-full { grid-column: 1 / -1; }

.pc-field, .pc-label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
}
.pc-label { margin-bottom: 8px; }

.pc-field input[type="text"],
.pc-field input[type="email"],
.pc-field input[type="tel"],
.pc-field select,
.pc-field textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--pc-border);
    border-radius: 10px;
    background: #f8fbf9;
    font-size: 15px;
    font-weight: 400;
    font-family: inherit;
    color: var(--pc-text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.pc-field textarea { resize: vertical; }

.pc-field input:focus,
.pc-field select:focus,
.pc-field textarea:focus {
    border-color: var(--pc-green);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 214, 99, 0.18);
}

.pc-field .pc-invalid, .pc-consent.pc-invalid { border-color: #e5484d !important; }
.pc-chips.pc-invalid {
    outline: 2px solid #fecdd0;
    outline-offset: 6px;
    border-radius: 10px;
}

/* ===== CHIP-EK ===== */
.pc-chips { display: flex; flex-wrap: wrap; gap: 9px; }

.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }

.chip span {
    display: inline-block;
    padding: 9px 15px;
    border: 1.5px solid var(--pc-border);
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    font-weight: 400;
    color: #374151;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.1s;
    user-select: none;
}

.chip:hover span { border-color: var(--pc-green); background: #f0fdf6; }
.chip:active span { transform: scale(0.97); }

.chip input:checked + span {
    background: var(--pc-green);
    border-color: var(--pc-green);
    color: var(--pc-green-deep);
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 214, 99, 0.35);
}

.chip input:focus-visible + span { outline: 3px solid rgba(0, 214, 99, 0.45); outline-offset: 2px; }

/* ===== HOZZÁJÁRULÁS + TURNSTILE + KÜLDÉS ===== */
.pc-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 20px;
    padding: 14px;
    background: #effcf5;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 13.5px;
    cursor: pointer;
}
.pc-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--pc-green-dark); flex-shrink: 0; }

.pc-turnstile { margin-top: 16px; min-height: 65px; }

.pc-submit {
    display: block;
    width: 100%;
    margin-top: 18px;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: var(--pc-green);
    color: var(--pc-green-deep);
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.2px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 5px 16px rgba(0, 214, 99, 0.35);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.pc-submit:hover { background: var(--pc-green-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 214, 99, 0.4); }
.pc-submit:focus-visible { outline: 3px solid rgba(0, 214, 99, 0.5); outline-offset: 3px; }
.pc-submit:disabled { opacity: 0.65; cursor: wait; transform: none; }

.pc-msg {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    background: #fdecec;
    color: #9b1c1f;
    border: 1px solid #f9cfd1;
}

.pc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== SIKER ===== */
.pc-success { text-align: center; padding: 42px 24px; }
.pc-success h2 { justify-content: center; font-size: 24px; }
.pc-ok {
    width: 72px; height: 72px; margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--pc-green);
    color: var(--pc-green-deep); font-size: 38px; line-height: 72px; font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 214, 99, 0.4);
}
.pc-ref { color: var(--pc-muted); }
.pc-ref b { color: var(--pc-ink); letter-spacing: 0.5px; }
.pc-linkbtn { max-width: 280px; margin: 20px auto 0; }

.pc-small { font-size: 12px; margin-top: 6px; }
.pc-consent a { color: #047a3a; font-weight: 500; text-decoration: underline; }

/* ===== LÁBLÉC ===== */
.pc-footer {
    background: var(--pc-ink);
    color: #cbd5e1;
    padding: 28px 18px;
    text-align: center;
    font-size: 13px;
}
.pc-footer-in { max-width: 880px; margin: 0 auto; }
.pc-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 12px; }
.pc-footer a { color: #fff; text-decoration: none; }
.pc-footer a:hover { color: var(--pc-green); text-decoration: underline; }
.pc-footer p { margin: 0; color: #94a3b8; }

/* ===== MOBIL ===== */
@media (max-width: 640px) {
    .pc-grid { grid-template-columns: 1fr; }
    .pc-card { padding: 18px 16px; border-radius: 14px; }
    .pc-hero-in { padding-top: 22px; }
    .pc-logo img { height: 34px; }
    .pc-back { font-size: 13px; padding: 6px 10px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}
/* ===== PC / LAPTOP KAPCSOLÓ ===== */
.pc-switch {
    display: flex;
    gap: 6px;
    padding: 5px;
    background: #e8f3ed;
    border-radius: 14px;
}
.pc-switch label { flex: 1; position: relative; cursor: pointer; }
.pc-switch input { position: absolute; opacity: 0; pointer-events: none; }
.pc-switch span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 10px;
    border-radius: 10px;
    font-size: 15.5px;
    font-weight: 600;
    color: #374151;
    text-align: center;
    user-select: none;
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}
.pc-switch label:hover span { background: #f0fdf6; }
.pc-switch input:checked + span {
    background: var(--pc-green);
    color: var(--pc-green-deep);
    box-shadow: 0 3px 10px rgba(0, 214, 99, 0.35);
}
.pc-switch input:focus-visible + span { outline: 3px solid rgba(0, 214, 99, 0.45); outline-offset: 2px; }

@media (max-width: 640px) {
    .pc-switch span { font-size: 14px; padding: 12px 6px; }
}