/*
 * Dinamik iletişim ve teklif sayfası
 */

.contact-hero {
    padding: 28px 0 12px;
}

.contact-hero__shell {
    position: relative;
    display: flex;
    min-height: 230px;
    overflow: hidden;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 38px 40px;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            #f8faf7,
            #eef3ee
        );
    box-shadow: var(--shadow-small);
}

.contact-hero__shell::after {
    position: absolute;
    top: -115px;
    right: -85px;
    width: 290px;
    height: 290px;
    border: 48px solid rgba(36, 79, 61, .035);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.contact-hero__content,
.contact-hero__actions {
    position: relative;
    z-index: 1;
}

.contact-hero__content {
    min-width: 0;
}

.contact-hero h1 {
    max-width: 780px;
    margin: 7px 0 13px;
    font-size: clamp(36px, 4.3vw, 52px);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.contact-hero p {
    max-width: 730px;
    margin: 0;
    color: var(--color-muted);
    font-size: 17px;
}

.contact-hero__actions {
    display: grid;
    min-width: 205px;
    gap: 10px;
}

.contact-whatsapp {
    border-color: #188c48;
    background: #1ca653;
    color: #ffffff;
}

.contact-page {
    padding: 12px 0 42px;
}

.contact-page__shell {
    padding: 28px;
    border: 1px solid var(--color-border);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--shadow-small);
}

.contact-layout {
    display: grid;
    grid-template-columns:
        minmax(0, .92fr)
        minmax(0, 1.28fr);
    align-items: stretch;
    gap: 22px;
}

.contact-info,
.contact-form-panel {
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--color-border-light);
    border-radius: 17px;
}

.contact-info {
    background:
        linear-gradient(
            145deg,
            #f7f9f6,
            #f1f5f1
        );
}

.contact-form-panel {
    background: #ffffff;
}

.contact-heading {
    margin-bottom: 22px;
}

.contact-heading > span,
.contact-map__heading span {
    display: block;
    color: var(--color-accent);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-heading h2,
.contact-map__heading h2 {
    margin: 4px 0 7px;
    font-size: 25px;
    line-height: 1.2;
}

.contact-heading p {
    margin: 0;
    color: var(--color-muted);
    font-size: 14px;
}

.contact-info__grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.contact-info__item {
    display: grid;
    min-width: 0;
    min-height: 100px;
    align-content: center;
    gap: 6px;
    padding: 15px;
    border: 1px solid #dfe5e0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .9);
}

.contact-info__item--wide {
    grid-column: 1 / -1;
    min-height: 0;
}

.contact-info__item > span {
    color: var(--color-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-info__item a,
.contact-info__item strong {
    overflow-wrap: anywhere;
    color: var(--color-heading);
    font-size: 14px;
    font-weight: 800;
}

.contact-info__item address {
    margin: 0;
    color: var(--color-heading);
    font-size: 14px;
    font-style: normal;
}

.contact-directions {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 850;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.contact-form .form-grid {
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    min-height: 47px;
    background: #fbfcfb;
}

.contact-form textarea {
    min-height: 155px;
    line-height: 1.55;
}

.contact-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.contact-form__footer p {
    max-width: 410px;
    margin: 0;
    color: var(--color-muted);
    font-size: 12px;
}

.contact-form__footer .btn {
    min-width: 165px;
    flex: 0 0 auto;
}

.contact-map {
    margin-top: 22px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border-light);
}

.contact-map__heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 17px;
}

.contact-map__heading h2 {
    margin-bottom: 0;
}

.contact-map__heading a {
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 850;
}

.contact-map__frame {
    height: 380px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: var(--color-surface-muted);
}

.contact-map__frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 900px) {
    .contact-hero__shell {
        align-items: flex-start;
        flex-direction: column;
        padding: 33px;
    }

    .contact-hero__actions {
        width: 100%;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .contact-hero {
        padding: 20px 0 9px;
    }

    .contact-hero__shell {
        min-height: 0;
        padding: 27px 21px;
        border-radius: 17px;
    }

    .contact-hero h1 {
        font-size: 35px;
    }

    .contact-hero p {
        font-size: 15px;
    }

    .contact-hero__actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-page {
        padding: 9px 0 30px;
    }

    .contact-page__shell {
        padding: 15px;
        border-radius: 17px;
    }

    .contact-layout {
        gap: 15px;
    }

    .contact-info,
    .contact-form-panel {
        padding: 20px;
        border-radius: 14px;
    }

    .contact-info__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-info__item--wide {
        grid-column: auto;
    }

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

    .contact-form__footer .btn {
        width: 100%;
    }

    .contact-map__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .contact-map__frame {
        height: 280px;
        border-radius: 13px;
    }
}
