/**
 * Vacancies Page Stylesheet - Living 8085 Design DNA
 * Project: ООО «ГИДРОНА» (8085)
 * Source of Truth: 8084 ID 5114
 * Rules: ZERO forms, non-breaking phones, Apple HIG typography, full responsiveness
 */

:root {
	--v-primary: #ff7a00;
	--v-primary-hover: #ff8c1a;
	--v-primary-glow: rgba(255, 122, 0, 0.28);
	--v-dark: #0e131f;
	--v-dark-surface: #151c2d;
	--v-dark-card: #1c2438;
	--v-dark-border: rgba(255, 255, 255, 0.09);
	--v-light-bg: #f8fafc;
	--v-light-card: #ffffff;
	--v-light-border: #e2e8f0;
	--v-text-dark: #0f172a;
	--v-text-muted: #64748b;
	--v-text-dim: #94a3b8;
	--v-accent-green: #10b981;
	--v-accent-blue: #3b82f6;
	--v-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
	--v-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
	--v-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
	--v-radius-sm: 10px;
	--v-radius-md: 16px;
	--v-radius-lg: 24px;
	--v-radius-pill: 9999px;
}

/* ==========================================================================
   Base Layout & Typography
   ========================================================================== */
.v-page-wrapper {
	background-color: var(--v-light-bg);
	color: var(--v-text-dark);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	overflow-x: hidden;
	width: 100%;
}

.v-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
}

.v-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: var(--v-radius-pill);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}

.v-badge-orange {
	background: rgba(255, 122, 0, 0.12);
	color: var(--v-primary);
	border: 1px solid rgba(255, 122, 0, 0.3);
}

.v-badge-green {
	background: rgba(16, 185, 129, 0.12);
	color: #059669;
	border: 1px solid rgba(16, 185, 129, 0.3);
}

.v-badge-dark {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(8px);
}

/* ==========================================================================
   Buttons (Zero Forms - Phone CTA Only)
   ========================================================================== */
.v-btn-phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 14px 28px;
	border-radius: var(--v-radius-md);
	font-weight: 700;
	text-decoration: none !important;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 8px 24px var(--v-primary-glow);
	cursor: pointer;
	border: none;
	text-align: left;
}

.v-btn-primary {
	background: linear-gradient(135deg, #ff8c1a 0%, #ff6a00 100%);
	color: #ffffff !important;
}

.v-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(255, 122, 0, 0.42);
	background: linear-gradient(135deg, #ffa033 0%, #ff7a00 100%);
	color: #ffffff !important;
}

.v-btn-secondary {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(8px);
}

.v-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.35);
	transform: translateY(-2px);
	color: #ffffff !important;
}

.v-btn-content {
	display: flex;
	flex-direction: column;
	white-space: nowrap !important;
}

.v-btn-title {
	font-size: 0.78rem;
	font-weight: 500;
	opacity: 0.9;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	line-height: 1.2;
}

.v-btn-number {
	font-size: 1.18rem;
	font-weight: 800;
	letter-spacing: 0.2px;
	line-height: 1.25;
	white-space: nowrap !important;
}

.v-btn-icon {
	width: 22px;
	height: 22px;
	fill: currentColor;
	flex-shrink: 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.v-hero-section {
	background-color: var(--v-dark);
	background-image: 
		linear-gradient(90deg, rgba(14, 19, 31, 0.97) 0%, rgba(14, 19, 31, 0.90) 42%, rgba(14, 19, 31, 0.62) 75%, rgba(14, 19, 31, 0.28) 100%),
		url("../images/aktsii-mesyatsa-ot-kompanii-gidrona.webp");
	background-position: right center;
	background-size: cover;
	background-repeat: no-repeat;
	color: #ffffff;
	padding: 110px 0 80px;
	position: relative;
	overflow: hidden;
}

.v-hero-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 12% 85%, rgba(255, 122, 0, 0.22) 0%, transparent 60%);
	pointer-events: none;
}

