/* «Webivan» v3 request: a quiet panel with a soft light; the form on a solid card. */
.wi-contact__panel {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: center;
    gap: 40px clamp(32px, 5vw, 88px);
    padding: clamp(32px, 5vw, 80px);
    overflow: hidden;
    border-radius: var(--wi-r-xl);
    background: var(--webivan-deep);
    box-shadow: inset 0 0 0 1px var(--webivan-line);
}
.wi-contact__light {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(60% 80% at 82% 30%, color-mix(in srgb, var(--webivan-cobalt) 15%, transparent), transparent 70%),
        radial-gradient(50% 60% at 0% 100%, color-mix(in srgb, var(--webivan-cobalt-2) 6%, transparent), transparent 70%);
}
/* Grain over the light, inside the panel only. */
.wi-contact__light::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.wi-contact__copy { display: grid; justify-items: start; gap: 0; }
.wi-body .wi-contact__title { font-size: var(--wi-fs-h2); line-height: 1.1; letter-spacing: -0.01em; }
.wi-body h1.wi-contact__title { font-size: var(--wi-fs-h1); line-height: 1.05; letter-spacing: -0.015em; }
.wi-contact__lead { margin: 24px 0 0; color: var(--webivan-text); font-size: var(--wi-fs-lead); }
.wi-contact__text { margin: 16px 0 0; max-width: 48ch; color: var(--webivan-mute); font-size: 16px; line-height: 1.6; }
.wi-contact__response { margin-top: 24px; }
/* The info line: a plate (radius 16), not a pill — it may wrap to two lines. */
.wi-contact__response.wi-live { align-items: flex-start; width: auto; max-width: 48ch; padding: 14px 20px; border-radius: var(--wi-r-md); line-height: 1.45; }
.wi-contact__response.wi-live i { flex: none; margin-top: 6px; }
.wi-contact__channels { margin-top: 32px; }
.wi-contact__ch-title { margin: 0 0 12px; color: var(--webivan-mute); font-size: 14px; }
.wi-contact__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.wi-channel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 20px 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 0 1px var(--wi-line-2);
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--wi-hover-tr);
}
.wi-channel:active { scale: var(--wi-hover-press); }
.wi-channel svg { width: 20px; height: 20px; flex: 0 0 auto; }
.wi-channel--telegram svg { color: #5EB5F7; }
.wi-channel:focus-visible { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6); }
@media (hover: hover) and (pointer: fine) {
    .wi-channel:hover { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6); translate: 0 var(--wi-hover-lift-sm); }
}

.wi-contact__card {
    position: relative;
    padding: clamp(24px, 2.6vw, 32px);
    border-radius: var(--wi-r-lg);
    background: var(--webivan-night);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

@media (max-width: 63.99rem) {
    .wi-contact__panel { grid-template-columns: 1fr; }
}
@media (max-width: 47.99rem) {
    .wi-contact__panel { padding: 28px 18px; margin-inline: calc(var(--gutter) * -0.5); border-radius: 24px; }
    .wi-contact__card { padding: 20px 16px; }
    .wi-channel { min-height: 46px; }
}
