.ton-contact-template {
    background: #090909;
    color: #fff;
}

.ton-contact {
    --tc-bg: #090909;
    --tc-card: #0b0b0d;
    --tc-card-2: #101114;
    --tc-card-3: #17181b;
    --tc-red: #e52e2e;
    --tc-red-hover: #ff463b;
    --tc-white: #ffffff;
    --tc-muted: rgba(255, 255, 255, 0.62);
    --tc-muted-2: rgba(255, 255, 255, 0.44);
    --tc-muted-3: rgba(255, 255, 255, 0.3);
    --tc-border: rgba(255, 255, 255, 0.08);
    --tc-border-2: rgba(255, 255, 255, 0.12);
    --tc-container: 1280px;
    --tc-pad-x: 20px;

    min-height: 100vh;
    overflow: hidden;
    background: var(--tc-bg);
    color: var(--tc-white);
    font-family: var(--font-primary, inherit);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.ton-contact,
.ton-contact * {
    box-sizing: border-box;
}

.ton-contact a {
    color: inherit;
    text-decoration: none;
}

.ton-contact svg {
    display: block;
}

.ton-contact p {
    margin: 0;
}

.ton-contact-container {
    width: 100%;
    max-width: var(--tc-container);
    margin: 0 auto;
    padding-left: var(--tc-pad-x);
    padding-right: var(--tc-pad-x);
}

.ton-contact-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 30px;
    padding: 6px 12px;
    margin-bottom: 26px;
    border-radius: 999px;
    background: rgba(16, 16, 16, 0.72);
    border: 1px solid rgba(229, 46, 46, 0.22);
    color: rgba(255, 255, 255, 0.62);
    font-family: var(--font-primary, inherit);
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ton-contact-badge__icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.ton-contact-badge__svg {
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-red);
    flex-shrink: 0;
}

.ton-contact-badge__svg svg {
    width: 14px;
    height: 14px;
}

.ton-contact-head {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 0 38px;
}

.ton-contact-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.ton-contact-head--left {
    text-align: left;
}

.ton-contact-head__title {
    margin: 0;
    color: #fff;
    font-family: var(--font-heading, inherit);
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 700;
    line-height: 0.98;

    text-wrap: balance;
}

.ton-contact-head__text {
    max-width: 680px;
    margin-top: 18px;
    color: var(--tc-muted);
    font-family: var(--font-primary, inherit);
    font-size: 17px;
    line-height: 1.55;
}

.ton-contact-head--center .ton-contact-head__text {
    margin-left: auto;
    margin-right: auto;
}

.ton-contact-btn {
    min-height: 54px;
    padding: 14px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--font-primary, inherit);
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ton-contact-btn:hover {
    transform: translateY(-1px);
}

.ton-contact-btn--primary {
    background: #ef3a2f;
    color: #fff;
    border: 1px solid #ef3a2f;
}

.ton-contact-btn--primary:hover {
    background: #ff463b;
    border-color: #ff463b;
    color: #fff;
}

.ton-contact-btn--ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ton-contact-btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
}

.ton-contact-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.ton-contact-btn__icon svg {
    width: 18px;
    height: 18px;
}

.ton-contact-hero {
    position: relative;
    overflow: hidden;
    padding: 210px 0 172px;
    background: #090909;
}

.ton-contact-hero::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 42px;
    transform: translateX(-50%);
    width: 860px;
    height: 620px;
    border-radius: 999px;
    background: radial-gradient(circle at center, rgba(229, 46, 46, 0.22) 0%, rgba(229, 46, 46, 0.12) 28%, rgba(229, 46, 46, 0.05) 52%, rgba(229, 46, 46, 0) 76%);
    filter: blur(46px);
    pointer-events: none;
    z-index: 0;
}

