/**
 * JT Contact Us widget styles.
 *
 * Extracted verbatim from the shared jt-widgets.css Contact Us
 * section. Already scoped by stable classes, not per-instance IDs,
 * so no selector rewriting was needed.
 *
 * The mobile responsive block below (under the original "Responsive
 * Layout" comment) was misfiled under the Premium Coupon Card section
 * of jt-widgets.css - it's the only mobile breakpoint for these Contact
 * Us classes anywhere in the codebase, so it's rescued back here rather
 * than dropped or left stranded.
 */

/* JT Contact Us */
.jt-contact-wrapper {
	width: 100%; position: relative; overflow: hidden;
}

.jt-contact-map-container {
	width: calc(100% - 40px);
	max-width: 1300px;
	height: 450px;
	position: relative;
	margin: 0 auto;
	background: #f8fafc;
	border-radius: 30px;
	border: 1px solid rgba(15, 23, 42, 0.06);
	overflow: hidden;
	box-shadow: 0 24px 60px -15px rgba(15, 23, 42, 0.08);
}
.jt-contact-map-container iframe {
	filter: contrast(1.02) grayscale(0.3) opacity(0.95);
	width: 100%; height: 100%; pointer-events: none;
}

/* Map Overlay & Pin */
.jt-map-overlay {
	position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(15,23,42,0.1), rgba(15,23,42,0.4));
	display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.jt-map-pin-anim {
	position: relative; color: var(--jt-contact-primary); margin-top: -20px;
	animation: jtPinBounce 2s infinite cubic-bezier(0.28, 0.84, 0.42, 1);
}
.jt-map-pin-anim svg {
	width: 52px; height: 52px; fill: #ffffff; stroke: var(--jt-contact-primary); stroke-width: 1.8; filter: drop-shadow(0 12px 20px rgba(250,52,52,0.3));
}
.jt-pin-pulse {
	position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); width: 20px; height: 10px; background: rgba(0,0,0,0.2);
	border-radius: 50%; z-index: -1; animation: jtPinShadow 2s infinite cubic-bezier(0.28, 0.84, 0.42, 1);
}
@keyframes jtPinBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes jtPinShadow { 0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.5; } 50% { transform: translateX(-50%) scale(0.6); opacity: 0.2; } }

/* Floating Card */
.jt-map-floating-card {
	position: absolute; bottom: 30px; left: 30px; max-width: 300px;
	background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
	padding: 26px; border-radius: 24px; box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
	display: flex; flex-direction: column; gap: 14px; border: 1px solid rgba(255, 255, 255, 0.6);
	transition: all 0.3s ease;
}
@media (max-width: 1250px) { .jt-map-floating-card { left: 20px; } }
.jt-mfc-icon { width: 44px; height: 44px; background: #ffffff; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--jt-contact-primary); font-size: 18px; margin-bottom: 4px; border: 1px solid rgba(15, 23, 42, 0.05); box-shadow: 0 4px 10px rgba(15,23,42,0.02); }
.jt-mfc-content h4 { margin: 0 0 6px 0; font-size: 18px; font-weight: 800; color: var(--jt-contact-heading); letter-spacing: -0.5px; }
.jt-mfc-content p { margin: 0; font-size: 13.5px; font-weight: 500; color: inherit; line-height: 1.6; }
.jt-mfc-btn {
	display: inline-block; background: var(--jt-contact-heading); color: #fff; padding: 12px; text-align: center; border-radius: 12px; font-size: 13px; font-weight: 700; text-decoration: none; margin-top: 6px; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); letter-spacing: 0.2px;
}
.jt-mfc-btn:hover { background: var(--jt-contact-primary); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(250,52,52,0.2); color: #fff; }

/* --- Main Content Grid --- */
.jt-contact-main-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	max-width: 1300px;
	margin: 60px auto;
	align-items: flex-start;
	padding: 0 20px;
}

/* Common Typography */
.jt-contact-title {
	font-size: clamp(28px, 3vw, 36px); font-weight: 900; color: var(--jt-contact-heading); margin: 0 0 12px 0; letter-spacing: -1px;
	line-height: 1.2;
}

/* --- Form Styling (Left) --- */
.jt-contact-form-col {
	background: #ffffff; border-radius: 32px; padding: 52px 44px;
	box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.03), 0 0 0 1px rgba(15, 23, 42, 0.02); border: 1px solid rgba(15, 23, 42, 0.03);
	position: relative;
}

