/* ==========================================================================
   Patient Care Home BD - Contact & Care Consultation Page Styles
   ========================================================================== */

.pch-contact-page-wrapper {
	width: 100%;
	background-color: #f8fafc;
	min-height: 80vh;
	box-sizing: border-box;
}

.pch-contact-page-wrapper * {
	box-sizing: border-box;
}

.pch-contact-container {
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(16px, 3.5vw, 28px);
	padding-right: clamp(16px, 3.5vw, 28px);
}

/* --------------------------------------------------------------------------
   1. HERO SECTION
   -------------------------------------------------------------------------- */
.pch-contact-hero {
	background: linear-gradient(135deg, #0b1527 0%, #172554 100%);
	padding: clamp(50px, 7vw, 90px) 0 clamp(40px, 5vw, 65px);
	position: relative;
	color: #ffffff;
	text-align: center;
	overflow: hidden;
}

.pch-contact-hero::before {
	content: '';
	position: absolute;
	top: -80px;
	left: 50%;
	transform: translateX(-50%);
	width: 600px;
	height: 350px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(37, 150, 190, 0.2) 0%, transparent 70%);
	pointer-events: none;
}

.pch-contact-hero-content {
	max-width: 800px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.pch-contact-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #38bdf8;
	font-size: 13px;
	font-weight: 700;
	padding: 6px 16px;
	border-radius: 9999px;
	margin-bottom: 20px;
}

.pch-pulse-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #22c55e;
	box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
	animation: pch-pulse 2s infinite;
}

@keyframes pch-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
	}
	70% {
		box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
	}
}

.pch-contact-title {
	font-size: clamp(28px, 3.8vw, 46px);
	font-weight: 800;
	line-height: 1.2;
	color: #ffffff;
	margin: 0 0 16px 0;
	letter-spacing: -0.02em;
}

.pch-contact-subtitle {
	font-size: clamp(15px, 1.2vw, 17.5px);
	line-height: 1.65;
	color: #94a3b8;
	margin: 0;
}

/* --------------------------------------------------------------------------
   2. MAIN 2-COLUMN GRID SECTION
   -------------------------------------------------------------------------- */
.pch-contact-main-section {
	padding: clamp(40px, 5vw, 75px) 0 clamp(60px, 8vw, 100px);
}

.pch-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.35fr;
	gap: clamp(28px, 4vw, 52px);
	align-items: flex-start;
}

/* --------------------------------------------------------------------------
   Left Column: Direct Info Card & Trust Elements
   -------------------------------------------------------------------------- */