.ton-contact-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.ton-contact-hero__title {
    margin: 0 0 28px;
    color: #fff;
    font-family: var(--font-heading, inherit);
    font-size: clamp(40px, 5.1vw, 48px);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.ton-contact-hero__text {
    max-width: 780px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.62);
    font-family: var(--font-primary, inherit);
    font-size: 18px;
    line-height: 1.5;
}

.ton-contact-hero__text p {
    margin: 0;
}

.ton-contact-hero__actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.ton-contact-location {
    position: relative;
    padding: 0 0 96px;
    background: #090909;
    overflow: hidden;
}

.ton-contact-location::before {
    content: "";
    position: absolute;
    right: -220px;
    top: 80px;
    width: 680px;
    height: 420px;
    border-radius: 999px;
    background: radial-gradient(circle at center, rgba(219, 43, 43, 0.14) 0%, rgba(255, 101, 101, 0.06) 38%, rgba(255, 101, 101, 0) 72%);
    filter: blur(48px);
    pointer-events: none;
    z-index: 0;
}

.ton-contact-location .ton-contact-container {
    position: relative;
    z-index: 1;
}

.ton-contact-location__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

.ton-contact-map-card {
    min-height: 560px;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at 14% 10%, rgba(219, 43, 43, 0.22) 0%, rgba(255, 101, 101, 0) 58%), linear-gradient(180deg, #0b0b0d 0%, #090909 100%);
}

.ton-contact-map-card__top {
    min-height: 58px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(8, 8, 10, 0.86);
}

.ton-contact-map-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(229, 46, 46, 0.12);
    border: 1px solid rgba(229, 46, 46, 0.26);
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.ton-contact-map-card__address {
    min-width: 0;
    color: rgba(255, 255, 255, 0.48);
    font-size: 13px;
    line-height: 1.35;
    text-align: right;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ton-contact-map-card__frame {
    position: relative;
    flex: 1 1 auto;
    min-height: 348px;
    background: #111;
    overflow: hidden;
}

.ton-contact-map-card__frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 348px;
    border: 0;
    filter: none;
}

.ton-contact-map-card__bottom {
    padding: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: radial-gradient(circle at 14% 0%, rgba(219, 43, 43, 0.15) 0%, rgba(255, 101, 101, 0) 56%), #090909;
}

.ton-contact-map-card__content h3 {
    margin: 0 0 10px;
    color: #fff;
    font-family: var(--font-primary, inherit);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.ton-contact-map-card__content p {
    max-width: 420px;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-primary, inherit);
    font-size: 15px;
    line-height: 1.5;
}

.ton-contact-map-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: rgba(255, 255, 255, 0.86);
    font-family: var(--font-primary, inherit);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ton-contact-map-card__link:hover {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
}

.ton-contact-map-card__link svg {
    width: 16px;
    height: 16px;
    color: #ef3a2f;
}

.ton-contact-next-card {
    min-height: 560px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at 14% 10%, rgba(219, 43, 43, 0.18) 0%, rgba(255, 101, 101, 0) 58%), radial-gradient(circle at 90% 12%, rgba(219, 43, 43, 0.13) 0%, rgba(255, 101, 101, 0) 48%), linear-gradient(180deg, #17181b 0%, #101114 100%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.ton-contact-next-card__top {
    margin-bottom: 24px;
}

.ton-contact-next-card__status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 32px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid rgba(229, 46, 46, 0.28);
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-primary, inherit);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.ton-contact-next-card__status span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ef3a2f;
    flex: 0 0 8px;
}

.ton-contact-next-card__title {
    max-width: 520px;
    margin: 0 0 18px;
    color: #fff;
    font-family: var(--font-heading, inherit);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    line-height: 1.18;
  
    text-wrap: balance;
}

.ton-contact-next-card__text {
    max-width: 580px;
    margin: 10px 0 30px!important;
    color: rgba(255, 255, 255, 0.62);
    font-family: var(--font-primary, inherit);
    font-size: 15px;
    line-height: 1.56;
}

.ton-contact-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 22px;
}

