/*
Theme Name: Moneytronics Astra Reference Global
Theme URI: https://mtronicsbank.com/
Description: Astra child theme styled in a finance-consulting reference direction for Moneytronics Bank.
Author: Moneytronics Bank
Template: astra
Version: 1.0.0
Text Domain: mtronics-astra-reference
*/

:root {
  --mt-ink: #101820;
  --mt-navy: #0c1c2e;
  --mt-blue: #163a5f;
  --mt-gold: #bd9a62;
  --mt-cream: #f4efe7;
  --mt-paper: #ffffff;
  --mt-muted: #6d747c;
  --mt-line: #e5dfd5;
}

body {
  color: var(--mt-ink);
  background: var(--mt-paper);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

body,
button,
input,
select,
textarea {
  font-family: "Helvetica Neue", Arial, sans-serif;
}

h1,
h2,
h3,
.site-title {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

a {
  color: var(--mt-blue);
}

a:hover,
a:focus {
  color: var(--mt-gold);
}

.mt-front-page {
  margin: 0;
}

.mt-front-page > * {
  margin-block-start: 0;
}

.mt-front-page .mt-shell > :where(.wp-block-group, .wp-block-heading, p, .wp-block-buttons) {
  max-width: none;
}

.mt-front-page .mt-hero__content > * {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.mt-front-page .mt-hero__content .mt-actions {
  justify-content: flex-start;
}

.site-header,
.ast-mobile-header-wrap {
  display: none;
}

.mt-topbar {
  color: rgba(255, 255, 255, 0.84);
  background: #07111e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mt-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: flex-end;
  min-height: 42px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 0.82rem;
}

.mt-topbar__inner > span:first-child {
  margin-right: auto;
  color: #f0d9ab;
  font-weight: 700;
}

.mt-topbar a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.mt-topbar a:hover,
.mt-topbar a:focus {
  color: var(--mt-gold);
}

.mt-socials {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.mt-socials a {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mt-site-header {
  color: #fff;
  background: #101725;
}

.mt-site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 44px;
  align-items: center;
  min-height: 118px;
}

.mt-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.mt-hero {
  min-height: 730px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 13, 28, 0.88), rgba(9, 17, 35, 0.72)),
    url("https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?auto=format&fit=crop&w=2400&q=82") center / cover no-repeat,
    #101725;
}

.mt-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
  text-decoration: none;
}

.mt-brand__logo {
  display: block;
  width: clamp(260px, 30vw, 420px);
  height: auto;
}

.mt-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  justify-content: flex-end;
  padding-top: 8px;
  margin: 0;
}

.mt-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
}

.mt-nav .menu-item {
  margin: 0;
  list-style: none;
}

.mt-nav a.is-active,
.mt-nav .current-menu-item > a,
.mt-nav a:hover,
.mt-nav a:focus {
  color: var(--mt-gold);
}

.mt-hero__content {
  max-width: 960px;
  padding-top: 118px;
  padding-bottom: 108px;
}

.mt-rule {
  width: 82px;
  height: 2px;
  margin-bottom: 42px;
  background: var(--mt-gold);
}

.mt-hero h1 {
  max-width: 1040px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.4rem, 7.8vw, 6.8rem);
  line-height: 1.18;
  font-weight: 700;
}

.mt-hero__copy {
  max-width: 690px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.8;
}

.mt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.mt-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 28px;
  background: #fff;
  color: var(--mt-blue);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.mt-action--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.mt-actions .wp-block-button__link,
.mt-action.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 28px;
  border-radius: 0;
  background: #fff;
  color: var(--mt-blue);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.mt-actions .is-style-outline .wp-block-button__link,
.mt-actions .wp-block-button__link.has-background:not(.has-text-color) {
  color: #fff;
}

.mt-actions .is-style-outline .wp-block-button__link {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.38);
}

.mt-intro {
  padding: 92px 0 84px;
  background: var(--mt-paper);
}

