/* ==========================================================================
   Magyar AI Szolgáltatások — landing page stílusok
   VILÁGOS téma. Bootstrap 5 (data-bs-theme="light") fölé épül.
   A teljes színvilág a :root tokenekben van, egy helyen cserélhető.
   ========================================================================== */

:root {
    /* Nem vakító fehér: hűvös, halványkék alapon a fehér kártyák kiemelkednek.
       Erre ül rá a body::before fényrétege, ami "megvilágítja" az oldalt. */
    --mai-bg: #e4e9f4;
    /* A váltakozó szekciók áttetsző fehér fátylak, hogy átsüssön rajtuk a fény. */
    --mai-veil: rgba(255, 255, 255, .46);
    --mai-bg-alt: var(--mai-veil);
    --mai-surface: #ffffff;         /* kártyák */
    --mai-surface-2: #f6f8fd;
    --mai-border: rgba(20, 23, 43, .13);
    --mai-text: #10132a;
    --mai-text-soft: #545a72;
    /* Sötét footer: lezárja és megfogja a világos oldalt. */
    --mai-footer-bg: #151933;
    --mai-footer-text: #cfd4e6;
    --mai-brand: #5b4bd6;
    --mai-brand-dark: #4a3cc4;
    /* Világos háttéren a türkiz sötétebb árnyalata kell, különben olvashatatlan.
       A korábbi #00918a fehér kártyán 3,88:1 kontrasztot adott, a fátyolos
       szekciókon 3,49:1-et. A WCAG AA 4,5:1-et kér a normál méretű szöveghez,
       tehát mindkettő megbukott. Ez az árnyalat 5,80:1 fehéren, 5,21:1 fátyolon. */
    --mai-brand-2: #00726c;
    /* A díszítő elemekhez (ikon, keret, színátmenet) marad a világosabb türkiz:
       ott nincs olvashatósági követelmény, viszont a régi szín élénkebb. */
    --mai-brand-2-bright: #00918a;

    /* Hivatkozások színe.
       Enélkül a Bootstrap alapértelmezett kékje (#0d6efd) érvényesült, ami a
       fátyolos szekciókon (Rólam, GYIK) csak 4,05:1 kontrasztot adott, tehát
       megbukott a 4,5:1-es küszöbön. A saját márkalila 5,52:1-et ad ugyanott,
       és az oldal többi részéhez is jobban illik. */
    --bs-link-color: #5b4bd6;
    --bs-link-color-rgb: 91, 75, 214;
    --bs-link-hover-color: #4a3cc4;
    --bs-link-hover-color-rgb: 74, 60, 196;
    --mai-brand-soft: rgba(91, 75, 214, .09);
    --mai-brand-glow: rgba(91, 75, 214, .28);
    /* Világos háttéren árnyék választja el a kártyát, nem a háttérszín. */
    --mai-shadow: 0 1px 2px rgba(20, 23, 43, .04), 0 8px 24px -14px rgba(20, 23, 43, .18);
    --mai-shadow-lg: 0 2px 4px rgba(20, 23, 43, .05), 0 24px 48px -24px rgba(20, 23, 43, .28);
    --mai-radius: 16px;
    --mai-nav-h: 72px;
}

html {
    scroll-behavior: smooth;
    /* A fix navbar ne takarja el a horgonyra ugrásnál a szekció címét. */
    scroll-padding-top: calc(var(--mai-nav-h) + 16px);
}