.ton-contact-step {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.ton-contact-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 48px;
    bottom: -22px;
    width: 1px;
    background: linear-gradient(180deg, rgba(229, 46, 46, 0.38) 0%, rgba(229, 46, 46, 0) 100%);
}

.ton-contact-step__number {
    position: relative;
    z-index: 1;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(229, 46, 46, 0.42);
    background: rgba(229, 46, 46, 0.1);
    color: #ef3a2f;
    font-family: var(--font-primary, inherit);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.ton-contact-step__content {
    padding-top: 2px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ton-contact-step__title {
    color: #fff;
    font-family: var(--font-primary, inherit);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.02em;
}

.ton-contact-step__text {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-primary, inherit);
    font-size: 15px;
    line-height: 1.5;
}

.ton-contact-channels-section {
    position: relative;
    padding: 18px 0 96px;
    background: #090909;
}

.ton-contact-channels {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ton-contact-channel {
    min-height: 210px;
    padding: 26px 22px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #0b0b0d 0%, #090909 100%);
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.ton-contact-channel:nth-child(1),
.ton-contact-channel:nth-child(3) {
    background: radial-gradient(circle at 12% 10%, rgba(219, 43, 43, 0.22) 0%, rgba(255, 101, 101, 0) 58%), linear-gradient(180deg, #0b0b0d 0%, #090909 100%);
}

.ton-contact-channel:nth-child(2) {
    background: radial-gradient(circle at 50% 8%, rgba(219, 43, 43, 0.2) 0%, rgba(255, 101, 101, 0) 60%), linear-gradient(180deg, #0b0b0d 0%, #090909 100%);
}

a.ton-contact-channel:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 46, 46, 0.28);
}

.ton-contact-channel__icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ef3a2f;
    flex: 0 0 42px;
}

.ton-contact-channel__icon svg {
    width: 26px;
    height: 26px;
}

.ton-contact-channel__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ton-contact-channel__label {
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.42);
    font-family: var(--font-primary, inherit);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ton-contact-channel__value {
    max-width: 100%;
    color: #fff;
    font-family: var(--font-primary, inherit);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
}

.ton-contact-channel__hint {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-primary, inherit);
    font-size: 14px;
    line-height: 1.45;
}

.ton-contact-trust {
    position: relative;
    padding: 18px 0 96px;
    background: #090909;
    overflow: hidden;
}

.ton-contact-trust::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 170px;
    transform: translateX(-50%);
    width: 760px;
    height: 420px;
    border-radius: 999px;
    background: radial-gradient(circle at center, rgba(219, 43, 43, 0.1) 0%, rgba(255, 101, 101, 0.04) 38%, rgba(255, 101, 101, 0) 72%);
    filter: blur(48px);
    pointer-events: none;
    z-index: 0;
}

.ton-contact-trust .ton-contact-container {
    position: relative;
    z-index: 1;
}

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

.ton-contact-trust-card {
    min-height: 244px;
    padding: 28px 24px 26px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #0b0b0d 0%, #090909 100%);
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ton-contact-trust-card--1,
.ton-contact-trust-card--3 {
    background: radial-gradient(circle at 12% 10%, rgba(219, 43, 43, 0.22) 0%, rgba(255, 101, 101, 0) 58%), linear-gradient(180deg, #0b0b0d 0%, #090909 100%);
}

.ton-contact-trust-card--2 {
    background: radial-gradient(circle at 50% 8%, rgba(219, 43, 43, 0.2) 0%, rgba(255, 101, 101, 0) 60%), linear-gradient(180deg, #0b0b0d 0%, #090909 100%);
}

.ton-contact-trust-card:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 46, 46, 0.28);
}

.ton-contact-trust-card__icon {
    width: 42px;
    height: 42px;
    margin: 0 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ef3a2f;
    line-height: 0;
}

.ton-contact-trust-card__icon svg {
    width: 36px;
    height: 36px;
}

.ton-contact-trust-card h3 {
    margin: 0 0 14px;
    color: #fff;
    font-family: var(--font-primary, inherit);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.ton-contact-trust-card p {
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-primary, inherit);
    font-size: 15px;
    line-height: 1.52;
}

.ton-contact-final {
    margin-top: 18px;
    min-height: 190px;
    padding: 30px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at 18% 10%, rgba(219, 43, 43, 0.22) 0%, rgba(255, 101, 101, 0) 55%), linear-gradient(180deg, #0b0b0d 0%, #090909 100%);
    overflow: hidden;
}

.ton-contact-final__content {
    max-width: 720px;
}

.ton-contact-final h2 {
    max-width: 620px;
    margin: 0 0 14px;
    color: #fff;
    font-family: var(--font-heading, inherit);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    line-height: 1.12;

    text-wrap: balance;
}

.ton-contact-final p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.62);
    font-family: var(--font-primary, inherit);
    font-size: 16px;
    line-height: 1.55;
}

