/* Shared contact form/modal styles (used by domov + kamery) */

.home-contact {
    margin-bottom: 5.5vw;
    padding: clamp(28px, 3vw, 48px);
    border-radius: 28px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 40px rgba(37, 96, 230, 0.08);
}

.home-contact__head {
    max-width: 48rem;
    margin-bottom: clamp(22px, 2.2vw, 34px);
}

.home-contact-layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.2vw, 20px);
    align-items: stretch;
}

.home-contact-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 0;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 28px rgba(37, 96, 230, 0.06);
    overflow: hidden;
}

.home-contact-card__banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 20px;
    background: linear-gradient(135deg, #3e9fff 0%, #2560e6 100%);
    color: #fff;
}

.home-contact-card__banner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 18px rgba(20, 50, 120, 0.18);
    flex: 0 0 auto;
}

.home-contact .home-contact-card__banner-icon .dalnet-icon {
    width: 30px;
    height: 30px;
    stroke: #2560e6;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-contact .home-contact-card__banner h3 {
    margin: 0 0 6px;
    color: #fff;
    font-family: SourceSansBold, Arial, sans-serif;
    font-size: clamp(18px, 1.2vw, 22px);
    line-height: 1.2;
}

.home-contact .home-contact-card__banner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.94);
    font-family: SourceSansRegular, Arial, sans-serif;
    font-size: clamp(13px, 0.88vw, 15px);
    line-height: 1.45;
}

.home-contact-card__title {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 18px 8px;
}

.home-contact-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #eef6ff;
    color: #2560e6;
}

.home-contact-icon .dalnet-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-contact-card__title h3,
.home-contact-card h3 {
    margin: 0;
    color: #1e3a6e;
    font-family: SourceSansBold, Arial, sans-serif;
    font-size: clamp(16px, 1.1vw, 18px);
}

.home-contact-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 10px 12px;
}

.home-contact-card--call .home-contact-links {
    padding-top: 4px;
}

.home-contact-link {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.home-contact-link + .home-contact-link {
    border-top: 1px solid #eef2f7;
}

.home-contact-link:hover {
    background: #f5faff;
    text-decoration: none;
    color: inherit;
}

.home-contact-link__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eef6ff;
    color: #2560e6;
}

.home-contact-link__icon .dalnet-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
}

.home-contact-link__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.home-contact-link__text em {
    font-style: normal;
    color: #62718c;
    font-size: 13px;
}

.home-contact-link__text strong {
    color: #1e3a6e;
    font-family: SourceSansBold, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.25;
}

.home-contact-link__chev {
    color: #3e9fff;
    font-size: 22px;
    line-height: 1;
}

.home-hours-list {
    display: grid;
    gap: 10px;
    padding: 8px 16px 12px;
}

.home-hours-box {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #e8edf3;
    background: #f8fbff;
}

.home-hours-box__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #62718c;
    font-size: 13px;
}

.home-hours-box__label .dalnet-icon {
    width: 15px;
    height: 15px;
    stroke: #3e9fff;
    fill: none;
    stroke-width: 1.8;
}

.home-hours-box strong {
    color: #1e3a6e;
    font-family: SourceSansSemiBold, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.35;
}

.home-contact-card small {
    display: block;
    margin-top: auto;
    padding: 0 18px 16px;
    color: #8a97ad;
    font-size: 12px;
    line-height: 1.4;
}

.home-contact-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: clamp(16px, 1.5vw, 22px);
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(37, 96, 230, 0.05);
}

.home-contact-cta__copy {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.home-contact-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eef6ff;
    color: #2560e6;
    flex: 0 0 auto;
}

.home-contact-cta__icon .dalnet-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
}

.home-contact-cta__copy strong {
    display: block;
    color: #1e3a6e;
    font-family: SourceSansBold, Arial, sans-serif;
    font-size: 16px;
    margin-bottom: 4px;
}

.home-contact-cta__copy span {
    color: #62718c;
    font-size: 14px;
    line-height: 1.45;
}

.home-contact-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    white-space: nowrap;
    flex: 0 0 auto;
    border: none;
    cursor: pointer;
}

