:root {
  --ae-primary: #6423a8;
  --ae-primary-dark: #4c177f;
  --ae-accent: #d21c67;
  --ae-heading: #1f2230;
  --ae-text: #656878;
  --ae-muted: #f5f5f8;
  --ae-border: #e7e7ee;
  --ae-white: #ffffff;
  --ae-container: 1200px;
  --ae-narrow: 820px;
  --ae-radius: 10px;
  --ae-shadow: 0 14px 40px rgba(26, 22, 38, 0.08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ae-text);
  background: var(--ae-white);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--ae-primary); text-decoration: none; }
a:hover, a:focus { color: var(--ae-primary-dark); }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.65em;
  color: var(--ae-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }

p { margin: 0 0 1.25em; }

.ae-container {
  width: min(calc(100% - 40px), var(--ae-container));
  margin-inline: auto;
}

.ae-narrow { max-width: var(--ae-narrow); }

.site-main { min-height: 55vh; }

.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;
}

.skip-link:focus {
  clip: auto;
  width: auto;
  height: auto;
  top: 12px;
  left: 12px;
  z-index: 99999;
  padding: 10px 14px;
  background: var(--ae-heading);
  color: var(--ae-white);
}

.site-header {
  position: relative;
  z-index: 50;
  background: var(--ae-white);
  border-bottom: 1px solid var(--ae-border);
}

.site-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.custom-logo { max-height: 58px; width: auto; }
.site-title { color: var(--ae-heading); font-size: 1.35rem; font-weight: 800; }

