/* Local fonts — latin subset only */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/o-0bIpQlx3QUlC5A4PNB6Ryti20_6n1iPHjc5a7duw.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/o-0mIpQlx3QUlC5A4PNB6Ryti20_6n1iPHjcz6L1SoM-jCpoiyAaBO9a6VI.woff2') format('woff2');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/KFO7CnqEu92Fr1ME7kSn66aGLdTylUAMa3yUBA.woff2') format('woff2');
}

@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/BngbUXZYTXPIvIBgJJSb6s3BzlRRfKOFbvjojISmb2Rj.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCuM73w5aXo.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVI.woff2') format('woff2');
}

/* Contact Us button — override WP menu-link width/padding */
li.menu-item > a.menu-link.inline-block {
  width: auto !important;
  padding: 6px 14px !important;
  color: #fff !important;
}
li.menu-item > a.menu-link.inline-block:hover,
li.menu-item > a.menu-link.inline-block:focus {
  color: #fff !important;
  background-color: #a8266a !important;
}

/* Responsive overrides for Melocity website */

/* Mobile: stop the "Services For" section overlapping the hero and add
   breathing room below it. WP CSS pulls it up -100px on phones;
   keep the overlap on tablet/desktop. */
@media (max-width: 767px) {
  .elementor-6 .elementor-element.elementor-element-3b14451 {
    margin-top: 50px;
  }
}

/* About us: hero section removed, so push the first divider section
   below the absolute site header (WP CSS sets 70/81px margins). */
.elementor-320 .elementor-element.elementor-element-44f99fe {
  margin-top: 130px;
}

@media (max-width: 767px) {
  .elementor-320 .elementor-element.elementor-element-44f99fe {
    margin-top: 130px;
  }
}

/* Sticky SoundCloud player (mirrors homepage) on every page */
#sc-sticky-footer {
  --display: flex;
  --position: fixed;
  --z-index: 999;
  --align-self: flex-end;
  position: fixed;
  bottom: -380px;
  left: 0;
  right: 0;
  z-index: 999;
  align-self: flex-end;
  margin: 0;
  padding: 0;
  transition: bottom 0.3s;
}

#sc-sticky-footer .elementor-widget-audio,
#sc-sticky-footer [data-id="6e31830"] {
  --align-self: stretch;
  --flex-grow: 1;
  --flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  z-index: 100000;
}

#sc-sticky-footer iframe {
  display: block;
  width: 100%;
  height: 450px;
  max-width: 1140px;
  margin: 0 auto;
}

/* ============================================================
   Services page — 3-up service cards (1 col on mobile)
   ============================================================ */

/* Grid wrapper */
.elementor-11 .elementor-element.elementor-element-melocity-services {
  --display: grid;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: min(100%, 1140px);
  margin: 0 auto;
}

/* Service cards 1-3 */
.elementor-11 .elementor-element.elementor-element-7e824d6,
.elementor-11 .elementor-element.elementor-element-73fc7bf,
.elementor-11 .elementor-element.elementor-element-4e49da1 {
  --flex-direction: column;
  --justify-content: flex-start;
  --gap: 0px;
  width: 100%;
  max-width: 100%;
  padding: 28px;
  background-color: #1c2735 !important;
  border: 1px solid #2f3742;
  border-radius: 20px;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.4);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.elementor-11 .elementor-element.elementor-element-7e824d6:hover,
.elementor-11 .elementor-element.elementor-element-73fc7bf:hover,
.elementor-11 .elementor-element.elementor-element-4e49da1:hover {
  border-color: rgba(195, 49, 125, 0.7);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.55);
}

/* Card inner columns (image above text) */
.elementor-11 .elementor-element.elementor-element-c02c1bf,
.elementor-11 .elementor-element.elementor-element-7b18fe3,
.elementor-11 .elementor-element.elementor-element-7e707e2,
.elementor-11 .elementor-element.elementor-element-86b5a2e,
.elementor-11 .elementor-element.elementor-element-2a72fd5,
.elementor-11 .elementor-element.elementor-element-c547d20 {
  --width: 100%;
  width: 100%;
  max-width: 100%;
  --padding-block-start: 0px;
  --padding-block-end: 0px;
  --padding-inline-start: 0px;
  --padding-inline-end: 0px;
  padding: 0;
}

/* Spacing between the image and the title inside each card */
.elementor-11 .elementor-element.elementor-element-86b5a2e,
.elementor-11 .elementor-element.elementor-element-2a72fd5,
.elementor-11 .elementor-element.elementor-element-c547d20 {
  margin-top: 16px;
}

/* Card images */
.elementor-11 .elementor-element.elementor-element-melocity-services .elementor-widget-image img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}

/* Card headings + body text */
.elementor-11 .elementor-element.elementor-element-melocity-services h3.elementor-heading-title {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
}

/* Match the description spacing of the other service cards (cards 2 & 3
   get padding from the WP page CSS; card 1 was missing it) */
.elementor-11 .elementor-element.elementor-element-114577e > .elementor-widget-container {
  margin: 0;
  padding: 15px 5px;
}

.elementor-11 .elementor-element.elementor-element-melocity-services .elementor-widget-text-editor {
  color: #aeb6c4;
}

.elementor-11 .elementor-element.elementor-element-melocity-services .elementor-widget-text-editor p {
  color: #aeb6c4;
  font-size: 15px;
  line-height: 1.6;
}

