@charset "UTF-8";

/* ===== Mini Hotel Synergy — модул „Автоматизации". Всичко е затворено под #mha-avtomatizacii. Само CSS — видимо и в превюто на Elementor ===== */
#mha-avtomatizacii{
  --mha-ink:#15113d;--mha-text:#34334d;--mha-muted:#6f7389;--mha-accent:#5b4de0;--mha-accent-d:#4a3dcc;--mha-tint:#f0eefd;--mha-line:#e9eaf2;
  --mha-ok:#1f9d63;--mha-ok-bg:#e7f6ee;
  position:relative;overflow:hidden;isolation:isolate;display:block;margin:0;padding:0;border:0;
  background:linear-gradient(180deg,#fff 0%,#f7f6ff 30%,#f7f6ff 70%,#fff 100%);
  font:400 16px/1.5 'Montserrat',system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--mha-text);text-align:left;-webkit-font-smoothing:antialiased
}
#mha-avtomatizacii *,#mha-avtomatizacii *::before,#mha-avtomatizacii *::after{box-sizing:border-box;font-feature-settings:'locl' 0!important}
#mha-avtomatizacii :where(h2,h3,p,ul,ol,li,a,span,b,i,small,strong,em,svg,div,figure,img){margin:0;padding:0;border:0;background:none;box-shadow:none;
  font:inherit;color:inherit;letter-spacing:inherit;text-transform:none;text-decoration:none;text-shadow:none;list-style:none;max-width:none;float:none;min-height:0}
#mha-avtomatizacii li::before,#mha-avtomatizacii li::marker{content:none}
#mha-avtomatizacii::before{content:"";position:absolute;z-index:-1;right:-200px;top:50%;width:900px;height:900px;transform:translateY(-50%);border-radius:50%;
  background:radial-gradient(closest-side,rgba(91,77,224,.10),rgba(91,77,224,0));pointer-events:none}

#mha-avtomatizacii .mha__in{max-width:1240px;margin:0 auto;padding:112px 24px;display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:52px;align-items:center}

/* текст */
#mha-avtomatizacii .mha__eyebrow{display:flex;align-items:center;gap:18px;font-weight:600;font-size:13px;line-height:1;letter-spacing:.28em;text-transform:uppercase;color:var(--mha-accent)}
#mha-avtomatizacii .mha__eyebrow::before{content:"";width:44px;height:1.5px;background:currentColor}
#mha-avtomatizacii .mha__title{margin-top:22px;font-family:'Advent Pro',sans-serif;font-size:clamp(42px,4.4vw,68px);line-height:.95;letter-spacing:-.01em;color:var(--mha-ink)}
#mha-avtomatizacii .mha__title b{display:block;font-weight:700}
#mha-avtomatizacii .mha__title em{display:block;font-style:normal;font-weight:200}
#mha-avtomatizacii .mha__lead{margin-top:24px;font-size:clamp(16px,1.3vw,18.5px);line-height:1.65;color:var(--mha-text)}
#mha-avtomatizacii .mha__lead b{font-weight:600;color:var(--mha-ink)}
#mha-avtomatizacii .mha__feats{margin-top:30px;display:flex;flex-direction:column;gap:20px}
#mha-avtomatizacii .mha__feat{display:flex;gap:16px;align-items:flex-start}
#mha-avtomatizacii .mha__ico{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:var(--mha-tint);color:var(--mha-accent);transition:background .25s,color .25s,transform .25s}
#mha-avtomatizacii .mha__ico svg{width:23px;height:23px}
#mha-avtomatizacii .mha__feat div>b{display:block;font-weight:700;font-size:16px;line-height:1.3;color:var(--mha-ink)}
#mha-avtomatizacii .mha__feat div>span{display:block;margin-top:4px;font-size:14px;line-height:1.55;color:var(--mha-muted)}
/* лента-резултат (вместо бутон) */
#mha-avtomatizacii .mha__note{display:inline-flex;align-items:center;gap:14px;margin-top:34px;padding:12px 20px 12px 12px;background:#fff;border:1px solid var(--mha-line);border-radius:16px;
  box-shadow:0 18px 36px -30px rgba(26,37,70,.45);font-size:13px;line-height:1.4;color:var(--mha-muted)}
