/* ============================= */
/* anfisa.career — style         */
/* ============================= */

:root{
  --bg:#F5F2EB;
  --card:#ECE9E0;
  --black:#131311;
  --ink:#171714;
  --muted:#5C584D;
  --line:#E0DCCE;
  --purple:#C7B4F3;
  --purple-deep:#B79DEF;
  --purple-ink:#3A2D63;
  --lime:#D8F34F;
  --lime-soft:#E4F79A;
  --radius:28px;
  --sans:"TikTok Sans",-apple-system,"Segoe UI",Roboto,sans-serif;
  --serif:"Playfair Display",Georgia,serif;
  --hand:"Caveat",cursive;
  --ease:cubic-bezier(.22,.61,.36,1);
}

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

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  font-family:var(--sans);
  font-weight:400;
  letter-spacing:-0.01em;
  background:var(--bg);
  color:var(--ink);
  line-height:1.5;
  overflow-x:hidden;
}

body.menu-open{overflow:hidden}

img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
ul{list-style:none}
section{scroll-margin-top:96px}

::selection{background:var(--lime);color:var(--black)}

:focus-visible{
  outline:2px solid var(--purple-deep);
  outline-offset:3px;
  border-radius:6px;
}

/* ---------- shared ---------- */

.card-black{
  background:var(--black);
  color:#F3F1EA;
  border-radius:var(--radius);
  margin:12px;
}

.card-light{
  background:var(--card);
  border-radius:var(--radius);
  margin:12px;
  padding:clamp(32px,5.5vw,72px);
}

.h2{
  font-family:var(--sans);
  font-weight:600;
  letter-spacing:-0.02em;
  line-height:1.05;
  font-size:clamp(1.85rem,3.8vw,2.9rem);
}

.logo{
  font-family:var(--serif);
  font-style:italic;
  font-weight:500;
  font-size:1.45rem;
  letter-spacing:-0.01em;
  white-space:nowrap;
  transition:color .3s var(--ease);
}
.logo:hover{color:var(--purple-deep)}

/* ---------- buttons ---------- */

.btn{
  display:inline-flex;
  align-items:center;
  gap:12px;
  max-width:100%;
  padding:13px 14px 13px 26px;
  border-radius:999px;
  font-family:var(--sans);
  font-weight:500;
  font-size:1rem;
  letter-spacing:-0.01em;
  line-height:1;
  cursor:pointer;
  border:none;
  transition:transform .3s var(--ease),background .3s var(--ease),box-shadow .3s var(--ease),border-color .3s var(--ease);
  will-change:transform;
}

.btn .arr{
  flex:none;
  width:34px;height:34px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  transition:transform .3s var(--ease),background .3s var(--ease);
}
.btn .arr svg{width:15px;height:15px}

.btn:hover{transform:translateY(-2px)}
.btn:hover .arr{transform:translate(2px,-2px)}
.btn:active{transform:translateY(0) scale(.98)}

