@charset "UTF-8";

/*
 * Vendéglátós leszek – közös stíluslap.
 * A szabályok sorrendje szándékos: alapok, komponensek, mobilnézet,
 * majd a második látványterv pontosításai és azok mobilváltozatai.
 * Az azonos szelektorok későbbi szabályai felülírhatják a korábbiakat.
 * Fizetési működést CSS nem vezérel; a checkout-* szabályok csak a felületet adják.
 */

/* 01. Arculati színek és közös változók */
:root {
    --green: #007f60;
    --dark: #052e25;
    --ink: #121514;
    --muted: #565b59;
    --mint: #edf6f2;
    --soft: #f3f5f5;
    --line: #dce5e0;
}

/* 02. Alapbeállítások és tipográfia */
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.4;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
}
button {
    font: inherit;
}
h1,
h2,
h3,
p {
    margin: 0;
}
h1,
h2 {
    letter-spacing: -0.045em;
    line-height: 1.04;
}
h1 {
    font-size: clamp(42px, 5.6vw, 76px);
    font-weight: 800;
}
h2 {
    font-size: clamp(30px, 3.1vw, 43px);
}
h3 {
    font-size: 20px;
    line-height: 1.18;
}
p {
    margin: 10px 0 16px;
}
ul {
    padding-left: 20px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid #d49327;
    outline-offset: 5px;
}

/* 03. Közös hasábszélesség és fejléc */
.container {
    width: min(1240px, 92%);
    margin-inline: auto;
}
.site-header {
    background: linear-gradient(100deg, #f6f8f7, #fff);
    border-bottom: 1px solid #f0f2f1;
    position: relative;
    z-index: 10;
}
.header-inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    gap: 32px;
    justify-content: space-between;
}
.brand {
    width: 76px;
    flex-shrink: 0;
}
.brand img {
    width: 76px;
    height: 57px;
    object-fit: contain;
}
.header-inner nav {
    display: flex;
    gap: 29px;
    align-items: center;
}
.header-inner nav > a:not(.button) {
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
    padding: 12px 0;
    position: relative;
}
.header-inner nav > a[aria-current="page"]:after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--green);
}

/* 04. Gombok és billentyűzetes navigáció */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 12px 27px;
    border-radius: 40px;
    background: linear-gradient(100deg, #008267, #007454);
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    line-height: 1.25;
    border: 1px solid transparent;
    transition:
        background 0.18s,
        transform 0.18s;
}
.button:hover {
    background: #005b44;
    transform: translateY(-1px);
}
.button span {
    font-size: 25px;
    line-height: 1;
}
.header-cta .button {
    white-space: nowrap;
    font-size: 18px;
    padding: 11px 23px;
}
.menu-toggle,
.nav-mobile-cta {
    display: none !important;
}
.skip-link {
    position: absolute;
    top: -100px;
    background: white;
    padding: 15px;
    z-index: 30;
}
.skip-link:focus {
    top: 8px;
}

/* 05. Kezdőlapi nyitószakasz és portrékivágás */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(110deg, #fff 35%, #f5fbf9 60%, #bbe8ed);
    min-height: 510px;
}
.hero-inner {
    min-height: 510px;
    position: relative;
    padding-block: 33px 20px;
}
.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 740px;
}
.hero h1 {
    font-size: clamp(42px, 5.1vw, 70px);
    color: #050706;
    line-height: 1.02;
}
.hero-copy > p {
    font-size: 25px;
    line-height: 1.15;
    margin: 17px 0;
}
.hero-visual {
    position: absolute;
    right: 0;
    top: 0;
    width: 49%;
    height: 100%;
}
.hero-visual:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.7) 10%, transparent 36%);
}
.portrait {
    position: relative;
    overflow: hidden;
    border-radius: 13px;
    aspect-ratio: 551/723;
    background: #d9eeec;
}
/* Önálló fotó: aránytartó kitöltés, a felső képrész megtartásával. */
.portrait img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center top;
}
.hero-visual .portrait {
    width: 100%;
    height: 100%;
    border-radius: 0;
    aspect-ratio: auto;
}
.handwriting {
    font-family: "Segoe Print", "Bradley Hand", cursive;
    font-style: italic;
    color: var(--green);
    font-size: 29px;
    line-height: 1.35;
}
.hero-note {
    position: absolute;
    left: 53%;
    top: 25px;
    z-index: 3;
    transform: rotate(-9deg);
    font-size: 23px;
    color: #152722;
    text-align: center;
}

/* 06. Rövid előnyök a nyitószakasz alatt */
.trust-list {
    list-style: none;
    display: flex;
    gap: 22px;
    align-items: center;
    padding: 0;
    margin: 23px 0 0;
    font-size: 14px;
}
.trust-list li {
    display: flex;
    align-items: center;
    gap: 7px;
}
.trust-list span {
    display: inline-grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border: 2px solid var(--green);
    border-radius: 50%;
    color: var(--green);
    font-size: 18px;
    font-weight: bold;
}
.trust-list li:first-child span {
    background: var(--green);
    color: white;
}

