/**
 * ITLife CDEK — Contacts Page Styles
 */

.contacts-page { background: #f8fafc; }

/* Hero */
.contacts-hero {
	background: linear-gradient(135deg, #032d60 0%, #064a9a 100%);
	color: #fff;
	text-align: center;
	padding: 56px 24px;
}
.contacts-hero h1 {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 36px;
	font-weight: 800;
	margin: 0 0 12px;
}
.contacts-hero__sub {
	font-size: 17px;
	opacity: 0.85;
	margin: 0;
}

/* Layout */
.contacts-layout {
	max-width: 960px;
	margin: 0 auto;
	padding: 48px 24px 80px;
}

/* Contact cards grid — 4 columns */
.contacts-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 48px;
}

.contact-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 24px 20px;
	text-align: center;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-card:hover {
	border-color: #2e844a;
	box-shadow: 0 4px 16px rgba(46, 132, 74, 0.1);
}

.contact-card__icon {
	width: 48px;
	height: 48px;
	background: #f0fdf4;
	color: #2e844a;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 12px;
}
.contact-card__icon--tg { background: #e0f2fe; color: #0284c7; }
.contact-card__icon--vk { background: #ede9fe; color: #7c3aed; }
.contact-card__icon--max { background: #fef3c7; color: #d97706; }

.contact-card h3 {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #1a1a2e;
	margin: 0 0 6px;
}

.contact-card__link {
	display: inline-block;
	font-family: 'Nunito Sans', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #2e844a;
	text-decoration: none;
	transition: color 0.2s;
}
.contact-card__link:hover { color: #1a6330; text-decoration: underline; }

.contact-card__note {
	font-size: 12px;
	color: #94a3b8;
	margin: 6px 0 0;
}

/* Feedback form */
.contacts-feedback {
	margin-bottom: 48px;
}
.contacts-feedback h2 {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 22px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 8px;
}
.contacts-feedback__desc {
	font-size: 14px;
	color: #64748b;
	margin: 0 0 24px;
}
.contacts-feedback__success {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
	padding: 14px 20px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 20px;
}
.contacts-feedback__error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	padding: 14px 20px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 20px;
}

.contacts-form {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 28px;
}
.contacts-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.contacts-form__field {
	margin-bottom: 16px;
}
.contacts-form__field label {
	display: block;
	font-family: 'Nunito Sans', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #374151;
	margin-bottom: 6px;
}
.contacts-form__field label span {
	color: #ef4444;
}
.contacts-form__field input,
.contacts-form__field textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-family: 'Nunito Sans', sans-serif;
	font-size: 14px;
	color: #1f2937;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}
.contacts-form__field input:focus,
.contacts-form__field textarea:focus {
	outline: none;
	border-color: #2e844a;
	box-shadow: 0 0 0 3px rgba(46, 132, 74, 0.1);
}
.contacts-form__field textarea {
	resize: vertical;
	min-height: 120px;
}
.contacts-form__submit {
	background: #2e844a;
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 12px 28px;
	font-family: 'Nunito Sans', sans-serif;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s;
}
.contacts-form__submit:hover {
	background: #276b3e;
}

/* Requisites */
.contacts-requisites h2 {
	font-family: 'Nunito Sans', sans-serif;
	font-size: 22px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 20px;
}

.requisites-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	overflow: hidden;
}

.requisites-table {
	width: 100%;
	border-collapse: collapse;
}
.requisites-table tr { border-bottom: 1px solid #f1f5f9; }
.requisites-table tr:last-child { border-bottom: 0; }
.requisites-table td { padding: 14px 20px; font-size: 14px; vertical-align: top; }
.requisites-table__label {
	color: #64748b;
	font-weight: 500;
	width: 180px;
	white-space: nowrap;
}
.requisites-table__value {
	color: #1e293b;
	font-weight: 600;
	font-family: 'Nunito Sans', sans-serif;
}
.requisites-table tr:hover td { background: #fafbfc; }

/* Responsive */
@media (max-width: 768px) {
	.contacts-grid { grid-template-columns: 1fr 1fr; }
	.contacts-hero h1 { font-size: 28px; }
	.contacts-hero { padding: 40px 20px; }
	.contacts-layout { padding: 32px 16px 60px; }
	.contacts-form__row { grid-template-columns: 1fr; }
	.contacts-form { padding: 20px; }
	.requisites-table__label { width: auto; white-space: normal; }
	.requisites-table td { padding: 10px 14px; font-size: 13px; }
}
@media (max-width: 480px) {
	.contacts-grid { grid-template-columns: 1fr; }
}
