.contact-page { background: linear-gradient(180deg, #f1f8f4 0, #ffffff 420px); padding: 56px 0 72px; }
.contact-head { max-width: 640px; margin-bottom: 32px; }
.contact-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; margin-bottom: 12px; }
.contact-head p { color: var(--color-text-muted); font-size: 1.1rem; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 32px; box-shadow: 0 10px 30px rgba(22, 35, 44, 0.07); }
.contact-card .form-group { margin-bottom: 18px; }
.contact-card input[type='text'], .contact-card input[type='email'], .contact-card textarea { border-radius: 10px; padding: 14px 16px; transition: border-color 0.15s, box-shadow 0.15s; }
.contact-card input:focus, .contact-card textarea:focus { border-color: #17824d; box-shadow: 0 0 0 3px rgba(23, 130, 77, 0.18); }
.contact-card textarea { min-height: 170px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card .optional { font-weight: 400; color: var(--color-text-muted); }
.contact-send { display: block; width: 100%; border: 0; border-radius: 10px; background: #17824d; color: #fff; font: inherit; font-size: 1.05rem; font-weight: 700; padding: 15px 20px; cursor: pointer; transition: background 0.15s, transform 0.15s; }
.contact-send:hover { background: #126a3f; transform: translateY(-1px); }

.contact-done { text-align: center; padding: 24px 8px; color: #17824d; }
.contact-done h2 { color: var(--color-text); margin: 12px 0 8px; }
.contact-done p { color: var(--color-text-muted); margin-bottom: 20px; }

.contact-side { display: grid; gap: 20px; }
.contact-offer { background: #17824d; color: #fff; border-radius: 16px; padding: 28px; }
.contact-offer h2 { font-size: 1.35rem; line-height: 1.25; margin: 12px 0 8px; color: #fff; }
.contact-offer p { margin-bottom: 16px; opacity: 0.92; }
.contact-badge { display: inline-block; background: rgba(255, 255, 255, 0.2); border-radius: 999px; padding: 4px 12px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.contact-offer .contact-link { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.contact-offer .contact-link:hover { background: #fff; color: #126a3f; }
.contact-link { display: inline-block; border: 2px solid #17824d; border-radius: 10px; padding: 10px 18px; font-weight: 700; color: #17824d; text-decoration: none; transition: background 0.15s, color 0.15s; }
.contact-link:hover { background: #17824d; color: #fff; }

.contact-steps { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 24px 28px; }
.contact-steps h3 { margin-bottom: 14px; }
.contact-steps ol { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-steps li { counter-increment: step; position: relative; padding-left: 40px; color: var(--color-text-muted); }
.contact-steps li strong { color: var(--color-text); }
.contact-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: #e3f3ea; color: #17824d; font-weight: 700; display: flex; align-items: center; justify-content: center; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-page { padding: 36px 0 56px; }
}

@media (max-width: 560px) {
  .contact-row { grid-template-columns: 1fr; gap: 0; }
  .contact-card { padding: 22px 18px; }
}