body {
    background: var(--mai-bg);
    color: var(--mai-text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/*
 * Ambient fényréteg: rögzített pozíciójú, tartalom mögötti pszeudó elem.
 * Több nagy, lágy fényfolt kelti azt a hatást, mintha az oldalt megvilágítanák.
 * Miért pszeudó elem és nem background-attachment: fixed a body-n?
 * Mert az mobilon újrarajzolja a hátteret minden görgetéskor (akadás),
 * a fix pozíciójú réteget viszont a böngésző egyszer rajzolja meg.
 */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(1200px 700px at 8% -12%, rgba(255, 255, 255, .95), transparent 62%),
        radial-gradient(900px 600px at 94% -2%, rgba(124, 108, 240, .24), transparent 62%),
        radial-gradient(850px 750px at -6% 46%, rgba(0, 180, 170, .16), transparent 62%),
        radial-gradient(1000px 800px at 104% 82%, rgba(124, 108, 240, .20), transparent 62%),
        radial-gradient(900px 520px at 46% 104%, rgba(255, 255, 255, .7), transparent 62%);
}

.text-soft { color: var(--mai-text-soft); }

/* ---------- Sorkizárás -------------------------------------------------
   Folyószövegnél sorkizárt igazítás, automatikus elválasztással. Az elválasztás
   nem elhagyható: a magyar szavak hosszúak, enélkül a sorkizárás nagy réseket
   ("folyókat") hagyna a szövegben. A html lang="hu-HU" attribútuma adja a
   böngészőnek a magyar elválasztási szótárat.
   Rövid feliratra, gombra, címsorra, táblázatcellára szándékosan nem vonatkozik.
   ---------------------------------------------------------------------- */

.hero-lead,
.section-lead,
.service-text,
.reason-text,
.timeline-text,
.model-lead,
.cta-lead,
.post-lead,
.post-card-excerpt,
.post-body p,
.post-body li,
.legal-page p,
.legal-page li,
.booking-usp li,
.industry-card-lead,
.industry-pain-list li,
.industry-step p,
.guarantee-text,
.testimonial-quote,
.case-line,
.founder-text,
.founder-beliefs li,
.topic-prose,
.price-note {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Középre igazított blokkokban (köszönőoldal, hibaoldal, üres állapot) a
   sorkizárás rosszul néz ki, ott marad a középre igazítás. */
.text-center .section-lead,
.text-center p,
.booking-empty p,
.booking-placeholder p {
    text-align: center;
}

/* A kiemelt jogi vállalás rövid, balra igazítva olvashatóbb. */
.legal-page .legal-note { text-align: left; }

/* Mobilon a keskeny hasábban a sorkizárás széteső szóközöket adna. */
@media (max-width: 575.98px) {
    .hero-lead,
    .section-lead,
    .service-text,
    .reason-text,
    .timeline-text,
    .model-lead,
    .cta-lead,
    .post-lead,
    .post-card-excerpt,
    .post-body p,
    .post-body li,
    .legal-page p,
    .legal-page li,
    .industry-card-lead,
    .industry-pain-list li,
    .industry-step p,
    .guarantee-text,
    .testimonial-quote,
    .case-line {
        text-align: left;
    }
}

.skip-link {
    position: absolute;
    top: .5rem;
    left: .5rem;
    z-index: 2000;
    background: var(--mai-brand);
    color: #fff;
    padding: .5rem 1rem;
    border-radius: 8px;
}

/* ---------- Navbar ---------------------------------------------------- */

.site-nav {
    min-height: var(--mai-nav-h);
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-nav.is-scrolled {
    background: rgba(255, 255, 255, .97);
    border-bottom-color: var(--mai-border);
    box-shadow: 0 4px 20px -12px rgba(20, 23, 43, .35);
}

.site-nav .navbar-brand { color: var(--mai-text); }
.site-nav .brand-text { font-size: 1rem; letter-spacing: -.01em; }

.site-nav .nav-link {
    color: var(--mai-text-soft);
    font-size: .95rem;
    padding-inline: .85rem;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus { color: var(--mai-text); }
.site-nav .nav-link.active { color: var(--mai-brand); font-weight: 600; }

/* lg-n öt menüpont + CTA fér el a konténerben — szűkebb belső margó kell. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .site-nav .nav-link { padding-inline: .55rem; font-size: .9rem; }
    .site-nav .brand-text { font-size: .92rem; }
}

.navbar-toggler {
    border-color: var(--mai-border);
    color: var(--mai-text);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2820,23,43,0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* A jel SVG, tehát minden felbontáson éles. A méret itt állítható, a fájlt
   nem kell hozzányúlni. A lekerekítés magában az SVG-ben van. */
.brand-mark {
    display: block;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

/* ---------- Gombok ---------------------------------------------------- */

.btn-brand {
    background: linear-gradient(135deg, var(--mai-brand), #7566e6);
    border: none;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 8px 20px -10px var(--mai-brand-glow);
}

.btn-brand:hover,
.btn-brand:focus {
    background: linear-gradient(135deg, var(--mai-brand-dark), #6a5ae0);
    color: #fff;
    box-shadow: 0 12px 26px -10px var(--mai-brand-glow);
}

/* Világos háttéren a másodlagos gomb keretes, nem világos kitöltésű. */
.btn-outline-brand {
    background: #fff;
    border: 1px solid var(--mai-brand);
    color: var(--mai-brand);
    font-weight: 600;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
    background: var(--mai-brand);
    border-color: var(--mai-brand);
    color: #fff;
}

/* ---------- Hero ------------------------------------------------------ */

.hero {
    position: relative;
    padding: calc(var(--mai-nav-h) + 72px) 0 80px;
    overflow: hidden;
    /* Felülről beeső fény: a hero teteje világosabb, lefelé elenged. */
    background: linear-gradient(180deg, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, .1) 62%, transparent 100%);
}

/* A hero fő fényforrása: nagy, lágy folt a címsor mögött. */
.hero-glow {
    position: absolute;
    top: -300px;
    left: 50%;
    width: 1050px;
    height: 700px;
    transform: translateX(-52%);
    background: radial-gradient(closest-side, rgba(124, 108, 240, .28), transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: .35rem .85rem;
    border: 1px solid rgba(91, 75, 214, .22);
    border-radius: 999px;
    background: var(--mai-brand-soft);
    color: var(--mai-brand-dark);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 1.25rem;
}

.hero-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--mai-text-soft);
    max-width: 40em;
    margin-bottom: 0;
}

.hero-note { color: var(--mai-text-soft); font-size: .9rem; }

.hero-card {
    background: var(--mai-surface);
    border: 1px solid var(--mai-border);
    border-radius: var(--mai-radius);
    padding: 1.25rem;
    box-shadow: var(--mai-shadow-lg);
}

.hero-card-head {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding-bottom: .9rem;
    margin-bottom: .9rem;
    border-bottom: 1px solid var(--mai-border);
}

.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.hero-card-list { list-style: none; margin: 0; padding: 0; }

.hero-card-list li {
    padding: .8rem 0 .8rem 1.5rem;
    border-bottom: 1px dashed var(--mai-border);
    position: relative;
}

.hero-card-list li:last-child { border-bottom: none; padding-bottom: 0; }

.hero-card-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.25rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mai-brand);
}

.hero-card-list strong { display: block; font-size: .95rem; margin-bottom: .15rem; }
.hero-card-list span { color: var(--mai-text-soft); font-size: .9rem; }

/* ---------- Statisztika sáv ------------------------------------------- */

.stat-strip {
    padding-top: 2.5rem;
    border-top: 1px solid var(--mai-border);
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--mai-brand), var(--mai-brand-2-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
}

.stat-label { color: var(--mai-text-soft); font-size: .9rem; margin-top: .25rem; }

/* ---------- Szekciók -------------------------------------------------- */

.section { padding: 88px 0; }
.section-alt { background: var(--mai-bg-alt); }
.page-offset { padding-top: calc(var(--mai-nav-h) + 48px); }

.section-head { max-width: 54rem; margin-bottom: 3rem; }

.section-title {
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 1rem;
}

.section-lead {
    max-width: 46rem;
    color: var(--mai-text-soft);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ---------- Kiemelt szolgáltatás sáv ---------------------------------- */

.service-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 2.25rem;
    border-radius: var(--mai-radius);
    border: 1px solid rgba(91, 75, 214, .35);
    background:
        radial-gradient(680px 320px at 100% 0%, rgba(0, 145, 138, .16), transparent 70%),
        linear-gradient(135deg, rgba(91, 75, 214, .14), rgba(255, 255, 255, .9));
    box-shadow: var(--mai-shadow-lg);
}

.service-hero-main { flex: 1 1 30rem; }
.service-hero-side { flex: 0 0 auto; }

.service-hero-badge {
    display: inline-block;
    margin-bottom: .75rem;
    padding: .25rem .8rem;
    border-radius: 999px;
    background: var(--mai-brand);
    color: #fff;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.service-hero-title {
    font-size: clamp(1.4rem, 2.8vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -.015em;
    margin-bottom: .6rem;
}

.service-hero-text {
    color: var(--mai-text-soft);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1rem;
    max-width: 46em;
}

.service-hero-points {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .4rem 1.5rem;
    padding: 0;
    margin: 0;
}

.service-hero-points li {
    position: relative;
    padding-left: 1.4rem;
    font-size: .93rem;
}

.service-hero-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--mai-brand);
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .service-hero { padding: 1.5rem; }
    .service-hero-points { grid-template-columns: 1fr; }
    .service-hero-side, .service-hero-side .btn { width: 100%; }
}

/* ---------- Szolgáltatás kártyák -------------------------------------- */

.service-card,
.contact-card {
    background: var(--mai-surface);
    border: 1px solid var(--mai-border);
    border-radius: var(--mai-radius);
    padding: 1.75rem;
    box-shadow: var(--mai-shadow);
}

.service-card {
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(91, 75, 214, .35);
    box-shadow: var(--mai-shadow-lg);
}

.service-icon { font-size: 1.75rem; line-height: 1; margin-bottom: 1rem; }
.service-title { font-size: 1.15rem; font-weight: 700; margin-bottom: .75rem; }
.service-text { color: var(--mai-text-soft); font-size: .95rem; line-height: 1.65; }

.service-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.service-points li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: .4rem;
    font-size: .9rem;
    color: var(--mai-text);
}

.service-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--mai-brand);
    font-weight: 700;
}

