/* =========================================================
   Azonnali Autómentés Budapest – stílusok
   Vanilla CSS, mobile-first, külső függőség nélkül
   ========================================================= */

:root {
    --color-yellow: #ffc400;
    --color-yellow-dark: #e6ae00;
    --color-black: #111111;
    --color-dark: #1d1d1b;
    --color-light: #f6f6f2;
    --color-muted: #57574f;
    --color-border: #e4e4de;
    --color-sms: #1a73e8;
    --color-sms-dark: #1560c4;
    --radius: 10px;
    --container: 1080px;
    --shadow: 0 2px 10px rgba(17, 17, 17, 0.07);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: var(--color-black);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    /* Mobil sticky hívás sáv helye */
    padding-bottom: 76px;
}

img, a, button {
    user-select: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3 {
    line-height: 1.2;
    margin: 0 0 0.5em;
}

h1 { font-size: 1.85rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.05rem; }

p {
    margin: 0 0 1em;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 3px solid #0b57d0;
    outline-offset: 2px;
    border-radius: 2px;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

.container-narrow {
    max-width: 760px;
}

.section {
    padding: 44px 0;
}

.section-alt {
    background: var(--color-light);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-lead {
    color: var(--color-muted);
    max-width: 40em;
}

/* ---------- Skip link ---------- */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--color-black);
    color: #fff;
    padding: 10px 16px;
    z-index: 100;
    text-decoration: none;
    border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
    left: 0;
}

/* ---------- Gombok ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
    border-radius: var(--radius);
    padding: 13px 22px;
    transition: background-color 0.15s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn[disabled] {
    opacity: 0.6;
    cursor: wait;
}

.btn-call {
    background: var(--color-yellow);
    color: var(--color-black);
}

.btn-call:hover {
    background: var(--color-yellow-dark);
}

.btn-lg {
    padding: 16px 30px;
    font-size: 1.15rem;
}

.btn-sms {
    background: var(--color-sms);
    color: #fff;
}

.btn-sms:hover {
    background: var(--color-sms-dark);
}

.phone-link {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--color-black);
    text-decoration: none;
    white-space: nowrap;
}

.phone-link:hover {
    text-decoration: underline;
}

/* ---------- Fejléc ---------- */

.site-header {
    background: #fff;
    border-top: 4px solid var(--color-yellow);
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 0;
}

.logo-img {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    color: var(--color-black);
}

.logo-text strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.main-nav {
    display: none;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-phone {
    display: none;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--color-black);
    text-decoration: none;
    white-space: nowrap;
}

.header-phone:hover {
    text-decoration: underline;
}

.btn-header {
    padding: 10px 16px;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* ---------- Hero ---------- */

.hero {
    background: linear-gradient(180deg, #fff 0%, var(--color-light) 100%);
    border-bottom: 1px solid var(--color-border);
}

.hero-inner {
    display: grid;
    gap: 28px;
    padding-top: 36px;
    padding-bottom: 44px;
}

.hero-eyebrow {
    display: inline-block;
    background: var(--color-black);
    color: var(--color-yellow);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 999px;
    margin: 0 0 14px;
}

.hero h1 {
    margin-bottom: 0.4em;
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--color-muted);
    max-width: 34em;
}

.hero-local {
    max-width: 34em;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin: 20px 0 6px;
}

.hero-phone {
    font-size: 1.15rem;
}

.trust-points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 18px 0 0;
    padding: 0;
}

.trust-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.trust-points .icon {
    color: var(--color-yellow-dark);
    flex: none;
}

.hero-media img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
}

/* ---------- Gyors információs sáv ---------- */

.info-strip {
    background: var(--color-dark);
    color: #fff;
}

.info-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.info-strip-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #bdbdb4;
}

.info-strip-value {
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

a.info-strip-value:hover {
    color: var(--color-yellow);
}

/* ---------- Kártyák ---------- */

.card-grid {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 20px 0 0;
    padding: 0;
}

.card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-yellow);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.card h3 {
    margin: 0 0 6px;
}

.card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

/* ---------- Lépések ---------- */

.steps {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.step-num {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-yellow);
    color: var(--color-black);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step h3 {
    margin: 0 0 4px;
}

.step p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

/* ---------- Helyzetküldés ---------- */

.location-box {
    background: #fff;
    border: 2px solid var(--color-yellow);
    border-radius: var(--radius);
    padding: 24px 20px;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow);
}

.location-box p {
    color: var(--color-muted);
}

.location-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 18px 0 6px;
}

.location-buttons .btn {
    padding: 15px 20px;
    font-size: 1.05rem;
}

.location-status {
    font-weight: 600;
    color: var(--color-black);
    margin: 12px 0 0;
}

.location-status.is-error {
    color: #b3261e;
}

.location-fallback {
    font-size: 0.92rem;
    margin: 12px 0 0;
}

.location-fallback a {
    font-weight: 700;
    color: var(--color-black);
}

/* ---------- Terület ---------- */

.area-grid {
    display: grid;
    gap: 24px;
}

.area-media img {
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

.district-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
}

