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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--color-primary-hover);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

h1 {
  font-size: var(--text-5xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-4xl);
  letter-spacing: -0.015em;
}

h3 {
  font-size: var(--text-xl);
}

p {
  color: var(--color-text-muted);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

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

.section {
  padding-block: var(--space-2xl);
  position: relative;
}

.section__eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  padding: 0.4em 1.1em;
  background: rgba(159, 138, 255, 0.1);
  border: 1px solid rgba(159, 138, 255, 0.16);
  border-radius: var(--radius-full);
}

.section__title {
  margin-bottom: var(--space-sm);
}

.section__lead {
  font-size: var(--text-lg);
  max-width: 560px;
  margin-bottom: var(--space-lg);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section__header .section__title::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin: var(--space-sm) auto 0;
  background: var(--gradient-cta);
  border-radius: var(--radius-full);
}

.section__header .section__lead {
  margin-inline: auto;
}

.section .container {
  position: relative;
  z-index: 1;
}

/* Section waves & backgrounds */
.section-wave {
  display: block;
  width: 100%;
  height: 56px;
  line-height: 0;
  margin-top: -1px;
}

.section-wave svg {
  display: block;
  width: 100%;
  height: 56px;
}

.section-wave--to-services path { fill: #f0eeff; }
.section-wave--to-method path { fill: #ffffff; }
.section-wave--to-results path { fill: #eef2f8; }
.section-wave--to-testimonials path { fill: #f5f2ff; }
.section-wave--to-about path { fill: #fafbfd; }
.section-wave--to-cta path { fill: #fafbfd; }
.section-wave--to-faq path { fill: #f3f0ff; }

.section__decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.section__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
}

.section__orb--1 {
  width: 420px;
  height: 420px;
  top: -8%;
  right: -6%;
  background: rgba(159, 138, 255, 0.35);
}

.section__orb--2 {
  width: 320px;
  height: 320px;
  bottom: 5%;
  left: -8%;
  background: rgba(110, 193, 228, 0.3);
}

.section__orb--3 {
  width: 380px;
  height: 380px;
  top: 20%;
  left: -10%;
  background: rgba(159, 138, 255, 0.2);
}

.section__orb--4 {
  width: 360px;
  height: 360px;
  top: -5%;
  left: 10%;
  background: rgba(110, 193, 228, 0.28);
}

.section__orb--5 {
  width: 300px;
  height: 300px;
  bottom: 0;
  right: 5%;
  background: rgba(159, 138, 255, 0.22);
}

.section__orb--6 {
  width: 400px;
  height: 400px;
  top: 10%;
  right: -8%;
  background: rgba(110, 193, 228, 0.25);
}

.section__orb--7 {
  width: 340px;
  height: 340px;
  top: -20%;
  left: 15%;
  background: rgba(159, 138, 255, 0.3);
}

.section__orb--8 {
  width: 280px;
  height: 280px;
  bottom: -10%;
  right: 10%;
  background: rgba(110, 193, 228, 0.28);
}

.section__decor--quote::before {
  content: "\201C";
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 18vw, 14rem);
  line-height: 1;
  color: rgba(159, 138, 255, 0.07);
  pointer-events: none;
}

.section--services {
  background: transparent;
  padding-top: var(--space-lg);
}

.section--method {
  background: #ffffff;
}

.section--results {
  background:
    radial-gradient(circle at 15% 25%, rgba(159, 138, 255, 0.09) 0%, transparent 42%),
    radial-gradient(circle at 85% 75%, rgba(110, 193, 228, 0.08) 0%, transparent 40%),
    #eef2f8;
}

.section--testimonials {
  background: linear-gradient(160deg, #f5f2ff 0%, #f0f7fc 55%, #faf8ff 100%);
}

.section--about {
  background: linear-gradient(180deg, #fafbfd 0%, #f3f5fa 100%);
}

.section--cta {
  background: var(--color-bg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

::selection {
  background: rgba(159, 138, 255, 0.28);
  color: var(--color-text);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: 0;
  left: var(--space-md);
  z-index: 200;
  padding: 0.65em 1.1em;
  background: var(--color-primary);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transform: translateY(-120%);
  transition: transform var(--duration-fast) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
  color: #fff;
  outline-offset: 2px;
}

body.nav-open {
  overflow: hidden;
}

/* FAQ */
.section--faq {
  background: linear-gradient(180deg, #fafbfd 0%, #f3f0ff 100%);
  padding-block: var(--space-xl) var(--space-2xl);
}

.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
}

.faq-item.is-open {
  border-color: var(--color-border-glow);
  box-shadow: var(--shadow-sm);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 1em 1.15em;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
}

.faq-item__question:hover {
  color: var(--color-primary);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--color-primary);
  border-radius: 1px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.faq-item__icon::before {
  top: 50%;
  left: 4px;
  right: 4px;
  height: 2px;
  transform: translateY(-50%);
}

.faq-item__icon::after {
  left: 50%;
  top: 4px;
  bottom: 4px;
  width: 2px;
  transform: translateX(-50%);
}

.faq-item.is-open .faq-item__icon::after {
  transform: translateX(-50%) scaleY(0);
}

.faq-item__answer {
  display: none;
  padding: 0 1.15em 1.1em;
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.faq-item.is-open .faq-item__answer {
  display: block;
}

.faq-item__answer p + p {
  margin-top: 0.65em;
}

.faq-cta {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: var(--text-sm);
}

.hero__trust {
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.hero__trust strong {
  color: var(--color-text);
  font-weight: 600;
}

.about__actions {
  margin-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.about__layout .about__actions {
  justify-content: flex-start;
}

@media (max-width: 1024px) {
  .about__layout .about__actions {
    justify-content: center;
  }
}

.cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-md);
}
/* WordPress admin bar offset */
body.admin-bar .header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .header {
    top: 46px;
  }
}

/* Custom logo ↔ static BEM logo */
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.custom-logo-link img,
.custom-logo {
  height: var(--logo-height);
  width: auto;
  max-width: min(280px, 52vw);
  object-fit: contain;
  transition: height var(--duration-fast) var(--ease-out);
}
.header.is-scrolled .custom-logo-link img,
.header.is-scrolled .custom-logo {
  height: var(--logo-height-scrolled);
}
.footer .custom-logo-link img,
.footer .custom-logo {
  height: var(--logo-height-footer);
}

/* Primary menu WP classes */
.nav__links .menu-item {
  list-style: none;
}
.nav__links a {
  /* fallback if nav__link missing */
}
