/**
 * Contact Page Styles
 * Tabcom Contact - Light Theme
 * Brand Colors: #0038FF, #001BE6, #0FDEC9
 * 
 * @package TabcomGroup
 */

/* ============================================
   CSS Variables
   ============================================ */
.contact-page {
	--contact-primary: #0038FF;
	--contact-primary-dark: #001BE6;
	--contact-accent: #0FDEC9;
	--contact-bg: #ffffff;
	--contact-bg-alt: #f8fafb;
	--contact-surface: #ffffff;
	--contact-text: #1a2c32;
	--contact-text-muted: #64748b;
	--contact-border: rgba(0, 0, 0, 0.08);
	--contact-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	--contact-gradient: linear-gradient(180deg, #0FDEC9 0%, #001BE6 40%);
}

/* ============================================
   Base Styles
   ============================================ */
.contact-page {
	background: var(--contact-bg);
	color: var(--contact-text);
	font-family: 'SF Pro Display', 'Be Vietnam Pro', -apple-system, sans-serif;
}

.contact-page .container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.contact-hero {
	padding: 80px 0 100px;
	background: var(--contact-bg);
	position: relative;
	overflow: hidden;
}

.contact-hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 600px;
	height: 600px;
	background: rgba(0, 56, 255, 0.05);
	border-radius: 50%;
	filter: blur(80px);
}

.contact-hero__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	position: relative;
	z-index: 1;
}

.contact-hero__content {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.contact-hero__title {
	font-size: 44px;
	font-weight: 800;
	line-height: 1.15;
	color: var(--contact-text);
	margin: 0;
}

.contact-hero__title .highlight {
	background: var(--contact-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.contact-hero__desc {
	font-size: 18px;
	line-height: 1.7;
	color: var(--contact-text-muted);
	margin: 0;
	max-width: 500px;
}

.contact-hero__features {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	padding-top: 8px;
}

.contact-hero__feature {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--contact-text-muted);
}

.contact-hero__feature .material-symbols-outlined {
	color: var(--contact-primary);
	font-size: 20px;
}

.contact-hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 8px;
}

.contact-hero__buttons .btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 32px;
	background: var(--contact-gradient);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	border-radius: 12px;
	text-decoration: none;
	box-shadow: 0 8px 25px rgba(0, 56, 255, 0.3);
	transition: all 0.3s ease;
}

.contact-hero__buttons .btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(0, 56, 255, 0.4);
}

.contact-hero__buttons .btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 32px;
	background: var(--contact-surface);
	color: var(--contact-text);
	font-size: 15px;
	font-weight: 700;
	border: 2px solid var(--contact-border);
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.contact-hero__buttons .btn-secondary:hover {
	border-color: var(--contact-primary);
	color: var(--contact-primary);
}

.contact-hero__image {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.contact-hero__image::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(0, 56, 255, 0.1) 0%, transparent 50%);
	z-index: 1;
}

.contact-hero__image img {
	width: 100%;
	height: auto;
	display: block;
}

/* ============================================
   CONTACT OPTIONS
   ============================================ */
.contact-options {
	padding: 80px 0;
	background: var(--contact-bg-alt);
}

.contact-options__header {
	margin-bottom: 40px;
}

.contact-options__header h2 {
	font-size: 28px;
	font-weight: 700;
	color: var(--contact-text);
	margin: 0;
}

.contact-options__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.contact-option {
	display: flex;
	flex-direction: column;
	padding: 28px;
	background: var(--contact-surface);
	border: 1px solid var(--contact-border);
	border-radius: 16px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.contact-option:hover {
	border-color: rgba(0, 56, 255, 0.3);
	box-shadow: 0 12px 30px rgba(0, 56, 255, 0.1);
	transform: translateY(-4px);
}

.contact-option__icon {
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	margin-bottom: 16px;
	transition: all 0.3s ease;
}

.contact-option__icon .material-symbols-outlined {
	font-size: 28px;
}

.contact-option--zalo .contact-option__icon {
	background: rgba(0, 56, 255, 0.1);
	color: var(--contact-primary);
}

.contact-option--phone .contact-option__icon {
	background: rgba(239, 68, 68, 0.1);
	color: #ef4444;
}

.contact-option--email .contact-option__icon {
	background: rgba(168, 85, 247, 0.1);
	color: #a855f7;
}

.contact-option--calendar .contact-option__icon {
	background: rgba(34, 197, 94, 0.1);
	color: #22c55e;
}

.contact-option:hover .contact-option__icon {
	color: #fff;
}

.contact-option--zalo:hover .contact-option__icon {
	background: var(--contact-primary);
}

.contact-option--phone:hover .contact-option__icon {
	background: #ef4444;
}

.contact-option--email:hover .contact-option__icon {
	background: #a855f7;
}

.contact-option--calendar:hover .contact-option__icon {
	background: #22c55e;
}

.contact-option__title {
	font-size: 18px;
	font-weight: 700;
	color: var(--contact-text);
	margin: 0 0 6px;
}

.contact-option__desc {
	font-size: 14px;
	color: var(--contact-text-muted);
	margin: 0 0 16px;
	flex: 1;
}

.contact-option__link {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
	color: var(--contact-primary);
	transition: gap 0.3s ease;
}

.contact-option:hover .contact-option__link {
	gap: 10px;
}

.contact-option__link .material-symbols-outlined {
	font-size: 16px;
}

/* ============================================
   CONSULTATION SECTION
   ============================================ */
.contact-consult {
	padding: 100px 0;
	background: var(--contact-bg);
}

.contact-consult__grid {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: 60px;
	align-items: start;
}

.contact-consult__info {
	position: sticky;
	top: 100px;
}

.contact-consult__info h2 {
	font-size: 32px;
	font-weight: 800;
	color: var(--contact-text);
	margin: 0 0 16px;
}

.contact-consult__info > p {
	font-size: 16px;
	color: var(--contact-text-muted);
	margin: 0 0 32px;
	line-height: 1.6;
}

.contact-consult__benefits {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-bottom: 40px;
}

.contact-benefit {
	display: flex;
	gap: 16px;
}

.contact-benefit__icon {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 56, 255, 0.1);
	color: var(--contact-primary);
	border-radius: 12px;
	flex-shrink: 0;
}

