/* =========================================================
   VÁRDA AUTÓSISKOLA – A REFERENCIAKÉPHEZ IGAZÍTOTT DIZÁJN
   ========================================================= */

:root {
    --green: #357b2e;
    --green-dark: #235c25;
    --green-soft: #6ca14e;
    --green-pale: #eef5eb;
    --navy: #101c2f;
    --navy-2: #16253a;
    --text: #162033;
    --muted: #6c7480;
    --paper: #ffffff;
    --page: #f3f5f4;
    --line: #e3e8e3;
    --gold: #c6aa67;
    --shadow: 0 12px 32px rgba(18, 33, 50, .12);
    --header-height: 72px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

html {
    background: var(--page);
}

body {
    overflow: hidden;
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(255,255,255,.9), rgba(243,245,244,.98)),
        var(--page);
    font-family: Inter, Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: 0;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(53, 123, 46, .27);
    outline-offset: 3px;
}

/* ///// FEJLÉC ///// */

.site-header {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 50%;
    width: min(100% - 28px, 1540px);
    height: var(--header-height);
    display: grid;
    grid-template-columns: 280px 1fr 150px;
    align-items: center;
    gap: 20px;
    padding: 0 42px;
    color: var(--text);
    border-bottom: 1px solid rgba(22, 32, 51, .06);
    border-radius: 4px 4px 0 0;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    transform: translateX(-50%);
}

.brand {
    display: block;
    width: 205px;
    color: inherit;
    text-decoration: none;
}

.brand img {
    width: 100%;
    display: block;
}

.desktop-nav {
    justify-self: center;
    display: flex;
    align-items: stretch;
    gap: 3px;
    height: 100%;
}

.nav-link {
    position: relative;
    padding: 0 18px;
    color: var(--text);
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 750;
    text-transform: uppercase;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 13px;
    height: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--green-dark);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.header-cta {
    justify-self: end;
    min-width: 130px;
    height: 40px;
    color: #fff;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--green), var(--green-dark));
    cursor: pointer;
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(53, 123, 46, .2);
    transition: transform .2s ease, box-shadow .2s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(53, 123, 46, .28);
}

.menu-toggle,
.mobile-menu {
    display: none;
}

/* ///// SLIDE RENDSZER ///// */

.page-deck {
    position: fixed;
    inset: 0;
    overflow: hidden;
}

.view {
    position: absolute;
    inset: 0;
    visibility: hidden;
    overflow: hidden;
    background: var(--page);
    transform: translate3d(100%, 0, 0);
    transition:
        transform .8s var(--ease),
        visibility 0s linear .8s;
    will-change: transform;
}

.view.is-active {
    z-index: 2;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    transition-delay: 0s;
}

.view.is-before {
    z-index: 1;
    visibility: visible;
    transform: translate3d(-7%, 0, 0);
    transition-delay: 0s;
}

/* Visszafelé történő navigáció segédállapotai.
   Külön CSS-osztályokkal dolgozunk, hogy ne maradjon inline transform
   az oldalon a navigáció befejezése után. */
.view.is-enter-left {
    z-index: 3;
    visibility: visible;
    transform: translate3d(-100%, 0, 0);
    transition: none;
}

.view.is-leave-right {
    z-index: 1;
    visibility: visible;
    transform: translate3d(100%, 0, 0);
    transition:
        transform .8s var(--ease),
        visibility 0s linear 0s;
}

.view-scroll {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(53, 123, 46, .35) transparent;
}

/* ///// FŐOLDALI KERET ///// */

.home-page {
    width: min(100% - 28px, 1540px);
    min-height: calc(100vh - 24px);
    margin: 12px auto;
    padding-top: var(--header-height);
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 24px rgba(18, 33, 50, .06);
}

/* ///// HERO ///// */

.hero {
    min-height: 292px;
    display: grid;
    grid-template-columns: 49% 51%;
    background: linear-gradient(100deg, #fff 0%, #fff 46%, #f5f7f5 100%);
}

.hero-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 36px 10px 60px;
}

.hero-overline {
    margin: 0 0 5px;
    color: var(--text);
    font-size: clamp(17px, 1.65vw, 28px);
    font-weight: 900;
    letter-spacing: -.02em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    color: var(--green);
    font-size: clamp(31px, 3.2vw, 54px);
    line-height: 1;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.hero-lead {
    max-width: 560px;
    margin: 14px 0 17px;
    color: #303847;
    font-size: clamp(13px, 1.08vw, 18px);
    line-height: 1.48;
}

.primary-button {
    width: 148px;
    height: 41px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 23px;
    color: #fff;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--green), var(--green-dark));
    cursor: pointer;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
    transition: transform .22s ease, box-shadow .22s ease;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 22px rgba(53, 123, 46, .23);
}

.primary-button span {
    font-size: 22px;
    line-height: 1;
}

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
    margin-top: 22px;
}