/* 07. Gyakorlati oktatás és filmkockás képrészlet */
.section-space {
    padding-block: 26px;
}
.practice {
    display: grid;
    grid-template-columns: 46% 1fr;
    gap: 28px;
    align-items: center;
}
.film {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 9px;
    background: #171717;
}
/* Önálló oktatási kép: teljes szélesség, természetes képarány, kivágás nélkül. */
.film img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}
.lead {
    font-size: 21px;
    line-height: 1.3;
}
.practice .lead {
    margin: 7px 0 9px;
}
.check-list {
    background: var(--soft);
    padding: 13px 20px;
    list-style: none;
    border-radius: 14px;
    margin: 0;
    font-size: 20px;
    line-height: 1.45;
}
.check-list li {
    position: relative;
    padding-left: 32px;
}
.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 5px;
    border-radius: 50%;
    width: 21px;
    height: 21px;
    background: var(--green);
    color: white;
    text-align: center;
    font-size: 16px;
    line-height: 21px;
}

/* 08. Online tanulási előnyök */
.online-band,
.experience-band {
    background: linear-gradient(115deg, #f0f3f3, #f7f8f9);
    padding: 24px 0;
}
.online-layout {
    display: grid;
    grid-template-columns: 43% 1fr;
    gap: 30px;
    align-items: center;
}
.online-layout p {
    font-size: 16px;
    color: #454a47;
    line-height: 1.3;
    margin: 8px 0;
}
.online-layout p.intro {
    font-size: 18px;
    color: var(--ink);
}
.online-layout .button {
    font-size: 17px;
    padding: 10px 23px;
}
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
}
.benefit {
    background: white;
    text-align: center;
    padding: 16px 12px;
    border-radius: 10px;
}
.icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    color: var(--green);
}
.icon-disc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--mint);
    margin-bottom: 12px;
}
.benefit h3 {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 500;
}
.benefit p {
    font-size: 14px;
    color: #555;
    margin-bottom: 0;
}
.section-heading {
    text-align: center;
    margin-bottom: 20px;
}
.section-heading > p {
    font-size: 20px;
    line-height: 1.3;
    margin: 9px auto 0;
    max-width: 1030px;
}

/* 09. Témakörök és karriertámogatás */
.modules-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    max-width: 1040px;
    margin: 0 auto;
}
.module-list {
    list-style: none;
    counter-reset: modules;
    margin: 0;
    padding: 0 25px 0 20px;
    border-right: 1px solid #bfd2c9;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 7px;
}
.module-list li {
    counter-increment: modules;
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 21px;
    line-height: 1.3;
}
.module-list li:before {
    content: counter(modules);
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--green);
    border: 2px solid var(--green);
    border-radius: 50%;
    font-weight: bold;
}
.career-card {
    background: linear-gradient(115deg, #eff7f2, #f5faf7);
    padding: 18px 22px;
    display: flex;
    gap: 24px;
    border-radius: 15px;
}
.career-card .icon {
    width: 58px;
    height: 58px;
}
.career-card h3 {
    color: var(--green);
}
.career-card p,
.career-card ul {
    font-size: 15px;
    line-height: 1.25;
    color: #4a504d;
    margin: 6px 0 0;
}
.career-card li::marker {
    color: var(--green);
}

/* 10. Munkakörhivatkozások */
.jobs-title {
    text-align: center;
    font-size: 22px;
    margin: 17px 0 10px;
    font-weight: 500;
}
.job-chips {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.job-chips a {
    display: flex;
    align-items: center;
    gap: 23px;
    background: #f4f5f6;
    border-radius: 8px;
    padding: 12px 28px;
    text-decoration: none;
    font-size: 17px;
    min-width: 240px;
    line-height: 1.2;
}
.job-chips a:hover {
    background: var(--mint);
}

/* 11. Ár- és jelentkezési sáv – az összeget a PHP-sablon adja */
.price-banner {
    position: relative;
    background: linear-gradient(110deg, #b6eeec, #d4f6f9 48%, #80d9e3);
    padding: 22px 0;
    overflow: hidden;
}
.price-banner:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(176deg, transparent 50%, #ffffff9c 51%, #fff8e6 70%, #f4ead6);
    opacity: 0.65;
}
.price-layout {
    position: relative;
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: center;
}
.price-layout > div:first-child {
    flex: 1;
    max-width: 600px;
}
.price-layout p {
    font-size: 23px;
    line-height: 1.15;
    margin-bottom: 0;
}
.price-box {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 20px;
    padding: 10px 25px 15px;
    min-width: 340px;
    text-align: center;
}
.price-box > span {
    font-size: 14px;
}
.price-box > strong {
    display: block;
    font-size: 43px;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}
.price-box .button {
    font-size: 18px;
}
.price-details {
    display: flex;
    gap: 12px;
    justify-content: center;
    font-size: 10px;
    margin-top: 9px;
}

/* 12. Közös lábléc */
.site-footer {
    border-top: 1px solid #edf1ee;
    padding: 24px 0;
    color: #69746e;
    font-size: 13px;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.footer-inner > a {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--dark);
    font-weight: bold;
}
.footer-inner p {
    margin: 0;
}

/* 13. Rólam oldal és tapasztalati kártyák */
.about-layout {
    display: grid;
    grid-template-columns: 44.5% 1fr;
    gap: 34px;
    align-items: start;
    padding-block: 30px;
}
.about-copy h1 {
    font-size: 80px;
    color: #02291e;
    margin: 8px 0 12px;
}
.about-copy > .handwriting {
    margin: 0;
    font-size: 27px;
}
.about-copy > p:not(.handwriting) {
    font-size: 19px;
    line-height: 1.45;
    margin: 12px 0 18px;
}
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
    margin-block: 18px;
}
.stats > div {
    border-radius: 12px;
    background: var(--mint);
    padding: 18px 6px;
    text-align: center;
}
.stats .icon {
    display: block;
    margin: 0 auto 8px;
}
.stats strong {
    display: block;
    font-size: 46px;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--dark);
}
.stats span {
    display: block;
    font-size: 19px;
    line-height: 1.2;
    margin-top: 6px;
}
.mission {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 18px;
    background: var(--mint);
    border-radius: 12px;
}
.mission .icon {
    width: 53px;
    height: 53px;
}
.mission p {
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
}
.experience-band {
    padding: 30px 0 35px;
}
.experience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.experience-grid article {
    display: flex;
    align-items: center;
    gap: 18px;
    background: white;
    border-radius: 13px;
    padding: 25px 20px;
}
.experience-grid h3 {
    font-size: 17px;
}
.experience-grid p {
    font-size: 15px;
    margin: 7px 0 0;
}
.experience-grid .icon {
    width: 47px;
    height: 47px;
}

/* 14. Általános belső oldalak és részletező elemek */
.subpage {
    padding-block: 65px;
    min-height: 65vh;
}
.subpage .section-heading {
    margin-bottom: 40px;
}
.subpage h1 {
    margin: 10px 0 20px;
}
.eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 13px;
    color: var(--green);
    font-weight: bold;
}
.syllabus {
    max-width: 900px;
    margin: 45px auto 18px;
}
.syllabus details {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
}
.syllabus summary {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-size: 22px;
    font-weight: bold;
    list-style: none;
}
.syllabus summary::-webkit-details-marker {
    display: none;
}
.syllabus details[open] summary span {
    transform: rotate(45deg);
}
.syllabus details p {
    font-size: 18px;
    max-width: 760px;
    color: var(--muted);
}
.muted {
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}
.reading {
    max-width: 820px;
    margin: 45px auto 0;
}
.reading h2 {
    font-size: 30px;
    margin-top: 30px;
}
.reading p {
    font-size: 19px;
    color: #48534c;
}
.subpage > .benefit-grid .benefit {
    background: var(--mint);
    padding: 30px;
}
.job-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.job-grid article {
    padding: 30px;
    background: var(--mint);
    border-radius: 16px;
}
.job-grid h2 {
    font-size: 28px;
    margin-top: 16px;
}
.job-grid p {
    font-size: 18px;
    color: #48534c;
    margin-bottom: 0;
}
.text-link {
    color: var(--green);
    font-weight: bold;
}

