/* Külön tartalmi oldalak: a főoldal világos, műszaki arculatának folytatása. */
.main-navigation a[aria-current="page"]:not(.partner-link) {
    color: var(--green-text);
    border-color: #c5d6b0;
    background: var(--green-soft);
}
.main-navigation a[aria-current="page"]:not(.partner-link)::after {
    transform: scaleX(1);
}
.main-navigation .partner-link[aria-current="page"] {
    border-color: #7da947;
}
.site-footer nav {
    flex-wrap: wrap;
    gap: 8px 24px;
}
.subpage {
    padding-bottom: 72px;
    animation: page-arrival 450ms cubic-bezier(.22, 1, .36, 1) both;
}
.page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
    align-items: center;
    gap: clamp(32px, 6vw, 80px);
    padding-block: 72px;
}
.page-heading {
    padding-block: 64px 40px;
}
.subpage h1 {
    margin: 0 0 24px;
    max-width: 22ch;
    font-size: clamp(38px, 4.3vw, 62px);
    line-height: 1.08;
}
.page-lead {
    max-width: 58ch;
    color: var(--muted);
    font-size: clamp(19px, 1.8vw, 23px);
    line-height: 1.6;
}
.page-intro-copy {
    margin-top: 20px;
    max-width: 60ch;
    color: var(--muted);
}
.page-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 30px;
}
.page-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 6px 0;
    border: 0;
    background: none;
    color: var(--green-text);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.about-copy .page-text-link {
    margin-top: 18px;
}
.page-text-link .ui-icon {
    transition: transform 280ms ease;
}
.page-text-link:hover .ui-icon:last-child {
    transform: translateX(3px);
}
.page-section {
    padding-block: 32px 48px;
}
.page-section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}
.page-section-heading > p:not(.eyebrow),
.strength-card p,
.process-grid p,
.page-faq-section > div > p:not(.eyebrow) {
    color: var(--muted);
}
.page-icon {
    display: inline-grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid #d4e2c4;
    border-radius: 12px;
    background: #f0f6e8;
    color: var(--green-text);
}
.page-icon .ui-icon {
    width: 24px;
    height: 24px;
}
.capability-map {
    padding: 28px;
    border: 1px solid #d1ddc7;
    border-radius: 24px;
    background: linear-gradient(145deg, #fff, #f1f6ea);
    box-shadow: 0 18px 50px #243d1608;
}
.map-label {
    display: block;
    margin-bottom: 24px;
    color: #57684b;
    font-size: 13px;
    letter-spacing: .04em;
}
.capability-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid #dfe6d8;
    text-decoration: none;
    transition: background-color 280ms ease, color 280ms ease;
}
.capability-item:hover {
    background: #eaf2df;
    color: var(--green-text);
}
.capability-item strong {
    flex: 1;
    font-size: 19px;
}
.capability-item > .ui-icon {
    color: #6f8d4d;
}
.capability-map > p {
    margin-top: 18px;
    color: var(--muted);
    font-size: 15px;
}
.automation-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    align-items: center;
    gap: 48px;
    padding: 40px;
    border: 1px solid #d6e1cb;
    border-radius: 24px;
    background: linear-gradient(120deg, #f0f5e8, #fcfdfb);
}
.automation-panel > div > p:not(.eyebrow) {
    color: var(--muted);
}
.page-checklist {
    display: grid;
    gap: 14px;
    margin: 24px 0 28px;
    padding: 0;
    list-style: none;
}
.page-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.page-checklist .ui-icon {
    margin-top: 5px;
    color: var(--green);
}
.workflow-visual {
    display: grid;
    justify-items: center;
}
.workflow-visual > div {
    display: grid;
    justify-items: center;
    gap: 6px;
    width: 100%;
    padding: 20px;
    border: 1px solid #d4ddcc;
    border-radius: 16px;
    background: #fff;
    text-align: center;
}
.workflow-visual .ui-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 6px;
    color: var(--green-text);
}
.workflow-visual span:not(.workflow-connector) {
    color: var(--muted);
    font-size: 14px;
}
.workflow-visual .workflow-core {
    border-color: #a7c57f;
    background: #eaf3dc;
}
.workflow-connector {
    position: relative;
    width: 1px;
    height: 30px;
    background: #b2c599;
}
.workflow-connector::after {
    content: "";
    position: absolute;
    left: -3px;
    top: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #679a29;
    animation: workflow-pulse 3s ease-in-out infinite;
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.process-grid li {
    padding-top: 20px;
    border-top: 1px solid #c4d4b3;
}
.step-number {
    display: block;
    margin-bottom: 20px;
    color: #476b28;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em;
}
.process-grid h3 {
    font-size: 23px;
}
.page-faq-section {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 64px;
}
.page-faq {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}
.page-faq > summary {
    padding: 20px;
    gap: 16px;
    font-size: 18px;
    color: var(--ink);
}
.page-faq > p {
    padding: 0 20px 24px;
    color: var(--muted);
}
.page-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 36px;
    padding: 32px;
    border: 1px solid #cdddc0;
    border-radius: 20px;
    background: #eef4e7;
}
.page-callout h2 {
    margin-bottom: 8px;
    font-size: clamp(25px, 2.8vw, 34px);
}
.page-callout p {
    color: var(--muted);
}
.page-callout .button {
    flex-shrink: 0;
}
.profile-card {
    overflow: hidden;
    border: 1px solid #d3ddca;
    border-radius: 24px;
    background: #fff;
}
.profile-monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 260px;
    background:
        repeating-linear-gradient(125deg, #d0d8c524 0 1px, transparent 1px 5px),
        linear-gradient(145deg, #f6f8f2, #e5edda);
    color: #345a18;
    font-size: clamp(70px, 8vw, 110px);
    font-weight: 700;
    letter-spacing: -.06em;
}
.profile-monogram span {
    color: #64716a;
    font-weight: 400;
}
.profile-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 440px;
    object-fit: cover;
    object-position: center 30%;
}
.profile-card-copy {
    padding: 28px;
}
.profile-card-copy > p:not(.eyebrow) {
    font-size: 22px;
    font-weight: 600;
}
.profile-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 15px;
}
.profile-facts span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.story-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 64px;
}
.career-timeline {
    display: grid;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.career-timeline li {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 20px;
}
.career-timeline li > span {
    color: var(--green-text);
    font-weight: 700;
    font-size: 20px;
}
.career-timeline li > div {
    padding: 0 0 24px 24px;
    border-left: 2px solid #d7e3ca;
}
.career-timeline p {
    color: var(--muted);
}
.strength-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.strength-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffffd9;
}
.strength-card .page-icon {
    margin-bottom: 22px;
}
.practical-work {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 36px;
}
.practical-work > img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
}
.practical-work p:not(.eyebrow) {
    margin-bottom: 16px;
    color: var(--muted);
}
.contact-page .page-heading h1 {
    max-width: 25ch;
}
.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 64px;
    padding-block: 12px 32px;
}
.contact-person {
    padding-bottom: 28px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--line);
}
.contact-person h2 {
    margin: 18px 0 10px;
    font-size: 30px;
}
.contact-person > p,
.contact-context .page-checklist {
    color: var(--muted);
}
.contact-person .contact-direct {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    color: var(--green-text);
    font-weight: 600;
}
.contact-next {
    padding: 24px;
    border-left: 3px solid #7ba546;
    background: #f0f5e9;
}
.contact-next > p:last-child {
    color: var(--muted);
}
.contact-inline {
    padding: 36px;
    border: 1px solid #d0dcc5;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 40px #25381808;
}
.contact-inline > p:not(.eyebrow) {
    color: var(--muted);
}
.contact-inline label,
.partner-login label {
    display: block;
    margin: 18px 0 6px;
    font-weight: 600;
    font-size: 16px;
}
.contact-inline input,
.contact-inline select,
.contact-inline textarea,
.partner-login input {
    width: 100%;
    padding: 12px;
    border: 1px solid #acbaa3;
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    font-size: 17px;
}
.contact-inline textarea {
    min-height: 180px;
    resize: vertical;
}
.contact-inline .contact-note {
    font-size: 14px;
}
.contact-inline button:disabled {
    opacity: .6;
    cursor: wait;
}
.contact-retry {
    margin-top: 12px;
    padding: 8px 16px;
    border: 1px solid #a9be96;
    border-radius: 8px;
    background: #f1f6e9;
    color: var(--green-text);
}
.contact-retry[hidden] {
    display: none;
}
/* A prototípus két fele egyetlen panelt alkot; a logó saját háttere lágyan simul a sötét felületbe. */
.partner-page {
    padding-block: 32px 64px;
}
.partner-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #dce2d8;
    border-radius: 24px;
    background: #fcfdfb;
    box-shadow: 0 18px 56px #26382508;
}
.partner-story {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    background: #1b2226;
    color: #fbfcfa;
}
.partner-story-copy {
    position: relative;
    z-index: 1;
    padding: clamp(32px, 4vw, 56px);
    padding-bottom: 24px;
}
.partner-story .eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    color: #b4d68b;
}
.partner-story h1 {
    font-size: clamp(38px, 4vw, 56px);
    letter-spacing: -.025em;
}
.partner-story .page-lead {
    max-width: 36ch;
    margin: 0;
    color: #d0d8da;
    font-size: clamp(19px, 1.65vw, 22px);
    line-height: 1.55;
}
.partner-brand-image {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 28px;
    mask-image: linear-gradient(to bottom, transparent, #000 22%);
}
.partner-login {
    min-width: 0;
    padding: clamp(32px, 4vw, 56px);
    background: #fcfdfb;
}
.login-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}
.login-heading h2 {
    margin: 0;
    font-size: clamp(26px, 2.5vw, 34px);
    line-height: 1.15;
}
.login-lock {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    height: 36px;
    margin-top: 2px;
    border: 1px solid #d1dfc2;
    border-radius: 10px;
    background: #f0f5e9;
    color: var(--green-text);
}
.login-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 22px;
    padding: 0 0 16px;
    border-bottom: 1px solid #e2e7dd;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}
