/* =========================================================================
   MIA Footer
   Adjust the brand colours below; everything else references these tokens.
   ========================================================================= */
.mia-footer {
	--mia-red:        #aa0a30; /* main background            */
	--mia-accent:     #ee2e24; /* arrows + heading underline */
	--mia-black:      #000000; /* bottom bar                 */
	--mia-card:       #ffffff;
	--mia-ink:        #2b2b2b; /* dark text on white card    */
	--mia-muted:      #6b6b6b; /* secondary text on card     */
	--mia-on-red:     #ffffff;
	--mia-on-red-dim: rgba(255, 255, 255, .72);

	background: var(--mia-red);
	color: var(--mia-on-red);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

#top #scroll-top-link {
	display: none !important;
}

.mia-footer *,
.mia-footer *::before,
.mia-footer *::after {
	box-sizing: border-box;
}

.mia-footer a {
	color: inherit;
	text-decoration: none;
}

.mia-footer__inner {
	max-width: 1548px;
	margin: 0 auto;
	padding: 0 50px;
}

/* ---------- Top grid ---------------------------------------------------- */
.mia-footer__grid {
    display: grid;
    grid-template-columns: 590px 1fr auto;
    gap: 120px;
    align-items: start;
    padding: 100px 0 100px;
}

/* Serif headings (Newsletter / Social Links) */
.mia-footer__title {
	margin: 0;
	font-family: Georgia, "Times New Roman", "Playfair Display", serif;
	font-weight: 400;
}

.mia-footer__rule {
	display: block;
	width: 40px;
	height: 2px;
	margin: 14px 0 0;
	background: #ffffff;
}

