/* ==========================================================
  Contact page (page-contact.php) — loaded only on the Contact page
  Depends on pages-base.css (tokens, container, chip, icon, blobs)
  and on style.css (.faq-accordion).
  Sections: 01 Base / 02 Hero + channels / 03 Form / 04 Sidebar
            05 FAQ / 06 Responsive
============================================================ */

/* ! 01. Base
------------------------------------------------------------ */
.contact-page {
	--contact-ink: #353535;
	--contact-link: #5854FF;
	--contact-line: #FFE0D5;
	--contact-soft: #FFF3EE;
	--contact-band: #FFE9E2;
	--contact-faq-bg: #FFF6F3;
	--contact-radius: 24px;
}
/* Reset UA list spacing (RTL padding-right on <ul>/<ol>). */
.contact-page ul,
.contact-page ol,
.contact-page dl,
.contact-page dd {
	margin: 0;
	padding: 0;
	list-style: none;
}
.contact-page a {
	text-decoration: none;
}
.contact-page :focus-visible {
	outline: 2px solid var(--brand-color);
	outline-offset: 2px;
}
.contact-icon--peach  { background: var(--contact-soft); color: var(--brand-color); }
.contact-icon--blue   { background: #EEF6FF; color: #5FA2F7; }
.contact-icon--yellow { background: #FEFCE8; color: #C58800; }
.contact-icon--green  { background: #ECFDF5; color: #2CCB95; }

/* ! 02. Hero + channels
------------------------------------------------------------ */
.contact-hero {
	position: relative;
	padding: 176px 0 100px;
}
.contact-hero .page-container {
	position: relative;
	z-index: 1;
}
.contact-hero .page-blob--peach {
	top: 160px;
	inset-inline-start: auto;
	inset-inline-end: -180px;
	opacity: 0.12;
}
.contact-hero .page-blob--blue {
	top: auto;
	bottom: 120px;
	inset-inline-end: auto;
	inset-inline-start: -200px;
	opacity: 0.08;
}
.contact-hero__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 56px;
}
.contact-hero__header .page-chip {
	padding: 4px 16px;
	background: #FFF1EB;
	border: 1px solid #FFE0D5;
	font-size: 13px;
}
.contact-hero__title {
	margin-top: 24px !important;
	max-width: 900px;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.6;
}
.contact-hero__subtitle {
	margin-top: 8px;
	color: var(--brand-color);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.6;
}
.contact-hero__lead {
	margin-top: 16px;
	max-width: 920px;
	font-size: 20px;
	line-height: 2;
	color: var(--about-text);
}
.contact-channels {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}
.contact-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	padding: 24px;
	border-radius: var(--contact-radius);
	background: #fff;
	box-shadow: var(--about-shadow);
}
.contact-tag {
	display: inline-flex;
	margin-top: 16px;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.6;
}
.contact-tag--peach  { background: var(--contact-soft); color: var(--brand-color); }
.contact-tag--blue   { background: #EEF6FF; color: #4E92EA; }
.contact-tag--yellow { background: #FEFCE8; color: #B07A00; }
.contact-tag--green  { background: #ECFDF5; color: #1E9E72; }
.contact-card__title {
	margin-top: 16px !important;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
	color: var(--contact-ink) !important;
}
.contact-card__desc {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.85;
	color: var(--about-muted);
}
.contact-card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #EEEEFF;
	color: var(--contact-link);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
}
.contact-card__desc {
	/* grows so the divider lines up across cards of different text length */
	flex: 1 0 auto;
}
.contact-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--contact-link);
	font-weight: 500;
	overflow-wrap: anywhere;
}
.contact-card__link:hover {
	color: var(--about-blue);
	text-decoration: underline;
}
.contact-card__link--email {
	font-family: inherit;
}
.contact-card__foot--social {
	justify-content: space-between;
}
.contact-social {
	display: flex;
	flex: 1 1 auto;
	justify-content: space-around;
	gap: 8px;
}
.contact-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	color: var(--contact-link);
	transition: background-color .2s ease;
}
.contact-social__link:hover {
	background: #EEEEFF;
}

