/* Mobile contact modal — compact minimal variant. */
.mobile-contact-trigger{
  border:0;
  background:transparent;
  color:#fff!important;
  font:inherit;
  cursor:pointer;
}
.mobile-bar .mobile-contact-trigger{
  flex:1;
  min-height:42px;
  display:grid;
  place-items:center;
  padding:0 10px;
  border-radius:8px;
  font-size:10.5px;
  font-weight:600;
  line-height:1.4;
}

.mobile-contact-sheet{
  position:fixed;
  inset:0;
  z-index:100000;
  display:grid;
  place-items:center;
  padding:20px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .18s ease,visibility .18s ease;
}
.mobile-contact-sheet.active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.mobile-contact-overlay{
  position:absolute;
  inset:0;
  background:rgba(9,13,11,.50);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
}
.mobile-contact-dialog{
  position:relative;
  z-index:1;
  width:min(360px,100%);
  max-height:calc(100dvh - 40px);
  overflow:auto;
  padding:22px;
  border:1px solid rgba(26,31,27,.075);
  border-radius:22px;
  background:#fffdfa;
  color:#141a16;
  box-shadow:0 20px 54px rgba(0,0,0,.16);
  transform:translateY(7px) scale(.99);
  transition:transform .2s cubic-bezier(.2,.8,.2,1);
  outline:none;
}
.mobile-contact-sheet.active .mobile-contact-dialog{
  transform:translateY(0) scale(1);
}
.mobile-contact-close{
  position:absolute;
  top:11px;
  left:11px;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#4f5652;
  cursor:pointer;
  transition:background-color .15s ease,color .15s ease,transform .15s ease;
}
.mobile-contact-close svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
}
.mobile-contact-close:hover{
  background:#f4f2ed;
  color:#171d19;
}
.mobile-contact-close:active{transform:scale(.96)}
.mobile-contact-close:focus-visible,
.mobile-contact-card:focus-visible{
  outline:2px solid rgba(180,137,68,.48);
  outline-offset:3px;
}
.mobile-contact-dialog__head{
  text-align:right;
  padding:4px 2px 16px 48px;
}
.mobile-contact-dialog__head h2{
  margin:0;
  color:#141a16;
  font-size:19px;
  font-weight:600;
  line-height:1.55;
  letter-spacing:-.12px;
}
.mobile-contact-dialog__head p{
  margin:4px 0 0;
  color:#7b817d;
  font-size:12px;
  font-weight:400;
  line-height:1.8;
}
.mobile-contact-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.mobile-contact-card{
  position:relative;
  min-width:0;
  min-height:98px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:9px;
  padding:13px;
  overflow:hidden;
  border:1px solid #ece9e3;
  border-radius:16px;
  background:#fff;
  color:#18201b;
  text-decoration:none!important;
  box-shadow:none;
  transition:border-color .16s ease,background-color .16s ease,transform .16s ease;
}
.mobile-contact-card:hover{
  border-color:#dedad2;
  background:#fffefc;
  transform:translateY(-1px);
}
.mobile-contact-card:active{transform:translateY(0)}
.mobile-contact-card__icon{
  position:relative;
  width:42px;
  height:42px;
  flex:0 0 42px;
  display:grid;
  place-items:center;
  border:1px solid #eeebe5;
  border-radius:13px;
  background:#faf9f6;
  color:#252d27;
}
.mobile-contact-card__icon img{
  display:block;
  width:24px;
  height:24px;
  object-fit:contain;
}
.mobile-contact-card__icon svg{
  display:block;
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.55;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.mobile-contact-card__icon svg .fill-current{
  fill:currentColor;
  stroke:none;
}
.mobile-contact-card__icon i{
  position:absolute;
  top:-2px;
  right:-2px;
  width:8px;
  height:8px;
  border:2px solid #fff;
  border-radius:50%;
  background:var(--contact-accent,#c59a50);
}
.mobile-contact-card__title{
  width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13.5px;
  font-weight:600;
  line-height:1.6;
}
body.mobile-contact-open{overflow:hidden}

@media(max-width:359px){
  .mobile-contact-sheet{padding:12px}
  .mobile-contact-dialog{
    width:100%;
    padding:19px 17px;
    border-radius:20px;
  }
  .mobile-contact-dialog__head{
    padding-left:44px;
    padding-bottom:14px;
  }
  .mobile-contact-dialog__head h2{font-size:18px}
  .mobile-contact-grid{gap:8px}
  .mobile-contact-card{
    min-height:94px;
    padding:12px;
    border-radius:15px;
  }
  .mobile-contact-card__icon{
    width:40px;
    height:40px;
    flex-basis:40px;
  }
}
@media(min-width:768px){
  .mobile-contact-dialog{width:min(360px,calc(100vw - 48px))}
}
@media(prefers-reduced-motion:reduce){
  .mobile-contact-sheet,
  .mobile-contact-dialog,
  .mobile-contact-card,
  .mobile-contact-close{transition:none!important}
}
