/* ==========================================================================
   Patient Care Home BD - Dynamic Home Page FAQ Section Styles
   ========================================================================== */

.pch-faq-section {
	width: 100%;
	background-color: #f8fafc;
	padding: clamp(48px, 7vw, 90px) 0;
	position: relative;
	box-sizing: border-box;
	border-top: 1px solid #e2e8f0;
}

.pch-faq-section * {
	box-sizing: border-box;
}

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

/* --------------------------------------------------------------------------
   2-Column Layout (Header & Help Card on Left, Accordion on Right)
   -------------------------------------------------------------------------- */
.pch-faq-grid-layout {
	display: grid;
	grid-template-columns: 1fr 1.45fr;
	gap: clamp(32px, 5vw, 64px);
	align-items: flex-start;
}

/* --------------------------------------------------------------------------
   Left Column: Header & Direct Support Box
   -------------------------------------------------------------------------- */
.pch-faq-sidebar {
	position: sticky;
	top: 100px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.pch-faq-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: rgba(37, 150, 190, 0.12);
	color: var(--pch-primary, #2596be);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 6px 14px;
	border-radius: 9999px;
	align-self: flex-start;
}

.pch-faq-title {
	font-size: clamp(26px, 3.2vw, 38px);
	font-weight: 800;
	line-height: 1.25;
	color: #0f172a;
	margin: 0;
	letter-spacing: -0.02em;
}

.pch-faq-desc {
	font-size: clamp(15px, 1.1vw, 16.5px);
	line-height: 1.65;
	color: #64748b;
	margin: 0;
}

/* Support Callout Box */
.pch-faq-support-box {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	padding: clamp(20px, 3vw, 28px);
	box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.06);
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 8px;
}

.pch-faq-support-head {
	display: flex;
	align-items: center;
	gap: 14px;
}

.pch-faq-support-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(37, 150, 190, 0.1);
	color: var(--pch-primary, #2596be);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.pch-faq-support-title {
	font-size: 17px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 2px 0;
}

.pch-faq-support-text {
	font-size: 13.5px;
	color: #64748b;
	margin: 0;
	line-height: 1.5;
}

.pch-faq-support-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pch-faq-btn-phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: var(--pch-primary, #2596be);
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	padding: 12px 18px;
	border-radius: 12px;
	text-decoration: none;
	transition: all 0.2s ease;
	box-shadow: 0 4px 14px rgba(37, 150, 190, 0.28);
}

.pch-faq-btn-phone:hover {
	background-color: #1d7b9d;
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(37, 150, 190, 0.35);
}

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

.pch-faq-btn-whatsapp:hover {
	background-color: #20ba5a;
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* --------------------------------------------------------------------------
   Right Column: Accordion Items
   -------------------------------------------------------------------------- */
.pch-faq-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.pch-faq-item {
	background-color: #ffffff;
	border: 1.5px solid #e2e8f0;
	border-radius: 16px;
	overflow: hidden;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
}

.pch-faq-item:hover {
	border-color: #cbd5e1;
}

.pch-faq-item.is-open {
	border-color: var(--pch-primary, #2596be);
	box-shadow: 0 10px 25px -5px rgba(37, 150, 190, 0.12);
}

.pch-faq-question {
	width: 100%;
	padding: clamp(16px, 2.2vw, 22px) clamp(18px, 2.5vw, 26px);
	text-align: left;
	background: transparent;
	border: none;
	font-family: inherit;
	font-size: clamp(15.5px, 1.15vw, 17px);
	font-weight: 700;
	line-height: 1.45;
	color: #1e293b;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	cursor: pointer;
	user-select: none;
	transition: color 0.2s ease;
}

.pch-faq-item.is-open .pch-faq-question {
	color: var(--pch-primary, #2596be);
}

.pch-faq-question:focus-visible {
	outline: 2px solid var(--pch-primary, #2596be);
	outline-offset: -2px;
}

.pch-faq-icon-wrap {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: #f1f5f9;
	color: #64748b;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.25s ease;
}

.pch-faq-icon-wrap svg {
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pch-faq-item.is-open .pch-faq-icon-wrap {
	background-color: var(--pch-primary, #2596be);
	color: #ffffff;
}

.pch-faq-item.is-open .pch-faq-icon-wrap svg {
	transform: rotate(180deg);
}

/* Accordion Answer Content */
.pch-faq-answer {
	color: #475569;
	font-size: clamp(14px, 1.05vw, 15px);
	line-height: 1.7;
	border-top: 1px solid #f1f5f9;
	background-color: #fafbfc;
}

.pch-faq-answer-inner {
	padding: clamp(14px, 2vw, 20px) clamp(18px, 2.5vw, 26px) clamp(18px, 2.2vw, 24px);
}

.pch-faq-answer-inner p {
	margin: 0;
}

.pch-faq-answer-inner p + p {
	margin-top: 10px;
}

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

	.pch-faq-sidebar {
		position: static;
		max-width: 680px;
	}

	.pch-faq-support-actions {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.pch-faq-btn-phone,
	.pch-faq-btn-whatsapp {
		flex: 1;
		min-width: 200px;
	}
}

@media (max-width: 600px) {
	.pch-faq-support-actions {
		flex-direction: column;
	}

	.pch-faq-btn-phone,
	.pch-faq-btn-whatsapp {
		width: 100%;
	}
}