.service-cta {
    color: var(--mai-brand);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
}

.service-cta:hover { color: var(--mai-brand-dark); text-decoration: underline; }

/* ---------- Folyamat: idővonal ---------------------------------------- */

.timeline {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 0;
    padding: 0;
    counter-reset: none;
}

.timeline-step {
    position: relative;
    padding-top: 3.25rem;
}

/* Összekötő vonal a lépések között (vízszintes, desktopon). */
.timeline-step::before {
    content: "";
    position: absolute;
    top: 21px;
    left: 44px;
    right: -2rem;
    height: 2px;
    background: linear-gradient(90deg, rgba(91, 75, 214, .45), rgba(91, 75, 214, .12));
}

.timeline-step:last-child::before { display: none; }

.timeline-marker {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mai-surface);
    border: 2px solid var(--mai-brand);
    color: var(--mai-brand);
    font-size: .95rem;
    font-weight: 800;
    box-shadow: var(--mai-shadow);
}

.timeline-title { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.timeline-text { color: var(--mai-text-soft); font-size: .93rem; line-height: 1.65; margin-bottom: 0; }

@media (max-width: 991.98px) {
    /* Mobilon függőleges idővonal, a vonal a jelölők között fut. */
    .timeline { grid-template-columns: 1fr; gap: 1.75rem; }

    .timeline-step { padding: 0 0 0 3.75rem; min-height: 44px; }

    .timeline-step::before {
        top: 44px;
        bottom: -1.75rem;
        left: 21px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, rgba(91, 75, 214, .45), rgba(91, 75, 214, .12));
    }
}

/* ---------- Miért mi: két hasábos lista ------------------------------- */

.reason-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 3rem;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--mai-border);
}

/* Az utolsó két elem (alsó sor) alatt ne legyen vonal. */
.reason-item:nth-last-child(-n+2) { border-bottom: none; }

.reason-icon {
    flex: 0 0 auto;
    font-size: 1.35rem;
    line-height: 1.4;
}

.reason-title { font-size: 1.02rem; font-weight: 700; margin-bottom: .3rem; }
.reason-text { color: var(--mai-text-soft); font-size: .93rem; line-height: 1.6; }

@media (max-width: 767.98px) {
    .reason-list { grid-template-columns: 1fr; }
    .reason-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--mai-border); }
    .reason-item:last-child { border-bottom: none; }
}

/* ---------- Megtérülés ------------------------------------------------ */

.section-roi {
    background:
        radial-gradient(760px 420px at 82% 6%, rgba(0, 145, 138, .16), transparent 68%),
        var(--mai-veil);
}

.roi-card {
    display: flex;
    flex-direction: column;
    background: var(--mai-surface);
    border: 1px solid var(--mai-border);
    border-radius: var(--mai-radius);
    padding: 1.75rem;
    box-shadow: var(--mai-shadow);
}

.roi-card-accent {
    border-color: rgba(91, 75, 214, .45);
    box-shadow: var(--mai-shadow-lg);
}

.roi-tag {
    align-self: flex-start;
    padding: .2rem .65rem;
    margin-bottom: .75rem;
    border-radius: 999px;
    background: var(--mai-brand-soft);
    color: var(--mai-brand-dark);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.roi-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 1.25rem;
}

.roi-rows { margin: 0 0 1.5rem; }

/* Címke balra, érték jobbra: szám-fókusz, nem folyószöveg. */
.roi-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: .55rem 0;
    border-bottom: 1px dashed var(--mai-border);
}

.roi-row:last-child { border-bottom: none; }

.roi-row dt {
    color: var(--mai-text-soft);
    font-size: .88rem;
    font-weight: 400;
    margin: 0;
}

.roi-row dd {
    margin: 0;
    font-size: .95rem;
    font-weight: 700;
    text-align: right;
}

.roi-total {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(91, 75, 214, .10), rgba(0, 145, 138, .10));
    border: 1px solid rgba(91, 75, 214, .2);
}

.roi-total-label {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--mai-text-soft);
}

.roi-total-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    background: linear-gradient(135deg, var(--mai-brand), var(--mai-brand-2-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* A csillag ne vigye el a színátmenetes számot: külön, halvány és kicsi. */
.roi-star {
    -webkit-text-fill-color: var(--mai-text-soft);
    color: var(--mai-text-soft);
    font-size: .55em;
    font-weight: 600;
    top: -.7em;
    margin-left: .1em;
}

.roi-note {
    margin: 1.75rem 0 0;
    text-align: center;
    color: var(--mai-text-soft);
    font-size: .82rem;
}

/* ---------- CTA sávok ------------------------------------------------- */

.cta-band {
    background:
        linear-gradient(135deg, rgba(91, 75, 214, .16), rgba(0, 145, 138, .12)),
        rgba(255, 255, 255, .35);
    border-block: 1px solid var(--mai-border);
}

.cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2.5rem 0;
}

.cta-copy { flex: 1 1 22rem; }

.cta-title {
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -.01em;
    margin-bottom: .4rem;
}

.cta-lead { color: var(--mai-text-soft); font-size: 1rem; }

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

/* ---------- Mobil sticky CTA ------------------------------------------ */

.mobile-cta {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 1030;
    display: flex;
    gap: .5rem;
    padding: .6rem .75rem;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--mai-border);
    box-shadow: 0 -4px 20px -12px rgba(20, 23, 43, .4);
}

.mobile-cta-phone {
    flex: 0 0 auto;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Ne takarja a footer utolsó sorát a fix sáv. */
@media (max-width: 991.98px) {
    body { padding-bottom: 4.25rem; }
}

/* ---------- Konstrukciók ---------------------------------------------- */

.model-card {
    display: flex;
    flex-direction: column;
    background: var(--mai-surface);
    border: 1px solid var(--mai-border);
    border-radius: var(--mai-radius);
    padding: 2rem;
    box-shadow: var(--mai-shadow);
}

/* A hangsúlyos kártya erősebb keretet és árnyékot kap, nem más háttérszínt,
   hogy a két opció egyenrangú maradjon. */
.model-card-accent {
    border-color: rgba(91, 75, 214, .45);
    box-shadow: var(--mai-shadow-lg);
}

.model-eyebrow {
    display: inline-block;
    align-self: flex-start;
    padding: .25rem .7rem;
    margin-bottom: .9rem;
    border-radius: 999px;
    background: rgba(0, 145, 138, .10);
    border: 1px solid rgba(0, 145, 138, .3);
    color: #00706a;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.model-card-accent .model-eyebrow {
    background: var(--mai-brand-soft);
    border-color: rgba(91, 75, 214, .3);
    color: var(--mai-brand-dark);
}

.model-title {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -.01em;
    margin-bottom: .75rem;
}

.model-lead {
    color: var(--mai-text-soft);
    font-size: .98rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.model-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.model-points li {
    position: relative;
    padding: .45rem 0 .45rem 1.6rem;
    font-size: .94rem;
    line-height: 1.55;
    border-bottom: 1px solid var(--mai-border);
}

.model-points li:last-child { border-bottom: none; }

.model-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: .45rem;
    color: var(--mai-brand);
    font-weight: 700;
}

.model-when {
    padding: .8rem 1rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--mai-brand);
    background: var(--mai-brand-soft);
    border-radius: 0 8px 8px 0;
    color: var(--mai-text);
    font-size: .92rem;
    line-height: 1.6;
}