/* 15. Az első változat jelentkezési komponensei; megőrzött alapstílusok */
.enrollment {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 70px;
    align-items: center;
}
.enrollment .check-list {
    margin-top: 30px;
    font-size: 18px;
}
.enrollment-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 15px 60px #052e250d;
}
.large-price {
    display: block;
    font-size: 58px;
    letter-spacing: -0.04em;
    color: var(--dark);
    margin-top: 10px;
}
.status-note {
    background: var(--mint);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
}
.status-note p {
    font-size: 16px;
    margin: 8px 0 0;
}
.enrollment-card .button {
    width: 100%;
    font-size: 17px;
}
.error-page {
    text-align: center;
}
.error-page .button {
    margin-top: 20px;
}

/* 16. Nagy képernyős finomhangolás */
@media (min-width: 1450px) {
    .hero-visual {
        width: 46%;
    }
    .hero-note {
        left: 56%;
    }
}

/* 17. Közepes asztali nézet */
@media (max-width: 1150px) {
    .header-inner {
        gap: 20px;
    }
    .header-inner nav {
        gap: 19px;
    }
    .header-inner nav > a:not(.button) {
        font-size: 14px;
    }
    .header-cta .button {
        font-size: 16px;
        padding: 10px 17px;
    }
    .hero h1 {
        font-size: 58px;
    }
    .hero-note {
        left: 55%;
        font-size: 19px;
    }
    .trust-list {
        gap: 13px;
        font-size: 12px;
    }
    .online-layout {
        grid-template-columns: 1fr 1.2fr;
        gap: 20px;
    }
    .benefit {
        padding: 15px 8px;
    }
    .benefit h3 {
        font-size: 14px;
    }
    .about-copy > p:not(.handwriting) {
        font-size: 17px;
    }
    .stats strong {
        font-size: 38px;
    }
    .stats span {
        font-size: 17px;
    }
    .mission p {
        font-size: 16px;
    }
    .about-copy h1 {
        font-size: 65px;
    }
    .experience-grid article {
        padding: 20px 12px;
        gap: 12px;
    }
    .experience-grid .icon {
        width: 35px;
        height: 35px;
    }
    .check-list {
        font-size: 17px;
    }
    .career-card {
        gap: 15px;
    }
}