.login-notice .ui-icon {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin-top: 3px;
    color: #68854d;
}
.partner-login fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.partner-login label:first-of-type {
    margin-top: 0;
}
.login-input {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-left: 14px;
    border: 1px solid #acb8b4;
    border-radius: 8px;
    background: #fff;
    color: #7b8980;
}
.login-input .ui-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}
.login-input input {
    min-width: 0;
    min-height: 50px;
    border: 0;
    background: transparent;
}
.login-input input::placeholder {
    color: #7d8782;
    opacity: 1;
}
.partner-login .button {
    width: 100%;
    margin-top: 22px;
}
.partner-login .button:disabled {
    /* A terv színvilága látható marad, az inaktív állapotot a felirat és a natív tiltás jelzi. */
    opacity: .72;
    cursor: not-allowed;
    transform: none;
}
.partner-login .page-text-link {
    font-size: 16px;
    text-align: left;
}
.login-recovery {
    margin-top: 16px;
}
.login-help {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}
.partner-invitation {
    padding: 22px 24px 16px;
    border: 1px solid #e0e8d7;
    border-radius: 14px;
    background: #f0f4eb;
}
.partner-invitation h3 {
    margin: 0 0 6px;
    font-size: 20px;
}
.partner-invitation p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.5;
}
.partner-invitation .page-text-link {
    margin-top: 6px;
}
@media (max-width: 900px) {
    .partner-page {
        padding-block: 24px 40px;
    }
    .partner-layout {
        grid-template-columns: minmax(0, 1fr);
        border-radius: 18px;
    }
    .partner-story-copy {
        padding: 30px 28px 0;
    }
    .partner-story .eyebrow {
        margin-bottom: 16px;
        font-size: 12px;
    }
    .partner-story h1 {
        margin-bottom: 16px;
        font-size: 38px;
    }
    .partner-story .page-lead {
        max-width: 46ch;
        font-size: 18px;
    }
    .partner-brand-image {
        width: min(100%, 440px);
        align-self: center;
        margin-top: 0;
    }
    .partner-login {
        padding: 30px 28px;
    }
}
@media (max-width: 380px) {
    .partner-story-copy {
        padding-inline: 20px;
    }
    .partner-login {
        padding: 28px 20px;
    }
    .partner-story h1 {
        font-size: 34px;
    }
    .login-heading {
        gap: 10px;
    }
    .login-heading h2 {
        font-size: 25px;
    }
    .partner-invitation {
        padding: 18px 16px 12px;
    }
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
@keyframes page-arrival {
    from {
        opacity: .4;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes workflow-pulse {
    0%, 15% {
        transform: translateY(0);
        opacity: 0;
    }
    35% {
        opacity: 1;
    }
    85%, 100% {
        transform: translateY(24px);
        opacity: 0;
    }
}
@media (max-width: 1000px) {
    .page-hero {
        gap: 32px;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    }
    .automation-panel {
        gap: 28px;
        padding: 28px;
    }
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .contact-page-grid,
    .page-faq-section,
    .story-grid {
        gap: 32px;
    }

}
@media (max-width: 760px) {
    .page-hero,
    .contact-page-grid,
    .page-faq-section,
    .story-grid,
    .practical-work,
    .automation-panel {
        grid-template-columns: minmax(0, 1fr);
    }
    .page-hero {
        padding-block: 40px;
    }
    .page-heading {
        padding-top: 40px;
    }
    .subpage {
        padding-bottom: 44px;
    }
    .page-section {
        padding-block: 24px 32px;
    }
    .page-callout {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
    }
    .profile-card {
        max-width: 480px;
    }
    .profile-monogram {
        min-height: 200px;
    }
    .contact-context {
        order: 2;
    }
}
@media (max-width: 480px) {
    .process-grid,
    .strength-grid,
    .contact-inline .form-row {
        grid-template-columns: minmax(0, 1fr);
    }
    .capability-map,
    .automation-panel,
    .strength-card,
    .contact-inline {
        padding: 24px 20px;
    }
    .page-actions .button {
        width: 100%;
    }
    .career-timeline li {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 14px;
    }
    .career-timeline li > div {
        padding-left: 18px;
    }
    .page-faq > summary {
        font-size: 17px;
        padding: 16px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .subpage,
    .workflow-connector::after {
        animation: none;
    }
    .page-text-link .ui-icon {
        transition: none;
    }
}