/* ! 03. Form
------------------------------------------------------------ */
.contact-main {
	padding: 64px 0;
	background: var(--contact-band);
}
.contact-main__grid {
	display: grid;
	grid-template-columns: minmax(0, 952fr) minmax(0, 464fr);
	gap: 24px;
	align-items: stretch;
}
.contact-form-card,
.contact-side-card {
	min-width: 0;
	border-radius: var(--contact-radius);
	background: #fff;
	box-shadow: 0 4px 12px rgba(166, 56, 21, 0.08);
}
.contact-form-card {
	padding: 40px;
	scroll-margin-top: 120px; /* PRG redirect lands on #contact-form below the fixed header */
}
.contact-form-card__head {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 40px;
}
.contact-form-card__title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.6;
	color: var(--contact-ink) !important;
}
.contact-form-card__sub {
	margin-top: 4px;
	font-size: 16px;
	line-height: 1.8;
	color: var(--about-muted);
}
.contact-form__row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.contact-field {
	min-width: 0;
}
.contact-field__label {
	display: block;
	float: none;
	width: auto;
	margin: 0 0 12px;
	padding: 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
	color: var(--about-text);
}
.contact-field__control {
	position: relative;
}
.contact-field__icon {
	position: absolute;
	top: 14px;
	inset-inline-start: 14px;
	color: #FFA585;
	pointer-events: none;
}
.contact-field__input {
	display: block;
	width: 100%;
	height: 48px;
	padding-block: 0;
	padding-inline-start: 44px;
	padding-inline-end: 14px;
	border: 1px solid var(--contact-line);
	border-radius: 8px;
	background: #fff;
	color: var(--contact-ink);
	font: inherit;
	font-size: 15px;
	line-height: 1.6;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-field__input::placeholder {
	color: var(--about-muted);
	opacity: 1;
	font-size: 14px;
}
.contact-field__input:focus {
	outline: none;
	border-color: var(--brand-color);
	box-shadow: 0 0 0 3px rgba(252, 100, 50, 0.15);
}
.contact-field__input:user-invalid {
	border-color: #D93025;
}
.contact-field__textarea {
	height: 160px;
	min-height: 120px;
	padding-top: 12px;
	padding-bottom: 12px;
	resize: vertical;
}
.contact-topics {
	min-width: 0;
	margin: 32px 0 0;
	padding: 0;
	border: 0;
}
.contact-topics__list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
.contact-topic {
	position: relative;
}
.contact-topic__input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}
.contact-topic__chip {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 6px 24px;
	border: 1px solid #F0F0F0;
	border-radius: 999px;
	background: #FCFCFC;
	color: var(--about-muted);
	font-size: 15px;
	line-height: 1.6;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.contact-topic__input:hover + .contact-topic__chip {
	border-color: var(--contact-line);
	color: var(--about-text);
}
.contact-topic__input:checked + .contact-topic__chip {
	border-color: var(--brand-color);
	background: var(--brand-color);
	color: #fff;
	font-weight: 500;
}
.contact-topic__input:focus-visible + .contact-topic__chip {
	outline: 2px solid var(--brand-color);
	outline-offset: 2px;
}
.contact-field--message {
	margin-top: 32px;
}
.contact-form__foot {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px 24px;
	margin-top: 40px;
}
.contact-form__privacy {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--about-muted);
}
.contact-form__privacy svg {
	flex: 0 0 auto;
	color: var(--about-text);
}
.contact-form__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	max-width: 280px;
}
.contact-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 116px;
	height: 40px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	background: var(--brand-color);
	color: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	transition: background-color .2s ease;
}
.contact-form__submit:hover:not(:disabled) {
	background: var(--brand-color-hover);
}
.contact-form__submit:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}
/* PRG status notice (role=status / role=alert). */
.contact-form__notice {
	margin-bottom: 32px;
	padding: 14px 18px;
	border: 1px solid;
	border-radius: 12px;
	font-size: 15px;
	line-height: 1.8;
}
.contact-form__notice:focus {
	outline: none;
}
.contact-form__notice--success {
	border-color: #A7E8CF;
	background: #ECFDF5;
	color: #136C4D;
}
.contact-form__notice--error {
	border-color: #F5C2BD;
	background: #FDF0EF;
	color: #A2281E;
}
.contact-form__notice-list {
	margin-top: 6px !important;
	padding-inline-start: 20px !important;
	list-style: disc !important;
	font-size: 14px;
}
/* Honeypot: off-screen, not display:none (some bots skip hidden fields). */
.contact-form__hp {
	position: absolute !important;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ! 04. Sidebar
------------------------------------------------------------ */
.contact-side {
	display: flex;
	flex-direction: column;
	gap: 32px;
	min-width: 0;
}
.contact-side-card {
	padding: 32px 24px;
}
.contact-side-card__title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.6;
	color: var(--contact-ink) !important;
}
.contact-side-card__title svg {
	flex: 0 0 auto;
	color: var(--brand-color);
}
.contact-hours {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: 32px !important;
}
.contact-hours__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 12px;
	min-height: 48px;
	padding: 10px 16px;
	border: 1px solid var(--contact-line);
	border-radius: 12px;
	background: var(--contact-soft);
}
.contact-hours__label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	color: var(--contact-ink);
}
.contact-hours__label::before {
	content: "";
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--brand-color);
}
.contact-hours__value {
	font-size: 15px;
	line-height: 1.6;
	color: var(--about-muted);
}
.contact-side-card--map {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}
.contact-map {
	flex: 1 1 auto;
	min-height: 200px;
	margin-top: 32px;
	overflow: hidden;
	border-radius: 16px;
	background: #F4F4F4;
}
.contact-map img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 200px;
	object-fit: cover;
}