/* 18. Táblagépes nézet és mobilmenü */
@media (max-width: 1020px) {
    .header-inner {
        min-height: 72px;
    }
    .brand {
        margin-right: auto;
    }
    .menu-toggle {
        display: flex !important;
        align-items: center;
        gap: 7px;
        background: white;
        border: 1px solid var(--line);
        padding: 9px 14px;
        border-radius: 7px;
        color: var(--dark);
        cursor: pointer;
    }
    .header-inner nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 14px 20px #1232;
        padding: 20px 4%;
        flex-direction: column;
        gap: 5px;
        align-items: stretch;
    }
    .header-inner nav.is-open {
        display: flex;
    }
    .header-inner nav > a:not(.button) {
        font-size: 18px;
    }
    .header-inner nav > a[aria-current="page"]:after {
        right: auto;
        width: 36px;
    }
    .nav-mobile-cta {
        display: flex !important;
        margin-top: 12px;
    }
    .header-cta {
        display: none;
    }
    .hero h1 {
        font-size: 51px;
    }
    .hero-note {
        display: none;
    }
    .hero-copy > p {
        font-size: 21px;
    }
    .hero,
    .hero-inner {
        min-height: 460px;
    }
    .hero-visual {
        width: 50%;
    }
    .trust-list {
        flex-wrap: wrap;
        max-width: 490px;
    }
    .practice {
        gap: 20px;
    }
    .lead {
        font-size: 18px;
    }
    .online-layout {
        grid-template-columns: 1fr;
    }
    .online-layout .benefit-grid {
        margin-top: 8px;
    }
    .benefit h3 {
        font-size: 17px;
    }
    .benefit p {
        font-size: 15px;
    }
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-layout {
        gap: 24px;
        grid-template-columns: 40% 1fr;
    }
    .stats strong {
        font-size: 31px;
    }
    .stats span {
        font-size: 14px;
    }
    .stats .icon {
        width: 32px;
        height: 32px;
    }
    .stats > div {
        padding: 14px 4px;
    }
    .about-copy h1 {
        font-size: 56px;
    }
    .about-copy > .handwriting {
        font-size: 22px;
    }
    .mission {
        gap: 12px;
        padding: 14px;
    }
    .mission .icon {
        width: 35px;
        height: 35px;
    }
    .job-chips a {
        min-width: 0;
        flex: 1;
        padding: 12px 16px;
        font-size: 15px;
    }
    .job-chips {
        gap: 12px;
    }
    .price-layout {
        gap: 25px;
    }
    .price-layout h2 {
        font-size: 34px;
    }
    .price-layout p {
        font-size: 19px;
    }
    .enrollment {
        gap: 30px;
    }
    .enrollment-card {
        padding: 24px;
    }
}

/* 19. Mobil alapelrendezések */
@media (max-width: 700px) {
    .container {
        width: 90%;
    }
    .brand img {
        width: 65px;
        height: 48px;
    }
    .hero-inner {
        padding: 27px 0 25px;
        min-height: 0;
    }
    .hero {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }
    .hero-visual {
        position: relative;
        order: 2;
        width: 100%;
        height: 320px;
    }
    .hero-visual:after {
        background: linear-gradient(#fff, transparent 20%);
    }
    .hero h1 {
        font-size: clamp(37px, 8.4vw, 58px);
        line-height: 1.03;
    }
    .hero-copy > p {
        font-size: 20px;
    }
    .button {
        font-size: 18px;
        padding: 12px 24px;
    }
    .trust-list {
        font-size: 12px;
        gap: 12px;
        margin-top: 20px;
    }
    .trust-list li:last-child {
        flex-basis: 100%;
    }
    .practice {
        grid-template-columns: 1fr;
        padding-block: 28px;
    }
    .practice h2 {
        font-size: 35px;
    }
    .practice .lead {
        font-size: 18px;
        margin: 12px 0;
    }
    .check-list {
        font-size: 16px;
        padding: 16px 12px;
    }
    .check-list li {
        padding-left: 29px;
        margin: 3px 0;
    }
    .online-band {
        padding: 28px 0;
    }
    .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .benefit {
        padding: 20px 12px;
    }
    .section-heading > p {
        font-size: 18px;
    }
    .section-heading br {
        display: none;
    }
    .modules-layout {
        grid-template-columns: 1fr;
        gap: 23px;
    }
    .module-list {
        border-right: 0;
        padding: 0;
        gap: 12px;
    }
    .module-list li {
        font-size: 19px;
    }
    .career-card {
        padding: 22px 18px;
    }
    .career-card .icon {
        width: 46px;
        height: 46px;
    }
    .job-chips {
        flex-direction: column;
    }
    .job-chips a {
        font-size: 17px;
        padding: 14px 24px;
    }
    .jobs-title {
        font-size: 20px;
        margin-top: 26px;
    }
    .price-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
    }
    .price-layout h2 {
        font-size: 36px;
    }
    .price-box {
        min-width: 0;
        max-width: 430px;
        width: 100%;
        align-self: center;
    }
    .price-banner {
        padding: 30px 0;
    }
    .price-layout p {
        font-size: 21px;
    }
    .footer-inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }
    .footer-inner p {
        display: none;
    }
    .footer-inner small {
        flex-basis: 100%;
    }
    .about-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .about-layout > .portrait {
        aspect-ratio: 554/580;
        max-height: 520px;
    }
    .about-copy h1 {
        font-size: 64px;
    }
    .about-copy > .handwriting {
        font-size: 25px;
    }
    .about-copy > p:not(.handwriting) {
        font-size: 18px;
    }
    .stats strong {
        font-size: 35px;
    }
    .stats span {
        font-size: 15px;
    }
    .stats {
        gap: 9px;
    }
    .mission p {
        font-size: 17px;
    }
    .experience-grid {
        grid-template-columns: 1fr;
    }
    .experience-grid article {
        padding: 22px;
        gap: 22px;
    }
    .experience-grid .icon {
        width: 43px;
        height: 43px;
    }
    .experience-band h2 {
        font-size: 34px;
    }
    .subpage {
        padding-block: 38px;
    }
    .subpage h1 {
        font-size: 43px;
    }
    .subpage > .benefit-grid .benefit {
        padding: 23px 12px;
    }
    .job-grid,
    .enrollment {
        grid-template-columns: 1fr;
    }
    .job-grid {
        gap: 15px;
    }
    .reading {
        margin-top: 30px;
    }
    .reading p {
        font-size: 18px;
    }
    .large-price {
        font-size: 50px;
    }
    .enrollment-card {
        padding: 26px;
    }
    .syllabus summary {
        font-size: 19px;
    }
    .syllabus {
        margin-top: 25px;
    }
}

