/*
Theme Name: Marketang Clean
Theme URI: https://marketanggroup.com/
Description: Clean-room child theme for the Marketang Group landing page.
Author: Marketang Group
Template: blocksy
Version: 1.0.3
Text Domain: marketang-clean
*/

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/montserrat-latin-normal-v31.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url("assets/fonts/montserrat-latin-italic-v31.woff2") format("woff2");
}

:root {
  --marketang-bg: #050505;
  --marketang-text: #ffffff;
  --marketang-muted: #c9c9c9;
  --marketang-line: rgba(255, 255, 255, 0.84);
  --marketang-max: 1200px;
  --theme-palette-color-1: #2872fa;
  --theme-palette-color-2: #1559ed;
  --theme-palette-color-3: #3a4f66;
  --theme-palette-color-4: #0a0a0a;
  --theme-palette-color-5: #e1e8ed;
  --theme-palette-color-6: #f2f5f7;
  --theme-palette-color-7: #fafbfc;
  --theme-palette-color-8: #ffffff;
  --e-global-color-blocksy_palette_1: #2872fa;
  --e-global-color-blocksy_palette_2: #1559ed;
  --e-global-color-blocksy_palette_3: #3a4f66;
  --e-global-color-blocksy_palette_4: #0a0a0a;
  --e-global-color-blocksy_palette_5: #e1e8ed;
  --e-global-color-blocksy_palette_6: #f2f5f7;
  --e-global-color-blocksy_palette_7: #fafbfc;
  --e-global-color-blocksy_palette_8: #ffffff;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--marketang-bg) !important;
  color: var(--marketang-text);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

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

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  padding: 12px 16px !important;
  margin: 0 !important;
  color: #050505;
  background: #ffffff;
}

.marketang-site-header {
  position: absolute;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  color: #ffffff;
}

.marketang-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), 1152px);
  min-height: 92px;
  margin: 0 auto;
  gap: 28px;
}

.marketang-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  line-height: 0;
}

.marketang-brand img,
.marketang-brand .custom-logo {
  display: block;
  width: min(160px, 21vw) !important;
  max-width: min(160px, 21vw) !important;
  height: auto;
}

.marketang-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.marketang-nav {
  margin-left: auto;
}

.marketang-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.2vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.marketang-nav a {
  color: #ffffff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 160ms ease;
}

.marketang-header-cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 23px;
  border: 1px solid #ffffff;
  color: #050505;
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease;
}

.marketang-header-cta:hover,
.marketang-header-cta:focus-visible {
  color: #ffffff;
  background: transparent;
}

.marketang-nav a:hover,
.marketang-nav a:focus-visible {
  opacity: 0.72;
}

.marketang-menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 3px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.marketang-menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.marketang-site-main {
  width: 100%;
  min-height: 70vh;
  overflow: clip;
  background: var(--marketang-bg);
}

.marketang-site-main > article,
.marketang-site-main .entry-content {
  margin: 0;
}

.marketang-site-footer {
  padding: 30px 24px;
  border-top: 1px solid var(--marketang-line);
  color: #ffffff;
  background: #050505;
  text-align: center;
}

.marketang-site-footer p {
  margin: 0;
  font-size: 14px;
}

.marketang-project-form {
  width: min(100%, 860px);
  margin: 0 auto;
}

.marketang-project-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.marketang-project-form__field,
.marketang-project-form__field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.marketang-project-form__field--wide,
.marketang-project-form__submit,
.marketang-project-form .wpcf7-response-output {
  grid-column: 1 / -1;
}

.marketang-project-form input:not([type="submit"]),
.marketang-project-form select,
.marketang-project-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 0;
  outline: 0;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.48);
  font: inherit;
  line-height: 1.35;
  transition: border-color 160ms ease, background 160ms ease;
}

.marketang-project-form select option {
  color: #050505;
  background: #ffffff;
}

.marketang-project-form textarea {
  min-height: 150px;
  resize: vertical;
}

.marketang-project-form input::placeholder,
.marketang-project-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.72);
  opacity: 1;
}

.marketang-project-form input:not([type="submit"]):focus,
.marketang-project-form select:focus,
.marketang-project-form textarea:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.marketang-project-form__submit {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.marketang-project-form input[type="submit"] {
  min-width: 190px;
  padding: 15px 34px;
  border: 1px solid #ffffff;
  border-radius: 0;
  color: #ffffff;
  background: transparent;
  font: inherit;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.marketang-project-form input[type="submit"]:hover,
.marketang-project-form input[type="submit"]:focus-visible {
  color: #050505;
  background: #ffffff;
}

.marketang-project-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #ffb8b8;
  font-size: 13px;
}

.marketang-project-form .wpcf7-response-output {
  margin: 14px 0 0;
  padding: 12px 16px;
  border-color: #ffffff;
}

.marketang-honeypot-wrap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 1024px) {
  .marketang-header-inner {
    width: min(calc(100% - 40px), var(--marketang-max));
    min-height: 92px;
  }

  .marketang-menu-toggle {
    display: block;
  }

  .marketang-nav {
    position: absolute;
    top: 92px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(5, 5, 5, 0.97);
  }

  .marketang-header-cta {
    display: none;
  }

  .marketang-nav.is-open {
    display: block;
  }

  .marketang-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .marketang-nav a {
    display: block;
    padding: 12px 4px;
    font-size: 17px;
    white-space: normal;
  }

  .marketang-brand img,
  .marketang-brand .custom-logo {
    width: min(190px, 52vw) !important;
    max-width: min(190px, 52vw) !important;
  }
}

@media (max-width: 767px) {
  html {
    scroll-padding-top: 86px;
  }

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

  .marketang-header-inner {
    width: calc(100% - 28px);
    min-height: 86px;
    gap: 16px;
  }

  .marketang-nav {
    top: 78px;
    right: 14px;
    left: 14px;
  }

  .marketang-project-form__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .marketang-project-form__field--wide,
  .marketang-project-form__submit {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
