/**
 * FAQ & Help Desk Section Styles
 *
 * Section: "Your Questions, Answered" & "We're Here to Help"
 * Clean pill accordion on left, scenic coastal contact card on right.
 *
 * @package Horizontal_Traders
 */

.ht-faq-section {
	position: relative;
	background-color: #ffffff;
	padding: 4.75rem 0 4.25rem;
	overflow: hidden;
}

.ht-faq-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.ht-faq-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 2.75rem;
	align-items: stretch;
}

/* ==========================================================================
   Left Column: FAQ Accordion
   ========================================================================== */

.ht-faq-subtitle {
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #01757f;
	margin-bottom: 0.5rem;
}

.ht-faq-title {
	font-size: 2.35rem;
	font-weight: 800;
	line-height: 1.18;
	color: #00152e;
	margin: 0 0 0.85rem 0;
	letter-spacing: -0.025em;
}

.ht-faq-lead {
	font-size: 0.95rem;
	line-height: 1.55;
	color: #475569;
	max-width: 620px;
	margin-bottom: 2rem;
}

.ht-faq-accordion {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin-bottom: 2rem;
}

.ht-faq-item {
	background: #ffffff;
	border: 1px solid #d2e3eb;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.25s ease;
}

.ht-faq-item:hover,
.ht-faq-item.is-active {
	border-color: #06c1d5;
	box-shadow: 0 4px 14px rgba(1, 117, 127, 0.1);
}

.ht-faq-item.is-active {
	background: #f0f8fa;
}

.ht-faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.05rem 1.25rem;
	background: none;
	border: none;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	color: #00152e;
	text-align: left;
	cursor: pointer;
	gap: 1rem;
	transition: color 0.2s ease;
}

.ht-faq-question:hover {
	color: #01757f;
}

.ht-faq-icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #e6f9fb;
	color: #01757f;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, color 0.2s ease;
}

.ht-faq-item.is-active .ht-faq-icon {
	transform: rotate(45deg);
	background: #01757f;
	color: #ffffff;
}

.ht-faq-answer {
	padding: 0 1.25rem 1.15rem;
	font-size: 0.875rem;
	line-height: 1.6;
	color: #475569;
}

.ht-faq-answer p {
	margin: 0;
}

.ht-faq-view-all-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.65rem 1.4rem;
	border: 1.5px solid #01757f;
	color: #01757f !important;
	background: #ffffff;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.25s ease;
}

.ht-faq-view-all-btn:hover {
	background: #01757f;
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 14px rgba(1, 117, 127, 0.25);
}

/* ==========================================================================
   Right Column: "We're Here to Help" Contact Hero Card
   ========================================================================== */

.ht-faq-help-col {
	display: flex;
	flex-direction: column;
}

.ht-faq-help-card {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	padding: 2.25rem 2rem;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	min-height: 520px;
	box-shadow: 0 20px 40px -10px rgba(0, 21, 46, 0.2);
}

/* Stands in for the card's former background-image so the file can be lazily
   loaded; sits beneath the gradient overlay (z-index 1) and content (2). */
.ht-faq-help-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
	z-index: 0;
}

.ht-faq-help-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(240, 248, 250, 0.94) 0%, rgba(210, 227, 235, 0.8) 25%, rgba(0, 21, 46, 0.82) 75%, rgba(0, 21, 46, 0.96) 100%);
	z-index: 1;
}

.ht-faq-help-content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: space-between;
}

.ht-faq-help-subtitle {
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #01757f;
	margin-bottom: 0.35rem;
}

.ht-faq-help-title {
	font-size: 1.85rem;
	font-weight: 800;
	color: #00152e;
	margin: 0 0 0.5rem 0;
	letter-spacing: -0.02em;
}

.ht-faq-help-lead {
	font-size: 0.875rem;
	line-height: 1.5;
	color: #334155;
	margin: 0 0 1.5rem 0;
	max-width: 440px;
}

/* Handwritten Script */
.ht-faq-help-script {
	position: absolute;
	top: 1rem;
	right: 0.5rem;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	color: #00152e;
	font-family: 'Brush Script MT', cursive, 'Caveat', sans-serif;
	transform: rotate(-4deg);
	pointer-events: none;
}

