/* ==========================================================================
   Sticky Navigation
   ========================================================================== */

.site-sticky-nav-sentinel,
.site-sticky-nav-placeholder {
	display: block;
	height: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.site-sticky-nav-placeholder.is-active {
	height: auto;
}

.site-sticky-nav.is-sticky {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99999;
	width: 100%;
	box-sizing: border-box;
	padding: 8px 20px;
	background-color: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.admin-bar .site-sticky-nav.is-sticky {
	top: 32px;
}

.site-sticky-nav.is-sticky #mega-menu-wrap-primary {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.site-sticky-nav.is-sticky #mega-menu-wrap-primary #mega-menu-primary {
	margin-top: 0;
	text-align: right;
}

.site-sticky-nav.is-sticky .mega-menu-toggle {
	margin-bottom: 0;
}

@media screen and (max-width: 1005px) {
	.site-sticky-nav.is-sticky {
		padding: 10px 15px;
	}

	.site-sticky-nav.is-sticky #mega-menu-wrap-primary #mega-menu-primary {
		text-align: left;
	}

	.site-sticky-nav.is-sticky .mobile-cta__inner {
		max-width: 1200px;
		margin: 0 auto;
	}
}

@media screen and (max-width: 782px) {
	.admin-bar .site-sticky-nav.is-sticky {
		top: 46px;
	}
}


/* ==========================================================================
   Contact Form 7
   ========================================================================== */

.page-id-164 #subheader {
   display: none;
}

.wpcf7 form.wpcf7-form {
	background-color: #f2f2f2;
	border: 2px solid #d0d0d0;
	border-top: 4px solid #c70000;
	border-radius: 6px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
	padding: 2rem 2.25rem;
	margin: 1.5rem 0 2rem;
}

.wpcf7 form.wpcf7-form > p {
	margin: 0 0 1.35rem;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1.0625rem;
	font-weight: 700;
	color: #1f1f1f;
	line-height: 1.45;
}

.wpcf7 form.wpcf7-form > p:has(.wpcf7-submit) {
	margin-top: 1.75rem;
	margin-bottom: 0;
	font-weight: 400;
}

.wpcf7 .wpcf7-form-control-wrap {
	display: block;
	margin-top: 0.5rem;
}

