/* ============================================================
   А-Медия · главная страница
   Стили макета, заскоупленные под .am-home — на другие страницы
   сайта не влияют. Шапку и подвал даёт шаблон сайта.
   ============================================================ */

/* ============ ТОКЕНЫ ============ */
:root{
  --teal-900:#0D3B41;
  --teal-800:#124A51;
  --teal-700:#17555C;
  --teal-500:#2E7B81;
  --teal-100:#DCEAE8;
  --teal-050:#EDF4F3;
  --paper:#F7F6F3;
  --card:#FFFFFF;
  --line:#E4E8E5;
  --ink:#123A3F;
  --ink-soft:#54696B;
  --flame:#D14E24;
  --flame-dark:#B4401B;
  --flame-050:#FBEDE7;
  --gold:#E2A23B;
  --shadow-sm:0 1px 2px rgba(13,59,65,.06);
  --shadow-md:0 10px 30px -12px rgba(13,59,65,.18);
  --shadow-lg:0 24px 60px -20px rgba(13,59,65,.28);
  --r-sm:12px; --r-md:18px; --r-lg:26px;
  --font-d:'Nunito',system-ui,sans-serif;
  --font-b:'Golos Text',system-ui,sans-serif;
}
.am-home *{margin:0;padding:0;box-sizing:border-box}
.am-home{
  font-family:var(--font-b);
  font-size:16px;line-height:1.6;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
}
.am-home img{max-width:100%;height:auto;display:block}
.am-home a{color:inherit;text-decoration:none}
.am-home button{font:inherit;cursor:pointer;border:none;background:none;color:inherit}
.am-home ul{list-style:none}
.am-home :focus-visible{outline:3px solid var(--teal-500);outline-offset:3px;border-radius:6px}
.am-home ::selection{background:var(--teal-100)}
.am-home .container{max-width:1200px;margin:0 auto;padding:0 24px}
.am-home .section{padding:88px 0}
.am-home .section--tint{background:var(--teal-050)}
/* заголовки */
.am-home .eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font:600 13px/1 var(--font-b);letter-spacing:.12em;text-transform:uppercase;
  color:var(--teal-500);margin-bottom:16px;
}
.am-home .eyebrow .spark{width:14px;height:14px;color:var(--flame)}
.am-home h1, .am-home h2, .am-home h3{font-family:var(--font-d);color:var(--teal-900)}
.am-home .h2{font-size:clamp(28px,4vw,42px);font-weight:800;line-height:1.15;letter-spacing:-.01em}
.am-home .section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:44px;flex-wrap:wrap}
.am-home .lead{color:var(--ink-soft);max-width:560px}
/* кнопки */
.am-home .btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font:700 16px/1 var(--font-b);
  padding:16px 28px;border-radius:14px;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space:nowrap;
}
.am-home .btn:active{transform:translateY(1px)}
.am-home .btn--flame{background:var(--flame);color:#fff;box-shadow:0 8px 20px -8px rgba(209,78,36,.55)}
.am-home .btn--flame:hover{background:var(--flame-dark);box-shadow:0 12px 26px -8px rgba(209,78,36,.6)}
.am-home .btn--ghost{color:var(--teal-800);border:1.5px solid var(--line);background:var(--card)}
.am-home .btn--ghost:hover{border-color:var(--teal-500);color:var(--teal-500)}
.am-home .btn--white{background:#fff;color:var(--teal-800)}
.am-home .btn--white:hover{background:var(--teal-050)}
.am-home .btn .arr{transition:transform .18s ease}
.am-home .btn:hover .arr{transform:translateX(4px)}
.am-home .link-arrow{
  display:inline-flex;align-items:center;gap:8px;
  font:600 15px/1 var(--font-b);color:var(--flame);
}
.am-home .link-arrow:hover .arr{transform:translateX(4px)}
.am-home .link-arrow .arr{transition:transform .18s ease}
/* иконки */
.am-home .ic{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.am-home .spark{fill:currentColor;stroke:none}
/* ============ ВЕРХНЯЯ ПОЛОСА ============ */
.am-home .topbar{background:var(--teal-900);color:#CFE2E0;font-size:13.5px}
.am-home .topbar .container{display:flex;align-items:center;gap:28px;min-height:40px}
.am-home .topbar-item{display:inline-flex;align-items:center;gap:7px}
.am-home .topbar-item .ic{width:15px;height:15px}
.am-home .topbar .grow{flex:1}
.am-home .topbar a:hover{color:#fff}
@media(max-width:900px){
.am-home .topbar{display:none}
}
/* ============ ШАПКА ============ */
.am-home .header{
  position:sticky;top:0;z-index:60;
  background:rgba(255,255,255,.92);backdrop-filter:blur(14px);
  border-bottom:1px solid transparent;
  transition:box-shadow .25s ease,border-color .25s ease;
}
.am-home .header.is-scrolled{box-shadow:var(--shadow-md);border-color:var(--line)}
.am-home .header .container{display:flex;align-items:center;gap:28px;min-height:76px}
.am-home .logo{display:flex;align-items:center;gap:10px;flex:none}
.am-home .logo-mark{
  width:40px;height:40px;border-radius:50%;
  background:var(--teal-700);color:#fff;
  display:grid;place-items:center;
  font:900 24px/1 var(--font-d);
  transform:rotate(-6deg);
}
.am-home .logo-text{font:800 25px/1 var(--font-d);color:var(--teal-800);letter-spacing:-.01em;position:relative}
.am-home .logo-text .spark-abs{position:absolute;top:-7px;right:-14px;width:11px;height:11px;color:var(--flame)}
.am-home .nav{display:flex;gap:4px;margin:0 auto}
.am-home .nav > li{position:relative}
.am-home .nav > li > a, .am-home .nav > li > button{
  display:block;padding:10px 14px;border-radius:10px;
  font:500 15px/1.2 var(--font-b);color:var(--ink);
}
.am-home .nav > li > a:hover, .am-home .nav > li > button:hover{background:var(--teal-050);color:var(--teal-700)}
.am-home .nav .caret{width:10px;height:10px;margin-left:5px;display:inline-block;vertical-align:1px;transition:transform .22s ease}
/* ---- МЕГА-МЕНЮ ---- */
.am-home .nav > li.has-mega{position:static}
.am-home .has-mega:hover > button, .am-home .has-mega.open > button{background:var(--teal-050);color:var(--teal-700)}
.am-home .has-mega:hover .caret, .am-home .has-mega.open .caret, .am-home .has-mega:focus-within .caret{transform:rotate(180deg)}
.am-home .mega{
  position:absolute;top:100%;left:0;right:0;width:100%;
  max-height:calc(100vh - 90px);overflow-y:auto;
  background:#fff;
  border-top:1px solid var(--line);
  box-shadow:0 30px 60px -24px rgba(13,59,65,.28);
  opacity:0;visibility:hidden;transform:translateY(12px);
  transition:opacity .22s ease,transform .22s ease,visibility .22s;
  z-index:50;
}
.am-home .has-mega:hover .mega, .am-home .has-mega:focus-within .mega, .am-home .has-mega.open .mega{opacity:1;visibility:visible;transform:none}
.am-home .mega-inner{
  max-width:1200px;margin:0 auto;padding:36px 24px 12px;
  display:grid;grid-template-columns:1fr 1fr 1fr 290px;gap:40px;
}
.am-home .mega-col h5{
  display:flex;align-items:center;gap:10px;
  font:800 15px/1.2 var(--font-d);color:var(--teal-900);
  padding-bottom:14px;margin-bottom:8px;border-bottom:1px solid var(--line);
}
.am-home .mega-col h5 .mc-ic{width:34px;height:34px;border-radius:11px;background:var(--teal-050);color:var(--teal-700);display:grid;place-items:center;flex:none}
.am-home .mega-col h5 .mc-ic .ic{width:18px;height:18px}
.am-home .mega-col ul a{
  display:flex;align-items:center;gap:8px;
  padding:8px 10px;margin:0 -10px;border-radius:9px;
  font:500 14.5px/1.35 var(--font-b);color:var(--ink-soft);
  transition:.15s;
}
.am-home .mega-col ul a:hover{background:var(--teal-050);color:var(--teal-800)}
.am-home .mega-col ul a .go-ic{width:13px;height:13px;color:var(--flame);opacity:0;transform:translateX(-4px);transition:.15s;flex:none}
.am-home .mega-col ul a:hover .go-ic{opacity:1;transform:none}
.am-home .mega-col ul a .tag{
  margin-left:auto;font:700 10.5px/1 var(--font-d);letter-spacing:.04em;
  background:var(--flame-050);color:var(--flame);padding:4px 8px;border-radius:100px;flex:none;
}
.am-home .mega-col .mega-all{font:600 14px/1 var(--font-b);color:var(--flame);padding:12px 10px 4px;margin:4px -10px 0;display:inline-flex;align-items:center;gap:7px}
.am-home .mega-col .mega-all:hover .arr{transform:translateX(4px)}
.am-home .mega-col .mega-all .arr{width:15px;height:15px;transition:transform .15s}
.am-home .mega-promo{
  background:linear-gradient(155deg,var(--teal-700),var(--teal-900));
  border-radius:20px;padding:24px 24px 0;color:#fff;
  display:flex;flex-direction:column;position:relative;overflow:hidden;min-height:300px;
}
.am-home .mega-promo .mp-spark{position:absolute;right:18px;top:16px;width:18px;height:18px;color:rgba(255,255,255,.3);animation:twinkle 3.2s ease-in-out infinite}
.am-home .mega-promo b{font:800 19px/1.3 var(--font-d);margin-bottom:6px}
.am-home .mega-promo p{font:400 13.5px/1.5 var(--font-b);color:#BDD8D5;margin-bottom:16px}
.am-home .mega-promo .btn{padding:12px 20px;font-size:14px;align-self:flex-start;position:relative;z-index:1}
.am-home .mega-promo img{width:132px;height:auto;margin:auto auto 0;filter:drop-shadow(0 10px 14px rgba(0,0,0,.3))}
.am-home .mega-foot{
  max-width:1200px;margin:14px auto 0;padding:16px 24px;
  border-top:1px solid var(--line);
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  font:500 14px/1.4 var(--font-b);color:var(--ink-soft);
}
.am-home .mega-foot .ic{width:17px;height:17px;color:var(--teal-500)}
.am-home .mega-foot a{font-weight:700;color:var(--teal-800)}
.am-home .mega-foot a:hover{color:var(--teal-500)}
@media(max-width:1250px){
.am-home .mega-inner{grid-template-columns:1fr 1fr 1fr;padding-left:32px;padding-right:32px}
.am-home .mega-promo{display:none}
}
.am-home .header-phone{font:700 16px/1.2 var(--font-d);color:var(--teal-900);text-align:right}
.am-home .header-phone small{display:block;font:500 12px/1.3 var(--font-b);color:var(--ink-soft)}
.am-home .header .btn{padding:13px 22px;font-size:15px}
.am-home .burger{display:none;width:46px;height:46px;border-radius:12px;border:1.5px solid var(--line);place-items:center;flex:none}
.am-home .burger svg{width:22px;height:22px}
@media(max-width:1100px){
.am-home .nav, .am-home .header-phone{display:none}
.am-home .burger{display:grid}
.am-home .header .container{min-height:66px}
}
@media(max-width:520px){
.am-home .header .btn{display:none}
}
/* мобильное меню */
.am-home .drawer{
  position:fixed;inset:0;z-index:90;visibility:hidden;
}
.am-home .drawer.open{visibility:visible}
.am-home .drawer-bg{position:absolute;inset:0;background:rgba(13,59,65,.45);opacity:0;transition:.3s}
.am-home .drawer.open .drawer-bg{opacity:1}
.am-home .drawer-panel{
  position:absolute;top:0;right:0;bottom:0;width:min(380px,88vw);
  background:#fff;padding:22px;overflow-y:auto;
  transform:translateX(100%);transition:transform .32s cubic-bezier(.4,0,.2,1);
  display:flex;flex-direction:column;gap:6px;
}
.am-home .drawer.open .drawer-panel{transform:none}
.am-home .drawer-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.am-home .drawer-close{width:44px;height:44px;border-radius:12px;background:var(--teal-050);display:grid;place-items:center}
.am-home .drawer-nav a{display:block;padding:14px 12px;border-radius:12px;font:600 17px/1.2 var(--font-b);color:var(--ink)}
.am-home .drawer-nav a:hover{background:var(--teal-050)}
.am-home .drawer-acc summary{
  list-style:none;display:flex;align-items:center;justify-content:space-between;
  padding:14px 12px;border-radius:12px;cursor:pointer;
  font:600 17px/1.2 var(--font-b);color:var(--ink);
}
.am-home .drawer-acc summary::-webkit-details-marker{display:none}
.am-home .drawer-acc summary:hover{background:var(--teal-050)}
.am-home .drawer-acc summary .caret{width:16px;height:16px;color:var(--teal-500);transition:transform .22s}
.am-home .drawer-acc[open] summary .caret{transform:rotate(180deg)}
.am-home .drawer-sub{padding-left:12px;border-left:2px solid var(--teal-100);margin:2px 0 8px 14px}
.am-home .drawer-sub small{display:block;font:700 11.5px/1 var(--font-b);letter-spacing:.1em;text-transform:uppercase;color:var(--teal-500);padding:12px 12px 4px}
.am-home .drawer-sub a{font:500 15px/1.2 var(--font-b);padding:10px 12px;color:var(--ink-soft)}
.am-home .drawer-footer{margin-top:auto;padding-top:20px;border-top:1px solid var(--line);display:grid;gap:12px}
.am-home .drawer-footer .phone{font:800 20px/1.2 var(--font-d);color:var(--teal-900)}
.am-home .drawer-footer .muted{font-size:13px;color:var(--ink-soft)}
/* ============ ХИРО ============ */
.am-home .hero{position:relative;overflow:hidden;background:linear-gradient(160deg,#FDFDFC 0%,var(--teal-050) 60%,#E4EFEC 100%)}
.am-home .hero::before{ /* большой блик-искра на фоне */
  content:"";position:absolute;left:-10%;top:-30%;width:60%;aspect-ratio:1;
  background:radial-gradient(circle,rgba(255,255,255,.9),transparent 65%);
  pointer-events:none;
}
.am-home .hero .container{
  display:grid;grid-template-columns:1.05fr 1fr;gap:40px;align-items:center;
  padding-top:56px;padding-bottom:76px;position:relative;
}
.am-home .hero-title{
  font-size:clamp(40px,5.6vw,68px);font-weight:900;line-height:1.04;letter-spacing:-.02em;
  color:var(--teal-800);
}
.am-home .hero-title .line{display:block;opacity:0;transform:translateY(24px);animation:rise .7s cubic-bezier(.2,.7,.3,1) forwards}
.am-home .hero-title .line:nth-child(2){animation-delay:.12s}
.am-home .hero-title .line:nth-child(3){animation-delay:.24s}
.am-home .hero-title .spark-inline{display:inline-block;width:.42em;height:.42em;color:var(--flame);vertical-align:.32em;margin-left:.06em;animation:twinkle 2.6s ease-in-out .9s infinite}
@keyframes rise{to{opacity:1;transform:none}}
@keyframes twinkle{0%,100%{transform:scale(1) rotate(0)}50%{transform:scale(1.25) rotate(20deg)}}
.am-home .hero-sub{margin:24px 0 32px;color:var(--ink-soft);font-size:18px;max-width:440px;opacity:0;animation:rise .7s .35s ease forwards}
.am-home .hero-cta{display:flex;gap:14px;flex-wrap:wrap;opacity:0;animation:rise .7s .45s ease forwards}
.am-home .hero-points{display:flex;gap:22px;margin-top:36px;flex-wrap:wrap;opacity:0;animation:rise .7s .55s ease forwards}
.am-home .hero-point{display:flex;gap:10px;align-items:center;font:600 14px/1.35 var(--font-b);color:var(--teal-800)}
.am-home .hero-point .dot{width:34px;height:34px;border-radius:50%;background:#fff;box-shadow:var(--shadow-sm);display:grid;place-items:center;color:var(--flame);flex:none}
.am-home .hero-point .dot .ic{width:17px;height:17px}
.am-home .hero-stage{position:relative;min-height:560px}
.am-home .hero-blob{ /* тил-панель ресепшена за маскотом */
  position:absolute;right:0;top:6%;width:88%;height:80%;
  background:linear-gradient(145deg,var(--teal-700),var(--teal-900));
  border-radius:40px;
  box-shadow:var(--shadow-lg);
  overflow:hidden;
}
.am-home .hero-blob::after{
  content:"а медия";
  position:absolute;right:-18px;top:26px;
  font:900 74px/1 var(--font-d);color:rgba(255,255,255,.09);
  letter-spacing:-.02em;white-space:nowrap;transform:rotate(-90deg);transform-origin:top right;
}
.am-home .hero-blob .blob-spark{position:absolute;color:rgba(255,255,255,.22)}
.am-home .hero-blob .s1{width:26px;height:26px;left:12%;top:14%;animation:twinkle 3.4s ease-in-out infinite}
.am-home .hero-blob .s2{width:14px;height:14px;left:26%;bottom:22%;animation:twinkle 4.2s ease-in-out 1s infinite}
.am-home .hero-mascot{
  position:absolute;left:50%;bottom:0;transform:translateX(-54%);
  height:100%;width:auto;max-width:none;
  filter:drop-shadow(0 30px 34px rgba(13,59,65,.3));
  opacity:0;animation:mascotIn .8s .3s cubic-bezier(.2,.7,.3,1) forwards;
}
@keyframes mascotIn{from{opacity:0;transform:translateX(-54%) translateY(36px)}to{opacity:1;transform:translateX(-54%)}}
.am-home .hero-chip{
  position:absolute;background:#fff;border-radius:16px;box-shadow:var(--shadow-md);
  padding:12px 16px;display:flex;align-items:center;gap:10px;
  font:700 14px/1.25 var(--font-b);color:var(--teal-900);
  opacity:0;animation:rise .7s ease forwards;
}
.am-home .hero-chip small{display:block;font:500 12px/1.3 var(--font-b);color:var(--ink-soft)}
.am-home .hero-chip .chip-ic{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;flex:none}
.am-home .chip-rating{right:-6px;top:10%;animation-delay:.7s}
.am-home .chip-rating .chip-ic{background:#FFF4E0;color:var(--gold)}
.am-home .chip-sale{left:-4%;bottom:26%;animation-delay:.85s}
.am-home .chip-sale .chip-ic{background:var(--flame-050);color:var(--flame)}
.am-home .hero-mission{
  position:absolute;right:-8px;bottom:-14px;width:290px;
  background:rgba(255,255,255,.94);backdrop-filter:blur(8px);
  border-radius:20px;box-shadow:var(--shadow-lg);padding:20px 22px;
  opacity:0;animation:rise .7s 1s ease forwards;
}
.am-home .hero-mission .mi-head{display:flex;gap:10px;align-items:center;margin-bottom:8px}
.am-home .hero-mission .mi-ic{width:38px;height:38px;border-radius:12px;background:var(--teal-050);color:var(--teal-700);display:grid;place-items:center;flex:none}
.am-home .hero-mission b{font:800 15px/1.3 var(--font-d);color:var(--teal-900)}
.am-home .hero-mission p{font-size:13.5px;color:var(--ink-soft);line-height:1.5;margin-bottom:10px}
@media(max-width:1000px){
.am-home .hero .container{grid-template-columns:1fr;padding-top:36px;padding-bottom:56px}
.am-home .hero-stage{min-height:480px;max-width:520px;margin:0 auto;width:100%}
.am-home .hero-sub{max-width:none}
.am-home .chip-rating{right:0}
.am-home .hero-mission{right:0}
}
@media(max-width:560px){
.am-home .hero-stage{min-height:400px}
.am-home .hero-mission{position:static;width:100%;margin-top:18px;animation-delay:.8s}
.am-home .hero-blob{width:100%}
.am-home .chip-sale{left:0;bottom:14%}
.am-home .hero-cta .btn{flex:1;min-width:190px}
}
/* ============ ПРЕИМУЩЕСТВА ============ */
.am-home .features{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.am-home .features .container{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding-top:34px;padding-bottom:34px}
.am-home .feature{display:flex;gap:14px;align-items:flex-start}
.am-home .feature .f-ic{width:46px;height:46px;border-radius:14px;background:var(--teal-050);color:var(--teal-700);display:grid;place-items:center;flex:none}
.am-home .feature b{display:block;font:800 15.5px/1.3 var(--font-d);color:var(--teal-900)}
.am-home .feature span{font-size:13.5px;color:var(--ink-soft);line-height:1.45}
@media(max-width:1000px){
.am-home .features .container{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:520px){
.am-home .features .container{grid-template-columns:1fr;gap:18px}
}
/* ============ НАПРАВЛЕНИЯ ============ */
.am-home .dirs-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.am-home .dir-card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--r-md);
  padding:26px 24px;display:flex;flex-direction:column;gap:12px;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position:relative;overflow:hidden;
}
.am-home .dir-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md);border-color:var(--teal-100)}
.am-home .dir-card::after{
  content:"";position:absolute;right:-30px;top:-30px;width:90px;height:90px;border-radius:50%;
  background:var(--teal-050);opacity:0;transition:.25s;
}
.am-home .dir-card:hover::after{opacity:1}
.am-home .dir-ic{width:52px;height:52px;border-radius:16px;background:var(--teal-050);color:var(--teal-700);display:grid;place-items:center;position:relative;z-index:1}
.am-home .dir-card b{font:800 17px/1.3 var(--font-d);color:var(--teal-900);position:relative;z-index:1}
.am-home .dir-card p{font-size:13.5px;color:var(--ink-soft);line-height:1.5;position:relative;z-index:1}
.am-home .dir-card .go{margin-top:auto;position:relative;z-index:1;font:600 13.5px/1 var(--font-b);color:var(--flame);display:inline-flex;gap:6px;align-items:center;opacity:0;transform:translateY(4px);transition:.22s}
.am-home .dir-card:hover .go{opacity:1;transform:none}
@media(max-width:1000px){
.am-home .dirs-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:520px){
.am-home .dirs-grid{grid-template-columns:1fr 1fr;gap:12px}
.am-home .dir-card{padding:18px 16px}
.am-home .dir-card p{display:none}
.am-home .dir-card .go{display:none}
.am-home .dir-card b{font-size:14.5px}
.am-home .dir-ic{width:44px;height:44px}
}
/* ============ АКЦИИ ============ */
.am-home .rail-wrap{position:relative}
.am-home .rail{
  display:grid;grid-auto-flow:column;grid-auto-columns:340px;gap:18px;
  overflow-x:auto;scroll-snap-type:x mandatory;
  padding:6px 4px 22px;scrollbar-width:none;
}
.am-home .rail::-webkit-scrollbar{display:none}
.am-home .rail > *{scroll-snap-align:start}
.am-home .rail-nav{display:flex;gap:10px}
.am-home .rail-btn{
  width:48px;height:48px;border-radius:50%;border:1.5px solid var(--line);
  background:#fff;color:var(--teal-800);display:grid;place-items:center;
  transition:.2s;
}
.am-home .rail-btn:hover{border-color:var(--teal-500);color:var(--teal-500)}
.am-home .rail-btn:disabled{opacity:.35;cursor:default}
.am-home .offer{
  border-radius:var(--r-lg);padding:26px;min-height:250px;
  display:flex;flex-direction:column;position:relative;overflow:hidden;
  background:var(--card);border:1px solid var(--line);
  transition:transform .22s ease, box-shadow .22s ease;
}
.am-home .offer:hover{transform:translateY(-5px);box-shadow:var(--shadow-md)}
.am-home .offer--teal{background:linear-gradient(150deg,var(--teal-700),var(--teal-900));border:none;color:#fff}
.am-home .offer--teal .offer-title{color:#fff}
.am-home .offer--teal .offer-note{color:#BDD8D5}
.am-home .offer--teal .link-arrow{color:#FFB491}
.am-home .offer-badge{
  align-self:flex-start;background:var(--flame);color:#fff;
  font:800 13px/1 var(--font-d);padding:8px 14px;border-radius:100px;margin-bottom:16px;
}
.am-home .offer--teal .offer-badge{background:#fff;color:var(--flame)}
.am-home .offer-title{font:800 19px/1.3 var(--font-d);color:var(--teal-900);margin-bottom:8px}
.am-home .offer-note{font-size:13.5px;color:var(--ink-soft);margin-bottom:18px}
.am-home .offer-price{font:900 26px/1 var(--font-d);margin-bottom:18px}
.am-home .offer-price small{font:600 14px/1 var(--font-b);opacity:.65;text-decoration:line-through;margin-left:8px}
.am-home .offer .link-arrow{margin-top:auto}
.am-home .offer .offer-spark{position:absolute;right:18px;top:18px;width:20px;height:20px;color:rgba(255,255,255,.35)}
@media(max-width:560px){
.am-home .rail{grid-auto-columns:82%}
}
/* ============ О КЛИНИКЕ ============ */
.am-home .about{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center}
.am-home .about-text p{color:var(--ink-soft);margin-bottom:16px}
.am-home .about-list{display:grid;grid-template-columns:1fr 1fr;gap:10px 22px;margin:22px 0 30px}
.am-home .about-list li{display:flex;gap:10px;align-items:center;font:600 14.5px/1.35 var(--font-b);color:var(--teal-800)}
.am-home .about-list .ic{width:18px;height:18px;color:var(--flame)}
.am-home .stats{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;position:relative}
.am-home .stat{
  background:var(--card);border:1px solid var(--line);border-radius:var(--r-md);
  padding:26px 24px;
}
.am-home .stat .num{font:900 clamp(30px,3.4vw,40px)/1 var(--font-d);color:var(--teal-700);display:flex;align-items:baseline;gap:4px}
.am-home .stat .num .spark{width:14px;height:14px;color:var(--flame);align-self:flex-start;margin-top:4px}
.am-home .stat p{font-size:13.5px;color:var(--ink-soft);margin-top:8px;line-height:1.45}
.am-home .stat--accent{background:linear-gradient(150deg,var(--teal-700),var(--teal-900));border:none}
.am-home .stat--accent .num{color:#fff}
.am-home .stat--accent p{color:#BDD8D5}
.am-home .about-mascot{
  position:absolute;right:-28px;bottom:-34px;width:150px;
  filter:drop-shadow(0 14px 18px rgba(13,59,65,.25));
  transform:rotate(4deg);
}
.am-home .dms{
  margin-top:64px;background:var(--card);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:28px 32px;display:flex;align-items:center;gap:24px;flex-wrap:wrap;
}
.am-home .dms .dms-ic{width:56px;height:56px;border-radius:18px;background:var(--teal-050);color:var(--teal-700);display:grid;place-items:center;flex:none}
.am-home .dms b{font:800 18px/1.3 var(--font-d);color:var(--teal-900);display:block}
.am-home .dms p{font-size:14px;color:var(--ink-soft);max-width:520px}
.am-home .dms .btn{margin-left:auto}
@media(max-width:1000px){
.am-home .about{grid-template-columns:1fr;gap:40px}
.am-home .about-mascot{right:0}
.am-home .dms .btn{margin-left:0}
}
@media(max-width:520px){
.am-home .about-list{grid-template-columns:1fr}
.am-home .stats{gap:12px}
.am-home .stat{padding:20px 18px}
.am-home .about-mascot{width:110px;bottom:-20px}
}
/* ============ ВРАЧИ ============ */
.am-home .doc{
  background:var(--card);border:1px solid var(--line);border-radius:var(--r-md);
  padding:24px;display:flex;flex-direction:column;gap:14px;min-height:270px;
  transition:transform .22s ease, box-shadow .22s ease;
}
.am-home .doc:hover{transform:translateY(-5px);box-shadow:var(--shadow-md)}
.am-home .doc-ava{
  width:72px;height:72px;border-radius:50%;
  display:grid;place-items:center;
  font:800 22px/1 var(--font-d);color:#fff;
  background:linear-gradient(140deg,var(--teal-500),var(--teal-800));
  position:relative;
}
.am-home .doc-ava::after{content:"";position:absolute;inset:-5px;border-radius:50%;border:1.5px dashed var(--teal-100)}
.am-home .doc b{font:800 17px/1.35 var(--font-d);color:var(--teal-900)}
.am-home .doc span{font-size:13.5px;color:var(--ink-soft);line-height:1.5}
.am-home .doc-actions{margin-top:auto;display:flex;gap:10px}
.am-home .doc-actions .btn{padding:11px 18px;font-size:14px;border-radius:11px}
/* ============ ШАГИ ЗАПИСИ ============ */
.am-home .steps-wrap{display:grid;grid-template-columns:.9fr 1.4fr;gap:56px;align-items:center}
.am-home .steps-visual{position:relative;display:grid;place-items:center}
.am-home .steps-visual .ring{
  width:min(330px,80vw);aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#fff, var(--teal-050) 70%);
  border:1px solid var(--line);
  display:grid;place-items:end center;overflow:hidden;
  box-shadow:var(--shadow-md);
}
.am-home .steps-visual img{width:62%;transform:translateY(4%)}
.am-home .steps-visual .spark-float{position:absolute;color:var(--flame)}
.am-home .steps-visual .sf1{width:20px;height:20px;top:8%;right:16%;animation:twinkle 3s ease-in-out infinite}
.am-home .steps-visual .sf2{width:13px;height:13px;bottom:16%;left:10%;animation:twinkle 3.8s ease-in-out .8s infinite}
.am-home .steps{display:grid;gap:0}
.am-home .step{display:grid;grid-template-columns:56px 1fr;gap:20px;position:relative;padding-bottom:34px}
.am-home .step:last-child{padding-bottom:0}
.am-home .step::before{
  content:"";position:absolute;left:27px;top:56px;bottom:6px;width:2px;
  background:repeating-linear-gradient(var(--teal-100) 0 6px,transparent 6px 12px);
}
.am-home .step:last-child::before{display:none}
.am-home .step-num{
  width:56px;height:56px;border-radius:50%;flex:none;
  background:#fff;border:1.5px solid var(--line);
  display:grid;place-items:center;color:var(--teal-700);
  font:900 20px/1 var(--font-d);
  box-shadow:var(--shadow-sm);position:relative;z-index:1;
}
.am-home .step b{font:800 18px/1.35 var(--font-d);color:var(--teal-900);display:block;margin:6px 0 6px}
.am-home .step p{font-size:14.5px;color:var(--ink-soft);max-width:460px}
@media(max-width:900px){
.am-home .steps-wrap{grid-template-columns:1fr;gap:40px}
.am-home .steps-visual{order:2}
}
/* ============ ОТЗЫВЫ ============ */
.am-home .reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.am-home .review{
  background:var(--card);border:1px solid var(--line);border-radius:var(--r-md);
  padding:26px;display:flex;flex-direction:column;gap:14px;
}
.am-home .review-stars{color:var(--gold);display:flex;gap:3px}
.am-home .review-stars svg{width:17px;height:17px;fill:currentColor}
.am-home .review p{font-size:14.5px;color:var(--ink);line-height:1.65;flex:1}
.am-home .review-author{display:flex;align-items:center;gap:12px}
.am-home .review-ava{width:44px;height:44px;border-radius:50%;background:var(--teal-050);color:var(--teal-700);display:grid;place-items:center;font:800 15px/1 var(--font-d)}
.am-home .review-author b{font:700 14.5px/1.3 var(--font-b);color:var(--teal-900);display:block}
.am-home .review-author span{font-size:12.5px;color:var(--ink-soft)}
@media(max-width:900px){
.am-home .reviews-grid{grid-template-columns:1fr;max-width:560px;margin:0 auto}
}
/* ============ CTA + ФОРМА ============ */
.am-home .cta{
  background:linear-gradient(140deg,var(--teal-700) 0%,var(--teal-900) 90%);
  border-radius:var(--r-lg);overflow:hidden;position:relative;
  display:grid;grid-template-columns:1.15fr .85fr;
}
.am-home .cta::before{
  content:"а медия";position:absolute;left:34px;bottom:-28px;
  font:900 120px/1 var(--font-d);color:rgba(255,255,255,.05);letter-spacing:-.03em;pointer-events:none;
}
.am-home .cta-body{padding:56px 56px 56px}
.am-home .cta h2{color:#fff;font-size:clamp(26px,3.4vw,38px);font-weight:800;line-height:1.15;margin-bottom:12px}
.am-home .cta h2 .spark-inline{display:inline-block;width:.4em;height:.4em;color:#FF9A6B;vertical-align:.3em;margin-left:.08em}
.am-home .cta .sub{color:#BDD8D5;margin-bottom:28px;max-width:420px}
.am-home .form{display:grid;gap:14px;max-width:430px}
.am-home .form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.am-home .input{
  width:100%;padding:16px 18px;border-radius:14px;border:1.5px solid transparent;
  background:rgba(255,255,255,.12);color:#fff;font:500 15px/1.3 var(--font-b);
  transition:.2s;
}
.am-home .input::placeholder{color:#9FC2BF}
.am-home .input:focus{outline:none;border-color:#fff;background:rgba(255,255,255,.18)}
.am-home .input.error{border-color:#FF9A6B}
.am-home .form .btn{width:100%}
.am-home .form-agree{display:flex;gap:10px;align-items:flex-start;font-size:12.5px;color:#9FC2BF;line-height:1.5}
.am-home .form-agree a{text-decoration:underline}
.am-home .form-agree input{margin-top:3px;accent-color:var(--flame);width:15px;height:15px;flex:none}
.am-home .form-success{
  display:none;background:rgba(255,255,255,.12);border-radius:16px;padding:24px;
  color:#fff;text-align:center;max-width:430px;
}
.am-home .form-success.show{display:block}
.am-home .form-success .ok{width:52px;height:52px;border-radius:50%;background:#fff;color:var(--teal-700);display:grid;place-items:center;margin:0 auto 12px}
.am-home .cta-stage{position:relative;min-height:380px}
.am-home .cta-mascot{
  position:absolute;bottom:0;left:50%;transform:translateX(-50%);
  width:min(300px,80%);
  filter:drop-shadow(0 20px 26px rgba(0,0,0,.35));
}
.am-home .cta-stage .spark-float{position:absolute;color:rgba(255,255,255,.3)}
.am-home .cta-stage .cf1{width:22px;height:22px;top:14%;left:14%;animation:twinkle 3.2s ease-in-out infinite}
.am-home .cta-stage .cf2{width:14px;height:14px;top:34%;right:12%;animation:twinkle 4s ease-in-out 1.2s infinite}
@media(max-width:900px){
.am-home .cta{grid-template-columns:1fr}
.am-home .cta-body{padding:40px 28px 8px}
.am-home .cta-stage{min-height:300px;order:2}
.am-home .form, .am-home .form-success{max-width:none}
}
/* ============ FAQ ============ */
.am-home .faq-wrap{display:grid;grid-template-columns:.85fr 1.3fr;gap:56px;align-items:start}
.am-home .faq-side{position:sticky;top:110px}
.am-home .faq-side .mascot-bubble{
  margin-top:28px;display:flex;align-items:flex-end;gap:0;
}
.am-home .faq-side img{width:150px;filter:drop-shadow(0 12px 16px rgba(13,59,65,.22))}
.am-home .faq-side .bubble{
  background:var(--card);border:1px solid var(--line);border-radius:18px 18px 18px 4px;
  padding:16px 18px;font:600 14px/1.5 var(--font-b);color:var(--teal-800);
  box-shadow:var(--shadow-sm);margin-bottom:56px;margin-left:-12px;max-width:230px;
}
.am-home .acc{border:1px solid var(--line);border-radius:var(--r-md);background:var(--card);overflow:hidden;margin-bottom:12px;transition:box-shadow .2s}
.am-home .acc[open]{box-shadow:var(--shadow-md)}
.am-home .acc summary{
  list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:20px 24px;cursor:pointer;
  font:800 16.5px/1.4 var(--font-d);color:var(--teal-900);
}
.am-home .acc summary::-webkit-details-marker{display:none}
.am-home .acc .plus{
  width:34px;height:34px;border-radius:50%;background:var(--teal-050);color:var(--teal-700);
  display:grid;place-items:center;flex:none;transition:transform .25s;
}
.am-home .acc[open] .plus{transform:rotate(45deg);background:var(--flame-050);color:var(--flame)}
.am-home .acc-body{padding:0 24px 22px;color:var(--ink-soft);font-size:14.5px;max-width:640px}
@media(max-width:900px){
.am-home .faq-wrap{grid-template-columns:1fr;gap:32px}
.am-home .faq-side{position:static}
.am-home .faq-side .mascot-bubble{display:none}
}
/* ============ КОНТАКТЫ ============ */
.am-home .contacts{display:grid;grid-template-columns:1fr 1.15fr;gap:24px;align-items:stretch}
.am-home .contact-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.am-home .ccard{background:var(--card);border:1px solid var(--line);border-radius:var(--r-md);padding:22px}
.am-home .ccard .c-ic{width:42px;height:42px;border-radius:13px;background:var(--teal-050);color:var(--teal-700);display:grid;place-items:center;margin-bottom:14px}
.am-home .ccard small{font:600 12px/1 var(--font-b);letter-spacing:.08em;text-transform:uppercase;color:var(--ink-soft)}
.am-home .ccard b{display:block;font:800 16.5px/1.4 var(--font-d);color:var(--teal-900);margin-top:6px}
.am-home .ccard span{font-size:13.5px;color:var(--ink-soft)}
.am-home .ccard a b:hover{color:var(--teal-500)}
.am-home .socials{display:flex;gap:10px;margin-top:10px}
.am-home .soc{
  width:42px;height:42px;border-radius:13px;background:var(--teal-050);color:var(--teal-700);
  display:grid;place-items:center;transition:.2s;font:800 13px/1 var(--font-d);
}
.am-home .soc:hover{background:var(--teal-700);color:#fff}
.am-home .map{
  border-radius:var(--r-lg);position:relative;overflow:hidden;min-height:380px;
  background:
    radial-gradient(circle at 62% 46%, rgba(209,78,36,.12), transparent 26%),
    linear-gradient(#E9F0EE 1.5px,transparent 1.5px),
    linear-gradient(90deg,#E9F0EE 1.5px,transparent 1.5px),
    linear-gradient(160deg,#F4F7F5,#E3EDEA);
  background-size:auto,44px 44px,44px 44px,auto;
  border:1px solid var(--line);
}
.am-home .map::before{ /* стилизованные "улицы" */
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(115deg,transparent 47%,#D6E4E0 47%,#D6E4E0 50%,transparent 50%),
    linear-gradient(25deg,transparent 63%,#D6E4E0 63%,#D6E4E0 65.5%,transparent 65.5%);
}
.am-home .map-pin{
  position:absolute;left:62%;top:46%;transform:translate(-50%,-100%);
  display:grid;place-items:center;
}
.am-home .map-pin .pin{
  width:54px;height:54px;border-radius:50% 50% 50% 6px;transform:rotate(-45deg);
  background:var(--flame);box-shadow:0 14px 26px -8px rgba(209,78,36,.6);
  display:grid;place-items:center;animation:bounce 2.2s ease-in-out infinite;
}
.am-home .map-pin .pin svg{transform:rotate(45deg);width:24px;height:24px;color:#fff}
@keyframes bounce{0%,100%{transform:rotate(-45deg) translate(0)}50%{transform:rotate(-45deg) translate(-5px,5px)}}
.am-home .map-card{
  position:absolute;left:20px;bottom:20px;right:20px;max-width:330px;
  background:rgba(255,255,255,.95);backdrop-filter:blur(8px);
  border-radius:16px;padding:18px 20px;box-shadow:var(--shadow-md);
}
.am-home .map-card b{font:800 15.5px/1.35 var(--font-d);color:var(--teal-900);display:block;margin-bottom:4px}
.am-home .map-card p{font-size:13.5px;color:var(--ink-soft);margin-bottom:10px}
@media(max-width:900px){
.am-home .contacts{grid-template-columns:1fr}
.am-home .contact-cards{grid-template-columns:1fr 1fr}
}
@media(max-width:520px){
.am-home .contact-cards{grid-template-columns:1fr}
}
/* ============ ФУТЕР ============ */
.am-home .footer{background:var(--teal-900);color:#9FC2BF;padding:64px 0 0;margin-top:0}
.am-home .footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:40px;padding-bottom:48px}
.am-home .footer .logo-mark{background:#fff;color:var(--teal-800)}
.am-home .footer .logo-text{color:#fff}
.am-home .footer-about{font-size:14px;margin-top:18px;max-width:280px;line-height:1.6}
.am-home .footer h4{font:800 15px/1 var(--font-d);color:#fff;margin-bottom:18px}
.am-home .footer-col a{display:block;padding:6px 0;font-size:14px;transition:.15s}
.am-home .footer-col a:hover{color:#fff}
.am-home .footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:22px 0;font-size:13px;display:flex;gap:16px;justify-content:space-between;flex-wrap:wrap}
.am-home .footer-bottom a{text-decoration:underline}
.am-home .footer-bottom a:hover{color:#fff}
@media(max-width:900px){
.am-home .footer-grid{grid-template-columns:1fr 1fr;gap:32px}
}
@media(max-width:520px){
.am-home .footer-grid{grid-template-columns:1fr}
}
/* ============ МОБИЛЬНАЯ ПАНЕЛЬ ============ */
.am-home .mobile-bar{
  display:none;position:fixed;left:0;right:0;bottom:0;z-index:70;
  background:rgba(255,255,255,.96);backdrop-filter:blur(12px);
  border-top:1px solid var(--line);
  padding:10px 14px calc(10px + env(safe-area-inset-bottom));
  gap:10px;
}
.am-home .mobile-bar .btn{flex:1;padding:14px;font-size:15px}
@media(max-width:760px){
.am-home .mobile-bar{display:flex}
.am-home{padding-bottom:74px}
}
/* ============ МОДАЛКА ============ */
.am-home .modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;visibility:hidden}
.am-home .modal.open{visibility:visible}
.am-home .modal-bg{position:absolute;inset:0;background:rgba(13,59,65,.5);opacity:0;transition:.25s}
.am-home .modal.open .modal-bg{opacity:1}
.am-home .modal-card{
  position:relative;background:#fff;border-radius:24px;max-width:440px;width:100%;
  padding:34px 30px 30px;box-shadow:var(--shadow-lg);
  transform:translateY(24px) scale(.97);opacity:0;transition:.3s cubic-bezier(.2,.7,.3,1);
  max-height:calc(100vh - 40px);overflow-y:auto;
}
.am-home .modal.open .modal-card{transform:none;opacity:1}
.am-home .modal-close{position:absolute;top:16px;right:16px;width:40px;height:40px;border-radius:12px;background:var(--teal-050);display:grid;place-items:center}
.am-home .modal-mascot{width:96px;margin:-76px auto 6px;filter:drop-shadow(0 10px 14px rgba(13,59,65,.25))}
.am-home .modal-card h3{font:800 23px/1.25 var(--font-d);color:var(--teal-900);text-align:center;margin-bottom:6px}
.am-home .modal-card .m-sub{text-align:center;font-size:14px;color:var(--ink-soft);margin-bottom:22px}
.am-home .modal-card .input{background:var(--teal-050);color:var(--ink);border-color:transparent}
.am-home .modal-card .input::placeholder{color:#7B9694}
.am-home .modal-card .input:focus{border-color:var(--teal-500);background:#fff}
.am-home .modal-card .form-agree{color:var(--ink-soft)}
.am-home .modal-card .form-success{background:var(--teal-050);color:var(--teal-900)}
/* reveal-анимации */
/* Появление при прокрутке. Скрываем блоки ТОЛЬКО если скрипт отработал
   и поставил .is-ready — иначе при любой осечке JS страница осталась бы пустой. */
.am-home .reveal{transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.3,1)}
.am-home.is-ready .reveal{opacity:0;transform:translateY(26px)}
.am-home.is-ready .reveal.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){
.am-home *, .am-home *::before, .am-home *::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}
.am-home .reveal{opacity:1;transform:none}
.am-home .hero-title .line, .am-home .hero-sub, .am-home .hero-cta, .am-home .hero-points, .am-home .hero-mascot, .am-home .hero-chip, .am-home .hero-mission{opacity:1;transform:none;animation:none}
.am-home .hero-mascot{transform:translateX(-54%)}
}

/* ── Правки поверх макета ─────────────────────────────────── */

/* Имя и должность врача — в столбик, а не одной строкой */
.am-home .doc > div {
  display: flex; flex-direction: column; gap: 6px;
}
.am-home .doc b, .am-home .doc span { display: block; }

/* Ленты выходят за правый край страницы: карточки начинаются
   по сетке, а уезжают под край экрана — как задумано в макете. */
.am-home .rail {
  margin-right: calc(-1 * (50vw - 50%));
  padding-right: calc(50vw - 50% + 4px);
}

@media (max-width: 900px) {
  .am-home .rail {
    margin-left: calc(-1 * (50vw - 50%));
    padding-left: calc(50vw - 50% + 4px);
  }
}

.am-home .doc b a { color: inherit; text-decoration: none; }
.am-home .doc b a:hover { color: var(--flame); }


/* ── Фото врачей в кружках ─────────────────────────────────── */

.am-home .doc-ava {
  overflow: hidden; background: var(--teal-050);
  text-decoration: none; flex: none;
}
.am-home .doc-ava img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block; border-radius: 50%;
}




/* ── Правки после первого просмотра ───────────────────────── */

/* Плашка с оценкой — дальше от головы маскота */
.am-home .chip-rating { right: -70px; }

/* Лента врачей: прокрутка только по горизонтали.
   overflow-x:auto включает вторую ось в auto, отсюда и вертикальный ползунок. */
.am-home .rail { overflow-y: hidden; }

/* Маскоты крупнее */
.am-home .hero-stage { min-height: 620px; }
.am-home .hero-mascot { height: 112%; }

.am-home .about-mascot { right: -48px; bottom: -54px; width: 200px; }

.am-home .steps-visual .ring { width: min(380px, 84vw); }
.am-home .steps-visual img { width: 78%; transform: translateY(3%); }

.am-home .cta-stage { min-height: 440px; }
.am-home .cta-mascot { width: min(400px, 94%); }

.am-home .faq-side img { width: 200px; }

@media (max-width: 1100px) {
  .am-home .chip-rating { right: -20px; }
  .am-home .about-mascot { right: -24px; bottom: -44px; width: 168px; }
}

@media (max-width: 900px) {
  .am-home .hero-stage { min-height: 520px; }
  .am-home .hero-mascot { height: 104%; }
  .am-home .chip-rating { right: 0; }
  .am-home .about-mascot { right: -6px; bottom: -30px; width: 132px; }
  .am-home .cta-stage { min-height: 340px; }
}


/* Уши маскота выходят за верхний край карточки записи.
   У .cta стоит overflow:hidden ради скруглённых углов — снимаем его,
   а фон и подложку «а медия» подрезаем отдельным слоем, чтобы
   скругление сохранилось. */

.am-home .cta { overflow: visible; background: none; }

.am-home .cta::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(140deg, var(--teal-700) 0%, var(--teal-900) 90%);
  border-radius: var(--r-lg);
  z-index: 0;
}

.am-home .cta::before {
  z-index: 1; overflow: hidden;
  border-bottom-left-radius: var(--r-lg);
}

.am-home .cta-body,
.am-home .cta-stage { position: relative; z-index: 2; }

.am-home .cta-stage { min-height: 460px; }

/* маскот приподнят: низ прижат к карточке, макушка над ней */
.am-home .cta-mascot {
  bottom: 0; width: min(420px, 96%);
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .3));
}

@media (max-width: 900px) {
  .am-home .cta-stage { min-height: 360px; }
  .am-home .cta-mascot { width: min(320px, 80%); }
}