/* Kontakt — klidná, ostrá a snadno skenovatelná kontaktní stránka. */

.contact-page { background: #edf4fb; }

.contact-card__icon,
.contact-help__icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    color: var(--h-brand);
    background: #e8f1fb;
}

.contact-main { padding: clamp(48px, 7vw, 88px) 0; }
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.72fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

/* Formulář zůstává bez scroll transformace a bez blur efektů. */
.contact-form-panel {
    padding: clamp(26px, 4vw, 46px);
    border: 1px solid rgba(20, 83, 158, 0.2);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(12, 25, 44, 0.08);
    filter: none;
    transform: none;
}
.contact-panel-heading { max-width: 630px; margin-bottom: 30px; }
.contact-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--h-brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.095em;
    line-height: 1.4;
    text-transform: uppercase;
}
.contact-panel-heading h2 {
    font-size: clamp(28px, 3.4vw, 39px);
    font-weight: 800;
    letter-spacing: -0.025em;
}
.contact-panel-heading p { margin-top: 10px; color: var(--h-muted); line-height: 1.65; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form .field { gap: 9px; margin-bottom: 20px; }
.contact-form .field__label { color: #18263a; font-size: 14px; font-weight: 700; }
.contact-form .field__label > span:not(.field__optional) { color: var(--h-danger); }
.contact-form .field__input {
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid #aabed5;
    border-radius: 11px;
    background: #fbfdff;
    color: #0b1728;
    font-size: 15px;
    font-weight: 500;
    box-shadow: inset 0 1px 1px rgba(12, 25, 44, 0.025);
    filter: none;
    transform: none;
}
.contact-form .field__input::placeholder { color: #718094; opacity: 1; }
.contact-form .field__input:hover { border-color: #809dbd; }
.contact-form .field__input:focus {
    border-color: var(--h-brand);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(20, 83, 158, 0.13);
}
.contact-form textarea.field__input { min-height: 176px; line-height: 1.65; }
.contact-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 6px;
    padding-top: 24px;
    border-top: 1px solid rgba(20, 83, 158, 0.12);
}
.contact-form__privacy { max-width: 330px; color: var(--h-muted); font-size: 12.5px; line-height: 1.55; }
.contact-form__privacy a {
    display: inline-block;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(20, 83, 158, 0.35);
    text-underline-offset: 3px;
}
.contact-form__submit { flex: 0 0 auto; }
.contact-form__submit .icon { width: 18px; height: 18px; }

.contact-sidebar { display: grid; gap: 16px; }
.contact-card,
.contact-help,
.contact-business {
    border: 1px solid rgba(20, 83, 158, 0.18);
    border-radius: 18px;
    background: #ffffff;
}
.contact-card { padding: 26px; box-shadow: none; }
.contact-card__icon { width: 48px; height: 48px; margin-bottom: 22px; border-radius: 14px; }
.contact-card__icon .icon { width: 23px; height: 23px; }
.contact-card h2 {
    margin: 2px 0 12px;
    font-size: clamp(19px, 2vw, 23px);
    overflow-wrap: anywhere;
}
.contact-card h2 a {
    color: var(--h-text);
    text-decoration: underline;
    text-decoration-color: rgba(20, 83, 158, 0.28);
    text-underline-offset: 5px;
}
.contact-card h2 a:hover { color: var(--h-brand); text-decoration-color: var(--h-brand); }
.contact-card p { color: var(--h-muted); font-size: 14px; line-height: 1.65; }
/* Doplňková adresa (GDPR) — oddělená linkou, ať nepřebije hlavní kontakt. */
.contact-card .contact-card__note {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--h-line);
    font-size: 13px;
    line-height: 1.6;
}
.contact-card__note a {
    color: var(--h-brand);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(20, 83, 158, 0.35);
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}
.contact-card__note a:hover { text-decoration-color: var(--h-brand); }
.contact-help {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 20px;
    color: var(--h-text);
    transition: border-color 0.2s var(--h-ease), box-shadow 0.2s var(--h-ease), background-color 0.2s var(--h-ease);
}
.contact-help:hover {
    border-color: rgba(20, 83, 158, 0.38);
    background: #fafdff;
    color: var(--h-text);
    box-shadow: 0 10px 28px rgba(12, 25, 44, 0.06);
}
.contact-help__icon { width: 40px; height: 40px; border-radius: 11px; }
.contact-help__icon .icon { width: 19px; height: 19px; }
.contact-help__copy strong,
.contact-help__copy small { display: block; }
.contact-help__copy strong { margin-bottom: 4px; font-size: 14px; line-height: 1.4; }
.contact-help__copy small {
    display: -webkit-box;
    overflow: hidden;
    color: var(--h-muted);
    font-size: 12.5px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.contact-help__arrow {
    width: 17px;
    height: 17px;
    color: var(--h-brand);
    transition: transform 0.2s var(--h-ease);
}
.contact-help:hover .contact-help__arrow { transform: translateX(3px); }
.contact-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-socials a {
    padding: 7px 12px;
    border: 1px solid rgba(20, 83, 158, 0.18);
    border-radius: 999px;
    background: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
}
.contact-business { overflow: hidden; }
.contact-business > summary { min-height: 62px; padding: 17px 20px; font-size: 14px; font-weight: 750; }
.contact-business > summary::after { width: 25px; height: 25px; font-size: 16px; }
.contact-business__body {
    padding: 0 20px 21px;
    border-top: 1px solid transparent;
    color: var(--h-muted);
    font-size: 13px;
    line-height: 1.65;
}
.contact-business[open] .contact-business__body {
    padding-top: 18px;
    border-top-color: rgba(20, 83, 158, 0.1);
}
.contact-business address { margin: 0 0 14px; color: var(--h-text-dim); font-style: normal; }
.contact-business dl { display: grid; gap: 4px; margin: 0 0 12px; }
.contact-business dl > div { display: flex; gap: 12px; }
.contact-business dt { min-width: 36px; font-weight: 700; }
.contact-business dd { margin: 0; color: var(--h-text-dim); }

@media (max-width: 980px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-sidebar { grid-template-columns: 1fr 1fr; }
    .contact-business,
    .contact-socials { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
    .contact-sidebar,
    .contact-form__row { grid-template-columns: 1fr; }
    .contact-business,
    .contact-socials { grid-column: auto; }
    .contact-form-panel { border-radius: 18px; }
    .contact-form__footer { align-items: stretch; flex-direction: column-reverse; }
    .contact-form__submit { width: 100%; }
    .contact-form__privacy { max-width: none; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .contact-page .contact-help,
    .contact-page .contact-help__arrow,
    .contact-page .field__input { transition: none; }
}