.btn-lavender{background:var(--purple);color:#fff}
.btn-lavender .arr{background:var(--black);color:#fff}
.btn-lavender:hover{background:var(--purple-deep);box-shadow:0 12px 28px -12px rgba(183,157,239,.55)}

.btn-black{background:var(--black);color:#fff}
.btn-black .arr{background:var(--lime);color:var(--black)}
.btn-black:hover{background:#000;box-shadow:0 12px 26px -12px rgba(0,0,0,.5)}

.btn-outline{
  background:transparent;
  color:#F3F1EA;
  border:1.5px solid rgba(255,255,255,.35);
}
.btn-outline .arr{background:#fff;color:var(--black)}
.btn-outline:hover{border-color:#fff;background:rgba(255,255,255,.06)}

.btn-small{padding:10px 10px 10px 20px;font-size:.92rem}
.btn-small .arr{width:28px;height:28px}
.btn-small .arr svg{width:13px;height:13px}

/* ---------- header ---------- */

.site-header{
  position:sticky;
  top:0;
  z-index:120;
  display:flex;
  align-items:center;
  gap:22px;
  padding:16px 26px;
  transition:background .35s var(--ease),border-color .35s var(--ease);
  border-bottom:1px solid transparent;
}
.site-header.scrolled{
  background:rgba(245,242,235,.86);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
  border-bottom-color:var(--line);
}

.desk-nav{
  margin-left:auto;
  display:flex;
  gap:26px;
}
.desk-nav a{
  font-weight:500;
  font-size:.95rem;
  padding:4px 0;
  background:linear-gradient(var(--purple-deep),var(--purple-deep)) no-repeat 0 100%/0 2px;
  transition:background-size .35s var(--ease),color .3s var(--ease);
}
.desk-nav a:hover{
  background-size:100% 2px;
  color:var(--purple-ink);
}

.header-cta{margin-left:6px}

.burger{
  display:none;
  margin-left:auto;
  width:44px;height:44px;
  background:none;border:none;cursor:pointer;
  flex-direction:column;
  align-items:center;justify-content:center;
  gap:6px;
}
.burger span{
  display:block;
  width:24px;height:2px;
  background:var(--ink);
  border-radius:2px;
  transition:transform .35s var(--ease),opacity .25s var(--ease);
}
body.menu-open .burger span:nth-child(1){transform:translateY(8px) rotate(45deg)}
body.menu-open .burger span:nth-child(2){opacity:0}
body.menu-open .burger span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

/* ---------- mobile menu ---------- */

.mobile-menu{
  position:fixed;
  inset:0;
  z-index:110;
  background:var(--bg);
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:90px 28px 36px;
  opacity:0;
  visibility:hidden;
  transform:translateY(-12px);
  transition:opacity .4s var(--ease),transform .4s var(--ease),visibility 0s linear .4s;
}
body.menu-open .mobile-menu{
  opacity:1;
  visibility:visible;
  transform:none;
  transition:opacity .4s var(--ease),transform .4s var(--ease);
}

.mm-sparkle{
  position:absolute;
  right:26px;top:110px;
  width:56px;
  color:var(--lime);
  animation:spin 14s linear infinite;
}

.mm-nav{display:flex;flex-direction:column}
.mm-nav a{
  font-weight:600;
  font-size:clamp(1.6rem,6.4vw,2.3rem);
  letter-spacing:-0.02em;
  padding:16px 0;
  border-bottom:1px solid var(--line);
  transition:padding-left .3s var(--ease),color .3s var(--ease);
}
.mm-nav a:hover{padding-left:10px;color:var(--purple-ink)}
.mm-nav .mm-cta{
  font-family:var(--serif);
  font-style:italic;
  font-weight:500;
  color:var(--purple-ink);
}
.mm-foot{
  margin-top:auto;
  padding-top:28px;
  color:var(--muted);
  font-size:.95rem;
}

/* ---------- hero ---------- */

.hero{
  position:relative;
  overflow:visible;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  min-height:clamp(540px,74vh,660px);
}
.hero-grid > *{min-width:0}

.hero-content{
  position:relative;
  z-index:2;
  min-width:0;
  padding:clamp(36px,5vw,64px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap:26px;
}

.doodle{position:absolute;pointer-events:none}
.doodle-sparkle{
  width:46px;
  color:var(--purple-deep);
  top:-14px;left:-8px;
}
.doodle-star{
  width:36px;
  color:var(--lime);
  top:-24px;left:min(58%,340px);
}

.hero-title{
  font-weight:600;
  letter-spacing:-0.02em;
  line-height:.98;
  font-size:clamp(2.5rem,5.6vw,4.5rem);
  color:#fff;
}
.ht-line{display:block}
.ht-up{text-transform:uppercase}
.ht-em{
  display:block;
  margin-top:14px;
  font-family:var(--serif);
  font-style:italic;
  font-weight:500;
  letter-spacing:-0.01em;
  line-height:1.08;
  font-size:clamp(1.45rem,2.9vw,2.35rem);
  color:var(--lime);
}

.hero-sub{
  max-width:430px;
  color:#CFCCC2;
  font-size:clamp(.95rem,1.15vw,1.05rem);
  line-height:1.6;
}

.hero-photo{
  position:relative;
  border-radius:0 var(--radius) var(--radius) 0;
  overflow:hidden;
  min-height:100%;
}
.hero-photo img{
  width:100%;height:100%;
  object-fit:cover;
  object-position:center 22%;
  filter:none;
  transform:scale(1.02);
  transition:transform 1.2s var(--ease);
}
.hero:hover .hero-photo img{transform:scale(1.06)}
.hero-photo::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(90deg,var(--black) 0%,rgba(19,19,17,.55) 18%,transparent 42%);
  pointer-events:none;
}

.hero-scribble{
  position:absolute;
  z-index:3;
  width:46px;
  height:46px;
  color:rgba(255,255,255,.9);
  left:47%;
  bottom:44px;
  transform:rotate(-8deg);
  pointer-events:none;
}

/* ---------- about ---------- */

.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:56px;
}
.about-grid > *{min-width:0}

.about-text p{
  font-size:1.05rem;
  line-height:1.65;
  color:#39362E;
  max-width:640px;
}
.about-text p + p{margin-top:16px}
.about-text .h2{margin-bottom:18px}

.tg{
  font-family:var(--serif);
  font-style:italic;
  color:var(--purple-ink);
  white-space:nowrap;
}

/* ---------- marquee ---------- */

.marquee{
  display:flex;
  overflow:hidden;
  padding:26px 0;
  user-select:none;
}
.marquee-track{
  flex:none;
  display:flex;
  align-items:center;
  gap:56px;
  padding-right:56px;
  min-width:100%;
  width:max-content;
  animation:marquee 40s linear infinite;
}
.marquee:hover .marquee-track{animation-play-state:paused}
.mq-logo{
  flex:none;
  display:flex;
  align-items:center;
  justify-content:center;
}
.mq-logo img{
  height:32px;
  width:auto;
  max-width:none;
  opacity:.94;
}
.mq-h26 img{height:26px}
.mq-h30 img{height:30px}
.mq-h34 img{height:34px}

/* ---------- facts ---------- */

.facts-list li{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:15px 0;
  border-bottom:1px solid var(--line);
  font-size:1.05rem;
  line-height:1.55;
  transition:padding-left .3s var(--ease);
}
.facts-list li:last-child{border-bottom:none}
.facts-list li:hover{padding-left:8px}

.check{
  flex:none;
  width:28px;height:28px;
  margin-top:1px;
  border-radius:50%;
  background:var(--lime);
  color:var(--black);
  display:flex;align-items:center;justify-content:center;
}
.check svg{width:13px;height:13px}


/* ---------- for whom ---------- */

.for .h2{margin-bottom:12px}
.lead{
  color:var(--muted);
  font-size:1.05rem;
  margin-bottom:28px;
  max-width:640px;
}

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

.chip{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:20px;
  font-size:.99rem;
  line-height:1.45;
  display:flex;
  flex-direction:column;
  gap:14px;
  transition:transform .35s var(--ease),border-color .35s var(--ease),box-shadow .35s var(--ease);
}
.chip-ic{
  width:22px;height:22px;
  color:var(--purple-deep);
  transition:transform .45s var(--ease);
}
.chip:hover{
  transform:translateY(-5px);
  border-color:var(--purple-deep);
  box-shadow:0 16px 32px -18px rgba(183,157,239,.35);
}
.chip:hover .chip-ic{transform:rotate(90deg) scale(1.12);color:var(--lime)}

/* ---------- consultation steps ---------- */

.consult .h2{margin-bottom:30px}

.steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.step{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:24px 22px;
  display:flex;
  flex-direction:column;
  gap:12px;
  transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .35s var(--ease);
}
.step:hover{
  transform:translateY(-6px);
  border-color:var(--purple-deep);
  box-shadow:0 18px 36px -18px rgba(183,157,239,.35);
}

.step-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:4px;
}
.step-ic{
  width:56px;height:56px;
  border-radius:50%;
  background:var(--purple);
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  transition:transform .45s var(--ease),background .35s var(--ease);
}
.step-ic svg{width:24px;height:24px}
.step:hover .step-ic{transform:rotate(-8deg) scale(1.06);background:var(--lime);color:var(--black)}
.step-num{
  font-weight:500;
  font-size:.9rem;
  color:#A39E8E;
  letter-spacing:.06em;
}

.step h3{
  font-weight:600;
  font-size:1.12rem;
  letter-spacing:-0.015em;
  line-height:1.2;
}
.step p{
  color:var(--muted);
  font-size:.93rem;
  line-height:1.5;
}

/* ---------- guide ---------- */

.guide{
  margin:12px;
  border-radius:var(--radius);
  background:linear-gradient(105deg,#F1F9C6 0%,#E9F6AC 42%,#DCCBF8 100%);
  padding:clamp(32px,5vw,64px);
  overflow:hidden;
}

.guide-grid{
  display:grid;
  grid-template-columns:1.05fr .85fr 1.05fr;
  gap:clamp(28px,3.5vw,48px);
  align-items:center;
}
.guide-grid > *{min-width:0}

.eyebrow{
  font-weight:500;
  font-size:.95rem;
  color:#4B483E;
  margin-bottom:14px;
}

.guide-title{position:relative}
.scribble-wrap{position:relative;display:inline-block}
.scribble{
  position:absolute;
  left:-4%;bottom:-12px;
  width:108%;
  color:var(--lime);
  pointer-events:none;
}

.guide-desc{
  margin-top:22px;
  font-size:1.02rem;
  line-height:1.6;
  color:#39362E;
  max-width:430px;
}
.guide-fit{
  margin-top:12px;
  font-size:.92rem;
  line-height:1.55;
  color:#5C584D;
  max-width:430px;
}

.price{
  margin:22px 0 18px;
  font-weight:600;
  letter-spacing:-0.02em;
  font-size:clamp(2rem,3.4vw,2.8rem);
  line-height:1;
}

.guide-mid{display:flex;justify-content:center}

.guide-card{
  position:relative;
  width:min(100%,330px);
  background:#171715;
  border-radius:22px;
  padding:26px 26px 30px;
  color:#fff;
  transform:rotate(-3deg);
  box-shadow:0 30px 60px -28px rgba(23,23,20,.55);
  transition:transform .5s var(--ease),box-shadow .5s var(--ease);
}
.guide-card:hover{
  transform:rotate(0deg) scale(1.02);
  box-shadow:0 40px 70px -28px rgba(23,23,20,.6);
}

.guide-chips{display:flex;gap:8px;flex-wrap:wrap}
.guide-chips span{
  border:1px solid rgba(255,255,255,.32);
  border-radius:999px;
  padding:4px 12px;
  font-size:.74rem;
  font-weight:500;
  color:#E9E6DD;
  letter-spacing:.02em;
}

.guide-card-title{
  margin-top:20px;
  font-weight:600;
  letter-spacing:-0.02em;
  line-height:1.02;
  font-size:2rem;
}
.guide-card-title em{
  font-style:normal;
  color:var(--purple);
}

.guide-scribble{
  width:36px;
  height:36px;
  color:var(--lime);
  margin:4px 0 0 auto;
  display:block;
  transform:rotate(-6deg);
}

.inside-card{
  background:#fff;
  border-radius:22px;
  padding:28px;
  box-shadow:0 24px 48px -26px rgba(58,45,99,.35);
  transition:transform .4s var(--ease),box-shadow .4s var(--ease);
}
.inside-card:hover{
  transform:translateY(-5px);
  box-shadow:0 32px 56px -26px rgba(58,45,99,.45);
}
.inside-title{
  font-weight:600;
  font-size:1.12rem;
  margin-bottom:16px;
}
.inside-list li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:9px 0;
  font-size:.96rem;
  line-height:1.45;
  color:#2E2C26;
}
.inside-list .check{width:24px;height:24px}
.inside-list .check svg{width:11px;height:11px}

/* ---------- final CTA ---------- */

.cta{
  padding:clamp(32px,4.5vw,56px);
}

.cta-grid{
  display:grid;
  grid-template-columns:1fr auto;
  gap:clamp(26px,3.5vw,48px);
  align-items:center;
}
.cta-grid > *{min-width:0}

.cta-title{
  color:#fff;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}
.heart-lime{
  width:30px;height:30px;
  color:var(--lime);
  flex:none;
}

.cta-text p{
  margin-top:16px;
  color:#CFCCC2;
  font-size:1rem;
  line-height:1.6;
  max-width:520px;
}

.cta-actions{
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:flex-start;
}
.cta-actions .btn{justify-content:space-between;width:-moz-fit-content;width:fit-content}

/* ---------- footer ---------- */

.site-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:26px 28px 38px;
}
.foot-note{
  color:var(--muted);
  font-size:.95rem;
}

/* ---------- animations ---------- */

@keyframes marquee{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

@keyframes floatY{
  from{transform:translateY(0) rotate(var(--rot,0deg))}
  to{transform:translateY(-10px) rotate(var(--rot,0deg))}
}

@keyframes spin{
  to{transform:rotate(360deg)}
}

.float-a{animation:floatY 5s ease-in-out infinite alternate}
.float-b{animation:floatY 6.5s ease-in-out infinite alternate-reverse}

.js .reveal{
  opacity:0;
  transform:translateY(20px);
  transition:opacity .65s var(--ease),transform .65s var(--ease);
}
.js .reveal.is-visible{
  opacity:1;
  transform:none;
}
.js .d1{transition-delay:.08s}
.js .d2{transition-delay:.16s}
.js .d3{transition-delay:.24s}

/* ---------- responsive ---------- */

@media (max-width:1080px){
  .about-grid{grid-template-columns:1fr;gap:32px}
  .steps{grid-template-columns:repeat(2,1fr)}
  .chips{grid-template-columns:repeat(2,1fr)}
  .guide-grid{grid-template-columns:1fr 1fr}
  .guide-left{grid-column:1/-1}
  .guide-desc,.guide-fit{max-width:640px}
  .cta-grid{grid-template-columns:1fr}
  .cta-actions{flex-direction:row;flex-wrap:wrap}
  .cta-actions .btn{flex:1 1 240px}
}

@media (max-width:900px){
  .desk-nav,.header-cta{display:none}
  .burger{display:flex}
}

@media (max-width:700px){
  .hero-grid{grid-template-columns:1fr;min-height:0}
  .hero-title{font-size:clamp(1.75rem,8.5vw,2.6rem)}
  .ht-em{font-size:clamp(1.2rem,5.2vw,1.55rem)}
  .hero-photo{
    order:-1;
    height:300px;
    min-height:0;
    border-radius:var(--radius) var(--radius) 0 0;
  }
  .hero-photo::after{
    background:linear-gradient(180deg,transparent 40%,rgba(19,19,17,.55) 72%,var(--black) 100%);
  }
  .hero-scribble{display:none}
  .doodle-star{left:auto;right:6px}
  .steps{grid-template-columns:1fr}
  .chips{grid-template-columns:1fr}
  .guide-grid{grid-template-columns:1fr}
  .cta-grid{grid-template-columns:1fr;text-align:left}
  .cta-actions{flex-direction:column}
  .cta-actions .btn{flex:0 0 auto}
  .site-footer{flex-direction:column;align-items:flex-start;gap:6px}
  .marquee{padding:20px 0}
  .marquee-track{gap:38px;padding-right:38px;animation-duration:30s}
  .mq-logo img{height:20px}
  .mq-h26 img{height:18px}
  .mq-h30 img{height:21px}
  .mq-h34 img{height:23px}
}

@media (max-width:420px){
  .card-light{padding:28px 22px}
  .hero-content{padding:30px 24px 40px}
  .price{margin-top:18px}
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
  .js .reveal{opacity:1;transform:none}
  .marquee{
    display:block;
    overflow:visible;
    padding:26px 24px;
  }
  .marquee-track{
    animation:none !important;
    flex-wrap:wrap;
    min-width:0;
    width:100%;
    gap:22px 32px;
    padding-right:0;
    justify-content:center;
  }
  .marquee-track[aria-hidden="true"]{display:none}
}
