:root {
    --contact-bg: #f4f4f4;
    --contact-white: #ffffff;
    --contact-border: #dddddd;
    --contact-text: #1d2433;
    --contact-muted: #7f8795;
    --contact-placeholder: #9a9a9a;
    --contact-gradient: linear-gradient(-155deg, #fd3d6b 0, #fd7863 98%, #f3dfe0 100%);
    --contact-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.contact-help {
    margin: 0 auto;
    -webkit-box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.07);
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.07);
    padding: 64px 68px 86px;
}

.contact-help-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.contact-title {
    margin: 0 0 14px;
    font-size: 34px;
    color: #222222;
}

.contact-subtitle {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.5;
    color: #2e3443;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid #cfcfcf;
    background: #fff;
    outline: none;
    font-size: 16px;
    color: var(--contact-text);
    padding: 0 18px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field input {
    height: 58px;
}

.form-field textarea {
    height: 164px;
    padding-top: 18px;
    resize: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--contact-placeholder);
    font-style: italic;
    font-weight: 400;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: #ff5d69;
    box-shadow: 0 0 0 3px rgba(255, 93, 105, 0.08);
}

.contact-submit-btn {
    margin-top: 12px;
    width: 198px;
    height: 62px;
    border: none;
    background: var(--contact-gradient);
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 86, 106, 0.25);
}

.contact-submit-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-info-card {
    border: 1px solid #e0e0e0;
    background: #fff;
    padding: 30px 35px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.contact-info-icon {
    width: 66px;
    height: 66px;
    min-width: 66px;
    border-radius: 50%;
    background: var(--contact-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-info-content h3 {
    margin: 0 0 6px;
    font-size: 24px;
    color: #16223b;
}

.contact-info-content p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    color: #6f7685;
}

.contact-info-content p a:hover {
    color: #fb5d5d;
}

.form-alert {
  position: relative;
  margin-bottom: 18px;
  padding: 14px 42px 14px 16px;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.6;
  border: 1px solid transparent;
}

.form-alert-success {
  background: #eaf7ee;
  border-color: #b7dfc2;
  color: #1f6b37;
}

.form-alert-error {
  background: #fff1f2;
  border-color: #f2b8be;
  color: #b42332;
}

.form-alert-close {
  position: absolute;
  top: 15px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: inherit;
}

.form-alert p {
  margin: 0;
}

.form-alert ul {
  margin: 0;
  padding-left: 18px;
}

@media (max-width: 1024px) {
    .contact-help-container {
        padding: 48px 36px 56px;
    }

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

@media (max-width: 767px) {

    .contact-help  {
        padding: 20px 14px 40px;
    }

    .contact-title {
        font-size: 28px;
    }

    .contact-subtitle {
        font-size: 16px;
        margin-bottom: 22px;
    }

    .form-field input {
        height: 52px;
        font-size: 16px;
    }

    .form-field textarea {
        height: 140px;
        font-size: 16px;
    }

    .contact-submit-btn {
        width: 170px;
        height: 54px;
        font-size: 18px;
    }

    .contact-info-card {
        min-height: auto;
        padding: 20px 18px;
        gap: 16px;
    }

    .contact-info-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }

    .contact-info-icon svg {
        width: 24px;
        height: 24px;
    }

    .contact-info-content h3 {
        font-size: 22px;
    }

    .contact-info-content p {
        font-size: 16px;
    }
}