/* ============================================================
   Services page — CTA card (below the contact form)
   Note: the CTA and sticky-footer blocks sit outside .elementor-11,
   so they are targeted via data-id / id selectors.
   ============================================================ */
.e-con.e-flex[data-id="5246fe8"] {
  display: flex;
  flex-direction: row;
  --flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: min(100%, 1140px);
  width: 100%;
  margin: 24px auto 0;
  padding: 40px;
  box-sizing: border-box;
  background-color: #1c2735;
  border: 1px solid #2f3742;
  border-radius: 20px;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.4);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.e-con.e-flex[data-id="5246fe8"] > .e-con-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
}

[data-id="5246fe8"]:hover {
  border-color: rgba(195, 49, 125, 0.7);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.55);
}

[data-id="3f81e72"] {
  --width: 38%;
  width: 38%;
  max-width: 38%;
  padding: 0;
}

[data-id="3f81e72"] img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
}

[data-id="79d5997"] {
  --width: 58%;
  width: 58%;
  max-width: 58%;
  padding: 0;
  --align-items: flex-start;
  align-items: flex-start;
}

[data-id="79d5997"] h3.elementor-heading-title {
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
}

[data-id="5246fe8"] .elementor-widget-text-editor {
  color: #aeb6c4;
}

[data-id="5246fe8"] .elementor-widget-text-editor p {
  color: #aeb6c4;
  font-size: 15px;
  line-height: 1.6;
}

.melocity-cta-button {
  margin-top: 22px;
}

/* CTA card button — brand pink (the default .elementor-button
   gray applies because this button isn't in .elementor-button-wrapper) */
.melocity-cta-button .elementor-button {
  background-color: #c3317d;
  border-color: #c3317d;
  color: #fff;
  transition: background-color 0.3s, border-color 0.3s;
}

.melocity-cta-button .elementor-button:hover,
.melocity-cta-button .elementor-button:focus {
  background-color: #a52768;
  border-color: #a52768;
  color: #fff;
}

/* Services form submit button */
.melocity-submit-button {
  transition: background-color 0.3s, color 0.3s;
}

.melocity-submit-button:hover {
  background-color: #a52768;
}

/* Stack on mobile */
@media (max-width: 767px) {
  .elementor-11 .elementor-element.elementor-element-melocity-services {
    grid-template-columns: 1fr;
  }

  [data-id="3f81e72"],
  [data-id="79d5997"] {
    --width: 100%;
    width: 100%;
    max-width: 100%;
  }
}

/* Center the combined inquiry form on services pages */
.elementor-11 .elementor-element.elementor-element-melocity-form {
  --display: flex;
  --flex-direction: column;
  --width: 860px;
  max-width: min(100%, 860px);
  margin: 0 auto;
  padding: 40px 20px;
}

/* Make all images fluid */
img {
  max-width: 100%;
  height: auto;
}

/* Elementor columns stack properly on mobile (force single column below 768px) */
@media (max-width: 767px) {
  .elementor-column {
    width: 100% !important;
  }
}

/* Make the Elementor containers full width on mobile */
@media (max-width: 767px) {
  .elementor-container {
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Fix font sizes for mobile (smaller headings) */
@media (max-width: 767px) {
  h1 {
    font-size: 2.5em !important;
  }
  h2 {
    font-size: 2em !important;
  }
  h3 {
    font-size: 1.75em !important;
  }
}

/* Make the header navigation stack on mobile */
@media (max-width: 767px) {
  .elementor-nav-menu--main {
    flex-direction: column;
    align-items: center;
  }
  .elementor-nav-menu--main > li {
    margin: 10px 0 !important;
  }
}

/* Add padding for mobile views */
@media (max-width: 767px) {
  body {
    padding: 10px;
  }
}

/* ============================================================
   About page — equal-height team cards
   The three member cards contain different text/social content,
   so force each card to fill its (already equal-height) column.
   ============================================================ */
.elementor-section[data-id="bb57ec0"] .elementor-widget-eael-team-member {
  height: 100%;
}

.elementor-section[data-id="bb57ec0"] .elementor-widget-eael-team-member > .elementor-widget-container {
  height: 100%;
}

.elementor-section[data-id="bb57ec0"] .eael-team-item,
.elementor-section[data-id="bb57ec0"] .eael-team-item-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.elementor-section[data-id="bb57ec0"] .eael-team-content {
  flex: 1 1 auto;
}

/* Cookie consent banner */
#melocity-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 20px;
  box-sizing: border-box;
  background-color: #1c2735;
  border: 1px solid #2f3742;
  border-radius: 12px;
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

#melocity-cookie-banner p {
  margin: 0;
  flex: 1 1 260px;
}

#melocity-cookie-banner .melocity-cookie-actions {
  display: flex;
  gap: 8px;
}

#melocity-cookie-banner button {
  appearance: none;
  border: 1px solid #c3317d;
  border-radius: 8px;
  padding: 8px 16px;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

#melocity-cookie-banner button[data-choice="accepted"] {
  background-color: #c3317d;
  color: #fff;
}

#melocity-cookie-banner button[data-choice="accepted"]:hover,
#melocity-cookie-banner button[data-choice="accepted"]:focus {
  background-color: #a52768;
  border-color: #a52768;
}

#melocity-cookie-banner button[data-choice="declined"] {
  background-color: transparent;
  color: #fff;
}

#melocity-cookie-banner button[data-choice="declined"]:hover,
#melocity-cookie-banner button[data-choice="declined"]:focus {
  background-color: rgba(255, 255, 255, 0.08);
}