.model-note {
    color: var(--mai-text-soft);
    font-size: .95rem;
    text-align: center;
}

/* ---------- GYIK ------------------------------------------------------ */

.faq-accordion .accordion-item {
    background: var(--mai-surface);
    border: 1px solid var(--mai-border);
    border-radius: var(--mai-radius) !important;
    margin-bottom: .75rem;
    overflow: hidden;
    box-shadow: var(--mai-shadow);
}

.faq-accordion .accordion-button {
    background: transparent;
    color: var(--mai-text);
    font-weight: 600;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) { color: var(--mai-brand); }
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(91, 75, 214, .18); }
/* Két hasábban a sorkizárás csúnya szóközlyukakat adna, itt balra zárunk. */
.faq-accordion .accordion-body {
    color: var(--mai-text-soft);
    line-height: 1.7;
    font-size: .93rem;
    text-align: left;
    hyphens: manual;
}

/* A kérdés a hasábban két sorba is fér, ne szoruljon ki a nyíl mellől. */
.faq-accordion .accordion-button { font-size: .97rem; line-height: 1.45; }

/* Záró sor a GYIK alatt: aki idáig eljutott, de nem kapott választ, ne essen ki. */
.faq-more {
    margin: 1.8rem 0 0;
    text-align: center;
    color: var(--mai-text-soft);
}

.faq-more a { font-weight: 600; }

/* ---------- Kapcsolat ------------------------------------------------- */

.section-contact {
    background:
        radial-gradient(820px 460px at 18% 4%, rgba(91, 75, 214, .16), transparent 68%),
        var(--mai-veil);
}

.contact-card { padding: 2rem; }

.contact-list li {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    padding: .6rem 0;
    border-bottom: 1px solid var(--mai-border);
}

.contact-label { color: var(--mai-text-soft); min-width: 6.5rem; font-size: .9rem; }
.contact-list a { color: var(--mai-text); text-decoration: none; }
.contact-list a:hover { color: var(--mai-brand); }

.contact-card .form-control,
.contact-card .form-select {
    background: #fff;
    border-color: var(--mai-border);
    color: var(--mai-text);
    padding: .65rem .9rem;
}

.contact-card .form-control:focus,
.contact-card .form-select:focus {
    background: #fff;
    color: var(--mai-text);
    border-color: var(--mai-brand);
    box-shadow: 0 0 0 .2rem rgba(91, 75, 214, .16);
}

.contact-card .form-control::placeholder { color: #9aa0b4; }
.contact-card label { color: var(--mai-text-soft); font-size: .9rem; margin-bottom: .35rem; }
.contact-card .form-check-label { color: var(--mai-text-soft); font-size: .9rem; }
.contact-card .form-check-label a { color: var(--mai-brand); }

/* Spam csapda — a valódi látogató sosem látja. */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- Időpontfoglalás ------------------------------------------- */

/* Itt volt a piros „már csak N szabad időpont maradt" sáv. Kivettük, mert
   pontatlan volt és trükközésnek látszott — lásd booking/index.php. */

/* ---------- Napválasztó sáv ------------------------------------------- */

.day-strip {
    display: flex;
    gap: .6rem;
    overflow-x: auto;
    padding-bottom: .5rem;
    margin-bottom: 1.25rem;
    scrollbar-width: thin;
}

.day-pill {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .1rem;
    min-width: 74px;
    padding: .7rem .5rem;
    border-radius: 14px;
    border: 1px solid var(--mai-border);
    background: var(--mai-surface);
    color: var(--mai-text);
    text-decoration: none;
    box-shadow: var(--mai-shadow);
    transition: transform .15s ease, border-color .15s ease;
}

.day-pill:hover { transform: translateY(-2px); border-color: rgba(91, 75, 214, .45); color: var(--mai-text); }

.day-pill.is-active {
    background: var(--mai-brand);
    border-color: var(--mai-brand);
    color: #fff;
}

.day-pill.is-full { opacity: .55; }
.day-pill.is-full:hover { transform: none; }

.day-pill-name { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.day-pill-num { font-size: 1.35rem; font-weight: 800; line-height: 1.1; }
.day-pill-month { font-size: .7rem; text-transform: uppercase; opacity: .75; }

.day-pill-state {
    margin-top: .25rem;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #0f7a54;
}

.day-pill.is-active .day-pill-state { color: rgba(255, 255, 255, .9); }
.day-pill.is-full .day-pill-state { color: var(--mai-text-soft); }

/* ---------- A kiválasztott nap rácsa ---------------------------------- */

.day-panel {
    background: var(--mai-surface);
    border: 1px solid var(--mai-border);
    border-radius: var(--mai-radius);
    padding: 1.4rem;
    box-shadow: var(--mai-shadow);
}

.day-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid var(--mai-border);
}

.day-panel-badge {
    margin-left: auto;
    padding: .2rem .7rem;
    border-radius: 999px;
    background: rgba(23, 166, 115, .12);
    color: #0f7a54;
    font-size: .78rem;
    font-weight: 700;
}

.day-panel-badge.is-none { background: #eceef5; color: var(--mai-text-soft); }

.day-panel-hint { margin-top: 1rem; color: var(--mai-text-soft); font-size: .9rem; }

.booking-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.25rem;
    font-size: .85rem;
    color: var(--mai-text-soft);
}

.booking-legend > span { display: inline-flex; align-items: center; gap: .4rem; }

.legend-box {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1px solid var(--mai-border);
}

.legend-free { background: rgba(23, 166, 115, .16); border-color: rgba(23, 166, 115, .45); }
.legend-taken { background: #e7e9f0; border-color: var(--mai-border); }
.legend-selected { background: var(--mai-brand); border-color: var(--mai-brand); }

.booking-day {
    background: var(--mai-surface);
    border: 1px solid var(--mai-border);
    border-radius: var(--mai-radius);
    padding: 1.25rem 1.4rem;
    margin-bottom: 1rem;
    box-shadow: var(--mai-shadow);
}

/* A teljesen betelt nap halványabb, de látszik: ettől hiteles a naptár. */
.booking-day.is-fullday { opacity: .72; }

.booking-day-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .6rem;
    margin-bottom: .9rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--mai-border);
}

.booking-day-name { font-weight: 700; font-size: 1.02rem; text-transform: capitalize; }
.booking-day-date { color: var(--mai-text-soft); font-size: .92rem; }

