/* Website Tunes header. Built by the header code in extra_scripts.js.
   Desktop (1025px+): logo, pill nav, CTA. Tablet/phone: "Menu" pill opening a full-screen menu. */

.wtm {
  --wtm-navy: #051431;
  --wtm-light: #F5F7FC;
  --wtm-red: #FF4B55;
  --wtm-gradient: linear-gradient(90deg, #FF8474 0%, #FF1A50 100%);
  --wtm-line: rgba(255, 255, 255, 0.14);
  --wtm-muted: rgba(255, 255, 255, 0.55);
  position: relative;
  z-index: 100;
  font-family: "Lato", sans-serif;
}
.wtm-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 16px;
}
.wtm-logo img { display: block; height: 22px; width: auto; }

/* Pill buttons (Menu / Close). */
.wtm button.wtm-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  background-image: none;
  color: var(--wtm-navy);
  font: 600 16px/1 "Lato", sans-serif;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: 0 6px 20px rgba(5, 20, 49, 0.12);
  cursor: pointer;
}
.wtm button.wtm-pill:hover, .wtm button.wtm-pill:focus { background: #fff; background-image: none; color: var(--wtm-navy); }
.wtm-burger { display: grid; gap: 5px; }
.wtm-burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }

/* Gradient CTA with arrow circle. */
.wtm a.wtm-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  background: var(--wtm-gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.wtm a.wtm-cta:hover, .wtm a.wtm-cta:focus { color: #fff; }
.wtm-cta-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #FF1A50;
  font-size: 17px;
  transition: transform 0.25s ease;
}
.wtm a.wtm-cta:hover .wtm-cta-arrow { transform: translateX(3px); }

/* ---------- Desktop ---------- */
@media (min-width: 1025px) {
  .wtm-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
  }
  .wtm-logo img { height: 26px; }
  .wtm button.wtm-open { display: none; }

  .wtm-desk-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 24px rgba(5, 20, 49, 0.08);
  }
  .wtm .wtm-desk-nav a {
    padding: 10px 18px;
    border-radius: 999px;
    color: var(--wtm-navy);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .wtm .wtm-desk-nav a:hover, .wtm .wtm-desk-nav a:focus-visible { background: #fff; color: var(--wtm-red); }
  .wtm .wtm-desk-nav a.is-current { background: #fff; color: var(--wtm-red); }

  .wtm-desk-cta { margin-left: 16px; }
  .wtm a.wtm-cta:hover { box-shadow: 0 10px 24px rgba(255, 26, 80, 0.3); }

  .wtm-panel { display: none !important; }
}

/* ---------- Tablet & phone ---------- */
@media (max-width: 1024px) {
  .wtm-desk-nav, .wtm-desk-cta { display: none; }

  .wtm-panel {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: var(--wtm-navy);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .wtm-panel[hidden] { display: none; }
  .wtm.is-open .wtm-panel { opacity: 1; }
  .wtm button.wtm-close, .wtm button.wtm-close:hover, .wtm button.wtm-close:focus { background: var(--wtm-light); box-shadow: none; }

  .wtm-nav { padding: 8px 16px 0; }
  .wtm .wtm-nav a {
    display: block;
    padding: 10px 0 12px;
    border-bottom: 1px solid var(--wtm-line);
    color: #fff;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-decoration: none;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s;
  }
  .wtm .wtm-nav a:hover, .wtm .wtm-nav a:focus-visible, .wtm .wtm-nav a.is-current { color: var(--wtm-red); }
  .wtm.is-open .wtm-nav a { opacity: 1; transform: none; }
  .wtm.is-open .wtm-nav a:nth-child(2) { transition-delay: 0.05s; }
  .wtm.is-open .wtm-nav a:nth-child(3) { transition-delay: 0.1s; }
  .wtm.is-open .wtm-nav a:nth-child(4) { transition-delay: 0.15s; }
  .wtm.is-open .wtm-nav a:nth-child(5) { transition-delay: 0.2s; }

  .wtm-foot { margin-top: auto; padding: 32px 16px 24px; }
  .wtm-foot a.wtm-cta { font-size: 16px; padding: 8px 8px 8px 22px; }
  .wtm-foot .wtm-cta-arrow { width: 36px; height: 36px; font-size: 18px; }
  .wtm-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--wtm-line);
    font-size: 15px;
    line-height: 1.7;
  }
  .wtm .wtm-info a { display: block; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
  .wtm-label {
    display: block;
    margin-bottom: 4px;
    color: var(--wtm-muted);
    font-size: 13px;
    letter-spacing: 0.04em;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .wtm-bar { padding: 18px 24px; }
  .wtm-nav, .wtm-foot { padding-left: 24px; padding-right: 24px; }
  .wtm .wtm-nav a { font-size: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .wtm-panel, .wtm-nav a, .wtm a.wtm-cta, .wtm-cta-arrow { transition: none; }
}

/* ---------- Home page: dark hero, so the header goes dark to blend in ---------- */
.home .wtm { background: #051431; }
.home .wtm-main .wtm-logo img { filter: brightness(0) invert(1); }

@media (min-width: 1025px) {
  .home .wtm-desk-nav {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: none;
  }
  .home .wtm .wtm-desk-nav a { color: #fff; }
  .home .wtm .wtm-desk-nav a:hover,
  .home .wtm .wtm-desk-nav a:focus-visible { background: rgba(255, 255, 255, 0.12); color: #fff; }
  .home .wtm .wtm-desk-nav a.is-current { background: #fff; color: var(--wtm-red); }
}

@media (max-width: 1024px) {
  .home .wtm button.wtm-open { box-shadow: none; }
}

/* ---------- Contact Form 7: Contact Us page ---------- */
.wt-cf7 {
  max-width: 760px;
  margin: 0 auto;
  font-family: "Lato", sans-serif;
  color: #051431;
}
.wt-cf7 p { margin: 0; }
.wt-cf7 br { display: none; }
/* Contact Form 7 wraps all the fields in one <p>; let the fields themselves be the grid items. */
.wt-cf7-grid > p { display: contents; }
.wt-cf7-head { margin-bottom: 36px; }
.wt-cf7 .wt-cf7-head h3 {
  margin: 0 0 6px;
  color: #051431;
  font-family: "Lato", sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}
.wt-cf7-head span { color: rgba(5, 20, 49, 0.6); font-size: 16px; }

.wt-cf7-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}
.wt-field { display: block; margin: 0; }
.wt-full { grid-column: 1 / -1; }
.wt-label {
  display: block;
  margin-bottom: 10px;
  color: #051431;
  font-size: 14px;
  font-weight: 700;
}
.wt-cf7 .wpcf7-form-control-wrap { display: block; }

.wt-cf7 input[type="text"],
.wt-cf7 input[type="email"],
.wt-cf7 input[type="tel"],
.wt-cf7 select,
.wt-cf7 textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 14px 18px;
  border: 1px solid #E1E5EF;
  border-radius: 14px;
  background-color: #fff;
  color: #051431;
  font: 400 16px/1.4 "Lato", sans-serif;
  box-shadow: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.wt-cf7 select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23051431' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
}
.wt-cf7 textarea { min-height: 140px; resize: vertical; }
.wt-cf7 input::placeholder,
.wt-cf7 textarea::placeholder { color: rgba(5, 20, 49, 0.4); }
.wt-cf7 input:focus,
.wt-cf7 select:focus,
.wt-cf7 textarea:focus {
  outline: none;
  border-color: #FF4B55;
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 75, 85, 0.12);
}

.wt-cf7-actions { position: relative; margin-top: 36px; }
.wt-cf7 input.wt-submit {
  display: inline-block;
  width: auto;
  margin: 0;
  padding: 16px 36px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #FF8474 0%, #FF1A50 100%);
  color: #fff;
  font: 800 16px/1 "Lato", sans-serif;
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.wt-cf7 input.wt-submit:hover { box-shadow: 0 10px 24px rgba(255, 26, 80, 0.3); transform: translateY(-1px); }
.wt-cf7 input.wt-submit:disabled { opacity: 0.6; cursor: wait; }
.wt-cf7 .wpcf7-spinner { margin: 0 0 0 12px; vertical-align: middle; }

/* Validation and result messages. */
.wt-cf7 .wpcf7-form-control.wpcf7-not-valid { border-color: #FF4B55; }
.wt-cf7 .wpcf7-not-valid-tip { margin-top: 6px; color: #E5333F; font-size: 13px; }
.wpcf7 form .wt-cf7 ~ .wpcf7-response-output,
.wpcf7 form .wpcf7-response-output {
  max-width: 760px;
  margin: 16px auto 0;
  padding: 14px 18px;
  border: 0;
  border-radius: 14px;
  font-family: "Lato", sans-serif;
  font-size: 15px;
}
.wpcf7 form.sent .wpcf7-response-output { background: #E7F7EE; color: #11663A; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output { background: #FFECEE; color: #B4232E; }

@media (max-width: 767px) {
  .wt-cf7-grid { grid-template-columns: 1fr; gap: 22px; }
  .wt-cf7 .wt-cf7-head h3 { font-size: 24px; }
  .wt-cf7 input.wt-submit { width: 100%; }
}

/* ---------- Footer (built by extra_scripts.js) ---------- */

/* Hide the Hello theme's own footer; ours replaces it. */
#site-footer { display: none !important; }

.wtf {
  --wtf-navy: #051431;
  --wtf-line: rgba(255, 255, 255, 0.12);
  --wtf-muted: rgba(255, 255, 255, 0.6);
  background: var(--wtf-navy);
  color: #fff;
  font-family: "Lato", sans-serif;
}
.wtf-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 28px;
}
.wtf-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--wtf-line);
}
.wtf .wtf-title {
  margin: 0;
  color: #fff;
  font-family: "Lato", sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.wtf-title span {
  background: linear-gradient(90deg, #FF8474 0%, #FF1A50 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Footer actions: project CTA + email. */
.wtf-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px 28px;
}
.wtf a.wtf-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 8px 8px 8px 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, #FF8474 0%, #FF1A50 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow 0.25s ease;
}
.wtf a.wtf-cta:hover, .wtf a.wtf-cta:focus { color: #fff; box-shadow: 0 10px 24px rgba(255, 26, 80, 0.35); }
.wtf-cta-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #FF1A50;
  font-size: 19px;
  transition: transform 0.25s ease;
}
.wtf a.wtf-cta:hover .wtf-cta-arrow { transform: translateX(3px); }
.wtf a.wtf-mail {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 6px;
  transition: text-decoration-color 0.2s;
}
.wtf a.wtf-mail:hover { color: #fff; text-decoration-color: #FF4B55; }

.wtf-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--wtf-line);
}
.wtf-logo img { display: block; height: 26px; width: auto; }
.wtf-nav, .wtf-social { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.wtf .wtf-nav a {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
.wtf .wtf-social a {
  color: var(--wtf-muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}
.wtf .wtf-nav a:hover, .wtf .wtf-social a:hover { color: #FF4B55; }

.wtf-legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 24px;
  color: var(--wtf-muted);
  font-size: 14px;
}
.wtf .wtf-legal a { color: var(--wtf-muted); text-decoration: none; }
.wtf .wtf-legal a:hover { color: #fff; }

@media (max-width: 1024px) {
  .wtf-top { grid-template-columns: 1fr; gap: 28px; }
  .wtf-actions { justify-content: flex-start; }
  .wtf .wtf-title { font-size: 40px; }
}
@media (max-width: 767px) {
  .wtf-inner { padding: 56px 16px 24px; }
  .wtf .wtf-title { font-size: 32px; }
  .wtf-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Buttons: pill shape everywhere, to match the header ---------- */
.elementor-button { border-radius: 999px !important; }

/* ---------- Button hover effects ---------- */
.elementor-button,
.wtm a.wtm-cta,
.wtf a.wtf-cta,
.wt-cf7 input.wt-submit {
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease, background-color 0.25s ease, color 0.25s ease !important;
}
.elementor-button:hover,
.elementor-button:focus-visible,
.wtm a.wtm-cta:hover,
.wtf a.wtf-cta:hover,
.wt-cf7 input.wt-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 12px 26px rgba(255, 26, 80, 0.28);
}
.elementor-button:active,
.wtm a.wtm-cta:active,
.wtf a.wtf-cta:active,
.wt-cf7 input.wt-submit:active {
  transform: translateY(0);
  box-shadow: 0 5px 12px rgba(255, 26, 80, 0.22);
}

/* ---------- Scroll animations (classes added by extra_scripts.js) ---------- */
.wt-reveal {
  opacity: 0;
  transform: translateY(20px);
}
.wt-reveal.wt-reveal-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (prefers-reduced-motion: reduce) {
  .elementor-button:hover,
  .wtm a.wtm-cta:hover,
  .wtf a.wtf-cta:hover,
  .wt-cf7 input.wt-submit:hover { transform: none; }
  .wt-reveal { opacity: 1; transform: none; }
}

/* ---------- Home: space between the icon list rows on tablet and phone ---------- */
@media (max-width: 1024px) {
  .elementor-9 .elementor-element-60b9320 .elementor-icon-list-item + .elementor-icon-list-item { margin-top: 16px !important; }
}

/* Scrolling platform logos on Home. extra_scripts.js repeats the logos and adds .is-running. */
.wt-logos-viewport {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}
.elementor .wt-logos-track.is-running {
  flex-wrap: nowrap;
  justify-content: flex-start;
  flex: 0 0 auto;
  width: max-content;
  max-width: none;
  animation: wt-logos-scroll 36s linear infinite;
}
.elementor .wt-logos-track.is-running:hover { animation-play-state: paused; }
@keyframes wt-logos-scroll {
  to { transform: translateX(-50%); }
}