/* Form Elements Form Styler */
.jt-contact-form-body .wpcf7 p,
.jt-contact-form-body .wpforms-field { display: block; margin-bottom: 18px; }

.jt-contact-form-body label { font-size: 14px; font-weight: 700; color: var(--jt-contact-heading); margin-bottom: 8px; display: block; }

.jt-contact-form-body input[type="text"],
.jt-contact-form-body input[type="email"],
.jt-contact-form-body input[type="tel"],
.jt-contact-form-body select,
.jt-contact-form-body textarea {
	width: 100%; padding: 17px 22px; border: 1px solid rgba(15, 23, 42, 0.06); border-radius: 18px;
	background: linear-gradient(to bottom, #f8fafc, #ffffff); font-size: 14px; font-weight: 500; line-height: 1.6; color: var(--jt-contact-heading); font-family: inherit;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); box-sizing: border-box;
	letter-spacing: -0.1px; box-shadow: inset 0 2px 4px rgba(15,23,42,0.01);
}

.jt-contact-form-body textarea { min-height: 120px; resize: vertical; }

.jt-contact-form-body input:focus,
.jt-contact-form-body select:focus,
.jt-contact-form-body textarea:focus {
	border-color: var(--jt-contact-primary); background: #ffffff; box-shadow: 0 0 0 4px rgba(250, 52, 52, 0.06), 0 8px 20px -6px rgba(15,23,42,0.05); outline: none;
}

.jt-contact-form-body input[type="submit"],
.jt-contact-form-body button[type="submit"],
.jt-contact-form-body .wpcf7-submit {
	background: var(--jt-contact-primary); color: #ffffff; border: none; padding: 19px 36px; font-size: 15px; font-weight: 800;
	border-radius: 18px; cursor: pointer; width: 100%; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); margin-top: 12px; box-shadow: 0 12px 28px rgba(250, 52, 52, 0.18);
	position: relative; overflow: hidden;
}
.jt-contact-form-body input[type="submit"]:hover,
.jt-contact-form-body button[type="submit"]:hover,
.jt-contact-form-body .wpcf7-submit:hover {
	transform: translateY(-4px) scale(1.01); box-shadow: 0 16px 36px rgba(250, 52, 52, 0.25); opacity: 0.98;
}