.booking-day-count {
    margin-left: auto;
    padding: .15rem .6rem;
    border-radius: 999px;
    background: rgba(23, 166, 115, .12);
    color: #0f7a54;
    font-size: .78rem;
    font-weight: 700;
}

.booking-day-count.is-none { background: #eceef5; color: var(--mai-text-soft); }

.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    gap: .7rem;
}

.slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .1rem;
    padding: .6rem .4rem;
    border-radius: 10px;
    border: 1px solid var(--mai-border);
    text-decoration: none;
    text-align: center;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.slot-time { font-weight: 700; font-size: 1rem; line-height: 1.2; }
.slot-state { font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; }

.slot-free {
    background: rgba(23, 166, 115, .1);
    border-color: rgba(23, 166, 115, .4);
    color: #0f7a54;
    cursor: pointer;
}

.slot-free:hover {
    background: rgba(23, 166, 115, .18);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -10px rgba(23, 166, 115, .6);
    color: #0b5c40;
}

.slot-free.is-selected {
    background: var(--mai-brand);
    border-color: var(--mai-brand);
    color: #fff;
}

/* Foglalt időpont: látható, de nem kattintható, áthúzott órával. */
.slot-taken {
    background: #eceef5;
    border-style: dashed;
    color: #9aa0b4;
    cursor: not-allowed;
}

.slot-taken .slot-time { text-decoration: line-through; }

.booking-form-card {
    position: sticky;
    top: calc(var(--mai-nav-h) + 16px);
    background: var(--mai-surface);
    border: 1px solid var(--mai-border);
    border-radius: var(--mai-radius);
    padding: 1.75rem;
    box-shadow: var(--mai-shadow-lg);
}

.booking-placeholder { text-align: center; padding: 1rem 0 1.25rem; }
.booking-placeholder-icon { font-size: 2.4rem; margin-bottom: .75rem; }

/* Amíg nincs kiválasztott időpont, itt adjuk meg az okot a foglalásra. */
.booking-usp {
    list-style: none;
    margin: 0;
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--mai-border);
}

.booking-usp li {
    position: relative;
    padding: .45rem 0 .45rem 1.6rem;
    font-size: .92rem;
    color: var(--mai-text-soft);
}

.booking-usp li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: .45rem;
    color: var(--mai-brand);
    font-weight: 700;
}

.booking-chosen,
.booking-summary {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: .9rem 1.1rem;
    margin-bottom: 1.25rem;
    border-radius: 12px;
    border-left: 3px solid var(--mai-brand);
    background: var(--mai-brand-soft);
}

.booking-summary { align-items: center; margin-inline: auto; max-width: 30rem; }

.booking-chosen-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--mai-text-soft);
}

.booking-chosen-value,
.booking-summary-value { font-size: 1.05rem; line-height: 1.4; }
.booking-chosen-change { font-size: .85rem; color: var(--mai-brand); }

.booking-form-card .form-control,
.booking-form-card .form-select {
    background: #fff;
    border-color: var(--mai-border);
    color: var(--mai-text);
    padding: .6rem .85rem;
}

.booking-form-card .form-control:focus,
.booking-form-card .form-select:focus {
    border-color: var(--mai-brand);
    box-shadow: 0 0 0 .2rem rgba(91, 75, 214, .16);
}

.booking-form-card label { color: var(--mai-text-soft); font-size: .88rem; margin-bottom: .3rem; }
.booking-form-card .form-check-label { color: var(--mai-text-soft); font-size: .88rem; }
.booking-form-card .form-check-label a { color: var(--mai-brand); }

.booking-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--mai-surface);
    border: 1px dashed var(--mai-border);
    border-radius: var(--mai-radius);
}

@media (max-width: 991.98px) {
    .booking-form-card { position: static; }
}

/* ---------- Blog: lista ----------------------------------------------- */

.post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--mai-surface);
    border: 1px solid var(--mai-border);
    border-radius: var(--mai-radius);
    box-shadow: var(--mai-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.post-card:hover { transform: translateY(-4px); box-shadow: var(--mai-shadow-lg); }

.post-cover {
    width: 100%;
    /* A height: auto KÖTELEZŐ. A képen ott van a height="630" attribútum (a layout
       ugrás ellen kell), az pedig height: 630px-ként érvényesül, és kiütné az
       aspect-ratio-t: a kártyán álló, összevágott sáv maradna a képből. */
    height: auto;
    /* Pontosan a generált borító aránya, így a saját képeinkből semmi nem esik le. */
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

.post-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    color: var(--mai-text-soft);
    font-size: .82rem;
    margin-bottom: .6rem;
}

.post-card-title { font-size: 1.15rem; font-weight: 700; line-height: 1.35; margin-bottom: .6rem; }
.post-card-title a { color: var(--mai-text); text-decoration: none; }
.post-card-title a:hover { color: var(--mai-brand); }

.post-card-excerpt {
    color: var(--mai-text-soft);
    font-size: .93rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.pagination .page-link {
    color: var(--mai-brand);
    border-color: var(--mai-border);
}

.pagination .active .page-link {
    background: var(--mai-brand);
    border-color: var(--mai-brand);
    color: #fff;
}

/* ---------- Blog: cikk oldal ------------------------------------------ */

.post-breadcrumb { margin-bottom: 1rem; font-size: .88rem; }
.post-breadcrumb a { color: var(--mai-brand); text-decoration: none; }

.post-title {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: .75rem;
}

.post-hero-image {
    width: 100%;
    /* Ugyanaz az ok, mint a .post-cover-nél: a height attribútum enélkül 630px-re
       feszítené a képet a szűkebb szövegoszlopban, tehát torzulna. */
    height: auto;
    border-radius: var(--mai-radius);
    box-shadow: var(--mai-shadow-lg);
}

.post-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--mai-text-soft);
    padding-left: 1rem;
    border-left: 3px solid var(--mai-brand);
    margin-bottom: 2rem;
}

/* A cikk törzse admin által írt HTML: itt adjuk meg a tipográfiát. */
.post-body { font-size: 1.05rem; line-height: 1.8; }
.post-body > * + * { margin-top: 1.15rem; }
.post-body h2 { font-size: 1.55rem; font-weight: 800; letter-spacing: -.015em; margin-top: 2.5rem; }
.post-body h3 { font-size: 1.2rem; font-weight: 700; margin-top: 2rem; }
.post-body p { color: var(--mai-text-soft); }
.post-body ul, .post-body ol { color: var(--mai-text-soft); padding-left: 1.4rem; }
.post-body li + li { margin-top: .4rem; }
.post-body a { color: var(--mai-brand); }
.post-body strong { color: var(--mai-text); }
.post-body img { max-width: 100%; height: auto; border-radius: 12px; }

.post-body blockquote {
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--mai-brand);
    background: var(--mai-brand-soft);
    border-radius: 0 12px 12px 0;
    color: var(--mai-text);
}

.post-body pre {
    padding: 1rem;
    border-radius: 12px;
    background: #151933;
    color: #cfd4e6;
    overflow-x: auto;
}