.hero-benefits article {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

.feature-icon {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    display: grid;
    place-items: center;
    color: var(--green);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-benefits p {
    min-width: 0;
    display: grid;
    gap: 1px;
    margin: 0;
}

.hero-benefits strong {
    color: var(--text);
    font-size: 11px;
    line-height: 1.2;
}

.hero-benefits small {
    color: var(--text);
    font-size: 10px;
    line-height: 1.2;
}

.hero-visual {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-left: 5px solid var(--green);
    border-radius: 48% 0 0 46% / 100% 0 0 100%;
    background: #e8efea;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* ///// TANFOLYAMOK + VÉLEMÉNY ///// */

.home-panels {
    display: grid;
    grid-template-columns: 62% 38%;
    gap: 30px;
    padding: 0 28px 8px;
    background: #fff;
}

.courses-panel,
.review-panel {
    position: relative;
    min-height: 182px;
    border-radius: 0 0 16px 16px;
    background: rgba(255,255,255,.97);
    box-shadow: var(--shadow);
}

.courses-panel {
    padding: 10px 22px 11px;
    text-align: center;
}

.courses-panel h2,
.review-panel h2 {
    margin: 0;
    color: var(--text);
    font-size: 17px;
    font-weight: 900;
    text-transform: uppercase;
}

.courses-panel h2::after {
    content: "";
    width: 60px;
    height: 2px;
    display: block;
    margin: 5px auto 10px;
    background: var(--green-soft);
}

.course-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.home-course-card {
    position: relative;
    min-height: 105px;
    display: grid;
    place-items: center;
    padding: 20px 8px 8px;
    border: 1px solid #edf0ed;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 5px 13px rgba(18, 33, 50, .1);
}

.calendar-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: var(--green);
    transform: translateX(-50%);
    box-shadow: 0 5px 12px rgba(53,123,46,.23);
}

.calendar-badge svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.home-course-card strong {
    margin-top: 6px;
    color: var(--text);
    font-size: 16px;
}

.home-course-card small {
    color: var(--green);
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
}

.home-course-card p {
    margin: 5px 0 4px;
    color: #313948;
    font-size: 9px;
}

.home-course-card button {
    width: 92px;
    height: 24px;
    color: #fff;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--green), var(--green-dark));
    cursor: pointer;
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
}

.panel-button {
    min-width: 188px;
    height: 25px;
    margin-top: 9px;
    color: #fff;
    border-radius: 2px;
    background: var(--green);
    cursor: pointer;
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
}

.review-panel {
    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: start;
    padding: 24px 26px;
    overflow: hidden;
}

.quote-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: var(--green);
    font-family: Georgia, serif;
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
}

.review-content {
    position: relative;
    z-index: 2;
    padding-top: 6px;
}

.review-content h2 {
    text-align: left;
}

.review-content blockquote {
    max-width: 360px;
    margin: 18px 0 17px;
    color: #303847;
    font-size: 11px;
    line-height: 1.55;
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
    font-size: 10px;
}

.stars {
    color: var(--green-soft);
    font-size: 15px;
    letter-spacing: 1px;
}

.church-watermark {
    position: absolute;
    right: -8px;
    bottom: -17px;
    width: 148px;
    opacity: .72;
}

/* ///// CTA + LÁBLÉC ///// */

.bottom-cta {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 80px 0 94px;
    color: #fff;
    background: linear-gradient(90deg, #286b29, #3d842d);
}

.cta-title {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    text-transform: uppercase;
}

.wheel-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 50%;
    font-size: 15px;
}

.bottom-cta button {
    min-width: 175px;
    height: 31px;
    color: #fff;
    border: 2px solid rgba(255,255,255,.85);
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
}

.bottom-cta button span {
    margin-left: 22px;
    font-size: 18px;
}

.site-footer {
    min-height: 78px;
    display: grid;
    grid-template-columns: 220px 260px 1fr 60px;
    align-items: center;
    gap: 20px;
    padding: 8px 75px;
    color: #fff;
    background:
        radial-gradient(circle at 25% 100%, rgba(53,123,46,.16), transparent 30%),
        linear-gradient(110deg, #111c2e, #16263b);
}

.footer-brand img {
    width: 175px;
    filter: brightness(0) invert(1);
    opacity: .95;
}

.footer-contact {
    display: grid;
    gap: 5px;
}

.footer-contact span {
    color: rgba(255,255,255,.78);
    font-size: 10px;
}

.footer-contact strong {
    font-weight: 500;
}

.footer-links p {
    margin: 0 0 4px;
    color: var(--green-soft);
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
}

.footer-links div {
    display: grid;
    grid-template-columns: repeat(2, 80px);
    gap: 2px 25px;
}

.footer-links button {
    width: fit-content;
    padding: 0;
    color: #fff;
    background: transparent;
    cursor: pointer;
    font-size: 9px;
}

.social-button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #fff;
    border: 1px solid var(--green-soft);
    border-radius: 50%;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 21px;
    font-weight: 800;
}

/* ///// BELSŐ OLDALAK ///// */

.subpage {
    width: min(100% - 28px, 1540px);
    min-height: calc(100vh - 24px);
    margin: 12px auto;
    padding: calc(var(--header-height) + 46px) 70px 55px;
    overflow: hidden;
    border-radius: 4px;
    background:
        radial-gradient(circle at 100% 0%, rgba(108,161,78,.11), transparent 28%),
        #f9faf8;
    box-shadow: 0 2px 24px rgba(18, 33, 50, .06);
}

.subpage-heading {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: start;
    gap: 22px;
    margin-bottom: 36px;
}

.back-button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--green);
    border: 1px solid rgba(53,123,46,.25);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    font-size: 19px;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.back-button:hover {
    color: #fff;
    background: var(--green);
    transform: translateX(-3px);
}

.subpage-heading span {
    color: var(--green);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.subpage-heading h2 {
    max-width: 900px;
    margin: 8px 0 0;
    color: var(--text);
    font-size: clamp(38px, 4.5vw, 70px);
    line-height: 1;
    letter-spacing: -.04em;
}

.about-layout,
.price-layout,
.contact-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 24px;
}

.large-card,
.mini-card,
.price-card,
.process-grid article,
.contact-card,
.contact-form,
.full-course-card,
.faq-item,
.info-strip {
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 10px 32px rgba(18,33,50,.07);
}

.large-card {
    min-height: 390px;
    padding: 36px;
    border-radius: 24px;
}

.green-card {
    color: #fff;
    border-color: transparent;
    background:
        radial-gradient(circle at 100% 0%, rgba(255,255,255,.13), transparent 30%),
        linear-gradient(145deg, var(--green), var(--green-dark));
}

.big-year {
    display: block;
    margin-bottom: 44px;
    color: rgba(255,255,255,.22);
    font-size: 92px;
    font-weight: 950;
    line-height: .8;
}

.large-card h3 {
    max-width: 390px;
    margin: 0 0 20px;
    font-size: 29px;
}

.large-card p {
    max-width: 510px;
    margin: 0;
    color: rgba(255,255,255,.76);
    line-height: 1.7;
}

.mini-card-grid,
.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.mini-card,
.process-grid article {
    min-height: 185px;
    padding: 27px;
    border-radius: 19px;
}

.mini-card b,
.process-grid b {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--green);
    border-radius: 12px;
    background: var(--green-pale);
    font-size: 11px;
}

.mini-card h3,
.process-grid h3 {
    margin: 20px 0 8px;
    font-size: 20px;
}

.mini-card p,
.process-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

/* ///// TELJES TANFOLYAM NÉZET ///// */