.wpcf7 .wpcf7-form-control {
	width: 100% !important;
	box-sizing: border-box;
	padding: 0.8rem 1rem;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.4;
	color: #222;
	background-color: #fff;
	border: 2px solid #9a9a9a;
	border-radius: 4px;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wpcf7 .wpcf7-form-control::placeholder {
	color: #777;
	font-weight: 400;
}

.wpcf7 .wpcf7-form-control:hover {
	border-color: #777;
}

.wpcf7 .wpcf7-form-control:focus {
	outline: none;
	border-color: #c70000;
	box-shadow: 0 0 0 3px rgba(199, 0, 0, 0.15);
}

.wpcf7 select.wpcf7-form-control {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, #c70000 50%), linear-gradient(135deg, #c70000 50%, transparent 50%);
	background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-right: 2.5rem;
	cursor: pointer;
	font-weight: 600;
	color: #333;
}

.wpcf7 textarea.wpcf7-form-control {
	min-height: 160px;
	resize: vertical;
}

.wpcf7 .wpcf7-not-valid {
	border-color: #c70000 !important;
	background-color: #fff8f8;
}

.wpcf7 .wpcf7-not-valid-tip {
	display: block;
	margin-top: 0.45rem;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 0.9375rem;
	font-weight: 700;
	color: #c70000;
}

.wpcf7 .wpcf7-submit {
	display: inline-block;
	width: auto !important;
	min-width: 220px;
	padding: 0.9rem 2.5rem !important;
	font-family: 'Oswald', sans-serif;
	font-size: 1.125rem !important;
	font-weight: 400;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #fff !important;
	background-color: #c70000 !important;
	background-image: linear-gradient(to bottom, #c70000, #ae0e0e) !important;
	border: 2px solid #ae0e0e;
	border-radius: 4px;
	box-shadow: 0 5px 12px -3px rgba(0, 0, 0, 0.35);
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.wpcf7 .wpcf7-submit:hover,
.wpcf7 .wpcf7-submit:focus {
	background-color: #ae0e0e !important;
	background-image: linear-gradient(to bottom, #d40000, #9a0c0c) !important;
	border-color: #9a0c0c;
	color: #fff !important;
	box-shadow: 0 7px 16px -4px rgba(0, 0, 0, 0.4);
}

.wpcf7 .wpcf7-submit:active {
	transform: translateY(1px);
}

.wpcf7 .wpcf7-spinner {
	margin-left: 0.75rem;
	vertical-align: middle;
}

.wpcf7 .wpcf7-turnstile {
	margin: 0.5rem 0 1.25rem;
}

.wpcf7 form .wpcf7-response-output {
	margin: 1.25rem 0 0;
	padding: 1rem 1.15rem;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	border-width: 2px;
	border-radius: 4px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #c70000;
	background-color: #fff5f5;
	color: #8a0000;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #2e7d32;
	background-color: #f3faf4;
	color: #1b5e20;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #c70000;
	background-color: #fff5f5;
	color: #8a0000;
}

.wpcf7 form.spam .wpcf7-response-output {
	border-color: #b26a00;
	background-color: #fffaf0;
	color: #7a4a00;
}

@media screen and (max-width: 640px) {
	.wpcf7 form.wpcf7-form {
		padding: 1.5rem 1.25rem;
	}

	.wpcf7 form.wpcf7-form > p {
		font-size: 1rem;
	}

	.wpcf7 .wpcf7-form-control {
		font-size: 1rem;
		padding: 0.75rem 0.9rem;
	}

	.wpcf7 .wpcf7-submit {
		width: 100% !important;
		min-width: 0;
	}
}


/* ==========================================================================
   Mobile CTA (under sticky nav)
   ========================================================================== */

.mega-get-a-quote {
   display: none !important;
}

.mobile-cta {
   display: none;
}

@media screen and (max-width: 1005px) {
   .mobile-cta {
      display: block;
      margin-top: 0.75rem;
   }

   .page-id-164 .mobile-cta {
      display: none;
   }

   .mobile-cta__inner {
      width: 100%;
   }

   .mobile-cta__button {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      min-height: 3rem;
      padding: 0.7rem 0.85rem;
      font-family: 'Oswald', sans-serif;
      font-size: 1rem;
      font-weight: 400;
      line-height: 1.2;
      letter-spacing: 0.03em;
      text-align: center;
      text-decoration: none;
      text-transform: uppercase;
      border-radius: 4px;
      border: 2px solid transparent;
      box-shadow: 0 4px 10px -3px rgba(0, 0, 0, 0.3);
      transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
   }

   .mobile-cta__button--primary {
      color: #fff !important;
      background-color: #c70000;
      background-image: linear-gradient(to bottom, #c70000, #ae0e0e);
      border-color: #ae0e0e;
   }

   .mobile-cta__button--primary:hover,
   .mobile-cta__button--primary:focus {
      color: #fff !important;
      background-color: #ae0e0e;
      background-image: linear-gradient(to bottom, #d40000, #9a0c0c);
      border-color: #9a0c0c;
   }

   .mobile-cta__button:active {
      transform: translateY(1px);
   }
}

@media (min-width: 1200px) {
   .mega-get-a-quote {
      display: inline-block !important;
   }

   .mega-get-a-quote a {
      display: inline-block !important;
      background-color: #c70000 !important;
      height: 37px !important;
      line-height: 37px !important;
      border-radius: 5px !important;
      margin-right: 10px !important;
   }

   .mega-get-a-quote a:hover {
      background: #ffffff !important;
      color: #c70000 !important;
   }
}
   