.post-body table { width: 100%; border-collapse: collapse; }
.post-body th, .post-body td { padding: .6rem .75rem; border-bottom: 1px solid var(--mai-border); text-align: left; }

.related-list { list-style: none; padding: 0; margin: 0; }

.related-list li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem 1rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--mai-border);
}

.related-list li:last-child { border-bottom: none; }
.related-list a { color: var(--mai-text); text-decoration: none; font-weight: 600; }
.related-list a:hover { color: var(--mai-brand); }

/* ---------- Köszönőoldal / jogi oldalak ------------------------------- */

.thanks-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mai-brand), var(--mai-brand-2-bright));
    color: #fff;
    font-size: 2.4rem;
}

.legal-page h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 .9rem;
    scroll-margin-top: calc(var(--mai-nav-h) + 20px);
}

.legal-page p { color: var(--mai-text-soft); line-height: 1.75; }
.legal-page ul { color: var(--mai-text-soft); line-height: 1.75; padding-left: 1.3rem; }
.legal-page li + li { margin-top: .35rem; }

.legal-effective {
    display: inline-block;
    padding: .3rem .8rem;
    margin-bottom: 1.25rem;
    border-radius: 999px;
    background: var(--mai-brand-soft);
    color: var(--mai-text) !important;
    font-size: .85rem;
}

.legal-review-note { font-size: .92rem; }

/* Tartalomjegyzék hosszú dokumentumhoz. */
.legal-toc {
    margin: 2rem 0 2.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--mai-surface);
    border: 1px solid var(--mai-border);
    border-radius: var(--mai-radius);
    box-shadow: var(--mai-shadow);
}

.legal-toc ol {
    margin: 0;
    padding-left: 1.1rem;
    columns: 2;
    column-gap: 2rem;
}

.legal-toc li { margin-bottom: .4rem; break-inside: avoid; }
.legal-toc a { color: var(--mai-brand); text-decoration: none; font-size: .92rem; }
.legal-toc a:hover { text-decoration: underline; }

.legal-section {
    padding: 1.75rem;
    margin-bottom: 1rem;
    background: var(--mai-surface);
    border: 1px solid var(--mai-border);
    border-radius: var(--mai-radius);
    box-shadow: var(--mai-shadow);
}

/* Kiemelt állítás: ide kerül a "harmadik félnek nem adjuk ki" típusú vállalás. */
.legal-note {
    padding: .9rem 1.1rem;
    border-left: 3px solid var(--mai-brand);
    background: var(--mai-brand-soft);
    border-radius: 0 10px 10px 0;
    color: var(--mai-text) !important;
    font-weight: 600;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: .5rem 0 1rem;
    font-size: .92rem;
}

.legal-table th,
.legal-table td {
    padding: .6rem .75rem;
    border-bottom: 1px solid var(--mai-border);
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    background: var(--mai-bg-alt);
    font-weight: 700;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--mai-text-soft);
}

.legal-table td { color: var(--mai-text-soft); }
.legal-table tr:last-child td { border-bottom: none; }

@media (max-width: 767.98px) {
    .legal-toc ol { columns: 1; }
    .legal-section { padding: 1.25rem; }
}

/* ---------- Footer ---------------------------------------------------- */

.site-footer {
    background: var(--mai-footer-bg);
    color: var(--mai-footer-text);
}

.site-footer .text-soft { color: #9aa2c2; }

.footer-title {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #9aa2c2;
    margin-bottom: 1rem;
}

/* Közösségi ikonok a footerben. */
.social-list {
    display: flex;
    gap: .55rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    color: var(--mai-footer-text);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.social-link:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* Márkaszínek hoverre, hogy felismerhetők legyenek. */
.social-facebook:hover { background: #1877f2; border-color: #1877f2; }
.social-instagram:hover { background: linear-gradient(45deg, #f09433, #dc2743 45%, #bc1888); border-color: #dc2743; }
.social-tiktok:hover { background: #000; border-color: #25f4ee; }
.social-linkedin:hover { background: #0a66c2; border-color: #0a66c2; }
.social-youtube:hover { background: #ff0000; border-color: #ff0000; }

.footer-list li { margin-bottom: .5rem; }
.footer-list a { color: var(--mai-footer-text); text-decoration: none; font-size: .93rem; }
.footer-list a:hover { color: #fff; }
.footer-divider { border-color: rgba(255, 255, 255, .14); opacity: 1; margin: 2.5rem 0 1.5rem; }

/* ---------- Reszponzív finomítás -------------------------------------- */

@media (max-width: 991.98px) {
    .site-nav .navbar-collapse {
        background: var(--mai-surface);
        border: 1px solid var(--mai-border);
        border-radius: var(--mai-radius);
        margin-top: .75rem;
        padding: 1rem;
        box-shadow: var(--mai-shadow-lg);
    }

    .hero { padding-top: calc(var(--mai-nav-h) + 40px); }
    .section { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .service-card { transition: none; }
}

/* ---------------------------------------------------------------- iparági oldalak */

.industry-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    background: var(--mai-surface);
    border: 1px solid var(--mai-border);
    border-radius: var(--mai-radius);
    box-shadow: var(--mai-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.industry-card:hover { transform: translateY(-4px); box-shadow: var(--mai-shadow-lg); }

.industry-card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: .6rem; }
.industry-card-title a { color: var(--mai-text); text-decoration: none; }
.industry-card-title a:hover { color: var(--mai-brand); }

.industry-card-lead {
    color: var(--mai-text-soft);
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.industry-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    font-size: .9rem;
}

.industry-card-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: .4rem;
    color: var(--mai-text-soft);
}

.industry-card-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--mai-brand-2);
}

.industry-pain {
    padding: 1.5rem;
    background: var(--mai-surface-2);
    border: 1px solid var(--mai-border);
    border-radius: var(--mai-radius);
}

.industry-pain-list { list-style: none; padding: 0; margin: 0; }

.industry-pain-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: .8rem;
    line-height: 1.6;
}

.industry-pain-list li:last-child { margin-bottom: 0; }

.industry-pain-list li::before {
    content: "!";
    position: absolute;
    left: 0;
    top: 0;
    width: 1.1rem;
    height: 1.1rem;
    line-height: 1.1rem;
    text-align: center;
    font-size: .75rem;
    font-weight: 700;
    color: #fff;
    background: var(--mai-brand);
    border-radius: 50%;
}



.industry-step {
    display: flex;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--mai-border);
}

.industry-step:last-of-type { border-bottom: 0; }

.industry-step-num {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: -.01em;
    color: #fff;
    background: linear-gradient(135deg, var(--mai-brand), var(--mai-brand-2-bright));
    border-radius: 12px;
    box-shadow: 0 6px 14px -8px var(--mai-brand-glow);
}

.industry-step-title {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.01em;
    color: var(--mai-text);
    margin-bottom: .35rem;
}

.text-accent { color: var(--mai-brand-2); }

/* ---------------------------------------------------------------- eszközsáv */

.tools-strip {
    padding: 1.75rem 0;
    border-top: 1px solid var(--mai-border);
    border-bottom: 1px solid var(--mai-border);
    background: var(--mai-veil);
}

.tools-label {
    margin: 0 0 .75rem;
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mai-text-soft);
    text-align: center;
}

.tools-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem 1.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tools-list li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    font-size: .95rem;
    color: var(--mai-text-soft);
    /* Itt korábban `opacity: .85` állt. Az áttetszőség a szöveget a háttér felé
       húzza: a #545a72 ettől ténylegesen #6b7186 lett, és a kontraszt 6,13:1-ről
       4,36:1-re esett, tehát a 4,5:1-es küszöb alá. A halványabb hatást a
       színnel érjük el, nem áttetszőséggel, mert azt a kontraszt is követi. */
    transition: color .18s ease;
}

.tools-list li:hover {
    color: var(--mai-text);
}

/* Beágyazott márkajel. Szándékosan egyszínű: tíz különböző márkaszín egymás
   mellett tarka lenne, és elvonná a figyelmet a saját színeinkről. A currentColor
   miatt a jel a névvel együtt sötétedik rámutatáskor. */
.tools-mark {
    width: 1.25rem;
    height: 1.25rem;
    flex: none;
    fill: currentColor;
}

/* Kezdőbetű annak az eszköznek, amihez még nincs jelünk. Nem tökéletes, de
   egy vonalban tartja a sávot: minden tétel ugyanakkora jellel indul. */
.tools-monogram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    flex: none;
    border: 1px solid currentColor;
    border-radius: 5px;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1;
}

/* Hivatalos logófájl a images/tools/ mappából. Ilyenkor a fájl viszi a nevet
   is, ezért nem írjuk ki külön.

   A magasság szándékosan kisebb, mint a fenti jeleké: egy teljes logó szélesebb
   és „hangosabb", 1.9rem magasan agyonverné a szomszédait. Ha egy logó mégis
   kilóg a sorból, itt az egyetlen szám, amit hangolni kell. */
.tools-list li img {
    display: block;
    width: auto;
    height: 1.45rem;
    max-width: 7rem;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .7;
    transition: filter .18s ease, opacity .18s ease;
}

.tools-list li:hover img {
    filter: grayscale(0);
    opacity: 1;
}

@media (max-width: 575.98px) {
    .tools-list {
        gap: .5rem 1.1rem;
    }

    .tools-list li {
        font-size: .85rem;
        gap: .35rem;
    }

    .tools-list li img { height: 1.2rem; max-width: 5.5rem; }

    .tools-mark,
    .tools-monogram { width: 1.05rem; height: 1.05rem; }

    .tools-monogram { font-size: .6rem; }
}

/* ---------------------------------------------------------------- csomagárak */

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
    background: var(--mai-surface);
    border: 1px solid var(--mai-border);
    border-radius: var(--mai-radius);
    box-shadow: var(--mai-shadow);
}

.price-card-featured {
    border-color: var(--mai-brand);
    box-shadow: var(--mai-shadow-lg);
}

.price-badge {
    position: absolute;
    top: -.75rem;
    left: 1.75rem;
    padding: .2rem .7rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--mai-brand), var(--mai-brand-2-bright));
    border-radius: 999px;
}

