body.admin-bar .site-header {
  top: 32px;
}

/* 2026-10-17 audit D4: keep the hero buttons on the first screen of short laptop displays such as 1366x768. */
@media (min-width: 1100px) and (max-height: 900px) {
  .mcs-homepage-redesign-page .hero {
    min-height: 0;
  }

  .mcs-homepage-redesign-page .hero-inner {
    min-height: 0;
    padding-top: 100px;
  }

  .mcs-homepage-redesign-page #hero-title {
    font-size: clamp(46px, 4.2vw, 60px);
  }
}

@media (min-width: 1100px) and (max-height: 760px) {
  .mcs-homepage-redesign-page .hero-inner {
    padding-top: 88px;
  }

  .mcs-homepage-redesign-page #hero-title {
    font-size: clamp(44px, 3.9vw, 54px);
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.mcs-gravity-form-shell {
  display: block;
}

.mcs-gravity-form-shell .gform_wrapper {
  margin: 0;
  color: var(--ink);
  font-family: "Outfit", Arial, sans-serif;
}

.mcs-gravity-form-shell .gform_heading,
.mcs-gravity-form-shell .gform_required_legend {
  display: none;
}

.mcs-gravity-form-shell form {
  display: grid;
  gap: 18px;
}

.mcs-gravity-form-shell .gform_fields {
  display: grid;
  gap: 18px;
}

.mcs-gravity-form-shell .gfield {
  margin: 0;
}

.mcs-gravity-form-shell .gfield_label,
.mcs-gravity-form-shell legend.gfield_label {
  display: block;
  margin: 0 0 7px;
  color: var(--navy-950);
  font-size: 0.86rem;
  font-weight: 900;
}

.mcs-gravity-form-shell input[type="text"],
.mcs-gravity-form-shell input[type="email"],
.mcs-gravity-form-shell input[type="tel"],
.mcs-gravity-form-shell input[type="number"],
.mcs-gravity-form-shell select,
.mcs-gravity-form-shell textarea {
  width: 100%;
  border: 1px solid rgba(9, 39, 68, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  min-height: 52px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.mcs-gravity-form-shell textarea {
  min-height: 120px;
  resize: vertical;
}

.mcs-gravity-form-shell input:focus,
.mcs-gravity-form-shell select:focus,
.mcs-gravity-form-shell textarea:focus {
  border-color: var(--gold-600);
  box-shadow: 0 0 0 4px rgba(223, 180, 60, 0.18);
}

.mcs-gravity-form-shell .gfield_description,
.mcs-gravity-form-shell .gfield_validation_message,
.mcs-gravity-form-shell .validation_message {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.mcs-gravity-form-shell .gfield_validation_message,
.mcs-gravity-form-shell .validation_message,
.mcs-gravity-form-shell .gform_validation_errors {
  color: #9b2f23;
}

.mcs-gravity-form-shell .gform_footer {
  margin: 4px 0 0;
  padding: 0;
}

.mcs-gravity-form-shell .gform_button,
.mcs-gravity-form-shell input[type="submit"],
.mcs-gravity-form-shell button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #f8d34e, #c99317);
  color: var(--navy-950);
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0;
  padding: 15px 24px;
  text-decoration: none;
  box-shadow: 0 14px 24px rgba(201, 155, 37, 0.26);
}

.mcs-gravity-form-shell .gform_confirmation_message {
  border: 1px solid rgba(103, 128, 110, 0.28);
  border-radius: 8px;
  background: rgba(103, 128, 110, 0.12);
  color: var(--navy-950);
  font-weight: 800;
  padding: 18px;
}

.mcs-form-fallback {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(201, 155, 37, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy-950);
  padding: 22px;
}

/* Homepage service selection polish - 2026-07-08.
   Keeps older Divi service-card rules from bleeding into the redesign. */
body.mcs-homepage-redesign-page #services,
body.mcs-homepage-redesign-page .service-grid,
body.mcs-homepage-redesign-page .google-proof-band {
  scroll-margin-top: 128px;
}

body.mcs-homepage-redesign-page .service-grid {
  gap: clamp(26px, 2.2vw, 34px);
  padding-top: 32px;
}

body.mcs-homepage-redesign-page .service-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none !important;
  height: 100%;
  min-height: 548px;
  margin: 0 !important;
  padding: 14px !important;
  overflow: visible;
  border: 1px solid rgba(223, 173, 52, 0.18);
  border-radius: 26px 26px 9px 26px;
  background:
    radial-gradient(circle at 18% 0%, rgba(223, 173, 52, 0.11), transparent 17rem),
    linear-gradient(180deg, rgba(255, 253, 248, 0.99), #fffdf8 48%, #fff8e9 100%),
    #fffdf7;
  box-shadow:
    0 22px 54px rgba(6, 42, 82, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  text-align: left !important;
}

body.mcs-homepage-redesign-page .service-card::before {
  border-color: rgba(223, 173, 52, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 249, 236, 0.98), rgba(236, 201, 107, 0.96)),
    #f3d681;
  color: var(--navy-950);
  box-shadow:
    0 12px 22px rgba(6, 42, 82, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

body.mcs-homepage-redesign-page .service-card.service-card-featured {
  border-color: rgba(223, 173, 52, 0.28);
  background:
    radial-gradient(circle at 22% 0%, rgba(223, 173, 52, 0.14), transparent 18rem),
    linear-gradient(180deg, #fffdf7 0%, #fff9eb 50%, #f9efd7 100%),
    #fffdf7;
}

body.mcs-homepage-redesign-page .service-card .service-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 22px !important;
  text-align: left !important;
}

body.mcs-homepage-redesign-page .service-card .service-topline {
  justify-content: flex-start;
  padding: 0 !important;
}

body.mcs-homepage-redesign-page .service-card .service-topline span {
  color: #9e6d15;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-align: left;
  text-transform: uppercase;
}

body.mcs-homepage-redesign-page .service-card h3 {
  margin: 16px 0 0;
  color: var(--navy-900);
  font-size: clamp(1.36rem, 1.55vw, 1.56rem);
  font-weight: 900;
  line-height: 1.08;
  text-align: left;
}

body.mcs-homepage-redesign-page .service-card .service-content > p {
  display: block;
  margin: 18px 0 0 !important;
  border: 1px solid rgba(223, 173, 52, 0.18);
  border-left: 3px solid rgba(223, 173, 52, 0.72);
  border-radius: 16px 16px 6px 16px;
  padding: 15px 17px !important;
  background:
    linear-gradient(135deg, rgba(255, 249, 236, 0.9), rgba(255, 255, 255, 0.74)),
    #fffdf8 !important;
  color: rgba(6, 42, 82, 0.78) !important;
  font-size: 0.94rem !important;
  font-weight: 760 !important;
  line-height: 1.48 !important;
  text-align: left !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body.mcs-homepage-redesign-page .service-card .service-points {
  display: grid !important;
  gap: 11px;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  color: inherit;
  list-style: none !important;
  text-align: left !important;
}

body.mcs-homepage-redesign-page .service-card .service-points li {
  margin: 0 !important;
  padding-left: 18px;
  color: rgba(6, 42, 82, 0.74);
  font-size: 0.88rem;
  font-weight: 760;
  line-height: 1.38;
}

body.mcs-homepage-redesign-page .service-card .service-action {
  margin-top: auto;
  padding-top: 20px;
  color: var(--navy-900);
  text-align: left;
}

body.mcs-homepage-redesign-page .google-proof-band {
  margin-top: clamp(58px, 5.4vw, 76px) !important;
  border-color: rgba(223, 173, 52, 0.18);
  background:
    radial-gradient(circle at 8% 0%, rgba(223, 173, 52, 0.13), transparent 16rem),
    linear-gradient(135deg, rgba(255, 250, 240, 0.96), #fff 62%),
    #fffdf8;
  box-shadow:
    0 22px 54px rgba(6, 42, 82, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body.mcs-homepage-redesign-page .google-proof-band strong {
  color: var(--navy-900);
}

@media (min-width: 901px) and (max-width: 1180px) {
  body.mcs-homepage-redesign-page .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "recurring recurring"
      "reset move";
    row-gap: 34px;
  }

  body.mcs-homepage-redesign-page .service-card.service-card-featured {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  body.mcs-homepage-redesign-page .service-card {
    min-height: 0;
  }

  body.mcs-homepage-redesign-page .service-card .service-content {
    padding: 22px 20px 20px !important;
  }

  body.mcs-homepage-redesign-page .service-card .service-content > p {
    margin-top: 16px !important;
    padding: 14px 15px !important;
    font-size: 0.92rem !important;
  }

  body.mcs-homepage-redesign-page .service-card h3 {
    font-size: clamp(1.28rem, 6vw, 1.48rem);
  }

  body.mcs-homepage-redesign-page .service-grid {
    margin-bottom: 48px;
  }

  body.mcs-homepage-redesign-page .google-proof-band {
    margin-top: 0 !important;
  }
}
