/* Kontaktní stránka – nezávislé na Vite / npm build */

.contact-main {
    background: linear-gradient(180deg, #eef1f4 0%, #f8f9fb 35%, #fff 100%);
}

/* ── Hero ── */

.contact-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgb(197 205 214 / 0.6);
    background: linear-gradient(135deg, #121a22 0%, #1c2630 45%, #283542 100%);
}

.contact-hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.contact-hero__glow {
    position: absolute;
    border-radius: 9999px;
    filter: blur(80px);
    pointer-events: none;
}

.contact-hero__glow--left {
    top: -4rem;
    left: -4rem;
    width: 20rem;
    height: 20rem;
    background: rgb(245 158 11 / 0.22);
}

.contact-hero__glow--right {
    right: -2rem;
    bottom: -6rem;
    width: 24rem;
    height: 24rem;
    background: rgb(16 185 129 / 0.12);
}

.contact-hero__inner {
    position: relative;
    max-width: 80rem;
    margin: 0 auto;
    padding: 4.5rem 1rem 5rem;
    text-align: center;
}

@media (min-width: 640px) {
    .contact-hero__inner {
        padding: 5.5rem 1.5rem 6rem;
    }
}

@media (min-width: 1024px) {
    .contact-hero__inner {
        padding: 6.5rem 2rem 7rem;
    }
}

.contact-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.contact-hero__title {
    width: 100%;
    max-width: none;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #fff;
}

@media (min-width: 640px) {
    .contact-hero__title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .contact-hero__title {
        font-size: 4.5rem;
    }
}

.contact-hero__title-accent {
    display: inline-flex;
    align-items: baseline;
    color: #fbbf24;
}

.contact-hero__title-accent-v {
    font-family: inherit;
    font-weight: inherit;
    font-style: inherit;
    font-size: 1.28em;
    line-height: 1;
    letter-spacing: inherit;
}

.contact-hero__lead {
    margin-top: 1.5rem;
    max-width: 40rem;
    font-size: 1.125rem;
    line-height: 1.75;
    color: rgb(232 236 240 / 0.88);
}

@media (min-width: 640px) {
    .contact-hero__lead {
        font-size: 1.25rem;
    }
}

.contact-hero__lead-break {
    display: none;
}

@media (min-width: 768px) {
    .contact-hero__lead-break {
        display: inline;
    }
}

.contact-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.contact-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    border-radius: 0.75rem;
    padding: 0.95rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.contact-hero-btn:hover {
    transform: translateY(-1px);
}

.contact-hero-btn--primary {
    background-color: #f59e0b;
    color: #121a22;
    box-shadow: 0 8px 28px rgb(245 158 11 / 0.35);
}

.contact-hero-btn--primary:hover {
    background-color: #fbbf24;
}

.contact-hero-btn--ghost {
    border: 1px solid rgb(255 255 255 / 0.22);
    color: #fff;
    background: rgb(255 255 255 / 0.06);
    backdrop-filter: blur(8px);
}

.contact-hero-btn--ghost:hover {
    background: rgb(255 255 255 / 0.12);
    border-color: rgb(255 255 255 / 0.35);
}

/* ── Section ── */

.contact-section {
    position: relative;
    max-width: 80rem;
    margin: 0 auto;
    padding: 3rem 1rem 4.5rem;
}

@media (min-width: 640px) {
    .contact-section {
        padding: 4rem 1.5rem 5.5rem;
    }
}

@media (min-width: 1024px) {
    .contact-section {
        padding: 4.5rem 2rem 6rem;
    }
}

.contact-status {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
    border-radius: 1rem;
    border: 1px solid #6ee7b7;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #065f46;
    box-shadow: 0 8px 24px rgb(16 185 129 / 0.12);
}

.contact-status__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    height: 2rem;
    width: 2rem;
    border-radius: 9999px;
    background: #10b981;
    color: #fff;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Mobil: nadpis → formulář → karty a FAQ */
.contact-side {
    display: contents;
}

.contact-aside__head {
    order: 1;
}

.contact-form-card {
    order: 2;
}

.contact-side__rest {
    order: 3;
    display: flex;
    flex-direction: column;
    gap: 0;
}

@media (min-width: 1024px) {
    .contact-grid {
        display: grid;
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: 3rem;
        align-items: start;
    }

    .contact-side {
        display: flex;
        flex-direction: column;
        gap: 0;
        grid-column: 1;
        grid-row: 1;
    }

    .contact-aside__head,
    .contact-form-card,
    .contact-side__rest {
        order: unset;
    }

    .contact-form-card {
        grid-column: 2;
        grid-row: 1;
    }
}

/* ── Aside ── */

.contact-aside-title {
    font-size: 1.625rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #121a22;
}

@media (min-width: 640px) {
    .contact-aside-title {
        font-size: 2rem;
    }
}

.contact-aside-lead {
    margin-top: 0.625rem;
    font-size: 1rem;
    line-height: 1.65;
    color: #4a5d70;
}

.contact-cards {
    margin-top: 1.75rem;
    list-style: none;
    margin-left: 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 1rem;
    border: 1px solid rgb(197 205 214 / 0.75);
    background-color: #fff;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 4px 20px rgba(18, 26, 34, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.contact-card--link {
    text-decoration: none;
    color: inherit;
}

.contact-card--link:hover {
    border-color: rgb(245 158 11 / 0.45);
    box-shadow: 0 12px 36px rgba(18, 26, 34, 0.1);
    transform: translateY(-2px);
}

.contact-card--link:hover .contact-card__arrow {
    color: #d97706;
    transform: translateX(2px);
}

.contact-card__icon {
    display: flex;
    height: 2.75rem;
    width: 2.75rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgb(245 158 11 / 0.16) 0%, rgb(245 158 11 / 0.08) 100%);
    color: #d97706;
}