.full-course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.full-course-card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: 22px;
}

.full-course-card.is-featured {
    color: #fff;
    border-color: transparent;
    background:
        radial-gradient(circle at 100% 0%, rgba(255,255,255,.13), transparent 32%),
        linear-gradient(145deg, var(--green), var(--green-dark));
}

.full-course-date {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.full-course-date strong {
    color: var(--green);
    font-size: 58px;
    line-height: .8;
}

.full-course-card.is-featured .full-course-date strong {
    color: #fff;
}

.full-course-date span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.full-course-card.is-featured .full-course-date span {
    color: rgba(255,255,255,.65);
}

.full-course-card h3 {
    margin: 34px 0 8px;
    font-size: 23px;
}

.full-course-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.full-course-card.is-featured p {
    color: rgba(255,255,255,.68);
}

.full-course-card button {
    height: 43px;
    margin-top: auto;
    color: #fff;
    border-radius: 4px;
    background: var(--green);
    cursor: pointer;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.full-course-card.is-featured button {
    color: var(--green-dark);
    background: #fff;
}

.info-strip {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
    padding: 15px 24px;
    border-radius: 17px;
}

.info-strip div {
    display: grid;
    gap: 4px;
}

.info-strip span {
    color: var(--muted);
    font-size: 12px;
}

.info-strip button {
    height: 40px;
    padding: 0 22px;
    color: #fff;
    border-radius: 4px;
    background: var(--green);
    cursor: pointer;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

/* ///// ÁRAK ///// */

.price-card {
    min-height: 410px;
    display: flex;
    flex-direction: column;
    padding: 35px;
    color: #fff;
    border-color: transparent;
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255,255,255,.13), transparent 30%),
        linear-gradient(145deg, var(--navy), var(--navy-2));
}

.price-label {
    width: fit-content;
    padding: 7px 10px;
    color: var(--green-dark);
    border-radius: 999px;
    background: #fff;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.price-card h3 {
    margin: 22px 0 4px;
    font-size: 30px;
}

.price-value {
    margin: 0 0 30px;
    color: var(--green-soft);
    font-size: 36px;
    font-weight: 900;
}

.price-card ul {
    display: grid;
    gap: 12px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.price-card li {
    color: rgba(255,255,255,.72);
    font-size: 13px;
}

.price-card li::before {
    content: "✓";
    margin-right: 10px;
    color: var(--green-soft);
}

.price-card button {
    height: 47px;
    margin-top: auto;
    color: #fff;
    border-radius: 4px;
    background: var(--green);
    cursor: pointer;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

/* ///// GYIK ///// */

.faq-list {
    max-width: 1050px;
    display: grid;
    gap: 12px;
    margin: 0 auto;
}

.faq-item {
    overflow: hidden;
    border-radius: 15px;
}

.faq-item > button {
    width: 100%;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 24px;
    color: var(--text);
    background: #fff;
    cursor: pointer;
    text-align: left;
    font-size: 15px;
    font-weight: 850;
}

.faq-item > button b {
    color: var(--green);
    font-size: 23px;
    transition: transform .25s ease;
}

.faq-item > div {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s ease;
}

.faq-item > div p {
    min-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0 24px;
    color: var(--muted);
    line-height: 1.6;
    transition: padding .35s ease;
}

.faq-item.is-open > div {
    grid-template-rows: 1fr;
}

.faq-item.is-open > div p {
    padding: 0 24px 22px;
}

.faq-item.is-open > button b {
    transform: rotate(45deg);
}

/* ///// KAPCSOLAT ///// */

.contact-card,
.contact-form {
    border-radius: 22px;
}

.contact-card {
    min-height: 390px;
    padding: 34px;
    color: #fff;
    border-color: transparent;
    background:
        url("../img/church-watermark.svg") right bottom / 210px no-repeat,
        linear-gradient(145deg, var(--green), var(--green-dark));
}

.contact-card h3 {
    margin: 0 0 7px;
    font-size: 30px;
}

.contact-card > p {
    margin: 0;
    color: rgba(255,255,255,.7);
}

.contact-data {
    display: grid;
    gap: 18px;
    margin-top: 80px;
}

.contact-data span {
    display: grid;
    gap: 3px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.16);
}

.contact-data small {
    color: rgba(255,255,255,.5);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.contact-form {
    display: grid;
    gap: 14px;
    padding: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: var(--text);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    color: var(--text);
    border: 1px solid #dfe5df;
    border-radius: 5px;
    background: #fbfcfb;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.contact-form input,
.contact-form select {
    height: 45px;
    padding: 0 12px;
}

.contact-form textarea {
    min-height: 90px;
    resize: vertical;
    padding: 12px;
}

.consent {
    grid-template-columns: 17px 1fr !important;
    align-items: center;
    gap: 8px !important;
    color: var(--muted) !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.consent input {
    width: 15px;
    height: 15px;
    margin: 0;
}

.contact-form > button {
    height: 46px;
    color: #fff;
    border-radius: 4px;
    background: var(--green);
    cursor: pointer;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.form-note {
    color: var(--muted);
    text-align: center;
}

/* ///// MODAL ///// */

.modal {
    position: fixed;
    z-index: 300;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility 0s linear .25s;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 18, 31, .68);
    backdrop-filter: blur(5px);
}

.modal-card {
    position: relative;
    z-index: 2;
    width: min(460px, 100%);
    padding: 32px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0,0,0,.3);
    transform: translateY(24px) scale(.98);
    transition: transform .3s var(--ease);
}

.modal.is-open .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--text);
    border-radius: 50%;
    background: var(--page);
    cursor: pointer;
    font-size: 22px;
}

.modal-tag {
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.modal-card h2 {
    margin: 10px 0 8px;
    font-size: 30px;
}

.modal-card > p {
    margin: 0 0 22px;
    color: var(--muted);
}

.modal-card ul {
    display: grid;
    gap: 9px;
    margin: 0 0 25px;
    padding-left: 20px;
    color: #47505e;
    font-size: 13px;
}

.modal-cta {
    width: 100%;
    height: 46px;
    color: #fff;
    border-radius: 4px;
    background: var(--green);
    cursor: pointer;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.toast {
    position: fixed;
    z-index: 400;
    left: 50%;
    bottom: 28px;
    padding: 14px 20px;
    color: #fff;
    border-radius: 999px;
    background: var(--navy);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 18px);
    transition: opacity .25s ease, transform .25s ease;
    font-size: 12px;
}

.toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ///// NAGY KÉPERNYŐ – A REFERENCIA ARÁNYAI ///// */

@media (min-width: 1100px) and (min-height: 620px) {
    .home-page {
        height: calc(100vh - 24px);
        min-height: 0;
        display: grid;
        grid-template-rows: var(--header-height) minmax(275px, 1fr) 182px 42px 78px;
        padding-top: 0;
    }

    .hero {
        grid-row: 2;
        min-height: 0;
    }

    .home-panels {
        grid-row: 3;
    }

    .bottom-cta {
        grid-row: 4;
    }

    .site-footer {
        grid-row: 5;
    }
}

/* ///// TABLET ///// */

@media (max-width: 1120px) {
    .site-header {
        grid-template-columns: 220px 1fr 125px;
        padding: 0 24px;
    }

    .brand {
        width: 185px;
    }

    .nav-link {
        padding: 0 10px;
        font-size: 11px;
    }

    .nav-link::after {
        left: 10px;
        right: 10px;
    }

    .hero-copy {
        padding-left: 36px;
    }

    .hero-benefits {
        gap: 9px;
    }

    .bottom-cta {
        padding-inline: 50px;
    }

    .site-footer {
        grid-template-columns: 190px 220px 1fr 48px;
        padding-inline: 45px;
    }
}

@media (max-width: 880px) {
    :root {
        --header-height: 66px;
    }

    body {
        overflow: hidden;
    }

    .site-header {
        top: 0;
        width: 100%;
        grid-template-columns: 1fr auto;
        padding: 0 18px;
        border-radius: 0;
    }

    .brand {
        width: 170px;
    }

    .desktop-nav,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        display: grid;
        place-content: center;
        gap: 5px;
        border-radius: 50%;
        background: var(--green-pale);
        cursor: pointer;
    }

    .menu-toggle span {
        width: 19px;
        height: 2px;
        display: block;
        background: var(--green-dark);
        transition: transform .25s ease, opacity .25s ease;
    }

    .menu-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-menu {
        position: fixed;
        z-index: 95;
        top: 72px;
        left: 14px;
        right: 14px;
        display: grid;
        padding: 10px;
        border-radius: 13px;
        background: rgba(16,28,47,.97);
        box-shadow: 0 24px 70px rgba(0,0,0,.26);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity .25s ease, transform .25s ease;
    }

    .mobile-menu.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-menu button {
        padding: 14px;
        color: #fff;
        border-radius: 7px;
        background: transparent;
        text-align: left;
        font-size: 13px;
        font-weight: 800;
        text-transform: uppercase;
    }

    .mobile-menu button:hover {
        background: var(--green);
    }

    .home-page,
    .subpage {
        width: 100%;
        min-height: 100vh;
        margin: 0;
        border-radius: 0;
    }

    .home-page {
        padding-top: var(--header-height);
    }

    .hero {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 46px 25px 30px;
    }

    .hero-overline {
        font-size: 21px;
    }

    .hero h1 {
        font-size: clamp(38px, 9vw, 58px);
    }

    .hero-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-visual {
        min-height: 310px;
        border-top: 5px solid var(--green);
        border-left: 0;
        border-radius: 48% 48% 0 0 / 18% 18% 0 0;
    }

    .home-panels {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px;
    }

    .courses-panel,
    .review-panel {
        border-radius: 16px;
    }

    .bottom-cta {
        flex-direction: column;
        padding: 18px 20px;
        text-align: center;
    }

    .cta-title {
        font-size: 13px;
    }

    .site-footer {
        grid-template-columns: 1fr 1fr;
        padding: 28px 25px;
    }

    .social-button {
        justify-self: end;
    }

    .subpage {
        padding: calc(var(--header-height) + 36px) 20px 45px;
    }

    .about-layout,
    .price-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .full-course-grid {
        grid-template-columns: 1fr;
    }
}

/* ///// MOBIL ///// */

@media (max-width: 560px) {
    .hero-copy {
        padding: 34px 20px 25px;
    }

    .hero-lead {
        font-size: 14px;
    }

    .hero-benefits {
        gap: 17px 10px;
    }

    .hero-visual {
        min-height: 250px;
    }

    .course-list {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .home-course-card {
        min-height: 112px;
    }

    .review-panel {
        grid-template-columns: 52px 1fr;
        padding: 22px 18px;
    }

    .quote-mark {
        width: 40px;
        height: 40px;
    }

    .review-content blockquote {
        font-size: 12px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .footer-links div {
        grid-template-columns: repeat(2, 90px);
    }

    .social-button {
        justify-self: start;
    }

    .subpage-heading {
        grid-template-columns: 40px 1fr;
        gap: 13px;
    }

    .subpage-heading h2 {
        font-size: 36px;
    }

    .mini-card-grid,
    .process-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .large-card,
    .price-card,
    .contact-card,
    .contact-form {
        padding: 25px;
    }

    .big-year {
        font-size: 70px;
    }

    .info-strip {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   KEZDŐLAP ARÁNYJAVÍTÁS – 2026.08
   A hero kisebb, az alsó tartalmak nagyobbak és levegősebbek.
   ========================================================= */

@media (min-width: 1100px) {
    /* Nem préseljük többé mereven egyetlen képernyőmagasságba. */
    .home-page {
        height: auto;
        min-height: 0;
        display: block;
        padding-top: var(--header-height);
    }

    /* ///// HERO ÚJ ARÁNYAI ///// */
    .hero {
        height: 420px;
        min-height: 420px;
        grid-template-columns: 52% 48%;
    }

    .hero-copy {
        justify-content: flex-start;
        padding: 54px 42px 28px 58px;
    }

    .hero-overline {
        margin-bottom: 7px;
        font-size: clamp(20px, 1.45vw, 25px);
        line-height: 1.1;
    }

    .hero h1 {
        max-width: 680px;
        font-size: clamp(40px, 2.8vw, 47px);
        line-height: 1.03;
        letter-spacing: .018em;
    }

    .hero-lead {
        max-width: 590px;
        margin: 17px 0 19px;
        font-size: 16px;
        line-height: 1.55;
    }

    .primary-button {
        width: 156px;
        height: 43px;
        font-size: 11px;
    }

    /* Az előnyök már nem apró lábjegyzetként jelennek meg. */
    .hero-benefits {
        gap: 10px;
        margin-top: 25px;
    }

    .hero-benefits article {
        min-height: 58px;
        gap: 10px;
        padding: 8px 9px;
        border: 1px solid rgba(53, 123, 46, .08);
        border-radius: 9px;
        background: #f7faf5;
    }

    .feature-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .hero-benefits strong {
        font-size: 12px;
        line-height: 1.25;
    }

    .hero-benefits small {
        color: #4b5561;
        font-size: 10.5px;
        line-height: 1.25;
    }

    /* A kép kisebb magasságot kap, így az autó nem uralja túl a hero részt. */
    .hero-visual {
        border-left-width: 4px;
        border-radius: 43% 0 0 43% / 100% 0 0 100%;
    }

    .hero-visual img {
        object-position: 52% center;
        filter: saturate(.93) contrast(.98);
    }

    /* ///// TANFOLYAMOK + VÉLEMÉNY ///// */
    .home-panels {
        min-height: 252px;
        grid-template-columns: 62% 38%;
        gap: 26px;
        padding: 18px 28px 22px;
        background: #f7f8f7;
    }

    .courses-panel,
    .review-panel {
        min-height: 212px;
        border-radius: 17px;
    }

    .courses-panel {
        padding: 16px 24px 17px;
    }

    .courses-panel h2,
    .review-panel h2 {
        font-size: 19px;
    }

    .courses-panel h2::after {
        width: 72px;
        margin-top: 7px;
        margin-bottom: 16px;
    }

    .course-list {
        gap: 17px;
    }

    .home-course-card {
        min-height: 142px;
        padding: 28px 11px 12px;
        border-radius: 5px;
    }

    .calendar-badge {
        top: -15px;
        width: 38px;
        height: 38px;
    }

    .calendar-badge svg {
        width: 20px;
        height: 20px;
    }

    .home-course-card strong {
        margin-top: 7px;
        font-size: 18px;
    }

    .home-course-card small {
        margin-top: 2px;
        font-size: 11px;
    }

    .home-course-card p {
        margin: 7px 0 8px;
        font-size: 10.5px;
    }

    .home-course-card button {
        width: 106px;
        height: 30px;
        font-size: 9px;
    }

    .panel-button {
        min-width: 205px;
        height: 31px;
        margin-top: 13px;
        font-size: 9px;
    }

    .review-panel {
        grid-template-columns: 72px 1fr;
        padding: 31px 31px;
    }

    .quote-mark {
        width: 56px;
        height: 56px;
        font-size: 44px;
    }

    .review-content {
        padding-top: 7px;
    }

    .review-content blockquote {
        max-width: 420px;
        margin: 21px 0 20px;
        font-size: 13.5px;
        line-height: 1.62;
    }

    .review-footer {
        gap: 15px;
        font-size: 11.5px;
    }

    .stars {
        font-size: 18px;
    }

    .church-watermark {
        right: -10px;
        bottom: -20px;
        width: 185px;
        opacity: .9;
    }

    /* ///// ERŐSEBB CTA ///// */
    .bottom-cta {
        min-height: 58px;
        padding: 0 72px 0 86px;
    }

    .cta-title {
        gap: 17px;
        font-size: 16px;
    }

    .wheel-icon {
        width: 34px;
        height: 34px;
    }

    .bottom-cta button {
        min-width: 205px;
        height: 38px;
        font-size: 11px;
    }

    /* ///// LEVEGŐSEBB LÁBLÉC ///// */
    .site-footer {
        min-height: 112px;
        grid-template-columns: 240px 300px 1fr 64px;
        gap: 28px;
        padding: 15px 76px;
    }

    .footer-brand img {
        width: 195px;
    }

    .footer-contact {
        gap: 8px;
    }

    .footer-contact span {
        font-size: 11.5px;
    }

    .footer-links p {
        margin-bottom: 7px;
        font-size: 10px;
    }

    .footer-links div {
        grid-template-columns: repeat(2, 92px);
        gap: 4px 28px;
    }

    .footer-links button {
        font-size: 10px;
    }

    .social-button {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }
}

@media (min-width: 1100px) and (max-width: 1320px) {
    .hero-copy {
        padding-left: 42px;
        padding-right: 28px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-lead {
        font-size: 14.5px;
    }

    .hero-benefits article {
        padding-inline: 7px;
    }

    .feature-icon {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
    }

    .hero-benefits strong {
        font-size: 10.5px;
    }

    .hero-benefits small {
        font-size: 9.5px;
    }

    .site-footer {
        grid-template-columns: 210px 255px 1fr 52px;
        padding-inline: 48px;
    }
}



/* =========================================================
   ÁRAK – RÉSZLETES DÍJKÁRTYÁK
   ========================================================= */

.prices-subpage {
    background:
        radial-gradient(circle at 92% 8%, rgba(108,161,78,.11), transparent 27%),
        linear-gradient(180deg, #fbfcfa 0%, #f6f8f5 100%);
}

.prices-heading {
    margin-bottom: 30px;
}

.heading-green {
    color: var(--green);
}

.fees-layout {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 22px;
    align-items: stretch;
}

.fee-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(18, 33, 50, .08);
}

.fee-card-course {
    min-height: 432px;
    display: flex;
    flex-direction: column;
    padding: 32px;
    color: #fff;
    border-color: transparent;
    background:
        radial-gradient(circle at 100% 0%, rgba(108,161,78,.20), transparent 34%),
        linear-gradient(145deg, #101c2f 0%, #192a40 100%);
}

.fee-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.fee-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.fee-card-course .fee-eyebrow {
    color: #91c56b;
}

.fee-card h3 {
    margin: 0;
    color: var(--text);
    font-size: 26px;
    line-height: 1.1;
}

.fee-card-course h3 {
    color: #fff;
}

.fee-badge {
    flex: 0 0 auto;
    padding: 8px 11px;
    color: var(--green-dark);
    border-radius: 999px;
    background: #fff;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
}

.fee-list {
    display: grid;
    margin-top: 24px;
}

.fee-row {
    min-height: 72px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 15px 0;
    border-bottom: 1px solid #e8ece7;
}

.fee-row > span {
    color: #46515e;
    font-size: 13px;
    line-height: 1.4;
}

.fee-row > span small {
    color: #7a8490;
    font-size: 11px;
}

.fee-row sup {
    color: var(--green);
    font-weight: 900;
}

.fee-row > strong {
    color: var(--text);
    font-size: 20px;
    line-height: 1;
    white-space: nowrap;
}

.fee-row > strong small {
    margin-left: 3px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.fee-list-dark {
    margin-top: 30px;
}

.fee-list-dark .fee-row {
    border-color: rgba(255,255,255,.11);
}

.fee-list-dark .fee-row > span {
    color: rgba(255,255,255,.72);
}

.fee-list-dark .fee-row > strong {
    color: #fff;
}

.fee-list-dark .fee-row > strong small {
    color: rgba(255,255,255,.55);
}

.fee-list-dark .fee-row sup {
    color: #91c56b;
}

.fee-row-total {
    margin-top: 4px;
    padding-top: 18px;
    border-bottom: 0;
}

.fee-row-total > span {
    font-weight: 850;
}

.fee-row-total > strong {
    color: var(--green);
    font-size: 28px;
}

.fee-list-dark .fee-row-total > strong {
    color: #76b74f;
    font-size: 31px;
}

.fee-card-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-top: auto;
    padding-top: 22px;
}

.fee-card-bottom p {
    margin: 0;
    color: rgba(255,255,255,.44);
    font-size: 9px;
}

.fee-card-bottom button {
    min-width: 155px;
    height: 43px;
    padding: 0 20px;
    color: #fff;
    border-radius: 5px;
    background: var(--green);
    cursor: pointer;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    transition: transform .2s ease, box-shadow .2s ease;
}

.fee-card-bottom button:hover,
.price-info-strip button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(53,123,46,.24);
}

.fees-side {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 16px;
}

.fee-card-exam {
    min-height: 275px;
    padding: 28px 30px 18px;
}

.fee-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--green);
    border-radius: 14px;
    background: var(--green-pale);
    font-size: 19px;
    font-weight: 900;
}

.fee-card-exam .fee-list {
    margin-top: 17px;
}

.fee-card-exam .fee-row {
    min-height: 58px;
    padding-block: 10px;
}

.fee-card-exam .fee-row-total {
    margin-top: 0;
    padding-top: 12px;
}

.fee-card-aid {
    min-height: 138px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 23px 26px;
    border-color: rgba(53,123,46,.15);
    background:
        linear-gradient(135deg, #f5f9f2 0%, #edf5e9 100%);
}

.aid-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 16px;
    background: var(--green);
    font-size: 28px;
    font-weight: 500;
    box-shadow: 0 10px 24px rgba(53,123,46,.18);
}

.aid-copy h3 {
    margin: 0 0 4px;
    font-size: 18px;
    line-height: 1.2;
}

.aid-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

.aid-price {
    color: var(--green-dark);
    font-size: 25px;
    white-space: nowrap;
}

.price-info-strip {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 18px;
    padding: 13px 16px 13px 22px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: rgba(255,255,255,.82);
}

.price-info-strip > div {
    display: flex;
    align-items: center;
    gap: 13px;
}

.price-info-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    color: var(--green);
    border-radius: 50%;
    background: var(--green-pale);
    font-family: Georgia, serif;
    font-weight: 900;
}

.price-info-strip p {
    max-width: 750px;
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}

.price-info-strip button {
    height: 40px;
    padding: 0 19px;
    color: #fff;
    border-radius: 5px;
    background: var(--green);
    cursor: pointer;
    font-size: 9px;
    font-weight: 900;
    white-space: nowrap;
    text-transform: uppercase;
    transition: transform .2s ease, box-shadow .2s ease;
}

@media (max-width: 900px) {
    .fees-layout {
        grid-template-columns: 1fr;
    }

    .fee-card-course {
        min-height: 390px;
    }
}

@media (max-width: 560px) {
    .fee-card-course,
    .fee-card-exam {
        padding: 24px 20px;
        border-radius: 19px;
    }

    .fee-card-head {
        gap: 12px;
    }

    .fee-card h3 {
        font-size: 22px;
    }

    .fee-row {
        min-height: 68px;
        gap: 10px;
    }

    .fee-row > span {
        font-size: 12px;
    }

    .fee-row > strong {
        font-size: 17px;
    }

    .fee-list-dark .fee-row-total > strong {
        font-size: 24px;
    }

    .fee-card-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .fee-card-bottom button {
        width: 100%;
    }

    .fee-card-aid {
        grid-template-columns: 46px 1fr;
        gap: 13px;
        padding: 20px;
    }

    .aid-icon {
        width: 44px;
        height: 44px;
    }

    .aid-price {
        grid-column: 2;
        font-size: 23px;
    }

    .price-info-strip {
        align-items: stretch;
        flex-direction: column;
        padding: 18px;
    }

    .price-info-strip button {
        width: 100%;
    }
}


/* ///// KAPCSOLAT – TANFOLYAMVÁLASZTÁS NEM KÖTELEZŐ ///// */
.optional-label {
    color: var(--green);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}


/* =========================================================
   ÍRÁSOS TÁJÉKOZTATÓ
   ========================================================= */

.footer-info-link {
    color: #98c77b !important;
    font-weight: 800;
}

.written-info-trigger {
    width: 100%;
    min-height: 70px;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding: 12px 15px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    cursor: pointer;
    text-align: left;
    transition:
        transform .22s ease,
        background .22s ease,
        border-color .22s ease;
}

.written-info-trigger:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.38);
    background: rgba(255,255,255,.14);
}

.written-info-trigger-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--green-dark);
    border-radius: 50%;
    background: #fff;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 900;
}