.mia-footer__news .mia-footer__rule {
	background: var(--ee-2-e-24, #EE2E24);
}

/* ---------- Newsletter card -------------------------------------------- */
.mia-footer__news {
	background: var(--mia-card);
	color: var(--mia-ink);
	padding: 70px 78px;
	position: relative;
	overflow: hidden;
	min-height: 380px;
	display: flex;
	flex-direction: column;
}

.mia-footer__news .mia-footer__title {
	color: var(--000000, #000);
	font-family:"freight-text-pro";
	font-size: 36px;
	font-weight: 500;
	line-height: 36px; /* 100% */
	letter-spacing: -1.08px;
}

.mia-footer__news-text {
	margin: 14px 0 0;
	color: #000;
	opacity: 0.72;
	font-family: Inter;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

/* faint monogram watermark, bottom-right of the card */
.mia-footer__news::after {
	content: "";
	position: absolute;
	right: -30px;
	bottom: -20px;
	width: 150px;
	height: 150px;
	pointer-events: none;
	background-image: url(/wp-content/uploads/2026/06/Vector-2.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

.mia-footer__form {
	margin-top: auto;
	padding-top: 34px;
}

/* ---------- Gravity Forms overrides (and static fallback) -------------- */
.mia-footer__form .gform_wrapper,
.mia-footer__form .gform_wrapper form {
	margin: 0;
}

.mia-footer__form .gform_fields,
.mia-footer__form .gform_wrapper ul.gform_fields {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mia-footer__form .gfield {
	margin: 0 0 22px;
	padding: 0;
}

/* hide labels — the design relies on the placeholder only */
.mia-footer__form .gfield_label,
.mia-footer__form .gform_required_legend,
.mia-footer__form .gfield_description:not(.validation_message) {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.mia-footer__form input[type="email"],
.mia-footer__form input[type="text"] {
	width: 100%;
	border: 0;
	border-bottom: 1px solid #d9d9d9;
	border-radius: 0;
	background: transparent;
	padding: 10px 2px;
	font-size: 14px;
	color: var(--mia-ink);
	outline: none;
	box-shadow: none;
}

.mia-footer__form input::placeholder {
	color: #a0a0a0;
}

.mia-footer__form input[type="email"]:focus,
.mia-footer__form input[type="text"]:focus {
	border-bottom-color: var(--mia-accent);
}

.mia-footer__form .gform_footer {
	margin: 0;
	padding: 8px 0 0;
}

.mia-footer__form .gform_button,
.mia-footer__form input[type="submit"],
.mia-footer__form button[type="submit"] {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 0;
	background: transparent;
	color: #1d1d1d;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	padding: 4px 0;
	cursor: pointer;
	/* red chevron after the label */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M7.5 15 12.5 10 7.5 5' stroke='%23EE2E24' stroke-width='1.667' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right center;
	padding-right: 26px;
	transition: opacity .2s ease;
}

.mia-footer__form .gform_button:hover,
.mia-footer__form input[type="submit"]:hover,
.mia-footer__form button[type="submit"]:hover {
	opacity: .7;
}

.mia-footer__form--fallback button:disabled {
	opacity: 1;
	cursor: default;
}

.mia-footer__form-notice {
	margin: 0 0 12px;
	font-size: 12px;
	color: var(--mia-accent);
}

/* ---------- Contact / main column -------------------------------------- */
.mia-footer__company {
	margin: 0px;
	font-family:"freight-text-pro";
	font-size: 22px;
	font-weight: 500;
	line-height: 22px;
	letter-spacing: -0.22px;
	color: var(--mia-on-red);
}

.mia-footer__details {
	list-style: none;
	margin: 14px 0 26px;
	padding: 0;
}

.mia-footer__details li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--mia-on-red-dim);
}

.mia-footer__details a:hover {
	color: var(--mia-on-red);
	text-decoration: underline;
}

.mia-footer__ic {
	flex: 0 0 auto;
	margin-top: 1px;
}

.mia-footer__ic svg {
	width: 20px;
	height: 20px;
}

.mia-footer__map {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-transform: uppercase;
	color: var(--ffffff, #FFF);
	font-family: Inter;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.64px;
	text-transform: uppercase;
	color: var(--mia-on-red);
}

.mia-footer__map-arrow svg {
	width: 18px;
	height: 18px;
	display: block;
}

.mia-footer__map:hover {
	opacity: .85;
}

/* ---------- Social ----------------------------------------------------- */
.mia-footer__social {
	margin-top: 54px;
}

.mia-footer__social .mia-footer__title {
	font-size: 20px;
	color: var(--mia-on-red);
	font-family:"freight-text-pro";
	font-weight: 500;
	line-height: 20px;
	letter-spacing: -0.22px;
}

.mia-footer__social-text {
    margin: 14px 0 14px;
    font-size: 14px;
    color: var(--mia-on-red-dim);
	font-family: Inter;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px; /* 150% */
}

.mia-footer__icons {
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.mia-footer__icons a {
	display: grid;
	place-items: center;
	width: 44px;
	background: #ffffff;
	height: 44px;
	transition: transform .2s ease, box-shadow .2s ease;
}

.mia-footer__icons a:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}

.mia-footer__icons svg {
	width: 44px;
	height: 44px;
	fill: #000;
}

.mia-footer__icons rect { fill: transparent; } /* original SVGs carry a white bg rect we don't need */

/* ---------- Back to top ------------------------------------------------ */
.mia-footer__top {
	justify-self: end;
}

.mia-footer__top-btn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	background: var(--mia-card);
	padding: 12px 24px 16px 24px;
	color: var(--000000, #000) !important;
	text-align: center;
	font-family: Inter;
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.48px;
	text-transform: uppercase;
	transition: box-shadow .2s ease;
}

.mia-footer__top-btn:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}

.mia-footer__top-arrow svg {
	width: 18px;
	height: 18px;
	display: block;
}

/* ---------- Bottom bar ------------------------------------------------- */
.mia-footer__bar {
	background: var(--mia-black);
}

.mia-footer__bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 22px;
	padding-bottom: 22px;
	flex-wrap: wrap;
}

.mia-footer__copy {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-family: Inter;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

.mia-footer__copy a,
.mia-footer__copy-name {
	font-weight: 500;
	color: #fff;
	text-decoration-line: underline;
	text-decoration-style: solid;
	text-decoration-skip-ink: auto;
	text-decoration-thickness: auto;
	text-underline-offset: auto;
	text-underline-position: from-font;
}

.mia-footer__legal {
	display: flex;
	align-items: center;
	gap: 26px;
	flex-wrap: wrap;
}

.mia-footer__legal a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--ffffff, #FFF);
	font-family: Inter;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

.mia-footer__legal a:hover {
	text-decoration-line: underline !important;
	text-decoration-style: solid;
	text-decoration-skip-ink: auto;
	text-decoration-thickness: auto;
	text-underline-offset: auto;
	text-underline-position: from-font;
}

.mia-footer__legal-ic {
	display: inline-flex;
	color: var(--mia-accent);
}

.mia-footer__legal-ic svg {
	width: 11px;
	height: 11px;
	display: block;
}

#top .mia-footer__form .gform_wrapper.gravity-theme .gform_footer, #top .mia-footer__form .gform_wrapper.gravity-theme .gform_page_footer {
    padding: 0px;
}

#top .mia-footer__form input[type="email"] {
	color: var(--000000, #000) !important;
	font-family: Inter !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	background: transparent !important;
	border: unset !important;
	padding: 0px 0px 14px 0px !important;
	height: max-content !important;
	outline: unset !important;
	box-shadow: unset !important;
	border-bottom: 1px solid var(--e-5-e-5-e-5, #E5E5E5) !important;
}

#top .mia-footer__form input[type="email"]:focus {
	border-color: #EE2E24 !important;
}

/* ---------- Responsive ------------------------------------------------- */
@media (max-width: 1080px) {
	.mia-footer__grid {
        grid-template-columns: 2fr 1fr;
        padding-top: 50px;
        padding-bottom: 50px;
		gap: 40px;
    }
	
	.mia-footer__top {
		grid-column: 2;
		grid-row: 1;
	}
	
	.mia-footer__social {
		margin-top: 40px;
	}
}

@media (max-width: 768px) {
	.mia-footer__grid {
		grid-template-columns: 1fr;
		gap: 32px;
		padding: 40px 0 48px;
	}
	.mia-footer__news {
		padding: 40px 28px;
		min-height: 0;
	}
	.mia-footer__top {
		justify-self: start;
		grid-column: 1;
		grid-row: auto;
		order: 3;
	}
	.mia-footer__social {
		margin-top: 34px;
	}
	.mia-footer__bar-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}
	
	.mia-footer__news::after {
		right: 0px;
		bottom: -10px;
		width: 84px;
		height: 84px;
	}
	
	.mia-footer__news-text {
		font-family: Inter;
		font-size: 14px;
		font-weight: 400;
		line-height: 22px;
	}
	
	.mia-footer__inner {
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.mia-footer__legal {
		gap: 14px 24px;
	}
	
	.mia-footer__legal a {
		font-size: 14px;
		line-height: 20px;
	}
	
	.mia-footer__news .mia-footer__title {
		font-size: 28px;
		line-height: 1;
		letter-spacing: 0px;
	}
}