.price-name { font-size: 1.15rem; font-weight: 700; margin-bottom: .25rem; }
.price-for { font-size: .9rem; color: var(--mai-text-soft); margin-bottom: 1.25rem; }

.price-value { margin-bottom: .35rem; }
.price-amount { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.price-custom { font-size: 1.5rem; font-weight: 800; }

.price-unit {
    display: block;
    font-size: .8rem;
    color: var(--mai-text-soft);
}

.price-monthly {
    font-size: .88rem;
    color: var(--mai-brand-2);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.price-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    font-size: .92rem;
}

.price-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: .55rem;
    line-height: 1.5;
}

.price-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--mai-brand-2);
    font-weight: 700;
}

.price-note {
    margin: 1.75rem auto 0;
    max-width: 760px;
    font-size: .82rem;
    line-height: 1.6;
    color: var(--mai-text-soft);
    text-align: center;
}

/* ---------------------------------------------------------------- vállalások */

.guarantee-card {
    padding: 1.5rem;
    background: var(--mai-surface);
    border: 1px solid var(--mai-border);
    border-radius: var(--mai-radius);
    box-shadow: var(--mai-shadow);
}

.guarantee-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: .9rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--mai-brand), var(--mai-brand-2-bright));
    border-radius: 10px;
}

.guarantee-title { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }

.guarantee-text {
    font-size: .9rem;
    line-height: 1.6;
    color: var(--mai-text-soft);
    text-align: justify;
    hyphens: auto;
}

/* ---------------------------------------------------------------- referenciák */

.testimonial-card,
.case-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    background: var(--mai-surface);
    border: 1px solid var(--mai-border);
    border-radius: var(--mai-radius);
    box-shadow: var(--mai-shadow);
    margin: 0;
}

.testimonial-quote {
    position: relative;
    margin: 0 0 1.25rem;
    padding-top: 1.5rem;
    font-size: .98rem;
    line-height: 1.7;
    text-align: justify;
    hyphens: auto;
}

.testimonial-quote::before {
    content: "\201E";
    position: absolute;
    top: -.4rem;
    left: -.2rem;
    font-size: 3rem;
    line-height: 1;
    color: var(--mai-brand);
    opacity: .3;
}

.testimonial-author { margin-top: auto; font-size: .88rem; }
.testimonial-author span { display: block; color: var(--mai-text-soft); }

.case-line { font-size: .92rem; line-height: 1.6; margin-bottom: .6rem; }

.case-results {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--mai-border);
}

.case-value { display: block; font-size: 1.5rem; font-weight: 800; color: var(--mai-brand-2); }
.case-label { font-size: .8rem; color: var(--mai-text-soft); }

/* ---------------------------------------------------------------- iparági belépő */

.industry-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.industry-chips a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1.15rem;
    background: var(--mai-surface);
    border: 1px solid var(--mai-border);
    border-radius: 999px;
    color: var(--mai-text);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    box-shadow: var(--mai-shadow);
    transition: transform .18s ease, border-color .18s ease, color .18s ease;
}

.industry-chips a span { color: var(--mai-brand); transition: transform .18s ease; }

.industry-chips a:hover,
.industry-chips a:focus {
    transform: translateY(-2px);
    border-color: var(--mai-brand);
    color: var(--mai-brand);
}

.industry-chips a:hover span { transform: translateX(3px); }

/* ---------------------------------------------------------------- iparági oldal feje */

.industry-hero {
    padding: 3.5rem 0 2.5rem;
    background: var(--mai-veil);
    border-bottom: 1px solid var(--mai-border);
}

.industry-hero-title {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
    margin: .35rem 0 1rem;
}