/* --- Info Blocks (Right) --- */
.jt-info-blocks-wrapper { display: flex; flex-direction: column; gap: 28px; margin-bottom: 40px; }
.jt-info-block { display: flex; align-items: center; gap: 16px; }
.jt-ib-icon {
	width: 54px; height: 52px; background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.06); border-radius: 50%; display: flex; align-items: center; justify-content: center;
	color: var(--jt-contact-primary); font-size: 18px; flex-shrink: 0; transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 8px 20px rgba(15,23,42,0.04);
}
.jt-info-block:hover .jt-ib-icon { background: var(--jt-contact-primary); border-color: var(--jt-contact-primary); color: #fff; transform: scale(1.08) rotate(-6deg); box-shadow: 0 12px 28px rgba(250,52,52,0.18); }
.jt-ib-text { display: flex; flex-direction: column; gap: 2px; }
.jt-ib-text h5 { margin: 0; font-size: 14px; font-weight: 800; color: var(--jt-contact-heading); text-transform: uppercase; letter-spacing: 0.5px; }
.jt-ib-text p { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.6; color: inherit !important; }
.jt-ib-text a { font-size: 15px; font-weight: 500; line-height: 1.6; color: inherit !important; text-decoration: none; transition: color 0.2s; }
.jt-ib-text a:hover { color: var(--jt-contact-primary) !important; }

/* Working Hours */
.jt-working-hours { background: linear-gradient(145deg, #ffffff, #fbfcfd); border-radius: 28px; padding: 36px; border: 1px solid rgba(15, 23, 42, 0.04); box-shadow: 0 24px 50px rgba(15,23,42,0.015); }
.jt-working-hours h4 { margin: 0 0 20px 0; font-size: 14px; font-weight: 900; color: var(--jt-contact-heading); display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 0.5px; font-family: inherit; }
.jt-working-hours h4 i { color: var(--jt-contact-primary); font-size: 16px; }
.jt-working-hours ul { list-style: none; padding: 0; margin: 0; }
.jt-working-hours li { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px dashed rgba(15, 23, 42, 0.06); font-size: 14px; color: inherit; font-weight: 500; line-height: 1.6; font-family: inherit; }
.jt-working-hours li:last-child { border-bottom: none; padding-bottom: 0; }
.jt-working-hours li span { font-family: inherit; font-weight: inherit; }
.jt-working-hours li strong { color: var(--jt-contact-heading); font-weight: 700; font-family: inherit; }

/* Social Icons */
.jt-contact-socials { margin-bottom: 36px; }
.jt-contact-socials h4 { margin: 0 0 16px 0; font-size: 15px; font-weight: 900; color: var(--jt-contact-heading); }
.jt-social-icons { display: flex; gap: 14px; flex-wrap: wrap; }
.jt-social-icon {
	width: 48px; height: 48px; background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.08); border-radius: 14px;
	color: var(--jt-contact-primary); display: flex; align-items: center; justify-content: center;
	font-size: 16px; transition: all 0.3s ease; text-decoration: none; box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.jt-social-icon i { font-size: 18px; transition: transform 0.3s ease; }
.jt-social-icon svg { width: 18px; height: 18px; fill: currentColor; transition: transform 0.3s ease; }
.jt-social-icon:hover {
	background: var(--jt-contact-primary); color: #ffffff; border-color: var(--jt-contact-primary);
	transform: translateY(-4px); box-shadow: 0 8px 24px rgba(250,52,52,0.25);
}
.jt-social-icon:hover i,
.jt-social-icon:hover svg {
	transform: scale(1.15) rotate(-5deg);
}

/* --- Bottom CTA (Full Width) --- */
.jt-contact-cta {
	width: 100vw; position: relative; left: 50%; right: 50%;
	margin-left: -50vw; margin-right: -50vw;
	background: #0f172a;
	padding: 110px 20px; text-align: center;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.jt-cta-title {
	font-size: 34px; font-weight: 900; color: #ffffff;
	margin: 0 0 16px 0; letter-spacing: -1px;
}
.jt-cta-subtitle {
	font-size: 15px; color: #94a3b8 !important; margin: 0 0 40px 0;
	max-width: 600px; line-height: 1.6;
}
.jt-cta-subtitle p { color: #94a3b8 !important; }
.jt-cta-btn {
	background: var(--jt-contact-primary); color: #ffffff;
	padding: 18px 44px; font-size: 16px; font-weight: 800;
	border-radius: 14px; text-decoration: none; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 10px 30px rgba(250,52,52,0.3);
}
.jt-cta-btn:hover {
	background: #ffffff; color: var(--jt-contact-primary);
	transform: translateY(-4px); box-shadow: 0 15px 40px rgba(255,255,255,0.15);
}


/* Responsive Layout */
@media (max-width: 991px) {
	.jt-contact-main-grid { grid-template-columns: 1fr; gap: 40px; margin: 40px auto; }
	.jt-contact-map-container { height: 300px; border-radius: 16px; width: calc(100% - 32px); }
	.jt-contact-title { font-size: 28px; }
	.jt-contact-form-col { padding: 30px; }
	.jt-cta-title { font-size: 36px; }
}
@media (max-width: 768px) {
	.jt-map-floating-card { display: none; } /* Hide floating card on small mobile to show map clearly */
	.jt-contact-form-col { padding: 24px 20px; }
	.jt-contact-title { font-size: 24px; }
	.jt-cta-title { font-size: 28px; }
	.jt-contact-cta { padding: 60px 20px; }
}