.written-info-trigger > span:nth-child(2) {
    display: grid;
    gap: 2px;
}

.written-info-trigger small {
    color: rgba(255,255,255,.58);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.written-info-trigger strong {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
}

.written-info-trigger b {
    font-size: 20px;
    font-weight: 500;
}

/* A Rólunk zöld kártyája a CTA miatt rugalmas oszlop. */
.about-layout .large-card.green-card {
    display: flex;
    flex-direction: column;
}

.info-modal {
    z-index: 360;
}

.info-modal-card {
    position: relative;
    z-index: 2;
    width: min(960px, 100%);
    max-height: min(86vh, 820px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 35px 110px rgba(6,16,28,.38);
    transform: translateY(24px) scale(.985);
    transition: transform .32s var(--ease);
}

.info-modal.is-open .info-modal-card {
    transform: translateY(0) scale(1);
}

.info-modal-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 72px 20px 28px;
    border-bottom: 1px solid #e9ece8;
    background:
        radial-gradient(circle at 90% 0%, rgba(53,123,46,.09), transparent 35%),
        #fff;
}

.info-modal-heading {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-modal-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--green), var(--green-dark));
    font-size: 22px;
    font-weight: 950;
    box-shadow: 0 10px 25px rgba(53,123,46,.22);
}