.home-contact-modal[hidden] {
    display: none !important;
}

.home-contact-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.home-contact-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 35, 60, 0.45);
}

.home-contact-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(92vh, 820px);
    overflow: auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(20, 40, 80, 0.28);
    padding: 18px 20px 14px;
}

.home-contact-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.home-contact-modal__head h3 {
    margin: 0 0 4px;
    color: #1a3568;
    font-family: SourceSansBold, Arial, sans-serif;
    font-size: 20px;
    line-height: 1.2;
}

.home-contact-modal__head p {
    margin: 0;
    max-width: 52ch;
    color: #7a879c;
    font-size: 13px;
    line-height: 1.35;
}

.home-contact-modal__close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: -2px -2px 0 0;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #2f6bff;
    cursor: pointer;
}

.home-contact-modal__close:hover {
    background: #eef4ff;
}

.home-contact-modal__close .dalnet-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-contact-form__hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    pointer-events: none;
}

.home-contact-form__section {
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    min-width: 0;
}

.home-contact-form__section legend {
    margin: 0 0 6px;
    padding: 0;
    color: #1a3568;
    font-family: SourceSansSemiBold, Arial, sans-serif;
    font-size: 12px;
}

.home-contact-choices {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.home-contact-choice {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-height: 48px;
    padding: 8px 10px;
    border: 1.5px solid #d7e0ec;
    border-radius: 10px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.home-contact-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.home-contact-choice__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eef4ff;
    color: #2f6bff;
    flex: 0 0 auto;
}

.home-contact-choice__icon .dalnet-icon {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-contact-choice__icon .dalnet-icon circle {
    fill: currentColor;
    stroke: none;
}

.home-contact-choice__label {
    color: #1a3568;
    font-family: SourceSansSemiBold, Arial, sans-serif;
    font-size: 12px;
    line-height: 1.2;
}

.home-contact-choice:hover {
    border-color: #9db8f5;
}

.home-contact-choice.is-selected {
    border-color: #2f6bff;
    background: #f0f6ff;
    box-shadow: 0 0 0 1px rgba(47, 107, 255, 0.12);
}

.home-contact-choice.is-selected .home-contact-choice__icon {
    background: #2f6bff;
    color: #fff;
}

.home-contact-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.home-contact-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 5px 10px;
    border: 1.5px solid #d7e0ec;
    border-radius: 10px;
    background: #fff;
    color: #1a3568;
    font-family: SourceSansSemiBold, Arial, sans-serif;
    font-size: 12px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.home-contact-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.home-contact-pill__icon {
    display: inline-flex;
    color: #2f6bff;
}

.home-contact-pill__icon .dalnet-icon {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-contact-pill__icon .dalnet-icon circle {
    fill: currentColor;
    stroke: none;
}

.home-contact-pill:hover {
    border-color: #9db8f5;
}

.home-contact-pill.is-selected {
    border-color: #2f6bff;
    background: #f0f6ff;
}

.home-contact-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
}

.home-contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: #1a3568;
    font-family: SourceSansSemiBold, Arial, sans-serif;
}

.home-contact-form__field--full {
    grid-column: 1 / -1;
}

.home-contact-form__field input,
.home-contact-form__field select,
.home-contact-form__field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d5deea;
    border-radius: 9px;
    padding: 8px 10px;
    font-size: 14px;
    color: #253047;
    font-family: SourceSansRegular, Arial, sans-serif;
    background: #fff;
    appearance: none;
}

.home-contact-form__field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2362718c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 32px;
}

.home-contact-form__field textarea {
    min-height: 68px;
    resize: vertical;
}

.home-contact-form__field input::placeholder,
.home-contact-form__field textarea::placeholder {
    color: #9aa7ba;
}

.home-contact-form__field input:focus,
.home-contact-form__field select:focus,
.home-contact-form__field textarea:focus {
    outline: none;
    border-color: #2f6bff;
    box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.12);
}

.home-contact-form__attach {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 10px 0 4px;
}

.home-contact-form__file {
    display: inline-flex;
    cursor: pointer;
}