.v-breadcrumbs {
	font-size: 0.9rem;
	color: var(--v-text-dim);
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.v-breadcrumbs a {
	color: #ffffff;
	text-decoration: none;
	transition: color 0.2s ease;
}

.v-breadcrumbs a:hover {
	color: var(--v-primary);
}

.v-hero-title {
	font-size: 2.85rem;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.8px;
	margin: 18px 0 20px;
	max-width: 860px;
}

.v-hero-title span {
	color: var(--v-primary);
}

.v-hero-subtitle {
	font-size: 1.15rem;
	line-height: 1.65;
	color: #cbd5e1;
	max-width: 760px;
	margin-bottom: 36px;
}

.v-hero-perks {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 40px;
}

.v-hero-perk-card {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--v-radius-md);
	padding: 20px 18px;
	backdrop-filter: blur(12px);
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.v-hero-perk-card:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 122, 0, 0.5);
	background: rgba(255, 255, 255, 0.09);
}

.v-perk-icon-wrap {
	width: 44px;
	height: 44px;
	border-radius: var(--v-radius-sm);
	background: rgba(255, 122, 0, 0.15);
	color: var(--v-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.35rem;
}

.v-perk-card-title {
	font-size: 1.02rem;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.3;
}

.v-perk-card-desc {
	font-size: 0.85rem;
	color: #94a3b8;
	line-height: 1.45;
}

/* ==========================================================================
   Main Vacancy Card: Техник-механик
   ========================================================================== */
.v-vacancy-section {
	padding: 80px 0 60px;
}

.v-section-header {
	text-align: center;
	margin-bottom: 48px;
}

.v-section-header h2 {
	font-size: 2.25rem;
	font-weight: 800;
	color: var(--v-text-dark);
	letter-spacing: -0.5px;
	margin-top: 14px;
	line-height: 1.2;
}

.v-section-header p {
	font-size: 1.08rem;
	color: var(--v-text-muted);
	max-width: 680px;
	margin: 12px auto 0;
	line-height: 1.6;
}

.v-vacancy-card {
	background: var(--v-light-card);
	border-radius: var(--v-radius-lg);
	border: 1px solid var(--v-light-border);
	box-shadow: var(--v-shadow-lg);
	overflow: hidden;
	transition: box-shadow 0.3s ease;
}

.v-vacancy-card:hover {
	box-shadow: 0 24px 50px rgba(0, 0, 0, 0.14);
}

.v-vacancy-hero-box {
	background: linear-gradient(135deg, #0e131f 0%, #151c2d 100%);
	padding: 40px 48px;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
	border-bottom: 1px solid var(--v-dark-border);
}

.v-vacancy-title-wrap {
	max-width: 650px;
}

.v-vacancy-title-wrap .v-badge {
	margin-bottom: 14px;
}

.v-vacancy-title {
	font-size: 2.2rem;
	font-weight: 800;
	line-height: 1.2;
	color: #ffffff;
	margin-bottom: 8px;
}

.v-vacancy-intro {
	font-size: 1.05rem;
	color: #cbd5e1;
	line-height: 1.5;
}

.v-vacancy-salary-box {
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--v-radius-md);
	padding: 20px 28px;
	text-align: right;
	min-width: 260px;
}

.v-salary-label {
	font-size: 0.8rem;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 600;
	margin-bottom: 4px;
}

.v-salary-amount {
	font-size: 1.9rem;
	font-weight: 800;
	color: var(--v-primary);
	line-height: 1.15;
}

.v-salary-sub {
	font-size: 0.82rem;
	color: #10b981;
	font-weight: 600;
	margin-top: 4px;
}

/* ==========================================================================
   Grid Blocks: Duties, Requirements, Conditions
   ========================================================================== */
.v-vacancy-content {
	padding: 48px;
}

.v-block-title {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 1.45rem;
	font-weight: 800;
	color: var(--v-text-dark);
	margin-bottom: 24px;
	padding-bottom: 12px;
	border-bottom: 2px solid #f1f5f9;
}

.v-block-title-icon {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(255, 122, 0, 0.12);
	color: var(--v-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	flex-shrink: 0;
}

/* 1. Duties (Обязанности) */
.v-duties-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 48px;
}

.v-duty-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: var(--v-radius-md);
	padding: 24px 20px;
	position: relative;
	transition: all 0.25s ease;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.v-duty-card:hover {
	background: #ffffff;
	border-color: var(--v-primary);
	transform: translateY(-3px);
	box-shadow: var(--v-shadow-md);
}

.v-duty-num {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--v-primary);
	color: #ffffff;
	font-weight: 800;
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.v-duty-text {
	font-size: 1rem;
	line-height: 1.55;
	color: var(--v-text-dark);
	font-weight: 600;
}

/* 2. Requirements (Требования) */
.v-requirements-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 48px;
}