#mha-avtomatizacii .mha__note-i{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--mha-ok-bg);color:var(--mha-ok)}
#mha-avtomatizacii .mha__note-i svg{width:20px;height:20px}
#mha-avtomatizacii .mha__note b{display:block;font-family:'Advent Pro',sans-serif;font-weight:700;font-size:24px;line-height:1;color:var(--mha-ink)}

/* визуал: хронология + телефон */
#mha-avtomatizacii .mha__vis{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:26px;align-items:center}

#mha-avtomatizacii .mha__flow{position:relative;display:flex;flex-direction:column;gap:10px;padding-left:34px}
#mha-avtomatizacii .mha__flow::before{content:"";position:absolute;left:10px;top:22px;bottom:22px;width:2px;border-radius:2px;background:#e1ddfb}
#mha-avtomatizacii .mha__rail{position:absolute;left:10px;top:22px;width:2px;height:calc(100% - 44px);border-radius:2px;background:var(--mha-accent);transform-origin:top;transform:scaleY(1)}
#mha-avtomatizacii .mha__step{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:center;padding:11px 14px;background:#fff;border:1px solid var(--mha-line);border-radius:14px;
  box-shadow:0 14px 30px -26px rgba(26,37,70,.4);transition:border-color .25s}
#mha-avtomatizacii .mha__step::before{content:"";position:absolute;left:-30px;top:50%;width:12px;height:12px;margin-top:-6px;border-radius:50%;background:#fff;border:2.5px solid var(--mha-accent)}
#mha-avtomatizacii .mha__s-i{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:var(--mha-tint);color:var(--mha-accent)}
#mha-avtomatizacii .mha__s-i svg{width:20px;height:20px}
#mha-avtomatizacii .mha__s-t{min-width:0;font-size:12px;line-height:1.4;color:var(--mha-muted)}
#mha-avtomatizacii .mha__s-t b{display:block;font-weight:700;font-size:13.5px;line-height:1.3;color:var(--mha-ink)}
#mha-avtomatizacii .mha__s-w{display:block;margin-bottom:1px;font-style:normal;font-weight:700;font-size:10px;line-height:1.3;letter-spacing:.1em;text-transform:uppercase;color:var(--mha-accent)}

/* телефон */
#mha-avtomatizacii .mha__phone-wrap{position:relative;padding:40px 0}
#mha-avtomatizacii .mha__phone{position:relative;width:250px;border-radius:38px;padding:10px;background:#1b1a2e;box-shadow:0 40px 70px -40px rgba(26,37,70,.7),inset 0 0 0 2px #34324d}
#mha-avtomatizacii .mha__screen{position:relative;overflow:hidden;border-radius:30px;background:#fff;padding:36px 16px 18px}
#mha-avtomatizacii .mha__notch{position:absolute;top:10px;left:50%;width:84px;height:22px;transform:translateX(-50%);border-radius:14px;background:#1b1a2e}
#mha-avtomatizacii .mha__app{display:flex;align-items:center;gap:8px}
#mha-avtomatizacii .mha__app-i{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:var(--mha-accent);color:#fff}
#mha-avtomatizacii .mha__app-i svg{width:14px;height:14px}
#mha-avtomatizacii .mha__app b{font-family:'Advent Pro',sans-serif;font-weight:700;font-size:14px;line-height:.95;color:var(--mha-ink)}
#mha-avtomatizacii .mha__app b span{display:block;font-weight:300}
#mha-avtomatizacii .mha__mail-h{margin-top:16px;font-family:'Advent Pro',sans-serif;font-weight:700;font-size:21px;line-height:1.05;color:var(--mha-ink)}
#mha-avtomatizacii .mha__mail-p{margin-top:8px;font-size:11px;line-height:1.5;color:var(--mha-text)}
#mha-avtomatizacii .mha__mail-img{display:block;margin-top:12px;width:100%;aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:#ece9f7}
#mha-avtomatizacii .mha__mail-img img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;border-radius:0!important}
#mha-avtomatizacii .mha__mail-rows{margin-top:10px;font-size:10.5px;color:var(--mha-muted)}
#mha-avtomatizacii .mha__mail-rows div{display:flex;justify-content:space-between;padding:5px 0;border-bottom:1px dashed var(--mha-line)}
#mha-avtomatizacii .mha__mail-rows b{font-weight:700;color:var(--mha-ink)}
#mha-avtomatizacii .mha__mail-btn{display:flex;align-items:center;justify-content:center;height:36px;margin-top:12px;border-radius:9px;background:var(--mha-accent);color:#fff;font-weight:600;font-size:11.5px}