.contact-card__icon--phone {
    background: linear-gradient(135deg, rgb(16 185 129 / 0.16) 0%, rgb(16 185 129 / 0.08) 100%);
    color: #047857;
}

.contact-card__icon--hours {
    background: linear-gradient(135deg, rgb(28 38 48 / 0.1) 0%, rgb(28 38 48 / 0.05) 100%);
    color: #1c2630;
}

.contact-card__icon svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.contact-card__body {
    min-width: 0;
    flex: 1;
}

.contact-card__label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7d8f;
}

.contact-card__value {
    margin-top: 0.25rem;
    font-size: 0.975rem;
    font-weight: 600;
    line-height: 1.45;
    color: #121a22;
    word-break: break-word;
}

.contact-card__arrow {
    flex-shrink: 0;
    color: #9aa8b5;
    transition: color 0.15s ease, transform 0.15s ease;
}

.contact-hint {
    display: flex;
    gap: 0.875rem;
    margin-top: 1.75rem;
    border-radius: 1rem;
    border: 1px solid #e8ecf0;
    background: linear-gradient(135deg, #fff 0%, #f4f6f8 100%);
    padding: 1.15rem 1.25rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #354656;
    box-shadow: 0 4px 16px rgba(18, 26, 34, 0.04);
}

.contact-hint__icon {
    display: flex;
    flex-shrink: 0;
    align-items: flex-start;
    justify-content: center;
    height: 2.25rem;
    width: 2.25rem;
    border-radius: 0.625rem;
    background: rgb(245 158 11 / 0.12);
    color: #d97706;
    padding-top: 0.35rem;
}

.contact-hint strong {
    display: block;
    margin-bottom: 0.15rem;
    font-weight: 700;
    color: #121a22;
}

.contact-hint a {
    font-weight: 600;
    color: #1c2630;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-hint a:hover {
    color: #d97706;
}

.contact-card--stacked {
    align-items: flex-start;
}

.contact-card__detail {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.55;
    color: #4a5d70;
}

.contact-card__detail strong {
    font-weight: 700;
    color: #283542;
}

.contact-card__detail-sep {
    margin: 0 0.4rem;
    color: #cbd5e1;
}

.contact-card__detail--muted {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6b7d8f;
}

/* ── FAQ ── */

.contact-faq {
    margin-top: 2rem;
    border-radius: 1.125rem;
    border: 1px solid #e8ecf0;
    background: #fff;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 4px 20px rgba(18, 26, 34, 0.04);
}

.contact-faq__title {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7d8f;
}

.contact-faq__list {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.contact-faq-item {
    border-radius: 0.75rem;
    overflow: hidden;
}

.contact-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #283542;
    cursor: pointer;
    list-style: none;
    transition: color 0.15s ease;
}

.contact-faq-item summary::-webkit-details-marker {
    display: none;
}

.contact-faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    font-size: 1.125rem;
    font-weight: 400;
    color: #9aa8b5;
    transition: transform 0.2s ease, color 0.15s ease;
}

