/* ========================================
   KONTAKT — BEM
   Mobile-first, fialová brand paleta
   ======================================== */

.contact {
    background: linear-gradient(180deg, #faf5ff 0%, #f8fafc 50%, #ffffff 100%);
    padding: 24px 0 80px;
    min-height: calc(100vh - 80px);
}

.contact__container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 16px;
}

/* HERO */
.contact__hero {
    text-align: center;
    padding: 28px 0 24px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 28px;
}

.contact__eyebrow {
    display: inline-block;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.contact__title {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.contact__lead {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 580px;
}

.contact__lead strong {
    color: #0f172a;
}

/* GRID 1 sloupec (mobile) → 2 sloupce (desktop) */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 32px;
}

/* H2 */
.contact__h2 {
    font-size: 18px;
    font-weight: 800;
    color: #5b21b6;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ede9fe;
}

/* INFO SLOUPEC */
.contact__info {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
}

.contact__info .contact__h2:not(:first-child) {
    margin-top: 24px;
}

.contact__provider {
    background: #ede9fe;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 8px;
}

.contact__provider p {
    font-size: 13.5px;
    color: #4c1d95;
    line-height: 1.7;
    margin: 0;
}

.contact__provider strong {
    color: #4c1d95;
}

/* KANÁL (e-mail, čas odpovědi) */
.contact__channel {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.contact__channel:hover {
    background: #ede9fe;
    border-color: #c4b5fd;
    transform: translateY(-1px);
}

.contact__channel--info {
    cursor: default;
}

.contact__channel--info:hover {
    transform: none;
    background: #f8fafc;
    border-color: #e5e7eb;
}

.contact__channel-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #ede9fe;
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact__channel-icon svg {
    width: 18px;
    height: 18px;
}

.contact__channel-body {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.contact__channel-label {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.contact__channel-value {
    font-size: 14.5px;
    color: #0f172a;
    font-weight: 600;
    margin-top: 1px;
}

/* INTERNAL NOTE — připomínka přihlášeným */
.contact__internal-note {
    margin-top: 18px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
    border: 1px solid #fde047;
    border-radius: 8px;
}

.contact__internal-note strong {
    color: #713f12;
    font-size: 13.5px;
    display: block;
    margin-bottom: 4px;
}

.contact__internal-note p {
    font-size: 13px;
    color: #713f12;
    line-height: 1.55;
    margin: 0;
}

.contact__internal-note strong em {
    font-style: normal;
}

.contact__internal-note p strong {
    display: inline;
    margin: 0;
    color: #713f12;
}

/* FORMULÁŘ */
.contact__form-wrap {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
}

.contact__form-note {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 16px;
    padding: 10px 12px;
    background: #f0f9ff;
    border-left: 3px solid #0284c7;
    border-radius: 6px;
}

.contact__form-note strong {
    color: #0c4a6e;
}

/* POLE */
.contact__field {
    margin-bottom: 14px;
}

.contact__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.contact__required {
    color: #dc2626;
    font-weight: 700;
}

.contact__optional {
    font-weight: 400;
    color: #94a3b8;
    font-size: 12px;
}

.contact__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contact__input,
.contact__textarea,
.contact__select {
    width: 100%;
    padding: 10px 12px;
    font-size: 14.5px;
    font-family: inherit;
    color: #0f172a;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.contact__input:focus,
.contact__textarea:focus,
.contact__select:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.contact__textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.55;
}

.contact__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 38px;
    cursor: pointer;
}

.contact__hint {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
    line-height: 1.45;
}

/* CHECKBOX (GDPR) */
.contact__field--check {
    margin-top: 6px;
}

.contact__check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.contact__check:hover {
    background: #f1f5f9;
}

.contact__check input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: #7c3aed;
    cursor: pointer;
}

.contact__check-text {
    font-size: 13px;
    color: #334155;
    line-height: 1.5;
}

.contact__check-text a {
    color: #7c3aed;
    font-weight: 600;
}

/* HONEYPOT (skrytý anti-spam) */
.contact__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* SUBMIT */
.contact__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 6px;
    transition: all 0.2s ease;
}

.contact__submit:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.32);
}

.contact__submit:active {
    transform: translateY(0);
}

.contact__submit svg {
    width: 16px;
    height: 16px;
}

.contact__form-legal {
    font-size: 12px;
    color: #64748b;
    line-height: 1.55;
    margin: 12px 0 0;
    text-align: center;
}

.contact__form-legal a {
    color: #7c3aed;
    font-weight: 600;
    text-decoration: none;
}

.contact__form-legal a:hover {
    text-decoration: underline;
}

/* FAQ */
.contact__faq {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
}

.contact__faq-item {
    border-bottom: 1px solid #f1f5f9;
    padding: 4px 0;
}

.contact__faq-item:last-of-type {
    border-bottom: 0;
}

.contact__faq-item summary {
    cursor: pointer;
    padding: 10px 4px;
    font-size: 14.5px;
    font-weight: 600;
    color: #0f172a;
    list-style: none;
    position: relative;
    padding-right: 30px;
}

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

.contact__faq-item summary::after {
    content: "+";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 400;
    color: #7c3aed;
    transition: transform 0.2s ease;
}

.contact__faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.contact__faq-item summary:hover {
    color: #5b21b6;
}

.contact__faq-item p {
    font-size: 14px;
    color: #475569;
    line-height: 1.65;
    margin: 0 0 12px;
    padding: 0 4px;
}

.contact__faq-item a {
    color: #7c3aed;
    font-weight: 600;
    text-decoration: none;
}

.contact__faq-item a:hover {
    text-decoration: underline;
}

/* ========================================
   DESKTOP — od 768px
   ======================================== */
@media (min-width: 768px) {
    .contact {
        padding: 36px 0 100px;
    }

    .contact__title {
        font-size: 38px;
    }

    .contact__lead {
        font-size: 16px;
    }

    .contact__grid {
        grid-template-columns: 380px 1fr;
        gap: 24px;
    }

    .contact__info,
    .contact__form-wrap,
    .contact__faq {
        padding: 26px 30px;
    }

    .contact__h2 {
        font-size: 20px;
    }

    .contact__input,
    .contact__textarea,
    .contact__select {
        font-size: 15px;
        padding: 11px 14px;
    }

    .contact__submit {
        font-size: 16px;
        padding: 14px 22px;
    }

    .contact__faq-item summary {
        font-size: 15px;
    }

    .contact__faq-item p {
        font-size: 14.5px;
    }
}