/* 20. Csökkentett mozgást kérő böngészőbeállítások */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}


/* 2. változat: hasábhoz igazított nyitókép, kurzus és jelentkezés. */

/* 21. Hasábhoz igazított nyitókép – a második változat pontosítása */
.hero.container {
    background: #fff;
    isolation: isolate;
}
.hero .hero-inner {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.hero .hero-visual {
    right: 0;
    width: 49%;
    overflow: hidden;
}
.hero .hero-note {
    left: 51%;
    font-size: 21px;
}
.hero-copy {
    max-width: 64%;
}
.hero h1 {
    font-size: clamp(40px, 4.8vw, 66px);
}

/* 22. Részletes kurzusoldal: bevezető, témakörök és ajánlat */
.course-page {
    padding-block: 34px 45px;
}
.course-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px;
    align-items: center;
}
.course-intro .handwriting {
    font-size: 24px;
    margin: 0 0 10px;
}
.course-intro h1 {
    font-size: 70px;
    margin-bottom: 10px;
}
.course-intro h2 {
    font-size: 29px;
    line-height: 1.2;
    letter-spacing: -0.025em;
}
.course-intro h2 em {
    font-style: normal;
    color: var(--green);
}
.course-intro p:not(.handwriting) {
    font-size: 18px;
    color: #414743;
    line-height: 1.4;
}
.course-promises {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-top: 25px;
}
.course-promises > span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    line-height: 1.25;
}
.course-promises .icon {
    width: 49px;
    height: 49px;
    background: #e3f3eb;
    border-radius: 50%;
    padding: 10px;
}
.course-media {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #123d2d;
}
/* Statikus bemutatókép, nem lejátszható videó. */
.coffee-preview {
    aspect-ratio: 458/289;
    background-image: url("../images/kurzus.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.media-caption {
    display: block;
    padding: 12px 18px;
    background: var(--dark);
    color: white;
    font-size: 13px;
    text-align: center;
}
.course-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 40px 0;
}
.course-facts article {
    display: flex;
    gap: 20px;
    padding: 24px 20px;
    background: #f1f8f5;
    border-radius: 12px;
}
.course-facts h3 {
    font-size: 21px;
    letter-spacing: -0.025em;
}
.course-facts p {
    font-size: 15px;
    color: #505752;
    margin: 7px 0 0;
}
.course-facts .icon {
    width: 44px;
    height: 44px;
}
.course-page > .section-heading h2 {
    font-size: 37px;
}
.course-page > .section-heading p {
    font-size: 18px;
}
.topic-list {
    display: grid;
    gap: 9px;
}
.topic-row {
    display: grid;
    grid-template-columns: 43% 1fr;
    align-items: center;
    background: linear-gradient(115deg, #f0f7f4, #f5f9f7);
    border-radius: 12px;
    padding: 19px 25px;
    gap: 34px;
}
.topic-label {
    display: grid;
    grid-template-columns: 42px 58px 1fr;
    gap: 25px;
    align-items: center;
    border-right: 1px solid #c8ded3;
    padding-right: 24px;
    height: 100%;
}
.topic-number {
    display: grid;
    place-items: center;
    background: #cceade;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 23px;
    font-weight: bold;
}
.topic-label .icon {
    width: 54px;
    height: 54px;
}
.topic-label h3 {
    font-size: 25px;
    letter-spacing: -0.035em;
}
.topic-label p {
    margin: 8px 0 0;
    font-size: 17px;
    color: #4c554e;
}
.topic-row ul {
    margin: 0;
    padding-left: 22px;
    font-size: 17px;
    line-height: 1.45;
    color: #434c46;
}
.topic-row li::marker {
    color: var(--green);
}
.course-bottom {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 15px;
    margin-top: 28px;
}
.certificate,
.course-offer {
    background: #f1f7f4;
    border-radius: 12px;
    padding: 25px;
}
.certificate {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}
.certificate > .icon {
    width: 65px;
    height: 65px;
}
.certificate h3 {
    font-size: 25px;
    letter-spacing: -0.035em;
}
.certificate p {
    font-size: 17px;
}
.certificate .certificate-note {
    font-size: 15px;
    font-style: italic;
    color: #5a615c;
    margin-bottom: 0;
}
.course-offer {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.course-offer > strong {
    font-size: 49px;
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}
.course-offer > .button {
    width: 100%;
    font-size: 20px;
    font-weight: bold;
}
.offer-meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    margin-top: 16px;
    align-items: center;
}
.offer-meta span:last-child {
    max-width: 90px;
}

/* 23. Jelentkezési oldal: űrlap, lépések és rendelésösszesítő */
.checkout-page {
    padding-block: 38px;
}
.checkout-heading h1 {
    font-size: 49px;
}
.checkout-heading p {
    font-size: 22px;
    margin: 7px 0 18px;
}
.checkout-preview-note {
    background: #fff9e9;
    border: 1px solid #eee0b6;
    padding: 12px 17px;
    border-radius: 9px;
    color: #605328;
    font-size: 14px;
    margin-bottom: 24px;
}
.checkout-layout {
    display: grid;
    grid-template-columns: 1.33fr 1fr;
    gap: 22px;
    align-items: start;
}
.checkout-layout > div,
.checkout-sidebar {
    min-width: 0;
}
.checkout-steps {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    gap: 12px;
    align-items: center;
    color: #7b818b;
    font-size: 14px;
}
.checkout-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    white-space: nowrap;
}
.checkout-steps li:not(:last-child):after {
    content: "";
    height: 1px;
    background: #aab1bb;
    min-width: 15px;
    flex: 1;
    margin-left: 4px;
}
.checkout-steps span {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e3e6e8;
    color: #313b48;
    font-weight: bold;
    flex-shrink: 0;
}
.checkout-steps [aria-current] {
    color: var(--green);
    font-weight: bold;
}
.checkout-steps [aria-current] span {
    color: white;
    background: var(--green);
}
.form-card {
    min-width: 0;
    border: 0;
    margin: 0 0 13px;
    padding: 22px 24px;
    border-radius: 12px;
    background: #f2f7f4;
}
.form-card h2 {
    font-size: 24px;
    letter-spacing: -0.035em;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.form-card h2 > .icon {
    width: 34px;
    height: 34px;
    margin-right: 5px;
}
.form-card h2 > span {
    color: var(--green);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px 16px;
}
.form-grid label {
    font-size: 14px;
    color: #313d35;
}
.form-grid .full {
    grid-column: 1/-1;
}
.required {
    color: #c52e32;
}
/* Űrlapmezők alapállapota. Szerveroldali hibákhoz később külön hibaosztály adható. */
.form-grid input,
.form-grid select {
    display: block;
    width: 100%;
    min-width: 0;
    border: 1px solid #d8dfe3;
    border-radius: 5px;
    background: #fff;
    padding: 11px 12px;
    font: inherit;
    font-size: 15px;
    margin-top: 5px;
    color: #28382e;
    min-height: 43px;
}
.form-grid input::placeholder {
    color: #979ea7;
}
.form-grid input:focus,
.form-grid select:focus {
    outline: 2px solid var(--green);
    outline-offset: 1px;
}
.form-grid small {
    display: block;
    color: #777e88;
    font-size: 12px;
    margin-top: 5px;
}
.radio-row {
    display: flex;
    gap: 22px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.radio-row label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    cursor: pointer;
}
input[type="radio"],
input[type="checkbox"] {
    accent-color: var(--green);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin: 0;
    cursor: pointer;
}
/* Fizetésimód-kártyák; a kijelölés megjelenítés, nem fizetési státusz. */
.payment-option {
    display: flex;
    gap: 16px;
    align-items: center;
    border: 1px solid #d9dfe3;
    background: white;
    border-radius: 8px;
    margin-top: 10px;
    padding: 16px;
    cursor: pointer;
    font-size: 15px;
}
.payment-option:has(input:checked) {
    border-color: var(--green);
    box-shadow: inset 0 0 0 1px var(--green);
}
.payment-option > span {
    flex: 1;
}
.payment-option small {
    display: block;
    font-size: 12px;
    color: #626d65;
    margin-top: 4px;
}
.payment-option > .icon {
    width: 32px;
    height: 32px;
}
.check-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    margin: 12px 0;
    line-height: 1.5;
}
.check-row > input {
    margin-top: 2px;
}
.inline-link {
    display: inline;
    background: none;
    padding: 0;
    border: 0;
    color: #087ca9;
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
    text-align: left;
}
/* Beküldőgomb. Élesítéskor a folyamatban lévő kérés állapotát a JavaScript kezelje. */
.checkout-submit {
    width: 100%;
    font-size: 17px;
    margin-top: 8px;
    cursor: pointer;
    padding: 13px 18px;
}
.checkout-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.preview-caption {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #6d766f;
    margin-top: 10px;
}
/* Az előnézeti visszajelzés doboza. Később elkülönített siker- és hibaállapot szükséges. */
.checkout-result {
    margin-top: 16px;
    padding: 15px;
    background: #e1f2e8;
    border: 1px solid #b5d4c3;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.5;
}
.checkout-sidebar {
    display: grid;
    gap: 15px;
}
.order-card {
    background: #f3f7f4;
    border-radius: 12px;
    padding: 20px 0 0;
    overflow: hidden;
}
.order-card > h2 {
    display: flex;
    gap: 18px;
    align-items: center;
    font-size: 27px;
    margin: 0 23px 15px;
}
.order-white {
    border: 1px solid #edf1ed;
    background: white;
    border-radius: 12px;
    padding: 23px;
}
.order-product {
    display: grid;
    grid-template-columns: 30% 1fr;
    gap: 20px;
}
/* A rendelésösszesítő ugyanazt az önálló kurzusképet használja, kivágás nélkül. */
.order-coffee {
    align-self: start;
    aspect-ratio: 458/289;
    border-radius: 7px;
    background-image: url("../images/kurzus.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.order-product h3 {
    font-size: 21px;
    letter-spacing: -0.035em;
}
.order-product p {
    font-size: 15px;
    line-height: 1.3;
    margin: 7px 0 20px;
}
.order-product .check-list {
    background: none;
    border-radius: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.45;
}
.order-product .check-list li {
    padding-left: 26px;
    margin: 6px 0;
}
.order-product .check-list li:before {
    width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 13px;
    top: 2px;
}
/* Ár megjelenítése; az összeg számítása kizárólag a szerver feladata. */
.order-total {
    border-top: 1px solid #e1e6e2;
    margin-top: 25px;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 23px;
    letter-spacing: -0.03em;
}
.order-total > div {
    text-align: right;
}
.order-total > div > strong {
    font-size: 34px;
    white-space: nowrap;
}
.order-total small {
    display: block;
    font-size: 13px;
    font-weight: normal;
    letter-spacing: 0;
    color: #626b65;
}
.checkout-info {
    border-radius: 12px;
    background: #f1f7f4;
    padding: 24px;
    display: grid;
    gap: 25px;
}
.checkout-info > div {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}
.checkout-info .icon {
    width: 42px;
    height: 42px;
}
.checkout-info h3 {
    font-size: 17px;
}
.checkout-info p {
    font-size: 14px;
    color: #606b63;
    line-height: 1.45;
    margin: 7px 0 0;
}
.checkout-info .text-link {
    display: block;
    font-size: 14px;
    margin-top: 10px;
}
.checkout-assurances {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    background: #f5f7f6;
    padding: 25px;
    margin-top: 22px;
    border-radius: 12px;
}
.checkout-assurances > span {
    display: flex;
    gap: 18px;
    align-items: center;
    font-size: 15px;
}
.checkout-assurances > span:not(:last-child) {
    border-right: 1px solid #d4dfd8;
    padding-right: 12px;
}
/* Képernyőolvasóknak szánt címkék és rejtett mezők. */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
[hidden] {
    display: none !important;
}
/* Átmeneti jogi tájékoztató párbeszédablak; élesítéskor végleges dokumentumok váltsák ki. */
#legal-dialog {
    border: 1px solid var(--line);
    border-radius: 16px;
    max-width: min(550px, 90vw);
    padding: 30px;
    box-shadow: 0 20px 80px #0003;
}
#legal-dialog::backdrop {
    background: #001c16a6;
}
#legal-dialog h2 {
    font-size: 27px;
}
#legal-dialog p {
    font-size: 17px;
    line-height: 1.5;
}
#legal-dialog .button {
    cursor: pointer;
    font-size: 17px;
}