/* известия около телефона */
#mha-avtomatizacii .mha__n{position:absolute;z-index:2;display:flex;align-items:center;gap:10px;width:220px;padding:11px 13px 11px 11px;background:#fff;border:1px solid var(--mha-line);border-radius:14px;box-shadow:0 22px 44px -26px rgba(26,37,70,.5)}
#mha-avtomatizacii .mha__n::after{content:"";position:absolute;top:9px;right:9px;width:7px;height:7px;border-radius:50%;background:#22c07a}
#mha-avtomatizacii .mha__n-i{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--mha-tint);color:var(--mha-accent)}
#mha-avtomatizacii .mha__n-i--ok{background:var(--mha-ok-bg);color:var(--mha-ok)}
#mha-avtomatizacii .mha__n-i svg{width:17px;height:17px}
#mha-avtomatizacii .mha__n b{display:block;font-weight:700;font-size:12px;line-height:1.3;color:var(--mha-ink)}
#mha-avtomatizacii .mha__n small{display:block;font-size:10.5px;line-height:1.35;color:var(--mha-muted)}
#mha-avtomatizacii .mha__n--1{top:-14px;right:-40px}
#mha-avtomatizacii .mha__n--2{top:52%;right:-70px}
#mha-avtomatizacii .mha__n--3{bottom:6px;right:-40px}

/* посочване — само с мишка (на телефон/таблет докосването не „залепва") */
@media (hover:hover) and (pointer:fine){
  #mha-avtomatizacii .mha__feat:hover .mha__ico{background:var(--mha-accent);color:#fff;transform:translateY(-2px)}
  #mha-avtomatizacii .mha__step:hover{border-color:#d4cefb}
}

/* живинка — само CSS, видима и в редактора. Scroll ефектите (влизане/изход на секцията, бял воал)
   са махнати: правеха съдържанието полупрозрачно и чупеха Safari на iPad. */