.v-req-item {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: var(--v-radius-sm);
	padding: 16px 18px;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.v-req-item:hover {
	border-color: #cbd5e1;
	box-shadow: var(--v-shadow-sm);
}

.v-req-check {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(16, 185, 129, 0.14);
	color: #059669;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	font-weight: 800;
	flex-shrink: 0;
	margin-top: 2px;
}

.v-req-text {
	font-size: 0.95rem;
	line-height: 1.5;
	color: #1e293b;
	font-weight: 500;
}

.v-req-tag {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 4px;
	background: #e0f2fe;
	color: #0284c7;
	margin-top: 4px;
}

/* 3. Conditions (Условия) */
.v-conditions-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-bottom: 48px;
}

.v-cond-card {
	background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid #e2e8f0;
	border-radius: var(--v-radius-md);
	padding: 22px 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: all 0.25s ease;
	position: relative;
	overflow: hidden;
}

.v-cond-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: var(--v-primary);
	opacity: 0.4;
	transition: opacity 0.2s ease, width 0.2s ease;
}

.v-cond-card:hover {
	transform: translateY(-3px);
	border-color: rgba(255, 122, 0, 0.4);
	box-shadow: var(--v-shadow-md);
}

.v-cond-card:hover::before {
	opacity: 1;
	width: 6px;
}

.v-cond-icon {
	font-size: 1.5rem;
	line-height: 1;
}

.v-cond-title {
	font-size: 0.98rem;
	font-weight: 700;
	color: var(--v-text-dark);
	line-height: 1.35;
}

.v-cond-desc {
	font-size: 0.85rem;
	color: var(--v-text-muted);
	line-height: 1.5;
}

/* ==========================================================================
   Photo Gallery: Work Conditions & Service Operations
   ========================================================================== */
.v-gallery-section {
	padding: 40px 0 70px;
}

.v-gallery-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.v-gallery-item {
	position: relative;
	border-radius: var(--v-radius-lg);
	overflow: hidden;
	box-shadow: var(--v-shadow-md);
	background: #0e131f;
	min-height: 380px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.v-gallery-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.v-gallery-item:hover .v-gallery-img {
	transform: scale(1.04);
}

.v-gallery-overlay {
	position: relative;
	z-index: 2;
	background: linear-gradient(180deg, transparent 0%, rgba(14, 19, 31, 0.88) 60%, rgba(14, 19, 31, 0.98) 100%);
	padding: 32px 28px 24px;
	color: #ffffff;
}

.v-gallery-tag {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--v-primary);
	letter-spacing: 0.5px;
	margin-bottom: 6px;
}

.v-gallery-title {
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1.3;
	margin-bottom: 6px;
	color: #ffffff;
}

.v-gallery-text {
	font-size: 0.9rem;
	color: #cbd5e1;
	line-height: 1.5;
}

/* ==========================================================================
   Why GIDRONA: Employer Advantages
   ========================================================================== */
.v-advantages-section {
	padding: 60px 0 70px;
	background: #ffffff;
	border-top: 1px solid #e2e8f0;
	border-bottom: 1px solid #e2e8f0;
}

.v-advantages-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.v-adv-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: var(--v-radius-md);
	padding: 28px 22px;
	transition: all 0.25s ease;
	text-align: left;
}

.v-adv-card:hover {
	background: #ffffff;
	border-color: var(--v-primary);
	transform: translateY(-4px);
	box-shadow: var(--v-shadow-md);
}

.v-adv-icon {
	width: 48px;
	height: 48px;
	border-radius: var(--v-radius-sm);
	background: rgba(255, 122, 0, 0.12);
	color: var(--v-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	margin-bottom: 18px;
}

.v-adv-title {
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--v-text-dark);
	line-height: 1.35;
	margin-bottom: 10px;
}

.v-adv-desc {
	font-size: 0.88rem;
	color: var(--v-text-muted);
	line-height: 1.6;
}

/* ==========================================================================
   CTA Banner (Direct Phone Response, Non-breaking Phones)
   ========================================================================== */
.v-cta-section {
	padding: 70px 0 90px;
}