/* 24. Kurzus és jelentkezés: közepes asztali nézet */
@media (max-width: 1100px) {
    .course-intro {
        gap: 25px;
    }
    .course-intro h1 {
        font-size: 62px;
    }
    .course-intro h2 {
        font-size: 25px;
    }
    .course-promises {
        gap: 10px;
    }
    .course-promises > span {
        font-size: 13px;
        gap: 7px;
    }
    .course-facts article {
        padding: 20px 14px;
        gap: 12px;
    }
    .course-facts h3 {
        font-size: 18px;
    }
    .course-facts .icon {
        width: 35px;
        height: 35px;
    }
    .topic-label {
        grid-template-columns: 38px 45px 1fr;
        gap: 16px;
    }
    .topic-label h3 {
        font-size: 22px;
    }
    .topic-label .icon {
        width: 43px;
        height: 43px;
    }
    .topic-row {
        gap: 25px;
        padding: 18px 20px;
    }
    .checkout-layout {
        grid-template-columns: 1.2fr 1fr;
        gap: 18px;
    }
    .form-card {
        padding: 20px 18px;
    }
    .form-card h2 {
        font-size: 22px;
        gap: 10px;
    }
    .order-white {
        padding: 18px;
    }
    .order-product {
        gap: 14px;
    }
    .order-product h3 {
        font-size: 19px;
    }
    .order-total > div > strong {
        font-size: 29px;
    }
    .checkout-steps {
        gap: 8px;
        font-size: 12px;
    }
    .checkout-steps li {
        gap: 7px;
    }
    .checkout-steps span {
        width: 30px;
        height: 30px;
    }
    .checkout-info {
        padding: 20px;
    }
    .checkout-info > div {
        gap: 15px;
    }
}

