/*
Theme Name: Marketanza
Theme URI: https://marketanza.com
Author: Marketanza
Author URI: https://marketanza.com
Description: A premium bilingual education theme created for Marketanza.
Version: 1.4.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: marketanza
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --mz-navy: #082857;
  --mz-navy-2: #0d376f;
  --mz-teal: #16a99a;
  --mz-teal-dark: #0d7f75;
  --mz-gold: #d8a447;
  --mz-ink: #102038;
  --mz-muted: #607087;
  --mz-cloud: #f4f7f8;
  --mz-white: #ffffff;
  --mz-border: #dfe7eb;
  --mz-shadow: 0 20px 55px rgba(8, 40, 87, 0.12);
  --mz-radius: 22px;
  --mz-width: 1180px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--mz-ink);
  background: var(--mz-white);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--mz-teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--mz-navy);
}
img {
  max-width: 100%;
  height: auto;
}
.container {
  width: min(calc(100% - 40px), var(--mz-width));
  margin-inline: auto;
}
.section {
  padding: 104px 0;
}
.section--soft {
  background: var(--mz-cloud);
}
.section--navy {
  color: #fff;
  background: var(--mz-navy);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--mz-teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--mz-gold);
}
.section--navy .eyebrow {
  color: #79e2d8;
}
h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--mz-navy);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.9rem, 6.4vw, 5.6rem);
}
h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.7rem);
}
h3 {
  font-size: 1.35rem;
}
.section--navy h1,
.section--navy h2,
.section--navy h3 {
  color: #fff;
}
.lead {
  color: var(--mz-muted);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}
.section--navy .lead {
  color: #d6e2ef;
}
.gold {
  color: var(--mz-gold);
}
.teal {
  color: var(--mz-teal);
}

.topline {
  padding: 8px 20px;
  color: #fff;
  background: var(--mz-navy);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(8, 40, 87, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand img,
.custom-logo {
  display: block;
  width: auto;
  max-height: 43px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  color: var(--mz-ink);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--mz-teal-dark);
}
.language-switch {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--mz-border);
  border-radius: 999px;
  background: var(--mz-cloud);
}
.language-switch button,
.language-switch a {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  padding: 7px 9px;
  border: 0;
  border-radius: 999px;
  color: var(--mz-muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 900;
}
.language-switch button.is-active,
.language-switch a.is-active {
  color: var(--mz-white);
  background: var(--mz-teal);
}
.menu-toggle {
  display: none;
  border: 0;
  padding: 10px;
  color: var(--mz-navy);
  background: transparent;
  font-size: 1.35rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button--primary {
  color: #fff;
  background: var(--mz-teal);
  box-shadow: 0 10px 25px rgba(22, 169, 154, 0.24);
}
.button--primary:hover {
  color: #fff;
  background: var(--mz-teal-dark);
}
.button--outline {
  color: var(--mz-navy);
  border-color: rgba(8, 40, 87, 0.2);
  background: #fff;
}
.button--outline:hover {
  color: var(--mz-navy);
  border-color: var(--mz-gold);
}
.button--gold {
  color: var(--mz-navy);
  background: var(--mz-gold);
}
.button--gold:hover {
  color: var(--mz-navy);
  background: #e6b85f;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 76px;
  background: linear-gradient(145deg, #f7fafb 0%, #fff 52%, #eff9f7 100%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -170px;
  top: -210px;
  border: 1px solid rgba(216, 164, 71, 0.32);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(216, 164, 71, 0.04),
    0 0 0 120px rgba(22, 169, 154, 0.035);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 70px;
  align-items: center;
}
.hero h1 {
  max-width: 850px;
  margin-bottom: 24px;
}
.hero-copy .lead {
  max-width: 690px;
  margin-bottom: 31px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.microcopy {
  margin: 18px 0 0;
  color: var(--mz-muted);
  font-size: 0.82rem;
}
.hero-visual {
  position: relative;
  min-height: 505px;
}
.orbit {
  position: absolute;
  inset: 4% 0 0 2%;
  border: 1px solid rgba(8, 40, 87, 0.12);
  border-radius: 50%;
  transform: rotate(-12deg);
}
.orbit::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  right: 14%;
  top: 8%;
  border-radius: 50%;
  background: var(--mz-gold);
  box-shadow: 0 0 0 10px rgba(216, 164, 71, 0.12);
}
.path-card {
  position: absolute;
  z-index: 2;
  inset: 58px 20px 38px 58px;
  padding: 32px;
  border: 1px solid rgba(8, 40, 87, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--mz-shadow);
  transform: rotate(2deg);
}
.path-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.path-card__head img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.path-card__head strong {
  display: block;
  color: var(--mz-navy);
  font-size: 1.08rem;
}
.path-card__head span {
  color: var(--mz-muted);
  font-size: 0.8rem;
}
.path-step {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--mz-border);
}
.path-step b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  background: var(--mz-navy);
  font-size: 0.74rem;
}
.path-step span {
  color: var(--mz-ink);
  font-size: 0.88rem;
  font-weight: 750;
}
.path-step small {
  color: var(--mz-teal-dark);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}
.floating-note {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 9px;
  padding: 14px 18px;
  border-radius: 14px;
  color: var(--mz-navy);
  background: #fff;
  box-shadow: 0 12px 30px rgba(8, 40, 87, 0.14);
  font-size: 0.78rem;
  font-weight: 800;
}
.proofbar {
  border-top: 1px solid var(--mz-border);
  border-bottom: 1px solid var(--mz-border);
  background: #fff;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.proof-item {
  padding: 27px;
  text-align: center;
}
.proof-item + .proof-item {
  border-left: 1px solid var(--mz-border);
}
.proof-item strong {
  display: block;
  color: var(--mz-navy);
  font-size: 1.35rem;
}
.proof-item span {
  color: var(--mz-muted);
  font-size: 0.82rem;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 52px;
}
.section-head h2 {
  margin-bottom: 0;
}
.section-head .lead {
  margin: 0;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  padding: 30px;
  border: 1px solid var(--mz-border);
  border-radius: var(--mz-radius);
  background: #fff;
  transition: 0.25s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(22, 169, 154, 0.45);
  box-shadow: 0 18px 38px rgba(8, 40, 87, 0.08);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 25px;
  border-radius: 14px;
  color: var(--mz-navy);
  background: rgba(22, 169, 154, 0.12);
  font-size: 1.15rem;
  font-weight: 900;
}
.card p {
  margin-bottom: 0;
  color: var(--mz-muted);
  font-size: 0.94rem;
}

.levels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.level {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}
.level::before {
  content: attr(data-level);
  display: grid;
  place-items: center;
  width: 51px;
  height: 51px;
  border-radius: 15px;
  color: var(--mz-navy);
  background: var(--mz-gold);
  font-size: 0.82rem;
  font-weight: 900;
}
.level h3 {
  margin: 1px 0 7px;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}
.level p {
  margin: 0;
  color: #c4d3e3;
  font-size: 0.85rem;
}
.level--wide {
  grid-column: 1 / -1;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 75px;
  align-items: center;
}
.signal-panel {
  position: relative;
  min-height: 450px;
  padding: 38px;
  overflow: hidden;
  border-radius: 28px;
  color: #fff;
  background: var(--mz-navy);
}
.signal-panel::after {
  content: "M";
  position: absolute;
  right: -18px;
  bottom: -82px;
  color: rgba(255, 255, 255, 0.045);
  font-size: 19rem;
  font-weight: 900;
  line-height: 1;
}
.signal-panel h3 {
  color: #fff;
  font-size: 1.85rem;
}
.signal-list {
  position: relative;
  z-index: 2;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.signal-list li {
  display: flex;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}
.signal-list li::before {
  content: "✓";
  color: var(--mz-gold);
  font-weight: 900;
}
.check-list {
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding: 10px 0 10px 34px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--mz-teal);
  border-bottom: 2px solid var(--mz-teal);
  transform: rotate(-45deg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  overflow: hidden;
  border: 1px solid var(--mz-border);
  border-radius: 20px;
  background: #fff;
}
.post-card__image {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mz-navy), var(--mz-teal));
}
.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.post-card:hover img {
  transform: scale(1.04);
}
.post-card__body {
  padding: 25px;
}
.post-card__meta {
  color: var(--mz-teal-dark);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.post-card h3 {
  margin: 10px 0;
  font-size: 1.18rem;
}
.post-card h3 a {
  color: var(--mz-navy);
  text-decoration: none;
}
.post-card p {
  margin: 0;
  color: var(--mz-muted);
  font-size: 0.88rem;
}
.empty-card {
  padding: 32px;
  border: 1px dashed #b9c9d2;
  border-radius: 20px;
  color: var(--mz-muted);
}

.cta-wrap {
  padding: 0 0 104px;
}
.cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 35px;
  align-items: center;
  padding: 58px;
  border-radius: 28px;
  color: #fff;
  background: var(--mz-teal-dark);
}
.cta::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -90px;
  top: -100px;
  border: 42px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}
.cta h2 {
  position: relative;
  z-index: 2;
  max-width: 740px;
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(2rem, 3.7vw, 3.25rem);
}
.cta p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #d5f3f0;
}
.cta .button {
  position: relative;
  z-index: 3;
}

.site-footer {
  padding: 70px 0 26px;
  color: #c2d1e1;
  background: #061f44;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr;
  gap: 60px;
}
.footer-brand img {
  max-width: 210px;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  max-width: 470px;
  margin: 22px 0;
  font-size: 0.9rem;
}
.site-footer h3 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer li {
  margin: 8px 0;
}
.site-footer a {
  color: #c2d1e1;
  font-size: 0.88rem;
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--mz-gold);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.76rem;
}

.content-wrap {
  width: min(calc(100% - 40px), 820px);
  margin: 0 auto;
  padding: 80px 0 110px;
}
.page-header {
  padding: 70px 0;
  background: var(--mz-cloud);
}
.page-header h1 {
  margin-bottom: 8px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}
.archive-intro {
  max-width: 700px;
  margin: 8px 0 0;
  color: var(--mz-muted);
}
.entry-content > * {
  max-width: 760px;
  margin-inline: auto;
}
.entry-content > .alignwide {
  max-width: 1080px;
}
.entry-content > .alignfull {
  max-width: none;
}
.entry-content h2 {
  margin-top: 2.1em;
  font-size: 2rem;
}
.entry-content h3 {
  margin-top: 1.8em;
}
.entry-content blockquote {
  padding: 4px 0 4px 25px;
  border-left: 4px solid var(--mz-gold);
  color: var(--mz-navy);
  font-size: 1.25rem;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 70px 0 110px;
}
.pagination {
  grid-column: 1/-1;
  margin-top: 30px;
}
.article-mara-cta {
  max-width: 760px;
  margin: 72px auto 0;
  padding: 36px;
  border-radius: 22px;
  color: #fff;
  background: var(--mz-navy);
}
.article-mara-cta h2 {
  margin: 4px 0 12px;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}
.article-mara-cta p:not(.eyebrow) {
  color: #d6e2ee;
}
.article-mara-cta .button {
  margin-top: 14px;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  z-index: 100000;
  top: 5px;
  left: 5px;
  display: block;
  width: auto;
  height: auto;
  padding: 15px 23px;
  clip: auto;
  color: var(--mz-navy);
  background: #fff;
}

@media (max-width: 960px) {
  .hero-grid,
  .section-head,
  .split {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 450px;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }
  .section-head {
    gap: 14px;
  }
  .card-grid,
  .blog-grid,
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 22px;
    border-top: 1px solid var(--mz-border);
    background: #fff;
    box-shadow: 0 20px 35px rgba(8, 40, 87, 0.12);
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav ul {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .site-nav .button {
    margin-top: 16px;
  }
  .menu-toggle {
    display: block;
  }
}
@media (max-width: 680px) {
  body {
    font-size: 16px;
  }
  .container {
    width: min(calc(100% - 28px), var(--mz-width));
  }
  .section {
    padding: 76px 0;
  }
  .hero {
    padding: 68px 0 50px;
  }
  .hero-grid {
    gap: 38px;
  }
  .hero-visual {
    min-height: 405px;
  }
  .path-card {
    inset: 35px 5px 25px 18px;
    padding: 23px;
  }
  .path-step {
    grid-template-columns: 32px 1fr;
  }
  .path-step small {
    display: none;
  }
  .floating-note {
    right: 0;
  }
  .proof-grid {
    grid-template-columns: 1fr;
  }
  .proof-item + .proof-item {
    border-left: 0;
    border-top: 1px solid var(--mz-border);
  }
  .card-grid,
  .levels,
  .blog-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }
  .level--wide {
    grid-column: auto;
  }
  .signal-panel {
    min-height: auto;
  }
  .cta {
    grid-template-columns: 1fr;
    padding: 38px 26px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .header-inner {
    min-height: 72px;
  }
  .brand img,
  .custom-logo {
    max-height: 35px;
    max-width: 205px;
  }
}
