/* Khung bọc Form */
.minimal-cf7-form {
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
	box-sizing: border-box;
}

/* Xóa margin mặc định của thẻ <p> do CF7 tự tạo */
.minimal-cf7-form p {
	margin: 0;
}

/* Khoảng cách giữa các ô */
.minimal-cf7-form .form-group {
	margin-bottom: 28px;
	position: relative;
	display: flex;
	flex-direction: column;
}

/* Nhãn (Label) */
.minimal-cf7-form label {
	font-size: 15px;
	color: var(--deep-cool-gray);
	opacity: 0.85;
	margin-bottom: 6px;
	display: block;
	font-weight: 400;
}

/* Dấu sao màu đỏ */
.minimal-cf7-form label .required {
	color: var(--color-red);
	font-weight: bold;
	margin-left: 2px;
}

/* Xử lý wrapper của CF7 */
.minimal-cf7-form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

/* Ô nhập liệu (Input & Textarea) dạng chỉ gạch dưới */
.minimal-cf7-form input[type="text"],
.minimal-cf7-form input[type="tel"],
.minimal-cf7-form input[type="email"],
.minimal-cf7-form textarea {
	width: 100%;
	border: none !important;
	border-bottom: 1.5px solid #E2E8F0 !important;
	background: transparent !important;
	border-radius: 0 !important;
	font-size: 16px;
	color: var(--deep-cool-gray);
	outline: none !important;
	box-shadow: none !important;
	box-sizing: border-box;
	transition: border-color 0.3s ease;
	margin-bottom: 0;
}

/* Hiệu ứng khi bấm vào ô nhập liệu (Focus) */
.minimal-cf7-form input:focus,
.minimal-cf7-form textarea:focus {
	border-bottom-color: var(--color-electric) !important;
}

/* Ô tin nhắn */
.minimal-cf7-form textarea {
	resize: vertical;
	min-height: 40px;
}

/* Nút Submit Gradient như trong ảnh */
.minimal-cf7-form input[type="submit"] {
	width: 100%;
	height: 52px;
	background: linear-gradient(90deg, #81A6FF 0%, var(--color-electric) 100%) !important;
	color: var(--color-white) !important;
	font-size: 16px;
	font-weight: 600;
	border: none !important;
	border-radius: 8px;
	cursor: pointer;
	box-shadow: none;
	transition: opacity 0.3s ease, transform 0.1s ease;
	display: block;
}

/* Hiệu ứng hover nút submit */
.minimal-cf7-form input[type="submit"]:hover {
	opacity: 0.92;
}

.minimal-cf7-form input[type="submit"]:active {
	transform: scale(0.99);
}

/* Căn giữa vòng xoay loading của CF7 */
.minimal-cf7-form .wpcf7-spinner {
	margin: 10px auto 0;
	display: block;
}

/* Thông báo lỗi & thành công của CF7 */
.minimal-cf7-form .wpcf7-not-valid-tip {
	color: var(--color-red);
	font-size: 13px;
	margin-top: 4px;
}

.minimal-cf7-form .wpcf7-response-output {
	margin: 15px 0 0 0 !important;
	padding: 10px !important;
	border-radius: 6px;
	font-size: 14px;
}

.minimal-cf7-form .wpcf7-spinner {
	display: none;
}

/* Bản đồ */
.map-section-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding-bottom: 40px;
}

.map-section-wrapper * {
    box-sizing: border-box;
}

/* NÚT XEM TRÊN GOOGLE MAPS: Độc lập, z-index cao nhất, sắc nét không bị ảnh hưởng bởi mờ */
.btn-google-maps {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    background: var(--color-white);
    color: var(--color-electric);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0px;
}

/* Vòng tròn xanh chứa icon mũi tên: Mặc định ẩn */
.btn-google-maps .btn-icon-circle {
    width: 0;
    height: 28px;
    background-color: var(--color-electric);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.4) rotate(-45deg);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.btn-google-maps .btn-icon-circle i {
    color: var(--color-white);
    font-size: 13px;
}

/* Hover: Bung nút tròn mũi tên ra */
.btn-google-maps:hover {
    padding: 8px 10px 8px 22px;
    gap: 12px;
    box-shadow: 0 12px 28px rgba(41, 121, 255, 0.22);
    color: var(--color-electric);
}

.btn-google-maps:hover .btn-icon-circle {
    width: 28px;
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Khung hiển thị bản đồ */
.map-container {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    background-color: var(--color-white);
    z-index: 1;
}

/* Ẩn pop-up card thông tin của Google Maps */
.map-iframe-wrapper {
    position: absolute;
    top: -80px;
    left: -80px;
    width: calc(100% + 160px);
    height: calc(100% + 160px);
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: contrast(0.9) brightness(1.03) saturate(0.85);
}

/* LỚP MỜ: Làm mờ dần 2 bên mép trái/phải và cạnh trên/dưới vào màu trắng */
.map-overlay-fade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: 
        linear-gradient(to right, 
            rgba(255, 255, 255, 0.95) 0%, 
            rgba(255, 255, 255, 0.7) 12%, 
            transparent 28%, 
            transparent 72%, 
            rgba(255, 255, 255, 0.7) 88%, 
            rgba(255, 255, 255, 0.95) 100%),
        linear-gradient(to bottom, 
            rgba(255, 255, 255, 0.5) 0%, 
            transparent 15%, 
            transparent 80%, 
            rgba(255, 255, 255, 0.9) 100%);
}

/* 3 Card thông tin bên dưới */
.contact-cards-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 20px;
    margin-top: -65px;
    position: relative;
    z-index: 20;
    padding: 0 20px;
}

.contact-card {
    background: var(--color-white);
    border-radius: 18px;
    padding: 24px 28px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-electric);
    font-size: 16px;
    font-weight: 700;
}

.card-header i {
    font-size: 18px;
    color: var(--color-electric);
}

.card-content {
    color: var(--deep-cool-gray);
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
    text-decoration: none;
}

a.card-content:hover {
    color: var(--color-electric);
}

/* Responsive */
@media (max-width: 991px) {
    .contact-cards-container {
        grid-template-columns: 1fr;
        margin-top: -40px;
        gap: 16px;
    }
    .map-container {
        height: 420px;
    }
}

@media (max-width: 600px) {
    .map-container {
        height: 380px;
        border-radius: 16px;
    }
	
    .btn-google-maps {
        top: 16px;
        right: 16px;
        padding: 10px 18px;
        font-size: 13px;
    }
	
    .contact-card {
        padding: 18px 20px;
    }
}