/* ! 05. FAQ
------------------------------------------------------------ */
.contact-faq {
	padding: 96px 0 120px;
	background: var(--contact-faq-bg);
}
.contact-faq__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin-bottom: 56px;
}
.contact-faq__eyebrow {
	color: var(--about-blue);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
}
.contact-faq__title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.6;
}
.contact-faq__desc {
	font-size: 16px;
	line-height: 1.8;
	color: var(--about-text);
}
.contact-faq__grid {
	display: grid;
	grid-template-columns: minmax(0, 708fr) minmax(0, 708fr);
	gap: 24px;
	align-items: center;
}
.contact-faq .faq-accordion {
	gap: 16px;
}
.contact-faq .faq-accordion .accordion-item {
	border-radius: 16px;
	box-shadow: 0 4px 16px rgba(166, 56, 21, 0.06);
}
.contact-faq .faq-accordion .accordion-button {
	font-size: 16px;
	color: var(--contact-ink);
}
.contact-faq .faq-accordion .accordion-button:not(.collapsed) {
	color: var(--about-blue);
}
.contact-faq .faq-accordion .accordion-button {
	gap: 16px;
}
/* Chevron pinned to the inline-end edge (left in RTL), brand blue as in the design. */
.contact-faq .faq-accordion .accordion-button::after {
	margin-inline-start: auto;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%233833FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.contact-faq .faq-accordion .accordion-button:not(.collapsed)::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%233833FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 15l6-6 6 6'/%3E%3C/svg%3E");
	transform: none;
}
.contact-faq .faq-accordion .accordion-button:focus-visible {
	outline: 2px solid var(--about-blue);
	outline-offset: -2px;
}
.contact-faq .faq-item__answer {
	font-size: 15px;
	color: var(--about-text);
}
.contact-faq__visual {
	position: relative;
	justify-self: end;
	width: min(100%, 480px);
	margin-inline-end: 40px;
	color: #FDBCA7;
}
.contact-faq__circle {
	position: relative;
	z-index: 1;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 50%;
	background: var(--about-peach);
}
.contact-faq__circle img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.contact-faq__arcs {
	position: absolute;
	top: -60px;
	left: -130px;
	width: 300px;
	height: 300px;
	z-index: 0;
	pointer-events: none;
}
.contact-faq__squiggle {
	position: absolute;
	right: -110px;
	bottom: 70px;
	pointer-events: none;
}