.home-contact-form__file input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.home-contact-form__file-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2f6bff;
    font-family: SourceSansSemiBold, Arial, sans-serif;
    font-size: 14px;
}

.home-contact-form__file-btn .dalnet-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-contact-form__file:hover .home-contact-form__file-btn {
    text-decoration: underline;
}

.home-contact-form__file-name {
    color: #62718c;
    font-size: 13px;
}

.home-contact-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 10px;
    padding-top: 2px;
}

.home-contact-form__privacy {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    max-width: 360px;
    color: #62718c;
    font-size: 12px;
    line-height: 1.35;
    font-family: SourceSansRegular, Arial, sans-serif;
}

.home-contact-form__privacy input {
    margin-top: 2px;
    width: 15px;
    height: 15px;
    accent-color: #2f6bff;
    flex: 0 0 auto;
}

.home-contact-form__privacy-link {
    border: none;
    background: none;
    padding: 0;
    color: #2f6bff;
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
}

.home-contact-form__submit-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex: 0 0 auto;
}

.home-contact-form__submit-wrap em {
    display: none;
}

.home-contact-form__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

.home-contact-form__status {
    margin: 8px 0 0;
    font-size: 12px;
    color: #62718c;
}

.home-contact-form__status.is-error {
    color: #c0392b;
}

.home-contact-form__status.is-success {
    color: #1e7a47;
}

.home-contact-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    flex: 0 0 auto;
}

.home-contact-form__submit .dalnet-icon,
.home-contact-form__submit .home-btn-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-contact-form__submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

body.home-contact-modal-open {
    overflow: hidden;
}

/* ---- Responsive (from style_domov.css media queries) ---- */

@media (max-width: 991px) {
    .home-hero-shell,
    .home-section,
    .home-store,
    .home-contact {
        width: 100%;
    }

    .home-lead,
    .home-section__head,
    .home-contact__head {
        max-width: none;
    }

    .home-lead,
    .home-section__head p,
    .home-store p,
    .home-contact__head p {
        font-size: 17px;
        line-height: 1.65;
    }

    .home-section h2,
    .home-store h2,
    .home-contact h2 {
        font-size: 32px;
    }

    .home-contact-layout {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .home-contact-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .home-contact-cta__btn {
        width: 100%;
    }

    .home-contact-modal {
        padding: 8px;
        align-items: flex-start;
    }

    .home-contact-modal__dialog {
        width: 100%;
        max-height: calc(100vh - 16px);
        padding: 14px 12px 12px;
        border-radius: 14px;
    }

    .home-contact-modal__head h3 {
        font-size: 18px;
    }

    .home-contact-choices {
        grid-template-columns: 1fr 1fr;
    }

    .home-contact-choice {
        min-height: 44px;
        padding: 8px;
    }

    .home-contact-form__grid {
        grid-template-columns: 1fr;
    }

    .home-contact-form__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .home-contact-form__privacy {
        max-width: none;
    }

    .home-contact-form__submit-wrap {
        align-items: stretch;
    }

    .home-contact-form__submit-wrap em {
        text-align: center;
    }

    .home-contact-form__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-contact-form__submit {
        width: 100%;
    }

    .home-service-card > div,
    .home-contact-card {
        padding: 20px;
    }

    .home-contact-card h3 {
        font-size: 18px;
    }

    .home-store__content,
    .home-contact {
        padding: 0;
    }

    .home-contact {
        padding: 24px;
    }

}

@media (max-width: 575px) {
    .home-hero-shell,
    .home-section,
    .home-store,
    .home-contact {
        width: 100%;
    }

    .home-service-grid,
    .home-why-grid,
    .home-contact-layout,
    .home-store__media,
    .home-hero-trust {
        grid-template-columns: 1fr;
    }

    .home-hero__visual img,
    .home-hero-panel,
    .home-service-card,
    .home-news,
    .home-store__content,
    .home-store__media img,
    .home-map,
    .home-contact {
        border-radius: 18px;
    }

    .home-section h2,
    .home-store h2,
    .home-contact h2 {
        font-size: 28px;
    }

}
