/* ===== Főoldal ===== */
.tosoky-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.tosoky-container--narrow {
    max-width: 820px;
}
.tosoky-hero {
    background-color: #203440;
    padding: 90px 0 60px;
}
.tosoky-hero__title {
    color: #ffffff;
    text-align: center;
    font-size: 44px;
    font-weight: 600;
    margin: 0;
}
.tosoky-intro {
    padding: 60px 0;
}
.tosoky-intro p {
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 18px;
}
.tosoky-signature {
    text-align: right !important;
}
.tosoky-disclaimer {
    font-size: 14px;
    color: #666666;
}
.tosoky-cta-buttons {
    padding: 0 0 60px;
}
.tosoky-buttons-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.tosoky-btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: #ffffff;
    color: #203440;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #203440;
    transition: background-color .2s, color .2s;
}
.tosoky-btn:hover {
    background-color: #203440;
    color: #ffffff;
}


/* ===== Szakterületek ===== */
.tosoky-toggles {
    padding: 20px 0 60px;
}
.tosoky-toggle-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.tosoky-toggle-row--three {
    grid-template-columns: 1fr 1fr 1fr;
}
.tosoky-toggle {
    border: 2px solid #eeeeee;
    padding: 4px 20px;
}
.tosoky-toggle__summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 0;
    font-weight: 600;
    color: #666666;
    position: relative;
}
.tosoky-toggle__summary::-webkit-details-marker {
    display: none;
}
.tosoky-toggle__summary::after {
    content: "+";
    position: absolute;
    right: 0;
    font-weight: 400;
    font-size: 20px;
}
.tosoky-toggle[open] .tosoky-toggle__summary::after {
    content: "–";
}
.tosoky-toggle__body {
    padding-bottom: 16px;
}
.tosoky-toggle__body p {
    margin: 0 0 10px;
    line-height: 1.6;
}
.tosoky-btn--accent:hover {
    background-color: #42BD69 !important;
    border-color: #42BD69 !important;
    color: #ffffff !important;
}

@media (max-width: 900px) {
    .tosoky-toggle-row,
    .tosoky-toggle-row--three {
        grid-template-columns: 1fr;
    }
}

/* ===== Dr. Tósoky Balázs ===== */
.tosoky-bio {
    padding: 60px 0;
}


.tosoky-bio__list {
    list-style: disc;
    margin: 0 0 30px;
    padding: 0 0 0 22px;
}
.tosoky-bio__list li {
    line-height: 1.6;
    padding: 12px 0;
    border-bottom: 1px solid #eeeeee;
}
.tosoky-bio__list li::marker {
    color: #203440;
}

.tosoky-bio__languages {
    font-style: italic;
    color: #666666;
    font-size: 18px;
}

/* ===== Kapcsolat ===== */
.tosoky-contact-info {
    padding: 60px 0;
}
.tosoky-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}
.tosoky-info-card {
    border: 2px solid #eeeeee;
    padding: 30px 20px;
    text-align: center;
}
.tosoky-info-card__icon {
    margin-bottom: 12px;
}
.tosoky-info-card__title {
    color: #666666;
    font-weight: 600;
    margin: 0 0 10px;
}
.tosoky-info-card__text {
    margin: 0;
    line-height: 1.5;
}
.tosoky-info-card__text a {
    color: #203440;
    text-decoration: none;
}
.tosoky-info-card__text a:hover {
    text-decoration: underline;
}
.tosoky-contact-form-section {
    background-color: #eeeeee;
    padding: 50px 0 60px;
}
.tosoky-contact-form-title {
    text-align: center;
    color: #666666;
    font-weight: 600;
    margin: 0 0 30px;
}

@media (max-width: 900px) {
    .tosoky-info-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== Kapcsolati űrlap ===== */
.tosoky-contact-form {
    background-color: #ffffff;
    padding: 30px;
    border: 2px solid #eeeeee;
}
.tosoky-hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
}
.tosoky-form-row {
    margin-bottom: 18px;
}
.tosoky-form-row label {
    display: block;
    font-weight: 600;
    color: #666666;
    margin-bottom: 6px;
}
.tosoky-form-row input,
.tosoky-form-row textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #eeeeee;
    font-family: inherit;
    font-size: 16px;
    box-sizing: border-box;
}
.tosoky-form-row input:focus,
.tosoky-form-row textarea:focus {
    outline: none;
    border-color: #203440;
}
.tosoky-form-submit {
    width: 100%;
    border: 2px solid #203440;
    cursor: pointer;
    font-size: 16px;
}
.tosoky-form-feedback {
    margin-top: 16px;
    font-weight: 600;
}
.tosoky-form-feedback--success {
    color: #2e7d32;
}
.tosoky-form-feedback--error {
    color: #c62828;
}


