/* Contact page. */

.contact {
	background: var(--sr-cream);
}

.contact__grid {
	display: grid;
	gap: clamp(2rem, 4vw, 4rem);
	align-items: start;
}

@media (min-width: 900px) {
	.contact__grid {
		grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
	}
}

.contact__heading {
	margin: 0 0 1.125rem;
	font-size: clamp(1.75rem, 2.6vw, 2.125rem);
	font-weight: 900;
	line-height: 1.12;
	letter-spacing: -0.018em;
}

.contact__lede {
	margin: 0 0 2.25rem;
	font-size: 1.09375rem;
	line-height: 1.6;
	color: rgb(58 58 54 / 84%);
}

.contact__cards {
	display: flex;
	flex-direction: column;
	gap: 1.375rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact__card {
	display: flex;
	gap: 1.25rem;
	align-items: center;
	padding: 22px 24px;
	border: 1.5px solid rgb(58 58 54 / 9%);
	border-radius: 22px;
	background: var(--sr-white);
}

.contact__icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: rgb(0 184 170 / 10%);
	color: var(--sr-teal);
}

.contact__icon svg {
	width: 24px;
	height: 24px;
}

.contact__icon--big {
	width: 72px;
	height: 72px;
	margin: 0 auto 1.25rem;
}

.contact__icon--big svg {
	width: 32px;
	height: 32px;
}

.contact__cardtitle {
	display: block;
	margin-bottom: 4px;
	font-size: 17px;
	font-weight: 800;
	color: inherit;
	text-decoration: none;
	overflow-wrap: anywhere;
}

a.contact__cardtitle:hover {
	text-decoration: underline;
}

.contact__cardtext {
	display: block;
	font-size: 14.5px;
	line-height: 1.5;
	color: rgb(58 58 54 / 72%);
}

.contact__findlabel {
	margin: 2.25rem 0 1rem;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgb(58 58 54 / 72%);
}

.contact__social {
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact__social a {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1.5px solid rgb(58 58 54 / 22%);
	border-radius: 50%;
	color: var(--sr-charcoal);
}

.contact__social a:hover {
	border-color: var(--sr-teal);
	color: var(--sr-teal);
}

.contact__social svg {
	width: 22px;
	height: 22px;
}

.contact__formwrap {
	position: relative;
	overflow: hidden;
	padding: clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.25rem, 3.5vw, 2.75rem) clamp(1.75rem, 3.5vw, 3rem);
	border-radius: 32px;
	background: var(--sr-white);
}

.contact__blob {
	position: absolute;
	inset-inline-end: -60px;
	inset-block-start: -60px;
	width: 190px;
	height: 190px;
	border-radius: 50%;
	background: rgb(0 184 170 / 9%);
	pointer-events: none;
}

.contact__form,
.contact__done {
	position: relative;
}

.contact__formtitle {
	margin: 0 0 1.625rem;
	font-size: 1.625rem;
	font-weight: 900;
	letter-spacing: -0.012em;
}

.contact__row {
	display: grid;
	gap: 18px;
}

/* Side by side only once the form has real width; on tablet the form card
   shares the row with the details column and two inputs get cramped. */
@media (min-width: 1100px) {
	.contact__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.contact__field {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin: 0 0 18px;
}

.contact__field label {
	font-size: 14px;
	font-weight: 800;
}

.contact__field input,
.contact__field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 16px 20px;
	border: 1.5px solid rgb(58 58 54 / 16%);
	border-radius: 16px;
	background: var(--sr-cream);
	color: inherit;
	font: inherit;
	font-size: 16px;
}

.contact__field textarea {
	min-height: 160px;
	resize: vertical;
}

.contact__field input::placeholder,
.contact__field textarea::placeholder {
	color: rgb(58 58 54 / 48%);
}

.contact__field input:focus-visible,
.contact__field textarea:focus-visible {
	outline: 2px solid var(--sr-teal);
	outline-offset: 1px;
	border-color: var(--sr-teal);
}

.contact__field input:user-invalid,
.contact__field textarea:user-invalid {
	border-color: #c0443a;
}

/* Honeypot: off-canvas, never display:none so bots still fill it. */
.contact__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact__consent {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	margin: 0 0 1.5rem;
	font-size: 14.5px;
	line-height: 1.5;
	color: rgb(58 58 54 / 84%);
}

.contact__consent input,
.contact__consent label {
	cursor: pointer;
}

.contact__consent input {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 0;
	appearance: none;
	border: 1.5px solid rgb(58 58 54 / 32%);
	border-radius: 6px;
	background: var(--sr-cream);
	display: grid;
	place-items: center;
}

.contact__consent input:checked {
	border-color: var(--sr-teal);
	background: var(--sr-teal);
}

.contact__consent input:checked::before {
	content: "";
	width: 11px;
	height: 6px;
	border: 2.5px solid var(--sr-cream);
	border-width: 0 0 2.5px 2.5px;
	translate: 0 -1px;
	rotate: -45deg;
}

.contact__consent input:focus-visible {
	outline: 2px solid var(--sr-teal);
	outline-offset: 2px;
}

/* Nudges the label down so its x-height sits level with the box. */
.contact__consent label {
	padding-top: 2px;
}

.contact__submit {
	margin-top: 0.5rem;
}

.contact__note {
	margin: 1rem 0 0;
	font-size: 13.5px;
	font-weight: 600;
	color: rgb(58 58 54 / 72%);
}

.contact__status {
	min-height: 1.25rem;
	margin: 0.75rem 0 0;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--sr-teal);
}

.contact__status--error {
	color: #c0443a;
}

.contact__done {
	text-align: center;
	padding-block: 1rem;
}

.contact__done p {
	margin: 0;
	font-size: 1.0625rem;
	color: rgb(58 58 54 / 84%);
}

/* FAQs share the pack page styles; the wave carries them onto beige. */
.contact__faqs {
	--wave: clamp(32px, 5vw, 74px);

	position: relative;
	overflow: clip;
	padding-block: calc(var(--wave) + clamp(1.5rem, 3vw, 2.5rem)) clamp(3rem, 6vw, 5rem);
	background: var(--sr-beige);
}

.contact__faqground {
	position: absolute;
	inset: 0;
	max-width: none;
	margin-inline: 0;
	pointer-events: none;
}

.contact__faqs .section__head,
.contact__faqs .faqs {
	position: relative;
	z-index: 1;
}
