/**
 * Contact Us — hero with quick ways to reach us, the form, the details, the map.
 *
 * Prefixed ct-, built on the Our Work kit (our-work.css).
 */

.ct {
	--ct-wa: #1faa59;
	--ct-ok: #0f9d58;
	--ct-bad: #d64545;
}

/* =========================================================
   Hero
   ========================================================= */
.ct-hero {
	padding: 36px 0 44px;
	background:
		radial-gradient(1100px 380px at 88% -10%, rgba(87, 28, 145, .10), transparent 60%),
		linear-gradient(180deg, #f8f4fd 0%, #fff 100%);
}
.ct-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	margin-top: 10px;
}
.ct-hero .ow-h1 { margin-bottom: 14px; }
.ct .ct-hero__lead { margin: 0 0 12px; color: var(--ow-ink); font-size: 18px; line-height: 1.7; }
.ct .ct-hero__lead strong { color: var(--ow-brand); }
.ct .ct-hero__text { margin: 0 0 10px; color: var(--ow-body); font-size: 15.5px; line-height: 1.8; }

.ct-quick { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ct-quick a {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) 18px;
	gap: 14px;
	align-items: center;
	padding: 16px 18px;
	border: 1px solid var(--ow-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 16px 34px -30px rgba(45, 18, 80, .8);
	color: var(--ow-ink);
	text-decoration: none;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ct-quick a:hover {
	transform: translateY(-2px);
	border-color: color-mix(in srgb, var(--ow-brand) 35%, #fff);
	box-shadow: 0 22px 40px -28px rgba(45, 18, 80, .9);
}
.ct-quick a > .bi-arrow-right { color: var(--ow-muted); transition: transform .2s ease; }
.ct-quick a:hover > .bi-arrow-right { transform: translateX(3px); color: var(--ow-brand); }
.ct-quick__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--ow-accent-soft);
	color: var(--ow-brand);
	font-size: 20px;
}
.ct-quick__icon--wa { background: rgba(31, 170, 89, .12); color: var(--ct-wa); }
.ct-quick__icon--mail { background: rgba(214, 69, 69, .1); color: #c0392b; }
.ct-quick__text { display: flex; flex-direction: column; min-width: 0; }
.ct-quick__label { color: var(--ow-muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ct-quick__text strong { overflow: hidden; color: var(--ow-ink); font-size: 15.5px; text-overflow: ellipsis; white-space: nowrap; }

/* =========================================================
   Form and details
   ========================================================= */
.ct-main { padding: 10px 0 60px; }
.ct-main__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 26px; align-items: start; }

.ct-form-card {
	padding: clamp(22px, 3vw, 36px);
	border: 1px solid var(--ow-line);
	border-radius: var(--ow-radius);
	background: #fff;
	box-shadow: var(--ow-shadow);
}
.ct-form-card .ow-h2 { margin-bottom: 6px; }
.ct .ct-form-card__note { margin: 0 0 20px; color: var(--ow-muted); font-size: 14.5px; }

.ct-alert {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0 0 18px;
	padding: 14px 16px;
	border-radius: 14px;
	font-size: 15px;
	line-height: 1.6;
}
.ct-alert i { margin-top: 2px; }
.ct-alert--ok { background: rgba(15, 157, 88, .1); color: #0b6b3c; }
.ct-alert--bad { background: rgba(214, 69, 69, .1); color: #a32626; }

.ct-field { display: flex; flex-direction: column; gap: 7px; margin: 0 0 18px; }
.ct-field label { color: var(--ow-ink); font-size: 14.5px; font-weight: 700; }
.ct-req { color: var(--ow-muted); font-size: 12.5px; font-style: italic; font-weight: 500; }
.ct-field input,
.ct-field textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1.5px solid var(--ow-line);
	border-radius: 14px;
	background: var(--ow-tint);
	color: var(--ow-ink);
	font: inherit;
	font-size: 15px;
	transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.ct-field textarea { min-height: 150px; resize: vertical; }
.ct-field input::placeholder,
.ct-field textarea::placeholder { color: #a49dba; }
.ct-field input:focus,
.ct-field textarea:focus {
	outline: none;
	border-color: var(--ow-brand);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(87, 28, 145, .12);
}
.ct-field.is-bad input,
.ct-field.is-bad textarea { border-color: var(--ct-bad); background: rgba(214, 69, 69, .04); }
.ct-error { display: none; color: var(--ct-bad); font-size: 13px; }
.ct-field.is-bad .ct-error { display: block; }

/* The honeypot: out of sight, out of the tab order, still fillable by a bot. */
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ct-submit { position: relative; min-width: 170px; border: 0; cursor: pointer; }
.ct-submit[disabled] { cursor: progress; opacity: .8; }
.ct-submit__busy .bi-arrow-repeat { animation: ct-spin 1s linear infinite; }
@keyframes ct-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
	.ct-submit__busy .bi-arrow-repeat { animation: none; }
	.ct-quick a { transition: none; }
}

.ct .ct-form__privacy { margin: 16px 0 0; color: var(--ow-muted); font-size: 13.5px; }
.ct .ct-form__privacy a { color: var(--ow-brand); }

.ct-details { display: grid; gap: 16px; }
.ct-card {
	padding: 22px;
	border: 1px solid var(--ow-line);
	border-radius: 18px;
	background: linear-gradient(180deg, #fff 0%, var(--ow-tint) 100%);
}
.ct-card h2 {
	display: flex;
	gap: 10px;
	align-items: center;
	margin: 0 0 12px;
	color: var(--ow-ink);
	font-size: 17px;
	font-weight: 800;
}
.ct-card h2 i { color: var(--ow-brand); }
.ct .ct-card p { margin: 0 0 12px; color: var(--ow-body); font-size: 15px; line-height: 1.75; }

.ct-lines { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ct-lines li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; justify-content: space-between; }
.ct-lines span { color: var(--ow-muted); font-size: 13.5px; font-weight: 600; }
.ct .ct-lines a,
.ct a.ct-mail { color: var(--ow-ink); font-size: 15.5px; font-weight: 700; text-decoration: none; }
.ct .ct-lines a:hover,
.ct a.ct-mail:hover { color: var(--ow-brand); text-decoration: underline; }
.ct a.ct-mail { word-break: break-word; }

.ct-offices { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ct-offices li { position: relative; padding-left: 22px; color: var(--ow-body); font-size: 15px; }
.ct-offices li::before {
	content: "";
	position: absolute;
	top: .55em;
	left: 4px;
	width: 8px;
	height: 8px;
	border: 2px solid var(--ow-brand);
	border-radius: 50%;
}

/* =========================================================
   Map
   ========================================================= */
.ct-map { padding: 0 0 70px; }
.ct-map__head { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.ct-map__head .ow-h2 { margin: 0; }
.ct-map__frame {
	overflow: hidden;
	border: 1px solid var(--ow-line);
	border-radius: var(--ow-radius);
	box-shadow: var(--ow-shadow);
	line-height: 0;
}
.ct-map__frame iframe { display: block; width: 100%; height: clamp(320px, 42vw, 460px); border: 0; }

/* =========================================================
   Narrow screens
   ========================================================= */
@media (max-width: 991.98px) {
	.ct-hero__grid,
	.ct-main__grid { grid-template-columns: minmax(0, 1fr); }
	.ct-hero__grid { gap: 26px; }
	.ct-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ct-card--offices { grid-column: 1 / -1; }
}

@media (max-width: 575.98px) {
	.ct-hero { padding-top: 26px; }
	.ct-details { grid-template-columns: minmax(0, 1fr); }
	.ct-quick a { grid-template-columns: 42px minmax(0, 1fr) 16px; padding: 14px; }
	.ct-quick__icon { width: 42px; height: 42px; font-size: 18px; }
	.ct-submit { width: 100%; }
}