.pch-contact-info-card {
	background: #ffffff;
	border: 1.5px solid #e2e8f0;
	border-radius: 24px;
	padding: clamp(28px, 3.5vw, 40px);
	box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.pch-contact-info-header {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.pch-contact-mini-tag {
	display: inline-block;
	color: #e11d48;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.pch-contact-info-title {
	font-size: clamp(20px, 2vw, 24px);
	font-weight: 800;
	color: #0f172a;
	margin: 0;
	line-height: 1.3;
}

.pch-contact-info-desc {
	font-size: 14.5px;
	line-height: 1.6;
	color: #64748b;
	margin: 0;
}

/* Direct Action Buttons */
.pch-contact-direct-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pch-contact-btn-hotline {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--pch-primary, #2596be);
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	padding: 14px 20px;
	border-radius: 14px;
	text-decoration: none;
	transition: all 0.25s ease;
	box-shadow: 0 6px 18px rgba(37, 150, 190, 0.28);
}

.pch-contact-btn-hotline:hover {
	background: #1d7b9d;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(37, 150, 190, 0.38);
}

.pch-contact-btn-whatsapp {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #25d366;
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	padding: 14px 20px;
	border-radius: 14px;
	text-decoration: none;
	transition: all 0.25s ease;
	box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25);
}

.pch-contact-btn-whatsapp:hover {
	background: #20ba5a;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

/* Details list */
.pch-contact-detail-list {
	display: flex;
	flex-direction: column;
	gap: 18px;
	border-top: 1px solid #f1f5f9;
	border-bottom: 1px solid #f1f5f9;
	padding: 22px 0;
}

.pch-contact-detail-item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.pch-contact-icon-box {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: #f1f5f9;
	color: var(--pch-primary, #2596be);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.pch-contact-detail-title {
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 3px 0;
}

.pch-contact-detail-text {
	font-size: 13.5px;
	line-height: 1.55;
	color: #64748b;
	margin: 0;
}

/* Coverage Zones Chips */
.pch-contact-coverage-box {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pch-contact-coverage-title {
	font-size: 13px;
	font-weight: 700;
	color: #334155;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.pch-contact-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.pch-contact-chips span {
	background: #f1f5f9;
	color: #475569;
	font-size: 12px;
	font-weight: 600;
	padding: 5px 10px;
	border-radius: 6px;
}

/* --------------------------------------------------------------------------
   Right Column: Consultation Form Card
   -------------------------------------------------------------------------- */
.pch-contact-form-card {
	background: #ffffff;
	border: 1.5px solid #e2e8f0;
	border-radius: 24px;
	padding: clamp(28px, 4vw, 44px);
	box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.07);
	position: relative;
}

.pch-form-header {
	margin-bottom: 24px;
}

.pch-form-title {
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 6px 0;
	line-height: 1.25;
}

.pch-form-subtitle {
	font-size: 14.5px;
	line-height: 1.6;
	color: #64748b;
	margin: 0;
}

/* Form Alert Box */
.pch-form-alert {
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	margin-bottom: 20px;
}

.pch-form-alert.is-error {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

.pch-form-alert.is-success {
	background: #f0fdf4;
	color: #15803d;
	border: 1px solid #bbf7d0;
}

/* Form Layout */
.pch-form-row {
	margin-bottom: 18px;
}

.pch-form-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.pch-form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.pch-form-label {
	font-size: 13.5px;
	font-weight: 700;
	color: #1e293b;
}

.pch-required {
	color: #e11d48;
}

.pch-form-control {
	width: 100%;
	font-family: inherit;
	font-size: 15px;
	color: #0f172a;
	background: #fafbfc;
	border: 1.5px solid #cbd5e1;
	border-radius: 12px;
	padding: 12px 16px;
	transition: all 0.2s ease;
	outline: none;
}

.pch-form-control:focus {
	background: #ffffff;
	border-color: var(--pch-primary, #2596be);
	box-shadow: 0 0 0 3px rgba(37, 150, 190, 0.15);
}

.pch-form-hint {
	font-size: 12px;
	color: #64748b;
	line-height: 1.4;
}

/* Submit Button */
.pch-form-submit-row {
	margin-top: 24px;
}

.pch-form-submit-btn {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--pch-primary, #2596be);
	color: #ffffff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	padding: 15px 24px;
	border: none;
	border-radius: 14px;
	cursor: pointer;
	transition: all 0.25s ease;
	box-shadow: 0 8px 24px rgba(37, 150, 190, 0.28);
}

.pch-form-submit-btn:hover:not(:disabled) {
	background: #1d7b9d;
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(37, 150, 190, 0.38);
}

.pch-form-submit-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.pch-btn-spinner svg {
	animation: pch-spin 1s linear infinite;
}

@keyframes pch-spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.pch-form-privacy-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 12.5px;
	color: #64748b;
	margin-top: 14px;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Success Card State
   -------------------------------------------------------------------------- */
.pch-form-success-card {
	text-align: center;
	padding: clamp(24px, 4vw, 36px) 16px;
	animation: pch-fade-in 0.35s ease;
}

@keyframes pch-fade-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.pch-success-icon-wrap {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #dcfce7;
	color: #15803d;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
}

.pch-success-title {
	font-size: clamp(22px, 2.5vw, 28px);
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 12px 0;
}

.pch-success-desc {
	font-size: 15.5px;
	line-height: 1.65;
	color: #475569;
	max-width: 500px;
	margin: 0 auto 24px;
}

.pch-success-fasttrack {
	background: #f0fdf4;
	border: 1.5px solid #bbf7d0;
	border-radius: 18px;
	padding: 20px;
	max-width: 520px;
	margin: 0 auto 24px;
}

.pch-fasttrack-note {
	font-size: 13.5px;
	font-weight: 600;
	color: #166534;
	margin: 0 0 12px 0;
}

.pch-fasttrack-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #25d366;
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	padding: 13px 22px;
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.2s ease;
	box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

.pch-fasttrack-btn:hover {
	background: #20ba5a;
	color: #ffffff;
	transform: translateY(-2px);
}

.pch-submit-another-link {
	background: none;
	border: none;
	color: #64748b;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
	padding: 8px 12px;
}

.pch-submit-another-link:hover {
	color: var(--pch-primary, #2596be);
}

/* --------------------------------------------------------------------------
   Responsive Adaptations
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
	.pch-contact-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.pch-contact-info-card {
		order: 2;
	}

	.pch-contact-form-wrapper {
		order: 1;
	}
}

@media (max-width: 600px) {
	.pch-form-grid-2 {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.pch-contact-direct-actions {
		flex-direction: column;
	}
}

/* --------------------------------------------------------------------------
   3. INTERACTIVE GOOGLE MAP & LOCATION SECTION
   -------------------------------------------------------------------------- */
.pch-contact-map-section {
	width: 100%;
	background-color: #ffffff;
	padding: clamp(55px, 7vw, 90px) 0 clamp(65px, 8vw, 105px);
	border-top: 1px solid #edf2f7;
	position: relative;
	box-sizing: border-box;
}

.pch-map-header {
	text-align: center;
	max-width: 760px;
	margin: 0 auto clamp(30px, 4vw, 46px);
}

.pch-map-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: #f0fdf4;
	color: #15803d;
	border: 1px solid #bbf7d0;
	font-size: 13px;
	font-weight: 700;
	padding: 5px 15px;
	border-radius: 9999px;
	margin-bottom: 14px;
	letter-spacing: 0.2px;
}

.pch-map-title {
	font-size: clamp(26px, 3.4vw, 38px);
	font-weight: 800;
	color: #0b1527;
	line-height: 1.22;
	letter-spacing: -0.02em;
	margin: 0 0 12px 0;
}

.pch-map-desc {
	font-size: clamp(14.5px, 1.3vw, 16px);
	color: #64748b;
	line-height: 1.65;
	margin: 0;
}

.pch-map-canvas-wrap {
	position: relative;
	border-radius: 22px;
	overflow: hidden;
	border: 1.5px solid #e2e8f0;
	box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.08), 0 4px 14px -2px rgba(15, 23, 42, 0.03);
	background: #f1f5f9;
}

.pch-map-iframe {
	display: block;
	width: 100%;
	height: 520px;
	border: 0;
	vertical-align: middle;
}

/* Floating Card Overlay */
.pch-map-floating-card {
	position: absolute;
	top: 24px;
	left: 24px;
	max-width: 370px;
	width: calc(100% - 48px);
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 18px;
	padding: 22px;
	box-shadow: 0 22px 50px -12px rgba(15, 23, 42, 0.22), 0 4px 12px -2px rgba(15, 23, 42, 0.08);
	z-index: 5;
	box-sizing: border-box;
}

.pch-map-card-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid #f1f5f9;
}

.pch-map-card-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--pch-primary-surface, #f0f9fc);
	color: var(--pch-primary, #2596be);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	border: 1px solid var(--pch-primary-border, #bce1ee);
}

.pch-map-card-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11.5px;
	font-weight: 700;
	color: #166534;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	margin-bottom: 3px;
}

.pch-map-card-title {
	font-size: 16px;
	font-weight: 800;
	color: #0b1527;
	margin: 0;
	line-height: 1.25;
}

.pch-map-card-body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 18px;
}

.pch-map-info-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.pch-map-info-icon {
	color: var(--pch-primary, #2596be);
	flex-shrink: 0;
	margin-top: 3px;
}

.pch-map-info-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pch-map-info-label {
	font-size: 11px;
	font-weight: 700;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.pch-map-info-val {
	font-size: 13.5px;
	color: #334155;
	font-weight: 600;
	line-height: 1.4;
}

.pch-map-info-link {
	font-size: 14px;
	color: var(--pch-primary, #2596be);
	font-weight: 700;
	text-decoration: none;
	transition: color 0.2s ease;
}

.pch-map-info-link:hover {
	color: var(--pch-primary-hover, #1a7a9c);
	text-decoration: underline;
}

.pch-map-card-footer {
	margin-top: 4px;
}

.pch-map-directions-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	background: var(--pch-primary, #2596be);
	color: #ffffff !important;
	font-size: 13.5px;
	font-weight: 700;
	padding: 11px 18px;
	border-radius: 11px;
	text-decoration: none !important;
	transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 4px 14px rgba(37, 150, 190, 0.35);
	outline: none !important;
	-webkit-tap-highlight-color: transparent !important;
	box-sizing: border-box;
}

.pch-map-directions-btn:hover {
	background: var(--pch-primary-hover, #1a7a9c);
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(37, 150, 190, 0.45);
}

.pch-map-directions-btn svg {
	transition: transform 0.2s ease;
	flex-shrink: 0;
}

.pch-map-directions-btn:hover svg {
	transform: translate(2px, -2px);
}

@media (max-width: 768px) {
	.pch-map-floating-card {
		position: relative;
		top: auto;
		left: auto;
		max-width: 100%;
		width: 100%;
		border-radius: 0 0 20px 20px;
		box-shadow: none;
		border: none;
		border-top: 1px solid #e2e8f0;
		background: #ffffff;
		padding: 20px 16px;
	}

	.pch-map-iframe {
		height: 380px;
	}
}