.mt-intro__grid {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 72px;
  align-items: start;
}

.mt-kicker {
  margin: 0 0 20px;
  color: var(--mt-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mt-intro h2,
.mt-section h2,
.mt-cta h2 {
  margin: 0;
  color: var(--mt-ink);
  font-size: clamp(2.1rem, 4.4vw, 4.7rem);
  line-height: 1.12;
}

.mt-intro p,
.mt-section p,
.mt-service p,
.mt-case p,
.mt-cta p {
  color: var(--mt-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.mt-readmore {
  display: inline-flex;
  margin-top: 18px;
  color: var(--mt-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.mt-section {
  padding: 92px 0;
}

.mt-section--cream {
  background: var(--mt-cream);
}

.mt-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 52px;
}

.mt-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(16, 24, 32, 0.18);
  border-left: 1px solid rgba(16, 24, 32, 0.18);
}

.mt-service {
  min-height: 300px;
  padding: 34px 28px;
  border-right: 1px solid rgba(16, 24, 32, 0.18);
  border-bottom: 1px solid rgba(16, 24, 32, 0.18);
  background: rgba(255, 255, 255, 0.45);
}

.mt-service__num {
  display: block;
  margin-bottom: 62px;
  color: var(--mt-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  line-height: 1;
}

.mt-service h3,
.mt-case h3 {
  margin: 0 0 12px;
  color: var(--mt-ink);
  font-size: 1.35rem;
}

.mt-cases {
  border-top: 1px solid var(--mt-line);
}

.mt-case {
  display: grid;
  grid-template-columns: 0.42fr 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--mt-line);
}

.mt-case__label {
  color: var(--mt-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mt-cta {
  padding: 88px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(12, 28, 46, 0.96), rgba(12, 28, 46, 0.78)),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=2200&q=80") center / cover no-repeat,
    var(--mt-navy);
}

.mt-cta h2 {
  max-width: 760px;
  color: #fff;
}

.mt-cta p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.mt-numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 64px;
  background: var(--mt-line);
}

.mt-number {
  padding: 34px;
  background: #fff;
}

.mt-number strong {
  display: block;
  color: var(--mt-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.4rem;
  line-height: 1;
}

.mt-number span {
  color: var(--mt-muted);
  font-weight: 700;
}

.mt-testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.mt-testimonial {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--mt-line);
}

.mt-testimonial blockquote,
.mt-testimonial p {
  color: var(--mt-muted);
  line-height: 1.75;
}

.mt-testimonial cite {
  display: block;
  margin-top: 18px;
  color: var(--mt-ink);
  font-style: normal;
  font-weight: 800;
}

.mt-faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.mt-faq-list details {
  padding: 22px 0;
  border-bottom: 1px solid var(--mt-line);
}

.mt-faq-list summary {
  color: var(--mt-ink);
  font-weight: 800;
  cursor: pointer;
}

.mt-faq-list details p,
.mt-faq-list details li {
  color: var(--mt-muted);
  line-height: 1.75;
}

.site-footer {
  background: var(--mt-navy);
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
  .mt-hero__nav,
  .mt-site-header__inner,
  .mt-intro__grid,
  .mt-section__head,
  .mt-case {
    grid-template-columns: 1fr;
  }

  .mt-nav {
    justify-content: flex-start;
  }

  .mt-brand__logo {
    width: min(320px, 78vw);
  }

  .mt-topbar__inner {
    justify-content: flex-start;
  }

  .mt-topbar__inner > span:first-child {
    flex-basis: 100%;
  }

  .mt-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mt-testimonials {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .mt-shell {
    padding: 0 20px;
  }

  .mt-hero {
    min-height: auto;
  }

  .mt-hero__content {
    padding-top: 72px;
  }

  .mt-hero h1 {
    font-size: 3.1rem;
  }

  .mt-services,
  .mt-numbers {
    grid-template-columns: 1fr;
  }
}