.ht-faq-help-script span {
	font-size: 2.1rem;
	line-height: 0.92;
}

.ht-faq-help-script em {
	font-size: 1.85rem;
	font-style: italic;
	color: #01757f;
}

/* 3 Contact Pills */
.ht-faq-contact-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.ht-faq-contact-pill {
	display: flex;
	align-items: center;
	gap: 1rem;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 12px;
	padding: 0.75rem 1.15rem;
	text-decoration: none;
	color: #00152e;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 4px 12px rgba(0, 21, 46, 0.08);
}

.ht-faq-contact-pill:hover {
	background: #ffffff;
	border-color: #06c1d5;
	transform: translateX(4px);
	box-shadow: 0 8px 20px rgba(0, 21, 46, 0.15);
}

.ht-faq-contact-pill__icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #e6f9fb;
	color: #01757f;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ht-faq-contact-pill__info {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.ht-faq-contact-pill__label {
	font-size: 0.875rem;
	font-weight: 700;
	color: #00152e;
	line-height: 1.2;
}

.ht-faq-contact-pill__val {
	font-size: 0.8rem;
	color: #64748b;
	line-height: 1.3;
}

.ht-faq-contact-pill__arrow {
	color: #01757f;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.ht-faq-contact-pill:hover .ht-faq-contact-pill__arrow {
	transform: translateX(3px);
}