/* 25. Kurzus és jelentkezés: egymás alá rendezés */
@media (max-width: 800px) {
    .course-intro {
        grid-template-columns: 1fr;
    }
    .course-intro h1 {
        font-size: 58px;
    }
    .course-intro h2 {
        font-size: 28px;
    }
    .course-intro p:not(.handwriting) {
        max-width: 650px;
    }
    .course-promises {
        justify-content: flex-start;
        gap: 30px;
        margin: 22px 0 0;
    }
    .course-promises > span {
        font-size: 15px;
    }
    .course-media {
        max-width: 620px;
        width: 100%;
        margin: auto;
    }
    .course-facts {
        grid-template-columns: repeat(2, 1fr);
        margin: 25px 0 30px;
    }
    .topic-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .topic-label {
        border-right: 0;
        border-bottom: 1px solid #d2e4da;
        padding: 0 0 16px;
        grid-template-columns: 40px 50px 1fr;
    }
    .topic-label h3 {
        font-size: 23px;
    }
    .topic-label p {
        font-size: 15px;
        margin-top: 4px;
    }
    .topic-row ul {
        margin-left: 8px;
        font-size: 16px;
    }
    .course-bottom {
        grid-template-columns: 1fr;
    }
    .course-offer > .button {
        max-width: 380px;
    }
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .checkout-sidebar {
        grid-row: 1;
    }
    .checkout-sidebar > .checkout-info {
        display: none;
    }
    .order-product {
        grid-template-columns: 100px 1fr;
    }
    .order-product .check-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 15px;
    }
    .order-product p {
        margin-bottom: 10px;
    }
    .order-total {
        margin-top: 18px;
        padding-top: 15px;
    }
    .checkout-steps {
        font-size: 14px;
        margin: 12px 0 23px;
    }
    .checkout-steps span {
        width: 35px;
        height: 35px;
    }
    .checkout-heading h1 {
        font-size: 39px;
    }
    .checkout-heading p {
        font-size: 20px;
    }
    .checkout-assurances {
        gap: 15px;
        padding: 20px;
    }
    .checkout-assurances > span {
        flex-direction: column;
        text-align: center;
        font-size: 13px;
        gap: 10px;
    }
    .form-card h2 {
        font-size: 24px;
    }
    .form-card {
        padding: 22px;
    }
    .checkout-sidebar .order-white {
        padding: 22px;
    }
}