.district-chip {
    display: block;
    text-align: center;
    padding: 10px 6px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-black);
}

a.district-chip:hover {
    border-color: var(--color-yellow-dark);
    background: #fff7dc;
}

.district-chip.is-current {
    background: var(--color-black);
    color: var(--color-yellow);
    border-color: var(--color-black);
}

/* ---------- Árkommunikáció ---------- */

.price-inner {
    text-align: center;
}

.price-inner p {
    color: var(--color-muted);
    max-width: 38em;
    margin-left: auto;
    margin-right: auto;
}

.price-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
}

/* ---------- GYIK ---------- */

.faq-list {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    margin-top: 20px;
    box-shadow: var(--shadow);
}

.faq-item + .faq-item {
    border-top: 1px solid var(--color-border);
}

.faq-q {
    margin: 0;
    font-size: 1rem;
}

.faq-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    text-align: left;
    padding: 16px;
    font: inherit;
    font-weight: 700;
    color: var(--color-black);
    cursor: pointer;
}

.faq-toggle:hover {
    background: var(--color-light);
}

.faq-icon {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-yellow);
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: var(--color-black);
}

.faq-icon::before {
    left: 5px;
    right: 5px;
    top: 10px;
    height: 2px;
}

.faq-icon::after {
    top: 5px;
    bottom: 5px;
    left: 10px;
    width: 2px;
    transition: transform 0.15s ease;
}

.faq-toggle[aria-expanded="true"] .faq-icon::after {
    transform: scaleY(0);
}

.faq-panel {
    padding: 0 16px 16px;
}

.faq-panel[hidden] {
    display: none;
}

.faq-panel p {
    margin: 0;
    color: var(--color-muted);
}

/* ---------- Záró CTA ---------- */

.final-cta {
    background: var(--color-dark);
    color: #fff;
    text-align: center;
}

.final-cta h2 {
    color: #fff;
    font-size: 1.6rem;
}

.final-cta p {
    color: #cfcfc6;
    max-width: 38em;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-phone {
    margin: 16px 0 0;
}

.phone-link-light {
    color: var(--color-yellow);
    font-size: 1.25rem;
}

/* ---------- Lábléc ---------- */

.site-footer {
    background: var(--color-black);
    color: #cfcfc6;
    font-size: 0.95rem;
}

.footer-inner {
    display: grid;
    gap: 24px;
    padding-top: 36px;
    padding-bottom: 10px;
}

.footer-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.6em;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: #cfcfc6;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--color-yellow);
    text-decoration: underline;
}

.footer-phone {
    color: var(--color-yellow);
    font-weight: 800;
    font-size: 1.15rem;
    text-decoration: none;
}

.footer-phone:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #2b2b28;
    padding-top: 14px;
    padding-bottom: 14px;
    font-size: 0.85rem;
    color: #8f8f86;
}

.footer-bottom p {
    margin: 0;
}

/* ---------- Mobil sticky hívás sáv ---------- */

.sticky-call {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: #fff;
    border-top: 1px solid var(--color-border);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}

.sticky-call-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--color-yellow);
    color: var(--color-black);
    font-weight: 800;
    font-size: 1.15rem;
    text-decoration: none;
    border-radius: var(--radius);
    padding: 14px;
}

.sticky-call-link:active {
    background: var(--color-yellow-dark);
}

/* ---------- 404 / jogi oldalak ---------- */

.error-inner {
    text-align: center;
    padding-top: 24px;
    padding-bottom: 24px;
}

.error-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 8px 0 20px;
}

.legal-content h2 {
    font-size: 1.2rem;
    margin-top: 1.6em;
}

.legal-content ul {
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 0.5em;
}

/* =========================================================
   Tablet (700px-től)
   ========================================================= */

@media (min-width: 700px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.65rem; }

    .info-strip-inner {
        grid-template-columns: repeat(4, 1fr);
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-buttons {
        flex-direction: row;
    }

    .location-buttons .btn {
        flex: 1;
    }

    .district-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-inner {
        grid-template-columns: 2fr 1fr;
    }

    .area-grid {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: center;
    }
}

/* =========================================================
   Desktop (1000px-től)
   ========================================================= */

@media (min-width: 1000px) {
    body {
        /* Desktopon nincs sticky sáv, nem kell alsó hely */
        padding-bottom: 0;
    }

    .sticky-call {
        display: none;
    }

    h1 { font-size: 2.5rem; }

    .section {
        padding: 60px 0;
    }

    .main-nav {
        display: block;
    }

    .main-nav ul {
        display: flex;
        gap: 24px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .main-nav a {
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        color: var(--color-black);
    }

    .main-nav a:hover {
        text-decoration: underline;
        text-underline-offset: 4px;
        text-decoration-color: var(--color-yellow-dark);
        text-decoration-thickness: 2px;
    }

    .header-phone {
        display: inline-block;
    }

    .hero-inner {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;
        padding-top: 56px;
        padding-bottom: 64px;
    }

    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps {
        grid-template-columns: repeat(4, 1fr);
    }

    .step {
        flex-direction: column;
        gap: 10px;
    }

    .district-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}