.contact-faq-item[open] summary::after {
    content: "−";
    color: #d97706;
}

.contact-faq-item summary:hover {
    color: #121a22;
}

.contact-faq-item p {
    margin: 0;
    padding: 0 0.5rem 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.65;
    color: #4a5d70;
}

/* ── Form card ── */

.contact-form-card {
    overflow: hidden;
    border-radius: 1.375rem;
    border: 1px solid rgb(197 205 214 / 0.75);
    background-color: #fff;
    box-shadow:
        0 20px 60px rgba(18, 26, 34, 0.1),
        0 0 0 1px rgb(232 236 240 / 0.8);
}

.contact-form-card__head {
    border-bottom: 1px solid #e8ecf0;
    background: linear-gradient(180deg, #f8f9fb 0%, #fff 100%);
    padding: 1.5rem 1.75rem;
}

@media (min-width: 640px) {
    .contact-form-card__head {
        padding: 1.75rem 2rem;
    }
}

.contact-form-card__title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #121a22;
}

.contact-form-card__lead {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    color: #4a5d70;
}

.contact-form-card__body {
    padding: 1.5rem 1.75rem 1.75rem;
}

@media (min-width: 640px) {
    .contact-form-card__body {
        padding: 1.75rem 2rem 2rem;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form-row {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .contact-form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-field label,
.contact-topics legend {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #283542;
}

.contact-field label span,
.contact-topics legend span {
    font-weight: 400;
    color: #6b7d8f;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    display: block;
    box-sizing: border-box;
    margin-top: 0.45rem;
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid #c5cdd6;
    background-color: #f8f9fb;
    padding: 0.8rem 1rem;
    font-family: inherit;
    font-size: 0.875rem;
    color: #121a22;
    box-shadow: inset 0 1px 2px rgba(18, 26, 34, 0.03);
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #9aa8b5;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: #f59e0b;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgb(245 158 11 / 0.14);
}

.contact-field input.contact-field--error,
.contact-field select.contact-field--error,
.contact-field textarea.contact-field--error {
    border-color: #f87171;
    box-shadow: 0 0 0 4px rgb(248 113 113 / 0.12);
}

.contact-field-error {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: #dc2626;
}

.contact-field--captcha input {
    max-width: 8rem;
}

/* ── Topic pills ── */

.contact-topics {
    margin: 0;
    padding: 0;
    border: none;
}

.contact-topics legend {
    margin-bottom: 0.65rem;
    padding: 0;
}

.contact-topics__grid {
    display: grid;
    gap: 0.5rem;
}

@media (min-width: 480px) {
    .contact-topics__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-topic {
    position: relative;
    cursor: pointer;
}

.contact-topic input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.contact-topic__pill {
    display: block;
    border-radius: 0.75rem;
    border: 1px solid #c5cdd6;
    background: #f8f9fb;
    padding: 0.7rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    color: #354656;
    text-align: center;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.contact-topic input:focus-visible + .contact-topic__pill {
    outline: none;
    box-shadow: 0 0 0 4px rgb(245 158 11 / 0.2);
}

.contact-topic input:checked + .contact-topic__pill {
    border-color: #f59e0b;
    background: linear-gradient(135deg, rgb(245 158 11 / 0.14) 0%, rgb(245 158 11 / 0.06) 100%);
    color: #92400e;
    box-shadow: inset 0 0 0 1px rgb(245 158 11 / 0.25);
}

.contact-topic:hover .contact-topic__pill {
    border-color: #9aa8b5;
}

.contact-topics--error .contact-topic__pill {
    border-color: #fca5a5;
}

/* ── Form footer ── */

.contact-form-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 0.25rem;
}

@media (min-width: 640px) {
    .contact-form-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.contact-form-legal {
    margin: 0;
    max-width: 22rem;
    font-size: 0.75rem;
    line-height: 1.6;
    color: #6b7d8f;
}

.contact-form-legal a {
    font-weight: 600;
    color: #283542;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-submit {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.75rem;
    border: none;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    padding: 0.9rem 1.75rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    color: #121a22;
    box-shadow: 0 10px 28px rgb(245 158 11 / 0.35);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.contact-submit:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 14px 36px rgb(245 158 11 / 0.4);
}

.contact-submit:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgb(245 158 11 / 0.4);
}

.contact-submit:active {
    transform: translateY(0);
}