.contact-benefit__icon .material-symbols-outlined {
	font-size: 24px;
}

.contact-benefit h4 {
	font-size: 17px;
	font-weight: 700;
	color: var(--contact-text);
	margin: 0 0 4px;
}

.contact-benefit p {
	font-size: 14px;
	color: var(--contact-text-muted);
	margin: 0;
	line-height: 1.5;
}

.contact-consult__partners {
	padding-top: 32px;
	border-top: 1px solid var(--contact-border);
}

.contact-consult__partners p {
	font-size: 14px;
	font-weight: 600;
	color: var(--contact-text-muted);
	margin: 0 0 16px;
}

.contact-consult__logos {
	display: flex;
	gap: 24px;
	align-items: center;
	opacity: 0.6;
	filter: grayscale(1);
}

.contact-consult__logos img {
	height: 32px;
	width: auto;
}

.contact-consult__stats {
	font-size: 13px;
	color: var(--contact-text-muted);
	margin-top: 12px;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form-wrapper {
	background: var(--contact-bg-alt);
	border-radius: 20px;
	padding: 40px;
	border: 1px solid var(--contact-border);
	box-shadow: var(--contact-shadow);
}

.contact-form-wrapper h3 {
	font-size: 24px;
	font-weight: 700;
	color: var(--contact-text);
	margin: 0 0 8px;
}

.contact-form-wrapper > p {
	font-size: 14px;
	color: var(--contact-text-muted);
	margin: 0 0 32px;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.contact-form__group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.contact-form__group label {
	font-size: 14px;
	font-weight: 600;
	color: var(--contact-text);
}

.contact-form__group label .required {
	color: #ef4444;
}

.contact-form__group input,
.contact-form__group select,
.contact-form__group textarea {
	width: 100%;
	padding: 14px 18px;
	background: var(--contact-surface);
	border: 1px solid var(--contact-border);
	border-radius: 12px;
	font-size: 15px;
	color: var(--contact-text);
	outline: none;
	transition: all 0.3s ease;
	font-family: inherit;
}

.contact-form__group input::placeholder,
.contact-form__group textarea::placeholder {
	color: #94a3b8;
}

.contact-form__group input:focus,
.contact-form__group select:focus,
.contact-form__group textarea:focus {
	border-color: var(--contact-primary);
	box-shadow: 0 0 0 3px rgba(0, 56, 255, 0.1);
}

.contact-form__group select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
	padding-right: 48px;
}

.contact-form__group textarea {
	min-height: 120px;
	resize: vertical;
}

.contact-form__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 56px;
	background: var(--contact-gradient);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	box-shadow: 0 8px 25px rgba(0, 56, 255, 0.3);
	transition: all 0.3s ease;
}

.contact-form__submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(0, 56, 255, 0.4);
}

.contact-form__submit .material-symbols-outlined {
	font-size: 20px;
}

.contact-form__privacy {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 13px;
	color: var(--contact-text-muted);
}

.contact-form__privacy .material-symbols-outlined {
	font-size: 16px;
	color: #22c55e;
}

/* ============================================
   COMPANY INFO & MAP
   ============================================ */
.contact-info {
	padding: 80px 0;
	background: var(--contact-bg-alt);
}

.contact-info__card {
	display: flex;
	background: var(--contact-surface);
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid var(--contact-border);
	box-shadow: var(--contact-shadow);
}

