:root {
  --ink: #19153d;
  --ink-soft: #2b255f;
  --violet: #6659e8;
  --violet-bright: #8d7cff;
  --lavender: #eeecff;
  --paper: #f7f6fb;
  --white: #ffffff;
  --line: rgba(25, 21, 61, 0.12);
  --shell: min(1180px, calc(100% - 48px));
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body,
a {
  cursor: default;
}

a,
button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: 900px;
  height: 100svh;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(14, 10, 45, 0.08) 0%, rgba(14, 10, 45, 0) 45%, rgba(14, 10, 45, 0.78) 100%),
    url("../img/moedius-hero.png") center / cover no-repeat,
    var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 160px rgba(7, 4, 30, 0.35);
}

.hero__logo {
  position: absolute;
  z-index: 1;
  top: 39%;
  left: 50%;
  width: clamp(380px, 45vw, 860px);
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 20px 18px rgba(8, 5, 32, 0.42));
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.nav__brand,
.footer__brand {
  width: 138px;
}

.nav__brand img,
.footer__brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 5px 10px rgba(9, 6, 34, 0.28));
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.92rem;
}

.nav__links > a:not(.button) {
  color: rgba(255, 255, 255, 0.78);
  transition: color 180ms ease;
}

.nav__links > a:not(.button):hover,
.nav__links > a:not(.button):focus-visible {
  color: var(--white);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  height: calc(100% - 96px);
  padding-bottom: clamp(76px, 9vh, 118px);
}

.hero__copy {
  max-width: 920px;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--violet);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(3.25rem, 6.2vw, 6rem);
}

.hero h1 {
  max-width: 100%;
  font-size: clamp(3.1rem, 5.3vw, 5.6rem);
  white-space: nowrap;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 4.4vw, 4.7rem);
}

.hero__intro {
  max-width: 630px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--light {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 14px 38px rgba(9, 6, 34, 0.2);
}

.button--light:hover,
.button--light:focus-visible {
  box-shadow: 0 18px 46px rgba(9, 6, 34, 0.3);
}

.button--small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.82rem;
}

.button--glass {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.button--glass:hover,
.button--glass:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

.text-link span {
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translate(3px, 3px);
}

.hero__scroll {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 55px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.section {
  padding-block: clamp(100px, 12vw, 170px);
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(64px, 10vw, 150px);
  align-items: start;
}

.intro__copy {
  padding-top: 10px;
  color: #655f7d;
  font-size: 1.02rem;
}

.intro__copy p + p {
  margin-top: 24px;
}

.services {
  border-top: 1px solid var(--line);
  background: #f1f0f8;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 64px;
}

.section-heading > p {
  max-width: 320px;
  margin-bottom: 4px;
  color: #6b6580;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(34, 27, 81, 0.1);
}

.card--featured {
  background:
    radial-gradient(circle at 70% 15%, rgba(136, 122, 255, 0.35), transparent 36%),
    linear-gradient(145deg, #28205b, #18133d);
  color: var(--white);
}

.card__number {
  position: absolute;
  top: 28px;
  right: 28px;
  color: #a29db2;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.card--featured .card__number {
  color: rgba(255, 255, 255, 0.5);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 70px 0 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.card__icon svg {
  width: 30px;
  fill: none;
  stroke: var(--violet);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.card--featured .card__icon {
  border-color: rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.1);
}

.card--featured .card__icon svg {
  stroke: var(--white);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.55rem;
  font-weight: 600;
}

.card p {
  margin-bottom: 0;
  color: #6a647d;
}

.card--featured p {
  color: rgba(255, 255, 255, 0.66);
}

.service-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.service-details li {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: #655f7d;
  font-size: 0.82rem;
}

.occasions {
  background: var(--paper);
}

.occasions__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  column-gap: clamp(60px, 9vw, 130px);
  align-items: end;
  margin-bottom: 64px;
}

.occasions__heading .eyebrow {
  grid-column: 1 / -1;
}

.occasions__heading > p:last-child {
  margin-bottom: 4px;
  color: #655f7d;
}

.occasion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.occasion-grid article {
  min-height: 260px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
}

.occasion-grid article:last-child {
  border-right: 0;
}

.occasion-grid span {
  display: block;
  margin-bottom: 58px;
  color: var(--violet);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.occasion-grid h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.occasion-grid p {
  margin-bottom: 0;
  color: #6a647d;
  font-size: 0.92rem;
}

.process {
  position: relative;
  overflow: hidden;
  padding-block: clamp(110px, 13vw, 180px);
  background: var(--ink);
  color: var(--white);
}

.process::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to right, transparent, black 30%, black 70%, transparent);
}

.process__glow {
  position: absolute;
  top: 10%;
  left: 45%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(93, 76, 229, 0.45);
  filter: blur(120px);
}

.process__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  column-gap: clamp(70px, 10vw, 150px);
  row-gap: 42px;
}

.process__notice {
  grid-column: 2;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 22px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.process__notice strong {
  color: var(--violet-bright);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process__notice p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

.process__title h2 {
  font-size: clamp(2.6rem, 4.4vw, 4.6rem);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.steps li:first-child {
  padding-top: 0;
}

.steps__number {
  color: var(--violet-bright);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.steps h3 {
  margin-bottom: 6px;
  font-size: 1.18rem;
}

.steps p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.6);
}

.steps__partner-body {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  align-items: start;
}

.steps__partner-body img {
  width: 62px;
  height: 62px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  object-fit: contain;
}

.steps__partner-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--violet-bright);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.steps__partner-link span {
  transition: transform 180ms ease;
}

.steps__partner-link:hover span,
.steps__partner-link:focus-visible span {
  transform: translate(3px, -3px);
}

.faq {
  border-top: 1px solid var(--line);
  background: #f1f0f8;
}

.faq__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(64px, 10vw, 150px);
  align-items: start;
}

.faq__heading {
  position: sticky;
  top: 40px;
}

.faq__heading h2 {
  margin-bottom: 26px;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
}

.faq__heading > p:last-child {
  color: #655f7d;
}

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

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 28px 52px 28px 0;
  font-size: 1.08rem;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  top: 22px;
  right: 4px;
  color: var(--violet);
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 180ms ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 680px;
  margin-bottom: 28px;
  color: #655f7d;
}