.info-modal-header h2 {
    margin: 3px 0 0;
    color: var(--text);
    font-size: clamp(24px, 3vw, 36px);
    letter-spacing: -.035em;
}

.info-modal-close {
    top: 22px;
    right: 24px;
}

.info-modal-scroll {
    min-height: 0;
    overflow-y: auto;
    padding: 0 34px 34px;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(53,123,46,.35) transparent;
}

.info-document-intro {
    margin: 0 -34px 30px;
    padding: 18px 34px;
    border-bottom: 1px solid #edf0ec;
    background: #f7faf5;
}

.info-document-intro p {
    max-width: 760px;
    margin: 0;
    color: #65706c;
    font-size: 13px;
    line-height: 1.55;
}

.written-info-content {
    max-width: 820px;
    margin: 0 auto;
    color: #34404d;
}

.written-info-section {
    padding: 0 0 26px;
    margin: 0 0 26px;
    border-bottom: 1px solid #e9ede8;
}

.written-info-section:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.written-info-content h3 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 22px;
    line-height: 1.2;
}

.written-info-content h4 {
    margin: 22px 0 9px;
    color: var(--green-dark);
    font-size: 16px;
}

.written-info-content p,
.written-info-content li {
    color: #515c68;
    font-size: 13px;
    line-height: 1.72;
}

