.ast-contact {
    --ast-contact-ink: #3f3026;
    --ast-contact-muted: #715f52;
    --ast-contact-teal: #007c7a;
    --ast-contact-green: #138b65;
    --ast-contact-line: #ead8c7;
    --ast-contact-soft: #fffaf5;
    color: var(--ast-contact-ink);
    max-width: 1120px;
    margin: 0 auto 42px;
}

.ast-contact-page .main-content > article > h1 {
    margin: 18px 0 10px;
    color: var(--ast-contact-ink, #3f3026);
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    font-weight: 800;
    line-height: 1.15;
}

.ast-contact * {
    box-sizing: border-box;
}

.ast-contact__intro {
    max-width: 780px;
    margin: -4px 0 26px;
    color: var(--ast-contact-muted);
    font-size: 1.08rem;
    line-height: 1.65;
}

.ast-contact__ways {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
    gap: 20px;
    margin-bottom: 28px;
}

.ast-contact__card,
.ast-contact__form-section {
    border: 1px solid var(--ast-contact-line);
    border-radius: 22px;
    background: linear-gradient(145deg, #fff 0%, var(--ast-contact-soft) 100%);
    box-shadow: 0 14px 36px rgba(69, 46, 27, 0.07);
}

.ast-contact__card {
    display: flex;
    gap: 18px;
    min-height: 260px;
    padding: 28px;
}

.ast-contact__card--whatsapp {
    align-items: center;
    justify-content: space-between;
}

.ast-contact__whatsapp-copy {
    display: flex;
    gap: 18px;
    min-width: 0;
}

.ast-contact__icon {
    display: inline-grid;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 15px;
    background: #e8f6f4;
    color: var(--ast-contact-teal);
    font-size: 28px;
    line-height: 1;
}

.ast-contact__icon--whatsapp {
    background: #e8f8ef;
    color: var(--ast-contact-green);
}

.ast-contact__icon--whatsapp svg {
    display: block;
    width: 29px;
    height: 29px;
    fill: currentColor;
}

.ast-contact__eyebrow {
    margin: 0 0 5px;
    color: var(--ast-contact-teal);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ast-contact h2 {
    margin: 0 0 12px;
    color: var(--ast-contact-ink);
    font-size: clamp(1.35rem, 2vw, 1.72rem);
    line-height: 1.2;
}

.ast-contact__card p {
    color: var(--ast-contact-muted);
    line-height: 1.55;
}

.ast-contact__primary-link {
    display: inline-block;
    color: var(--ast-contact-teal);
    font-size: clamp(1.05rem, 2vw, 1.27rem) !important;
    font-weight: 800;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.ast-contact a.ast-contact__primary-link:hover,
.ast-contact a.ast-contact__primary-link:focus-visible,
.ast-contact a.ast-contact__primary-link:active {
    color: #005b59;
    font-size: clamp(1.05rem, 2vw, 1.27rem) !important;
    line-height: inherit;
    text-decoration: underline;
}

.ast-contact__no-calls {
    max-width: 490px;
    margin: 14px 0 16px;
    padding: 10px 12px;
    border-left: 4px solid #d08b45;
    border-radius: 0 9px 9px 0;
    background: #fff4e8;
    color: #6b3b15 !important;
    font-size: 0.95rem;
}

.ast-contact__qr {
    display: flex;
    flex: 0 0 172px;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: var(--ast-contact-muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.ast-contact__qr img {
    display: block;
    width: 152px;
    height: 152px;
    padding: 8px;
    border: 1px solid var(--ast-contact-line);
    border-radius: 16px;
    background: #fff;
}

.ast-contact__form-section {
    padding: clamp(24px, 4vw, 42px);
}

.ast-contact__form-heading {
    max-width: 760px;
    margin-bottom: 24px;
}

.ast-contact__form-heading > p:last-child {
    color: var(--ast-contact-muted);
    line-height: 1.55;
}

.ast-contact__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px 22px;
}

.ast-contact__field {
    min-width: 0;
}

.ast-contact__field--full {
    grid-column: 1 / -1;
}

.ast-contact__field label,
.ast-contact__field--captcha label {
    display: block;
    margin-bottom: 7px;
    color: var(--ast-contact-ink);
    font-weight: 800;
}

.ast-contact__field input,
.ast-contact__field select,
.ast-contact__field textarea {
    width: 100%;
    min-height: 50px;
    border: 1px solid #ccb7a4;
    border-radius: 11px;
    background: #fff;
    color: var(--ast-contact-ink);
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    padding: 12px 14px;
}

.ast-contact__field textarea {
    min-height: 160px;
    resize: vertical;
}

.ast-contact__field input:focus,
.ast-contact__field select:focus,
.ast-contact__field textarea:focus {
    border-color: var(--ast-contact-teal);
    box-shadow: 0 0 0 3px rgba(0, 124, 122, 0.14);
    outline: 0;
}

.ast-contact__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ast-contact-muted);
    font-size: 0.94rem;
    line-height: 1.5;
}

.ast-contact__consent input {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--ast-contact-teal);
}

.ast-contact__consent a {
    color: var(--ast-contact-teal);
    font-weight: 700;
}

.ast-contact__button {
    display: inline-flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: var(--ast-contact-teal);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    padding: 13px 24px;
    text-decoration: none;
    transition: background-color 160ms ease, transform 160ms ease;
}

.ast-contact__button:hover,
.ast-contact__button:focus-visible {
    background: #005f5e;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transform: translateY(-1px);
}

.ast-contact__button--whatsapp {
    min-height: 44px;
    background: var(--ast-contact-green);
    padding: 11px 19px;
}

.ast-contact__submit {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 3px;
}

.ast-contact__submit p {
    margin: 0;
    color: var(--ast-contact-muted);
    font-size: 0.9rem;
}

.ast-contact__recaptcha {
    color: var(--ast-contact-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.ast-contact__recaptcha p {
    margin: 0 0 4px;
    color: #8a2822;
    font-weight: 700;
}

.ast-contact__recaptcha p:empty {
    display: none;
}

.ast-contact__recaptcha a {
    color: var(--ast-contact-teal);
    font-size: inherit !important;
}

.ast-contact__button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
}

.ast-contact__notice {
    margin: 0 0 22px;
    padding: 13px 15px;
    border-radius: 11px;
    font-weight: 700;
    line-height: 1.45;
}

.ast-contact__notice--success {
    border: 1px solid #8fd0aa;
    background: #eaf8f0;
    color: #185f3b;
}

.ast-contact__notice--error {
    border: 1px solid #e3a29d;
    background: #fff0ef;
    color: #8a2822;
}

.ast-contact__honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 900px) {
    .ast-contact__ways {
        grid-template-columns: 1fr;
    }

    .ast-contact__card {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .ast-contact-page .main-content > article > h1 {
        margin-top: 20px;
        font-size: 1.75rem;
    }

    .ast-contact {
        margin-bottom: 28px;
    }

    .ast-contact__intro {
        font-size: 1rem;
    }

    .ast-contact__card,
    .ast-contact__form-section {
        border-radius: 17px;
    }

    .ast-contact__card {
        padding: 21px 18px;
    }

    .ast-contact__card--email,
    .ast-contact__whatsapp-copy {
        gap: 12px;
    }

    .ast-contact__icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 23px;
    }

    .ast-contact__card--whatsapp {
        align-items: flex-start;
        flex-direction: column;
    }

    .ast-contact__qr {
        align-self: center;
        flex-basis: auto;
        margin-top: 3px;
    }

    .ast-contact__form {
        grid-template-columns: 1fr;
    }

    .ast-contact__field,
    .ast-contact__field--full {
        grid-column: 1;
    }

    .ast-contact__submit {
        align-items: stretch;
        flex-direction: column;
    }

    .ast-contact__submit .ast-contact__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ast-contact__button {
        transition: none;
    }
}
