/**
 * Contact page: [onc_contact_hero], [onc_contact_main], [onc_contact_paths], [onc_contact_faq].
 * Colours follow the homepage sections (onc-home.css).
 */

.onc-ct {
	--ct-pink: #F21967;
	--ct-pink-dark: #cd0b50;
	--ct-navy: #141841;
	--ct-heading: #363335;
	--ct-body: #61676D;
	--ct-line: #E3E5E8;
	--ct-wash: #F3F5F7;
	--ct-error: #c4122f;
	--ct-ok: #12805c;

	box-sizing: border-box;
	color: var(--ct-body);
	font-size: 16px;
	line-height: 1.6;
}
.onc-ct *, .onc-ct *::before, .onc-ct *::after { box-sizing: border-box; }
.onc-ct :where(h1, h2, h3, p, ul, address) { margin: 0; }
.onc-ct address { font-style: normal; }

.onc-ct__wrap { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }
.l-section-h .onc-ct__wrap { width: min(1200px, 100%); }
.onc-ct__wrap--narrow { max-width: 820px; }

.onc-ct__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ct-pink); }
.onc-ct .onc-ct__title { font-size: clamp(26px, 3.2vw, 34px) !important; line-height: 1.2; font-weight: 700; color: var(--ct-heading); text-align: center; }

.onc-ct-icon { display: block; width: 22px; height: 22px; flex: none; }

/* The theme's page row around the sections: no extra padding, soft wash behind the top. */
.l-section.onc-ct-row { padding-top: 0 !important; padding-bottom: 0 !important; }
.l-section.onc-ct-row--top {
	background:
		radial-gradient(900px 420px at 85% 0%, rgba(242, 25, 103, .07), transparent 70%),
		radial-gradient(700px 380px at 0% 30%, rgba(20, 24, 65, .05), transparent 70%),
		#fff;
}

/* Heading sizes use !important: the child theme's responsive.css sets h1/h2 sizes with !important. */

/* ---------------------------------------------------------------- Hero */

.onc-ct-hero { padding-block: 64px 36px; text-align: center; }
.onc-ct .onc-ct-hero__title {
	max-width: 900px; margin: 14px auto 0 !important;
	font-size: clamp(34px, 5vw, 52px) !important; font-weight: 750; line-height: 1.1; letter-spacing: -.01em; color: var(--ct-heading);
}
.onc-ct-hero__text { max-width: 620px; margin: 18px auto 0 !important; font-size: 18px; line-height: 1.7; }

/* ---------------------------------------------------------------- Form + details */

.onc-ct-main { padding-block: 16px 72px; }
.onc-ct-main__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
@media (min-width: 960px) {
	.onc-ct-main__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px; }
	.onc-ct-aside { position: sticky; top: 110px; }
}

.onc-ct-card {
	background: #fff;
	border: 1px solid var(--ct-line);
	border-radius: 18px;
	box-shadow: 0 18px 40px rgba(20, 24, 65, .06);
}
.onc-ct-form-card { padding: 26px 20px 24px; border-top: 4px solid var(--ct-pink); }
@media (min-width: 600px) { .onc-ct-form-card { padding: 36px 40px 32px; } }
.onc-ct .onc-ct-card__title { font-size: 24px !important; line-height: 1.25; font-weight: 700; color: var(--ct-heading); }
.onc-ct-card__note { margin-top: 6px !important; font-size: 14px; }