.written-info-content p {
    margin: 0 0 14px;
}

.written-info-content ul,
.written-info-content ol {
    display: grid;
    gap: 7px;
    padding-left: 22px;
}

.written-info-content strong {
    color: var(--text);
}

.info-modal-footer {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 26px;
    border-top: 1px solid #e8ece7;
    background: #fafbf9;
}

.info-modal-footer span {
    color: #8a938e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.info-modal-footer button {
    min-width: 118px;
    height: 38px;
    color: #fff;
    border-radius: 5px;
    background: var(--green);
    cursor: pointer;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

@media (max-width: 620px) {
    .info-modal {
        padding: 10px;
    }

    .info-modal-card {
        max-height: 92vh;
        border-radius: 16px;
    }

    .info-modal-header {
        padding: 18px 58px 16px 18px;
    }

    .info-modal-mark {
        width: 40px;
        height: 40px;
        border-radius: 11px;
        font-size: 18px;
    }

    .info-modal-close {
        top: 17px;
        right: 14px;
    }

    .info-modal-scroll {
        padding: 0 19px 25px;
    }

    .info-document-intro {
        margin: 0 -19px 23px;
        padding: 15px 19px;
    }

    .written-info-content h3 {
        font-size: 19px;
    }

    .info-modal-footer {
        padding-inline: 18px;
    }

    .info-modal-footer span {
        display: none;
    }

    .info-modal-footer button {
        width: 100%;
    }
}


/* =========================================================
   RÓLUNK – MUTATÓSZÁMOK
   Az Átláthatóság kártyát a szerkeszthető statisztikai tábla váltja.
   ========================================================= */

.about-metrics-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start;
}