.contact-info__details {
	flex: 0 0 400px;
	padding: 48px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.contact-info__details h2 {
	font-size: 24px;
	font-weight: 700;
	color: var(--contact-text);
	margin: 0 0 32px;
}

.contact-info__list {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.contact-info__item {
	display: flex;
	gap: 16px;
}

.contact-info__item .material-symbols-outlined {
	color: var(--contact-primary);
	font-size: 24px;
	flex-shrink: 0;
	margin-top: 2px;
}

.contact-info__item h4 {
	font-size: 16px;
	font-weight: 700;
	color: var(--contact-text);
	margin: 0 0 4px;
}

.contact-info__item p {
	font-size: 14px;
	color: var(--contact-text-muted);
	margin: 0;
	line-height: 1.6;
}

.contact-info__map {
	flex: 1;
	min-height: 400px;
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-info__map iframe {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

.contact-info__map-overlay {
	position: absolute;
	bottom: 16px;
	right: 16px;
	padding: 12px 20px;
	background: var(--contact-surface);
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--contact-text);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	text-decoration: none;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
}

.contact-info__map-overlay .material-symbols-outlined {
	font-size: 18px;
}

.contact-info__map-overlay:hover {
	background: var(--contact-gradient);
	color: #fff;
	transform: translateY(-2px);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.contact-faq {
	padding: 80px 0;
	background: var(--contact-bg);
}

.contact-faq__header {
	text-align: center;
	margin-bottom: 48px;
}

.contact-faq__header h2 {
	font-size: 28px;
	font-weight: 700;
	color: var(--contact-text);
	margin: 0;
}

.contact-faq__list {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.contact-faq__item {
	background: var(--contact-bg-alt);
	border: 1px solid var(--contact-border);
	border-radius: 12px;
	overflow: hidden;
	transition: border-color 0.3s ease;
}

.contact-faq__item[open] {
	border-color: rgba(0, 56, 255, 0.3);
}

.contact-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	font-size: 16px;
	font-weight: 700;
	color: var(--contact-text);
	cursor: pointer;
	list-style: none;
}

.contact-faq__item summary::-webkit-details-marker {
	display: none;
}

.contact-faq__item summary .material-symbols-outlined {
	color: var(--contact-text-muted);
	transition: transform 0.3s ease;
}

.contact-faq__item[open] summary .material-symbols-outlined {
	transform: rotate(180deg);
}

.contact-faq__answer {
	padding: 0 24px 20px;
	font-size: 15px;
	color: var(--contact-text-muted);
	line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.contact-cta {
	padding: 100px 0;
	background: var(--contact-bg-alt);
}

.contact-cta__card {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	border-radius: 24px;
	padding: 60px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.contact-cta__card::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -20%;
	width: 400px;
	height: 400px;
	background: rgba(0, 56, 255, 0.2);
	border-radius: 50%;
	filter: blur(80px);
}

.contact-cta__card::after {
	content: '';
	position: absolute;
	bottom: -50%;
	right: -20%;
	width: 400px;
	height: 400px;
	background: rgba(15, 222, 201, 0.15);
	border-radius: 50%;
	filter: blur(80px);
}

.contact-cta__content {
	position: relative;
	z-index: 1;
	max-width: 600px;
	margin: 0 auto;
}

.contact-cta__content h2 {
	font-size: 36px;
	font-weight: 800;
	color: #fff;
	margin: 0 0 16px;
}

.contact-cta__content p {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.8);
	margin: 0 0 32px;
	line-height: 1.6;
}

.contact-cta__buttons {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.contact-cta__buttons .btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 32px;
	background: var(--contact-gradient);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	border-radius: 12px;
	text-decoration: none;
	box-shadow: 0 8px 25px rgba(0, 56, 255, 0.4);
	transition: all 0.3s ease;
}

.contact-cta__buttons .btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(0, 56, 255, 0.5);
}

.contact-cta__buttons .btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 52px;
	padding: 0 32px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.contact-cta__buttons .btn-secondary:hover {
	background: rgba(255, 255, 255, 0.2);
}

.contact-cta__buttons .btn-secondary .material-symbols-outlined {
	font-size: 20px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
	.contact-hero__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	
	.contact-hero__image {
		order: -1;
	}
	
	.contact-options__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.contact-consult__grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}
	
	.contact-consult__info {
		position: static;
	}
	
	.contact-info__card {
		flex-direction: column;
	}
	
	.contact-info__details {
		flex: none;
	}
	
	.contact-info__map {
		min-height: 300px;
	}
}

@media (max-width: 768px) {
	.contact-hero {
		padding: 60px 0 80px;
	}
	
	.contact-hero__title {
		font-size: 32px;
	}
	
	.contact-hero__buttons {
		flex-direction: column;
	}
	
	.contact-hero__buttons .btn-primary,
	.contact-hero__buttons .btn-secondary {
		width: 100%;
	}
	
	.contact-options__grid {
		grid-template-columns: 1fr;
	}
	
	.contact-form-wrapper {
		padding: 28px;
	}
	
	.contact-form__row {
		grid-template-columns: 1fr;
	}
	
	.contact-info__details {
		padding: 32px;
	}
	
	.contact-cta__card {
		padding: 40px 24px;
	}
	
	.contact-cta__content h2 {
		font-size: 28px;
	}
	
	.contact-cta__buttons {
		flex-direction: column;
	}
	
	.contact-cta__buttons .btn-primary,
	.contact-cta__buttons .btn-secondary {
		width: 100%;
	}
}