.onc-ct-form { margin: 0; }
.onc-ct-form__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 18px; }
@media (min-width: 600px) { .onc-ct-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.onc-ct-field { margin-top: 18px; }
.onc-ct-field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--ct-heading); }
.onc-ct-field label span { font-weight: 400; color: #8a9097; }
.onc-ct .onc-ct-field input,
.onc-ct .onc-ct-field select,
.onc-ct .onc-ct-field textarea {
	display: block; width: 100%; min-height: 50px; margin: 0;
	padding: 12px 14px;
	border: 1px solid #d5d9de; border-radius: 10px;
	background: #fff; color: var(--ct-heading);
	font: inherit; font-size: 16px; line-height: 1.4;
	box-shadow: none;
	transition: border-color .15s, box-shadow .15s;
}
.onc-ct-field :where(input, select, textarea) { scroll-margin-top: 140px; }
.onc-ct .onc-ct-field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.onc-ct .onc-ct-field select {
	appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23363335' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 16px center;
}
.onc-ct .onc-ct-field ::placeholder { color: #9aa0a6; opacity: 1; }
.onc-ct .onc-ct-field input:focus,
.onc-ct .onc-ct-field select:focus,
.onc-ct .onc-ct-field textarea:focus { outline: none; border-color: var(--ct-navy); box-shadow: 0 0 0 3px rgba(20, 24, 65, .14); }
.onc-ct-field.has-error input,
.onc-ct-field.has-error select,
.onc-ct-field.has-error textarea { border-color: var(--ct-error); }
.onc-ct-field__error { margin-top: 5px !important; font-size: 13px; color: var(--ct-error); }

/* Honeypot: off-screen, not display:none (some bots skip hidden fields). */
.onc-ct-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.onc-ct-turnstile { margin-top: 18px; }
.onc-ct-turnstile:empty { margin-top: 0; }

.onc-ct-form__alert {
	margin-top: 18px !important; padding: 12px 14px;
	border-radius: 10px; background: #fdecef; color: var(--ct-error); font-size: 14px;
}
.onc-ct .onc-ct-form__alert a, .onc-ct .onc-ct-form__alert a:hover { color: inherit; text-decoration: underline; }

.onc-ct .onc-ct-btn {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 10px;
	width: 100%; min-height: 54px; margin-top: 22px; padding: 13px 28px;
	border: 0; border-radius: 10px;
	font: inherit; font-size: 16px; font-weight: 700; line-height: 1.4; letter-spacing: 0; text-transform: none;
	cursor: pointer; transition: background-color .18s, transform .18s, opacity .18s;
}
@media (min-width: 600px) { .onc-ct .onc-ct-btn { width: auto; } }
.onc-ct .onc-ct-btn--primary { background: var(--ct-pink); color: #fff; }
.onc-ct .onc-ct-btn--primary:hover { background: var(--ct-pink-dark); transform: translateY(-1px); }
.onc-ct-btn:focus-visible { outline: 3px solid rgba(242, 25, 103, .35); outline-offset: 2px; }
.onc-ct-btn .onc-ct-icon { width: 18px; height: 18px; }
.onc-ct-btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.onc-ct-btn.is-busy .onc-ct-icon { animation: onc-ct-nudge .8s ease-in-out infinite; }
@keyframes onc-ct-nudge { 50% { transform: translateX(4px); } }

.onc-ct-form__legal { margin-top: 14px !important; font-size: 13px; line-height: 1.5; color: #80868c; }
.onc-ct .onc-ct-form__legal a, .onc-ct .onc-ct-form__legal a:hover { color: inherit; text-decoration: underline; }

/* Thank-you state */
.onc-ct-done { text-align: center; padding: 24px 4px 12px; outline: none; }
.onc-ct-done__icon {
	display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px;
	border-radius: 50%; background: rgba(18, 128, 92, .1); color: var(--ct-ok);
}
.onc-ct-done__icon .onc-ct-icon { width: 30px; height: 30px; }
.onc-ct-done p { max-width: 460px; margin: 12px auto 0; }
.onc-ct .onc-ct-done a, .onc-ct .onc-ct-done a:hover { color: var(--ct-pink); font-weight: 600; }

/* Details panel */
.onc-ct-info { padding: 26px 22px; }
@media (min-width: 600px) { .onc-ct-info { padding: 30px 30px 28px; } }
.onc-ct .onc-ct-info__title { font-size: 20px !important; font-weight: 700; color: var(--ct-heading); }
.onc-ct-info__list { list-style: none; padding: 0 !important; margin-top: 18px !important; display: grid; gap: 18px; }
.onc-ct-info__list li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.onc-ct-info__list small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #8a9097; }
.onc-ct .onc-ct-info__list a { color: var(--ct-heading); font-weight: 600; white-space: nowrap; }
.onc-ct-info__list li > div { min-width: 0; font-size: 16px; }
.onc-ct .onc-ct-info__list a:hover { color: var(--ct-pink); }
.onc-ct-info__list address, .onc-ct-info__list span { color: var(--ct-heading); line-height: 1.5; }
.onc-ct-info__icon {
	display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
	border-radius: 12px; background: rgba(242, 25, 103, .08); color: var(--ct-pink);
}
.onc-ct-info__list .onc-ct-info__icon { color: var(--ct-pink); }

.onc-ct-social { display: flex; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--ct-line); }
.onc-ct .onc-ct-social a {
	display: inline-grid; place-items: center; width: 40px; height: 40px;
	border: 1px solid var(--ct-line); border-radius: 50%; color: var(--ct-navy);
	transition: color .15s, border-color .15s;
}
.onc-ct .onc-ct-social a:hover { color: var(--ct-pink); border-color: var(--ct-pink); }
.onc-ct-social .onc-ct-icon { width: 18px; height: 18px; }

.onc-ct-demo {
	display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 18px 20px;
	background: var(--ct-navy); border-color: var(--ct-navy); color: rgba(255, 255, 255, .82);
	font-size: 15px; line-height: 1.5; text-decoration: none;
	transition: transform .18s, box-shadow .18s;
}
.onc-ct-demo strong { display: block; color: #fff; font-size: 16px; }
.onc-ct .onc-ct-demo .onc-ct-demo__text { color: rgba(255, 255, 255, .85); }
.onc-ct .onc-ct-demo .onc-ct-demo__text strong { color: #fff; }
.onc-ct-demo .onc-ct-info__icon { background: rgba(255, 255, 255, .1); color: #fff; }
.onc-ct-demo > .onc-ct-icon { width: 20px; height: 20px; color: #fff; margin-left: auto; transition: transform .18s; }
.onc-ct a.onc-ct-demo:hover { color: rgba(255, 255, 255, .9); transform: translateY(-2px); box-shadow: 0 22px 44px rgba(20, 24, 65, .2); }
.onc-ct-demo:hover > .onc-ct-icon { transform: translateX(3px); }

/* ---------------------------------------------------------------- Other ways */

.onc-ct-paths { padding-block: 64px; background: var(--ct-wash); }
.onc-ct-paths__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 32px; }
@media (min-width: 760px) { .onc-ct-paths__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.onc-ct-path {
	display: flex; flex-direction: column; gap: 10px; padding: 26px 24px;
	color: var(--ct-body); text-decoration: none; box-shadow: none;
	transition: transform .18s, box-shadow .18s, border-color .18s;
}
.onc-ct a.onc-ct-path:hover { color: var(--ct-body); transform: translateY(-3px); border-color: rgba(242, 25, 103, .35); box-shadow: 0 18px 40px rgba(20, 24, 65, .08); }
.onc-ct .onc-ct-path h3 { margin-top: 6px !important; font-size: 19px !important; font-weight: 700; line-height: 1.3; color: var(--ct-heading); }
.onc-ct .onc-ct-path p { font-size: 15px; line-height: 1.6; color: var(--ct-body); }
.onc-ct-path__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--ct-pink); }
.onc-ct-path__link .onc-ct-icon { width: 18px; height: 18px; transition: transform .18s; }
.onc-ct-path:hover .onc-ct-path__link .onc-ct-icon { transform: translateX(3px); }

/* ---------------------------------------------------------------- FAQ */

.onc-ct-faq { padding-block: 64px 88px; }
.onc-ct-faq .onc-ct__title { margin-bottom: 28px !important; }
.onc-ct-faq__item { border-bottom: 1px solid var(--ct-line); }
.onc-ct-faq__item:first-of-type { border-top: 1px solid var(--ct-line); }
.onc-ct .onc-ct-faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 20px 2px; cursor: pointer; list-style: none;
	font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--ct-heading);
}
.onc-ct-faq__item summary::-webkit-details-marker { display: none; }
.onc-ct-faq__item summary span { position: relative; width: 14px; height: 14px; flex: none; }
.onc-ct-faq__item summary span::before,
.onc-ct-faq__item summary span::after {
	content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: var(--ct-pink);
	transition: transform .2s;
}
.onc-ct-faq__item summary span::after { transform: rotate(90deg); }
.onc-ct-faq__item[open] summary span::after { transform: rotate(0deg); }
.onc-ct-faq__item summary:hover { color: var(--ct-pink); }
.onc-ct-faq__item summary:focus-visible { outline: 2px solid rgba(242, 25, 103, .4); outline-offset: 2px; }
.onc-ct-faq__item p { padding: 0 2px 22px; max-width: 700px; }

/* ---------------------------------------------------------------- Phones */

@media (max-width: 599px) {
	.onc-ct-hero { padding-block: 40px 24px; }
	.onc-ct .onc-ct-hero__title { margin-top: 10px !important; }
	.onc-ct-hero__text { margin-top: 14px !important; font-size: 16.5px; line-height: 1.6; }
	.onc-ct-main { padding-block: 8px 48px; }
	.onc-ct-main__grid { gap: 16px; }
	.onc-ct-form-card { padding: 22px 18px 20px; border-radius: 16px; }
	.onc-ct .onc-ct-card__title { font-size: 22px !important; }
	.onc-ct-field { margin-top: 14px; }
	.onc-ct .onc-ct-field textarea { min-height: 130px; }
	.onc-ct-info { padding: 22px 18px; border-radius: 16px; }
	.onc-ct-info__list { gap: 14px; }
	.onc-ct-info__list li { gap: 12px; }
	.onc-ct-info__list li > div { font-size: 15.5px; }
	.onc-ct-info__icon { width: 40px; height: 40px; border-radius: 10px; }
	.onc-ct .onc-ct-social a { width: 44px; height: 44px; }
	.onc-ct-demo { padding: 16px; gap: 12px; border-radius: 16px; font-size: 14.5px; }

	.onc-ct-paths { padding-block: 44px; }
	.onc-ct-paths__grid { margin-top: 22px; gap: 12px; }
	/* Compact cards: icon on the left, text on the right. */
	.onc-ct-path {
		display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 4px;
		padding: 18px 16px; border-radius: 16px;
	}
	.onc-ct-path > .onc-ct-info__icon { grid-row: 1 / span 3; }
	.onc-ct .onc-ct-path h3 { margin-top: 0 !important; font-size: 17px !important; }
	.onc-ct .onc-ct-path p { font-size: 14.5px; line-height: 1.55; }
	.onc-ct-path__link { padding-top: 4px; font-size: 15px; }

	.onc-ct-faq { padding-block: 44px 56px; }
	.onc-ct-faq .onc-ct__title { margin-bottom: 18px !important; }
	.onc-ct .onc-ct-faq__item summary { padding: 16px 2px; font-size: 16px; }
	.onc-ct-faq__item p { padding-bottom: 18px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
	.onc-ct *, .onc-ct *::before, .onc-ct *::after { transition: none !important; animation: none !important; }
}

/* Row with the grey band ("Other ways to get started"). */
.l-section.onc-ct-row--wash { background: #F3F5F7; }
.l-section.onc-ct-row--wash .onc-ct-paths { background: none; }