@media (prefers-reduced-motion:no-preference){
  #mha-avtomatizacii .mha__rail{animation:mhaRail 8s cubic-bezier(.45,0,.2,1) infinite}
  #mha-avtomatizacii .mha__step::before{animation:mhaDot 8s ease infinite}
  #mha-avtomatizacii .mha__step{animation:mhaStep 8s ease infinite}
  #mha-avtomatizacii .mha__s-i{animation:mhaIco 8s ease infinite}
  /* стъпките светват една след друга (rail е първото дете, затова стъпките започват от 2) */
  #mha-avtomatizacii .mha__step:nth-child(3),#mha-avtomatizacii .mha__step:nth-child(3) .mha__s-i,#mha-avtomatizacii .mha__step:nth-child(3)::before{animation-delay:.55s}
  #mha-avtomatizacii .mha__step:nth-child(4),#mha-avtomatizacii .mha__step:nth-child(4) .mha__s-i,#mha-avtomatizacii .mha__step:nth-child(4)::before{animation-delay:1.1s}
  #mha-avtomatizacii .mha__step:nth-child(5),#mha-avtomatizacii .mha__step:nth-child(5) .mha__s-i,#mha-avtomatizacii .mha__step:nth-child(5)::before{animation-delay:1.65s}
  #mha-avtomatizacii .mha__step:nth-child(6),#mha-avtomatizacii .mha__step:nth-child(6) .mha__s-i,#mha-avtomatizacii .mha__step:nth-child(6)::before{animation-delay:2.2s}
  #mha-avtomatizacii .mha__step:nth-child(7),#mha-avtomatizacii .mha__step:nth-child(7) .mha__s-i,#mha-avtomatizacii .mha__step:nth-child(7)::before{animation-delay:2.75s}
  #mha-avtomatizacii .mha__step:nth-child(8),#mha-avtomatizacii .mha__step:nth-child(8) .mha__s-i,#mha-avtomatizacii .mha__step:nth-child(8)::before{animation-delay:3.3s}
  #mha-avtomatizacii .mha__n--1{animation:mhaFloat 6s ease-in-out infinite}
  #mha-avtomatizacii .mha__n--2{animation:mhaFloat 7s ease-in-out -2s infinite}
  #mha-avtomatizacii .mha__n--3{animation:mhaFloat 6.5s ease-in-out -4s infinite}
}
@keyframes mhaRail{0%{transform:scaleY(0)}50%,85%{transform:scaleY(1)}100%{transform:scaleY(1);opacity:.35}}
@keyframes mhaDot{0%,4%{background:#fff}10%,85%{background:var(--mha-accent);box-shadow:0 0 0 4px rgba(91,77,224,.15)}100%{background:#fff}}
@keyframes mhaStep{0%,5%{border-color:var(--mha-line);transform:none}10%{border-color:var(--mha-accent);transform:translateX(5px);box-shadow:0 0 0 3px rgba(91,77,224,.1),0 14px 30px -26px rgba(26,37,70,.4)}
  18%,85%{border-color:#d9d4fb;transform:none;box-shadow:0 14px 30px -26px rgba(26,37,70,.4)}100%{border-color:var(--mha-line)}}
@keyframes mhaIco{0%,5%{background:var(--mha-tint);color:var(--mha-accent)}10%,85%{background:var(--mha-accent);color:#fff}100%{background:var(--mha-tint);color:var(--mha-accent)}}
@keyframes mhaFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}

/* 1240 — известията влизат навътре */
@media (max-width:1240px){
  #mha-avtomatizacii .mha__n--1,#mha-avtomatizacii .mha__n--3{right:-16px}
  #mha-avtomatizacii .mha__n--2{right:-24px}
}
/* 1100 */
@media (max-width:1100px){
  #mha-avtomatizacii .mha__in{grid-template-columns:1fr;gap:40px;padding:88px 24px}
  #mha-avtomatizacii .mha__copy{max-width:680px}
  #mha-avtomatizacii .mha__vis{grid-template-columns:minmax(0,1fr) 250px;max-width:820px}
  #mha-avtomatizacii .mha__n--1,#mha-avtomatizacii .mha__n--3{right:0}
  #mha-avtomatizacii .mha__n--2{right:-10px}
}
/* 720 — телефонът слиза под хронологията */
@media (max-width:720px){
  #mha-avtomatizacii .mha__in{padding:72px 16px}
  #mha-avtomatizacii .mha__eyebrow{font-size:12px}
  #mha-avtomatizacii .mha__vis{grid-template-columns:1fr;gap:28px}
  #mha-avtomatizacii .mha__phone-wrap{justify-self:center;padding:0 0 60px}
  #mha-avtomatizacii .mha__n--1{top:auto;bottom:0;right:auto;left:50%;margin-left:-110px}
  #mha-avtomatizacii .mha__n--2,#mha-avtomatizacii .mha__n--3{display:none}
  #mha-avtomatizacii .mha__flow{padding-left:28px}
  #mha-avtomatizacii .mha__flow::before,#mha-avtomatizacii .mha__rail{left:6px}
  #mha-avtomatizacii .mha__step::before{left:-27px}
}
/* 480 */
@media (max-width:480px){
  #mha-avtomatizacii .mha__note{display:flex}
  #mha-avtomatizacii .mha__step{padding:11px 12px;grid-template-columns:34px minmax(0,1fr)}
  #mha-avtomatizacii .mha__s-i{width:34px;height:34px}
  #mha-avtomatizacii .mha__s-t span{display:none}
}
/* 375 */
@media (max-width:375px){
  #mha-avtomatizacii .mha__phone{width:230px}
}
