/* Афоня: the original 1774 × 887 atlas has eight square cells in a 4 × 2 grid. */
.afonya{display:block;flex:0 0 auto;width:96px;aspect-ratio:1;background-image:url('/assets/afonya-atlas.png');background-repeat:no-repeat;background-size:400% 200%;background-position:0 0;pointer-events:none;user-select:none}
.afonya--wave{background-position:0 0}
.afonya--map{background-position:33.333333% 0}
.afonya--search{background-position:66.666667% 0}
.afonya--suitcase{background-position:100% 0}
.afonya--heart{background-position:0 100%}
.afonya--point{background-position:33.333333% 100%}
.afonya--compass{background-position:66.666667% 100%}
.afonya--sit{background-position:100% 100%}

.header .brand{display:block}
.header .brand img{width:100%;height:auto}
.afonya-footer-brand{display:flex;align-items:center;gap:12px;max-width:100%}
.afonya-footer-brand>a{display:block;flex:0 1 auto;min-width:0}
.afonya-greeting{display:grid;grid-template-columns:minmax(0,1fr) 76px;align-items:center;gap:14px;max-width:470px}
.hero-copy .afonya-greeting .eyebrow{margin:0}
.afonya-hero{width:76px}
.afonya-cta-action{display:flex;align-items:center;justify-content:flex-end;gap:18px;position:relative;z-index:1}
.afonya-cta{width:96px}
.afonya-cta-action>.button{min-width:0}
.afonya-review{width:84px}
.afonya-not-found{display:flex;align-items:center;gap:32px}
.afonya-not-found>h1{min-width:0}
.afonya-404{width:136px}

@media(max-width:1150px){
  .afonya-footer-brand{gap:8px}
  .afonya-cta{width:80px}
  .afonya-cta-action{gap:14px}
}
@media(max-width:1000px){
  .closing-inner{flex-wrap:wrap}
  .afonya-cta-action{justify-content:flex-start}
}
@media(max-width:850px){
  .afonya-greeting{grid-template-columns:minmax(0,1fr) 64px;gap:10px}
  .afonya-hero{width:64px}
}
@media(max-width:600px){
  .footer .footer-brand{display:block}
  .afonya-footer-brand{gap:12px;width:fit-content}
  .footer .footer-brand>p{margin-top:12px}
  .afonya-greeting{grid-template-columns:minmax(0,1fr) 64px;gap:12px}
  .hero-copy .afonya-greeting .eyebrow{font-size:8.5px;line-height:1.7}
  .afonya-cta-action{display:block;margin-top:24px}
  .afonya-cta{width:76px;margin-bottom:12px}
  .closing .afonya-cta-action>.button{width:100%;margin-top:0}
  .afonya-not-found{display:block}
  .afonya-404{width:96px;margin-top:18px}
}
@media(max-width:400px){
  .header-phone{font-size:0;display:grid;place-items:center;width:36px;height:40px;flex:0 0 36px;margin-left:auto}
  .header-phone::before{content:'';display:block;width:24px;height:24px;background:center/24px 24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234708a1' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16.7v2.5a1.8 1.8 0 0 1-2 1.8 17.7 17.7 0 0 1-7.7-2.7 17.4 17.4 0 0 1-5.4-5.4A17.7 17.7 0 0 1 3.2 5.2a1.8 1.8 0 0 1 1.8-2h2.5a1.8 1.8 0 0 1 1.8 1.5c.1.9.3 1.7.6 2.5a1.8 1.8 0 0 1-.4 1.9L8.4 10.2a14.3 14.3 0 0 0 5.4 5.4l1.1-1.1a1.8 1.8 0 0 1 1.9-.4c.8.3 1.6.5 2.5.6a1.8 1.8 0 0 1 1.7 2Z'/%3E%3C/svg%3E")}
  .header .menu-toggle{margin-left:0;flex:0 0 auto}
}
