:root {
    --accent: #2a7be4;
    --bg: #f5f7fa;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

.wrapper {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
}

/* Компактный блок фото */
.pvz-image-block {
    position: relative;
    padding: 12px 16px 0 16px;
}

.pvz-photo {
    width: 100%;
    height: 140px; /* компактная высота */
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.pvz-title {
    position: absolute;
    bottom: 18px;
    left: 28px;
    right: 28px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: rgba(0,0,0,0.45);
    padding: 6px 10px;
    border-radius: 8px;
    backdrop-filter: blur(2px);
}

.form-container {
    padding: 16px;
}

h2 {
    font-size: 20px;
    margin-bottom: 12px;
}

.description {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

textarea,
input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 16px;
    transition: border 0.2s, box-shadow 0.2s;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

textarea:focus,
input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(42,123,228,0.15);
}

.contacts-block {
    background: #f9fafb;
    border: 1px solid var(--border);
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.contacts-description {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, transform 0.05s;
}

.submit-btn:hover {
    background: #1f6ad1;
}

.submit-btn:active {
    transform: scale(0.98);
}

.recaptcha-block {
    margin-bottom: 20px;
}

/* Десктоп */
@media (min-width: 768px) {
    .wrapper {
        margin: 40px auto;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        overflow: hidden;
    }

    .pvz-photo {
        height: 230px;
    }
}

.form_error {
	color:red;
	padding:30px 0;
}

.form_message {
	color:green;
	padding: 30px 0;
}