.v-cta-banner {
	background: linear-gradient(135deg, #0e131f 0%, #151c2d 50%, #1a2236 100%);
	border-radius: var(--v-radius-lg);
	padding: 60px 48px;
	color: #ffffff;
	text-align: center;
	position: relative;
	overflow: hidden;
	box-shadow: var(--v-shadow-lg);
	border: 1px solid var(--v-dark-border);
}

.v-cta-banner::before {
	content: "";
	position: absolute;
	top: -50%;
	left: -20%;
	width: 140%;
	height: 200%;
	background: radial-gradient(circle at center, rgba(255, 122, 0, 0.16) 0%, transparent 60%);
	pointer-events: none;
}

.v-cta-banner-content {
	position: relative;
	z-index: 2;
	max-width: 820px;
	margin: 0 auto;
}

.v-cta-banner h2 {
	font-size: 2.25rem;
	font-weight: 800;
	line-height: 1.25;
	color: #ffffff;
	margin: 16px 0 14px;
	letter-spacing: -0.4px;
	word-break: normal;
	overflow-wrap: break-word;
}

.v-cta-banner p {
	font-size: 1.12rem;
	color: #cbd5e1;
	line-height: 1.65;
	margin-bottom: 36px;
}

.v-cta-buttons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

/* ==========================================================================
   Responsive Breakpoints & Mobile Typography Safeguards
   ========================================================================== */
@media (max-width: 1024px) {
	.v-hero-perks {
		grid-template-columns: repeat(2, 1fr);
	}
	.v-duties-grid {
		grid-template-columns: 1fr;
	}
	.v-requirements-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.v-conditions-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.v-advantages-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.v-gallery-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.v-hero-section {
		padding: 95px 0 60px;
	}
	.v-hero-title {
		font-size: 2.1rem;
	}
	.v-vacancy-hero-box {
		padding: 30px 24px;
		flex-direction: column;
		align-items: flex-start;
	}
	.v-vacancy-salary-box {
		text-align: left;
		width: 100%;
		min-width: unset;
	}
	.v-vacancy-content {
		padding: 30px 20px;
	}
	.v-requirements-grid {
		grid-template-columns: 1fr;
	}
	.v-conditions-grid {
		grid-template-columns: 1fr;
	}
	.v-advantages-grid {
		grid-template-columns: 1fr;
	}
	.v-cta-banner {
		padding: 40px 24px;
	}
	.v-cta-buttons {
		flex-direction: column;
		width: 100%;
	}
	.v-btn-phone {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.v-container {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
	.v-hero-section {
		padding: 85px 0 45px;
	}
	.v-hero-title {
		font-size: 1.55rem;
		line-height: 1.25;
	}
	.v-hero-subtitle {
		font-size: 0.95rem;
		line-height: 1.55;
	}
	.v-hero-perks {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.v-section-header h2 {
		font-size: 1.5rem;
		line-height: 1.25;
	}
	.v-vacancy-title {
		font-size: 1.55rem;
		line-height: 1.25;
	}
	.v-salary-amount {
		font-size: 1.55rem;
	}
	.v-hero-actions,
	.v-vacancy-action {
		width: 100%;
	}
	.v-btn-phone {
		width: 100%;
		max-width: 100%;
		padding: 12px 14px;
		gap: 10px;
		box-sizing: border-box;
	}
	.v-btn-title {
		font-size: 0.68rem;
		white-space: normal;
		line-height: 1.25;
	}
	.v-btn-number {
		font-size: 1.05rem;
		white-space: nowrap !important;
	}
	.v-gallery-item {
		min-height: 300px;
	}
	.v-gallery-title {
		font-size: 1.18rem;
	}
	/* Mobile Safeguard: prevent broken words in bottom CTA */
	.v-cta-banner {
		padding: 30px 16px;
		margin: 20px 0;
		border-radius: 16px;
	}
	.v-cta-banner .v-badge {
		font-size: 0.72rem;
		padding: 4px 10px;
		margin-bottom: 12px;
		letter-spacing: 0.4px;
	}
	.v-cta-banner h2 {
		font-size: 1.22rem;
		line-height: 1.32;
		margin-bottom: 10px;
		letter-spacing: -0.2px;
		word-break: normal;
		overflow-wrap: break-word;
	}
	.v-cta-banner p {
		font-size: 0.88rem;
		line-height: 1.55;
		margin-bottom: 20px;
	}
}
