/* ==========================================
   Implants Promotion — page template styles
   ========================================== */

html {
    scroll-behavior: smooth;
}

.promo-hero__media {
    position: relative;
}

.promo-hero a {
    display: block;
    cursor: pointer;
}

.promo-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.promo-hero__map-hotspot {
    position: absolute;
    z-index: 2;
    left: 38.54%;
    top: 87.7%;
    width: 23.96%;
    height: 10.62%;
}

@media (max-width: 800px) {
    .promo-hero__map-hotspot {
        left: 32.31%;
        top: 89.98%;
        width: 36.75%;
        height: 5.97%;
    }
}

.contact-section {
    scroll-margin-top: 100px;
    padding: 60px 0;
    background-color: #ffffff;
}

.contact-section__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.contact-section__header h1 {
    font-size: 40px;
    font-weight: bold;
    line-height: 1.1;
    color: #30beb4;
    margin-bottom: 16px;
}

.contact-section__header p {
    font-size: 16px;
    line-height: 1.5;
}

.contact-section__row {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: flex-start;
}

/* ---------- Contact info column ---------- */

.contact-info {
    flex: 1 1 380px;
}

.contact-info__brand-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 24px;
}

.contact-info__logo {
    display: none;
    max-width: 160px;
    height: auto;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-item picture {
    flex: 0 0 40px;
}

.contact-item img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.contact-item__label {
    font-size: 14px;
    margin-bottom: 2px;
}

.contact-item__value {
    font-size: 14px;
    font-weight: 600;
}

.contact-item__value a,
.contact-item__label a {
    color: inherit;
}

.address-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.address-list strong {
    font-weight: 700;
}

.address-list li {
    font-size: 13px;
    line-height: 1.5;
    padding-left: 14px;
    position: relative;
    margin-bottom: 6px;
}

.address-list li::before {
    content: "•";
    position: absolute;
    left: 0;
}

.working-hours {
    font-size: 14px;
    font-style: italic;
    color: #484848;
    margin: 8px 0 24px;
}

.contact-info__divider {
    border: 0;
    border-top: 1px solid #b9b9b9;
    margin: 0 0 24px;
}

.contact-info h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
}

.social-icons {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.social-icons a img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 10px;
}

.social-icons a:hover {
    transform: scale(1.08);
}

/* ---------- Contact form card ---------- */

.contact-form-card {
    flex: 1 1 480px;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #dadada;
    background-color: #ededed;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label,
.form-group legend {
    font-size: 14px;
    font-weight: bold;
}

.form-group .required {
    color: #ff1616;
}

.form-control {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.4;
    color: #111111;
    background-color: #ffffff;
    border: 1px solid #dadada;
    border-radius: 8px;
    -webkit-appearance: none;
    appearance: none;
}

select.form-control {
    padding-right: 32px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.form-control:focus {
    outline: none;
    border-color: #30beb4;
}

.phone-field {
    display: flex;
    gap: 8px;
    min-width: 0;
}

.phone-field select {
    flex: 0 0 84px;
    min-width: 0;
    padding-left: 10px;
    padding-right: 26px;
}

.phone-field input {
    flex: 1 1 auto;
    min-width: 0;
}

.form-group--checkbox {
    border: 0;
    padding: 0;
}

.checkbox-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.checkbox-list li {
    flex: 0 0 auto;
}

.checkbox-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-list input {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin: 0;
    border: 1.5px solid #c7c7c7;
    border-radius: 50%;
    background-color: #ffffff;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.checkbox-list input:checked {
    border-color: #30beb4;
    background-color: #30beb4;
    box-shadow: inset 0 0 0 3px #ffffff;
}

textarea.form-control {
    min-height: 90px;
    resize: vertical;
}

.btn {
    display: block;
    width: fit-content;
    margin: 8px auto 0;
    padding: 14px 44px;
    font-size: 16px;
    font-weight: bold;
    font-family: inherit;
    color: #ffffff;
    background-color: #30beb4;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
    background-color: #28a89f;
    transform: scale(1.05);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-note {
    margin-top: 16px;
    font-size: 12px;
    font-style: italic;
    color: #989898;
    text-align: center;
}

.form-feedback {
    display: none;
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
}

.form-feedback.is-success {
    display: block;
    background: #e3f7e0;
    color: #1e7a1e;
}

.form-feedback.is-error {
    display: block;
    background: #fde7e7;
    color: #c62828;
}

/* ---------- Responsive ---------- */

@media (max-width: 800px) {
    .contact-section {
        scroll-margin-top: 22vw;
        padding: 32px 0 48px;
        background-color: #f2f2f2;
    }

    .contact-section__header {
        text-align: left;
        margin-bottom: 24px;
    }

    .contact-section__header h1 {
        font-size: 28px;
    }

    .contact-section__row {
        flex-direction: column;
        gap: 32px;
    }

    .contact-info,
    .contact-form-card {
        flex: 1 1 auto;
        width: 100%;
    }

    .contact-form-card {
        order: -1;
        padding: 24px;
        background-color: #ffffff;
        border-color: #ffffff;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    }

    .contact-info__brand-name {
        display: none;
    }

    .contact-info__logo {
        display: block;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }

    .form-row .form-group {
        flex: 1 1 auto;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-control {
        background-color: #ececec;
        border-color: #ececec;
    }

    select.form-control {
        background-color: #ececec;
    }

    .form-control:focus {
        background-color: #ffffff;
        border-color: #30beb4;
    }

    .checkbox-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px 12px;
    }

    .btn {
        width: 100%;
        margin-top: 4px;
    }
}