.primary-navigation ul {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-navigation a {
  color: var(--ae-heading);
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a { color: var(--ae-primary); }

.menu-toggle {
  display: none;
  border: 1px solid var(--ae-border);
  border-radius: 8px;
  padding: 9px 13px;
  background: var(--ae-white);
  color: var(--ae-heading);
  font: inherit;
}

.entry-header,
.archive-header { padding-block: 72px 36px; }

.entry-content > *:not(.elementor) {
  width: min(calc(100% - 40px), var(--ae-narrow));
  margin-inline: auto;
}

.entry-content > .elementor { width: 100%; }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  padding-block: 60px;
}

.content-card {
  overflow: hidden;
  border: 1px solid var(--ae-border);
  border-radius: var(--ae-radius);
  background: var(--ae-white);
  box-shadow: var(--ae-shadow);
}

.content-card__image { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.content-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.content-card:hover .content-card__image img { transform: scale(1.04); }
.content-card__body { padding: 28px; }
.entry-meta { display: flex; gap: 12px; margin-bottom: 12px; color: #8a8d99; font-size: 0.82rem; }
.entry-title { font-size: 1.35rem; }
.entry-title a { color: var(--ae-heading); }
.text-link { font-weight: 700; }

.ae-button,
button,
input[type="submit"] {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  padding: 0 24px;
  background: var(--ae-primary);
  color: var(--ae-white);
  font-weight: 700;
  cursor: pointer;
}

.ae-button:hover,
button:hover,
input[type="submit"]:hover { background: var(--ae-primary-dark); color: var(--ae-white); }

.site-footer {
  margin-top: 80px;
  padding-block: 34px;
  background: #17141f;
  color: #c8c5cf;
}

.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer p { margin: 0; }
.site-footer ul { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--ae-white); }

.error-404 { padding-block: 120px; text-align: center; }
.error-code { margin: 0; color: var(--ae-primary); font-size: clamp(5rem, 18vw, 12rem); font-weight: 800; line-height: 0.9; }

.widget { margin-bottom: 32px; padding: 24px; border: 1px solid var(--ae-border); border-radius: var(--ae-radius); }

@media (max-width: 900px) {
  .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-toggle { display: inline-flex; }
  .primary-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 20px;
    background: var(--ae-white);
    border-top: 1px solid var(--ae-border);
    box-shadow: var(--ae-shadow);
  }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { align-items: stretch; flex-direction: column; gap: 6px; }
  .primary-navigation a { display: block; padding: 10px; }
}

@media (max-width: 620px) {
  .ae-container { width: min(calc(100% - 28px), var(--ae-container)); }
  .posts-grid { grid-template-columns: 1fr; gap: 22px; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; }
  .site-footer ul { flex-wrap: wrap; }
}

/* Starter homepage ------------------------------------------------------- */
.ae-front-page { overflow: hidden; }
.ae-hero {
  position: relative;
  padding: 118px 0;
  overflow: hidden;
  background: radial-gradient(circle at 82% 25%, rgba(255,255,255,.18), transparent 24%), linear-gradient(115deg, #35105e 0%, #6423a8 55%, #9d2ec4 100%);
  color: #fff;
}
.ae-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -170px;
  bottom: -260px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
}
.ae-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: center; gap: 70px; }
.ae-hero h1 { max-width: 850px; color: #fff; font-size: clamp(3rem, 6.3vw, 5.6rem); letter-spacing: -.045em; }
.ae-hero__lead { max-width: 690px; color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.ae-eyebrow { margin-bottom: 18px; color: var(--ae-primary); font-size: .77rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.ae-hero .ae-eyebrow { color: #eadbfa; }
.ae-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.ae-button--ghost { border: 1px solid rgba(255,255,255,.65); background: transparent; }
.ae-button--ghost:hover { background: #fff; color: var(--ae-primary-dark); }
.ae-hero__visual { position: relative; min-height: 380px; }
.ae-orbit { position: absolute; border: 1px solid rgba(255,255,255,.23); border-radius: 50%; }
.ae-orbit--one { width: 350px; height: 350px; top: 10px; right: 10px; }
.ae-orbit--two { width: 240px; height: 240px; top: 65px; right: 65px; }
.ae-hero-card { position: absolute; z-index: 2; right: 0; bottom: 28px; width: min(310px, 90%); padding: 35px; border: 1px solid rgba(255,255,255,.24); border-radius: 20px; background: rgba(255,255,255,.12); box-shadow: 0 30px 70px rgba(0,0,0,.22); backdrop-filter: blur(14px); }
.ae-hero-card__label { display: block; margin-bottom: 14px; font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.ae-hero-card strong { display: block; color: #fff; font-size: 4.6rem; line-height: .95; }
.ae-hero-card small { display: block; margin-top: 12px; color: rgba(255,255,255,.8); font-size: .95rem; }
.ae-trust-strip { border-bottom: 1px solid var(--ae-border); background: #fff; }
.ae-trust-strip__inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #9193a0; }
.ae-trust-strip__inner span { color: var(--ae-heading); font-size: .88rem; font-weight: 700; }
.ae-trust-strip__inner strong { font-size: .9rem; letter-spacing: .08em; }
.ae-section { padding: 100px 0; }
.ae-section--muted { background: var(--ae-muted); }
.ae-split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.ae-split h2 { max-width: 590px; }
.ae-text-link { font-weight: 800; }
.ae-section-heading { max-width: 760px; margin-bottom: 48px; }
.ae-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.ae-service-card { position: relative; min-height: 285px; padding: 38px; overflow: hidden; border: 1px solid var(--ae-border); border-radius: 14px; background: #fff; box-shadow: 0 12px 35px rgba(28,23,41,.055); transition: transform .25s ease, box-shadow .25s ease; }
.ae-service-card:hover { transform: translateY(-6px); box-shadow: var(--ae-shadow); }
.ae-service-card > span { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; margin-bottom: 52px; border-radius: 50%; background: rgba(100,35,168,.1); color: var(--ae-primary); font-size: .76rem; font-weight: 800; }
.ae-service-card h3 { font-size: 1.45rem; }
.ae-results { background: #1f2230; color: #fff; }
.ae-results__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 35px; }
.ae-results__grid > div { padding-left: 24px; border-left: 2px solid rgba(255,255,255,.13); }
.ae-results__grid strong { display: block; color: #fff; font-size: clamp(2.4rem,4vw,4rem); line-height: 1; }
.ae-results__grid span { display: block; margin-top: 12px; color: #bfc0c9; }
.ae-process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.ae-process-grid > div { padding-top: 28px; border-top: 1px solid var(--ae-border); }
.ae-process-grid > div > span { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; margin-bottom: 24px; border-radius: 50%; background: var(--ae-primary); color: #fff; font-weight: 800; }
.ae-cta { padding: 82px 0; background: linear-gradient(110deg,#6423a8,#d21c67); color: #fff; }
.ae-cta h2 { max-width: 800px; color: #fff; }
.ae-cta .ae-eyebrow { color: #f2dbfb; }
.ae-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.ae-button--light { flex: 0 0 auto; background: #fff; color: var(--ae-primary-dark); }
.ae-button--light:hover { background: #f3ecfa; color: var(--ae-primary-dark); }

@media (max-width: 900px) {
  .ae-hero { padding: 90px 0; }
  .ae-hero__grid { grid-template-columns: 1fr; }
  .ae-hero__visual { min-height: 280px; }
  .ae-service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ae-results__grid, .ae-process-grid { grid-template-columns: repeat(2,1fr); }
  .ae-split { grid-template-columns: 1fr; gap: 30px; }
  .ae-trust-strip__inner { justify-content: center; flex-wrap: wrap; padding-block: 24px; }
}

@media (max-width: 620px) {
  .ae-hero { padding: 72px 0; }
  .ae-hero__visual { min-height: 245px; }
  .ae-orbit--one { width: 260px; height: 260px; }
  .ae-orbit--two { width: 175px; height: 175px; top: 42px; right: 52px; }
  .ae-hero-card { padding: 26px; }
  .ae-hero-card strong { font-size: 3.5rem; }
  .ae-section { padding: 72px 0; }
  .ae-service-grid, .ae-results__grid, .ae-process-grid { grid-template-columns: 1fr; }
  .ae-service-card { min-height: 0; }
  .ae-cta__inner { align-items: flex-start; flex-direction: column; }
}
