/* Global overrides loaded after the Vite bundle (no build step available). */

/* Remove the big index numbers layout on Services list */
.service-plain-row {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
}

@media (max-width: 991px) {
    .service-plain-row {
        grid-template-columns: 1fr;
    }
}

/* Remove the big index numbers layout on Process steps */
.process-plain-step {
    display: block;
}

/* Hide any leftover index elements just in case of cached markup */
.service-plain-row__index,
.process-plain-step__index {
    display: none !important;
}

/* Contact form: honeypot + captcha */
.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.contact-captcha__hint {
    margin: 6px 0 12px;
    font-size: 13px;
    color: var(--muted, #6b6b73);
    line-height: 1.45;
}

.contact-captcha__row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.contact-captcha__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    padding: 12px 18px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--ink, #141419);
    background: linear-gradient(135deg, #f4f4f6 0%, #eaeaef 100%);
    border: 1px solid var(--line, #e6e6ea);
    border-radius: 10px;
    user-select: none;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.contact-captcha__refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--line, #e6e6ea);
    color: var(--brand, #e62832);
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.contact-captcha__refresh:hover {
    background: var(--brand-soft, rgba(230, 40, 50, 0.08));
    border-color: var(--brand, #e62832);
}

.thanks-page__box {
    max-width: 640px;
    padding: 28px 0 80px;
}

.thanks-page h1 {
    margin-bottom: 18px;
}

.thanks-page__lead {
    color: var(--ink-3, #4b4b54);
    font-size: 17px;
    line-height: 1.65;
    margin: 0 0 32px;
}

.thanks-page__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
}

.thanks-page__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: var(--brand, #e62832);
    color: #fff;
    font-family: var(--font-display, inherit);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
}

.thanks-page__cta:hover {
    background: var(--brand-strong, #c81621);
}

.thanks-page__link {
    color: var(--brand, #e62832);
    font-weight: 700;
    text-decoration: none;
}

.thanks-page__link:hover {
    color: var(--brand-strong, #c81621);
}
