.acgk-wrap {
    --ac-red: #a80f18;
    --ac-red-dark: #8f0b13;
    --ac-text: #121212;
    --ac-muted: #5b5b5b;
    --ac-border: #e5e5e5;
    --ac-bg: #f8f8f8;
    max-width: 1160px;
    margin: 0 auto 40px;
    font-family: inherit;
    color: var(--ac-text);
}

.acgk-cover {
    margin: 0 0 26px;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
}

.acgk-cover img {
    display: block;
    width: 100%;
    height: auto;
}

.acgk-message {
    padding: 18px 22px;
    margin: 0 0 22px;
    border-radius: 10px;
    font-size: 17px;
}

.acgk-message-success {
    color: #14532d;
    background: #dcfce7;
    border: 1px solid #86efac;
}

.acgk-message-error {
    color: #7f1d1d;
    background: #fee2e2;
    border: 1px solid #fca5a5;
}

.acgk-form,
.acgk-form * {
    box-sizing: border-box;
}

.acgk-card {
    background: #fff;
    border: 1px solid var(--ac-border);
    border-radius: 12px;
    box-shadow: 0 8px 26px rgba(0,0,0,.05);
}

.acgk-main-card {
    padding: 34px;
}

.acgk-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.acgk-heading-row h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.1;
    font-weight: 800;
    color: #111;
}

.acgk-red-line {
    display: block;
    width: 70px;
    height: 4px;
    background: var(--ac-red);
    margin-top: 14px;
}

.acgk-mini-badge {
    color: var(--ac-red);
    border: 1px solid rgba(168, 15, 24, .35);
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
    background: #fff;
    white-space: nowrap;
}

.acgk-question-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.acgk-question {
    margin: 0;
    padding: 22px;
    border: 1px solid var(--ac-border);
    border-radius: 10px;
    background: #fff;
}

.acgk-question-wide,
.acgk-question-start {
    min-height: 260px;
}

.acgk-question legend,
.acgk-input-card > label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 18px;
    padding: 0;
    font-size: 17px;
    line-height: 1.25;
    color: #171717;
    font-weight: 800;
}

.acgk-question legend span,
.acgk-input-card > label span {
    display: inline-flex;
    width: 27px;
    height: 27px;
    min-width: 27px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--ac-red);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
}

.acgk-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 13px 0;
    color: #222;
    font-size: 16px;
    line-height: 1.3;
    cursor: pointer;
}

.acgk-radio input {
    width: 20px;
    height: 20px;
    accent-color: var(--ac-red);
    flex: 0 0 auto;
}

.acgk-input-card input,
.acgk-contact-card input[type="text"],
.acgk-contact-card input[type="tel"],
.acgk-contact-card input[type="email"] {
    width: 100%;
    min-height: 54px;
    border: 1px solid var(--ac-border);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    color: #111;
    background: #fff;
}

.acgk-input-card input:focus,
.acgk-contact-card input:focus {
    outline: none;
    border-color: var(--ac-red);
    box-shadow: 0 0 0 3px rgba(168, 15, 24, .12);
}

.acgk-input-card {
    grid-column: span 1;
}

.acgk-contact-card {
    margin-top: 16px;
    padding: 26px;
    border: 1px solid var(--ac-border);
    border-radius: 10px;
    background: #fff;
}

.acgk-contact-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: #111;
    font-size: 24px;
    font-weight: 800;
}

.acgk-contact-card h3 .dashicons {
    color: var(--ac-red);
}

.acgk-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.acgk-contact-grid p {
    margin: 0;
}

.acgk-contact-grid label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.acgk-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 15px 0;
    font-size: 16px;
    line-height: 1.35;
    cursor: pointer;
}

.acgk-checkbox input {
    width: 22px;
    height: 22px;
    margin-top: 0;
    accent-color: var(--ac-red);
    flex: 0 0 auto;
}

.acgk-submit-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}

.acgk-submit-row button {
    min-width: 310px;
    min-height: 58px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--ac-red), var(--ac-red-dark));
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .02em;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(168, 15, 24, .22);
    transition: transform .15s ease, box-shadow .15s ease;
}

.acgk-submit-row button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(168, 15, 24, .28);
}

.acgk-submit-row button span {
    margin-left: 14px;
    font-size: 24px;
    line-height: 1;
}

@media (max-width: 980px) {
    .acgk-question-grid,
    .acgk-contact-grid {
        grid-template-columns: 1fr;
    }
    .acgk-question-wide,
    .acgk-question-start {
        min-height: auto;
    }
    .acgk-heading-row {
        flex-direction: column;
    }
    .acgk-mini-badge {
        white-space: normal;
    }
}

@media (max-width: 640px) {
    .acgk-wrap {
        margin-bottom: 24px;
    }
    .acgk-main-card {
        padding: 20px;
        border-radius: 10px;
    }
    .acgk-question,
    .acgk-contact-card {
        padding: 18px;
    }
    .acgk-submit-row button {
        width: 100%;
        min-width: 0;
    }
    .acgk-submit-row {
        justify-content: stretch;
    }
    .acgk-cover img {
        min-height: 180px;
        object-fit: cover;
        object-position: center right;
    }
}