.ton-contact a:focus-visible,
.ton-contact button:focus-visible,
.ton-contact input:focus-visible,
.ton-contact textarea:focus-visible,
.ton-contact select:focus-visible {
    outline: 2px solid #ef3a2f;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .ton-contact *,
    .ton-contact *::before,
    .ton-contact *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

@media (max-width: 1180px) {
    .ton-contact-location__grid {
        grid-template-columns: 1fr;
    }

    .ton-contact-map-card,
    .ton-contact-next-card {
        min-height: auto;
    }

    .ton-contact-map-card__frame,
    .ton-contact-map-card__frame iframe {
        min-height: 420px;
    }

    .ton-contact-channels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ton-contact-trust__grid {
        grid-template-columns: 1fr;
    }

    .ton-contact-trust-card {
        min-height: auto;
    }
}

@media (max-width: 1024px) {
    .ton-contact-hero {
        padding: 130px 0 96px;
    }

    .ton-contact-hero::before {
        width: 720px;
        height: 520px;
        top: 36px;
    }

    .ton-contact-hero__title {
        font-size: clamp(36px, 6vw, 44px);
    }

    .ton-contact-hero__text {
        font-size: 16px;
    }

    .ton-contact-location,
    .ton-contact-channels-section,
    .ton-contact-trust {
        padding-bottom: 72px;
    }
}

@media (max-width: 768px) {
    .ton-contact {
        --tc-pad-x: 16px;
    }

    .ton-contact-hero {
        padding: 104px 0 72px;
    }

    .ton-contact-hero::before {
        width: 540px;
        height: 420px;
        top: 18px;
        filter: blur(38px);
    }

    .ton-contact-badge {
        margin-bottom: 20px;
        min-height: 28px;
        padding: 6px 10px;
        font-size: 10px;
    }

    .ton-contact-badge__icon,
    .ton-contact-badge__svg,
    .ton-contact-badge__svg svg {
        width: 13px;
        height: 13px;
    }

    .ton-contact-hero__title {
        margin-bottom: 14px;
        font-size: clamp(30px, 8vw, 36px);
        line-height: 0.98;
    }

    .ton-contact-hero__text {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.45;
    }

    .ton-contact-hero__actions {
        margin-top: 24px;
        flex-direction: column;
        align-items: center;
    }

    .ton-contact-btn {
        width: 100%;
        max-width: 300px;
        min-height: 50px;
        padding: 13px 22px;
        font-size: 15px;
    }

    .ton-contact-head {
        margin-bottom: 28px;
    }

    .ton-contact-head__title {
        font-size: clamp(28px, 3vw, 34px);
        line-height: 1.04;
    }

    .ton-contact-head__text {
        margin-top: 14px;
        font-size: 14px;
        line-height: 1.5;
    }

    .ton-contact-location {
        padding-bottom: 56px;
    }

    .ton-contact-location__grid {
        gap: 14px;
    }

    .ton-contact-map-card,
    .ton-contact-next-card,
    .ton-contact-channel,
    .ton-contact-trust-card,
    .ton-contact-final {
        border-radius: 20px;
    }

    .ton-contact-map-card__top {
        min-height: auto;
        padding: 14px 16px;
        flex-direction: column;
        align-items: flex-start;
    }

    .ton-contact-map-card__address {
        max-width: 100%;
        text-align: left;
        white-space: normal;
    }

    .ton-contact-map-card__frame,
    .ton-contact-map-card__frame iframe {
        min-height: 320px;
    }

    .ton-contact-map-card__bottom {
        padding: 20px;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ton-contact-map-card__content h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .ton-contact-map-card__content p {
        font-size: 14px;
        line-height: 1.5;
    }

    .ton-contact-map-card__link {
        width: 100%;
        min-height: 46px;
        font-size: 14px;
    }

    .ton-contact-next-card {
        padding: 24px 20px;
    }

    .ton-contact-next-card__top {
        margin-bottom: 18px;
    }

    .ton-contact-next-card__status {
        min-height: 30px;
        font-size: 11px;
    }

    .ton-contact-next-card__title {
        margin-bottom: 12px;
        font-size: clamp(28px, 3vw, 34px);
        line-height: 1.02;
    }

    .ton-contact-next-card__text {
        margin-bottom: 24px!important;
          margin-top: 14px!important;
        font-size: 14px;
        line-height: 1.5;
    }

    .ton-contact-steps {
        gap: 18px;
    }

    .ton-contact-step {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 14px;
    }

    .ton-contact-step:not(:last-child)::before {
        left: 17px;
        top: 42px;
        bottom: -18px;
    }

    .ton-contact-step__number {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .ton-contact-step__title {
        font-size: 15px;
    }

    .ton-contact-step__text {
        font-size: 14px;
        line-height: 1.45;
    }

    .ton-contact-channels-section {
        padding: 8px 0 56px;
    }

    .ton-contact-channels {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ton-contact-channel {
        min-height: auto;
        padding: 22px 20px;
        gap: 16px;
    }

    .ton-contact-channel__icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .ton-contact-channel__icon svg {
        width: 24px;
        height: 24px;
    }

    .ton-contact-channel__value {
        font-size: 18px;
    }

    .ton-contact-channel__hint {
        margin-top: 9px;
        font-size: 14px;
    }

    .ton-contact-trust {
        padding: 8px 0 56px;
    }

    .ton-contact-trust::before {
        width: 420px;
        height: 280px;
        top: 120px;
        filter: blur(38px);
    }

    .ton-contact-trust__grid {
        gap: 14px;
    }

    .ton-contact-trust-card {
        min-height: auto;
        padding: 22px 20px;
    }

    .ton-contact-trust-card__icon {
        width: 40px;
        height: 40px;
        margin-bottom: 16px;
    }

    .ton-contact-trust-card__icon svg {
        width: 24px;
        height: 24px;
    }

    .ton-contact-trust-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .ton-contact-trust-card p {
        font-size: 14px;
        line-height: 1.48;
    }

    .ton-contact-final {
        margin-top: 14px;
        padding: 22px 20px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ton-contact-final h2 {
        font-size: clamp(26px, 8vw, 32px);
        line-height: 1.04;
        margin-bottom: 12px;
    }

    .ton-contact-final p {
        font-size: 14px;
        line-height: 1.5;
    }

    .ton-contact-final .ton-contact-btn {
        max-width: none;
    }
}

@media (max-width: 420px) {
    .ton-contact {
        --tc-pad-x: 14px;
    }

    .ton-contact-hero__title,
    .ton-contact-head__title,
    .ton-contact-next-card__title,
    .ton-contact-final h2 {
        letter-spacing: -0.035em;
    }

    .ton-contact-map-card__frame,
    .ton-contact-map-card__frame iframe {
        min-height: 280px;
    }
}