/* Kritine Majde — CF7 thank-you page | 1.1.0
   Brand colors sampled from the supplied site screenshot.
   Scoped to .km-thankyou; leaves the theme header/footer unchanged. */
.km-thankyou {
    --km-gold: #a89f7c;
    --km-gold-hover: #908563;
    --km-charcoal: #26292c;
    --km-text: #34393d;
    --km-muted: #62696d;
    --km-light: #f6f7f8;
    --km-border: #e2e3e1;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--km-light);
    color: var(--km-charcoal);
    font-family: inherit;
}
.km-thankyou *, .km-thankyou *::before, .km-thankyou *::after { box-sizing: border-box; }

/* Content width and spacing follow the site's restrained, rectangular layout. */
.km-thankyou__container {
    width: min(calc(100% - 48px), 1200px);
    min-height: 620px;
    margin-inline: auto;
    padding-block: clamp(72px, 8vw, 120px);
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .8fr);
    gap: clamp(48px, 7vw, 110px);
    align-items: center;
}
.km-thankyou__content { min-width: 0; }

/* Gold replaces the previous red on all confirmation elements. */
.km-thankyou__check {
    display: inline-grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin-bottom: 30px;
    border: 1px solid rgba(168, 159, 124, .42);
    border-radius: 0;
    background: rgba(168, 159, 124, .10);
    color: var(--km-gold);
}
.km-thankyou__eyebrow {
    display: block;
    margin: 0 0 18px;
    color: var(--km-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.5;
    text-transform: uppercase;
}
.km-thankyou .km-thankyou__title {
    max-width: 740px;
    margin: 0 0 25px;
    color: var(--km-charcoal);
    font-size: clamp(38px, 4.6vw, 64px);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -.035em;
}
.km-thankyou .km-thankyou__title span { color: var(--km-gold); }
.km-thankyou .km-thankyou__description {
    max-width: 610px;
    margin: 0;
    color: var(--km-muted);
    font-size: clamp(16px, 1.4vw, 18px);
    font-weight: 400;
    line-height: 1.75;
}

/* Match the site's squared-off, gold CTA buttons. */
.km-thankyou__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
    margin-top: 36px;
}
.km-thankyou .km-thankyou__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-height: 60px;
    padding: 17px 27px;
    border: 1px solid var(--km-gold);
    border-radius: 0;
    background: var(--km-gold);
    box-shadow: none;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .015em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.km-thankyou .km-thankyou__button svg { flex: none; }
.km-thankyou .km-thankyou__button:hover {
    background: var(--km-charcoal);
    border-color: var(--km-charcoal);
    color: #fff;
    transform: none;
}
.km-thankyou .km-thankyou__textlink {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--km-charcoal);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .015em;
    text-decoration: underline;
    text-decoration-color: var(--km-gold);
    text-underline-offset: 6px;
    text-transform: uppercase;
    transition: color .2s ease;
}
.km-thankyou .km-thankyou__textlink:hover { color: var(--km-gold-hover); }
.km-thankyou a:focus-visible {
    outline: 2px solid var(--km-charcoal);
    outline-offset: 4px;
}

/* The info card uses the same understated gold / charcoal visual language. */
.km-thankyou__panel {
    padding: clamp(32px, 3.5vw, 48px);
    border: 1px solid var(--km-border);
    border-top: 3px solid var(--km-gold);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 12px 36px rgba(38, 41, 44, .045);
}
.km-thankyou .km-thankyou__panel-title {
    margin: 0 0 30px;
    color: var(--km-charcoal);
    font-size: clamp(22px, 2vw, 26px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.025em;
}
.km-thankyou__step {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
}
.km-thankyou__step + .km-thankyou__step { margin-top: 23px; }
.km-thankyou__number {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(168, 159, 124, .26);
    border-radius: 0;
    background: #f6f4ee;
    color: #756b4b;
    font-size: 12px;
    font-weight: 700;
}
.km-thankyou .km-thankyou__step-text {
    margin: 5px 0 0;
    color: var(--km-text);
    font-size: 15px;
    line-height: 1.7;
}
.km-thankyou__support {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--km-border);
}
.km-thankyou .km-thankyou__support-label {
    margin: 0 0 10px;
    color: var(--km-muted);
    font-size: 13px;
    line-height: 1.5;
}
.km-thankyou .km-thankyou__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--km-charcoal);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease;
}
.km-thankyou__phone svg { flex: none; color: var(--km-gold); }
.km-thankyou .km-thankyou__phone:hover { color: var(--km-gold-hover); }

@media (max-width: 900px) {
    .km-thankyou__container { grid-template-columns: 1fr; min-height: auto; gap: 48px; }
    .km-thankyou__panel { max-width: 650px; }
}
@media (max-width: 575px) {
    .km-thankyou__container { width: min(calc(100% - 32px), 1200px); padding-block: 56px 70px; gap: 38px; }
    .km-thankyou__check { width: 62px; height: 62px; margin-bottom: 26px; }
    .km-thankyou .km-thankyou__title { font-size: clamp(36px, 9vw, 46px); }
    .km-thankyou__actions { align-items: stretch; gap: 14px; }
    .km-thankyou .km-thankyou__button { width: 100%; }
    .km-thankyou__panel { padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .km-thankyou .km-thankyou__button,
    .km-thankyou .km-thankyou__textlink,
    .km-thankyou .km-thankyou__phone { transition: none; }
}
