/* ==================== HOME PAGE STYLES ==================== */

.main-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 20px;
}

/* Приглашение */
.invitation-card {
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
	border-radius: 24px;
	padding: 40px;
	text-align: center;
	color: white;
	box-shadow: 0 10px 40px rgba(15, 52, 96, 0.3);
	margin-bottom: 30px;
}

.invitation-card .invitation-icon {
	font-size: 48px;
	margin-bottom: 15px;
}

.invitation-card p {
	font-size: 18px;
	line-height: 1.7;
	margin: 0;
	max-width: 800px;
	margin: 0 auto;
}

/* Колонки с особенностями */
.features-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px;
	margin-bottom: 30px;
}

.feature-card {
	background: white;
	border-radius: 20px;
	padding: 30px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	border: 1px solid #e9ecef;
}

.feature-card--accent {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
}

.feature-card__header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

.feature-card__icon {
	font-size: 28px;
}

.feature-card h3 {
	margin: 0;
	font-size: 22px;
	font-weight: 600;
}

.feature-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.feature-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
}

.feature-list li:last-child {
	border-bottom: none;
}

.feature-list__marker {
	width: 8px;
	height: 8px;
	background: var(--blue);
	border-radius: 50%;
	margin-top: 8px;
	flex-shrink: 0;
}

.feature-list__goal {
	background: #f8f9fa;
	border-radius: 12px;
	padding: 15px;
	margin-top: 15px;
	border: none;
}

.feature-card--accent .feature-list__goal {
	background: rgba(255, 255, 255, 0.15);
}

.goal-icon {
	font-size: 20px;
	margin-right: 8px;
}

.feature-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
	color: white;
	padding: 12px 20px;
	border-radius: 12px;
	font-weight: 500;
	margin-top: 20px;
	animation: float 3s ease-in-out infinite;
}

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-5px); }
}

.badge-icon {
	font-size: 18px;
}

/* Современная карточка цены */
.price-card-modern {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 25px;
	text-align: center;
	margin-bottom: 20px;
}

.price-card-modern .price-value {
	font-size: 42px;
	font-weight: 800;
	color: #ffd700;
	text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.price-card-modern .price-note {
	font-size: 16px;
	opacity: 0.9;
	margin-top: 5px;
}

.price-card-modern .price-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.2);
	padding: 8px 16px;
	border-radius: 20px;
	margin-top: 15px;
	font-size: 14px;
}

.min-order-box {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: rgba(255, 255, 255, 0.1);
	padding: 15px 20px;
	border-radius: 12px;
	margin-bottom: 20px;
}

.min-order-label {
	font-size: 14px;
	opacity: 0.9;
}

.min-order-value {
	font-size: 18px;
	font-weight: 600;
	color: #ffd700;
}

.gift-box {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
	color: #1a1a2e;
	padding: 15px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 600;
}

.gift-icon {
	font-size: 24px;
}

/* Спецпредложение баннер */
.special-offer-banner {
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
	border-radius: 24px;
	padding: 40px;
	margin-bottom: 30px;
	box-shadow: 0 10px 40px rgba(15, 52, 96, 0.3);
}

.special-offer-banner__content {
	display: flex;
	align-items: center;
	gap: 25px;
	justify-content: center;
	margin-bottom: 30px;
}

.special-offer-banner__icon {
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.1); }
}

.special-offer-banner__text h2 {
	color: #ffd700;
	font-size: 24px;
	font-weight: 800;
	margin: 0 0 10px 0;
}

.special-offer-banner__main {
	color: white;
	font-size: 20px;
	margin: 0;
}

.special-offer-banner__main .highlight {
	background: #ffd700;
	color: #1a1a2e;
	padding: 4px 12px;
	border-radius: 8px;
	font-weight: 700;
}

.special-offer-banner__main .gift-text {
	color: #ffd700;
	font-weight: 700;
	font-size: 24px;
}

/* Галерея в спецпредложении */
.special-gallery {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 15px;
}

.special-gallery__item {
	position: relative;
	aspect-ratio: 1;
	border-radius: 16px;
	overflow: hidden;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
}

.special-gallery__item:hover {
	transform: scale(1.05) rotate(2deg);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.special-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.special-gallery__overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.special-gallery__item:hover .special-gallery__overlay {
	opacity: 1;
}

.special-gallery__overlay i {
	color: white;
	font-size: 32px;
}

/* CTA карточка */
.cta-card {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-radius: 20px;
	padding: 30px;
	text-align: center;
	margin-bottom: 30px;
	border: 2px dashed #667eea;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.cta-card__icon {
	font-size: 36px;
}

.cta-card p {
	margin: 0;
	font-size: 18px;
	color: #333;
}

.cta-highlight {
	color: #667eea;
	font-weight: 700;
}

/* Контактный блок */
.contact-section {
	background: white;
	border-radius: 16px;
	padding: 25px;
	text-align: center;
	margin-bottom: 30px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-section__label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 16px;
	color: #666;
}

.contact-icon {
	font-size: 24px;
}

.contact-section__email {
	font-size: 18px;
	color: #667eea;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: all 0.3s ease;
}

.contact-section__email:hover {
	border-bottom-color: #667eea;
}

/* Подпись */
.signature-block {
	text-align: center;
	padding: 25px;
}

.signature-block__main {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 16px;
	color: #666;
	margin-bottom: 15px;
}

.signature-block__main i {
	color: #ffd700;
}

.signature-block__footer {
	font-size: 14px;
	color: #999;
}

.signature-block__footer a {
	color: #667eea;
	text-decoration: none;
}

/* Popup галерея */
.gallery-popup {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.95);
	z-index: 10000;
	align-items: center;
	justify-content: center;
}

.gallery-popup.active {
	display: flex;
}

.gallery-popup__close {
	position: absolute;
	top: 20px;
	right: 30px;
	background: none;
	border: none;
	color: white;
	font-size: 40px;
	cursor: pointer;
	z-index: 10;
	transition: transform 0.3s ease;
}

.gallery-popup__close:hover {
	transform: rotate(90deg);
}

.gallery-popup__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: white;
	font-size: 24px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
}

.gallery-popup__nav:hover {
	background: rgba(255, 255, 255, 0.2);
}

.gallery-popup__prev {
	left: 30px;
}

.gallery-popup__next {
	right: 30px;
}

.gallery-popup__content {
	max-width: 80%;
	max-height: 80%;
	text-align: center;
}

.gallery-popup__content img {
	max-width: 100%;
	max-height: 70vh;
	object-fit: contain;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.gallery-popup__caption {
	color: white;
	font-size: 18px;
	margin-top: 20px;
}

.gallery-popup__counter {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(255, 255, 255, 0.1);
	color: white;
	padding: 10px 20px;
	border-radius: 20px;
	font-size: 14px;
}

/* Адаптивность */
@media (max-width: 992px) {
	.features-grid {
		grid-template-columns: 1fr;
	}
	
	.special-gallery {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.invitation-card {
		padding: 25px;
	}
	
	.invitation-card p {
		font-size: 16px;
	}
	
	.special-offer-banner__content {
		flex-direction: column;
		text-align: center;
	}
	
	.special-offer-banner__text h2 {
		font-size: 20px;
	}
	
	.special-gallery {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.cta-card {
		flex-direction: column;
		padding: 20px;
	}
}

@media (max-width: 480px) {
	.special-gallery {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}
	
	.price-card-modern .price-value {
		font-size: 32px;
	}
}