/* A törzsoldalon a bal oszlop kártyái ne tapadjanak a jobb oszlop lépéseihez. */
.industry-step:first-of-type { padding-top: 0; }

/* Az „egyéb szakmák” lista balra zár, nem középre, mert szövegoszlopban áll. */
.industry-chips-start { justify-content: flex-start; }

@media (max-width: 991.98px) {
    .industry-hero { padding: 2.5rem 0 2rem; }
}

/* --------------------------------------------------- iparági oldal: számsáv és törzs */

/* A három szám egy sorban, teljes szélességben. Oldalt, egymás alatt aránytalanul
   megnyújtotta a bal hasábot, és a jobb oldal alja üresen maradt. */
/* A számsáv magyarázattal. Puszta számok félrevezetők: nem derül ki, hogy a
   befektetés egyszeri, a megtakarítás pedig havonta ismétlődik. */
.industry-numbers-block { margin-bottom: 2.5rem; }

.industry-numbers-title {
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 1.2rem;
    text-wrap: balance;
}

.industry-numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--mai-border);
    border: 1px solid var(--mai-border);
    border-radius: var(--mai-radius);
    overflow: hidden;
    box-shadow: var(--mai-shadow);
}

.industry-numbers > div {
    padding: 1.4rem 1.6rem;
    background: var(--mai-surface);
}

.industry-number-label {
    display: block;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--mai-text-soft);
    margin-bottom: .3rem;
}

.industry-number-value {
    display: block;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
}

/* Egy sor magyarázat a szám alatt: enélkül a látogatónak találgatnia kell. */
.industry-number-note {
    display: block;
    margin-top: .45rem;
    font-size: .82rem;
    line-height: 1.45;
    color: var(--mai-text-soft);
}

/* A két hasáb egyforma magas: a fájdalomkártya kitölti a rendelkezésre álló helyet. */
.industry-body { align-items: stretch; }

/* A lábjegyzet közvetlenül a számok alatt áll, nem az oldal alján: a csillagot
   ott kell feloldani, ahol a látogató találkozik vele. */
.industry-footnote {
    margin: .9rem 0 0;
    font-size: .82rem;
    color: var(--mai-text-soft);
}

/* Szűk hasábban az elválasztás túl sok szótördelést adna, ott inkább balra zárunk. */
@media (max-width: 1199.98px) {
    .industry-step p { text-align: left; hyphens: manual; }
}

@media (max-width: 767.98px) {
    .industry-numbers { grid-template-columns: 1fr; }
    .industry-numbers > div { padding: 1.1rem 1.3rem; }
}

/* A címeknél a böngésző ossza el a szavakat a sorok között. Enélkül gyakran
   egyetlen szó marad a második soron, ami törtnek és rendezetlennek látszik. */
.section-title,
.hero-title,
.post-title,
.cta-title,
.model-title,
.industry-hero-title,
.industry-step-title,
.price-name {
    text-wrap: balance;
}

/* ==========================================================================
   Rólam szekció
   Az arc a név mögött. A bal hasáb a fénykép és a számok, a jobb a szöveg.
   ========================================================================== */

.founder-card {
    background: var(--mai-surface);
    border: 1px solid var(--mai-border);
    border-radius: var(--mai-radius);
    box-shadow: var(--mai-shadow);
    overflow: hidden;
    text-align: center;
}

/* A kép a kártya teljes szélességét kitölti, álló arányban: ez ad jelenlétet.
   A forráskép bármilyen alakú lehet, a cover levágja a felesleget.
   A height: auto szándékos, mert a HTML magasság attribútuma egyébként
   felülírná az arányt, és nyújtott képet kapnánk. */
.founder-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    object-position: center top;
}

/* Tartalék, amíg nincs fénykép: monogram a márkaszínek átmenetében,
   ugyanabban az álló arányban, hogy az elrendezés ne ugorjon a kép feltöltésekor. */
.founder-monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 2 / 3;
    background: linear-gradient(135deg, var(--mai-brand), var(--mai-brand-2-bright));
    color: #fff;
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: .05em;
}

.founder-card-body { padding: 1.3rem 1.4rem 1.5rem; }

.founder-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: .2rem;
}

.founder-role {
    font-size: .9rem;
    color: var(--mai-text-soft);
    margin-bottom: 1.2rem;
}

.founder-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--mai-border);
}

.founder-fact-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--mai-brand);
}

.founder-fact-label {
    display: block;
    font-size: .75rem;
    line-height: 1.3;
    color: var(--mai-text-soft);
}

.founder-link {
    display: inline-block;
    margin-top: 1.1rem;
    font-size: .85rem;
    font-weight: 600;
}

.founder-title { margin-bottom: 1.1rem; }

/* A nyitómondat nagyobb, ez a szekció legerősebb sora. */
.founder-lead {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 1.3rem;
}

.founder-text {
    line-height: 1.75;
    color: var(--mai-text-soft);
    margin-bottom: 1rem;
}

.founder-subtitle {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 1.8rem 0 .9rem;
}

.founder-beliefs {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem;
}

.founder-beliefs li {
    position: relative;
    padding-left: 1.7rem;
    margin-bottom: .7rem;
    line-height: 1.7;
    color: var(--mai-text-soft);
}

.founder-beliefs li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--mai-brand);
}

/* Aláírás hatású zárómondat: ez viszi át az olvasót a foglalásra. */
.founder-signature {
    border-left: 3px solid var(--mai-brand);
    background: var(--mai-surface-2);
    border-radius: 0 var(--mai-radius) var(--mai-radius) 0;
    padding: 1.1rem 1.3rem;
    margin: 0 0 1.5rem;
}

.founder-signature p {
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: .5rem;
}

.founder-signature cite {
    font-style: normal;
    font-weight: 700;
    font-size: .9rem;
}

/* A gomb mellé a telefon: aki most akar beszélni, ne kelljen űrlapot kitöltenie. */
.founder-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .8rem 1.4rem;
}

.founder-phone {
    font-weight: 600;
    white-space: nowrap;
}

/* Nagy képernyőn a névjegy együtt gördül a szöveggel, így végig látszik az arc. */
@media (min-width: 992px) {
    .founder-card { position: sticky; top: 6rem; }
}

@media (max-width: 991.98px) {
    /* Telefonon az álló kép különben fél képernyőt elvinne, ezért fogjuk vissza. */
    .founder-card { max-width: 22rem; margin: 0 auto; }
    .founder-lead { font-size: 1.1rem; }
}

/* Szűk hasábban az elválasztás túl sok szótördelést adna. */
@media (max-width: 1199.98px) {
    .founder-text,
    .founder-beliefs li { text-align: left; hyphens: manual; }
}

/* Kiemelt CTA sáv. A megjelenést a .service-hero adja, itt csak a két gomb
   egymás melletti elrendezését és a szűk képernyős törést kezeljük. */
.cta-featured .service-hero-side {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

@media (max-width: 575.98px) {
    .cta-featured .service-hero-side .btn { width: 100%; }
}
