/* ==========================================================================
   Contact page: rounded boxes at header width, same radius as the rest of the site.
   ========================================================================== */

.contact { padding-bottom: var(--box-gap, 18px); }
.contact > section {
	width: var(--box-w, var(--wide));
	margin: var(--box-gap, 18px) auto 0;
	border-radius: var(--box-r, 28px);
	overflow: hidden;
}
.contact h1,
.contact h2 { font-weight: 500; letter-spacing: -.02em; }

/* Buttons (pills, like the rest of the site) ---------------------------- */
.cbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 0 28px;
	border: 1px solid transparent;
	border-radius: 999px;
	font: 700 13px/1 var(--font);
	letter-spacing: .04em;
	white-space: nowrap;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.cbtn:hover { transform: translateY(-1px); }
.cbtn--light { background: #fff; color: var(--maroon); }
.cbtn--light:hover { background: var(--steel); }
.cbtn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.cbtn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.cbtn--maroon { background: var(--maroon); color: #fff; }
.cbtn--maroon:hover { background: var(--burgundy); }

.cpill {
	display: inline-block;
	margin-bottom: 18px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

/* Hero ------------------------------------------------------------------ */
.chero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(260px, 30vw, 440px);
	background: var(--burgundy) 70% center / cover no-repeat;
	color: #fff;
}
.chero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40, 5, 13, .78), rgba(40, 5, 13, .2) 62%, rgba(40, 5, 13, .05)); pointer-events: none; }
.chero__text { position: relative; padding: 44px var(--box-pad, 48px); max-width: 720px; }
.chero__crumbs { margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.chero__crumbs a:hover { color: #fff; text-decoration: underline; }
.chero h1 { margin-bottom: 14px; font-size: clamp(40px, 5.4vw, 80px); line-height: 1.05; color: #fff; }
.chero p { max-width: 30em; margin: 0 0 26px; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .88); }
.chero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Three ways to reach us ------------------------------------------------- */
.contact > .cways {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--box-gap, 18px);
	overflow: visible;
	border-radius: 0;
}
.cway {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 22px 24px;
	border-radius: var(--box-r, 28px);
	background: var(--box-soft, #f4f6f8);
	color: var(--ink);
	transition: background .2s, transform .2s, box-shadow .2s;
}
.cway:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(61, 8, 20, .1); }
.cway__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--maroon); color: #fff; }
.cway__text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.cway small { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--maroon); }
.cway strong { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.cway em { font-size: 13px; font-style: normal; color: var(--muted, #6b6468); }
.cway > .icon { flex: none; color: var(--maroon); transition: transform .2s; }
.cway:hover > .icon { transform: translate(2px, -2px); }

/* Info + form ------------------------------------------------------------ */
.contact > .cmain {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: var(--box-gap, 18px);
	overflow: visible;
	border-radius: 0;
}
.cinfo,
.cform { padding: clamp(26px, 3.4vw, 52px); border-radius: var(--box-r, 28px); }
.cinfo { background: var(--cosmos); color: #fff; }
.cinfo h2 { margin-bottom: 16px; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.08; }
.cinfo > p { margin: 0 0 26px; font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, .85); }
.cinfo__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cinfo__list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: var(--box-r-in, 16px); background: rgba(255, 255, 255, .08); font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .85); }
.cinfo__list .icon { flex: none; margin-top: 2px; color: #fff; }
.cinfo__list strong { display: block; margin-bottom: 2px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.cinfo__list a:hover { text-decoration: underline; }

.cform { background: #fff; color: var(--ink); border: 1px solid #e3e8ec; box-shadow: 0 18px 48px rgba(61, 8, 20, .08); scroll-margin-top: 110px; }
.cform h2 { margin-bottom: 6px; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.08; color: var(--maroon); }
.cform__lead { margin: 0 0 24px; font-size: 13px; color: var(--muted, #6b6468); }

.cnotice { margin-bottom: 20px; padding: 14px 20px; border-radius: 999px; font-size: 14px; line-height: 1.5; }
.cnotice.is-ok { background: #e6f4ec; color: #145a36; }
.cnotice.is-bad { background: #fbeae8; color: #9a1f17; }

.cform__form { display: grid; gap: 18px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cfield { display: grid; gap: 8px; }
.cfield span { padding-left: 20px; font-size: 13px; font-weight: 600; color: var(--maroon); }
.cfield :is(input, select, textarea) {
	width: 100%;
	min-height: 56px;
	padding: 14px 24px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	background-color: var(--steel, #eff3f6);
	color: var(--ink);
	font: 400 15px/1.4 var(--font);
	transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.cfield :is(input, select, textarea)::placeholder { color: #98a0a6; }
.cfield :is(input, select, textarea):hover { background-color: #e7ecf0; }
.cfield textarea { min-height: 160px; padding: 18px 24px; border-radius: 28px; resize: vertical; }
.cfield select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 56px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%236C0E12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 24px center;
	background-size: 12px 8px;
	cursor: pointer;
}
.cfield :is(input, select, textarea):focus { border-color: var(--maroon); outline: 0; background-color: #fff; box-shadow: 0 0 0 4px rgba(108, 14, 18, .1); }
.cform__form .cbtn { justify-self: stretch; min-height: 56px; margin-top: 6px; }
.cform__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ -------------------------------------------------------------------- */
.contact > .cfaq {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(20px, 4vw, 64px);
	padding: clamp(26px, 3.4vw, 56px);
	background: var(--box-soft, #f4f6f8);
}
.cfaq .cpill { background: var(--maroon); }
.cfaq h2 { margin-bottom: 14px; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.08; color: var(--maroon); }
.cfaq__head p { max-width: 26em; margin: 0; font-size: 14px; line-height: 1.75; color: var(--muted, #6b6468); }
.cfaq__list { display: grid; gap: 10px; align-content: start; }
.cfaq details { border-radius: var(--box-r-in, 16px); background: #fff; }
.cfaq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 0 22px; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.cfaq summary::-webkit-details-marker { display: none; }
.cfaq summary .icon { flex: none; color: var(--maroon); transition: transform .2s; }
.cfaq details[open] summary .icon { transform: rotate(180deg); }
.cfaq details p { margin: 0; padding: 0 22px 20px; font-size: 14px; line-height: 1.7; color: var(--muted, #6b6468); }

/* Closing banner --------------------------------------------------------- */
.ccta {
	position: relative;
	display: grid;
	place-items: center;
	min-height: clamp(320px, 32vw, 480px);
	isolation: isolate;
	background: var(--burgundy) center / cover no-repeat;
	color: #fff;
	text-align: center;
}
.ccta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(52% 58% at 50% 48%, rgba(40, 5, 13, .78), rgba(40, 5, 13, .2)), linear-gradient(180deg, rgba(61, 8, 20, .6), rgba(61, 8, 20, .4) 50%, rgba(5, 5, 5, .66)); }
.ccta__inner { display: grid; justify-items: center; gap: clamp(14px, 2vw, 22px); max-width: 760px; padding: 48px 24px; }
.ccta h2 { max-width: 14em; font-size: clamp(30px, 4.3vw, 60px); line-height: 1.12; color: #fff; }
.ccta p { max-width: 34em; margin: 0; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, .85); }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 980px) {
	.contact > .cways { grid-template-columns: 1fr; }
	.contact > .cmain,
	.contact > .cfaq { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.chero { background-position: 78% center; }
	.chero::before { background: linear-gradient(90deg, rgba(40, 5, 13, .8), rgba(40, 5, 13, .35)); }
	.chero__text { padding: 32px 22px; }
	.cform__row { grid-template-columns: 1fr; }
	.cway { padding: 18px; }
}