/* ! 06. Responsive
------------------------------------------------------------ */
@media (max-width: 1399.98px) {
	.contact-hours__row {
		padding: 10px 14px;
	}
	.contact-hours__label {
		font-size: 15px;
	}
	.contact-hours__value {
		font-size: 14px;
	}
}
@media (max-width: 1199.98px) {
	.contact-hero {
		padding-top: 152px;
	}
	.contact-channels {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.contact-main__grid {
		grid-template-columns: 1fr;
	}
	.contact-side {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}
	.contact-faq__visual {
		margin-inline-end: 24px;
	}
	.contact-faq__squiggle {
		display: none;
	}
}
@media (max-width: 991.98px) {
	.contact-hero__title {
		font-size: 30px;
	}
	.contact-hero__subtitle {
		font-size: 24px;
	}
	.contact-hero__lead {
		font-size: 16px;
	}
	.contact-form-card {
		padding: 32px 24px;
	}
	.contact-form__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.contact-form__row .contact-field:last-child {
		grid-column: 1 / -1;
	}
	.contact-faq__grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}
	.contact-faq__visual {
		order: -1;
		justify-self: center;
		width: min(100%, 360px);
		margin: 0;
	}
	.contact-faq__arcs {
		width: 220px;
		height: 220px;
		top: -40px;
		left: -70px;
	}
}
@media (max-width: 767.98px) {
	.contact-hero {
		padding: 128px 0 64px;
	}
	.contact-hero__header {
		margin-bottom: 40px;
	}
	.contact-hero__title {
		margin-top: 16px !important;
		font-size: 24px;
	}
	.contact-hero__subtitle {
		font-size: 20px;
	}
	.contact-hero__lead {
		font-size: 15px;
	}
	.contact-channels {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.contact-main {
		padding: 40px 0;
	}
	.contact-form-card {
		padding: 24px 16px;
		border-radius: 20px;
	}
	.contact-form-card__head {
		margin-bottom: 28px;
	}
	.contact-form-card__title,
	.contact-side-card__title {
		font-size: 18px;
	}
	.contact-form-card__sub {
		font-size: 14px;
	}
	.contact-form__row {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.contact-topics,
	.contact-field--message {
		margin-top: 24px;
	}
	.contact-topics__list {
		gap: 10px;
	}
	.contact-topic__chip {
		min-height: 38px;
		padding: 6px 16px;
		font-size: 14px;
	}
	.contact-form__foot {
		flex-direction: column;
		align-items: stretch;
		margin-top: 28px;
	}
	.contact-form__privacy {
		font-size: 14px;
	}
	.contact-form__actions {
		align-items: stretch;
		max-width: none;
	}
	.contact-form__submit {
		width: 100%;
	}
	.contact-side {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.contact-side-card {
		padding: 24px 16px;
		border-radius: 20px;
	}
	.contact-hours {
		gap: 12px;
		margin-top: 20px !important;
	}
	.contact-map {
		margin-top: 20px;
	}
	.contact-faq {
		padding: 64px 0 80px;
	}
	.contact-faq__header {
		margin-bottom: 32px;
	}
	.contact-faq__title {
		font-size: 20px;
	}
	.contact-faq__desc {
		font-size: 15px;
	}
	.contact-faq__visual {
		width: min(100%, 280px);
	}
	.contact-faq__arcs {
		display: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.contact-page *,
	.contact-page *::before,
	.contact-page *::after {
		transition: none !important;
	}
}