/* 26. Az új oldalak mobilméretű pontosításai */
@media (max-width: 700px) {
    .hero.container {
        display: flex;
        width: 90%;
    }
    .hero-copy {
        max-width: none;
    }
    .hero .hero-visual {
        width: 100%;
        height: auto;
        aspect-ratio: 1.3;
    }
    .hero h1 {
        font-size: clamp(36px, 8.4vw, 58px);
    }
    .hero .hero-inner {
        padding-top: 27px;
    }
    .hero .hero-visual .portrait {
        position: absolute;
        inset: 0;
    }
    .course-page {
        padding-block: 28px;
    }
    .course-intro .handwriting {
        font-size: 21px;
    }
    .course-intro h1 {
        font-size: 54px;
    }
    .course-intro h2 {
        font-size: 25px;
    }
    .course-promises {
        gap: 13px;
        justify-content: space-between;
    }
    .course-promises > span {
        flex-direction: column;
        align-items: flex-start;
        font-size: 14px;
    }
    .course-facts article {
        padding: 18px 14px;
        gap: 12px;
    }
    .course-facts h3 {
        font-size: 17px;
    }
    .course-facts p {
        font-size: 14px;
    }
    .course-facts .icon {
        width: 30px;
        height: 30px;
    }
    .course-page > .section-heading h2 {
        font-size: 31px;
    }
    .course-page > .section-heading p {
        font-size: 16px;
    }
    .certificate {
        padding: 22px 18px;
        gap: 17px;
    }
    .certificate > .icon {
        width: 45px;
        height: 45px;
    }
    .certificate h3 {
        font-size: 23px;
    }
    .certificate p {
        font-size: 16px;
    }
    .certificate .certificate-note {
        font-size: 14px;
    }
    .course-offer {
        padding: 23px 18px;
    }
    .offer-meta {
        gap: 10px;
        font-size: 11px;
    }
    .course-offer > .button {
        font-size: 18px;
    }
    .checkout-page {
        padding-block: 28px;
    }
    .checkout-heading h1 {
        font-size: 36px;
    }
    .checkout-heading p {
        font-size: 18px;
    }
    .checkout-preview-note {
        font-size: 13px;
    }
    .form-grid {
        gap: 13px;
    }
    .form-card {
        padding: 19px 16px;
    }
    .radio-row {
        gap: 14px;
    }
    .checkout-steps {
        font-size: 12px;
        gap: 5px;
    }
    .checkout-steps span {
        width: 28px;
        height: 28px;
    }
    .checkout-steps li {
        gap: 6px;
    }
    .checkout-steps li:not(:last-child):after {
        min-width: 8px;
    }
    .order-product {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }
    .order-product .check-list {
        display: block;
    }
    .order-product h3 {
        font-size: 20px;
    }
    .checkout-sidebar .order-white {
        padding: 18px;
    }
    .checkout-submit {
        font-size: 16px;
    }
    .checkout-assurances {
        padding: 18px 10px;
        gap: 10px;
    }
    .checkout-assurances .icon {
        width: 32px;
        height: 32px;
    }
    .checkout-assurances > span {
        font-size: 12px;
    }
    .form-card h2 {
        font-size: 22px;
    }
    .check-row {
        font-size: 13px;
    }
}

/* 27. Keskeny mobilképernyők */
@media (max-width: 380px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .course-facts article {
        flex-direction: column;
    }
    .topic-label {
        gap: 12px;
        grid-template-columns: 35px 38px 1fr;
    }
    .topic-number {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    .topic-label h3 {
        font-size: 20px;
    }
    .topic-label .icon {
        width: 36px;
        height: 36px;
    }
    .order-product {
        grid-template-columns: 60px 1fr;
    }
    .checkout-steps {
        font-size: 11px;
    }
    .checkout-steps li:not(:last-child):after {
        display: none;
    }
    .order-total {
        font-size: 20px;
    }
    .order-total > div > strong {
        font-size: 27px;
    }
}