.cta-band {
  padding-block: 86px;
  background:
    radial-gradient(circle at 50% 0, rgba(156, 143, 255, 0.45), transparent 35%),
    linear-gradient(110deg, #4d3fd1, #7664ed);
  color: var(--white);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band h2 {
  font-size: clamp(2.3rem, 4.2vw, 4rem);
}

.footer {
  padding-block: 44px;
  background: #100c2e;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.footer__inner p {
  margin-bottom: 0;
}

.footer nav {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--violet-bright);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .hero {
    min-height: 820px;
    background-position: center;
  }

  .hero__logo {
    top: 35%;
    width: min(72vw, 680px);
  }

  .nav__links > a:not(.button) {
    display: none;
  }

  .intro__grid,
  .process__inner,
  .faq__layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .occasions__heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .occasion-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .occasion-grid article:nth-child(2) {
    border-right: 0;
  }

  .occasion-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .faq__heading {
    position: static;
  }

  .process__notice {
    grid-column: 1;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 24px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__inner > p {
    display: none;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: min(100% - 30px, 1180px);
  }

  .hero {
    min-height: 760px;
    background-position: center;
  }

  .hero__logo {
    top: 28%;
    width: 80vw;
  }

  .nav {
    min-height: 78px;
  }

  .nav__brand {
    width: 110px;
  }

  .nav__links {
    gap: 0;
  }

  .button--small {
    min-height: 40px;
    padding-inline: 15px;
  }

  .hero__content {
    height: calc(100% - 78px);
    padding-bottom: 54px;
  }

  .hero__copy {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 22px;
    background: rgba(16, 12, 46, 0.58);
    backdrop-filter: blur(14px);
  }

  .hero h1 {
    font-size: clamp(1.35rem, 6.5vw, 2.7rem);
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero__scroll {
    display: none;
  }

  .section {
    padding-block: 90px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .service-details {
    gap: 8px;
  }

  .card {
    padding: 28px;
  }

  .process {
    padding-block: 96px;
  }

  .process__notice {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .steps__partner-body {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .steps__partner-body img {
    width: 48px;
    height: 48px;
  }

  .occasion-grid {
    grid-template-columns: 1fr;
  }

  .occasion-grid article,
  .occasion-grid article:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .occasion-grid article:last-child {
    border-bottom: 0;
  }

  .occasion-grid span {
    margin-bottom: 30px;
  }

  .cta-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer nav {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