/* Bottom Dark Floating Banner */
.ht-faq-ready-banner {
	display: flex;
	align-items: center;
	gap: 1rem;
	background: rgba(0, 21, 46, 0.92);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	padding: 0.85rem 1.25rem;
	text-decoration: none;
	color: #ffffff;
	transition: all 0.25s ease;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.ht-faq-ready-banner:hover {
	background: rgba(0, 21, 46, 0.98);
	border-color: rgba(6, 193, 213, 0.4);
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.ht-faq-ready-banner__icon {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: rgba(1, 117, 127, 0.3);
	color: #06c1d5;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ht-faq-ready-banner__info {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.ht-faq-ready-banner__title {
	font-size: 0.925rem;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.2;
}

.ht-faq-ready-banner__sub {
	font-size: 0.78rem;
	color: #cbd5e1;
	line-height: 1.3;
}

.ht-faq-ready-banner__arrow {
	color: #06c1d5;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.ht-faq-ready-banner:hover .ht-faq-ready-banner__arrow {
	transform: translateX(4px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
	.ht-faq-grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.ht-faq-help-card {
		min-height: auto;
		padding: 2rem 1.5rem;
	}
}

@media (max-width: 768px) {
	.ht-faq-section {
		padding: 3.5rem 0;
	}

	.ht-faq-title {
		font-size: 1.85rem;
	}

	.ht-faq-help-script {
		display: none;
	}

	.ht-faq-ready-banner {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}
}

/* ========================================================================== 
   Dedicated FAQ Page
   ========================================================================== */
.ht-faq-page {
	background: #fff;
	color: #00152e;
	overflow: hidden;
}

.ht-faq-page-hero {
	position: relative;
	min-height: 560px;
	display: flex;
	align-items: center;
	background: #00152e;
	isolation: isolate;
}

.ht-faq-page-hero__bg,
.ht-faq-page-hero__overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.ht-faq-page-hero__bg { object-fit: cover; z-index: -3; }
.ht-faq-page-hero__overlay {
	z-index: -2;
	background: linear-gradient(90deg, rgba(0,21,46,.98) 0%, rgba(0,21,46,.93) 48%, rgba(0,21,46,.58) 100%);
}

.ht-faq-page-hero__inner {
	display: grid;
	grid-template-columns: 1.08fr .92fr;
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
	padding-top: 72px;
	padding-bottom: 72px;
}

.ht-faq-page-hero__content { max-width: 720px; }
.ht-faq-page-hero__crumbs { display: flex; gap: .55rem; color: #b9cad7; font-size: .78rem; margin-bottom: 2rem; }
.ht-faq-page-hero__crumbs a { color: #fff; }
.ht-faq-page-hero__eyebrow,
.ht-faq-page-cta__content > span {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	color: #38e1f2;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .16em;
	margin-bottom: 1rem;
}
.ht-faq-page-hero__eyebrow::before,
.ht-faq-page-cta__content > span::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.ht-faq-page-hero h1 { color: #fff; font-size: clamp(3rem, 5.3vw, 5.25rem); line-height: 1.02; margin-bottom: 1.4rem; }
.ht-faq-page-hero h1 span { color: #38e1f2; display: block; }
.ht-faq-page-hero__content > p { color: #d7e5ed; font-size: clamp(1rem, 1.25vw, 1.2rem); max-width: 650px; }
.ht-faq-page-hero__actions { display: flex; gap: .85rem; flex-wrap: wrap; margin-top: 2rem; }
.ht-faq-page .ht-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; }
.ht-btn--hero-outline { border: 1px solid rgba(255,255,255,.65); color: #fff; background: rgba(255,255,255,.06); }
.ht-btn--hero-outline:hover { color: #00152e; background: #fff; border-color: #fff; }

.ht-faq-page-hero__visual { position: relative; height: 390px; display: flex; align-items: flex-end; justify-content: center; }
.ht-faq-page-hero__visual img { position: relative; z-index: 2; width: min(620px, 115%); max-width: none; filter: drop-shadow(0 24px 28px rgba(0,0,0,.46)); }
.ht-faq-page-hero__question-mark { position: absolute; right: 4%; top: -12%; font: 800 clamp(13rem, 23vw, 22rem)/1 Manrope,sans-serif; color: rgba(56,225,242,.12); }
.ht-faq-page-hero__visual > span { position: absolute; right: 0; bottom: 1rem; z-index: 3; padding: .65rem 1rem; border-radius: 999px; color: #00152e; background: #fff; font: 700 1.2rem Caveat,cursive; transform: rotate(-3deg); }

.ht-faq-page-answers { padding: clamp(4.5rem, 7vw, 7rem) 0; scroll-margin-top: 90px; }
.ht-faq-page-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 2rem; margin-bottom: 2.2rem; }
.ht-faq-page-heading h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.ht-faq-page-heading p { max-width: 560px; color: #526778; font-size: 1rem; }
.ht-faq-page-topics { display: grid; grid-template-columns: repeat(4,1fr); gap: .8rem; margin-bottom: 3.5rem; }
.ht-faq-page-topics a { display: flex; align-items: center; justify-content: center; gap: .65rem; min-height: 58px; padding: .8rem; border: 1px solid #d2e3eb; border-radius: 12px; color: #00152e; background: #fff; font-weight: 700; box-shadow: 0 6px 20px rgba(0,21,46,.04); }
.ht-faq-page-topics a:hover { color: #01757f; border-color: #06c1d5; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(1,117,127,.1); }
.ht-faq-page-topics svg { color: #01757f; }
.ht-faq-page-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: clamp(2rem, 4vw, 4.5rem); align-items: start; }
.ht-faq-page-group { padding-top: 1rem; scroll-margin-top: 100px; }
.ht-faq-page-group + .ht-faq-page-group { margin-top: 2.2rem; padding-top: 2.2rem; border-top: 1px solid #dce8ee; }
.ht-faq-page-group__title { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.15rem; }
.ht-faq-page-group__title svg { width: 42px; height: 42px; padding: 10px; border-radius: 11px; background: #e6f9fb; color: #01757f; }
.ht-faq-page-group__title h3 { font-size: 1.35rem; }
.ht-faq-page .ht-faq-answer a { text-decoration: underline; }
.ht-faq-page .ht-faq-icon svg { transform: rotate(45deg); transition: transform .25s ease; }
.ht-faq-page .ht-faq-item.is-active .ht-faq-icon svg { transform: rotate(0); }

.ht-faq-page-help { position: sticky; top: 105px; padding: 2rem; border-radius: 20px; color: #fff; background: linear-gradient(150deg,#00152e 0%,#01344d 100%); box-shadow: 0 24px 50px rgba(0,21,46,.18); overflow: hidden; }
.ht-faq-page-help::after { content: '?'; position: absolute; right: -10px; top: -45px; color: rgba(56,225,242,.08); font: 800 12rem/1 Manrope,sans-serif; pointer-events: none; }
.ht-faq-page-help > span { color: #38e1f2; font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.ht-faq-page-help h2 { color: #fff; font-size: 2rem; margin: .6rem 0 .8rem; }
.ht-faq-page-help > p { color: #b9cad7; font-size: .9rem; margin-bottom: 1.5rem; }
.ht-faq-page-help > a { position: relative; z-index: 1; display: flex; align-items: center; gap: .85rem; padding: .9rem 0; color: #fff; border-top: 1px solid rgba(255,255,255,.12); }
.ht-faq-page-help > a svg { color: #38e1f2; flex: 0 0 auto; }
.ht-faq-page-help > a span { min-width: 0; overflow-wrap: anywhere; font-size: .86rem; font-weight: 700; }
.ht-faq-page-help > a small { display: block; color: #91a9b8; font-size: .69rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.ht-faq-page-help > a:hover { color: #38e1f2; }

.ht-faq-page-cta { padding: 0 0 clamp(4.5rem,7vw,7rem); }
.ht-faq-page-cta__card { position: relative; min-height: 430px; display: flex; align-items: center; overflow: hidden; border-radius: 24px; background: #00152e; box-shadow: 0 28px 60px rgba(0,21,46,.2); isolation: isolate; }
.ht-faq-page-cta__card > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ht-faq-page-cta__card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(0,21,46,.98) 0%,rgba(0,21,46,.92) 57%,rgba(0,21,46,.35) 100%); }
.ht-faq-page-cta__content { width: 62%; padding: clamp(2rem,5vw,4.5rem); position: relative; z-index: 2; }
.ht-faq-page-cta__content h2 { color: #fff; font-size: clamp(2.2rem,4vw,3.6rem); margin-bottom: 1rem; }
.ht-faq-page-cta__content p { color: #cfdee7; font-size: 1rem; max-width: 620px; margin-bottom: 1.7rem; }
.ht-faq-page-cta__content > div { display: flex; gap: .8rem; flex-wrap: wrap; }
.ht-faq-page-cta__car { position: absolute; width: 46%; max-width: 610px; right: -4%; bottom: -3%; z-index: 1; filter: drop-shadow(0 20px 25px rgba(0,0,0,.45)); }

@media (max-width: 1024px) {
	.ht-faq-page-hero__inner { grid-template-columns: 1fr; }
	.ht-faq-page-hero__visual { display: none; }
	.ht-faq-page-layout { grid-template-columns: 1fr; }
	.ht-faq-page-help { position: static; }
	.ht-faq-page-topics { grid-template-columns: repeat(2,1fr); }
	.ht-faq-page-cta__content { width: 72%; }
	.ht-faq-page-cta__car { opacity: .7; }
}

@media (max-width: 700px) {
	.ht-faq-page-hero { min-height: 520px; }
	.ht-faq-page-hero__inner { padding-top: 52px; padding-bottom: 56px; }
	.ht-faq-page-hero__crumbs { margin-bottom: 1.5rem; }
	.ht-faq-page-hero__actions { align-items: stretch; flex-direction: column; }
	.ht-faq-page-heading { grid-template-columns: 1fr; gap: 1rem; }
	.ht-faq-page-topics { grid-template-columns: 1fr 1fr; }
	.ht-faq-page-topics a { justify-content: flex-start; font-size: .82rem; }
	.ht-faq-page .ht-faq-question { padding: 1rem; }
	.ht-faq-page-help { padding: 1.5rem; }
	.ht-faq-page-cta__card { min-height: 500px; align-items: flex-start; }
	.ht-faq-page-cta__card::before { background: rgba(0,21,46,.9); }
	.ht-faq-page-cta__content { width: 100%; padding: 2rem 1.35rem; }
	.ht-faq-page-cta__content > div { flex-direction: column; align-items: stretch; }
	.ht-faq-page-cta__car { width: 80%; max-width: 420px; opacity: .72; }
}