.about-metrics-layout .compact-about-card {
    min-height: 142px;
    padding: 21px 19px;
}

.about-metrics-layout .compact-about-card b {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.about-metrics-layout .compact-about-card h3 {
    margin-top: 17px;
    font-size: 17px;
}

.about-metrics-layout .compact-about-card p {
    font-size: 11px;
}

.metrics-card {
    grid-column: 1 / -1;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(18,33,50,.07);
}

.metrics-card-head {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 17px 12px;
    border-bottom: 1px solid #e8ece7;
    background:
        linear-gradient(90deg, #f6faf3 0%, #fff 70%);
}

.metrics-card-head > div {
    min-width: 0;
}

.metrics-card-head span:first-child {
    display: block;
    margin-bottom: 3px;
    color: var(--green);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.metrics-card-head h3 {
    margin: 0;
    color: var(--text);
    font-size: 16px;
    line-height: 1.15;
    text-transform: uppercase;
}

.metrics-badge {
    flex: 0 0 auto;
    padding: 7px 9px;
    color: var(--green-dark) !important;
    border-radius: 999px;
    background: var(--green-pale);
    font-size: 8px !important;
    font-weight: 900;
    letter-spacing: .07em !important;
}

.metrics-table-scroll {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(53,123,46,.30) transparent;
}

.metrics-table {
    width: 100%;
    min-width: 710px;
    border-collapse: collapse;
    table-layout: fixed;
}

.metrics-table th,
.metrics-table td {
    padding: 10px 9px;
    border-right: 1px solid #e8ece7;
    border-bottom: 1px solid #e8ece7;
    vertical-align: middle;
}

.metrics-table tr:last-child th,
.metrics-table tr:last-child td {
    border-bottom: 0;
}

.metrics-table th:last-child,
.metrics-table td:last-child {
    border-right: 0;
}

.metrics-table thead th {
    color: var(--green-dark);
    background: #fbfcfa;
    font-size: 9px;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
}

.metrics-table thead th:first-child {
    width: 36%;
    text-align: left;
}

.metrics-table tbody th {
    width: 36%;
    color: #34404d;
    background: #fbfcfb;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.3;
    text-align: left;
}

.metrics-table tbody td {
    color: var(--text);
    font-size: 11px;
    font-weight: 900;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 1180px) {
    .about-metrics-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-metrics-layout .compact-about-card:nth-child(3) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .about-metrics-layout {
        grid-template-columns: 1fr;
    }

    .about-metrics-layout .compact-about-card:nth-child(3) {
        grid-column: auto;
    }

    .metrics-card-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .metrics-table {
        min-width: 680px;
    }
}


/* =========================================================
   KAPCSOLATI ŰRLAP – VALÓDI E-MAIL KÜLDÉS
   ========================================================= */

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.contact-form > button:disabled {
    cursor: wait;
    opacity: .68;
}

.form-note {
    min-height: 16px;
}

.toast.is-success {
    background: #173f21;
}

.toast.is-error {
    background: #8f2f2f;
}


/* =========================================================
   ADATKEZELÉSI TÁJÉKOZTATÓ – PDF LINKEK
   ========================================================= */

.consent a {
    color: var(--green);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.consent a:hover {
    color: var(--green-dark);
}

.footer-links .footer-privacy-link {
    width: fit-content;
    padding: 0;
    color: #98c77b;
    background: transparent;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
}

.footer-links .footer-privacy-link:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}


/* =========================================================
   FRISSÍTÉS 004B – LÁBLÉC FINOMHANGOLÁS
   ========================================================= */

.site-footer {
    grid-template-columns: minmax(200px, 1fr) minmax(270px, 1.15fr) minmax(320px, 1.35fr) 52px;
    gap: 34px;
    padding: 14px 72px;
}

.footer-brand img {
    width: 185px;
}

.footer-contact {
    gap: 8px;
}

.footer-contact span {
    font-size: 14px;
    line-height: 1.55;
}

.footer-links {
    align-self: start;
}

.footer-links p {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-links > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(135px, max-content));
    gap: 10px 26px;
    align-items: start;
}

.footer-links button,
.footer-links a,
.footer-links .footer-info-link,
.footer-links .footer-privacy-link {
    width: fit-content;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.footer-links button,
.footer-links a,
.footer-links .footer-info-link {
    color: rgba(255,255,255,.92);
}

.footer-links .footer-privacy-link {
    color: #98c77b;
}

.footer-links button:hover,
.footer-links a:hover,
.footer-links .footer-info-link:hover,
.footer-links .footer-privacy-link:hover {
    color: #9ad16d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.social-button {
    align-self: center;
    justify-self: end;
}

@media (max-width: 1080px) {
    .site-footer {
        grid-template-columns: 1fr 1fr;
        gap: 24px 38px;
        padding: 18px 28px;
    }

    .social-button {
        justify-self: start;
    }
}

@media (max-width: 680px) {
    .site-footer {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .footer-links > div {
        grid-template-columns: 1fr 1fr;
        gap: 8px 18px;
    }
}

@media (max-width: 520px) {
    .footer-links > div {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   FRISSÍTÉS 005 – RÓLUNK / OKTATÓINK
   ========================================================= */

.about-metrics-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    align-content: start;
}

.instructors-card {
    grid-column: 1 / -1;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(18,33,50,.07);
}

.instructors-card-head {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 17px 11px;
    border-bottom: 1px solid #e8ece7;
    background: linear-gradient(90deg, #f6faf3 0%, #fff 72%);
}

.instructors-card-head > div {
    min-width: 0;
}

.instructors-card-head > div > span {
    display: block;
    margin-bottom: 2px;
    color: var(--green);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.instructors-card-head h3 {
    margin: 0;
    color: var(--text);
    font-size: 16px;
    line-height: 1.15;
}

.instructors-count {
    flex: 0 0 auto;
    padding: 7px 10px;
    color: var(--green-dark);
    border-radius: 999px;
    background: var(--green-pale);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.instructor-item {
    min-width: 0;
    min-height: 76px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 11px 14px;
    border-right: 1px solid #e8ece7;
    border-bottom: 1px solid #e8ece7;
}

.instructor-item:nth-child(3n) {
    border-right: 0;
}

.instructor-item:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.instructor-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--green);
    border-radius: 50%;
    background: var(--green-pale);
}

.instructor-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.instructor-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.instructor-copy > strong {
    overflow: hidden;
    color: var(--text);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.instructor-copy > a {
    width: fit-content;
    color: #536171;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.25;
    text-decoration: none;
}

.instructor-copy > a:hover {
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.instructor-car {
    display: flex;
    min-width: 0;
    align-items: baseline;
    gap: 5px;
    overflow: hidden;
    color: #657264;
    font-size: 9px;
    font-weight: 650;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.instructor-car b {
    flex: 0 0 auto;
    color: var(--green);
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@media (max-width: 1180px) {
    .instructors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .instructor-item:nth-child(3n) {
        border-right: 1px solid #e8ece7;
    }

    .instructor-item:nth-child(2n) {
        border-right: 0;
    }

    .instructor-item:nth-last-child(-n + 3) {
        border-bottom: 1px solid #e8ece7;
    }

    .instructor-item:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
}

@media (max-width: 700px) {
    .instructors-card-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .instructors-grid {
        grid-template-columns: 1fr;
    }

    .instructor-item,
    .instructor-item:nth-child(2n),
    .instructor-item:nth-child(3n) {
        border-right: 0;
    }

    .instructor-item:nth-last-child(-n + 2) {
        border-bottom: 1px solid #e8ece7;
    }

    .instructor-item:last-child {
        border-bottom: 0;
    }
}


/* =========================================================
   FRISSÍTÉS 006 – ÍRÁSOS TÁJÉKOZTATÓ PDF
   ========================================================= */

a.written-info-trigger {
    text-decoration: none;
}

.footer-links .footer-document-link {
    color: #98c77b;
    font-weight: 800;
    text-decoration: none;
}

.footer-links .footer-document-link:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* FRISSÍTÉS 006C – az Írásos tájékoztató kizárólag PDF-ként nyílik meg. */


/* =========================================================
   FRISSÍTÉS 006D – ÍRÁSOS PDF KATTINTHATÓSÁG
   ========================================================= */

[data-written-info-pdf] {
    position: relative;
    z-index: 5;
    pointer-events: auto !important;
}

a.written-info-trigger,
.footer-links a.footer-document-link {
    cursor: pointer !important;
}