/* ===== Nyelvváltó (header sorban, nem fixed overlay) ===== */
.tosoky-lang-switcher {
    position: relative;
    font-family: inherit;
}
.tosoky-lang-switcher__current {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 2px solid #203440;
    padding: 6px 12px;
    cursor: pointer;
    font-weight: 600;
    color: #203440;
    font-size: 14px;
}
.tosoky-lang-flag svg {
    width: 20px;
    height: 14px;
    display: block;
    border-radius: 2px;
}
.tosoky-lang-arrow {
    font-size: 10px;
}
.tosoky-lang-switcher__list {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    background: #ffffff;
    border: 2px solid #203440;
    position: absolute;
    right: 0;
    min-width: 100%;
}
.tosoky-lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #203440;
    text-align: left;
}
.tosoky-lang-option:hover {
    background-color: #eeeeee;
}

@media (max-width: 600px) {
    .tosoky-lang-switcher__current {
        padding: 5px 9px;
    }
}

/* ===== Design tokens (header/footer) ===== */
:root {
    --tosoky-navy: #203440;
    --tosoky-white: #ffffff;
    --tosoky-gray-light: #eeeeee;
    --tosoky-gray-text: #666666;
    --tosoky-border: #e2e5e8;
}

/* ===== Skip link (a11y) ===== */
.tosoky-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--tosoky-navy);
    color: var(--tosoky-white);
    padding: 12px 20px;
    z-index: 1000;
    text-decoration: none;
}
.tosoky-skip-link:focus {
    left: 12px;
    top: 12px;
}

/* ===== Header ===== */
.tosoky-header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: var(--tosoky-white);
}

.tosoky-header__topbar {
    background: var(--tosoky-navy);
    overflow: hidden;
    max-height: 40px;
    transition: max-height .25s ease, opacity .2s ease;
}
.tosoky-header.is-scrolled .tosoky-header__topbar {
    max-height: 0;
    opacity: 0;
}
.tosoky-header__topbar-inner {
    display: flex;
    justify-content: flex-end;
    gap: 28px;
    padding: 9px 24px;
}
.tosoky-header__topbar-inner a {
    color: var(--tosoky-white);
    font-size: 13px;
    text-decoration: none;
    letter-spacing: .02em;
}
.tosoky-header__topbar-inner a:hover {
    text-decoration: underline;
}

.tosoky-header__main {
    border-bottom: 1px solid var(--tosoky-border);
    transition: box-shadow .25s ease;
}
.tosoky-header.is-scrolled .tosoky-header__main {
    box-shadow: 0 4px 14px rgba(32, 52, 64, .08);
}

.tosoky-header__main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 20px 24px;
    transition: padding .25s ease;
}
.tosoky-header.is-scrolled .tosoky-header__main-inner {
    padding: 12px 24px;
}

.tosoky-header__logo img {
    display: block;
    height: 58px;
    width: auto;
    transition: height .25s ease;
}
.tosoky-header.is-scrolled .tosoky-header__logo img {
    height: 42px;
}

.tosoky-nav__list {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.tosoky-nav__list a {
    position: relative;
    display: inline-block;
    padding: 6px 0;
    color: var(--tosoky-navy);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
}
.tosoky-nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--tosoky-navy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}
.tosoky-nav__list a:hover::after,
.tosoky-nav__list a:focus-visible::after,
.tosoky-nav__list li.current-menu-item > a::after {
    transform: scaleX(1);
}

.tosoky-header__actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* ===== Hamburger (csak mobil) ===== */
.tosoky-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.tosoky-hamburger span {
    display: block;
    height: 2px;
    background: var(--tosoky-navy);
    transition: transform .2s ease, opacity .2s ease;
}
.tosoky-hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.tosoky-hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.tosoky-hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Mobil menü panel ===== */
.tosoky-mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--tosoky-white);
    z-index: 900;
    padding: 96px 24px 40px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}
.tosoky-mobile-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.tosoky-mobile-menu__list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.tosoky-mobile-menu__list a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--tosoky-gray-light);
    color: var(--tosoky-navy);
    text-decoration: none;
    font-size: 19px;
    font-weight: 600;
}
@media (max-width: 980px) {
    .tosoky-nav { display: none; }
    .tosoky-hamburger { display: flex; }
    .tosoky-header__topbar-inner { justify-content: center; gap: 20px; }
}
@media (min-width: 981px) {
    .tosoky-mobile-menu { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .tosoky-header__topbar,
    .tosoky-header__main,
    .tosoky-header__main-inner,
    .tosoky-header__logo img,
    .tosoky-nav__list a::after,
    .tosoky-hamburger span,
    .tosoky-mobile-menu {
        transition: none !important;
    }
}

/* ===== Footer ===== */
.tosoky-footer {
    background: var(--tosoky-navy);
    padding: 28px 0;
}
.tosoky-footer__copy {
    margin: 0;
    text-align: center;
    color: var(--tosoky-white);
    font-size: 14px;
}
